@pidgeon-ai/sdk 1.55.1 → 1.59.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
@@ -432,6 +432,24 @@ type SendCheck = {
432
432
  approval: {
433
433
  reason: 'first_contact' | 'risky_thread';
434
434
  } | null;
435
+ /**
436
+ * Each recipient once, from `to`, `cc` and `bcc`, and whether it would get this signed and verified: send typed `data` where `network` is true, prose where it is false.
437
+ */
438
+ recipients: Array<{
439
+ address: string;
440
+ /**
441
+ * True when this message would go to them from Pidgeon to Pidgeon: signed by your domain and verified before it is stored, so your `data` arrives with a checked sender and you get `message.delivered`. Only an agent or a service address on Pidgeon answers true. False for everyone else, and for everyone in test mode or when your domain does not sign yet: write for a person.
442
+ */
443
+ network: boolean;
444
+ /**
445
+ * What the address declares on its own mail, when it is an agent or a service. Null otherwise: a person, an address not on Pidgeon, and one we cannot say all read the same.
446
+ */
447
+ kind: 'agent' | 'service' | null;
448
+ /**
449
+ * Whom the address declares it acts for, when it has a `kind` and says so.
450
+ */
451
+ on_behalf_of: string | null;
452
+ }>;
435
453
  };
436
454
  type TestInboundDelivered = {
437
455
  /**
@@ -459,6 +477,113 @@ type AgentVerified = {
459
477
  api_key: string;
460
478
  api_key_id: string;
461
479
  };
480
+ type AgentCard = {
481
+ object: 'agent_card';
482
+ /**
483
+ * The card’s permanent URL.
484
+ */
485
+ url: string;
486
+ /**
487
+ * Compact JWS, EdDSA, `typ: agent-card+jwt`. Check it against the keys at `<iss>/.well-known/post.json`.
488
+ */
489
+ jws: string;
490
+ card: {
491
+ /**
492
+ * `https://post.<domain>`: the domain that signed it.
493
+ */
494
+ iss: string;
495
+ /**
496
+ * The address’s id. Never reassigned, unlike the address.
497
+ */
498
+ sub: string;
499
+ iat: number;
500
+ /**
501
+ * A day after `iat`. Refetch after it.
502
+ */
503
+ exp: number;
504
+ v: 'post0';
505
+ address: string;
506
+ kind: 'agent' | 'service';
507
+ on_behalf_of?: string;
508
+ operator?: {
509
+ domain: string;
510
+ verified: boolean;
511
+ };
512
+ /**
513
+ * ISO-8601, UTC.
514
+ */
515
+ created_at: string;
516
+ /**
517
+ * What signs this address’s mail.
518
+ */
519
+ keys: Array<{
520
+ type: 'post' | 'dkim';
521
+ domain: string;
522
+ kid?: string;
523
+ selector?: string;
524
+ }>;
525
+ reputation: {
526
+ standing: 'new' | 'established' | 'restricted';
527
+ /**
528
+ * The month the address was made, `YYYY-MM`.
529
+ */
530
+ since: string;
531
+ };
532
+ url: string;
533
+ };
534
+ };
535
+ type SenderVerification = {
536
+ object: 'sender_verification';
537
+ /**
538
+ * `verified`: a signature holds and nothing is wrong. `caution`: it holds, with `warnings`. `failed`: a signature does not verify, or the body changed. `unsigned`: nothing to check.
539
+ */
540
+ verdict: 'verified' | 'caution' | 'failed' | 'unsigned';
541
+ /**
542
+ * One sentence to act on.
543
+ */
544
+ advice: string;
545
+ /**
546
+ * Null unless a signature covers it.
547
+ */
548
+ sender: {
549
+ address: string;
550
+ kind: 'person' | 'agent' | 'service' | null;
551
+ on_behalf_of: string | null;
552
+ } | null;
553
+ is_agent: boolean | null;
554
+ operator: {
555
+ domain: string;
556
+ verified: boolean;
557
+ } | null;
558
+ ai_disclosure: string | null;
559
+ signed_at: string | null;
560
+ body: 'intact' | 'changed' | 'not_checked';
561
+ signatures: {
562
+ declaration: {
563
+ result: 'pass' | 'fail' | 'none';
564
+ domain: string | null;
565
+ selector: string | null;
566
+ };
567
+ envelope: {
568
+ result: 'pass' | 'fail' | 'unverifiable' | 'none';
569
+ domain: string | null;
570
+ kid: string | null;
571
+ reason: string | null;
572
+ };
573
+ };
574
+ /**
575
+ * The sender’s agent card, when we issue it.
576
+ */
577
+ card: {
578
+ url: string;
579
+ standing: string;
580
+ since: string;
581
+ } | null;
582
+ warnings: Array<{
583
+ code: 'unsigned_claims' | 'extra_claims' | 'lookalike_domain' | 'display_name_mismatch' | 'not_addressed_to_you' | 'old_signature' | 'envelope_unverifiable';
584
+ message: string;
585
+ }>;
586
+ };
462
587
  type AgentSetup = {
463
588
  /**
464
589
  * True when every step is done for the address below. A test key is never ready: its mail stays inside Pidgeon.
@@ -2579,6 +2704,80 @@ type Label = {
2579
2704
  */
2580
2705
  created_at: string;
2581
2706
  };
2707
+ type Contact = {
2708
+ id: string;
2709
+ /**
2710
+ * The address this is a contact of.
2711
+ */
2712
+ identity_id: string;
2713
+ /**
2714
+ * That address, as an email.
2715
+ */
2716
+ inbox: string;
2717
+ email: string;
2718
+ name: string | null;
2719
+ avatar_url: string | null;
2720
+ kind: 'human' | 'agent';
2721
+ notes: string | null;
2722
+ /**
2723
+ * While muted: until when their new mail arrives snoozed. Null otherwise.
2724
+ */
2725
+ snoozed_until: string | null;
2726
+ /**
2727
+ * Null when their mail reaches the inbox. `contact`: blocked here, and unblocking undoes it. `rule`: a wider rule on the domain or the workspace blocks them.
2728
+ */
2729
+ blocked: 'contact' | 'rule' | null;
2730
+ /**
2731
+ * The last mail between them and this address.
2732
+ */
2733
+ last_seen_at: string | null;
2734
+ /**
2735
+ * ISO-8601, UTC.
2736
+ */
2737
+ created_at: string;
2738
+ };
2739
+ type FreeTime = {
2740
+ /**
2741
+ * The zone `local_start` and `local_end` are in.
2742
+ */
2743
+ timezone: string;
2744
+ duration_minutes: number;
2745
+ /**
2746
+ * Every stretch at least `duration_minutes` long when all of them are free, in order. Whole stretches, not cut into meetings.
2747
+ */
2748
+ slots: Array<{
2749
+ /**
2750
+ * ISO-8601, UTC.
2751
+ */
2752
+ start: string;
2753
+ /**
2754
+ * ISO-8601, UTC.
2755
+ */
2756
+ end: string;
2757
+ /**
2758
+ * `start` as a wall time in `timezone`, no offset.
2759
+ */
2760
+ local_start: string;
2761
+ /**
2762
+ * `end` as a wall time in `timezone`, no offset.
2763
+ */
2764
+ local_end: string;
2765
+ }>;
2766
+ /**
2767
+ * What each address has on in the window, merged; no titles.
2768
+ */
2769
+ busy: Array<{
2770
+ identity_id: string;
2771
+ /**
2772
+ * ISO-8601, UTC.
2773
+ */
2774
+ start: string;
2775
+ /**
2776
+ * ISO-8601, UTC.
2777
+ */
2778
+ end: string;
2779
+ }>;
2780
+ };
2582
2781
  type LabelRemoved = {
2583
2782
  thread_id: string;
2584
2783
  label_id: string;
@@ -2832,6 +3031,111 @@ type AgentVerifyResponses = {
2832
3031
  };
2833
3032
  };
2834
3033
  type AgentVerifyResponse = AgentVerifyResponses[keyof AgentVerifyResponses];
3034
+ type CardsGetData = {
3035
+ body?: never;
3036
+ path: {
3037
+ id: string;
3038
+ };
3039
+ query?: never;
3040
+ url: '/cards/{id}';
3041
+ };
3042
+ type CardsGetErrors = {
3043
+ /**
3044
+ * The request is not valid. `error.field` names the input at fault when there is one.
3045
+ */
3046
+ 400: Error;
3047
+ /**
3048
+ * No API key, or one that is not valid.
3049
+ */
3050
+ 401: Error;
3051
+ /**
3052
+ * 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.
3053
+ */
3054
+ 403: Error;
3055
+ /**
3056
+ * 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”.
3057
+ */
3058
+ 404: Error;
3059
+ /**
3060
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3061
+ */
3062
+ 409: Error;
3063
+ /**
3064
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
3065
+ */
3066
+ 429: Error;
3067
+ /**
3068
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3069
+ */
3070
+ 500: Error;
3071
+ /**
3072
+ * Something this needs is not answering right now. Retry in a moment.
3073
+ */
3074
+ 503: Error;
3075
+ };
3076
+ type CardsGetError = CardsGetErrors[keyof CardsGetErrors];
3077
+ type CardsGetResponses = {
3078
+ /**
3079
+ * The card.
3080
+ */
3081
+ 200: {
3082
+ data: AgentCard;
3083
+ };
3084
+ };
3085
+ type CardsGetResponse = CardsGetResponses[keyof CardsGetResponses];
3086
+ type VerifySenderData = {
3087
+ body: {
3088
+ message: string;
3089
+ recipient?: string;
3090
+ };
3091
+ path?: never;
3092
+ query?: never;
3093
+ url: '/verify';
3094
+ };
3095
+ type VerifySenderErrors = {
3096
+ /**
3097
+ * The request is not valid. `error.field` names the input at fault when there is one.
3098
+ */
3099
+ 400: Error;
3100
+ /**
3101
+ * No API key, or one that is not valid.
3102
+ */
3103
+ 401: Error;
3104
+ /**
3105
+ * 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.
3106
+ */
3107
+ 403: Error;
3108
+ /**
3109
+ * 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”.
3110
+ */
3111
+ 404: Error;
3112
+ /**
3113
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3114
+ */
3115
+ 409: Error;
3116
+ /**
3117
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
3118
+ */
3119
+ 429: Error;
3120
+ /**
3121
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3122
+ */
3123
+ 500: Error;
3124
+ /**
3125
+ * Something this needs is not answering right now. Retry in a moment.
3126
+ */
3127
+ 503: Error;
3128
+ };
3129
+ type VerifySenderError = VerifySenderErrors[keyof VerifySenderErrors];
3130
+ type VerifySenderResponses = {
3131
+ /**
3132
+ * The verdict.
3133
+ */
3134
+ 200: {
3135
+ data: SenderVerification;
3136
+ };
3137
+ };
3138
+ type VerifySenderResponse = VerifySenderResponses[keyof VerifySenderResponses];
2835
3139
  type AgentConnectData = {
2836
3140
  body: {
2837
3141
  code: string;
@@ -3342,6 +3646,58 @@ type IdentitiesUpdateResponses = {
3342
3646
  };
3343
3647
  };
3344
3648
  type IdentitiesUpdateResponse = IdentitiesUpdateResponses[keyof IdentitiesUpdateResponses];
3649
+ type IdentitiesCardData = {
3650
+ body?: never;
3651
+ path: {
3652
+ id: string;
3653
+ };
3654
+ query?: never;
3655
+ url: '/identities/{id}/card';
3656
+ };
3657
+ type IdentitiesCardErrors = {
3658
+ /**
3659
+ * The request is not valid. `error.field` names the input at fault when there is one.
3660
+ */
3661
+ 400: Error;
3662
+ /**
3663
+ * No API key, or one that is not valid.
3664
+ */
3665
+ 401: Error;
3666
+ /**
3667
+ * 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.
3668
+ */
3669
+ 403: Error;
3670
+ /**
3671
+ * 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”.
3672
+ */
3673
+ 404: Error;
3674
+ /**
3675
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
3676
+ */
3677
+ 409: Error;
3678
+ /**
3679
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
3680
+ */
3681
+ 429: Error;
3682
+ /**
3683
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
3684
+ */
3685
+ 500: Error;
3686
+ /**
3687
+ * Something this needs is not answering right now. Retry in a moment.
3688
+ */
3689
+ 503: Error;
3690
+ };
3691
+ type IdentitiesCardError = IdentitiesCardErrors[keyof IdentitiesCardErrors];
3692
+ type IdentitiesCardResponses = {
3693
+ /**
3694
+ * The card.
3695
+ */
3696
+ 200: {
3697
+ data: AgentCard;
3698
+ };
3699
+ };
3700
+ type IdentitiesCardResponse = IdentitiesCardResponses[keyof IdentitiesCardResponses];
3345
3701
  type IdentitiesAccessDeleteData = {
3346
3702
  body?: never;
3347
3703
  headers?: {
@@ -4111,27 +4467,466 @@ type PodsCreateResponses = {
4111
4467
  warnings?: Array<Warning>;
4112
4468
  };
4113
4469
  };
4114
- type PodsCreateResponse = PodsCreateResponses[keyof PodsCreateResponses];
4115
- type PodsDeleteData = {
4470
+ type PodsCreateResponse = PodsCreateResponses[keyof PodsCreateResponses];
4471
+ type PodsDeleteData = {
4472
+ body?: never;
4473
+ headers?: {
4474
+ /**
4475
+ * 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.
4476
+ */
4477
+ 'Idempotency-Key'?: string;
4478
+ };
4479
+ path: {
4480
+ id: string;
4481
+ };
4482
+ query?: {
4483
+ /**
4484
+ * `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.
4485
+ */
4486
+ delete_addresses?: 'true' | 'false';
4487
+ };
4488
+ url: '/pods/{id}';
4489
+ };
4490
+ type PodsDeleteErrors = {
4491
+ /**
4492
+ * The request is not valid. `error.field` names the input at fault when there is one.
4493
+ */
4494
+ 400: Error;
4495
+ /**
4496
+ * No API key, or one that is not valid.
4497
+ */
4498
+ 401: Error;
4499
+ /**
4500
+ * 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.
4501
+ */
4502
+ 403: Error;
4503
+ /**
4504
+ * 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”.
4505
+ */
4506
+ 404: Error;
4507
+ /**
4508
+ * 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).
4509
+ */
4510
+ 409: Error;
4511
+ /**
4512
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4513
+ */
4514
+ 429: Error;
4515
+ /**
4516
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4517
+ */
4518
+ 500: Error;
4519
+ /**
4520
+ * Something this needs is not answering right now. Retry in a moment.
4521
+ */
4522
+ 503: Error;
4523
+ /**
4524
+ * 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.
4525
+ */
4526
+ 504: Error;
4527
+ };
4528
+ type PodsDeleteError = PodsDeleteErrors[keyof PodsDeleteErrors];
4529
+ type PodsDeleteResponses = {
4530
+ /**
4531
+ * What was deleted.
4532
+ */
4533
+ 200: {
4534
+ data: PodDeleted;
4535
+ };
4536
+ };
4537
+ type PodsDeleteResponse = PodsDeleteResponses[keyof PodsDeleteResponses];
4538
+ type PodsGetData = {
4539
+ body?: never;
4540
+ path: {
4541
+ id: string;
4542
+ };
4543
+ query?: never;
4544
+ url: '/pods/{id}';
4545
+ };
4546
+ type PodsGetErrors = {
4547
+ /**
4548
+ * The request is not valid. `error.field` names the input at fault when there is one.
4549
+ */
4550
+ 400: Error;
4551
+ /**
4552
+ * No API key, or one that is not valid.
4553
+ */
4554
+ 401: Error;
4555
+ /**
4556
+ * 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.
4557
+ */
4558
+ 403: Error;
4559
+ /**
4560
+ * 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”.
4561
+ */
4562
+ 404: Error;
4563
+ /**
4564
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4565
+ */
4566
+ 409: Error;
4567
+ /**
4568
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4569
+ */
4570
+ 429: Error;
4571
+ /**
4572
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4573
+ */
4574
+ 500: Error;
4575
+ /**
4576
+ * Something this needs is not answering right now. Retry in a moment.
4577
+ */
4578
+ 503: Error;
4579
+ };
4580
+ type PodsGetError = PodsGetErrors[keyof PodsGetErrors];
4581
+ type PodsGetResponses = {
4582
+ /**
4583
+ * The pod.
4584
+ */
4585
+ 200: {
4586
+ data: Pod;
4587
+ };
4588
+ };
4589
+ type PodsGetResponse = PodsGetResponses[keyof PodsGetResponses];
4590
+ type PodsUpdateData = {
4591
+ body: {
4592
+ name?: string;
4593
+ /**
4594
+ * Your own id for this pod. Carried and returned, never parsed.
4595
+ */
4596
+ client_id?: string | null;
4597
+ };
4598
+ headers?: {
4599
+ /**
4600
+ * 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.
4601
+ */
4602
+ 'Idempotency-Key'?: string;
4603
+ };
4604
+ path: {
4605
+ id: string;
4606
+ };
4607
+ query?: never;
4608
+ url: '/pods/{id}';
4609
+ };
4610
+ type PodsUpdateErrors = {
4611
+ /**
4612
+ * The request is not valid. `error.field` names the input at fault when there is one.
4613
+ */
4614
+ 400: Error;
4615
+ /**
4616
+ * No API key, or one that is not valid.
4617
+ */
4618
+ 401: Error;
4619
+ /**
4620
+ * 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.
4621
+ */
4622
+ 403: Error;
4623
+ /**
4624
+ * 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”.
4625
+ */
4626
+ 404: Error;
4627
+ /**
4628
+ * 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).
4629
+ */
4630
+ 409: Error;
4631
+ /**
4632
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4633
+ */
4634
+ 429: Error;
4635
+ /**
4636
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4637
+ */
4638
+ 500: Error;
4639
+ /**
4640
+ * Something this needs is not answering right now. Retry in a moment.
4641
+ */
4642
+ 503: Error;
4643
+ /**
4644
+ * 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.
4645
+ */
4646
+ 504: Error;
4647
+ };
4648
+ type PodsUpdateError = PodsUpdateErrors[keyof PodsUpdateErrors];
4649
+ type PodsUpdateResponses = {
4650
+ /**
4651
+ * The pod.
4652
+ */
4653
+ 200: {
4654
+ data: Pod;
4655
+ };
4656
+ };
4657
+ type PodsUpdateResponse = PodsUpdateResponses[keyof PodsUpdateResponses];
4658
+ type LabelsListData = {
4659
+ body?: never;
4660
+ path?: never;
4661
+ query: {
4662
+ identity_id: string;
4663
+ };
4664
+ url: '/labels';
4665
+ };
4666
+ type LabelsListErrors = {
4667
+ /**
4668
+ * The request is not valid. `error.field` names the input at fault when there is one.
4669
+ */
4670
+ 400: Error;
4671
+ /**
4672
+ * No API key, or one that is not valid.
4673
+ */
4674
+ 401: Error;
4675
+ /**
4676
+ * 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.
4677
+ */
4678
+ 403: Error;
4679
+ /**
4680
+ * 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”.
4681
+ */
4682
+ 404: Error;
4683
+ /**
4684
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4685
+ */
4686
+ 409: Error;
4687
+ /**
4688
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4689
+ */
4690
+ 429: Error;
4691
+ /**
4692
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4693
+ */
4694
+ 500: Error;
4695
+ /**
4696
+ * Something this needs is not answering right now. Retry in a moment.
4697
+ */
4698
+ 503: Error;
4699
+ };
4700
+ type LabelsListError = LabelsListErrors[keyof LabelsListErrors];
4701
+ type LabelsListResponses = {
4702
+ /**
4703
+ * The labels.
4704
+ */
4705
+ 200: {
4706
+ data: Array<Label>;
4707
+ has_more: boolean;
4708
+ /**
4709
+ * Pass as `cursor` to continue. Null on the last page.
4710
+ */
4711
+ next_cursor: string | null;
4712
+ };
4713
+ };
4714
+ type LabelsListResponse = LabelsListResponses[keyof LabelsListResponses];
4715
+ type LabelsCreateData = {
4716
+ body: {
4717
+ /**
4718
+ * The address this belongs to.
4719
+ */
4720
+ identity_id: string;
4721
+ name: string;
4722
+ colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
4723
+ };
4724
+ headers?: {
4725
+ /**
4726
+ * 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.
4727
+ */
4728
+ 'Idempotency-Key'?: string;
4729
+ };
4730
+ path?: never;
4731
+ query?: never;
4732
+ url: '/labels';
4733
+ };
4734
+ type LabelsCreateErrors = {
4735
+ /**
4736
+ * The request is not valid. `error.field` names the input at fault when there is one.
4737
+ */
4738
+ 400: Error;
4739
+ /**
4740
+ * No API key, or one that is not valid.
4741
+ */
4742
+ 401: Error;
4743
+ /**
4744
+ * 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.
4745
+ */
4746
+ 403: Error;
4747
+ /**
4748
+ * 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”.
4749
+ */
4750
+ 404: Error;
4751
+ /**
4752
+ * 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).
4753
+ */
4754
+ 409: Error;
4755
+ /**
4756
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4757
+ */
4758
+ 429: Error;
4759
+ /**
4760
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4761
+ */
4762
+ 500: Error;
4763
+ /**
4764
+ * Something this needs is not answering right now. Retry in a moment.
4765
+ */
4766
+ 503: Error;
4767
+ /**
4768
+ * 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.
4769
+ */
4770
+ 504: Error;
4771
+ };
4772
+ type LabelsCreateError = LabelsCreateErrors[keyof LabelsCreateErrors];
4773
+ type LabelsCreateResponses = {
4774
+ /**
4775
+ * The label.
4776
+ */
4777
+ 201: {
4778
+ data: Label;
4779
+ };
4780
+ };
4781
+ type LabelsCreateResponse = LabelsCreateResponses[keyof LabelsCreateResponses];
4782
+ type LabelsDeleteData = {
4783
+ body?: never;
4784
+ headers?: {
4785
+ /**
4786
+ * 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.
4787
+ */
4788
+ 'Idempotency-Key'?: string;
4789
+ };
4790
+ path: {
4791
+ id: string;
4792
+ };
4793
+ query?: never;
4794
+ url: '/labels/{id}';
4795
+ };
4796
+ type LabelsDeleteErrors = {
4797
+ /**
4798
+ * The request is not valid. `error.field` names the input at fault when there is one.
4799
+ */
4800
+ 400: Error;
4801
+ /**
4802
+ * No API key, or one that is not valid.
4803
+ */
4804
+ 401: Error;
4805
+ /**
4806
+ * 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.
4807
+ */
4808
+ 403: Error;
4809
+ /**
4810
+ * 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”.
4811
+ */
4812
+ 404: Error;
4813
+ /**
4814
+ * 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).
4815
+ */
4816
+ 409: Error;
4817
+ /**
4818
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4819
+ */
4820
+ 429: Error;
4821
+ /**
4822
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4823
+ */
4824
+ 500: Error;
4825
+ /**
4826
+ * Something this needs is not answering right now. Retry in a moment.
4827
+ */
4828
+ 503: Error;
4829
+ /**
4830
+ * 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.
4831
+ */
4832
+ 504: Error;
4833
+ };
4834
+ type LabelsDeleteError = LabelsDeleteErrors[keyof LabelsDeleteErrors];
4835
+ type LabelsDeleteResponses = {
4836
+ /**
4837
+ * Deleted.
4838
+ */
4839
+ 200: {
4840
+ data: Deleted;
4841
+ };
4842
+ };
4843
+ type LabelsDeleteResponse = LabelsDeleteResponses[keyof LabelsDeleteResponses];
4844
+ type LabelsUpdateData = {
4845
+ body: {
4846
+ name?: string;
4847
+ colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
4848
+ };
4849
+ headers?: {
4850
+ /**
4851
+ * 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.
4852
+ */
4853
+ 'Idempotency-Key'?: string;
4854
+ };
4855
+ path: {
4856
+ id: string;
4857
+ };
4858
+ query?: never;
4859
+ url: '/labels/{id}';
4860
+ };
4861
+ type LabelsUpdateErrors = {
4862
+ /**
4863
+ * The request is not valid. `error.field` names the input at fault when there is one.
4864
+ */
4865
+ 400: Error;
4866
+ /**
4867
+ * No API key, or one that is not valid.
4868
+ */
4869
+ 401: Error;
4870
+ /**
4871
+ * 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.
4872
+ */
4873
+ 403: Error;
4874
+ /**
4875
+ * 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”.
4876
+ */
4877
+ 404: Error;
4878
+ /**
4879
+ * 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).
4880
+ */
4881
+ 409: Error;
4882
+ /**
4883
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4884
+ */
4885
+ 429: Error;
4886
+ /**
4887
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4888
+ */
4889
+ 500: Error;
4890
+ /**
4891
+ * Something this needs is not answering right now. Retry in a moment.
4892
+ */
4893
+ 503: Error;
4894
+ /**
4895
+ * 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.
4896
+ */
4897
+ 504: Error;
4898
+ };
4899
+ type LabelsUpdateError = LabelsUpdateErrors[keyof LabelsUpdateErrors];
4900
+ type LabelsUpdateResponses = {
4901
+ /**
4902
+ * The label.
4903
+ */
4904
+ 200: {
4905
+ data: Label;
4906
+ };
4907
+ };
4908
+ type LabelsUpdateResponse = LabelsUpdateResponses[keyof LabelsUpdateResponses];
4909
+ type ContactsListData = {
4116
4910
  body?: never;
4117
- headers?: {
4911
+ path?: never;
4912
+ query?: {
4118
4913
  /**
4119
- * 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.
4914
+ * Only the contacts of this address.
4120
4915
  */
4121
- 'Idempotency-Key'?: string;
4122
- };
4123
- path: {
4124
- id: string;
4125
- };
4126
- query?: {
4916
+ identity_id?: string;
4127
4917
  /**
4128
- * `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.
4918
+ * Part of a name or an address: `priya`, `@acme.com`.
4129
4919
  */
4130
- delete_addresses?: 'true' | 'false';
4920
+ search?: string;
4921
+ limit?: number;
4922
+ /**
4923
+ * From a previous page’s `next_cursor`. Opaque — do not parse it.
4924
+ */
4925
+ cursor?: string;
4131
4926
  };
4132
- url: '/pods/{id}';
4927
+ url: '/contacts';
4133
4928
  };
4134
- type PodsDeleteErrors = {
4929
+ type ContactsListErrors = {
4135
4930
  /**
4136
4931
  * The request is not valid. `error.field` names the input at fault when there is one.
4137
4932
  */
@@ -4149,7 +4944,7 @@ type PodsDeleteErrors = {
4149
4944
  */
4150
4945
  404: Error;
4151
4946
  /**
4152
- * 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).
4947
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4153
4948
  */
4154
4949
  409: Error;
4155
4950
  /**
@@ -4164,30 +4959,50 @@ type PodsDeleteErrors = {
4164
4959
  * Something this needs is not answering right now. Retry in a moment.
4165
4960
  */
4166
4961
  503: Error;
4167
- /**
4168
- * 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.
4169
- */
4170
- 504: Error;
4171
4962
  };
4172
- type PodsDeleteError = PodsDeleteErrors[keyof PodsDeleteErrors];
4173
- type PodsDeleteResponses = {
4963
+ type ContactsListError = ContactsListErrors[keyof ContactsListErrors];
4964
+ type ContactsListResponses = {
4174
4965
  /**
4175
- * What was deleted.
4966
+ * The contacts.
4176
4967
  */
4177
4968
  200: {
4178
- data: PodDeleted;
4969
+ data: Array<Contact>;
4970
+ has_more: boolean;
4971
+ /**
4972
+ * Pass as `cursor` to continue. Null on the last page.
4973
+ */
4974
+ next_cursor: string | null;
4179
4975
  };
4180
4976
  };
4181
- type PodsDeleteResponse = PodsDeleteResponses[keyof PodsDeleteResponses];
4182
- type PodsGetData = {
4183
- body?: never;
4184
- path: {
4185
- id: string;
4977
+ type ContactsListResponse = ContactsListResponses[keyof ContactsListResponses];
4978
+ type ContactsCreateData = {
4979
+ body: {
4980
+ /**
4981
+ * The address whose contact this is.
4982
+ */
4983
+ identity_id: string;
4984
+ email: string;
4985
+ name?: string | null;
4986
+ /**
4987
+ * A person, or another agent.
4988
+ */
4989
+ kind?: 'human' | 'agent';
4990
+ /**
4991
+ * Anything worth remembering about them. Up to 5,000 characters.
4992
+ */
4993
+ notes?: string | null;
4994
+ };
4995
+ headers?: {
4996
+ /**
4997
+ * 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.
4998
+ */
4999
+ 'Idempotency-Key'?: string;
4186
5000
  };
5001
+ path?: never;
4187
5002
  query?: never;
4188
- url: '/pods/{id}';
5003
+ url: '/contacts';
4189
5004
  };
4190
- type PodsGetErrors = {
5005
+ type ContactsCreateErrors = {
4191
5006
  /**
4192
5007
  * The request is not valid. `error.field` names the input at fault when there is one.
4193
5008
  */
@@ -4205,7 +5020,7 @@ type PodsGetErrors = {
4205
5020
  */
4206
5021
  404: Error;
4207
5022
  /**
4208
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
5023
+ * 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).
4209
5024
  */
4210
5025
  409: Error;
4211
5026
  /**
@@ -4220,25 +5035,23 @@ type PodsGetErrors = {
4220
5035
  * Something this needs is not answering right now. Retry in a moment.
4221
5036
  */
4222
5037
  503: Error;
5038
+ /**
5039
+ * 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.
5040
+ */
5041
+ 504: Error;
4223
5042
  };
4224
- type PodsGetError = PodsGetErrors[keyof PodsGetErrors];
4225
- type PodsGetResponses = {
5043
+ type ContactsCreateError = ContactsCreateErrors[keyof ContactsCreateErrors];
5044
+ type ContactsCreateResponses = {
4226
5045
  /**
4227
- * The pod.
5046
+ * The contact.
4228
5047
  */
4229
- 200: {
4230
- data: Pod;
5048
+ 201: {
5049
+ data: Contact;
4231
5050
  };
4232
5051
  };
4233
- type PodsGetResponse = PodsGetResponses[keyof PodsGetResponses];
4234
- type PodsUpdateData = {
4235
- body: {
4236
- name?: string;
4237
- /**
4238
- * Your own id for this pod. Carried and returned, never parsed.
4239
- */
4240
- client_id?: string | null;
4241
- };
5052
+ type ContactsCreateResponse = ContactsCreateResponses[keyof ContactsCreateResponses];
5053
+ type ContactsDeleteData = {
5054
+ body?: never;
4242
5055
  headers?: {
4243
5056
  /**
4244
5057
  * 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.
@@ -4249,9 +5062,9 @@ type PodsUpdateData = {
4249
5062
  id: string;
4250
5063
  };
4251
5064
  query?: never;
4252
- url: '/pods/{id}';
5065
+ url: '/contacts/{id}';
4253
5066
  };
4254
- type PodsUpdateErrors = {
5067
+ type ContactsDeleteErrors = {
4255
5068
  /**
4256
5069
  * The request is not valid. `error.field` names the input at fault when there is one.
4257
5070
  */
@@ -4289,25 +5102,25 @@ type PodsUpdateErrors = {
4289
5102
  */
4290
5103
  504: Error;
4291
5104
  };
4292
- type PodsUpdateError = PodsUpdateErrors[keyof PodsUpdateErrors];
4293
- type PodsUpdateResponses = {
5105
+ type ContactsDeleteError = ContactsDeleteErrors[keyof ContactsDeleteErrors];
5106
+ type ContactsDeleteResponses = {
4294
5107
  /**
4295
- * The pod.
5108
+ * Deleted.
4296
5109
  */
4297
5110
  200: {
4298
- data: Pod;
5111
+ data: Deleted;
4299
5112
  };
4300
5113
  };
4301
- type PodsUpdateResponse = PodsUpdateResponses[keyof PodsUpdateResponses];
4302
- type LabelsListData = {
5114
+ type ContactsDeleteResponse = ContactsDeleteResponses[keyof ContactsDeleteResponses];
5115
+ type ContactsGetData = {
4303
5116
  body?: never;
4304
- path?: never;
4305
- query: {
4306
- identity_id: string;
5117
+ path: {
5118
+ id: string;
4307
5119
  };
4308
- url: '/labels';
5120
+ query?: never;
5121
+ url: '/contacts/{id}';
4309
5122
  };
4310
- type LabelsListErrors = {
5123
+ type ContactsGetErrors = {
4311
5124
  /**
4312
5125
  * The request is not valid. `error.field` names the input at fault when there is one.
4313
5126
  */
@@ -4341,29 +5154,32 @@ type LabelsListErrors = {
4341
5154
  */
4342
5155
  503: Error;
4343
5156
  };
4344
- type LabelsListError = LabelsListErrors[keyof LabelsListErrors];
4345
- type LabelsListResponses = {
5157
+ type ContactsGetError = ContactsGetErrors[keyof ContactsGetErrors];
5158
+ type ContactsGetResponses = {
4346
5159
  /**
4347
- * The labels.
5160
+ * The contact.
4348
5161
  */
4349
5162
  200: {
4350
- data: Array<Label>;
4351
- has_more: boolean;
4352
- /**
4353
- * Pass as `cursor` to continue. Null on the last page.
4354
- */
4355
- next_cursor: string | null;
5163
+ data: Contact;
4356
5164
  };
4357
5165
  };
4358
- type LabelsListResponse = LabelsListResponses[keyof LabelsListResponses];
4359
- type LabelsCreateData = {
5166
+ type ContactsGetResponse = ContactsGetResponses[keyof ContactsGetResponses];
5167
+ type ContactsUpdateData = {
4360
5168
  body: {
5169
+ email?: string;
5170
+ name?: string | null;
4361
5171
  /**
4362
- * The address this belongs to.
5172
+ * A person, or another agent.
4363
5173
  */
4364
- identity_id: string;
4365
- name: string;
4366
- colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
5174
+ kind?: 'human' | 'agent';
5175
+ /**
5176
+ * Anything worth remembering about them. Up to 5,000 characters.
5177
+ */
5178
+ notes?: string | null;
5179
+ /**
5180
+ * Until when their new mail arrives snoozed, ISO 8601, a year ahead at most. `null` unmutes.
5181
+ */
5182
+ snoozed_until?: string | null;
4367
5183
  };
4368
5184
  headers?: {
4369
5185
  /**
@@ -4371,11 +5187,13 @@ type LabelsCreateData = {
4371
5187
  */
4372
5188
  'Idempotency-Key'?: string;
4373
5189
  };
4374
- path?: never;
5190
+ path: {
5191
+ id: string;
5192
+ };
4375
5193
  query?: never;
4376
- url: '/labels';
5194
+ url: '/contacts/{id}';
4377
5195
  };
4378
- type LabelsCreateErrors = {
5196
+ type ContactsUpdateErrors = {
4379
5197
  /**
4380
5198
  * The request is not valid. `error.field` names the input at fault when there is one.
4381
5199
  */
@@ -4413,17 +5231,17 @@ type LabelsCreateErrors = {
4413
5231
  */
4414
5232
  504: Error;
4415
5233
  };
4416
- type LabelsCreateError = LabelsCreateErrors[keyof LabelsCreateErrors];
4417
- type LabelsCreateResponses = {
5234
+ type ContactsUpdateError = ContactsUpdateErrors[keyof ContactsUpdateErrors];
5235
+ type ContactsUpdateResponses = {
4418
5236
  /**
4419
- * The label.
5237
+ * The contact.
4420
5238
  */
4421
- 201: {
4422
- data: Label;
5239
+ 200: {
5240
+ data: Contact;
4423
5241
  };
4424
5242
  };
4425
- type LabelsCreateResponse = LabelsCreateResponses[keyof LabelsCreateResponses];
4426
- type LabelsDeleteData = {
5243
+ type ContactsUpdateResponse = ContactsUpdateResponses[keyof ContactsUpdateResponses];
5244
+ type ContactsUnblockData = {
4427
5245
  body?: never;
4428
5246
  headers?: {
4429
5247
  /**
@@ -4435,9 +5253,9 @@ type LabelsDeleteData = {
4435
5253
  id: string;
4436
5254
  };
4437
5255
  query?: never;
4438
- url: '/labels/{id}';
5256
+ url: '/contacts/{id}/block';
4439
5257
  };
4440
- type LabelsDeleteErrors = {
5258
+ type ContactsUnblockErrors = {
4441
5259
  /**
4442
5260
  * The request is not valid. `error.field` names the input at fault when there is one.
4443
5261
  */
@@ -4475,21 +5293,18 @@ type LabelsDeleteErrors = {
4475
5293
  */
4476
5294
  504: Error;
4477
5295
  };
4478
- type LabelsDeleteError = LabelsDeleteErrors[keyof LabelsDeleteErrors];
4479
- type LabelsDeleteResponses = {
5296
+ type ContactsUnblockError = ContactsUnblockErrors[keyof ContactsUnblockErrors];
5297
+ type ContactsUnblockResponses = {
4480
5298
  /**
4481
- * Deleted.
5299
+ * The contact.
4482
5300
  */
4483
5301
  200: {
4484
- data: Deleted;
5302
+ data: Contact;
4485
5303
  };
4486
5304
  };
4487
- type LabelsDeleteResponse = LabelsDeleteResponses[keyof LabelsDeleteResponses];
4488
- type LabelsUpdateData = {
4489
- body: {
4490
- name?: string;
4491
- colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
4492
- };
5305
+ type ContactsUnblockResponse = ContactsUnblockResponses[keyof ContactsUnblockResponses];
5306
+ type ContactsBlockData = {
5307
+ body?: never;
4493
5308
  headers?: {
4494
5309
  /**
4495
5310
  * 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.
@@ -4500,9 +5315,9 @@ type LabelsUpdateData = {
4500
5315
  id: string;
4501
5316
  };
4502
5317
  query?: never;
4503
- url: '/labels/{id}';
5318
+ url: '/contacts/{id}/block';
4504
5319
  };
4505
- type LabelsUpdateErrors = {
5320
+ type ContactsBlockErrors = {
4506
5321
  /**
4507
5322
  * The request is not valid. `error.field` names the input at fault when there is one.
4508
5323
  */
@@ -4540,16 +5355,16 @@ type LabelsUpdateErrors = {
4540
5355
  */
4541
5356
  504: Error;
4542
5357
  };
4543
- type LabelsUpdateError = LabelsUpdateErrors[keyof LabelsUpdateErrors];
4544
- type LabelsUpdateResponses = {
5358
+ type ContactsBlockError = ContactsBlockErrors[keyof ContactsBlockErrors];
5359
+ type ContactsBlockResponses = {
4545
5360
  /**
4546
- * The label.
5361
+ * The contact.
4547
5362
  */
4548
5363
  200: {
4549
- data: Label;
5364
+ data: Contact;
4550
5365
  };
4551
5366
  };
4552
- type LabelsUpdateResponse = LabelsUpdateResponses[keyof LabelsUpdateResponses];
5367
+ type ContactsBlockResponse = ContactsBlockResponses[keyof ContactsBlockResponses];
4553
5368
  type ThreadsLabelsDeleteData = {
4554
5369
  body?: never;
4555
5370
  headers?: {
@@ -9206,6 +10021,89 @@ type CalendarGetAgendaResponses = {
9206
10021
  };
9207
10022
  };
9208
10023
  type CalendarGetAgendaResponse = CalendarGetAgendaResponses[keyof CalendarGetAgendaResponses];
10024
+ type CalendarFreeTimeData = {
10025
+ body?: never;
10026
+ path?: never;
10027
+ query: {
10028
+ /**
10029
+ * The addresses that must all be free, comma-separated ids. Up to 10.
10030
+ */
10031
+ identity_ids: string;
10032
+ /**
10033
+ * Default now.
10034
+ */
10035
+ after?: string;
10036
+ /**
10037
+ * Default a week after `after`; 31 days after it at most.
10038
+ */
10039
+ before?: string;
10040
+ /**
10041
+ * The shortest slot worth returning. Default 30.
10042
+ */
10043
+ duration_minutes?: number;
10044
+ /**
10045
+ * Only from this wall time each day, like `09:00`.
10046
+ */
10047
+ day_start?: string;
10048
+ /**
10049
+ * Only until this wall time each day, like `17:30`.
10050
+ */
10051
+ day_end?: string;
10052
+ /**
10053
+ * The zone `day_start`, `day_end` and the local times are in. Default the first address’s calendar zone.
10054
+ */
10055
+ timezone?: string;
10056
+ /**
10057
+ * Leave out Saturdays and Sundays in that zone.
10058
+ */
10059
+ skip_weekends?: 'true' | 'false';
10060
+ };
10061
+ url: '/calendar/free-time';
10062
+ };
10063
+ type CalendarFreeTimeErrors = {
10064
+ /**
10065
+ * The request is not valid. `error.field` names the input at fault when there is one.
10066
+ */
10067
+ 400: Error;
10068
+ /**
10069
+ * No API key, or one that is not valid.
10070
+ */
10071
+ 401: Error;
10072
+ /**
10073
+ * 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.
10074
+ */
10075
+ 403: Error;
10076
+ /**
10077
+ * 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”.
10078
+ */
10079
+ 404: Error;
10080
+ /**
10081
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
10082
+ */
10083
+ 409: Error;
10084
+ /**
10085
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
10086
+ */
10087
+ 429: Error;
10088
+ /**
10089
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
10090
+ */
10091
+ 500: Error;
10092
+ /**
10093
+ * Something this needs is not answering right now. Retry in a moment.
10094
+ */
10095
+ 503: Error;
10096
+ };
10097
+ type CalendarFreeTimeError = CalendarFreeTimeErrors[keyof CalendarFreeTimeErrors];
10098
+ type CalendarFreeTimeResponses = {
10099
+ /**
10100
+ * The free time.
10101
+ */
10102
+ 200: {
10103
+ data: FreeTime;
10104
+ };
10105
+ };
10106
+ type CalendarFreeTimeResponse = CalendarFreeTimeResponses[keyof CalendarFreeTimeResponses];
9209
10107
  type CalendarDeleteEventData = {
9210
10108
  body?: never;
9211
10109
  headers?: {
@@ -10522,6 +11420,18 @@ declare const agentAttachHuman: <ThrowOnError extends boolean = false>(options:
10522
11420
  * Creates the account, the address and a workspace-scoped API key. Ten wrong codes spend the signup, whatever comes next. The key is returned once and never again — store it before doing anything else. It is minted here rather than at signup because this is the call a human has vouched for.
10523
11421
  */
10524
11422
  declare const agentVerify: <ThrowOnError extends boolean = false>(options: Options<AgentVerifyData, ThrowOnError>) => RequestResult<AgentVerifyResponses, AgentVerifyErrors, ThrowOnError>;
11423
+ /**
11424
+ * Read an agent card
11425
+ *
11426
+ * Public, with no key. An agent or service address’s identity, signed by the domain that vouches for it: `jws` is a compact JWS (EdDSA) to check against the keys at `<iss>/.well-known/post.json`, and `card` is its payload, decoded for reading. Good for a day (`exp`). The URL is permanent, and every agent message names it in its signed `Agent-attribution`. Anything that has no card — a person’s address, a deleted one, an id that is nothing — answers the same 404. Limited per IP.
11427
+ */
11428
+ declare const cardsGet: <ThrowOnError extends boolean = false>(options: Options<CardsGetData, ThrowOnError>) => RequestResult<CardsGetResponses, CardsGetErrors, ThrowOnError>;
11429
+ /**
11430
+ * Check who sent a message
11431
+ *
11432
+ * 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. Nothing sent is stored. Limited per IP; a key may be sent and is not required.
11433
+ */
11434
+ declare const verifySender: <ThrowOnError extends boolean = false>(options: Options<VerifySenderData, ThrowOnError>) => RequestResult<VerifySenderResponses, VerifySenderErrors, ThrowOnError>;
10525
11435
  /**
10526
11436
  * Connect an agent with a setup code
10527
11437
  *
@@ -10562,6 +11472,12 @@ declare const identitiesGet: <ThrowOnError extends boolean = false>(options: Opt
10562
11472
  * Update an address
10563
11473
  */
10564
11474
  declare const identitiesUpdate: <ThrowOnError extends boolean = false>(options: Options<IdentitiesUpdateData, ThrowOnError>) => RequestResult<IdentitiesUpdateResponses, IdentitiesUpdateErrors, ThrowOnError>;
11475
+ /**
11476
+ * This address’s agent card
11477
+ *
11478
+ * The signed card for an agent or service address: who it is, for whom, which keys sign its mail, and a coarse standing. The same document anyone can read without a key at `GET /cards/{id}`. A person’s address has no card and answers 404.
11479
+ */
11480
+ declare const identitiesCard: <ThrowOnError extends boolean = false>(options: Options<IdentitiesCardData, ThrowOnError>) => RequestResult<IdentitiesCardResponses, IdentitiesCardErrors, ThrowOnError>;
10565
11481
  /**
10566
11482
  * Revoke access
10567
11483
  *
@@ -10686,6 +11602,46 @@ declare const labelsDelete: <ThrowOnError extends boolean = false>(options: Opti
10686
11602
  * A body with neither `name` nor `colour` is refused.
10687
11603
  */
10688
11604
  declare const labelsUpdate: <ThrowOnError extends boolean = false>(options: Options<LabelsUpdateData, ThrowOnError>) => RequestResult<LabelsUpdateResponses, LabelsUpdateErrors, ThrowOnError>;
11605
+ /**
11606
+ * Find contacts
11607
+ *
11608
+ * The people and agents your addresses correspond with, most recent first: noted from the mail as it comes and goes, and editable. A contact belongs to one address, so the same person on two addresses is two contacts. `search` matches part of a name or an address. Only the addresses this key reads are listed; naming one it cannot read lists nothing. Pages through `next_cursor`.
11609
+ */
11610
+ declare const contactsList: <ThrowOnError extends boolean = false>(options?: Options<ContactsListData, ThrowOnError>) => RequestResult<ContactsListResponses, ContactsListErrors, ThrowOnError>;
11611
+ /**
11612
+ * Add a contact
11613
+ *
11614
+ * Somebody this address has not corresponded with yet. Needs `draft` on the address. One of the workspace’s own addresses is refused, and an address already a contact here is a 409.
11615
+ */
11616
+ declare const contactsCreate: <ThrowOnError extends boolean = false>(options: Options<ContactsCreateData, ThrowOnError>) => RequestResult<ContactsCreateResponses, ContactsCreateErrors, ThrowOnError>;
11617
+ /**
11618
+ * Forget a contact
11619
+ *
11620
+ * The contact goes; the mail stays. Their next message notes them again, so this is not a block.
11621
+ */
11622
+ declare const contactsDelete: <ThrowOnError extends boolean = false>(options: Options<ContactsDeleteData, ThrowOnError>) => RequestResult<ContactsDeleteResponses, ContactsDeleteErrors, ThrowOnError>;
11623
+ /**
11624
+ * One contact
11625
+ */
11626
+ declare const contactsGet: <ThrowOnError extends boolean = false>(options: Options<ContactsGetData, ThrowOnError>) => RequestResult<ContactsGetResponses, ContactsGetErrors, ThrowOnError>;
11627
+ /**
11628
+ * Change or mute a contact
11629
+ *
11630
+ * The fields you send, leaving the rest. `snoozed_until` mutes them: their new mail arrives snoozed until then and comes back to the inbox on its own. `null` unmutes. Needs `draft` on the address.
11631
+ */
11632
+ declare const contactsUpdate: <ThrowOnError extends boolean = false>(options: Options<ContactsUpdateData, ThrowOnError>) => RequestResult<ContactsUpdateResponses, ContactsUpdateErrors, ThrowOnError>;
11633
+ /**
11634
+ * Unblock a contact
11635
+ *
11636
+ * Removes the block this address has on them. A block from a wider rule, on their domain or the whole workspace, stays: `blocked` is then `rule`, and it is changed on Rules.
11637
+ */
11638
+ declare const contactsUnblock: <ThrowOnError extends boolean = false>(options: Options<ContactsUnblockData, ThrowOnError>) => RequestResult<ContactsUnblockResponses, ContactsUnblockErrors, ThrowOnError>;
11639
+ /**
11640
+ * Block a contact
11641
+ *
11642
+ * Their mail to this address goes to spam from now on: a sender rule on this address, which Rules lists. Spam rather than rejected, so a mistake is a folder away. Their mail to your other addresses is unchanged.
11643
+ */
11644
+ declare const contactsBlock: <ThrowOnError extends boolean = false>(options: Options<ContactsBlockData, ThrowOnError>) => RequestResult<ContactsBlockResponses, ContactsBlockErrors, ThrowOnError>;
10689
11645
  /**
10690
11646
  * Remove a label
10691
11647
  *
@@ -11116,6 +12072,12 @@ declare const calendarListEventInstances: <ThrowOnError extends boolean = false>
11116
12072
  * `include_overlapping` defaults to true, which is the difference between *what starts today* and *what is on today*: a meeting that began last night and runs into this morning is on today, and a naive `starts_at between` misses it. Cancelled events are left out — an agenda is what you are doing.
11117
12073
  */
11118
12074
  declare const calendarGetAgenda: <ThrowOnError extends boolean = false>(options: Options<CalendarGetAgendaData, ThrowOnError>) => RequestResult<CalendarGetAgendaResponses, CalendarGetAgendaErrors, ThrowOnError>;
12075
+ /**
12076
+ * When several addresses are all free
12077
+ *
12078
+ * The stretches in a window when every address in `identity_ids` is free, at least `duration_minutes` long. Busy is a timed event that is not cancelled and that the address has not declined; tentative counts as busy, all-day events do not. `day_start` and `day_end` limit it to working hours, read in `timezone` (the first address’s calendar zone by default), and each slot carries its wall times in that zone too. Needs `read` on every address. It books nothing.
12079
+ */
12080
+ declare const calendarFreeTime: <ThrowOnError extends boolean = false>(options: Options<CalendarFreeTimeData, ThrowOnError>) => RequestResult<CalendarFreeTimeResponses, CalendarFreeTimeErrors, ThrowOnError>;
11119
12081
  /**
11120
12082
  * Take it off the calendar
11121
12083
  *
@@ -11348,4 +12310,4 @@ interface StreamOptions {
11348
12310
  */
11349
12311
  declare function streamEvents(options: StreamOptions): AsyncGenerator<StreamedEvent>;
11350
12312
 
11351
- export { type Address, type AgentAttachHumanData, type AgentAttachHumanError, type AgentAttachHumanErrors, type AgentAttachHumanResponse, type AgentAttachHumanResponses, 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 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 ClientOptions, 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 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 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 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 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 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, calendarGet, calendarGetAgenda, calendarGetEvent, calendarListEventInstances, calendarListEvents, calendarRespondToEvent, calendarUpdate, calendarUpdateEvent, client, 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, identitiesCreate, identitiesDelete, identitiesGet, identitiesList, identitiesReceiveRulesCreate, identitiesReceiveRulesDelete, identitiesReceiveRulesGet, identitiesSendRulesCreate, identitiesSendRulesDelete, identitiesSendRulesGet, identitiesSuspendTenant, identitiesUpdate, keysCreate, keysGet, keysList, keysRevoke, keysRotate, keysUpdate, labelsCreate, labelsDelete, labelsList, labelsUpdate, 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, verifyWebhook, webhooksCreate, webhooksDelete, webhooksDeliveries, webhooksGet, webhooksGetHeaders, webhooksList, webhooksReplay, webhooksUpdate, webhooksUpdateHeaders, workspaceGet, workspaceMembers };
12313
+ 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 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 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, 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 };