@pidgeon-ai/sdk 1.62.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/dist/index.d.cts CHANGED
@@ -635,6 +635,60 @@ type SenderVerification = {
635
635
  verifier_key: string;
636
636
  } | null;
637
637
  } | null;
638
+ /**
639
+ * What the sender may do: each grant it carried (`Post-Grant`) or that was sent in `grants`, checked against the sender a signature verified. Act on `valid`. Empty when there were none.
640
+ */
641
+ grants: Array<{
642
+ /**
643
+ * True when the grant is ours, signed, in force, held by the sender a signature verified, and for here and this subject.
644
+ */
645
+ valid: boolean;
646
+ /**
647
+ * Why it does not hold: the first thing wrong. Null when `valid`.
648
+ */
649
+ reason: 'malformed' | 'unknown_issuer' | 'bad_signature' | 'not_found' | 'revoked' | 'expired' | 'sender_unverified' | 'wrong_agent' | 'wrong_audience' | 'wrong_subject' | null;
650
+ /**
651
+ * Null unless the signature holds.
652
+ */
653
+ id: string | null;
654
+ agent: string | null;
655
+ grantor: {
656
+ type: 'person';
657
+ email: string;
658
+ } | {
659
+ type: 'organisation';
660
+ domain: string;
661
+ } | null;
662
+ scope: {
663
+ /**
664
+ * Stable, for software: `bookings.change`.
665
+ */
666
+ name: string;
667
+ /**
668
+ * For people: "manage your bookings".
669
+ */
670
+ label: string;
671
+ limit?: {
672
+ /**
673
+ * Minor units: 10000 is $100.00.
674
+ */
675
+ amount: number;
676
+ /**
677
+ * ISO 4217.
678
+ */
679
+ currency: string;
680
+ };
681
+ } | null;
682
+ /**
683
+ * The domain it is for acting with. Null: anywhere.
684
+ */
685
+ audience: string | null;
686
+ subject: {
687
+ type: 'customer' | 'account' | 'order';
688
+ id: string;
689
+ } | null;
690
+ expires_at: string | null;
691
+ }>;
638
692
  warnings: Array<{
639
693
  code: 'unsigned_claims' | 'extra_claims' | 'lookalike_domain' | 'display_name_mismatch' | 'not_addressed_to_you' | 'old_signature' | 'envelope_unverifiable';
640
694
  message: string;
@@ -827,6 +881,103 @@ type CardLogMonitor = {
827
881
  */
828
882
  created_at: string;
829
883
  };
884
+ type GrantTemplate = {
885
+ object: 'grant_template';
886
+ id: string;
887
+ name: string;
888
+ label: string;
889
+ audience: string | null;
890
+ audience_name: string | null;
891
+ subject_type: 'customer' | 'account' | 'order';
892
+ limit: {
893
+ /**
894
+ * Minor units: 10000 is $100.00.
895
+ */
896
+ amount: number;
897
+ /**
898
+ * ISO 4217.
899
+ */
900
+ currency: string;
901
+ } | null;
902
+ max_days: number;
903
+ /**
904
+ * ISO-8601, UTC.
905
+ */
906
+ created_at: string;
907
+ };
908
+ type Grant = {
909
+ object: 'grant';
910
+ id: string;
911
+ /**
912
+ * `pending` until the grantor answers on the consent page.
913
+ */
914
+ status: 'pending' | 'active' | 'denied' | 'revoked' | 'expired';
915
+ /**
916
+ * The agent’s address, the card’s `sub`.
917
+ */
918
+ identity_id: string | null;
919
+ agent: string;
920
+ grantor: {
921
+ type: 'person';
922
+ email: string;
923
+ } | {
924
+ type: 'organisation';
925
+ domain: string;
926
+ };
927
+ scope: {
928
+ /**
929
+ * Stable, for software: `bookings.change`.
930
+ */
931
+ name: string;
932
+ /**
933
+ * For people: "manage your bookings".
934
+ */
935
+ label: string;
936
+ limit?: {
937
+ /**
938
+ * Minor units: 10000 is $100.00.
939
+ */
940
+ amount: number;
941
+ /**
942
+ * ISO 4217.
943
+ */
944
+ currency: string;
945
+ };
946
+ };
947
+ audience: string | null;
948
+ subject: {
949
+ type: 'customer' | 'account' | 'order';
950
+ id: string;
951
+ };
952
+ /**
953
+ * ISO-8601, UTC.
954
+ */
955
+ expires_at: string;
956
+ /**
957
+ * ISO-8601, UTC.
958
+ */
959
+ created_at: string;
960
+ decided_at: string | null;
961
+ revoked_at: string | null;
962
+ /**
963
+ * The signed grant (compact JWS, EdDSA, `typ: agent-grant+jwt`) while it is active: what the agent carries in `Post-Grant`.
964
+ */
965
+ jws: string | null;
966
+ /**
967
+ * Send the grantor here. Only on the answer that asked for it; it is not shown again.
968
+ */
969
+ consent_url?: string;
970
+ };
971
+ type GrantState = {
972
+ object: 'grant_status';
973
+ id: string;
974
+ status: 'active' | 'revoked' | 'expired';
975
+ /**
976
+ * ISO-8601, UTC.
977
+ */
978
+ expires_at: string;
979
+ revoked_at: string | null;
980
+ };
830
981
  type AgentSetup = {
831
982
  /**
832
983
  * True when every step is done for the address below. A test key is never ready: its mail stays inside Pidgeon.
@@ -3353,6 +3504,14 @@ type VerifySenderData = {
3353
3504
  body?: string;
3354
3505
  };
3355
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;
3356
3515
  };
3357
3516
  path?: never;
3358
3517
  query?: never;
@@ -3872,6 +4031,58 @@ type LogMonitorsDeleteResponses = {
3872
4031
  };
3873
4032
  };
3874
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];
3875
4086
  type AgentConnectData = {
3876
4087
  body: {
3877
4088
  code: string;
@@ -5144,11 +5355,392 @@ type PodsCreateData = {
5144
5355
  */
5145
5356
  'Idempotency-Key'?: string;
5146
5357
  };
5147
- 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
+ };
5148
5740
  query?: never;
5149
- url: '/pods';
5741
+ url: '/labels/{id}';
5150
5742
  };
5151
- type PodsCreateErrors = {
5743
+ type LabelsDeleteErrors = {
5152
5744
  /**
5153
5745
  * The request is not valid. `error.field` names the input at fault when there is one.
5154
5746
  */
@@ -5157,10 +5749,6 @@ type PodsCreateErrors = {
5157
5749
  * No API key, or one that is not valid.
5158
5750
  */
5159
5751
  401: Error;
5160
- /**
5161
- * Your plan does not include this. `error.message` says what does.
5162
- */
5163
- 402: Error;
5164
5752
  /**
5165
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.
5166
5754
  */
@@ -5190,22 +5778,21 @@ type PodsCreateErrors = {
5190
5778
  */
5191
5779
  504: Error;
5192
5780
  };
5193
- type PodsCreateError = PodsCreateErrors[keyof PodsCreateErrors];
5194
- type PodsCreateResponses = {
5781
+ type LabelsDeleteError = LabelsDeleteErrors[keyof LabelsDeleteErrors];
5782
+ type LabelsDeleteResponses = {
5195
5783
  /**
5196
- * The pod, with its address and key.
5784
+ * Deleted.
5197
5785
  */
5198
- 201: {
5199
- data: PodCreated;
5200
- /**
5201
- * Present only when the request used something deprecated: what it left out and the date it stops working. Answered with `Deprecation` and `Sunset` headers too.
5202
- */
5203
- warnings?: Array<Warning>;
5786
+ 200: {
5787
+ data: Deleted;
5204
5788
  };
5205
5789
  };
5206
- type PodsCreateResponse = PodsCreateResponses[keyof PodsCreateResponses];
5207
- type PodsDeleteData = {
5208
- body?: never;
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
+ };
5209
5796
  headers?: {
5210
5797
  /**
5211
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.
@@ -5215,15 +5802,10 @@ type PodsDeleteData = {
5215
5802
  path: {
5216
5803
  id: string;
5217
5804
  };
5218
- query?: {
5219
- /**
5220
- * `true` to delete the pod’s addresses and all their mail with it. Without it a pod that holds an address is refused with 409.
5221
- */
5222
- delete_addresses?: 'true' | 'false';
5223
- };
5224
- url: '/pods/{id}';
5805
+ query?: never;
5806
+ url: '/labels/{id}';
5225
5807
  };
5226
- type PodsDeleteErrors = {
5808
+ type LabelsUpdateErrors = {
5227
5809
  /**
5228
5810
  * The request is not valid. `error.field` names the input at fault when there is one.
5229
5811
  */
@@ -5261,25 +5843,23 @@ type PodsDeleteErrors = {
5261
5843
  */
5262
5844
  504: Error;
5263
5845
  };
5264
- type PodsDeleteError = PodsDeleteErrors[keyof PodsDeleteErrors];
5265
- type PodsDeleteResponses = {
5846
+ type LabelsUpdateError = LabelsUpdateErrors[keyof LabelsUpdateErrors];
5847
+ type LabelsUpdateResponses = {
5266
5848
  /**
5267
- * What was deleted.
5849
+ * The label.
5268
5850
  */
5269
5851
  200: {
5270
- data: PodDeleted;
5852
+ data: Label;
5271
5853
  };
5272
5854
  };
5273
- type PodsDeleteResponse = PodsDeleteResponses[keyof PodsDeleteResponses];
5274
- type PodsGetData = {
5855
+ type LabelsUpdateResponse = LabelsUpdateResponses[keyof LabelsUpdateResponses];
5856
+ type GrantsTemplatesListData = {
5275
5857
  body?: never;
5276
- path: {
5277
- id: string;
5278
- };
5858
+ path?: never;
5279
5859
  query?: never;
5280
- url: '/pods/{id}';
5860
+ url: '/grant-templates';
5281
5861
  };
5282
- type PodsGetErrors = {
5862
+ type GrantsTemplatesListErrors = {
5283
5863
  /**
5284
5864
  * The request is not valid. `error.field` names the input at fault when there is one.
5285
5865
  */
@@ -5313,24 +5893,121 @@ type PodsGetErrors = {
5313
5893
  */
5314
5894
  503: Error;
5315
5895
  };
5316
- type PodsGetError = PodsGetErrors[keyof PodsGetErrors];
5317
- type PodsGetResponses = {
5896
+ type GrantsTemplatesListError = GrantsTemplatesListErrors[keyof GrantsTemplatesListErrors];
5897
+ type GrantsTemplatesListResponses = {
5318
5898
  /**
5319
- * The pod.
5899
+ * The templates.
5320
5900
  */
5321
5901
  200: {
5322
- data: Pod;
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;
5323
5908
  };
5324
5909
  };
5325
- type PodsGetResponse = PodsGetResponses[keyof PodsGetResponses];
5326
- type PodsUpdateData = {
5910
+ type GrantsTemplatesListResponse = GrantsTemplatesListResponses[keyof GrantsTemplatesListResponses];
5911
+ type GrantsTemplatesCreateData = {
5327
5912
  body: {
5328
- name?: string;
5329
5913
  /**
5330
- * Your own id for this pod. Carried and returned, never parsed.
5914
+ * The scope’s stable name, for software: `bookings.change`.
5331
5915
  */
5332
- client_id?: string | null;
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;
5333
6006
  };
6007
+ };
6008
+ type GrantsTemplatesCreateResponse = GrantsTemplatesCreateResponses[keyof GrantsTemplatesCreateResponses];
6009
+ type GrantsTemplatesDeleteData = {
6010
+ body?: never;
5334
6011
  headers?: {
5335
6012
  /**
5336
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.
@@ -5341,9 +6018,9 @@ type PodsUpdateData = {
5341
6018
  id: string;
5342
6019
  };
5343
6020
  query?: never;
5344
- url: '/pods/{id}';
6021
+ url: '/grant-templates/{id}';
5345
6022
  };
5346
- type PodsUpdateErrors = {
6023
+ type GrantsTemplatesDeleteErrors = {
5347
6024
  /**
5348
6025
  * The request is not valid. `error.field` names the input at fault when there is one.
5349
6026
  */
@@ -5381,25 +6058,25 @@ type PodsUpdateErrors = {
5381
6058
  */
5382
6059
  504: Error;
5383
6060
  };
5384
- type PodsUpdateError = PodsUpdateErrors[keyof PodsUpdateErrors];
5385
- type PodsUpdateResponses = {
6061
+ type GrantsTemplatesDeleteError = GrantsTemplatesDeleteErrors[keyof GrantsTemplatesDeleteErrors];
6062
+ type GrantsTemplatesDeleteResponses = {
5386
6063
  /**
5387
- * The pod.
6064
+ * Retired.
5388
6065
  */
5389
6066
  200: {
5390
- data: Pod;
6067
+ data: Deleted;
5391
6068
  };
5392
6069
  };
5393
- type PodsUpdateResponse = PodsUpdateResponses[keyof PodsUpdateResponses];
5394
- type LabelsListData = {
6070
+ type GrantsTemplatesDeleteResponse = GrantsTemplatesDeleteResponses[keyof GrantsTemplatesDeleteResponses];
6071
+ type GrantsListData = {
5395
6072
  body?: never;
5396
6073
  path?: never;
5397
6074
  query: {
5398
6075
  identity_id: string;
5399
6076
  };
5400
- url: '/labels';
6077
+ url: '/grants';
5401
6078
  };
5402
- type LabelsListErrors = {
6079
+ type GrantsListErrors = {
5403
6080
  /**
5404
6081
  * The request is not valid. `error.field` names the input at fault when there is one.
5405
6082
  */
@@ -5433,13 +6110,13 @@ type LabelsListErrors = {
5433
6110
  */
5434
6111
  503: Error;
5435
6112
  };
5436
- type LabelsListError = LabelsListErrors[keyof LabelsListErrors];
5437
- type LabelsListResponses = {
6113
+ type GrantsListError = GrantsListErrors[keyof GrantsListErrors];
6114
+ type GrantsListResponses = {
5438
6115
  /**
5439
- * The labels.
6116
+ * The grants.
5440
6117
  */
5441
6118
  200: {
5442
- data: Array<Label>;
6119
+ data: Array<Grant>;
5443
6120
  has_more: boolean;
5444
6121
  /**
5445
6122
  * Pass as `cursor` to continue. Null on the last page.
@@ -5447,15 +6124,33 @@ type LabelsListResponses = {
5447
6124
  next_cursor: string | null;
5448
6125
  };
5449
6126
  };
5450
- type LabelsListResponse = LabelsListResponses[keyof LabelsListResponses];
5451
- type LabelsCreateData = {
6127
+ type GrantsListResponse = GrantsListResponses[keyof GrantsListResponses];
6128
+ type GrantsCreateData = {
5452
6129
  body: {
5453
6130
  /**
5454
- * The address this belongs to.
6131
+ * The agent’s address.
5455
6132
  */
5456
6133
  identity_id: string;
5457
- name: string;
5458
- colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
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;
5459
6154
  };
5460
6155
  headers?: {
5461
6156
  /**
@@ -5465,9 +6160,9 @@ type LabelsCreateData = {
5465
6160
  };
5466
6161
  path?: never;
5467
6162
  query?: never;
5468
- url: '/labels';
6163
+ url: '/grants';
5469
6164
  };
5470
- type LabelsCreateErrors = {
6165
+ type GrantsCreateErrors = {
5471
6166
  /**
5472
6167
  * The request is not valid. `error.field` names the input at fault when there is one.
5473
6168
  */
@@ -5505,17 +6200,17 @@ type LabelsCreateErrors = {
5505
6200
  */
5506
6201
  504: Error;
5507
6202
  };
5508
- type LabelsCreateError = LabelsCreateErrors[keyof LabelsCreateErrors];
5509
- type LabelsCreateResponses = {
6203
+ type GrantsCreateError = GrantsCreateErrors[keyof GrantsCreateErrors];
6204
+ type GrantsCreateResponses = {
5510
6205
  /**
5511
- * The label.
6206
+ * The grant.
5512
6207
  */
5513
6208
  201: {
5514
- data: Label;
6209
+ data: Grant;
5515
6210
  };
5516
6211
  };
5517
- type LabelsCreateResponse = LabelsCreateResponses[keyof LabelsCreateResponses];
5518
- type LabelsDeleteData = {
6212
+ type GrantsCreateResponse = GrantsCreateResponses[keyof GrantsCreateResponses];
6213
+ type GrantsRevokeData = {
5519
6214
  body?: never;
5520
6215
  headers?: {
5521
6216
  /**
@@ -5527,9 +6222,9 @@ type LabelsDeleteData = {
5527
6222
  id: string;
5528
6223
  };
5529
6224
  query?: never;
5530
- url: '/labels/{id}';
6225
+ url: '/grants/{id}';
5531
6226
  };
5532
- type LabelsDeleteErrors = {
6227
+ type GrantsRevokeErrors = {
5533
6228
  /**
5534
6229
  * The request is not valid. `error.field` names the input at fault when there is one.
5535
6230
  */
@@ -5567,34 +6262,25 @@ type LabelsDeleteErrors = {
5567
6262
  */
5568
6263
  504: Error;
5569
6264
  };
5570
- type LabelsDeleteError = LabelsDeleteErrors[keyof LabelsDeleteErrors];
5571
- type LabelsDeleteResponses = {
6265
+ type GrantsRevokeError = GrantsRevokeErrors[keyof GrantsRevokeErrors];
6266
+ type GrantsRevokeResponses = {
5572
6267
  /**
5573
- * Deleted.
6268
+ * The grant, revoked.
5574
6269
  */
5575
6270
  200: {
5576
- data: Deleted;
6271
+ data: Grant;
5577
6272
  };
5578
6273
  };
5579
- type LabelsDeleteResponse = LabelsDeleteResponses[keyof LabelsDeleteResponses];
5580
- type LabelsUpdateData = {
5581
- body: {
5582
- name?: string;
5583
- colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
5584
- };
5585
- headers?: {
5586
- /**
5587
- * Any string unique to this attempt, reused on its retries. A repeat with the same key and the same request returns the first answer with `Idempotent-Replay: true` and does nothing — no second email. The same key with a different request is a `409`. Kept for 24 hours; a failure is not kept, so a retry after one runs.
5588
- */
5589
- 'Idempotency-Key'?: string;
5590
- };
6274
+ type GrantsRevokeResponse = GrantsRevokeResponses[keyof GrantsRevokeResponses];
6275
+ type GrantsGetData = {
6276
+ body?: never;
5591
6277
  path: {
5592
6278
  id: string;
5593
6279
  };
5594
6280
  query?: never;
5595
- url: '/labels/{id}';
6281
+ url: '/grants/{id}';
5596
6282
  };
5597
- type LabelsUpdateErrors = {
6283
+ type GrantsGetErrors = {
5598
6284
  /**
5599
6285
  * The request is not valid. `error.field` names the input at fault when there is one.
5600
6286
  */
@@ -5612,7 +6298,7 @@ type LabelsUpdateErrors = {
5612
6298
  */
5613
6299
  404: Error;
5614
6300
  /**
5615
- * 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).
6301
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5616
6302
  */
5617
6303
  409: Error;
5618
6304
  /**
@@ -5627,21 +6313,17 @@ type LabelsUpdateErrors = {
5627
6313
  * Something this needs is not answering right now. Retry in a moment.
5628
6314
  */
5629
6315
  503: Error;
5630
- /**
5631
- * Test mode only: `Pidgeon-Test-Fail: drop` dropped the answer (`test_dropped`). The request was done; retry it with the same `Idempotency-Key` to get the first answer.
5632
- */
5633
- 504: Error;
5634
6316
  };
5635
- type LabelsUpdateError = LabelsUpdateErrors[keyof LabelsUpdateErrors];
5636
- type LabelsUpdateResponses = {
6317
+ type GrantsGetError = GrantsGetErrors[keyof GrantsGetErrors];
6318
+ type GrantsGetResponses = {
5637
6319
  /**
5638
- * The label.
6320
+ * The grant.
5639
6321
  */
5640
6322
  200: {
5641
- data: Label;
6323
+ data: Grant;
5642
6324
  };
5643
6325
  };
5644
- type LabelsUpdateResponse = LabelsUpdateResponses[keyof LabelsUpdateResponses];
6326
+ type GrantsGetResponse = GrantsGetResponses[keyof GrantsGetResponses];
5645
6327
  type ContactsListData = {
5646
6328
  body?: never;
5647
6329
  path?: never;
@@ -6401,6 +7083,7 @@ type MessagesSendData = {
6401
7083
  * Ids from `POST /attachments`, uploaded before the message that carries them. Up to 20.
6402
7084
  */
6403
7085
  attachment_ids?: Array<string>;
7086
+ grant_ids?: Array<string>;
6404
7087
  send_at?: string;
6405
7088
  /**
6406
7089
  * The message being answered. Keeps the conversation together in the recipient’s client too.
@@ -6516,6 +7199,7 @@ type MessagesCheckData = {
6516
7199
  * Ids from `POST /attachments`, uploaded before the message that carries them. Up to 20.
6517
7200
  */
6518
7201
  attachment_ids?: Array<string>;
7202
+ grant_ids?: Array<string>;
6519
7203
  send_at?: string;
6520
7204
  /**
6521
7205
  * The message being answered. Keeps the conversation together in the recipient’s client too.
@@ -12165,7 +12849,7 @@ declare const cardsGet: <ThrowOnError extends boolean = false>(options: Options<
12165
12849
  /**
12166
12850
  * Check who sent a message
12167
12851
  *
12168
- * Public, with no key. Send a raw message, or its headers alone; the answer says whether an AI agent sent it, on whose behalf, and whether its signatures hold — the signed agent declaration (`Agent-of` under an aligned DKIM signature) and the `Post-Envelope` — for Pidgeon’s mail and any other signer using the same formats. Act on `verdict`. Pass `recipient`, the address it reached you at, to catch a signed message replayed to you. Or send `request` instead of `message`: an HTTP request an agent signed with HTTP Message Signatures (RFC 9421) in Web Bot Auth’s profile, which is also how an MCP call over HTTP is signed; the key is found by its `keyid` among domains proved with `pidgeon id`, or in the directory its `Signature-Agent` names. Nothing sent is stored. Limited per IP; a key may be sent and is not required.
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.
12169
12853
  */
12170
12854
  declare const verifySender: <ThrowOnError extends boolean = false>(options: Options<VerifySenderData, ThrowOnError>) => RequestResult<VerifySenderResponses, VerifySenderErrors, ThrowOnError>;
12171
12855
  /**
@@ -12214,6 +12898,12 @@ declare const logMonitorsCreate: <ThrowOnError extends boolean = false>(options:
12214
12898
  * Stop watching
12215
12899
  */
12216
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>;
12217
12907
  /**
12218
12908
  * Connect an agent with a setup code
12219
12909
  *
@@ -12384,6 +13074,48 @@ declare const labelsDelete: <ThrowOnError extends boolean = false>(options: Opti
12384
13074
  * A body with neither `name` nor `colour` is refused.
12385
13075
  */
12386
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>;
12387
13119
  /**
12388
13120
  * Find contacts
12389
13121
  *
@@ -13092,4 +13824,4 @@ interface StreamOptions {
13092
13824
  */
13093
13825
  declare function streamEvents(options: StreamOptions): AsyncGenerator<StreamedEvent>;
13094
13826
 
13095
- export { type Address, type AgentAttachHumanData, type AgentAttachHumanError, type AgentAttachHumanErrors, type AgentAttachHumanResponse, type AgentAttachHumanResponses, type AgentCard, type AgentConnectData, type AgentConnectError, type AgentConnectErrors, type AgentConnectResponse, type AgentConnectResponses, type AgentConnected, type AgentSetup, type AgentSetupData, type AgentSetupError, type AgentSetupErrors, type AgentSetupResponse, type AgentSetupResponses, type AgentSignUpData, type AgentSignUpError, type AgentSignUpErrors, type AgentSignUpResponse, type AgentSignUpResponses, type AgentSignup, type AgentVerified, type AgentVerifyData, type AgentVerifyError, type AgentVerifyErrors, type AgentVerifyResponse, type AgentVerifyResponses, type ApiKey, type ApiKeyCreated, type AppPassword, type AppPasswordCreated, type AppPasswordsCreateData, type AppPasswordsCreateError, type AppPasswordsCreateErrors, type AppPasswordsCreateResponse, type AppPasswordsCreateResponses, type AppPasswordsListData, type AppPasswordsListError, type AppPasswordsListErrors, type AppPasswordsListResponse, type AppPasswordsListResponses, type AppPasswordsRevokeData, type AppPasswordsRevokeError, type AppPasswordsRevokeErrors, type AppPasswordsRevokeResponse, type AppPasswordsRevokeResponses, type Approval, type Attachment, type AttachmentText, type AttachmentUrl, type AttachmentsCompleteUploadData, type AttachmentsCompleteUploadError, type AttachmentsCompleteUploadErrors, type AttachmentsCompleteUploadResponse, type AttachmentsCompleteUploadResponses, type AttachmentsCreateUploadData, type AttachmentsCreateUploadError, type AttachmentsCreateUploadErrors, type AttachmentsCreateUploadResponse, type AttachmentsCreateUploadResponses, type AttachmentsDownloadUrlData, type AttachmentsDownloadUrlError, type AttachmentsDownloadUrlErrors, type AttachmentsDownloadUrlResponse, type AttachmentsDownloadUrlResponses, type AttachmentsTextData, type AttachmentsTextError, type AttachmentsTextErrors, type AttachmentsTextResponse, type AttachmentsTextResponses, type AttachmentsUploadData, type AttachmentsUploadError, type AttachmentsUploadErrors, type AttachmentsUploadResponse, type AttachmentsUploadResponses, type AwaitedMessage, type Calendar, type CalendarCreateEventData, type CalendarCreateEventError, type CalendarCreateEventErrors, type CalendarCreateEventResponse, type CalendarCreateEventResponses, type CalendarDeleteEventData, type CalendarDeleteEventError, type CalendarDeleteEventErrors, type CalendarDeleteEventResponse, type CalendarDeleteEventResponses, type CalendarEvent, type CalendarFreeTimeData, type CalendarFreeTimeError, type CalendarFreeTimeErrors, type CalendarFreeTimeResponse, type CalendarFreeTimeResponses, type CalendarGetAgendaData, type CalendarGetAgendaError, type CalendarGetAgendaErrors, type CalendarGetAgendaResponse, type CalendarGetAgendaResponses, type CalendarGetData, type CalendarGetError, type CalendarGetErrors, type CalendarGetEventData, type CalendarGetEventError, type CalendarGetEventErrors, type CalendarGetEventResponse, type CalendarGetEventResponses, type CalendarGetResponse, type CalendarGetResponses, type CalendarListEventInstancesData, type CalendarListEventInstancesError, type CalendarListEventInstancesErrors, type CalendarListEventInstancesResponse, type CalendarListEventInstancesResponses, type CalendarListEventsData, type CalendarListEventsError, type CalendarListEventsErrors, type CalendarListEventsResponse, type CalendarListEventsResponses, type CalendarRespondToEventData, type CalendarRespondToEventError, type CalendarRespondToEventErrors, type CalendarRespondToEventResponse, type CalendarRespondToEventResponses, type CalendarUpdateData, type CalendarUpdateError, type CalendarUpdateErrors, type CalendarUpdateEventData, type CalendarUpdateEventError, type CalendarUpdateEventErrors, type CalendarUpdateEventResponse, type CalendarUpdateEventResponses, type CalendarUpdateResponse, type CalendarUpdateResponses, type CardLogConsistency, type CardLogEntry, type CardLogHead, type CardLogInclusion, type CardLogMonitor, type CardsGetData, type CardsGetError, type CardsGetErrors, type CardsGetResponse, type CardsGetResponses, type ClientOptions, type Contact, type ContactsBlockData, type ContactsBlockError, type ContactsBlockErrors, type ContactsBlockResponse, type ContactsBlockResponses, type ContactsCreateData, type ContactsCreateError, type ContactsCreateErrors, type ContactsCreateResponse, type ContactsCreateResponses, type ContactsDeleteData, type ContactsDeleteError, type ContactsDeleteErrors, type ContactsDeleteResponse, type ContactsDeleteResponses, type ContactsGetData, type ContactsGetError, type ContactsGetErrors, type ContactsGetResponse, type ContactsGetResponses, type ContactsListData, type ContactsListError, type ContactsListErrors, type ContactsListResponse, type ContactsListResponses, type ContactsUnblockData, type ContactsUnblockError, type ContactsUnblockErrors, type ContactsUnblockResponse, type ContactsUnblockResponses, type ContactsUpdateData, type ContactsUpdateError, type ContactsUpdateErrors, type ContactsUpdateResponse, type ContactsUpdateResponses, type CreateClientConfig, type CreatedDomain, type Deleted, type Delivery, type DnsRecord, type Domain, type DomainDetail, type DomainsCreateData, type DomainsCreateError, type DomainsCreateErrors, type DomainsCreateResponse, type DomainsCreateResponses, type DomainsDeleteData, type DomainsDeleteError, type DomainsDeleteErrors, type DomainsDeleteResponse, type DomainsDeleteResponses, type DomainsGetData, type DomainsGetError, type DomainsGetErrors, type DomainsGetResponse, type DomainsGetResponses, type DomainsGetSetupLinkData, type DomainsGetSetupLinkError, type DomainsGetSetupLinkErrors, type DomainsGetSetupLinkResponse, type DomainsGetSetupLinkResponses, type DomainsListData, type DomainsListError, type DomainsListErrors, type DomainsListResponse, type DomainsListResponses, type DomainsUpdateData, type DomainsUpdateError, type DomainsUpdateErrors, type DomainsUpdateResponse, type DomainsUpdateResponses, type DomainsVerifyData, type DomainsVerifyError, type DomainsVerifyErrors, type DomainsVerifyResponse, type DomainsVerifyResponses, type DomainsZoneFileData, type DomainsZoneFileError, type DomainsZoneFileErrors, type DomainsZoneFileResponse, type DomainsZoneFileResponses, type Draft, type DraftsApprovalData, type DraftsApprovalError, type DraftsApprovalErrors, type DraftsApprovalResponse, type DraftsApprovalResponses, type DraftsCancelScheduleData, type DraftsCancelScheduleError, type DraftsCancelScheduleErrors, type DraftsCancelScheduleResponse, type DraftsCancelScheduleResponses, type DraftsCreateData, type DraftsCreateError, type DraftsCreateErrors, type DraftsCreateResponse, type DraftsCreateResponses, type DraftsDeleteData, type DraftsDeleteError, type DraftsDeleteErrors, type DraftsDeleteResponse, type DraftsDeleteResponses, type DraftsGetData, type DraftsGetError, type DraftsGetErrors, type DraftsGetResponse, type DraftsGetResponses, type DraftsListData, type DraftsListError, type DraftsListErrors, type DraftsListResponse, type DraftsListResponses, type DraftsRemoveAttachmentData, type DraftsRemoveAttachmentError, type DraftsRemoveAttachmentErrors, type DraftsRemoveAttachmentResponse, type DraftsRemoveAttachmentResponses, type DraftsScheduleData, type DraftsScheduleError, type DraftsScheduleErrors, type DraftsScheduleResponse, type DraftsScheduleResponses, type DraftsSendData, type DraftsSendError, type DraftsSendErrors, type DraftsSendResponse, type DraftsSendResponses, type DraftsUpdateData, type DraftsUpdateError, type DraftsUpdateErrors, type DraftsUpdateResponse, type DraftsUpdateResponses, type Emptied, type Error, type Event, type EventResponse, type EventsGetData, type EventsGetError, type EventsGetErrors, type EventsGetResponse, type EventsGetResponses, type EventsListData, type EventsListError, type EventsListErrors, type EventsListResponse, type EventsListResponses, type EventsSocketData, type EventsSocketError, type EventsSocketErrors, type EventsStreamData, type EventsStreamError, type EventsStreamErrors, type EventsStreamResponse, type EventsStreamResponses, type ExportMailData, type ExportMailError, type ExportMailErrors, type ExportMailResponse, type ExportMailResponses, type FreeTime, type IdentitiesAccessCreateData, type IdentitiesAccessCreateError, type IdentitiesAccessCreateErrors, type IdentitiesAccessCreateResponse, type IdentitiesAccessCreateResponses, type IdentitiesAccessDeleteData, type IdentitiesAccessDeleteError, type IdentitiesAccessDeleteErrors, type IdentitiesAccessDeleteResponse, type IdentitiesAccessDeleteResponses, type IdentitiesAccessGetData, type IdentitiesAccessGetError, type IdentitiesAccessGetErrors, type IdentitiesAccessGetResponse, type IdentitiesAccessGetResponses, type IdentitiesCardData, type IdentitiesCardError, type IdentitiesCardErrors, type IdentitiesCardResponse, type IdentitiesCardResponses, type IdentitiesCreateData, type IdentitiesCreateError, type IdentitiesCreateErrors, type IdentitiesCreateResponse, type IdentitiesCreateResponses, type IdentitiesDeleteData, type IdentitiesDeleteError, type IdentitiesDeleteErrors, type IdentitiesDeleteResponse, type IdentitiesDeleteResponses, type IdentitiesGetData, type IdentitiesGetError, type IdentitiesGetErrors, type IdentitiesGetResponse, type IdentitiesGetResponses, type IdentitiesListData, type IdentitiesListError, type IdentitiesListErrors, type IdentitiesListResponse, type IdentitiesListResponses, type IdentitiesReceiveRulesCreateData, type IdentitiesReceiveRulesCreateError, type IdentitiesReceiveRulesCreateErrors, type IdentitiesReceiveRulesCreateResponse, type IdentitiesReceiveRulesCreateResponses, type IdentitiesReceiveRulesDeleteData, type IdentitiesReceiveRulesDeleteError, type IdentitiesReceiveRulesDeleteErrors, type IdentitiesReceiveRulesDeleteResponse, type IdentitiesReceiveRulesDeleteResponses, type IdentitiesReceiveRulesGetData, type IdentitiesReceiveRulesGetError, type IdentitiesReceiveRulesGetErrors, type IdentitiesReceiveRulesGetResponse, type IdentitiesReceiveRulesGetResponses, type IdentitiesSendRulesCreateData, type IdentitiesSendRulesCreateError, type IdentitiesSendRulesCreateErrors, type IdentitiesSendRulesCreateResponse, type IdentitiesSendRulesCreateResponses, type IdentitiesSendRulesDeleteData, type IdentitiesSendRulesDeleteError, type IdentitiesSendRulesDeleteErrors, type IdentitiesSendRulesDeleteResponse, type IdentitiesSendRulesDeleteResponses, type IdentitiesSendRulesGetData, type IdentitiesSendRulesGetError, type IdentitiesSendRulesGetErrors, type IdentitiesSendRulesGetResponse, type IdentitiesSendRulesGetResponses, type IdentitiesSuspendTenantData, type IdentitiesSuspendTenantError, type IdentitiesSuspendTenantErrors, type IdentitiesSuspendTenantResponse, type IdentitiesSuspendTenantResponses, type IdentitiesUpdateData, type IdentitiesUpdateError, type IdentitiesUpdateErrors, type IdentitiesUpdateResponse, type IdentitiesUpdateResponses, type Identity, type Invitation, type InvitationResponse, type KeysCreateData, type KeysCreateError, type KeysCreateErrors, type KeysCreateResponse, type KeysCreateResponses, type KeysGetData, type KeysGetError, type KeysGetErrors, type KeysGetResponse, type KeysGetResponses, type KeysListData, type KeysListError, type KeysListErrors, type KeysListResponse, type KeysListResponses, type KeysRevokeData, type KeysRevokeError, type KeysRevokeErrors, type KeysRevokeResponse, type KeysRevokeResponses, type KeysRotateData, type KeysRotateError, type KeysRotateErrors, type KeysRotateResponse, type KeysRotateResponses, type KeysUpdateData, type KeysUpdateError, type KeysUpdateErrors, type KeysUpdateResponse, type KeysUpdateResponses, type Label, type LabelRemoved, type LabelsCreateData, type LabelsCreateError, type LabelsCreateErrors, type LabelsCreateResponse, type LabelsCreateResponses, type LabelsDeleteData, type LabelsDeleteError, type LabelsDeleteErrors, type LabelsDeleteResponse, type LabelsDeleteResponses, type LabelsListData, type LabelsListError, type LabelsListErrors, type LabelsListResponse, type LabelsListResponses, type LabelsUpdateData, type LabelsUpdateError, type LabelsUpdateErrors, type LabelsUpdateResponse, type LabelsUpdateResponses, type LogCheckpointData, type LogCheckpointError, type LogCheckpointErrors, type LogCheckpointResponse, type LogCheckpointResponses, type LogConsistencyData, type LogConsistencyError, type LogConsistencyErrors, type LogConsistencyResponse, type LogConsistencyResponses, type LogEntriesData, type LogEntriesError, type LogEntriesErrors, type LogEntriesResponse, type LogEntriesResponses, type LogHeadData, type LogHeadError, type LogHeadErrors, type LogHeadResponse, type LogHeadResponses, type LogMonitorsCreateData, type LogMonitorsCreateError, type LogMonitorsCreateErrors, type LogMonitorsCreateResponse, type LogMonitorsCreateResponses, type LogMonitorsDeleteData, type LogMonitorsDeleteError, type LogMonitorsDeleteErrors, type LogMonitorsDeleteResponse, type LogMonitorsDeleteResponses, type LogMonitorsListData, type LogMonitorsListError, type LogMonitorsListErrors, type LogMonitorsListResponse, type LogMonitorsListResponses, type LogProofData, type LogProofError, type LogProofErrors, type LogProofResponse, type LogProofResponses, type Mailbox, type MailboxAccess, type MailboxChange, type MailboxesChangesData, type MailboxesChangesError, type MailboxesChangesErrors, type MailboxesChangesResponse, type MailboxesChangesResponses, type MailboxesEmptyTrashData, type MailboxesEmptyTrashError, type MailboxesEmptyTrashErrors, type MailboxesEmptyTrashResponse, type MailboxesEmptyTrashResponses, type MailboxesListData, type MailboxesListError, type MailboxesListErrors, type MailboxesListFolderData, type MailboxesListFolderError, type MailboxesListFolderErrors, type MailboxesListFolderResponse, type MailboxesListFolderResponses, type MailboxesListResponse, type MailboxesListResponses, type Me, type MeGetData, type MeGetError, type MeGetErrors, type MeGetResponse, type MeGetResponses, type Member, type Message, type MessageListItem, type MessagesActData, type MessagesActError, type MessagesActErrors, type MessagesActResponse, type MessagesActResponses, type MessagesAwaitData, type MessagesAwaitError, type MessagesAwaitErrors, type MessagesAwaitResponse, type MessagesAwaitResponses, type MessagesCheckData, type MessagesCheckError, type MessagesCheckErrors, type MessagesCheckResponse, type MessagesCheckResponses, type MessagesForwardData, type MessagesForwardError, type MessagesForwardErrors, type MessagesForwardResponse, type MessagesForwardResponses, type MessagesGetData, type MessagesGetError, type MessagesGetErrors, type MessagesGetResponse, type MessagesGetResponses, type MessagesListInThreadData, type MessagesListInThreadError, type MessagesListInThreadErrors, type MessagesListInThreadResponse, type MessagesListInThreadResponses, type MessagesRawData, type MessagesRawError, type MessagesRawErrors, type MessagesRawResponse, type MessagesRawResponses, type MessagesReplyAllData, type MessagesReplyAllError, type MessagesReplyAllErrors, type MessagesReplyAllResponse, type MessagesReplyAllResponses, type MessagesReplyData, type MessagesReplyError, type MessagesReplyErrors, type MessagesReplyResponse, type MessagesReplyResponses, type MessagesRespondToInvitationData, type MessagesRespondToInvitationError, type MessagesRespondToInvitationErrors, type MessagesRespondToInvitationResponse, type MessagesRespondToInvitationResponses, type MessagesSearchData, type MessagesSearchError, type MessagesSearchErrors, type MessagesSearchResponse, type MessagesSearchResponses, type MessagesSendData, type MessagesSendError, type MessagesSendErrors, type MessagesSendResponse, type MessagesSendResponses, type MessagesUndoData, type MessagesUndoError, type MessagesUndoErrors, type MessagesUndoResponse, type MessagesUndoResponses, type MessagesUpdateData, type MessagesUpdateError, type MessagesUpdateErrors, type MessagesUpdateResponse, type MessagesUpdateResponses, type Metrics, type MetricsQueryData, type MetricsQueryError, type MetricsQueryErrors, type MetricsQueryResponse, type MetricsQueryResponses, type Options, type Pod, type PodCreated, type PodDeleted, type PodsCreateData, type PodsCreateError, type PodsCreateErrors, type PodsCreateResponse, type PodsCreateResponses, type PodsDeleteData, type PodsDeleteError, type PodsDeleteErrors, type PodsDeleteResponse, type PodsDeleteResponses, type PodsGetData, type PodsGetError, type PodsGetErrors, type PodsGetResponse, type PodsGetResponses, type PodsListData, type PodsListError, type PodsListErrors, type PodsListResponse, type PodsListResponses, type PodsUpdateData, type PodsUpdateError, type PodsUpdateErrors, type PodsUpdateResponse, type PodsUpdateResponses, type ReceiveRuleRemoved, type ReceiveRules, type Replayed, type Restored, type Revoked, type RoutingCreateData, type RoutingCreateError, type RoutingCreateErrors, type RoutingCreateResponse, type RoutingCreateResponses, type RoutingDeleteData, type RoutingDeleteError, type RoutingDeleteErrors, type RoutingDeleteResponse, type RoutingDeleteResponses, type RoutingListData, type RoutingListError, type RoutingListErrors, type RoutingListResponse, type RoutingListResponses, type RoutingRule, type RoutingUpdateData, type RoutingUpdateError, type RoutingUpdateErrors, type RoutingUpdateResponse, type RoutingUpdateResponses, SIGNATURE_HEADER, type SearchHit, type SendCheck, type SendRuleRemoved, type SendRules, type SenderVerification, type Sent, type SetupLink, type SignedUpload, type StreamOptions, type StreamedEvent, TIMESTAMP_HEADER, type TenantSuspended, type TestInboundData, type TestInboundDelivered, type TestInboundError, type TestInboundErrors, type TestInboundResponse, type TestInboundResponses, type Thread, type ThreadsGetData, type ThreadsGetError, type ThreadsGetErrors, type ThreadsGetResponse, type ThreadsGetResponses, type ThreadsLabelsCreateData, type ThreadsLabelsCreateError, type ThreadsLabelsCreateErrors, type ThreadsLabelsCreateResponse, type ThreadsLabelsCreateResponses, type ThreadsLabelsDeleteData, type ThreadsLabelsDeleteError, type ThreadsLabelsDeleteErrors, type ThreadsLabelsDeleteResponse, type ThreadsLabelsDeleteResponses, type ThreadsLabelsGetData, type ThreadsLabelsGetError, type ThreadsLabelsGetErrors, type ThreadsLabelsGetResponse, type ThreadsLabelsGetResponses, type ThreadsListData, type ThreadsListError, type ThreadsListErrors, type ThreadsListResponse, type ThreadsListResponses, type ThreadsUpdateData, type ThreadsUpdateError, type ThreadsUpdateErrors, type ThreadsUpdateResponse, type ThreadsUpdateResponses, type Undo, type UploadedAttachment, type Verification, type VerifySenderData, type VerifySenderError, type VerifySenderErrors, type VerifySenderResponse, type VerifySenderResponses, type Warning, type Webhook, type WebhookCreated, type WebhookEnvelope, type WebhookHeaders, type WebhooksCreateData, type WebhooksCreateError, type WebhooksCreateErrors, type WebhooksCreateResponse, type WebhooksCreateResponses, type WebhooksDeleteData, type WebhooksDeleteError, type WebhooksDeleteErrors, type WebhooksDeleteResponse, type WebhooksDeleteResponses, type WebhooksDeliveriesData, type WebhooksDeliveriesError, type WebhooksDeliveriesErrors, type WebhooksDeliveriesResponse, type WebhooksDeliveriesResponses, type WebhooksGetData, type WebhooksGetError, type WebhooksGetErrors, type WebhooksGetHeadersData, type WebhooksGetHeadersError, type WebhooksGetHeadersErrors, type WebhooksGetHeadersResponse, type WebhooksGetHeadersResponses, type WebhooksGetResponse, type WebhooksGetResponses, type WebhooksListData, type WebhooksListError, type WebhooksListErrors, type WebhooksListResponse, type WebhooksListResponses, type WebhooksReplayData, type WebhooksReplayError, type WebhooksReplayErrors, type WebhooksReplayResponse, type WebhooksReplayResponses, type WebhooksUpdateData, type WebhooksUpdateError, type WebhooksUpdateErrors, type WebhooksUpdateHeadersData, type WebhooksUpdateHeadersError, type WebhooksUpdateHeadersErrors, type WebhooksUpdateHeadersResponse, type WebhooksUpdateHeadersResponses, type WebhooksUpdateResponse, type WebhooksUpdateResponses, type Workspace, type WorkspaceGetData, type WorkspaceGetError, type WorkspaceGetErrors, type WorkspaceGetResponse, type WorkspaceGetResponses, type WorkspaceMembersData, type WorkspaceMembersError, type WorkspaceMembersErrors, type WorkspaceMembersResponse, type WorkspaceMembersResponses, agentAttachHuman, agentConnect, agentSetup, agentSignUp, agentVerify, appPasswordsCreate, appPasswordsList, appPasswordsRevoke, attachmentsCompleteUpload, attachmentsCreateUpload, attachmentsDownloadUrl, attachmentsText, attachmentsUpload, calendarCreateEvent, calendarDeleteEvent, calendarFreeTime, calendarGet, calendarGetAgenda, calendarGetEvent, calendarListEventInstances, calendarListEvents, calendarRespondToEvent, calendarUpdate, calendarUpdateEvent, cardsGet, client, contactsBlock, contactsCreate, contactsDelete, contactsGet, contactsList, contactsUnblock, contactsUpdate, createClient, createConfig, domainsCreate, domainsDelete, domainsGet, domainsGetSetupLink, domainsList, domainsUpdate, domainsVerify, domainsZoneFile, draftsApproval, draftsCancelSchedule, draftsCreate, draftsDelete, draftsGet, draftsList, draftsRemoveAttachment, draftsSchedule, draftsSend, draftsUpdate, eventsGet, eventsList, eventsSocket, eventsStream, exportMail, identitiesAccessCreate, identitiesAccessDelete, identitiesAccessGet, identitiesCard, identitiesCreate, identitiesDelete, identitiesGet, identitiesList, identitiesReceiveRulesCreate, identitiesReceiveRulesDelete, identitiesReceiveRulesGet, identitiesSendRulesCreate, identitiesSendRulesDelete, identitiesSendRulesGet, identitiesSuspendTenant, identitiesUpdate, keysCreate, keysGet, keysList, keysRevoke, keysRotate, keysUpdate, labelsCreate, labelsDelete, labelsList, labelsUpdate, logCheckpoint, logConsistency, logEntries, logHead, logMonitorsCreate, logMonitorsDelete, logMonitorsList, logProof, mailboxesChanges, mailboxesEmptyTrash, mailboxesList, mailboxesListFolder, meGet, messagesAct, messagesAwait, messagesCheck, messagesForward, messagesGet, messagesListInThread, messagesRaw, messagesReply, messagesReplyAll, messagesRespondToInvitation, messagesSearch, messagesSend, messagesUndo, messagesUpdate, metricsQuery, podsCreate, podsDelete, podsGet, podsList, podsUpdate, routingCreate, routingDelete, routingList, routingUpdate, streamEvents, testInbound, threadsGet, threadsLabelsCreate, threadsLabelsDelete, threadsLabelsGet, threadsList, threadsUpdate, verifySender, verifyWebhook, webhooksCreate, webhooksDelete, webhooksDeliveries, webhooksGet, webhooksGetHeaders, webhooksList, webhooksReplay, webhooksUpdate, webhooksUpdateHeaders, workspaceGet, workspaceMembers };
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 };