@pidgeon-ai/sdk 1.55.1 → 1.57.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
@@ -2579,6 +2579,80 @@ type Label = {
2579
2579
  */
2580
2580
  created_at: string;
2581
2581
  };
2582
+ type Contact = {
2583
+ id: string;
2584
+ /**
2585
+ * The address this is a contact of.
2586
+ */
2587
+ identity_id: string;
2588
+ /**
2589
+ * That address, as an email.
2590
+ */
2591
+ inbox: string;
2592
+ email: string;
2593
+ name: string | null;
2594
+ avatar_url: string | null;
2595
+ kind: 'human' | 'agent';
2596
+ notes: string | null;
2597
+ /**
2598
+ * While muted: until when their new mail arrives snoozed. Null otherwise.
2599
+ */
2600
+ snoozed_until: string | null;
2601
+ /**
2602
+ * 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.
2603
+ */
2604
+ blocked: 'contact' | 'rule' | null;
2605
+ /**
2606
+ * The last mail between them and this address.
2607
+ */
2608
+ last_seen_at: string | null;
2609
+ /**
2610
+ * ISO-8601, UTC.
2611
+ */
2612
+ created_at: string;
2613
+ };
2614
+ type FreeTime = {
2615
+ /**
2616
+ * The zone `local_start` and `local_end` are in.
2617
+ */
2618
+ timezone: string;
2619
+ duration_minutes: number;
2620
+ /**
2621
+ * Every stretch at least `duration_minutes` long when all of them are free, in order. Whole stretches, not cut into meetings.
2622
+ */
2623
+ slots: Array<{
2624
+ /**
2625
+ * ISO-8601, UTC.
2626
+ */
2627
+ start: string;
2628
+ /**
2629
+ * ISO-8601, UTC.
2630
+ */
2631
+ end: string;
2632
+ /**
2633
+ * `start` as a wall time in `timezone`, no offset.
2634
+ */
2635
+ local_start: string;
2636
+ /**
2637
+ * `end` as a wall time in `timezone`, no offset.
2638
+ */
2639
+ local_end: string;
2640
+ }>;
2641
+ /**
2642
+ * What each address has on in the window, merged; no titles.
2643
+ */
2644
+ busy: Array<{
2645
+ identity_id: string;
2646
+ /**
2647
+ * ISO-8601, UTC.
2648
+ */
2649
+ start: string;
2650
+ /**
2651
+ * ISO-8601, UTC.
2652
+ */
2653
+ end: string;
2654
+ }>;
2655
+ };
2582
2656
  type LabelRemoved = {
2583
2657
  thread_id: string;
2584
2658
  label_id: string;
@@ -4098,40 +4172,479 @@ type PodsCreateErrors = {
4098
4172
  */
4099
4173
  504: Error;
4100
4174
  };
4101
- type PodsCreateError = PodsCreateErrors[keyof PodsCreateErrors];
4102
- type PodsCreateResponses = {
4175
+ type PodsCreateError = PodsCreateErrors[keyof PodsCreateErrors];
4176
+ type PodsCreateResponses = {
4177
+ /**
4178
+ * The pod, with its address and key.
4179
+ */
4180
+ 201: {
4181
+ data: PodCreated;
4182
+ /**
4183
+ * Present only when the request used something deprecated: what it left out and the date it stops working. Answered with `Deprecation` and `Sunset` headers too.
4184
+ */
4185
+ warnings?: Array<Warning>;
4186
+ };
4187
+ };
4188
+ type PodsCreateResponse = PodsCreateResponses[keyof PodsCreateResponses];
4189
+ type PodsDeleteData = {
4190
+ body?: never;
4191
+ headers?: {
4192
+ /**
4193
+ * 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.
4194
+ */
4195
+ 'Idempotency-Key'?: string;
4196
+ };
4197
+ path: {
4198
+ id: string;
4199
+ };
4200
+ query?: {
4201
+ /**
4202
+ * `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.
4203
+ */
4204
+ delete_addresses?: 'true' | 'false';
4205
+ };
4206
+ url: '/pods/{id}';
4207
+ };
4208
+ type PodsDeleteErrors = {
4209
+ /**
4210
+ * The request is not valid. `error.field` names the input at fault when there is one.
4211
+ */
4212
+ 400: Error;
4213
+ /**
4214
+ * No API key, or one that is not valid.
4215
+ */
4216
+ 401: Error;
4217
+ /**
4218
+ * 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.
4219
+ */
4220
+ 403: Error;
4221
+ /**
4222
+ * 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”.
4223
+ */
4224
+ 404: Error;
4225
+ /**
4226
+ * 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).
4227
+ */
4228
+ 409: Error;
4229
+ /**
4230
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4231
+ */
4232
+ 429: Error;
4233
+ /**
4234
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4235
+ */
4236
+ 500: Error;
4237
+ /**
4238
+ * Something this needs is not answering right now. Retry in a moment.
4239
+ */
4240
+ 503: Error;
4241
+ /**
4242
+ * 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.
4243
+ */
4244
+ 504: Error;
4245
+ };
4246
+ type PodsDeleteError = PodsDeleteErrors[keyof PodsDeleteErrors];
4247
+ type PodsDeleteResponses = {
4248
+ /**
4249
+ * What was deleted.
4250
+ */
4251
+ 200: {
4252
+ data: PodDeleted;
4253
+ };
4254
+ };
4255
+ type PodsDeleteResponse = PodsDeleteResponses[keyof PodsDeleteResponses];
4256
+ type PodsGetData = {
4257
+ body?: never;
4258
+ path: {
4259
+ id: string;
4260
+ };
4261
+ query?: never;
4262
+ url: '/pods/{id}';
4263
+ };
4264
+ type PodsGetErrors = {
4265
+ /**
4266
+ * The request is not valid. `error.field` names the input at fault when there is one.
4267
+ */
4268
+ 400: Error;
4269
+ /**
4270
+ * No API key, or one that is not valid.
4271
+ */
4272
+ 401: Error;
4273
+ /**
4274
+ * 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.
4275
+ */
4276
+ 403: Error;
4277
+ /**
4278
+ * 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”.
4279
+ */
4280
+ 404: Error;
4281
+ /**
4282
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4283
+ */
4284
+ 409: Error;
4285
+ /**
4286
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4287
+ */
4288
+ 429: Error;
4289
+ /**
4290
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4291
+ */
4292
+ 500: Error;
4293
+ /**
4294
+ * Something this needs is not answering right now. Retry in a moment.
4295
+ */
4296
+ 503: Error;
4297
+ };
4298
+ type PodsGetError = PodsGetErrors[keyof PodsGetErrors];
4299
+ type PodsGetResponses = {
4300
+ /**
4301
+ * The pod.
4302
+ */
4303
+ 200: {
4304
+ data: Pod;
4305
+ };
4306
+ };
4307
+ type PodsGetResponse = PodsGetResponses[keyof PodsGetResponses];
4308
+ type PodsUpdateData = {
4309
+ body: {
4310
+ name?: string;
4311
+ /**
4312
+ * Your own id for this pod. Carried and returned, never parsed.
4313
+ */
4314
+ client_id?: string | null;
4315
+ };
4316
+ headers?: {
4317
+ /**
4318
+ * 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.
4319
+ */
4320
+ 'Idempotency-Key'?: string;
4321
+ };
4322
+ path: {
4323
+ id: string;
4324
+ };
4325
+ query?: never;
4326
+ url: '/pods/{id}';
4327
+ };
4328
+ type PodsUpdateErrors = {
4329
+ /**
4330
+ * The request is not valid. `error.field` names the input at fault when there is one.
4331
+ */
4332
+ 400: Error;
4333
+ /**
4334
+ * No API key, or one that is not valid.
4335
+ */
4336
+ 401: Error;
4337
+ /**
4338
+ * 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.
4339
+ */
4340
+ 403: Error;
4341
+ /**
4342
+ * 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”.
4343
+ */
4344
+ 404: Error;
4345
+ /**
4346
+ * 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).
4347
+ */
4348
+ 409: Error;
4349
+ /**
4350
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4351
+ */
4352
+ 429: Error;
4353
+ /**
4354
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4355
+ */
4356
+ 500: Error;
4357
+ /**
4358
+ * Something this needs is not answering right now. Retry in a moment.
4359
+ */
4360
+ 503: Error;
4361
+ /**
4362
+ * 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.
4363
+ */
4364
+ 504: Error;
4365
+ };
4366
+ type PodsUpdateError = PodsUpdateErrors[keyof PodsUpdateErrors];
4367
+ type PodsUpdateResponses = {
4368
+ /**
4369
+ * The pod.
4370
+ */
4371
+ 200: {
4372
+ data: Pod;
4373
+ };
4374
+ };
4375
+ type PodsUpdateResponse = PodsUpdateResponses[keyof PodsUpdateResponses];
4376
+ type LabelsListData = {
4377
+ body?: never;
4378
+ path?: never;
4379
+ query: {
4380
+ identity_id: string;
4381
+ };
4382
+ url: '/labels';
4383
+ };
4384
+ type LabelsListErrors = {
4385
+ /**
4386
+ * The request is not valid. `error.field` names the input at fault when there is one.
4387
+ */
4388
+ 400: Error;
4389
+ /**
4390
+ * No API key, or one that is not valid.
4391
+ */
4392
+ 401: Error;
4393
+ /**
4394
+ * 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.
4395
+ */
4396
+ 403: Error;
4397
+ /**
4398
+ * 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”.
4399
+ */
4400
+ 404: Error;
4401
+ /**
4402
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4403
+ */
4404
+ 409: Error;
4405
+ /**
4406
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4407
+ */
4408
+ 429: Error;
4409
+ /**
4410
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4411
+ */
4412
+ 500: Error;
4413
+ /**
4414
+ * Something this needs is not answering right now. Retry in a moment.
4415
+ */
4416
+ 503: Error;
4417
+ };
4418
+ type LabelsListError = LabelsListErrors[keyof LabelsListErrors];
4419
+ type LabelsListResponses = {
4420
+ /**
4421
+ * The labels.
4422
+ */
4423
+ 200: {
4424
+ data: Array<Label>;
4425
+ has_more: boolean;
4426
+ /**
4427
+ * Pass as `cursor` to continue. Null on the last page.
4428
+ */
4429
+ next_cursor: string | null;
4430
+ };
4431
+ };
4432
+ type LabelsListResponse = LabelsListResponses[keyof LabelsListResponses];
4433
+ type LabelsCreateData = {
4434
+ body: {
4435
+ /**
4436
+ * The address this belongs to.
4437
+ */
4438
+ identity_id: string;
4439
+ name: string;
4440
+ colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
4441
+ };
4442
+ headers?: {
4443
+ /**
4444
+ * 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.
4445
+ */
4446
+ 'Idempotency-Key'?: string;
4447
+ };
4448
+ path?: never;
4449
+ query?: never;
4450
+ url: '/labels';
4451
+ };
4452
+ type LabelsCreateErrors = {
4453
+ /**
4454
+ * The request is not valid. `error.field` names the input at fault when there is one.
4455
+ */
4456
+ 400: Error;
4457
+ /**
4458
+ * No API key, or one that is not valid.
4459
+ */
4460
+ 401: Error;
4461
+ /**
4462
+ * 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.
4463
+ */
4464
+ 403: Error;
4465
+ /**
4466
+ * 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”.
4467
+ */
4468
+ 404: Error;
4469
+ /**
4470
+ * 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).
4471
+ */
4472
+ 409: Error;
4473
+ /**
4474
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4475
+ */
4476
+ 429: Error;
4477
+ /**
4478
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4479
+ */
4480
+ 500: Error;
4481
+ /**
4482
+ * Something this needs is not answering right now. Retry in a moment.
4483
+ */
4484
+ 503: Error;
4485
+ /**
4486
+ * 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.
4487
+ */
4488
+ 504: Error;
4489
+ };
4490
+ type LabelsCreateError = LabelsCreateErrors[keyof LabelsCreateErrors];
4491
+ type LabelsCreateResponses = {
4492
+ /**
4493
+ * The label.
4494
+ */
4495
+ 201: {
4496
+ data: Label;
4497
+ };
4498
+ };
4499
+ type LabelsCreateResponse = LabelsCreateResponses[keyof LabelsCreateResponses];
4500
+ type LabelsDeleteData = {
4501
+ body?: never;
4502
+ headers?: {
4503
+ /**
4504
+ * 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.
4505
+ */
4506
+ 'Idempotency-Key'?: string;
4507
+ };
4508
+ path: {
4509
+ id: string;
4510
+ };
4511
+ query?: never;
4512
+ url: '/labels/{id}';
4513
+ };
4514
+ type LabelsDeleteErrors = {
4515
+ /**
4516
+ * The request is not valid. `error.field` names the input at fault when there is one.
4517
+ */
4518
+ 400: Error;
4519
+ /**
4520
+ * No API key, or one that is not valid.
4521
+ */
4522
+ 401: Error;
4523
+ /**
4524
+ * 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.
4525
+ */
4526
+ 403: Error;
4527
+ /**
4528
+ * 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”.
4529
+ */
4530
+ 404: Error;
4531
+ /**
4532
+ * 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).
4533
+ */
4534
+ 409: Error;
4535
+ /**
4536
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4537
+ */
4538
+ 429: Error;
4539
+ /**
4540
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4541
+ */
4542
+ 500: Error;
4543
+ /**
4544
+ * Something this needs is not answering right now. Retry in a moment.
4545
+ */
4546
+ 503: Error;
4547
+ /**
4548
+ * 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.
4549
+ */
4550
+ 504: Error;
4551
+ };
4552
+ type LabelsDeleteError = LabelsDeleteErrors[keyof LabelsDeleteErrors];
4553
+ type LabelsDeleteResponses = {
4554
+ /**
4555
+ * Deleted.
4556
+ */
4557
+ 200: {
4558
+ data: Deleted;
4559
+ };
4560
+ };
4561
+ type LabelsDeleteResponse = LabelsDeleteResponses[keyof LabelsDeleteResponses];
4562
+ type LabelsUpdateData = {
4563
+ body: {
4564
+ name?: string;
4565
+ colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
4566
+ };
4567
+ headers?: {
4568
+ /**
4569
+ * 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.
4570
+ */
4571
+ 'Idempotency-Key'?: string;
4572
+ };
4573
+ path: {
4574
+ id: string;
4575
+ };
4576
+ query?: never;
4577
+ url: '/labels/{id}';
4578
+ };
4579
+ type LabelsUpdateErrors = {
4580
+ /**
4581
+ * The request is not valid. `error.field` names the input at fault when there is one.
4582
+ */
4583
+ 400: Error;
4584
+ /**
4585
+ * No API key, or one that is not valid.
4586
+ */
4587
+ 401: Error;
4588
+ /**
4589
+ * 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.
4590
+ */
4591
+ 403: Error;
4592
+ /**
4593
+ * 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”.
4594
+ */
4595
+ 404: Error;
4596
+ /**
4597
+ * 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).
4598
+ */
4599
+ 409: Error;
4600
+ /**
4601
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
4602
+ */
4603
+ 429: Error;
4604
+ /**
4605
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
4606
+ */
4607
+ 500: Error;
4608
+ /**
4609
+ * Something this needs is not answering right now. Retry in a moment.
4610
+ */
4611
+ 503: Error;
4612
+ /**
4613
+ * 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.
4614
+ */
4615
+ 504: Error;
4616
+ };
4617
+ type LabelsUpdateError = LabelsUpdateErrors[keyof LabelsUpdateErrors];
4618
+ type LabelsUpdateResponses = {
4103
4619
  /**
4104
- * The pod, with its address and key.
4620
+ * The label.
4105
4621
  */
4106
- 201: {
4107
- data: PodCreated;
4108
- /**
4109
- * Present only when the request used something deprecated: what it left out and the date it stops working. Answered with `Deprecation` and `Sunset` headers too.
4110
- */
4111
- warnings?: Array<Warning>;
4622
+ 200: {
4623
+ data: Label;
4112
4624
  };
4113
4625
  };
4114
- type PodsCreateResponse = PodsCreateResponses[keyof PodsCreateResponses];
4115
- type PodsDeleteData = {
4626
+ type LabelsUpdateResponse = LabelsUpdateResponses[keyof LabelsUpdateResponses];
4627
+ type ContactsListData = {
4116
4628
  body?: never;
4117
- headers?: {
4629
+ path?: never;
4630
+ query?: {
4118
4631
  /**
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.
4632
+ * Only the contacts of this address.
4120
4633
  */
4121
- 'Idempotency-Key'?: string;
4122
- };
4123
- path: {
4124
- id: string;
4125
- };
4126
- query?: {
4634
+ identity_id?: string;
4127
4635
  /**
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.
4636
+ * Part of a name or an address: `priya`, `@acme.com`.
4129
4637
  */
4130
- delete_addresses?: 'true' | 'false';
4638
+ search?: string;
4639
+ limit?: number;
4640
+ /**
4641
+ * From a previous page’s `next_cursor`. Opaque — do not parse it.
4642
+ */
4643
+ cursor?: string;
4131
4644
  };
4132
- url: '/pods/{id}';
4645
+ url: '/contacts';
4133
4646
  };
4134
- type PodsDeleteErrors = {
4647
+ type ContactsListErrors = {
4135
4648
  /**
4136
4649
  * The request is not valid. `error.field` names the input at fault when there is one.
4137
4650
  */
@@ -4149,7 +4662,7 @@ type PodsDeleteErrors = {
4149
4662
  */
4150
4663
  404: Error;
4151
4664
  /**
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).
4665
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4153
4666
  */
4154
4667
  409: Error;
4155
4668
  /**
@@ -4164,30 +4677,50 @@ type PodsDeleteErrors = {
4164
4677
  * Something this needs is not answering right now. Retry in a moment.
4165
4678
  */
4166
4679
  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
4680
  };
4172
- type PodsDeleteError = PodsDeleteErrors[keyof PodsDeleteErrors];
4173
- type PodsDeleteResponses = {
4681
+ type ContactsListError = ContactsListErrors[keyof ContactsListErrors];
4682
+ type ContactsListResponses = {
4174
4683
  /**
4175
- * What was deleted.
4684
+ * The contacts.
4176
4685
  */
4177
4686
  200: {
4178
- data: PodDeleted;
4687
+ data: Array<Contact>;
4688
+ has_more: boolean;
4689
+ /**
4690
+ * Pass as `cursor` to continue. Null on the last page.
4691
+ */
4692
+ next_cursor: string | null;
4179
4693
  };
4180
4694
  };
4181
- type PodsDeleteResponse = PodsDeleteResponses[keyof PodsDeleteResponses];
4182
- type PodsGetData = {
4183
- body?: never;
4184
- path: {
4185
- id: string;
4695
+ type ContactsListResponse = ContactsListResponses[keyof ContactsListResponses];
4696
+ type ContactsCreateData = {
4697
+ body: {
4698
+ /**
4699
+ * The address whose contact this is.
4700
+ */
4701
+ identity_id: string;
4702
+ email: string;
4703
+ name?: string | null;
4704
+ /**
4705
+ * A person, or another agent.
4706
+ */
4707
+ kind?: 'human' | 'agent';
4708
+ /**
4709
+ * Anything worth remembering about them. Up to 5,000 characters.
4710
+ */
4711
+ notes?: string | null;
4712
+ };
4713
+ headers?: {
4714
+ /**
4715
+ * 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.
4716
+ */
4717
+ 'Idempotency-Key'?: string;
4186
4718
  };
4719
+ path?: never;
4187
4720
  query?: never;
4188
- url: '/pods/{id}';
4721
+ url: '/contacts';
4189
4722
  };
4190
- type PodsGetErrors = {
4723
+ type ContactsCreateErrors = {
4191
4724
  /**
4192
4725
  * The request is not valid. `error.field` names the input at fault when there is one.
4193
4726
  */
@@ -4205,7 +4738,7 @@ type PodsGetErrors = {
4205
4738
  */
4206
4739
  404: Error;
4207
4740
  /**
4208
- * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
4741
+ * 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
4742
  */
4210
4743
  409: Error;
4211
4744
  /**
@@ -4220,25 +4753,23 @@ type PodsGetErrors = {
4220
4753
  * Something this needs is not answering right now. Retry in a moment.
4221
4754
  */
4222
4755
  503: Error;
4756
+ /**
4757
+ * 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.
4758
+ */
4759
+ 504: Error;
4223
4760
  };
4224
- type PodsGetError = PodsGetErrors[keyof PodsGetErrors];
4225
- type PodsGetResponses = {
4761
+ type ContactsCreateError = ContactsCreateErrors[keyof ContactsCreateErrors];
4762
+ type ContactsCreateResponses = {
4226
4763
  /**
4227
- * The pod.
4764
+ * The contact.
4228
4765
  */
4229
- 200: {
4230
- data: Pod;
4766
+ 201: {
4767
+ data: Contact;
4231
4768
  };
4232
4769
  };
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
- };
4770
+ type ContactsCreateResponse = ContactsCreateResponses[keyof ContactsCreateResponses];
4771
+ type ContactsDeleteData = {
4772
+ body?: never;
4242
4773
  headers?: {
4243
4774
  /**
4244
4775
  * 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 +4780,9 @@ type PodsUpdateData = {
4249
4780
  id: string;
4250
4781
  };
4251
4782
  query?: never;
4252
- url: '/pods/{id}';
4783
+ url: '/contacts/{id}';
4253
4784
  };
4254
- type PodsUpdateErrors = {
4785
+ type ContactsDeleteErrors = {
4255
4786
  /**
4256
4787
  * The request is not valid. `error.field` names the input at fault when there is one.
4257
4788
  */
@@ -4289,25 +4820,25 @@ type PodsUpdateErrors = {
4289
4820
  */
4290
4821
  504: Error;
4291
4822
  };
4292
- type PodsUpdateError = PodsUpdateErrors[keyof PodsUpdateErrors];
4293
- type PodsUpdateResponses = {
4823
+ type ContactsDeleteError = ContactsDeleteErrors[keyof ContactsDeleteErrors];
4824
+ type ContactsDeleteResponses = {
4294
4825
  /**
4295
- * The pod.
4826
+ * Deleted.
4296
4827
  */
4297
4828
  200: {
4298
- data: Pod;
4829
+ data: Deleted;
4299
4830
  };
4300
4831
  };
4301
- type PodsUpdateResponse = PodsUpdateResponses[keyof PodsUpdateResponses];
4302
- type LabelsListData = {
4832
+ type ContactsDeleteResponse = ContactsDeleteResponses[keyof ContactsDeleteResponses];
4833
+ type ContactsGetData = {
4303
4834
  body?: never;
4304
- path?: never;
4305
- query: {
4306
- identity_id: string;
4835
+ path: {
4836
+ id: string;
4307
4837
  };
4308
- url: '/labels';
4838
+ query?: never;
4839
+ url: '/contacts/{id}';
4309
4840
  };
4310
- type LabelsListErrors = {
4841
+ type ContactsGetErrors = {
4311
4842
  /**
4312
4843
  * The request is not valid. `error.field` names the input at fault when there is one.
4313
4844
  */
@@ -4341,29 +4872,32 @@ type LabelsListErrors = {
4341
4872
  */
4342
4873
  503: Error;
4343
4874
  };
4344
- type LabelsListError = LabelsListErrors[keyof LabelsListErrors];
4345
- type LabelsListResponses = {
4875
+ type ContactsGetError = ContactsGetErrors[keyof ContactsGetErrors];
4876
+ type ContactsGetResponses = {
4346
4877
  /**
4347
- * The labels.
4878
+ * The contact.
4348
4879
  */
4349
4880
  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;
4881
+ data: Contact;
4356
4882
  };
4357
4883
  };
4358
- type LabelsListResponse = LabelsListResponses[keyof LabelsListResponses];
4359
- type LabelsCreateData = {
4884
+ type ContactsGetResponse = ContactsGetResponses[keyof ContactsGetResponses];
4885
+ type ContactsUpdateData = {
4360
4886
  body: {
4887
+ email?: string;
4888
+ name?: string | null;
4361
4889
  /**
4362
- * The address this belongs to.
4890
+ * A person, or another agent.
4363
4891
  */
4364
- identity_id: string;
4365
- name: string;
4366
- colour?: 'slate' | 'red' | 'amber' | 'green' | 'teal' | 'blue' | 'violet' | 'pink';
4892
+ kind?: 'human' | 'agent';
4893
+ /**
4894
+ * Anything worth remembering about them. Up to 5,000 characters.
4895
+ */
4896
+ notes?: string | null;
4897
+ /**
4898
+ * Until when their new mail arrives snoozed, ISO 8601, a year ahead at most. `null` unmutes.
4899
+ */
4900
+ snoozed_until?: string | null;
4367
4901
  };
4368
4902
  headers?: {
4369
4903
  /**
@@ -4371,11 +4905,13 @@ type LabelsCreateData = {
4371
4905
  */
4372
4906
  'Idempotency-Key'?: string;
4373
4907
  };
4374
- path?: never;
4908
+ path: {
4909
+ id: string;
4910
+ };
4375
4911
  query?: never;
4376
- url: '/labels';
4912
+ url: '/contacts/{id}';
4377
4913
  };
4378
- type LabelsCreateErrors = {
4914
+ type ContactsUpdateErrors = {
4379
4915
  /**
4380
4916
  * The request is not valid. `error.field` names the input at fault when there is one.
4381
4917
  */
@@ -4413,17 +4949,17 @@ type LabelsCreateErrors = {
4413
4949
  */
4414
4950
  504: Error;
4415
4951
  };
4416
- type LabelsCreateError = LabelsCreateErrors[keyof LabelsCreateErrors];
4417
- type LabelsCreateResponses = {
4952
+ type ContactsUpdateError = ContactsUpdateErrors[keyof ContactsUpdateErrors];
4953
+ type ContactsUpdateResponses = {
4418
4954
  /**
4419
- * The label.
4955
+ * The contact.
4420
4956
  */
4421
- 201: {
4422
- data: Label;
4957
+ 200: {
4958
+ data: Contact;
4423
4959
  };
4424
4960
  };
4425
- type LabelsCreateResponse = LabelsCreateResponses[keyof LabelsCreateResponses];
4426
- type LabelsDeleteData = {
4961
+ type ContactsUpdateResponse = ContactsUpdateResponses[keyof ContactsUpdateResponses];
4962
+ type ContactsUnblockData = {
4427
4963
  body?: never;
4428
4964
  headers?: {
4429
4965
  /**
@@ -4435,9 +4971,9 @@ type LabelsDeleteData = {
4435
4971
  id: string;
4436
4972
  };
4437
4973
  query?: never;
4438
- url: '/labels/{id}';
4974
+ url: '/contacts/{id}/block';
4439
4975
  };
4440
- type LabelsDeleteErrors = {
4976
+ type ContactsUnblockErrors = {
4441
4977
  /**
4442
4978
  * The request is not valid. `error.field` names the input at fault when there is one.
4443
4979
  */
@@ -4475,21 +5011,18 @@ type LabelsDeleteErrors = {
4475
5011
  */
4476
5012
  504: Error;
4477
5013
  };
4478
- type LabelsDeleteError = LabelsDeleteErrors[keyof LabelsDeleteErrors];
4479
- type LabelsDeleteResponses = {
5014
+ type ContactsUnblockError = ContactsUnblockErrors[keyof ContactsUnblockErrors];
5015
+ type ContactsUnblockResponses = {
4480
5016
  /**
4481
- * Deleted.
5017
+ * The contact.
4482
5018
  */
4483
5019
  200: {
4484
- data: Deleted;
5020
+ data: Contact;
4485
5021
  };
4486
5022
  };
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
- };
5023
+ type ContactsUnblockResponse = ContactsUnblockResponses[keyof ContactsUnblockResponses];
5024
+ type ContactsBlockData = {
5025
+ body?: never;
4493
5026
  headers?: {
4494
5027
  /**
4495
5028
  * 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 +5033,9 @@ type LabelsUpdateData = {
4500
5033
  id: string;
4501
5034
  };
4502
5035
  query?: never;
4503
- url: '/labels/{id}';
5036
+ url: '/contacts/{id}/block';
4504
5037
  };
4505
- type LabelsUpdateErrors = {
5038
+ type ContactsBlockErrors = {
4506
5039
  /**
4507
5040
  * The request is not valid. `error.field` names the input at fault when there is one.
4508
5041
  */
@@ -4540,16 +5073,16 @@ type LabelsUpdateErrors = {
4540
5073
  */
4541
5074
  504: Error;
4542
5075
  };
4543
- type LabelsUpdateError = LabelsUpdateErrors[keyof LabelsUpdateErrors];
4544
- type LabelsUpdateResponses = {
5076
+ type ContactsBlockError = ContactsBlockErrors[keyof ContactsBlockErrors];
5077
+ type ContactsBlockResponses = {
4545
5078
  /**
4546
- * The label.
5079
+ * The contact.
4547
5080
  */
4548
5081
  200: {
4549
- data: Label;
5082
+ data: Contact;
4550
5083
  };
4551
5084
  };
4552
- type LabelsUpdateResponse = LabelsUpdateResponses[keyof LabelsUpdateResponses];
5085
+ type ContactsBlockResponse = ContactsBlockResponses[keyof ContactsBlockResponses];
4553
5086
  type ThreadsLabelsDeleteData = {
4554
5087
  body?: never;
4555
5088
  headers?: {
@@ -9206,6 +9739,89 @@ type CalendarGetAgendaResponses = {
9206
9739
  };
9207
9740
  };
9208
9741
  type CalendarGetAgendaResponse = CalendarGetAgendaResponses[keyof CalendarGetAgendaResponses];
9742
+ type CalendarFreeTimeData = {
9743
+ body?: never;
9744
+ path?: never;
9745
+ query: {
9746
+ /**
9747
+ * The addresses that must all be free, comma-separated ids. Up to 10.
9748
+ */
9749
+ identity_ids: string;
9750
+ /**
9751
+ * Default now.
9752
+ */
9753
+ after?: string;
9754
+ /**
9755
+ * Default a week after `after`; 31 days after it at most.
9756
+ */
9757
+ before?: string;
9758
+ /**
9759
+ * The shortest slot worth returning. Default 30.
9760
+ */
9761
+ duration_minutes?: number;
9762
+ /**
9763
+ * Only from this wall time each day, like `09:00`.
9764
+ */
9765
+ day_start?: string;
9766
+ /**
9767
+ * Only until this wall time each day, like `17:30`.
9768
+ */
9769
+ day_end?: string;
9770
+ /**
9771
+ * The zone `day_start`, `day_end` and the local times are in. Default the first address’s calendar zone.
9772
+ */
9773
+ timezone?: string;
9774
+ /**
9775
+ * Leave out Saturdays and Sundays in that zone.
9776
+ */
9777
+ skip_weekends?: 'true' | 'false';
9778
+ };
9779
+ url: '/calendar/free-time';
9780
+ };
9781
+ type CalendarFreeTimeErrors = {
9782
+ /**
9783
+ * The request is not valid. `error.field` names the input at fault when there is one.
9784
+ */
9785
+ 400: Error;
9786
+ /**
9787
+ * No API key, or one that is not valid.
9788
+ */
9789
+ 401: Error;
9790
+ /**
9791
+ * 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.
9792
+ */
9793
+ 403: Error;
9794
+ /**
9795
+ * 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”.
9796
+ */
9797
+ 404: Error;
9798
+ /**
9799
+ * It conflicts with what is there: it already exists, or the `etag` you sent is not the current one.
9800
+ */
9801
+ 409: Error;
9802
+ /**
9803
+ * Rate limited. `X-RateLimit-Reset` says when to retry.
9804
+ */
9805
+ 429: Error;
9806
+ /**
9807
+ * Something went wrong on our side. Retry; if it keeps happening, tell us.
9808
+ */
9809
+ 500: Error;
9810
+ /**
9811
+ * Something this needs is not answering right now. Retry in a moment.
9812
+ */
9813
+ 503: Error;
9814
+ };
9815
+ type CalendarFreeTimeError = CalendarFreeTimeErrors[keyof CalendarFreeTimeErrors];
9816
+ type CalendarFreeTimeResponses = {
9817
+ /**
9818
+ * The free time.
9819
+ */
9820
+ 200: {
9821
+ data: FreeTime;
9822
+ };
9823
+ };
9824
+ type CalendarFreeTimeResponse = CalendarFreeTimeResponses[keyof CalendarFreeTimeResponses];
9209
9825
  type CalendarDeleteEventData = {
9210
9826
  body?: never;
9211
9827
  headers?: {
@@ -10686,6 +11302,46 @@ declare const labelsDelete: <ThrowOnError extends boolean = false>(options: Opti
10686
11302
  * A body with neither `name` nor `colour` is refused.
10687
11303
  */
10688
11304
  declare const labelsUpdate: <ThrowOnError extends boolean = false>(options: Options<LabelsUpdateData, ThrowOnError>) => RequestResult<LabelsUpdateResponses, LabelsUpdateErrors, ThrowOnError>;
11305
+ /**
11306
+ * Find contacts
11307
+ *
11308
+ * 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`.
11309
+ */
11310
+ declare const contactsList: <ThrowOnError extends boolean = false>(options?: Options<ContactsListData, ThrowOnError>) => RequestResult<ContactsListResponses, ContactsListErrors, ThrowOnError>;
11311
+ /**
11312
+ * Add a contact
11313
+ *
11314
+ * 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.
11315
+ */
11316
+ declare const contactsCreate: <ThrowOnError extends boolean = false>(options: Options<ContactsCreateData, ThrowOnError>) => RequestResult<ContactsCreateResponses, ContactsCreateErrors, ThrowOnError>;
11317
+ /**
11318
+ * Forget a contact
11319
+ *
11320
+ * The contact goes; the mail stays. Their next message notes them again, so this is not a block.
11321
+ */
11322
+ declare const contactsDelete: <ThrowOnError extends boolean = false>(options: Options<ContactsDeleteData, ThrowOnError>) => RequestResult<ContactsDeleteResponses, ContactsDeleteErrors, ThrowOnError>;
11323
+ /**
11324
+ * One contact
11325
+ */
11326
+ declare const contactsGet: <ThrowOnError extends boolean = false>(options: Options<ContactsGetData, ThrowOnError>) => RequestResult<ContactsGetResponses, ContactsGetErrors, ThrowOnError>;
11327
+ /**
11328
+ * Change or mute a contact
11329
+ *
11330
+ * 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.
11331
+ */
11332
+ declare const contactsUpdate: <ThrowOnError extends boolean = false>(options: Options<ContactsUpdateData, ThrowOnError>) => RequestResult<ContactsUpdateResponses, ContactsUpdateErrors, ThrowOnError>;
11333
+ /**
11334
+ * Unblock a contact
11335
+ *
11336
+ * 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.
11337
+ */
11338
+ declare const contactsUnblock: <ThrowOnError extends boolean = false>(options: Options<ContactsUnblockData, ThrowOnError>) => RequestResult<ContactsUnblockResponses, ContactsUnblockErrors, ThrowOnError>;
11339
+ /**
11340
+ * Block a contact
11341
+ *
11342
+ * 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.
11343
+ */
11344
+ declare const contactsBlock: <ThrowOnError extends boolean = false>(options: Options<ContactsBlockData, ThrowOnError>) => RequestResult<ContactsBlockResponses, ContactsBlockErrors, ThrowOnError>;
10689
11345
  /**
10690
11346
  * Remove a label
10691
11347
  *
@@ -11116,6 +11772,12 @@ declare const calendarListEventInstances: <ThrowOnError extends boolean = false>
11116
11772
  * `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
11773
  */
11118
11774
  declare const calendarGetAgenda: <ThrowOnError extends boolean = false>(options: Options<CalendarGetAgendaData, ThrowOnError>) => RequestResult<CalendarGetAgendaResponses, CalendarGetAgendaErrors, ThrowOnError>;
11775
+ /**
11776
+ * When several addresses are all free
11777
+ *
11778
+ * 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.
11779
+ */
11780
+ declare const calendarFreeTime: <ThrowOnError extends boolean = false>(options: Options<CalendarFreeTimeData, ThrowOnError>) => RequestResult<CalendarFreeTimeResponses, CalendarFreeTimeErrors, ThrowOnError>;
11119
11781
  /**
11120
11782
  * Take it off the calendar
11121
11783
  *
@@ -11348,4 +12010,4 @@ interface StreamOptions {
11348
12010
  */
11349
12011
  declare function streamEvents(options: StreamOptions): AsyncGenerator<StreamedEvent>;
11350
12012
 
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 };
12013
+ 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 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 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 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, calendarFreeTime, calendarGet, calendarGetAgenda, calendarGetEvent, calendarListEventInstances, calendarListEvents, calendarRespondToEvent, calendarUpdate, calendarUpdateEvent, 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, 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 };