@linqapp/sdk 0.72.1 → 0.74.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.
@@ -4655,8 +4655,9 @@ export declare namespace ZeroDayRetentionUpdatedWebhookEvent {
4655
4655
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
4656
4656
  * expired and activated events never carry it. `null` means none: `to: null` means
4657
4657
  * cleared and `from: null` means first set. The value type depends on the event
4658
- * and is given in each event's description. `contact_card.updated` uses `name`
4659
- * instead of `from` and `to`.
4658
+ * and is given in each event's description. `contact_card.updated` uses
4659
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
4660
+ * present only when that field changed.
4660
4661
  */
4661
4662
  change?: Data.Change;
4662
4663
  /**
@@ -4723,10 +4724,9 @@ export declare namespace ZeroDayRetentionUpdatedWebhookEvent {
4723
4724
  interface APIToken {
4724
4725
  id: string;
4725
4726
  /**
4726
- * When the token expires. On `api_token.created`, `api_token.expired` and
4727
- * `api_token.deleted`; absent if it never expires.
4727
+ * When the token expires; null if it never does.
4728
4728
  */
4729
- expires_at?: string;
4729
+ expires_at: string | null;
4730
4730
  /**
4731
4731
  * Absent when the token has no name.
4732
4732
  */
@@ -4743,19 +4743,30 @@ export declare namespace ZeroDayRetentionUpdatedWebhookEvent {
4743
4743
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
4744
4744
  * expired and activated events never carry it. `null` means none: `to: null` means
4745
4745
  * cleared and `from: null` means first set. The value type depends on the event
4746
- * and is given in each event's description. `contact_card.updated` uses `name`
4747
- * instead of `from` and `to`.
4746
+ * and is given in each event's description. `contact_card.updated` uses
4747
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
4748
+ * present only when that field changed.
4748
4749
  */
4749
4750
  interface Change {
4751
+ /**
4752
+ * A single field's change, on `contact_card.updated`. Present only for the field
4753
+ * that changed.
4754
+ */
4755
+ first_name?: Change.FirstName;
4750
4756
  /**
4751
4757
  * The value before the change; null when there was none.
4752
4758
  */
4753
4759
  from?: unknown;
4754
4760
  /**
4755
- * A contact card name change. Only on `contact_card.updated`, when the name
4756
- * changed.
4761
+ * A single field's change, on `contact_card.updated`. Present only for the field
4762
+ * that changed.
4763
+ */
4764
+ image_url?: Change.ImageURL;
4765
+ /**
4766
+ * A single field's change, on `contact_card.updated`. Present only for the field
4767
+ * that changed.
4757
4768
  */
4758
- name?: Change.Name;
4769
+ last_name?: Change.LastName;
4759
4770
  /**
4760
4771
  * The value after the change; null when it was cleared.
4761
4772
  */
@@ -4763,16 +4774,44 @@ export declare namespace ZeroDayRetentionUpdatedWebhookEvent {
4763
4774
  }
4764
4775
  namespace Change {
4765
4776
  /**
4766
- * A contact card name change. Only on `contact_card.updated`, when the name
4767
- * changed.
4777
+ * A single field's change, on `contact_card.updated`. Present only for the field
4778
+ * that changed.
4768
4779
  */
4769
- interface Name {
4780
+ interface FirstName {
4770
4781
  /**
4771
- * The name before the change; null when the card had no name.
4782
+ * The value before the change; null when the card had none.
4772
4783
  */
4773
4784
  from: string | null;
4774
4785
  /**
4775
- * The name after the change; null when it was removed.
4786
+ * The value after the change; null when it was removed.
4787
+ */
4788
+ to: string | null;
4789
+ }
4790
+ /**
4791
+ * A single field's change, on `contact_card.updated`. Present only for the field
4792
+ * that changed.
4793
+ */
4794
+ interface ImageURL {
4795
+ /**
4796
+ * The value before the change; null when the card had none.
4797
+ */
4798
+ from: string | null;
4799
+ /**
4800
+ * The value after the change; null when it was removed.
4801
+ */
4802
+ to: string | null;
4803
+ }
4804
+ /**
4805
+ * A single field's change, on `contact_card.updated`. Present only for the field
4806
+ * that changed.
4807
+ */
4808
+ interface LastName {
4809
+ /**
4810
+ * The value before the change; null when the card had none.
4811
+ */
4812
+ from: string | null;
4813
+ /**
4814
+ * The value after the change; null when it was removed.
4776
4815
  */
4777
4816
  to: string | null;
4778
4817
  }
@@ -4782,14 +4821,15 @@ export declare namespace ZeroDayRetentionUpdatedWebhookEvent {
4782
4821
  */
4783
4822
  interface ContactCard {
4784
4823
  id: string;
4824
+ first_name: string;
4785
4825
  /**
4786
- * Display name. Absent when the card has no name.
4826
+ * Null when the card has no photo.
4787
4827
  */
4788
- name?: string;
4828
+ image_url: string | null;
4789
4829
  /**
4790
- * True when the photo changed. Only on `contact_card.updated`.
4830
+ * Null when the card has no last name.
4791
4831
  */
4792
- photo_updated?: boolean;
4832
+ last_name: string | null;
4793
4833
  }
4794
4834
  /**
4795
4835
  * An environment, identified by name. Production is
@@ -4925,8 +4965,9 @@ export declare namespace PhoneNumberForwardingUpdatedWebhookEvent {
4925
4965
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
4926
4966
  * expired and activated events never carry it. `null` means none: `to: null` means
4927
4967
  * cleared and `from: null` means first set. The value type depends on the event
4928
- * and is given in each event's description. `contact_card.updated` uses `name`
4929
- * instead of `from` and `to`.
4968
+ * and is given in each event's description. `contact_card.updated` uses
4969
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
4970
+ * present only when that field changed.
4930
4971
  */
4931
4972
  change?: Data.Change;
4932
4973
  /**
@@ -4993,10 +5034,9 @@ export declare namespace PhoneNumberForwardingUpdatedWebhookEvent {
4993
5034
  interface APIToken {
4994
5035
  id: string;
4995
5036
  /**
4996
- * When the token expires. On `api_token.created`, `api_token.expired` and
4997
- * `api_token.deleted`; absent if it never expires.
5037
+ * When the token expires; null if it never does.
4998
5038
  */
4999
- expires_at?: string;
5039
+ expires_at: string | null;
5000
5040
  /**
5001
5041
  * Absent when the token has no name.
5002
5042
  */
@@ -5013,19 +5053,30 @@ export declare namespace PhoneNumberForwardingUpdatedWebhookEvent {
5013
5053
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
5014
5054
  * expired and activated events never carry it. `null` means none: `to: null` means
5015
5055
  * cleared and `from: null` means first set. The value type depends on the event
5016
- * and is given in each event's description. `contact_card.updated` uses `name`
5017
- * instead of `from` and `to`.
5056
+ * and is given in each event's description. `contact_card.updated` uses
5057
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
5058
+ * present only when that field changed.
5018
5059
  */
5019
5060
  interface Change {
5061
+ /**
5062
+ * A single field's change, on `contact_card.updated`. Present only for the field
5063
+ * that changed.
5064
+ */
5065
+ first_name?: Change.FirstName;
5020
5066
  /**
5021
5067
  * The value before the change; null when there was none.
5022
5068
  */
5023
5069
  from?: unknown;
5024
5070
  /**
5025
- * A contact card name change. Only on `contact_card.updated`, when the name
5026
- * changed.
5071
+ * A single field's change, on `contact_card.updated`. Present only for the field
5072
+ * that changed.
5073
+ */
5074
+ image_url?: Change.ImageURL;
5075
+ /**
5076
+ * A single field's change, on `contact_card.updated`. Present only for the field
5077
+ * that changed.
5027
5078
  */
5028
- name?: Change.Name;
5079
+ last_name?: Change.LastName;
5029
5080
  /**
5030
5081
  * The value after the change; null when it was cleared.
5031
5082
  */
@@ -5033,16 +5084,44 @@ export declare namespace PhoneNumberForwardingUpdatedWebhookEvent {
5033
5084
  }
5034
5085
  namespace Change {
5035
5086
  /**
5036
- * A contact card name change. Only on `contact_card.updated`, when the name
5037
- * changed.
5087
+ * A single field's change, on `contact_card.updated`. Present only for the field
5088
+ * that changed.
5038
5089
  */
5039
- interface Name {
5090
+ interface FirstName {
5040
5091
  /**
5041
- * The name before the change; null when the card had no name.
5092
+ * The value before the change; null when the card had none.
5042
5093
  */
5043
5094
  from: string | null;
5044
5095
  /**
5045
- * The name after the change; null when it was removed.
5096
+ * The value after the change; null when it was removed.
5097
+ */
5098
+ to: string | null;
5099
+ }
5100
+ /**
5101
+ * A single field's change, on `contact_card.updated`. Present only for the field
5102
+ * that changed.
5103
+ */
5104
+ interface ImageURL {
5105
+ /**
5106
+ * The value before the change; null when the card had none.
5107
+ */
5108
+ from: string | null;
5109
+ /**
5110
+ * The value after the change; null when it was removed.
5111
+ */
5112
+ to: string | null;
5113
+ }
5114
+ /**
5115
+ * A single field's change, on `contact_card.updated`. Present only for the field
5116
+ * that changed.
5117
+ */
5118
+ interface LastName {
5119
+ /**
5120
+ * The value before the change; null when the card had none.
5121
+ */
5122
+ from: string | null;
5123
+ /**
5124
+ * The value after the change; null when it was removed.
5046
5125
  */
5047
5126
  to: string | null;
5048
5127
  }
@@ -5052,14 +5131,15 @@ export declare namespace PhoneNumberForwardingUpdatedWebhookEvent {
5052
5131
  */
5053
5132
  interface ContactCard {
5054
5133
  id: string;
5134
+ first_name: string;
5055
5135
  /**
5056
- * Display name. Absent when the card has no name.
5136
+ * Null when the card has no photo.
5057
5137
  */
5058
- name?: string;
5138
+ image_url: string | null;
5059
5139
  /**
5060
- * True when the photo changed. Only on `contact_card.updated`.
5140
+ * Null when the card has no last name.
5061
5141
  */
5062
- photo_updated?: boolean;
5142
+ last_name: string | null;
5063
5143
  }
5064
5144
  /**
5065
5145
  * An environment, identified by name. Production is
@@ -5195,8 +5275,9 @@ export declare namespace EnvironmentLineMovedWebhookEvent {
5195
5275
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
5196
5276
  * expired and activated events never carry it. `null` means none: `to: null` means
5197
5277
  * cleared and `from: null` means first set. The value type depends on the event
5198
- * and is given in each event's description. `contact_card.updated` uses `name`
5199
- * instead of `from` and `to`.
5278
+ * and is given in each event's description. `contact_card.updated` uses
5279
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
5280
+ * present only when that field changed.
5200
5281
  */
5201
5282
  change?: Data.Change;
5202
5283
  /**
@@ -5263,10 +5344,9 @@ export declare namespace EnvironmentLineMovedWebhookEvent {
5263
5344
  interface APIToken {
5264
5345
  id: string;
5265
5346
  /**
5266
- * When the token expires. On `api_token.created`, `api_token.expired` and
5267
- * `api_token.deleted`; absent if it never expires.
5347
+ * When the token expires; null if it never does.
5268
5348
  */
5269
- expires_at?: string;
5349
+ expires_at: string | null;
5270
5350
  /**
5271
5351
  * Absent when the token has no name.
5272
5352
  */
@@ -5283,19 +5363,30 @@ export declare namespace EnvironmentLineMovedWebhookEvent {
5283
5363
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
5284
5364
  * expired and activated events never carry it. `null` means none: `to: null` means
5285
5365
  * cleared and `from: null` means first set. The value type depends on the event
5286
- * and is given in each event's description. `contact_card.updated` uses `name`
5287
- * instead of `from` and `to`.
5366
+ * and is given in each event's description. `contact_card.updated` uses
5367
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
5368
+ * present only when that field changed.
5288
5369
  */
5289
5370
  interface Change {
5371
+ /**
5372
+ * A single field's change, on `contact_card.updated`. Present only for the field
5373
+ * that changed.
5374
+ */
5375
+ first_name?: Change.FirstName;
5290
5376
  /**
5291
5377
  * The value before the change; null when there was none.
5292
5378
  */
5293
5379
  from?: unknown;
5294
5380
  /**
5295
- * A contact card name change. Only on `contact_card.updated`, when the name
5296
- * changed.
5381
+ * A single field's change, on `contact_card.updated`. Present only for the field
5382
+ * that changed.
5383
+ */
5384
+ image_url?: Change.ImageURL;
5385
+ /**
5386
+ * A single field's change, on `contact_card.updated`. Present only for the field
5387
+ * that changed.
5297
5388
  */
5298
- name?: Change.Name;
5389
+ last_name?: Change.LastName;
5299
5390
  /**
5300
5391
  * The value after the change; null when it was cleared.
5301
5392
  */
@@ -5303,16 +5394,44 @@ export declare namespace EnvironmentLineMovedWebhookEvent {
5303
5394
  }
5304
5395
  namespace Change {
5305
5396
  /**
5306
- * A contact card name change. Only on `contact_card.updated`, when the name
5307
- * changed.
5397
+ * A single field's change, on `contact_card.updated`. Present only for the field
5398
+ * that changed.
5308
5399
  */
5309
- interface Name {
5400
+ interface FirstName {
5310
5401
  /**
5311
- * The name before the change; null when the card had no name.
5402
+ * The value before the change; null when the card had none.
5312
5403
  */
5313
5404
  from: string | null;
5314
5405
  /**
5315
- * The name after the change; null when it was removed.
5406
+ * The value after the change; null when it was removed.
5407
+ */
5408
+ to: string | null;
5409
+ }
5410
+ /**
5411
+ * A single field's change, on `contact_card.updated`. Present only for the field
5412
+ * that changed.
5413
+ */
5414
+ interface ImageURL {
5415
+ /**
5416
+ * The value before the change; null when the card had none.
5417
+ */
5418
+ from: string | null;
5419
+ /**
5420
+ * The value after the change; null when it was removed.
5421
+ */
5422
+ to: string | null;
5423
+ }
5424
+ /**
5425
+ * A single field's change, on `contact_card.updated`. Present only for the field
5426
+ * that changed.
5427
+ */
5428
+ interface LastName {
5429
+ /**
5430
+ * The value before the change; null when the card had none.
5431
+ */
5432
+ from: string | null;
5433
+ /**
5434
+ * The value after the change; null when it was removed.
5316
5435
  */
5317
5436
  to: string | null;
5318
5437
  }
@@ -5322,14 +5441,15 @@ export declare namespace EnvironmentLineMovedWebhookEvent {
5322
5441
  */
5323
5442
  interface ContactCard {
5324
5443
  id: string;
5444
+ first_name: string;
5325
5445
  /**
5326
- * Display name. Absent when the card has no name.
5446
+ * Null when the card has no photo.
5327
5447
  */
5328
- name?: string;
5448
+ image_url: string | null;
5329
5449
  /**
5330
- * True when the photo changed. Only on `contact_card.updated`.
5450
+ * Null when the card has no last name.
5331
5451
  */
5332
- photo_updated?: boolean;
5452
+ last_name: string | null;
5333
5453
  }
5334
5454
  /**
5335
5455
  * An environment, identified by name. Production is
@@ -5465,8 +5585,9 @@ export declare namespace ContactCardCreatedWebhookEvent {
5465
5585
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
5466
5586
  * expired and activated events never carry it. `null` means none: `to: null` means
5467
5587
  * cleared and `from: null` means first set. The value type depends on the event
5468
- * and is given in each event's description. `contact_card.updated` uses `name`
5469
- * instead of `from` and `to`.
5588
+ * and is given in each event's description. `contact_card.updated` uses
5589
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
5590
+ * present only when that field changed.
5470
5591
  */
5471
5592
  change?: Data.Change;
5472
5593
  /**
@@ -5533,10 +5654,9 @@ export declare namespace ContactCardCreatedWebhookEvent {
5533
5654
  interface APIToken {
5534
5655
  id: string;
5535
5656
  /**
5536
- * When the token expires. On `api_token.created`, `api_token.expired` and
5537
- * `api_token.deleted`; absent if it never expires.
5657
+ * When the token expires; null if it never does.
5538
5658
  */
5539
- expires_at?: string;
5659
+ expires_at: string | null;
5540
5660
  /**
5541
5661
  * Absent when the token has no name.
5542
5662
  */
@@ -5553,19 +5673,30 @@ export declare namespace ContactCardCreatedWebhookEvent {
5553
5673
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
5554
5674
  * expired and activated events never carry it. `null` means none: `to: null` means
5555
5675
  * cleared and `from: null` means first set. The value type depends on the event
5556
- * and is given in each event's description. `contact_card.updated` uses `name`
5557
- * instead of `from` and `to`.
5676
+ * and is given in each event's description. `contact_card.updated` uses
5677
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
5678
+ * present only when that field changed.
5558
5679
  */
5559
5680
  interface Change {
5681
+ /**
5682
+ * A single field's change, on `contact_card.updated`. Present only for the field
5683
+ * that changed.
5684
+ */
5685
+ first_name?: Change.FirstName;
5560
5686
  /**
5561
5687
  * The value before the change; null when there was none.
5562
5688
  */
5563
5689
  from?: unknown;
5564
5690
  /**
5565
- * A contact card name change. Only on `contact_card.updated`, when the name
5566
- * changed.
5691
+ * A single field's change, on `contact_card.updated`. Present only for the field
5692
+ * that changed.
5693
+ */
5694
+ image_url?: Change.ImageURL;
5695
+ /**
5696
+ * A single field's change, on `contact_card.updated`. Present only for the field
5697
+ * that changed.
5567
5698
  */
5568
- name?: Change.Name;
5699
+ last_name?: Change.LastName;
5569
5700
  /**
5570
5701
  * The value after the change; null when it was cleared.
5571
5702
  */
@@ -5573,16 +5704,44 @@ export declare namespace ContactCardCreatedWebhookEvent {
5573
5704
  }
5574
5705
  namespace Change {
5575
5706
  /**
5576
- * A contact card name change. Only on `contact_card.updated`, when the name
5577
- * changed.
5707
+ * A single field's change, on `contact_card.updated`. Present only for the field
5708
+ * that changed.
5578
5709
  */
5579
- interface Name {
5710
+ interface FirstName {
5580
5711
  /**
5581
- * The name before the change; null when the card had no name.
5712
+ * The value before the change; null when the card had none.
5582
5713
  */
5583
5714
  from: string | null;
5584
5715
  /**
5585
- * The name after the change; null when it was removed.
5716
+ * The value after the change; null when it was removed.
5717
+ */
5718
+ to: string | null;
5719
+ }
5720
+ /**
5721
+ * A single field's change, on `contact_card.updated`. Present only for the field
5722
+ * that changed.
5723
+ */
5724
+ interface ImageURL {
5725
+ /**
5726
+ * The value before the change; null when the card had none.
5727
+ */
5728
+ from: string | null;
5729
+ /**
5730
+ * The value after the change; null when it was removed.
5731
+ */
5732
+ to: string | null;
5733
+ }
5734
+ /**
5735
+ * A single field's change, on `contact_card.updated`. Present only for the field
5736
+ * that changed.
5737
+ */
5738
+ interface LastName {
5739
+ /**
5740
+ * The value before the change; null when the card had none.
5741
+ */
5742
+ from: string | null;
5743
+ /**
5744
+ * The value after the change; null when it was removed.
5586
5745
  */
5587
5746
  to: string | null;
5588
5747
  }
@@ -5592,14 +5751,15 @@ export declare namespace ContactCardCreatedWebhookEvent {
5592
5751
  */
5593
5752
  interface ContactCard {
5594
5753
  id: string;
5754
+ first_name: string;
5595
5755
  /**
5596
- * Display name. Absent when the card has no name.
5756
+ * Null when the card has no photo.
5597
5757
  */
5598
- name?: string;
5758
+ image_url: string | null;
5599
5759
  /**
5600
- * True when the photo changed. Only on `contact_card.updated`.
5760
+ * Null when the card has no last name.
5601
5761
  */
5602
- photo_updated?: boolean;
5762
+ last_name: string | null;
5603
5763
  }
5604
5764
  /**
5605
5765
  * An environment, identified by name. Production is
@@ -5735,8 +5895,9 @@ export declare namespace ContactCardUpdatedWebhookEvent {
5735
5895
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
5736
5896
  * expired and activated events never carry it. `null` means none: `to: null` means
5737
5897
  * cleared and `from: null` means first set. The value type depends on the event
5738
- * and is given in each event's description. `contact_card.updated` uses `name`
5739
- * instead of `from` and `to`.
5898
+ * and is given in each event's description. `contact_card.updated` uses
5899
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
5900
+ * present only when that field changed.
5740
5901
  */
5741
5902
  change?: Data.Change;
5742
5903
  /**
@@ -5803,10 +5964,9 @@ export declare namespace ContactCardUpdatedWebhookEvent {
5803
5964
  interface APIToken {
5804
5965
  id: string;
5805
5966
  /**
5806
- * When the token expires. On `api_token.created`, `api_token.expired` and
5807
- * `api_token.deleted`; absent if it never expires.
5967
+ * When the token expires; null if it never does.
5808
5968
  */
5809
- expires_at?: string;
5969
+ expires_at: string | null;
5810
5970
  /**
5811
5971
  * Absent when the token has no name.
5812
5972
  */
@@ -5823,19 +5983,30 @@ export declare namespace ContactCardUpdatedWebhookEvent {
5823
5983
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
5824
5984
  * expired and activated events never carry it. `null` means none: `to: null` means
5825
5985
  * cleared and `from: null` means first set. The value type depends on the event
5826
- * and is given in each event's description. `contact_card.updated` uses `name`
5827
- * instead of `from` and `to`.
5986
+ * and is given in each event's description. `contact_card.updated` uses
5987
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
5988
+ * present only when that field changed.
5828
5989
  */
5829
5990
  interface Change {
5991
+ /**
5992
+ * A single field's change, on `contact_card.updated`. Present only for the field
5993
+ * that changed.
5994
+ */
5995
+ first_name?: Change.FirstName;
5830
5996
  /**
5831
5997
  * The value before the change; null when there was none.
5832
5998
  */
5833
5999
  from?: unknown;
5834
6000
  /**
5835
- * A contact card name change. Only on `contact_card.updated`, when the name
5836
- * changed.
6001
+ * A single field's change, on `contact_card.updated`. Present only for the field
6002
+ * that changed.
6003
+ */
6004
+ image_url?: Change.ImageURL;
6005
+ /**
6006
+ * A single field's change, on `contact_card.updated`. Present only for the field
6007
+ * that changed.
5837
6008
  */
5838
- name?: Change.Name;
6009
+ last_name?: Change.LastName;
5839
6010
  /**
5840
6011
  * The value after the change; null when it was cleared.
5841
6012
  */
@@ -5843,16 +6014,44 @@ export declare namespace ContactCardUpdatedWebhookEvent {
5843
6014
  }
5844
6015
  namespace Change {
5845
6016
  /**
5846
- * A contact card name change. Only on `contact_card.updated`, when the name
5847
- * changed.
6017
+ * A single field's change, on `contact_card.updated`. Present only for the field
6018
+ * that changed.
5848
6019
  */
5849
- interface Name {
6020
+ interface FirstName {
5850
6021
  /**
5851
- * The name before the change; null when the card had no name.
6022
+ * The value before the change; null when the card had none.
5852
6023
  */
5853
6024
  from: string | null;
5854
6025
  /**
5855
- * The name after the change; null when it was removed.
6026
+ * The value after the change; null when it was removed.
6027
+ */
6028
+ to: string | null;
6029
+ }
6030
+ /**
6031
+ * A single field's change, on `contact_card.updated`. Present only for the field
6032
+ * that changed.
6033
+ */
6034
+ interface ImageURL {
6035
+ /**
6036
+ * The value before the change; null when the card had none.
6037
+ */
6038
+ from: string | null;
6039
+ /**
6040
+ * The value after the change; null when it was removed.
6041
+ */
6042
+ to: string | null;
6043
+ }
6044
+ /**
6045
+ * A single field's change, on `contact_card.updated`. Present only for the field
6046
+ * that changed.
6047
+ */
6048
+ interface LastName {
6049
+ /**
6050
+ * The value before the change; null when the card had none.
6051
+ */
6052
+ from: string | null;
6053
+ /**
6054
+ * The value after the change; null when it was removed.
5856
6055
  */
5857
6056
  to: string | null;
5858
6057
  }
@@ -5862,14 +6061,15 @@ export declare namespace ContactCardUpdatedWebhookEvent {
5862
6061
  */
5863
6062
  interface ContactCard {
5864
6063
  id: string;
6064
+ first_name: string;
5865
6065
  /**
5866
- * Display name. Absent when the card has no name.
6066
+ * Null when the card has no photo.
5867
6067
  */
5868
- name?: string;
6068
+ image_url: string | null;
5869
6069
  /**
5870
- * True when the photo changed. Only on `contact_card.updated`.
6070
+ * Null when the card has no last name.
5871
6071
  */
5872
- photo_updated?: boolean;
6072
+ last_name: string | null;
5873
6073
  }
5874
6074
  /**
5875
6075
  * An environment, identified by name. Production is
@@ -6005,8 +6205,9 @@ export declare namespace ContactCardDeletedWebhookEvent {
6005
6205
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
6006
6206
  * expired and activated events never carry it. `null` means none: `to: null` means
6007
6207
  * cleared and `from: null` means first set. The value type depends on the event
6008
- * and is given in each event's description. `contact_card.updated` uses `name`
6009
- * instead of `from` and `to`.
6208
+ * and is given in each event's description. `contact_card.updated` uses
6209
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
6210
+ * present only when that field changed.
6010
6211
  */
6011
6212
  change?: Data.Change;
6012
6213
  /**
@@ -6073,10 +6274,9 @@ export declare namespace ContactCardDeletedWebhookEvent {
6073
6274
  interface APIToken {
6074
6275
  id: string;
6075
6276
  /**
6076
- * When the token expires. On `api_token.created`, `api_token.expired` and
6077
- * `api_token.deleted`; absent if it never expires.
6277
+ * When the token expires; null if it never does.
6078
6278
  */
6079
- expires_at?: string;
6279
+ expires_at: string | null;
6080
6280
  /**
6081
6281
  * Absent when the token has no name.
6082
6282
  */
@@ -6093,19 +6293,30 @@ export declare namespace ContactCardDeletedWebhookEvent {
6093
6293
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
6094
6294
  * expired and activated events never carry it. `null` means none: `to: null` means
6095
6295
  * cleared and `from: null` means first set. The value type depends on the event
6096
- * and is given in each event's description. `contact_card.updated` uses `name`
6097
- * instead of `from` and `to`.
6296
+ * and is given in each event's description. `contact_card.updated` uses
6297
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
6298
+ * present only when that field changed.
6098
6299
  */
6099
6300
  interface Change {
6301
+ /**
6302
+ * A single field's change, on `contact_card.updated`. Present only for the field
6303
+ * that changed.
6304
+ */
6305
+ first_name?: Change.FirstName;
6100
6306
  /**
6101
6307
  * The value before the change; null when there was none.
6102
6308
  */
6103
6309
  from?: unknown;
6104
6310
  /**
6105
- * A contact card name change. Only on `contact_card.updated`, when the name
6106
- * changed.
6311
+ * A single field's change, on `contact_card.updated`. Present only for the field
6312
+ * that changed.
6313
+ */
6314
+ image_url?: Change.ImageURL;
6315
+ /**
6316
+ * A single field's change, on `contact_card.updated`. Present only for the field
6317
+ * that changed.
6107
6318
  */
6108
- name?: Change.Name;
6319
+ last_name?: Change.LastName;
6109
6320
  /**
6110
6321
  * The value after the change; null when it was cleared.
6111
6322
  */
@@ -6113,16 +6324,44 @@ export declare namespace ContactCardDeletedWebhookEvent {
6113
6324
  }
6114
6325
  namespace Change {
6115
6326
  /**
6116
- * A contact card name change. Only on `contact_card.updated`, when the name
6117
- * changed.
6327
+ * A single field's change, on `contact_card.updated`. Present only for the field
6328
+ * that changed.
6118
6329
  */
6119
- interface Name {
6330
+ interface FirstName {
6120
6331
  /**
6121
- * The name before the change; null when the card had no name.
6332
+ * The value before the change; null when the card had none.
6122
6333
  */
6123
6334
  from: string | null;
6124
6335
  /**
6125
- * The name after the change; null when it was removed.
6336
+ * The value after the change; null when it was removed.
6337
+ */
6338
+ to: string | null;
6339
+ }
6340
+ /**
6341
+ * A single field's change, on `contact_card.updated`. Present only for the field
6342
+ * that changed.
6343
+ */
6344
+ interface ImageURL {
6345
+ /**
6346
+ * The value before the change; null when the card had none.
6347
+ */
6348
+ from: string | null;
6349
+ /**
6350
+ * The value after the change; null when it was removed.
6351
+ */
6352
+ to: string | null;
6353
+ }
6354
+ /**
6355
+ * A single field's change, on `contact_card.updated`. Present only for the field
6356
+ * that changed.
6357
+ */
6358
+ interface LastName {
6359
+ /**
6360
+ * The value before the change; null when the card had none.
6361
+ */
6362
+ from: string | null;
6363
+ /**
6364
+ * The value after the change; null when it was removed.
6126
6365
  */
6127
6366
  to: string | null;
6128
6367
  }
@@ -6132,14 +6371,15 @@ export declare namespace ContactCardDeletedWebhookEvent {
6132
6371
  */
6133
6372
  interface ContactCard {
6134
6373
  id: string;
6374
+ first_name: string;
6135
6375
  /**
6136
- * Display name. Absent when the card has no name.
6376
+ * Null when the card has no photo.
6137
6377
  */
6138
- name?: string;
6378
+ image_url: string | null;
6139
6379
  /**
6140
- * True when the photo changed. Only on `contact_card.updated`.
6380
+ * Null when the card has no last name.
6141
6381
  */
6142
- photo_updated?: boolean;
6382
+ last_name: string | null;
6143
6383
  }
6144
6384
  /**
6145
6385
  * An environment, identified by name. Production is
@@ -6275,8 +6515,9 @@ export declare namespace APITokenCreatedWebhookEvent {
6275
6515
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
6276
6516
  * expired and activated events never carry it. `null` means none: `to: null` means
6277
6517
  * cleared and `from: null` means first set. The value type depends on the event
6278
- * and is given in each event's description. `contact_card.updated` uses `name`
6279
- * instead of `from` and `to`.
6518
+ * and is given in each event's description. `contact_card.updated` uses
6519
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
6520
+ * present only when that field changed.
6280
6521
  */
6281
6522
  change?: Data.Change;
6282
6523
  /**
@@ -6343,10 +6584,9 @@ export declare namespace APITokenCreatedWebhookEvent {
6343
6584
  interface APIToken {
6344
6585
  id: string;
6345
6586
  /**
6346
- * When the token expires. On `api_token.created`, `api_token.expired` and
6347
- * `api_token.deleted`; absent if it never expires.
6587
+ * When the token expires; null if it never does.
6348
6588
  */
6349
- expires_at?: string;
6589
+ expires_at: string | null;
6350
6590
  /**
6351
6591
  * Absent when the token has no name.
6352
6592
  */
@@ -6363,19 +6603,30 @@ export declare namespace APITokenCreatedWebhookEvent {
6363
6603
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
6364
6604
  * expired and activated events never carry it. `null` means none: `to: null` means
6365
6605
  * cleared and `from: null` means first set. The value type depends on the event
6366
- * and is given in each event's description. `contact_card.updated` uses `name`
6367
- * instead of `from` and `to`.
6606
+ * and is given in each event's description. `contact_card.updated` uses
6607
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
6608
+ * present only when that field changed.
6368
6609
  */
6369
6610
  interface Change {
6611
+ /**
6612
+ * A single field's change, on `contact_card.updated`. Present only for the field
6613
+ * that changed.
6614
+ */
6615
+ first_name?: Change.FirstName;
6370
6616
  /**
6371
6617
  * The value before the change; null when there was none.
6372
6618
  */
6373
6619
  from?: unknown;
6374
6620
  /**
6375
- * A contact card name change. Only on `contact_card.updated`, when the name
6376
- * changed.
6621
+ * A single field's change, on `contact_card.updated`. Present only for the field
6622
+ * that changed.
6623
+ */
6624
+ image_url?: Change.ImageURL;
6625
+ /**
6626
+ * A single field's change, on `contact_card.updated`. Present only for the field
6627
+ * that changed.
6377
6628
  */
6378
- name?: Change.Name;
6629
+ last_name?: Change.LastName;
6379
6630
  /**
6380
6631
  * The value after the change; null when it was cleared.
6381
6632
  */
@@ -6383,16 +6634,44 @@ export declare namespace APITokenCreatedWebhookEvent {
6383
6634
  }
6384
6635
  namespace Change {
6385
6636
  /**
6386
- * A contact card name change. Only on `contact_card.updated`, when the name
6387
- * changed.
6637
+ * A single field's change, on `contact_card.updated`. Present only for the field
6638
+ * that changed.
6388
6639
  */
6389
- interface Name {
6640
+ interface FirstName {
6390
6641
  /**
6391
- * The name before the change; null when the card had no name.
6642
+ * The value before the change; null when the card had none.
6392
6643
  */
6393
6644
  from: string | null;
6394
6645
  /**
6395
- * The name after the change; null when it was removed.
6646
+ * The value after the change; null when it was removed.
6647
+ */
6648
+ to: string | null;
6649
+ }
6650
+ /**
6651
+ * A single field's change, on `contact_card.updated`. Present only for the field
6652
+ * that changed.
6653
+ */
6654
+ interface ImageURL {
6655
+ /**
6656
+ * The value before the change; null when the card had none.
6657
+ */
6658
+ from: string | null;
6659
+ /**
6660
+ * The value after the change; null when it was removed.
6661
+ */
6662
+ to: string | null;
6663
+ }
6664
+ /**
6665
+ * A single field's change, on `contact_card.updated`. Present only for the field
6666
+ * that changed.
6667
+ */
6668
+ interface LastName {
6669
+ /**
6670
+ * The value before the change; null when the card had none.
6671
+ */
6672
+ from: string | null;
6673
+ /**
6674
+ * The value after the change; null when it was removed.
6396
6675
  */
6397
6676
  to: string | null;
6398
6677
  }
@@ -6402,14 +6681,15 @@ export declare namespace APITokenCreatedWebhookEvent {
6402
6681
  */
6403
6682
  interface ContactCard {
6404
6683
  id: string;
6684
+ first_name: string;
6405
6685
  /**
6406
- * Display name. Absent when the card has no name.
6686
+ * Null when the card has no photo.
6407
6687
  */
6408
- name?: string;
6688
+ image_url: string | null;
6409
6689
  /**
6410
- * True when the photo changed. Only on `contact_card.updated`.
6690
+ * Null when the card has no last name.
6411
6691
  */
6412
- photo_updated?: boolean;
6692
+ last_name: string | null;
6413
6693
  }
6414
6694
  /**
6415
6695
  * An environment, identified by name. Production is
@@ -6545,8 +6825,9 @@ export declare namespace APITokenRenamedWebhookEvent {
6545
6825
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
6546
6826
  * expired and activated events never carry it. `null` means none: `to: null` means
6547
6827
  * cleared and `from: null` means first set. The value type depends on the event
6548
- * and is given in each event's description. `contact_card.updated` uses `name`
6549
- * instead of `from` and `to`.
6828
+ * and is given in each event's description. `contact_card.updated` uses
6829
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
6830
+ * present only when that field changed.
6550
6831
  */
6551
6832
  change?: Data.Change;
6552
6833
  /**
@@ -6613,10 +6894,9 @@ export declare namespace APITokenRenamedWebhookEvent {
6613
6894
  interface APIToken {
6614
6895
  id: string;
6615
6896
  /**
6616
- * When the token expires. On `api_token.created`, `api_token.expired` and
6617
- * `api_token.deleted`; absent if it never expires.
6897
+ * When the token expires; null if it never does.
6618
6898
  */
6619
- expires_at?: string;
6899
+ expires_at: string | null;
6620
6900
  /**
6621
6901
  * Absent when the token has no name.
6622
6902
  */
@@ -6633,19 +6913,30 @@ export declare namespace APITokenRenamedWebhookEvent {
6633
6913
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
6634
6914
  * expired and activated events never carry it. `null` means none: `to: null` means
6635
6915
  * cleared and `from: null` means first set. The value type depends on the event
6636
- * and is given in each event's description. `contact_card.updated` uses `name`
6637
- * instead of `from` and `to`.
6916
+ * and is given in each event's description. `contact_card.updated` uses
6917
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
6918
+ * present only when that field changed.
6638
6919
  */
6639
6920
  interface Change {
6921
+ /**
6922
+ * A single field's change, on `contact_card.updated`. Present only for the field
6923
+ * that changed.
6924
+ */
6925
+ first_name?: Change.FirstName;
6640
6926
  /**
6641
6927
  * The value before the change; null when there was none.
6642
6928
  */
6643
6929
  from?: unknown;
6644
6930
  /**
6645
- * A contact card name change. Only on `contact_card.updated`, when the name
6646
- * changed.
6931
+ * A single field's change, on `contact_card.updated`. Present only for the field
6932
+ * that changed.
6933
+ */
6934
+ image_url?: Change.ImageURL;
6935
+ /**
6936
+ * A single field's change, on `contact_card.updated`. Present only for the field
6937
+ * that changed.
6647
6938
  */
6648
- name?: Change.Name;
6939
+ last_name?: Change.LastName;
6649
6940
  /**
6650
6941
  * The value after the change; null when it was cleared.
6651
6942
  */
@@ -6653,16 +6944,44 @@ export declare namespace APITokenRenamedWebhookEvent {
6653
6944
  }
6654
6945
  namespace Change {
6655
6946
  /**
6656
- * A contact card name change. Only on `contact_card.updated`, when the name
6657
- * changed.
6947
+ * A single field's change, on `contact_card.updated`. Present only for the field
6948
+ * that changed.
6949
+ */
6950
+ interface FirstName {
6951
+ /**
6952
+ * The value before the change; null when the card had none.
6953
+ */
6954
+ from: string | null;
6955
+ /**
6956
+ * The value after the change; null when it was removed.
6957
+ */
6958
+ to: string | null;
6959
+ }
6960
+ /**
6961
+ * A single field's change, on `contact_card.updated`. Present only for the field
6962
+ * that changed.
6963
+ */
6964
+ interface ImageURL {
6965
+ /**
6966
+ * The value before the change; null when the card had none.
6967
+ */
6968
+ from: string | null;
6969
+ /**
6970
+ * The value after the change; null when it was removed.
6971
+ */
6972
+ to: string | null;
6973
+ }
6974
+ /**
6975
+ * A single field's change, on `contact_card.updated`. Present only for the field
6976
+ * that changed.
6658
6977
  */
6659
- interface Name {
6978
+ interface LastName {
6660
6979
  /**
6661
- * The name before the change; null when the card had no name.
6980
+ * The value before the change; null when the card had none.
6662
6981
  */
6663
6982
  from: string | null;
6664
6983
  /**
6665
- * The name after the change; null when it was removed.
6984
+ * The value after the change; null when it was removed.
6666
6985
  */
6667
6986
  to: string | null;
6668
6987
  }
@@ -6672,14 +6991,15 @@ export declare namespace APITokenRenamedWebhookEvent {
6672
6991
  */
6673
6992
  interface ContactCard {
6674
6993
  id: string;
6994
+ first_name: string;
6675
6995
  /**
6676
- * Display name. Absent when the card has no name.
6996
+ * Null when the card has no photo.
6677
6997
  */
6678
- name?: string;
6998
+ image_url: string | null;
6679
6999
  /**
6680
- * True when the photo changed. Only on `contact_card.updated`.
7000
+ * Null when the card has no last name.
6681
7001
  */
6682
- photo_updated?: boolean;
7002
+ last_name: string | null;
6683
7003
  }
6684
7004
  /**
6685
7005
  * An environment, identified by name. Production is
@@ -6815,8 +7135,9 @@ export declare namespace APITokenExpiryScheduledWebhookEvent {
6815
7135
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
6816
7136
  * expired and activated events never carry it. `null` means none: `to: null` means
6817
7137
  * cleared and `from: null` means first set. The value type depends on the event
6818
- * and is given in each event's description. `contact_card.updated` uses `name`
6819
- * instead of `from` and `to`.
7138
+ * and is given in each event's description. `contact_card.updated` uses
7139
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
7140
+ * present only when that field changed.
6820
7141
  */
6821
7142
  change?: Data.Change;
6822
7143
  /**
@@ -6883,10 +7204,9 @@ export declare namespace APITokenExpiryScheduledWebhookEvent {
6883
7204
  interface APIToken {
6884
7205
  id: string;
6885
7206
  /**
6886
- * When the token expires. On `api_token.created`, `api_token.expired` and
6887
- * `api_token.deleted`; absent if it never expires.
7207
+ * When the token expires; null if it never does.
6888
7208
  */
6889
- expires_at?: string;
7209
+ expires_at: string | null;
6890
7210
  /**
6891
7211
  * Absent when the token has no name.
6892
7212
  */
@@ -6903,19 +7223,30 @@ export declare namespace APITokenExpiryScheduledWebhookEvent {
6903
7223
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
6904
7224
  * expired and activated events never carry it. `null` means none: `to: null` means
6905
7225
  * cleared and `from: null` means first set. The value type depends on the event
6906
- * and is given in each event's description. `contact_card.updated` uses `name`
6907
- * instead of `from` and `to`.
7226
+ * and is given in each event's description. `contact_card.updated` uses
7227
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
7228
+ * present only when that field changed.
6908
7229
  */
6909
7230
  interface Change {
7231
+ /**
7232
+ * A single field's change, on `contact_card.updated`. Present only for the field
7233
+ * that changed.
7234
+ */
7235
+ first_name?: Change.FirstName;
6910
7236
  /**
6911
7237
  * The value before the change; null when there was none.
6912
7238
  */
6913
7239
  from?: unknown;
6914
7240
  /**
6915
- * A contact card name change. Only on `contact_card.updated`, when the name
6916
- * changed.
7241
+ * A single field's change, on `contact_card.updated`. Present only for the field
7242
+ * that changed.
6917
7243
  */
6918
- name?: Change.Name;
7244
+ image_url?: Change.ImageURL;
7245
+ /**
7246
+ * A single field's change, on `contact_card.updated`. Present only for the field
7247
+ * that changed.
7248
+ */
7249
+ last_name?: Change.LastName;
6919
7250
  /**
6920
7251
  * The value after the change; null when it was cleared.
6921
7252
  */
@@ -6923,16 +7254,44 @@ export declare namespace APITokenExpiryScheduledWebhookEvent {
6923
7254
  }
6924
7255
  namespace Change {
6925
7256
  /**
6926
- * A contact card name change. Only on `contact_card.updated`, when the name
6927
- * changed.
7257
+ * A single field's change, on `contact_card.updated`. Present only for the field
7258
+ * that changed.
7259
+ */
7260
+ interface FirstName {
7261
+ /**
7262
+ * The value before the change; null when the card had none.
7263
+ */
7264
+ from: string | null;
7265
+ /**
7266
+ * The value after the change; null when it was removed.
7267
+ */
7268
+ to: string | null;
7269
+ }
7270
+ /**
7271
+ * A single field's change, on `contact_card.updated`. Present only for the field
7272
+ * that changed.
7273
+ */
7274
+ interface ImageURL {
7275
+ /**
7276
+ * The value before the change; null when the card had none.
7277
+ */
7278
+ from: string | null;
7279
+ /**
7280
+ * The value after the change; null when it was removed.
7281
+ */
7282
+ to: string | null;
7283
+ }
7284
+ /**
7285
+ * A single field's change, on `contact_card.updated`. Present only for the field
7286
+ * that changed.
6928
7287
  */
6929
- interface Name {
7288
+ interface LastName {
6930
7289
  /**
6931
- * The name before the change; null when the card had no name.
7290
+ * The value before the change; null when the card had none.
6932
7291
  */
6933
7292
  from: string | null;
6934
7293
  /**
6935
- * The name after the change; null when it was removed.
7294
+ * The value after the change; null when it was removed.
6936
7295
  */
6937
7296
  to: string | null;
6938
7297
  }
@@ -6942,14 +7301,15 @@ export declare namespace APITokenExpiryScheduledWebhookEvent {
6942
7301
  */
6943
7302
  interface ContactCard {
6944
7303
  id: string;
7304
+ first_name: string;
6945
7305
  /**
6946
- * Display name. Absent when the card has no name.
7306
+ * Null when the card has no photo.
6947
7307
  */
6948
- name?: string;
7308
+ image_url: string | null;
6949
7309
  /**
6950
- * True when the photo changed. Only on `contact_card.updated`.
7310
+ * Null when the card has no last name.
6951
7311
  */
6952
- photo_updated?: boolean;
7312
+ last_name: string | null;
6953
7313
  }
6954
7314
  /**
6955
7315
  * An environment, identified by name. Production is
@@ -7085,8 +7445,9 @@ export declare namespace APITokenExpiredWebhookEvent {
7085
7445
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7086
7446
  * expired and activated events never carry it. `null` means none: `to: null` means
7087
7447
  * cleared and `from: null` means first set. The value type depends on the event
7088
- * and is given in each event's description. `contact_card.updated` uses `name`
7089
- * instead of `from` and `to`.
7448
+ * and is given in each event's description. `contact_card.updated` uses
7449
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
7450
+ * present only when that field changed.
7090
7451
  */
7091
7452
  change?: Data.Change;
7092
7453
  /**
@@ -7153,10 +7514,9 @@ export declare namespace APITokenExpiredWebhookEvent {
7153
7514
  interface APIToken {
7154
7515
  id: string;
7155
7516
  /**
7156
- * When the token expires. On `api_token.created`, `api_token.expired` and
7157
- * `api_token.deleted`; absent if it never expires.
7517
+ * When the token expires; null if it never does.
7158
7518
  */
7159
- expires_at?: string;
7519
+ expires_at: string | null;
7160
7520
  /**
7161
7521
  * Absent when the token has no name.
7162
7522
  */
@@ -7173,19 +7533,30 @@ export declare namespace APITokenExpiredWebhookEvent {
7173
7533
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7174
7534
  * expired and activated events never carry it. `null` means none: `to: null` means
7175
7535
  * cleared and `from: null` means first set. The value type depends on the event
7176
- * and is given in each event's description. `contact_card.updated` uses `name`
7177
- * instead of `from` and `to`.
7536
+ * and is given in each event's description. `contact_card.updated` uses
7537
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
7538
+ * present only when that field changed.
7178
7539
  */
7179
7540
  interface Change {
7541
+ /**
7542
+ * A single field's change, on `contact_card.updated`. Present only for the field
7543
+ * that changed.
7544
+ */
7545
+ first_name?: Change.FirstName;
7180
7546
  /**
7181
7547
  * The value before the change; null when there was none.
7182
7548
  */
7183
7549
  from?: unknown;
7184
7550
  /**
7185
- * A contact card name change. Only on `contact_card.updated`, when the name
7186
- * changed.
7551
+ * A single field's change, on `contact_card.updated`. Present only for the field
7552
+ * that changed.
7187
7553
  */
7188
- name?: Change.Name;
7554
+ image_url?: Change.ImageURL;
7555
+ /**
7556
+ * A single field's change, on `contact_card.updated`. Present only for the field
7557
+ * that changed.
7558
+ */
7559
+ last_name?: Change.LastName;
7189
7560
  /**
7190
7561
  * The value after the change; null when it was cleared.
7191
7562
  */
@@ -7193,16 +7564,44 @@ export declare namespace APITokenExpiredWebhookEvent {
7193
7564
  }
7194
7565
  namespace Change {
7195
7566
  /**
7196
- * A contact card name change. Only on `contact_card.updated`, when the name
7197
- * changed.
7567
+ * A single field's change, on `contact_card.updated`. Present only for the field
7568
+ * that changed.
7569
+ */
7570
+ interface FirstName {
7571
+ /**
7572
+ * The value before the change; null when the card had none.
7573
+ */
7574
+ from: string | null;
7575
+ /**
7576
+ * The value after the change; null when it was removed.
7577
+ */
7578
+ to: string | null;
7579
+ }
7580
+ /**
7581
+ * A single field's change, on `contact_card.updated`. Present only for the field
7582
+ * that changed.
7583
+ */
7584
+ interface ImageURL {
7585
+ /**
7586
+ * The value before the change; null when the card had none.
7587
+ */
7588
+ from: string | null;
7589
+ /**
7590
+ * The value after the change; null when it was removed.
7591
+ */
7592
+ to: string | null;
7593
+ }
7594
+ /**
7595
+ * A single field's change, on `contact_card.updated`. Present only for the field
7596
+ * that changed.
7198
7597
  */
7199
- interface Name {
7598
+ interface LastName {
7200
7599
  /**
7201
- * The name before the change; null when the card had no name.
7600
+ * The value before the change; null when the card had none.
7202
7601
  */
7203
7602
  from: string | null;
7204
7603
  /**
7205
- * The name after the change; null when it was removed.
7604
+ * The value after the change; null when it was removed.
7206
7605
  */
7207
7606
  to: string | null;
7208
7607
  }
@@ -7212,14 +7611,15 @@ export declare namespace APITokenExpiredWebhookEvent {
7212
7611
  */
7213
7612
  interface ContactCard {
7214
7613
  id: string;
7614
+ first_name: string;
7215
7615
  /**
7216
- * Display name. Absent when the card has no name.
7616
+ * Null when the card has no photo.
7217
7617
  */
7218
- name?: string;
7618
+ image_url: string | null;
7219
7619
  /**
7220
- * True when the photo changed. Only on `contact_card.updated`.
7620
+ * Null when the card has no last name.
7221
7621
  */
7222
- photo_updated?: boolean;
7622
+ last_name: string | null;
7223
7623
  }
7224
7624
  /**
7225
7625
  * An environment, identified by name. Production is
@@ -7355,8 +7755,9 @@ export declare namespace APITokenActivatedWebhookEvent {
7355
7755
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7356
7756
  * expired and activated events never carry it. `null` means none: `to: null` means
7357
7757
  * cleared and `from: null` means first set. The value type depends on the event
7358
- * and is given in each event's description. `contact_card.updated` uses `name`
7359
- * instead of `from` and `to`.
7758
+ * and is given in each event's description. `contact_card.updated` uses
7759
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
7760
+ * present only when that field changed.
7360
7761
  */
7361
7762
  change?: Data.Change;
7362
7763
  /**
@@ -7423,10 +7824,9 @@ export declare namespace APITokenActivatedWebhookEvent {
7423
7824
  interface APIToken {
7424
7825
  id: string;
7425
7826
  /**
7426
- * When the token expires. On `api_token.created`, `api_token.expired` and
7427
- * `api_token.deleted`; absent if it never expires.
7827
+ * When the token expires; null if it never does.
7428
7828
  */
7429
- expires_at?: string;
7829
+ expires_at: string | null;
7430
7830
  /**
7431
7831
  * Absent when the token has no name.
7432
7832
  */
@@ -7443,19 +7843,30 @@ export declare namespace APITokenActivatedWebhookEvent {
7443
7843
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7444
7844
  * expired and activated events never carry it. `null` means none: `to: null` means
7445
7845
  * cleared and `from: null` means first set. The value type depends on the event
7446
- * and is given in each event's description. `contact_card.updated` uses `name`
7447
- * instead of `from` and `to`.
7846
+ * and is given in each event's description. `contact_card.updated` uses
7847
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
7848
+ * present only when that field changed.
7448
7849
  */
7449
7850
  interface Change {
7851
+ /**
7852
+ * A single field's change, on `contact_card.updated`. Present only for the field
7853
+ * that changed.
7854
+ */
7855
+ first_name?: Change.FirstName;
7450
7856
  /**
7451
7857
  * The value before the change; null when there was none.
7452
7858
  */
7453
7859
  from?: unknown;
7454
7860
  /**
7455
- * A contact card name change. Only on `contact_card.updated`, when the name
7456
- * changed.
7861
+ * A single field's change, on `contact_card.updated`. Present only for the field
7862
+ * that changed.
7457
7863
  */
7458
- name?: Change.Name;
7864
+ image_url?: Change.ImageURL;
7865
+ /**
7866
+ * A single field's change, on `contact_card.updated`. Present only for the field
7867
+ * that changed.
7868
+ */
7869
+ last_name?: Change.LastName;
7459
7870
  /**
7460
7871
  * The value after the change; null when it was cleared.
7461
7872
  */
@@ -7463,16 +7874,44 @@ export declare namespace APITokenActivatedWebhookEvent {
7463
7874
  }
7464
7875
  namespace Change {
7465
7876
  /**
7466
- * A contact card name change. Only on `contact_card.updated`, when the name
7467
- * changed.
7877
+ * A single field's change, on `contact_card.updated`. Present only for the field
7878
+ * that changed.
7879
+ */
7880
+ interface FirstName {
7881
+ /**
7882
+ * The value before the change; null when the card had none.
7883
+ */
7884
+ from: string | null;
7885
+ /**
7886
+ * The value after the change; null when it was removed.
7887
+ */
7888
+ to: string | null;
7889
+ }
7890
+ /**
7891
+ * A single field's change, on `contact_card.updated`. Present only for the field
7892
+ * that changed.
7893
+ */
7894
+ interface ImageURL {
7895
+ /**
7896
+ * The value before the change; null when the card had none.
7897
+ */
7898
+ from: string | null;
7899
+ /**
7900
+ * The value after the change; null when it was removed.
7901
+ */
7902
+ to: string | null;
7903
+ }
7904
+ /**
7905
+ * A single field's change, on `contact_card.updated`. Present only for the field
7906
+ * that changed.
7468
7907
  */
7469
- interface Name {
7908
+ interface LastName {
7470
7909
  /**
7471
- * The name before the change; null when the card had no name.
7910
+ * The value before the change; null when the card had none.
7472
7911
  */
7473
7912
  from: string | null;
7474
7913
  /**
7475
- * The name after the change; null when it was removed.
7914
+ * The value after the change; null when it was removed.
7476
7915
  */
7477
7916
  to: string | null;
7478
7917
  }
@@ -7482,14 +7921,15 @@ export declare namespace APITokenActivatedWebhookEvent {
7482
7921
  */
7483
7922
  interface ContactCard {
7484
7923
  id: string;
7924
+ first_name: string;
7485
7925
  /**
7486
- * Display name. Absent when the card has no name.
7926
+ * Null when the card has no photo.
7487
7927
  */
7488
- name?: string;
7928
+ image_url: string | null;
7489
7929
  /**
7490
- * True when the photo changed. Only on `contact_card.updated`.
7930
+ * Null when the card has no last name.
7491
7931
  */
7492
- photo_updated?: boolean;
7932
+ last_name: string | null;
7493
7933
  }
7494
7934
  /**
7495
7935
  * An environment, identified by name. Production is
@@ -7625,8 +8065,9 @@ export declare namespace APITokenDeletedWebhookEvent {
7625
8065
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7626
8066
  * expired and activated events never carry it. `null` means none: `to: null` means
7627
8067
  * cleared and `from: null` means first set. The value type depends on the event
7628
- * and is given in each event's description. `contact_card.updated` uses `name`
7629
- * instead of `from` and `to`.
8068
+ * and is given in each event's description. `contact_card.updated` uses
8069
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
8070
+ * present only when that field changed.
7630
8071
  */
7631
8072
  change?: Data.Change;
7632
8073
  /**
@@ -7693,10 +8134,9 @@ export declare namespace APITokenDeletedWebhookEvent {
7693
8134
  interface APIToken {
7694
8135
  id: string;
7695
8136
  /**
7696
- * When the token expires. On `api_token.created`, `api_token.expired` and
7697
- * `api_token.deleted`; absent if it never expires.
8137
+ * When the token expires; null if it never does.
7698
8138
  */
7699
- expires_at?: string;
8139
+ expires_at: string | null;
7700
8140
  /**
7701
8141
  * Absent when the token has no name.
7702
8142
  */
@@ -7713,19 +8153,30 @@ export declare namespace APITokenDeletedWebhookEvent {
7713
8153
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7714
8154
  * expired and activated events never carry it. `null` means none: `to: null` means
7715
8155
  * cleared and `from: null` means first set. The value type depends on the event
7716
- * and is given in each event's description. `contact_card.updated` uses `name`
7717
- * instead of `from` and `to`.
8156
+ * and is given in each event's description. `contact_card.updated` uses
8157
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
8158
+ * present only when that field changed.
7718
8159
  */
7719
8160
  interface Change {
8161
+ /**
8162
+ * A single field's change, on `contact_card.updated`. Present only for the field
8163
+ * that changed.
8164
+ */
8165
+ first_name?: Change.FirstName;
7720
8166
  /**
7721
8167
  * The value before the change; null when there was none.
7722
8168
  */
7723
8169
  from?: unknown;
7724
8170
  /**
7725
- * A contact card name change. Only on `contact_card.updated`, when the name
7726
- * changed.
8171
+ * A single field's change, on `contact_card.updated`. Present only for the field
8172
+ * that changed.
7727
8173
  */
7728
- name?: Change.Name;
8174
+ image_url?: Change.ImageURL;
8175
+ /**
8176
+ * A single field's change, on `contact_card.updated`. Present only for the field
8177
+ * that changed.
8178
+ */
8179
+ last_name?: Change.LastName;
7729
8180
  /**
7730
8181
  * The value after the change; null when it was cleared.
7731
8182
  */
@@ -7733,16 +8184,44 @@ export declare namespace APITokenDeletedWebhookEvent {
7733
8184
  }
7734
8185
  namespace Change {
7735
8186
  /**
7736
- * A contact card name change. Only on `contact_card.updated`, when the name
7737
- * changed.
8187
+ * A single field's change, on `contact_card.updated`. Present only for the field
8188
+ * that changed.
8189
+ */
8190
+ interface FirstName {
8191
+ /**
8192
+ * The value before the change; null when the card had none.
8193
+ */
8194
+ from: string | null;
8195
+ /**
8196
+ * The value after the change; null when it was removed.
8197
+ */
8198
+ to: string | null;
8199
+ }
8200
+ /**
8201
+ * A single field's change, on `contact_card.updated`. Present only for the field
8202
+ * that changed.
8203
+ */
8204
+ interface ImageURL {
8205
+ /**
8206
+ * The value before the change; null when the card had none.
8207
+ */
8208
+ from: string | null;
8209
+ /**
8210
+ * The value after the change; null when it was removed.
8211
+ */
8212
+ to: string | null;
8213
+ }
8214
+ /**
8215
+ * A single field's change, on `contact_card.updated`. Present only for the field
8216
+ * that changed.
7738
8217
  */
7739
- interface Name {
8218
+ interface LastName {
7740
8219
  /**
7741
- * The name before the change; null when the card had no name.
8220
+ * The value before the change; null when the card had none.
7742
8221
  */
7743
8222
  from: string | null;
7744
8223
  /**
7745
- * The name after the change; null when it was removed.
8224
+ * The value after the change; null when it was removed.
7746
8225
  */
7747
8226
  to: string | null;
7748
8227
  }
@@ -7752,14 +8231,15 @@ export declare namespace APITokenDeletedWebhookEvent {
7752
8231
  */
7753
8232
  interface ContactCard {
7754
8233
  id: string;
8234
+ first_name: string;
7755
8235
  /**
7756
- * Display name. Absent when the card has no name.
8236
+ * Null when the card has no photo.
7757
8237
  */
7758
- name?: string;
8238
+ image_url: string | null;
7759
8239
  /**
7760
- * True when the photo changed. Only on `contact_card.updated`.
8240
+ * Null when the card has no last name.
7761
8241
  */
7762
- photo_updated?: boolean;
8242
+ last_name: string | null;
7763
8243
  }
7764
8244
  /**
7765
8245
  * An environment, identified by name. Production is
@@ -7895,8 +8375,9 @@ export declare namespace EnvironmentCreatedWebhookEvent {
7895
8375
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7896
8376
  * expired and activated events never carry it. `null` means none: `to: null` means
7897
8377
  * cleared and `from: null` means first set. The value type depends on the event
7898
- * and is given in each event's description. `contact_card.updated` uses `name`
7899
- * instead of `from` and `to`.
8378
+ * and is given in each event's description. `contact_card.updated` uses
8379
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
8380
+ * present only when that field changed.
7900
8381
  */
7901
8382
  change?: Data.Change;
7902
8383
  /**
@@ -7963,10 +8444,9 @@ export declare namespace EnvironmentCreatedWebhookEvent {
7963
8444
  interface APIToken {
7964
8445
  id: string;
7965
8446
  /**
7966
- * When the token expires. On `api_token.created`, `api_token.expired` and
7967
- * `api_token.deleted`; absent if it never expires.
8447
+ * When the token expires; null if it never does.
7968
8448
  */
7969
- expires_at?: string;
8449
+ expires_at: string | null;
7970
8450
  /**
7971
8451
  * Absent when the token has no name.
7972
8452
  */
@@ -7983,19 +8463,30 @@ export declare namespace EnvironmentCreatedWebhookEvent {
7983
8463
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7984
8464
  * expired and activated events never carry it. `null` means none: `to: null` means
7985
8465
  * cleared and `from: null` means first set. The value type depends on the event
7986
- * and is given in each event's description. `contact_card.updated` uses `name`
7987
- * instead of `from` and `to`.
8466
+ * and is given in each event's description. `contact_card.updated` uses
8467
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
8468
+ * present only when that field changed.
7988
8469
  */
7989
8470
  interface Change {
8471
+ /**
8472
+ * A single field's change, on `contact_card.updated`. Present only for the field
8473
+ * that changed.
8474
+ */
8475
+ first_name?: Change.FirstName;
7990
8476
  /**
7991
8477
  * The value before the change; null when there was none.
7992
8478
  */
7993
8479
  from?: unknown;
7994
8480
  /**
7995
- * A contact card name change. Only on `contact_card.updated`, when the name
7996
- * changed.
8481
+ * A single field's change, on `contact_card.updated`. Present only for the field
8482
+ * that changed.
8483
+ */
8484
+ image_url?: Change.ImageURL;
8485
+ /**
8486
+ * A single field's change, on `contact_card.updated`. Present only for the field
8487
+ * that changed.
7997
8488
  */
7998
- name?: Change.Name;
8489
+ last_name?: Change.LastName;
7999
8490
  /**
8000
8491
  * The value after the change; null when it was cleared.
8001
8492
  */
@@ -8003,16 +8494,44 @@ export declare namespace EnvironmentCreatedWebhookEvent {
8003
8494
  }
8004
8495
  namespace Change {
8005
8496
  /**
8006
- * A contact card name change. Only on `contact_card.updated`, when the name
8007
- * changed.
8497
+ * A single field's change, on `contact_card.updated`. Present only for the field
8498
+ * that changed.
8499
+ */
8500
+ interface FirstName {
8501
+ /**
8502
+ * The value before the change; null when the card had none.
8503
+ */
8504
+ from: string | null;
8505
+ /**
8506
+ * The value after the change; null when it was removed.
8507
+ */
8508
+ to: string | null;
8509
+ }
8510
+ /**
8511
+ * A single field's change, on `contact_card.updated`. Present only for the field
8512
+ * that changed.
8513
+ */
8514
+ interface ImageURL {
8515
+ /**
8516
+ * The value before the change; null when the card had none.
8517
+ */
8518
+ from: string | null;
8519
+ /**
8520
+ * The value after the change; null when it was removed.
8521
+ */
8522
+ to: string | null;
8523
+ }
8524
+ /**
8525
+ * A single field's change, on `contact_card.updated`. Present only for the field
8526
+ * that changed.
8008
8527
  */
8009
- interface Name {
8528
+ interface LastName {
8010
8529
  /**
8011
- * The name before the change; null when the card had no name.
8530
+ * The value before the change; null when the card had none.
8012
8531
  */
8013
8532
  from: string | null;
8014
8533
  /**
8015
- * The name after the change; null when it was removed.
8534
+ * The value after the change; null when it was removed.
8016
8535
  */
8017
8536
  to: string | null;
8018
8537
  }
@@ -8022,14 +8541,15 @@ export declare namespace EnvironmentCreatedWebhookEvent {
8022
8541
  */
8023
8542
  interface ContactCard {
8024
8543
  id: string;
8544
+ first_name: string;
8025
8545
  /**
8026
- * Display name. Absent when the card has no name.
8546
+ * Null when the card has no photo.
8027
8547
  */
8028
- name?: string;
8548
+ image_url: string | null;
8029
8549
  /**
8030
- * True when the photo changed. Only on `contact_card.updated`.
8550
+ * Null when the card has no last name.
8031
8551
  */
8032
- photo_updated?: boolean;
8552
+ last_name: string | null;
8033
8553
  }
8034
8554
  /**
8035
8555
  * An environment, identified by name. Production is
@@ -8165,8 +8685,9 @@ export declare namespace EnvironmentRenamedWebhookEvent {
8165
8685
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
8166
8686
  * expired and activated events never carry it. `null` means none: `to: null` means
8167
8687
  * cleared and `from: null` means first set. The value type depends on the event
8168
- * and is given in each event's description. `contact_card.updated` uses `name`
8169
- * instead of `from` and `to`.
8688
+ * and is given in each event's description. `contact_card.updated` uses
8689
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
8690
+ * present only when that field changed.
8170
8691
  */
8171
8692
  change?: Data.Change;
8172
8693
  /**
@@ -8233,10 +8754,9 @@ export declare namespace EnvironmentRenamedWebhookEvent {
8233
8754
  interface APIToken {
8234
8755
  id: string;
8235
8756
  /**
8236
- * When the token expires. On `api_token.created`, `api_token.expired` and
8237
- * `api_token.deleted`; absent if it never expires.
8757
+ * When the token expires; null if it never does.
8238
8758
  */
8239
- expires_at?: string;
8759
+ expires_at: string | null;
8240
8760
  /**
8241
8761
  * Absent when the token has no name.
8242
8762
  */
@@ -8253,19 +8773,30 @@ export declare namespace EnvironmentRenamedWebhookEvent {
8253
8773
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
8254
8774
  * expired and activated events never carry it. `null` means none: `to: null` means
8255
8775
  * cleared and `from: null` means first set. The value type depends on the event
8256
- * and is given in each event's description. `contact_card.updated` uses `name`
8257
- * instead of `from` and `to`.
8776
+ * and is given in each event's description. `contact_card.updated` uses
8777
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
8778
+ * present only when that field changed.
8258
8779
  */
8259
8780
  interface Change {
8781
+ /**
8782
+ * A single field's change, on `contact_card.updated`. Present only for the field
8783
+ * that changed.
8784
+ */
8785
+ first_name?: Change.FirstName;
8260
8786
  /**
8261
8787
  * The value before the change; null when there was none.
8262
8788
  */
8263
8789
  from?: unknown;
8264
8790
  /**
8265
- * A contact card name change. Only on `contact_card.updated`, when the name
8266
- * changed.
8791
+ * A single field's change, on `contact_card.updated`. Present only for the field
8792
+ * that changed.
8793
+ */
8794
+ image_url?: Change.ImageURL;
8795
+ /**
8796
+ * A single field's change, on `contact_card.updated`. Present only for the field
8797
+ * that changed.
8267
8798
  */
8268
- name?: Change.Name;
8799
+ last_name?: Change.LastName;
8269
8800
  /**
8270
8801
  * The value after the change; null when it was cleared.
8271
8802
  */
@@ -8273,16 +8804,44 @@ export declare namespace EnvironmentRenamedWebhookEvent {
8273
8804
  }
8274
8805
  namespace Change {
8275
8806
  /**
8276
- * A contact card name change. Only on `contact_card.updated`, when the name
8277
- * changed.
8807
+ * A single field's change, on `contact_card.updated`. Present only for the field
8808
+ * that changed.
8278
8809
  */
8279
- interface Name {
8810
+ interface FirstName {
8280
8811
  /**
8281
- * The name before the change; null when the card had no name.
8812
+ * The value before the change; null when the card had none.
8282
8813
  */
8283
8814
  from: string | null;
8284
8815
  /**
8285
- * The name after the change; null when it was removed.
8816
+ * The value after the change; null when it was removed.
8817
+ */
8818
+ to: string | null;
8819
+ }
8820
+ /**
8821
+ * A single field's change, on `contact_card.updated`. Present only for the field
8822
+ * that changed.
8823
+ */
8824
+ interface ImageURL {
8825
+ /**
8826
+ * The value before the change; null when the card had none.
8827
+ */
8828
+ from: string | null;
8829
+ /**
8830
+ * The value after the change; null when it was removed.
8831
+ */
8832
+ to: string | null;
8833
+ }
8834
+ /**
8835
+ * A single field's change, on `contact_card.updated`. Present only for the field
8836
+ * that changed.
8837
+ */
8838
+ interface LastName {
8839
+ /**
8840
+ * The value before the change; null when the card had none.
8841
+ */
8842
+ from: string | null;
8843
+ /**
8844
+ * The value after the change; null when it was removed.
8286
8845
  */
8287
8846
  to: string | null;
8288
8847
  }
@@ -8292,14 +8851,15 @@ export declare namespace EnvironmentRenamedWebhookEvent {
8292
8851
  */
8293
8852
  interface ContactCard {
8294
8853
  id: string;
8854
+ first_name: string;
8295
8855
  /**
8296
- * Display name. Absent when the card has no name.
8856
+ * Null when the card has no photo.
8297
8857
  */
8298
- name?: string;
8858
+ image_url: string | null;
8299
8859
  /**
8300
- * True when the photo changed. Only on `contact_card.updated`.
8860
+ * Null when the card has no last name.
8301
8861
  */
8302
- photo_updated?: boolean;
8862
+ last_name: string | null;
8303
8863
  }
8304
8864
  /**
8305
8865
  * An environment, identified by name. Production is
@@ -8435,8 +8995,9 @@ export declare namespace EnvironmentDeletedWebhookEvent {
8435
8995
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
8436
8996
  * expired and activated events never carry it. `null` means none: `to: null` means
8437
8997
  * cleared and `from: null` means first set. The value type depends on the event
8438
- * and is given in each event's description. `contact_card.updated` uses `name`
8439
- * instead of `from` and `to`.
8998
+ * and is given in each event's description. `contact_card.updated` uses
8999
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
9000
+ * present only when that field changed.
8440
9001
  */
8441
9002
  change?: Data.Change;
8442
9003
  /**
@@ -8503,10 +9064,9 @@ export declare namespace EnvironmentDeletedWebhookEvent {
8503
9064
  interface APIToken {
8504
9065
  id: string;
8505
9066
  /**
8506
- * When the token expires. On `api_token.created`, `api_token.expired` and
8507
- * `api_token.deleted`; absent if it never expires.
9067
+ * When the token expires; null if it never does.
8508
9068
  */
8509
- expires_at?: string;
9069
+ expires_at: string | null;
8510
9070
  /**
8511
9071
  * Absent when the token has no name.
8512
9072
  */
@@ -8523,19 +9083,30 @@ export declare namespace EnvironmentDeletedWebhookEvent {
8523
9083
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
8524
9084
  * expired and activated events never carry it. `null` means none: `to: null` means
8525
9085
  * cleared and `from: null` means first set. The value type depends on the event
8526
- * and is given in each event's description. `contact_card.updated` uses `name`
8527
- * instead of `from` and `to`.
9086
+ * and is given in each event's description. `contact_card.updated` uses
9087
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
9088
+ * present only when that field changed.
8528
9089
  */
8529
9090
  interface Change {
9091
+ /**
9092
+ * A single field's change, on `contact_card.updated`. Present only for the field
9093
+ * that changed.
9094
+ */
9095
+ first_name?: Change.FirstName;
8530
9096
  /**
8531
9097
  * The value before the change; null when there was none.
8532
9098
  */
8533
9099
  from?: unknown;
8534
9100
  /**
8535
- * A contact card name change. Only on `contact_card.updated`, when the name
8536
- * changed.
9101
+ * A single field's change, on `contact_card.updated`. Present only for the field
9102
+ * that changed.
9103
+ */
9104
+ image_url?: Change.ImageURL;
9105
+ /**
9106
+ * A single field's change, on `contact_card.updated`. Present only for the field
9107
+ * that changed.
8537
9108
  */
8538
- name?: Change.Name;
9109
+ last_name?: Change.LastName;
8539
9110
  /**
8540
9111
  * The value after the change; null when it was cleared.
8541
9112
  */
@@ -8543,16 +9114,44 @@ export declare namespace EnvironmentDeletedWebhookEvent {
8543
9114
  }
8544
9115
  namespace Change {
8545
9116
  /**
8546
- * A contact card name change. Only on `contact_card.updated`, when the name
8547
- * changed.
9117
+ * A single field's change, on `contact_card.updated`. Present only for the field
9118
+ * that changed.
8548
9119
  */
8549
- interface Name {
9120
+ interface FirstName {
8550
9121
  /**
8551
- * The name before the change; null when the card had no name.
9122
+ * The value before the change; null when the card had none.
8552
9123
  */
8553
9124
  from: string | null;
8554
9125
  /**
8555
- * The name after the change; null when it was removed.
9126
+ * The value after the change; null when it was removed.
9127
+ */
9128
+ to: string | null;
9129
+ }
9130
+ /**
9131
+ * A single field's change, on `contact_card.updated`. Present only for the field
9132
+ * that changed.
9133
+ */
9134
+ interface ImageURL {
9135
+ /**
9136
+ * The value before the change; null when the card had none.
9137
+ */
9138
+ from: string | null;
9139
+ /**
9140
+ * The value after the change; null when it was removed.
9141
+ */
9142
+ to: string | null;
9143
+ }
9144
+ /**
9145
+ * A single field's change, on `contact_card.updated`. Present only for the field
9146
+ * that changed.
9147
+ */
9148
+ interface LastName {
9149
+ /**
9150
+ * The value before the change; null when the card had none.
9151
+ */
9152
+ from: string | null;
9153
+ /**
9154
+ * The value after the change; null when it was removed.
8556
9155
  */
8557
9156
  to: string | null;
8558
9157
  }
@@ -8562,14 +9161,15 @@ export declare namespace EnvironmentDeletedWebhookEvent {
8562
9161
  */
8563
9162
  interface ContactCard {
8564
9163
  id: string;
9164
+ first_name: string;
8565
9165
  /**
8566
- * Display name. Absent when the card has no name.
9166
+ * Null when the card has no photo.
8567
9167
  */
8568
- name?: string;
9168
+ image_url: string | null;
8569
9169
  /**
8570
- * True when the photo changed. Only on `contact_card.updated`.
9170
+ * Null when the card has no last name.
8571
9171
  */
8572
- photo_updated?: boolean;
9172
+ last_name: string | null;
8573
9173
  }
8574
9174
  /**
8575
9175
  * An environment, identified by name. Production is
@@ -8705,8 +9305,9 @@ export declare namespace WebhookSubscriptionCreatedWebhookEvent {
8705
9305
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
8706
9306
  * expired and activated events never carry it. `null` means none: `to: null` means
8707
9307
  * cleared and `from: null` means first set. The value type depends on the event
8708
- * and is given in each event's description. `contact_card.updated` uses `name`
8709
- * instead of `from` and `to`.
9308
+ * and is given in each event's description. `contact_card.updated` uses
9309
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
9310
+ * present only when that field changed.
8710
9311
  */
8711
9312
  change?: Data.Change;
8712
9313
  /**
@@ -8773,10 +9374,9 @@ export declare namespace WebhookSubscriptionCreatedWebhookEvent {
8773
9374
  interface APIToken {
8774
9375
  id: string;
8775
9376
  /**
8776
- * When the token expires. On `api_token.created`, `api_token.expired` and
8777
- * `api_token.deleted`; absent if it never expires.
9377
+ * When the token expires; null if it never does.
8778
9378
  */
8779
- expires_at?: string;
9379
+ expires_at: string | null;
8780
9380
  /**
8781
9381
  * Absent when the token has no name.
8782
9382
  */
@@ -8793,19 +9393,30 @@ export declare namespace WebhookSubscriptionCreatedWebhookEvent {
8793
9393
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
8794
9394
  * expired and activated events never carry it. `null` means none: `to: null` means
8795
9395
  * cleared and `from: null` means first set. The value type depends on the event
8796
- * and is given in each event's description. `contact_card.updated` uses `name`
8797
- * instead of `from` and `to`.
9396
+ * and is given in each event's description. `contact_card.updated` uses
9397
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
9398
+ * present only when that field changed.
8798
9399
  */
8799
9400
  interface Change {
9401
+ /**
9402
+ * A single field's change, on `contact_card.updated`. Present only for the field
9403
+ * that changed.
9404
+ */
9405
+ first_name?: Change.FirstName;
8800
9406
  /**
8801
9407
  * The value before the change; null when there was none.
8802
9408
  */
8803
9409
  from?: unknown;
8804
9410
  /**
8805
- * A contact card name change. Only on `contact_card.updated`, when the name
8806
- * changed.
9411
+ * A single field's change, on `contact_card.updated`. Present only for the field
9412
+ * that changed.
9413
+ */
9414
+ image_url?: Change.ImageURL;
9415
+ /**
9416
+ * A single field's change, on `contact_card.updated`. Present only for the field
9417
+ * that changed.
8807
9418
  */
8808
- name?: Change.Name;
9419
+ last_name?: Change.LastName;
8809
9420
  /**
8810
9421
  * The value after the change; null when it was cleared.
8811
9422
  */
@@ -8813,16 +9424,44 @@ export declare namespace WebhookSubscriptionCreatedWebhookEvent {
8813
9424
  }
8814
9425
  namespace Change {
8815
9426
  /**
8816
- * A contact card name change. Only on `contact_card.updated`, when the name
8817
- * changed.
9427
+ * A single field's change, on `contact_card.updated`. Present only for the field
9428
+ * that changed.
9429
+ */
9430
+ interface FirstName {
9431
+ /**
9432
+ * The value before the change; null when the card had none.
9433
+ */
9434
+ from: string | null;
9435
+ /**
9436
+ * The value after the change; null when it was removed.
9437
+ */
9438
+ to: string | null;
9439
+ }
9440
+ /**
9441
+ * A single field's change, on `contact_card.updated`. Present only for the field
9442
+ * that changed.
9443
+ */
9444
+ interface ImageURL {
9445
+ /**
9446
+ * The value before the change; null when the card had none.
9447
+ */
9448
+ from: string | null;
9449
+ /**
9450
+ * The value after the change; null when it was removed.
9451
+ */
9452
+ to: string | null;
9453
+ }
9454
+ /**
9455
+ * A single field's change, on `contact_card.updated`. Present only for the field
9456
+ * that changed.
8818
9457
  */
8819
- interface Name {
9458
+ interface LastName {
8820
9459
  /**
8821
- * The name before the change; null when the card had no name.
9460
+ * The value before the change; null when the card had none.
8822
9461
  */
8823
9462
  from: string | null;
8824
9463
  /**
8825
- * The name after the change; null when it was removed.
9464
+ * The value after the change; null when it was removed.
8826
9465
  */
8827
9466
  to: string | null;
8828
9467
  }
@@ -8832,14 +9471,15 @@ export declare namespace WebhookSubscriptionCreatedWebhookEvent {
8832
9471
  */
8833
9472
  interface ContactCard {
8834
9473
  id: string;
9474
+ first_name: string;
8835
9475
  /**
8836
- * Display name. Absent when the card has no name.
9476
+ * Null when the card has no photo.
8837
9477
  */
8838
- name?: string;
9478
+ image_url: string | null;
8839
9479
  /**
8840
- * True when the photo changed. Only on `contact_card.updated`.
9480
+ * Null when the card has no last name.
8841
9481
  */
8842
- photo_updated?: boolean;
9482
+ last_name: string | null;
8843
9483
  }
8844
9484
  /**
8845
9485
  * An environment, identified by name. Production is
@@ -8975,8 +9615,9 @@ export declare namespace WebhookSubscriptionDeletedWebhookEvent {
8975
9615
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
8976
9616
  * expired and activated events never carry it. `null` means none: `to: null` means
8977
9617
  * cleared and `from: null` means first set. The value type depends on the event
8978
- * and is given in each event's description. `contact_card.updated` uses `name`
8979
- * instead of `from` and `to`.
9618
+ * and is given in each event's description. `contact_card.updated` uses
9619
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
9620
+ * present only when that field changed.
8980
9621
  */
8981
9622
  change?: Data.Change;
8982
9623
  /**
@@ -9043,10 +9684,9 @@ export declare namespace WebhookSubscriptionDeletedWebhookEvent {
9043
9684
  interface APIToken {
9044
9685
  id: string;
9045
9686
  /**
9046
- * When the token expires. On `api_token.created`, `api_token.expired` and
9047
- * `api_token.deleted`; absent if it never expires.
9687
+ * When the token expires; null if it never does.
9048
9688
  */
9049
- expires_at?: string;
9689
+ expires_at: string | null;
9050
9690
  /**
9051
9691
  * Absent when the token has no name.
9052
9692
  */
@@ -9063,19 +9703,30 @@ export declare namespace WebhookSubscriptionDeletedWebhookEvent {
9063
9703
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
9064
9704
  * expired and activated events never carry it. `null` means none: `to: null` means
9065
9705
  * cleared and `from: null` means first set. The value type depends on the event
9066
- * and is given in each event's description. `contact_card.updated` uses `name`
9067
- * instead of `from` and `to`.
9706
+ * and is given in each event's description. `contact_card.updated` uses
9707
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
9708
+ * present only when that field changed.
9068
9709
  */
9069
9710
  interface Change {
9711
+ /**
9712
+ * A single field's change, on `contact_card.updated`. Present only for the field
9713
+ * that changed.
9714
+ */
9715
+ first_name?: Change.FirstName;
9070
9716
  /**
9071
9717
  * The value before the change; null when there was none.
9072
9718
  */
9073
9719
  from?: unknown;
9074
9720
  /**
9075
- * A contact card name change. Only on `contact_card.updated`, when the name
9076
- * changed.
9721
+ * A single field's change, on `contact_card.updated`. Present only for the field
9722
+ * that changed.
9723
+ */
9724
+ image_url?: Change.ImageURL;
9725
+ /**
9726
+ * A single field's change, on `contact_card.updated`. Present only for the field
9727
+ * that changed.
9077
9728
  */
9078
- name?: Change.Name;
9729
+ last_name?: Change.LastName;
9079
9730
  /**
9080
9731
  * The value after the change; null when it was cleared.
9081
9732
  */
@@ -9083,16 +9734,44 @@ export declare namespace WebhookSubscriptionDeletedWebhookEvent {
9083
9734
  }
9084
9735
  namespace Change {
9085
9736
  /**
9086
- * A contact card name change. Only on `contact_card.updated`, when the name
9087
- * changed.
9737
+ * A single field's change, on `contact_card.updated`. Present only for the field
9738
+ * that changed.
9739
+ */
9740
+ interface FirstName {
9741
+ /**
9742
+ * The value before the change; null when the card had none.
9743
+ */
9744
+ from: string | null;
9745
+ /**
9746
+ * The value after the change; null when it was removed.
9747
+ */
9748
+ to: string | null;
9749
+ }
9750
+ /**
9751
+ * A single field's change, on `contact_card.updated`. Present only for the field
9752
+ * that changed.
9088
9753
  */
9089
- interface Name {
9754
+ interface ImageURL {
9090
9755
  /**
9091
- * The name before the change; null when the card had no name.
9756
+ * The value before the change; null when the card had none.
9092
9757
  */
9093
9758
  from: string | null;
9094
9759
  /**
9095
- * The name after the change; null when it was removed.
9760
+ * The value after the change; null when it was removed.
9761
+ */
9762
+ to: string | null;
9763
+ }
9764
+ /**
9765
+ * A single field's change, on `contact_card.updated`. Present only for the field
9766
+ * that changed.
9767
+ */
9768
+ interface LastName {
9769
+ /**
9770
+ * The value before the change; null when the card had none.
9771
+ */
9772
+ from: string | null;
9773
+ /**
9774
+ * The value after the change; null when it was removed.
9096
9775
  */
9097
9776
  to: string | null;
9098
9777
  }
@@ -9102,14 +9781,15 @@ export declare namespace WebhookSubscriptionDeletedWebhookEvent {
9102
9781
  */
9103
9782
  interface ContactCard {
9104
9783
  id: string;
9784
+ first_name: string;
9105
9785
  /**
9106
- * Display name. Absent when the card has no name.
9786
+ * Null when the card has no photo.
9107
9787
  */
9108
- name?: string;
9788
+ image_url: string | null;
9109
9789
  /**
9110
- * True when the photo changed. Only on `contact_card.updated`.
9790
+ * Null when the card has no last name.
9111
9791
  */
9112
- photo_updated?: boolean;
9792
+ last_name: string | null;
9113
9793
  }
9114
9794
  /**
9115
9795
  * An environment, identified by name. Production is
@@ -9245,8 +9925,9 @@ export declare namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
9245
9925
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
9246
9926
  * expired and activated events never carry it. `null` means none: `to: null` means
9247
9927
  * cleared and `from: null` means first set. The value type depends on the event
9248
- * and is given in each event's description. `contact_card.updated` uses `name`
9249
- * instead of `from` and `to`.
9928
+ * and is given in each event's description. `contact_card.updated` uses
9929
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
9930
+ * present only when that field changed.
9250
9931
  */
9251
9932
  change?: Data.Change;
9252
9933
  /**
@@ -9313,10 +9994,9 @@ export declare namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
9313
9994
  interface APIToken {
9314
9995
  id: string;
9315
9996
  /**
9316
- * When the token expires. On `api_token.created`, `api_token.expired` and
9317
- * `api_token.deleted`; absent if it never expires.
9997
+ * When the token expires; null if it never does.
9318
9998
  */
9319
- expires_at?: string;
9999
+ expires_at: string | null;
9320
10000
  /**
9321
10001
  * Absent when the token has no name.
9322
10002
  */
@@ -9333,19 +10013,30 @@ export declare namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
9333
10013
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
9334
10014
  * expired and activated events never carry it. `null` means none: `to: null` means
9335
10015
  * cleared and `from: null` means first set. The value type depends on the event
9336
- * and is given in each event's description. `contact_card.updated` uses `name`
9337
- * instead of `from` and `to`.
10016
+ * and is given in each event's description. `contact_card.updated` uses
10017
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
10018
+ * present only when that field changed.
9338
10019
  */
9339
10020
  interface Change {
10021
+ /**
10022
+ * A single field's change, on `contact_card.updated`. Present only for the field
10023
+ * that changed.
10024
+ */
10025
+ first_name?: Change.FirstName;
9340
10026
  /**
9341
10027
  * The value before the change; null when there was none.
9342
10028
  */
9343
10029
  from?: unknown;
9344
10030
  /**
9345
- * A contact card name change. Only on `contact_card.updated`, when the name
9346
- * changed.
10031
+ * A single field's change, on `contact_card.updated`. Present only for the field
10032
+ * that changed.
9347
10033
  */
9348
- name?: Change.Name;
10034
+ image_url?: Change.ImageURL;
10035
+ /**
10036
+ * A single field's change, on `contact_card.updated`. Present only for the field
10037
+ * that changed.
10038
+ */
10039
+ last_name?: Change.LastName;
9349
10040
  /**
9350
10041
  * The value after the change; null when it was cleared.
9351
10042
  */
@@ -9353,16 +10044,44 @@ export declare namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
9353
10044
  }
9354
10045
  namespace Change {
9355
10046
  /**
9356
- * A contact card name change. Only on `contact_card.updated`, when the name
9357
- * changed.
10047
+ * A single field's change, on `contact_card.updated`. Present only for the field
10048
+ * that changed.
10049
+ */
10050
+ interface FirstName {
10051
+ /**
10052
+ * The value before the change; null when the card had none.
10053
+ */
10054
+ from: string | null;
10055
+ /**
10056
+ * The value after the change; null when it was removed.
10057
+ */
10058
+ to: string | null;
10059
+ }
10060
+ /**
10061
+ * A single field's change, on `contact_card.updated`. Present only for the field
10062
+ * that changed.
10063
+ */
10064
+ interface ImageURL {
10065
+ /**
10066
+ * The value before the change; null when the card had none.
10067
+ */
10068
+ from: string | null;
10069
+ /**
10070
+ * The value after the change; null when it was removed.
10071
+ */
10072
+ to: string | null;
10073
+ }
10074
+ /**
10075
+ * A single field's change, on `contact_card.updated`. Present only for the field
10076
+ * that changed.
9358
10077
  */
9359
- interface Name {
10078
+ interface LastName {
9360
10079
  /**
9361
- * The name before the change; null when the card had no name.
10080
+ * The value before the change; null when the card had none.
9362
10081
  */
9363
10082
  from: string | null;
9364
10083
  /**
9365
- * The name after the change; null when it was removed.
10084
+ * The value after the change; null when it was removed.
9366
10085
  */
9367
10086
  to: string | null;
9368
10087
  }
@@ -9372,14 +10091,15 @@ export declare namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
9372
10091
  */
9373
10092
  interface ContactCard {
9374
10093
  id: string;
10094
+ first_name: string;
9375
10095
  /**
9376
- * Display name. Absent when the card has no name.
10096
+ * Null when the card has no photo.
9377
10097
  */
9378
- name?: string;
10098
+ image_url: string | null;
9379
10099
  /**
9380
- * True when the photo changed. Only on `contact_card.updated`.
10100
+ * Null when the card has no last name.
9381
10101
  */
9382
- photo_updated?: boolean;
10102
+ last_name: string | null;
9383
10103
  }
9384
10104
  /**
9385
10105
  * An environment, identified by name. Production is
@@ -9515,8 +10235,9 @@ export declare namespace WebhookSubscriptionEnabledWebhookEvent {
9515
10235
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
9516
10236
  * expired and activated events never carry it. `null` means none: `to: null` means
9517
10237
  * cleared and `from: null` means first set. The value type depends on the event
9518
- * and is given in each event's description. `contact_card.updated` uses `name`
9519
- * instead of `from` and `to`.
10238
+ * and is given in each event's description. `contact_card.updated` uses
10239
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
10240
+ * present only when that field changed.
9520
10241
  */
9521
10242
  change?: Data.Change;
9522
10243
  /**
@@ -9583,10 +10304,9 @@ export declare namespace WebhookSubscriptionEnabledWebhookEvent {
9583
10304
  interface APIToken {
9584
10305
  id: string;
9585
10306
  /**
9586
- * When the token expires. On `api_token.created`, `api_token.expired` and
9587
- * `api_token.deleted`; absent if it never expires.
10307
+ * When the token expires; null if it never does.
9588
10308
  */
9589
- expires_at?: string;
10309
+ expires_at: string | null;
9590
10310
  /**
9591
10311
  * Absent when the token has no name.
9592
10312
  */
@@ -9603,19 +10323,30 @@ export declare namespace WebhookSubscriptionEnabledWebhookEvent {
9603
10323
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
9604
10324
  * expired and activated events never carry it. `null` means none: `to: null` means
9605
10325
  * cleared and `from: null` means first set. The value type depends on the event
9606
- * and is given in each event's description. `contact_card.updated` uses `name`
9607
- * instead of `from` and `to`.
10326
+ * and is given in each event's description. `contact_card.updated` uses
10327
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
10328
+ * present only when that field changed.
9608
10329
  */
9609
10330
  interface Change {
10331
+ /**
10332
+ * A single field's change, on `contact_card.updated`. Present only for the field
10333
+ * that changed.
10334
+ */
10335
+ first_name?: Change.FirstName;
9610
10336
  /**
9611
10337
  * The value before the change; null when there was none.
9612
10338
  */
9613
10339
  from?: unknown;
9614
10340
  /**
9615
- * A contact card name change. Only on `contact_card.updated`, when the name
9616
- * changed.
10341
+ * A single field's change, on `contact_card.updated`. Present only for the field
10342
+ * that changed.
10343
+ */
10344
+ image_url?: Change.ImageURL;
10345
+ /**
10346
+ * A single field's change, on `contact_card.updated`. Present only for the field
10347
+ * that changed.
9617
10348
  */
9618
- name?: Change.Name;
10349
+ last_name?: Change.LastName;
9619
10350
  /**
9620
10351
  * The value after the change; null when it was cleared.
9621
10352
  */
@@ -9623,16 +10354,44 @@ export declare namespace WebhookSubscriptionEnabledWebhookEvent {
9623
10354
  }
9624
10355
  namespace Change {
9625
10356
  /**
9626
- * A contact card name change. Only on `contact_card.updated`, when the name
9627
- * changed.
10357
+ * A single field's change, on `contact_card.updated`. Present only for the field
10358
+ * that changed.
10359
+ */
10360
+ interface FirstName {
10361
+ /**
10362
+ * The value before the change; null when the card had none.
10363
+ */
10364
+ from: string | null;
10365
+ /**
10366
+ * The value after the change; null when it was removed.
10367
+ */
10368
+ to: string | null;
10369
+ }
10370
+ /**
10371
+ * A single field's change, on `contact_card.updated`. Present only for the field
10372
+ * that changed.
10373
+ */
10374
+ interface ImageURL {
10375
+ /**
10376
+ * The value before the change; null when the card had none.
10377
+ */
10378
+ from: string | null;
10379
+ /**
10380
+ * The value after the change; null when it was removed.
10381
+ */
10382
+ to: string | null;
10383
+ }
10384
+ /**
10385
+ * A single field's change, on `contact_card.updated`. Present only for the field
10386
+ * that changed.
9628
10387
  */
9629
- interface Name {
10388
+ interface LastName {
9630
10389
  /**
9631
- * The name before the change; null when the card had no name.
10390
+ * The value before the change; null when the card had none.
9632
10391
  */
9633
10392
  from: string | null;
9634
10393
  /**
9635
- * The name after the change; null when it was removed.
10394
+ * The value after the change; null when it was removed.
9636
10395
  */
9637
10396
  to: string | null;
9638
10397
  }
@@ -9642,14 +10401,15 @@ export declare namespace WebhookSubscriptionEnabledWebhookEvent {
9642
10401
  */
9643
10402
  interface ContactCard {
9644
10403
  id: string;
10404
+ first_name: string;
9645
10405
  /**
9646
- * Display name. Absent when the card has no name.
10406
+ * Null when the card has no photo.
9647
10407
  */
9648
- name?: string;
10408
+ image_url: string | null;
9649
10409
  /**
9650
- * True when the photo changed. Only on `contact_card.updated`.
10410
+ * Null when the card has no last name.
9651
10411
  */
9652
- photo_updated?: boolean;
10412
+ last_name: string | null;
9653
10413
  }
9654
10414
  /**
9655
10415
  * An environment, identified by name. Production is
@@ -9785,8 +10545,9 @@ export declare namespace WebhookSubscriptionDisabledWebhookEvent {
9785
10545
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
9786
10546
  * expired and activated events never carry it. `null` means none: `to: null` means
9787
10547
  * cleared and `from: null` means first set. The value type depends on the event
9788
- * and is given in each event's description. `contact_card.updated` uses `name`
9789
- * instead of `from` and `to`.
10548
+ * and is given in each event's description. `contact_card.updated` uses
10549
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
10550
+ * present only when that field changed.
9790
10551
  */
9791
10552
  change?: Data.Change;
9792
10553
  /**
@@ -9853,10 +10614,9 @@ export declare namespace WebhookSubscriptionDisabledWebhookEvent {
9853
10614
  interface APIToken {
9854
10615
  id: string;
9855
10616
  /**
9856
- * When the token expires. On `api_token.created`, `api_token.expired` and
9857
- * `api_token.deleted`; absent if it never expires.
10617
+ * When the token expires; null if it never does.
9858
10618
  */
9859
- expires_at?: string;
10619
+ expires_at: string | null;
9860
10620
  /**
9861
10621
  * Absent when the token has no name.
9862
10622
  */
@@ -9873,19 +10633,30 @@ export declare namespace WebhookSubscriptionDisabledWebhookEvent {
9873
10633
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
9874
10634
  * expired and activated events never carry it. `null` means none: `to: null` means
9875
10635
  * cleared and `from: null` means first set. The value type depends on the event
9876
- * and is given in each event's description. `contact_card.updated` uses `name`
9877
- * instead of `from` and `to`.
10636
+ * and is given in each event's description. `contact_card.updated` uses
10637
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
10638
+ * present only when that field changed.
9878
10639
  */
9879
10640
  interface Change {
10641
+ /**
10642
+ * A single field's change, on `contact_card.updated`. Present only for the field
10643
+ * that changed.
10644
+ */
10645
+ first_name?: Change.FirstName;
9880
10646
  /**
9881
10647
  * The value before the change; null when there was none.
9882
10648
  */
9883
10649
  from?: unknown;
9884
10650
  /**
9885
- * A contact card name change. Only on `contact_card.updated`, when the name
9886
- * changed.
10651
+ * A single field's change, on `contact_card.updated`. Present only for the field
10652
+ * that changed.
10653
+ */
10654
+ image_url?: Change.ImageURL;
10655
+ /**
10656
+ * A single field's change, on `contact_card.updated`. Present only for the field
10657
+ * that changed.
9887
10658
  */
9888
- name?: Change.Name;
10659
+ last_name?: Change.LastName;
9889
10660
  /**
9890
10661
  * The value after the change; null when it was cleared.
9891
10662
  */
@@ -9893,16 +10664,44 @@ export declare namespace WebhookSubscriptionDisabledWebhookEvent {
9893
10664
  }
9894
10665
  namespace Change {
9895
10666
  /**
9896
- * A contact card name change. Only on `contact_card.updated`, when the name
9897
- * changed.
10667
+ * A single field's change, on `contact_card.updated`. Present only for the field
10668
+ * that changed.
10669
+ */
10670
+ interface FirstName {
10671
+ /**
10672
+ * The value before the change; null when the card had none.
10673
+ */
10674
+ from: string | null;
10675
+ /**
10676
+ * The value after the change; null when it was removed.
10677
+ */
10678
+ to: string | null;
10679
+ }
10680
+ /**
10681
+ * A single field's change, on `contact_card.updated`. Present only for the field
10682
+ * that changed.
10683
+ */
10684
+ interface ImageURL {
10685
+ /**
10686
+ * The value before the change; null when the card had none.
10687
+ */
10688
+ from: string | null;
10689
+ /**
10690
+ * The value after the change; null when it was removed.
10691
+ */
10692
+ to: string | null;
10693
+ }
10694
+ /**
10695
+ * A single field's change, on `contact_card.updated`. Present only for the field
10696
+ * that changed.
9898
10697
  */
9899
- interface Name {
10698
+ interface LastName {
9900
10699
  /**
9901
- * The name before the change; null when the card had no name.
10700
+ * The value before the change; null when the card had none.
9902
10701
  */
9903
10702
  from: string | null;
9904
10703
  /**
9905
- * The name after the change; null when it was removed.
10704
+ * The value after the change; null when it was removed.
9906
10705
  */
9907
10706
  to: string | null;
9908
10707
  }
@@ -9912,14 +10711,15 @@ export declare namespace WebhookSubscriptionDisabledWebhookEvent {
9912
10711
  */
9913
10712
  interface ContactCard {
9914
10713
  id: string;
10714
+ first_name: string;
9915
10715
  /**
9916
- * Display name. Absent when the card has no name.
10716
+ * Null when the card has no photo.
9917
10717
  */
9918
- name?: string;
10718
+ image_url: string | null;
9919
10719
  /**
9920
- * True when the photo changed. Only on `contact_card.updated`.
10720
+ * Null when the card has no last name.
9921
10721
  */
9922
- photo_updated?: boolean;
10722
+ last_name: string | null;
9923
10723
  }
9924
10724
  /**
9925
10725
  * An environment, identified by name. Production is
@@ -10055,8 +10855,9 @@ export declare namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
10055
10855
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10056
10856
  * expired and activated events never carry it. `null` means none: `to: null` means
10057
10857
  * cleared and `from: null` means first set. The value type depends on the event
10058
- * and is given in each event's description. `contact_card.updated` uses `name`
10059
- * instead of `from` and `to`.
10858
+ * and is given in each event's description. `contact_card.updated` uses
10859
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
10860
+ * present only when that field changed.
10060
10861
  */
10061
10862
  change?: Data.Change;
10062
10863
  /**
@@ -10123,10 +10924,9 @@ export declare namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
10123
10924
  interface APIToken {
10124
10925
  id: string;
10125
10926
  /**
10126
- * When the token expires. On `api_token.created`, `api_token.expired` and
10127
- * `api_token.deleted`; absent if it never expires.
10927
+ * When the token expires; null if it never does.
10128
10928
  */
10129
- expires_at?: string;
10929
+ expires_at: string | null;
10130
10930
  /**
10131
10931
  * Absent when the token has no name.
10132
10932
  */
@@ -10143,19 +10943,30 @@ export declare namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
10143
10943
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10144
10944
  * expired and activated events never carry it. `null` means none: `to: null` means
10145
10945
  * cleared and `from: null` means first set. The value type depends on the event
10146
- * and is given in each event's description. `contact_card.updated` uses `name`
10147
- * instead of `from` and `to`.
10946
+ * and is given in each event's description. `contact_card.updated` uses
10947
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
10948
+ * present only when that field changed.
10148
10949
  */
10149
10950
  interface Change {
10951
+ /**
10952
+ * A single field's change, on `contact_card.updated`. Present only for the field
10953
+ * that changed.
10954
+ */
10955
+ first_name?: Change.FirstName;
10150
10956
  /**
10151
10957
  * The value before the change; null when there was none.
10152
10958
  */
10153
10959
  from?: unknown;
10154
10960
  /**
10155
- * A contact card name change. Only on `contact_card.updated`, when the name
10156
- * changed.
10961
+ * A single field's change, on `contact_card.updated`. Present only for the field
10962
+ * that changed.
10963
+ */
10964
+ image_url?: Change.ImageURL;
10965
+ /**
10966
+ * A single field's change, on `contact_card.updated`. Present only for the field
10967
+ * that changed.
10157
10968
  */
10158
- name?: Change.Name;
10969
+ last_name?: Change.LastName;
10159
10970
  /**
10160
10971
  * The value after the change; null when it was cleared.
10161
10972
  */
@@ -10163,16 +10974,44 @@ export declare namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
10163
10974
  }
10164
10975
  namespace Change {
10165
10976
  /**
10166
- * A contact card name change. Only on `contact_card.updated`, when the name
10167
- * changed.
10977
+ * A single field's change, on `contact_card.updated`. Present only for the field
10978
+ * that changed.
10979
+ */
10980
+ interface FirstName {
10981
+ /**
10982
+ * The value before the change; null when the card had none.
10983
+ */
10984
+ from: string | null;
10985
+ /**
10986
+ * The value after the change; null when it was removed.
10987
+ */
10988
+ to: string | null;
10989
+ }
10990
+ /**
10991
+ * A single field's change, on `contact_card.updated`. Present only for the field
10992
+ * that changed.
10993
+ */
10994
+ interface ImageURL {
10995
+ /**
10996
+ * The value before the change; null when the card had none.
10997
+ */
10998
+ from: string | null;
10999
+ /**
11000
+ * The value after the change; null when it was removed.
11001
+ */
11002
+ to: string | null;
11003
+ }
11004
+ /**
11005
+ * A single field's change, on `contact_card.updated`. Present only for the field
11006
+ * that changed.
10168
11007
  */
10169
- interface Name {
11008
+ interface LastName {
10170
11009
  /**
10171
- * The name before the change; null when the card had no name.
11010
+ * The value before the change; null when the card had none.
10172
11011
  */
10173
11012
  from: string | null;
10174
11013
  /**
10175
- * The name after the change; null when it was removed.
11014
+ * The value after the change; null when it was removed.
10176
11015
  */
10177
11016
  to: string | null;
10178
11017
  }
@@ -10182,14 +11021,15 @@ export declare namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
10182
11021
  */
10183
11022
  interface ContactCard {
10184
11023
  id: string;
11024
+ first_name: string;
10185
11025
  /**
10186
- * Display name. Absent when the card has no name.
11026
+ * Null when the card has no photo.
10187
11027
  */
10188
- name?: string;
11028
+ image_url: string | null;
10189
11029
  /**
10190
- * True when the photo changed. Only on `contact_card.updated`.
11030
+ * Null when the card has no last name.
10191
11031
  */
10192
- photo_updated?: boolean;
11032
+ last_name: string | null;
10193
11033
  }
10194
11034
  /**
10195
11035
  * An environment, identified by name. Production is
@@ -10325,8 +11165,9 @@ export declare namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
10325
11165
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10326
11166
  * expired and activated events never carry it. `null` means none: `to: null` means
10327
11167
  * cleared and `from: null` means first set. The value type depends on the event
10328
- * and is given in each event's description. `contact_card.updated` uses `name`
10329
- * instead of `from` and `to`.
11168
+ * and is given in each event's description. `contact_card.updated` uses
11169
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
11170
+ * present only when that field changed.
10330
11171
  */
10331
11172
  change?: Data.Change;
10332
11173
  /**
@@ -10393,10 +11234,9 @@ export declare namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
10393
11234
  interface APIToken {
10394
11235
  id: string;
10395
11236
  /**
10396
- * When the token expires. On `api_token.created`, `api_token.expired` and
10397
- * `api_token.deleted`; absent if it never expires.
11237
+ * When the token expires; null if it never does.
10398
11238
  */
10399
- expires_at?: string;
11239
+ expires_at: string | null;
10400
11240
  /**
10401
11241
  * Absent when the token has no name.
10402
11242
  */
@@ -10413,19 +11253,30 @@ export declare namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
10413
11253
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10414
11254
  * expired and activated events never carry it. `null` means none: `to: null` means
10415
11255
  * cleared and `from: null` means first set. The value type depends on the event
10416
- * and is given in each event's description. `contact_card.updated` uses `name`
10417
- * instead of `from` and `to`.
11256
+ * and is given in each event's description. `contact_card.updated` uses
11257
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
11258
+ * present only when that field changed.
10418
11259
  */
10419
11260
  interface Change {
11261
+ /**
11262
+ * A single field's change, on `contact_card.updated`. Present only for the field
11263
+ * that changed.
11264
+ */
11265
+ first_name?: Change.FirstName;
10420
11266
  /**
10421
11267
  * The value before the change; null when there was none.
10422
11268
  */
10423
11269
  from?: unknown;
10424
11270
  /**
10425
- * A contact card name change. Only on `contact_card.updated`, when the name
10426
- * changed.
11271
+ * A single field's change, on `contact_card.updated`. Present only for the field
11272
+ * that changed.
10427
11273
  */
10428
- name?: Change.Name;
11274
+ image_url?: Change.ImageURL;
11275
+ /**
11276
+ * A single field's change, on `contact_card.updated`. Present only for the field
11277
+ * that changed.
11278
+ */
11279
+ last_name?: Change.LastName;
10429
11280
  /**
10430
11281
  * The value after the change; null when it was cleared.
10431
11282
  */
@@ -10433,16 +11284,44 @@ export declare namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
10433
11284
  }
10434
11285
  namespace Change {
10435
11286
  /**
10436
- * A contact card name change. Only on `contact_card.updated`, when the name
10437
- * changed.
11287
+ * A single field's change, on `contact_card.updated`. Present only for the field
11288
+ * that changed.
11289
+ */
11290
+ interface FirstName {
11291
+ /**
11292
+ * The value before the change; null when the card had none.
11293
+ */
11294
+ from: string | null;
11295
+ /**
11296
+ * The value after the change; null when it was removed.
11297
+ */
11298
+ to: string | null;
11299
+ }
11300
+ /**
11301
+ * A single field's change, on `contact_card.updated`. Present only for the field
11302
+ * that changed.
11303
+ */
11304
+ interface ImageURL {
11305
+ /**
11306
+ * The value before the change; null when the card had none.
11307
+ */
11308
+ from: string | null;
11309
+ /**
11310
+ * The value after the change; null when it was removed.
11311
+ */
11312
+ to: string | null;
11313
+ }
11314
+ /**
11315
+ * A single field's change, on `contact_card.updated`. Present only for the field
11316
+ * that changed.
10438
11317
  */
10439
- interface Name {
11318
+ interface LastName {
10440
11319
  /**
10441
- * The name before the change; null when the card had no name.
11320
+ * The value before the change; null when the card had none.
10442
11321
  */
10443
11322
  from: string | null;
10444
11323
  /**
10445
- * The name after the change; null when it was removed.
11324
+ * The value after the change; null when it was removed.
10446
11325
  */
10447
11326
  to: string | null;
10448
11327
  }
@@ -10452,14 +11331,15 @@ export declare namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
10452
11331
  */
10453
11332
  interface ContactCard {
10454
11333
  id: string;
11334
+ first_name: string;
10455
11335
  /**
10456
- * Display name. Absent when the card has no name.
11336
+ * Null when the card has no photo.
10457
11337
  */
10458
- name?: string;
11338
+ image_url: string | null;
10459
11339
  /**
10460
- * True when the photo changed. Only on `contact_card.updated`.
11340
+ * Null when the card has no last name.
10461
11341
  */
10462
- photo_updated?: boolean;
11342
+ last_name: string | null;
10463
11343
  }
10464
11344
  /**
10465
11345
  * An environment, identified by name. Production is
@@ -10595,8 +11475,9 @@ export declare namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
10595
11475
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10596
11476
  * expired and activated events never carry it. `null` means none: `to: null` means
10597
11477
  * cleared and `from: null` means first set. The value type depends on the event
10598
- * and is given in each event's description. `contact_card.updated` uses `name`
10599
- * instead of `from` and `to`.
11478
+ * and is given in each event's description. `contact_card.updated` uses
11479
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
11480
+ * present only when that field changed.
10600
11481
  */
10601
11482
  change?: Data.Change;
10602
11483
  /**
@@ -10663,10 +11544,9 @@ export declare namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
10663
11544
  interface APIToken {
10664
11545
  id: string;
10665
11546
  /**
10666
- * When the token expires. On `api_token.created`, `api_token.expired` and
10667
- * `api_token.deleted`; absent if it never expires.
11547
+ * When the token expires; null if it never does.
10668
11548
  */
10669
- expires_at?: string;
11549
+ expires_at: string | null;
10670
11550
  /**
10671
11551
  * Absent when the token has no name.
10672
11552
  */
@@ -10683,19 +11563,30 @@ export declare namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
10683
11563
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10684
11564
  * expired and activated events never carry it. `null` means none: `to: null` means
10685
11565
  * cleared and `from: null` means first set. The value type depends on the event
10686
- * and is given in each event's description. `contact_card.updated` uses `name`
10687
- * instead of `from` and `to`.
11566
+ * and is given in each event's description. `contact_card.updated` uses
11567
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
11568
+ * present only when that field changed.
10688
11569
  */
10689
11570
  interface Change {
11571
+ /**
11572
+ * A single field's change, on `contact_card.updated`. Present only for the field
11573
+ * that changed.
11574
+ */
11575
+ first_name?: Change.FirstName;
10690
11576
  /**
10691
11577
  * The value before the change; null when there was none.
10692
11578
  */
10693
11579
  from?: unknown;
10694
11580
  /**
10695
- * A contact card name change. Only on `contact_card.updated`, when the name
10696
- * changed.
11581
+ * A single field's change, on `contact_card.updated`. Present only for the field
11582
+ * that changed.
11583
+ */
11584
+ image_url?: Change.ImageURL;
11585
+ /**
11586
+ * A single field's change, on `contact_card.updated`. Present only for the field
11587
+ * that changed.
10697
11588
  */
10698
- name?: Change.Name;
11589
+ last_name?: Change.LastName;
10699
11590
  /**
10700
11591
  * The value after the change; null when it was cleared.
10701
11592
  */
@@ -10703,16 +11594,44 @@ export declare namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
10703
11594
  }
10704
11595
  namespace Change {
10705
11596
  /**
10706
- * A contact card name change. Only on `contact_card.updated`, when the name
10707
- * changed.
11597
+ * A single field's change, on `contact_card.updated`. Present only for the field
11598
+ * that changed.
11599
+ */
11600
+ interface FirstName {
11601
+ /**
11602
+ * The value before the change; null when the card had none.
11603
+ */
11604
+ from: string | null;
11605
+ /**
11606
+ * The value after the change; null when it was removed.
11607
+ */
11608
+ to: string | null;
11609
+ }
11610
+ /**
11611
+ * A single field's change, on `contact_card.updated`. Present only for the field
11612
+ * that changed.
11613
+ */
11614
+ interface ImageURL {
11615
+ /**
11616
+ * The value before the change; null when the card had none.
11617
+ */
11618
+ from: string | null;
11619
+ /**
11620
+ * The value after the change; null when it was removed.
11621
+ */
11622
+ to: string | null;
11623
+ }
11624
+ /**
11625
+ * A single field's change, on `contact_card.updated`. Present only for the field
11626
+ * that changed.
10708
11627
  */
10709
- interface Name {
11628
+ interface LastName {
10710
11629
  /**
10711
- * The name before the change; null when the card had no name.
11630
+ * The value before the change; null when the card had none.
10712
11631
  */
10713
11632
  from: string | null;
10714
11633
  /**
10715
- * The name after the change; null when it was removed.
11634
+ * The value after the change; null when it was removed.
10716
11635
  */
10717
11636
  to: string | null;
10718
11637
  }
@@ -10722,14 +11641,15 @@ export declare namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
10722
11641
  */
10723
11642
  interface ContactCard {
10724
11643
  id: string;
11644
+ first_name: string;
10725
11645
  /**
10726
- * Display name. Absent when the card has no name.
11646
+ * Null when the card has no photo.
10727
11647
  */
10728
- name?: string;
11648
+ image_url: string | null;
10729
11649
  /**
10730
- * True when the photo changed. Only on `contact_card.updated`.
11650
+ * Null when the card has no last name.
10731
11651
  */
10732
- photo_updated?: boolean;
11652
+ last_name: string | null;
10733
11653
  }
10734
11654
  /**
10735
11655
  * An environment, identified by name. Production is
@@ -10865,8 +11785,9 @@ export declare namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
10865
11785
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10866
11786
  * expired and activated events never carry it. `null` means none: `to: null` means
10867
11787
  * cleared and `from: null` means first set. The value type depends on the event
10868
- * and is given in each event's description. `contact_card.updated` uses `name`
10869
- * instead of `from` and `to`.
11788
+ * and is given in each event's description. `contact_card.updated` uses
11789
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
11790
+ * present only when that field changed.
10870
11791
  */
10871
11792
  change?: Data.Change;
10872
11793
  /**
@@ -10933,10 +11854,9 @@ export declare namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
10933
11854
  interface APIToken {
10934
11855
  id: string;
10935
11856
  /**
10936
- * When the token expires. On `api_token.created`, `api_token.expired` and
10937
- * `api_token.deleted`; absent if it never expires.
11857
+ * When the token expires; null if it never does.
10938
11858
  */
10939
- expires_at?: string;
11859
+ expires_at: string | null;
10940
11860
  /**
10941
11861
  * Absent when the token has no name.
10942
11862
  */
@@ -10953,19 +11873,30 @@ export declare namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
10953
11873
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10954
11874
  * expired and activated events never carry it. `null` means none: `to: null` means
10955
11875
  * cleared and `from: null` means first set. The value type depends on the event
10956
- * and is given in each event's description. `contact_card.updated` uses `name`
10957
- * instead of `from` and `to`.
11876
+ * and is given in each event's description. `contact_card.updated` uses
11877
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
11878
+ * present only when that field changed.
10958
11879
  */
10959
11880
  interface Change {
11881
+ /**
11882
+ * A single field's change, on `contact_card.updated`. Present only for the field
11883
+ * that changed.
11884
+ */
11885
+ first_name?: Change.FirstName;
10960
11886
  /**
10961
11887
  * The value before the change; null when there was none.
10962
11888
  */
10963
11889
  from?: unknown;
10964
11890
  /**
10965
- * A contact card name change. Only on `contact_card.updated`, when the name
10966
- * changed.
11891
+ * A single field's change, on `contact_card.updated`. Present only for the field
11892
+ * that changed.
11893
+ */
11894
+ image_url?: Change.ImageURL;
11895
+ /**
11896
+ * A single field's change, on `contact_card.updated`. Present only for the field
11897
+ * that changed.
10967
11898
  */
10968
- name?: Change.Name;
11899
+ last_name?: Change.LastName;
10969
11900
  /**
10970
11901
  * The value after the change; null when it was cleared.
10971
11902
  */
@@ -10973,16 +11904,44 @@ export declare namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
10973
11904
  }
10974
11905
  namespace Change {
10975
11906
  /**
10976
- * A contact card name change. Only on `contact_card.updated`, when the name
10977
- * changed.
11907
+ * A single field's change, on `contact_card.updated`. Present only for the field
11908
+ * that changed.
11909
+ */
11910
+ interface FirstName {
11911
+ /**
11912
+ * The value before the change; null when the card had none.
11913
+ */
11914
+ from: string | null;
11915
+ /**
11916
+ * The value after the change; null when it was removed.
11917
+ */
11918
+ to: string | null;
11919
+ }
11920
+ /**
11921
+ * A single field's change, on `contact_card.updated`. Present only for the field
11922
+ * that changed.
11923
+ */
11924
+ interface ImageURL {
11925
+ /**
11926
+ * The value before the change; null when the card had none.
11927
+ */
11928
+ from: string | null;
11929
+ /**
11930
+ * The value after the change; null when it was removed.
11931
+ */
11932
+ to: string | null;
11933
+ }
11934
+ /**
11935
+ * A single field's change, on `contact_card.updated`. Present only for the field
11936
+ * that changed.
10978
11937
  */
10979
- interface Name {
11938
+ interface LastName {
10980
11939
  /**
10981
- * The name before the change; null when the card had no name.
11940
+ * The value before the change; null when the card had none.
10982
11941
  */
10983
11942
  from: string | null;
10984
11943
  /**
10985
- * The name after the change; null when it was removed.
11944
+ * The value after the change; null when it was removed.
10986
11945
  */
10987
11946
  to: string | null;
10988
11947
  }
@@ -10992,14 +11951,15 @@ export declare namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
10992
11951
  */
10993
11952
  interface ContactCard {
10994
11953
  id: string;
11954
+ first_name: string;
10995
11955
  /**
10996
- * Display name. Absent when the card has no name.
11956
+ * Null when the card has no photo.
10997
11957
  */
10998
- name?: string;
11958
+ image_url: string | null;
10999
11959
  /**
11000
- * True when the photo changed. Only on `contact_card.updated`.
11960
+ * Null when the card has no last name.
11001
11961
  */
11002
- photo_updated?: boolean;
11962
+ last_name: string | null;
11003
11963
  }
11004
11964
  /**
11005
11965
  * An environment, identified by name. Production is
@@ -11135,8 +12095,9 @@ export declare namespace TeamMemberAddedWebhookEvent {
11135
12095
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
11136
12096
  * expired and activated events never carry it. `null` means none: `to: null` means
11137
12097
  * cleared and `from: null` means first set. The value type depends on the event
11138
- * and is given in each event's description. `contact_card.updated` uses `name`
11139
- * instead of `from` and `to`.
12098
+ * and is given in each event's description. `contact_card.updated` uses
12099
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
12100
+ * present only when that field changed.
11140
12101
  */
11141
12102
  change?: Data.Change;
11142
12103
  /**
@@ -11203,10 +12164,9 @@ export declare namespace TeamMemberAddedWebhookEvent {
11203
12164
  interface APIToken {
11204
12165
  id: string;
11205
12166
  /**
11206
- * When the token expires. On `api_token.created`, `api_token.expired` and
11207
- * `api_token.deleted`; absent if it never expires.
12167
+ * When the token expires; null if it never does.
11208
12168
  */
11209
- expires_at?: string;
12169
+ expires_at: string | null;
11210
12170
  /**
11211
12171
  * Absent when the token has no name.
11212
12172
  */
@@ -11223,19 +12183,30 @@ export declare namespace TeamMemberAddedWebhookEvent {
11223
12183
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
11224
12184
  * expired and activated events never carry it. `null` means none: `to: null` means
11225
12185
  * cleared and `from: null` means first set. The value type depends on the event
11226
- * and is given in each event's description. `contact_card.updated` uses `name`
11227
- * instead of `from` and `to`.
12186
+ * and is given in each event's description. `contact_card.updated` uses
12187
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
12188
+ * present only when that field changed.
11228
12189
  */
11229
12190
  interface Change {
12191
+ /**
12192
+ * A single field's change, on `contact_card.updated`. Present only for the field
12193
+ * that changed.
12194
+ */
12195
+ first_name?: Change.FirstName;
11230
12196
  /**
11231
12197
  * The value before the change; null when there was none.
11232
12198
  */
11233
12199
  from?: unknown;
11234
12200
  /**
11235
- * A contact card name change. Only on `contact_card.updated`, when the name
11236
- * changed.
12201
+ * A single field's change, on `contact_card.updated`. Present only for the field
12202
+ * that changed.
12203
+ */
12204
+ image_url?: Change.ImageURL;
12205
+ /**
12206
+ * A single field's change, on `contact_card.updated`. Present only for the field
12207
+ * that changed.
11237
12208
  */
11238
- name?: Change.Name;
12209
+ last_name?: Change.LastName;
11239
12210
  /**
11240
12211
  * The value after the change; null when it was cleared.
11241
12212
  */
@@ -11243,16 +12214,44 @@ export declare namespace TeamMemberAddedWebhookEvent {
11243
12214
  }
11244
12215
  namespace Change {
11245
12216
  /**
11246
- * A contact card name change. Only on `contact_card.updated`, when the name
11247
- * changed.
12217
+ * A single field's change, on `contact_card.updated`. Present only for the field
12218
+ * that changed.
12219
+ */
12220
+ interface FirstName {
12221
+ /**
12222
+ * The value before the change; null when the card had none.
12223
+ */
12224
+ from: string | null;
12225
+ /**
12226
+ * The value after the change; null when it was removed.
12227
+ */
12228
+ to: string | null;
12229
+ }
12230
+ /**
12231
+ * A single field's change, on `contact_card.updated`. Present only for the field
12232
+ * that changed.
12233
+ */
12234
+ interface ImageURL {
12235
+ /**
12236
+ * The value before the change; null when the card had none.
12237
+ */
12238
+ from: string | null;
12239
+ /**
12240
+ * The value after the change; null when it was removed.
12241
+ */
12242
+ to: string | null;
12243
+ }
12244
+ /**
12245
+ * A single field's change, on `contact_card.updated`. Present only for the field
12246
+ * that changed.
11248
12247
  */
11249
- interface Name {
12248
+ interface LastName {
11250
12249
  /**
11251
- * The name before the change; null when the card had no name.
12250
+ * The value before the change; null when the card had none.
11252
12251
  */
11253
12252
  from: string | null;
11254
12253
  /**
11255
- * The name after the change; null when it was removed.
12254
+ * The value after the change; null when it was removed.
11256
12255
  */
11257
12256
  to: string | null;
11258
12257
  }
@@ -11262,14 +12261,15 @@ export declare namespace TeamMemberAddedWebhookEvent {
11262
12261
  */
11263
12262
  interface ContactCard {
11264
12263
  id: string;
12264
+ first_name: string;
11265
12265
  /**
11266
- * Display name. Absent when the card has no name.
12266
+ * Null when the card has no photo.
11267
12267
  */
11268
- name?: string;
12268
+ image_url: string | null;
11269
12269
  /**
11270
- * True when the photo changed. Only on `contact_card.updated`.
12270
+ * Null when the card has no last name.
11271
12271
  */
11272
- photo_updated?: boolean;
12272
+ last_name: string | null;
11273
12273
  }
11274
12274
  /**
11275
12275
  * An environment, identified by name. Production is
@@ -11405,8 +12405,9 @@ export declare namespace TeamMemberSignedInWebhookEvent {
11405
12405
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
11406
12406
  * expired and activated events never carry it. `null` means none: `to: null` means
11407
12407
  * cleared and `from: null` means first set. The value type depends on the event
11408
- * and is given in each event's description. `contact_card.updated` uses `name`
11409
- * instead of `from` and `to`.
12408
+ * and is given in each event's description. `contact_card.updated` uses
12409
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
12410
+ * present only when that field changed.
11410
12411
  */
11411
12412
  change?: Data.Change;
11412
12413
  /**
@@ -11473,10 +12474,9 @@ export declare namespace TeamMemberSignedInWebhookEvent {
11473
12474
  interface APIToken {
11474
12475
  id: string;
11475
12476
  /**
11476
- * When the token expires. On `api_token.created`, `api_token.expired` and
11477
- * `api_token.deleted`; absent if it never expires.
12477
+ * When the token expires; null if it never does.
11478
12478
  */
11479
- expires_at?: string;
12479
+ expires_at: string | null;
11480
12480
  /**
11481
12481
  * Absent when the token has no name.
11482
12482
  */
@@ -11493,19 +12493,30 @@ export declare namespace TeamMemberSignedInWebhookEvent {
11493
12493
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
11494
12494
  * expired and activated events never carry it. `null` means none: `to: null` means
11495
12495
  * cleared and `from: null` means first set. The value type depends on the event
11496
- * and is given in each event's description. `contact_card.updated` uses `name`
11497
- * instead of `from` and `to`.
12496
+ * and is given in each event's description. `contact_card.updated` uses
12497
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
12498
+ * present only when that field changed.
11498
12499
  */
11499
12500
  interface Change {
12501
+ /**
12502
+ * A single field's change, on `contact_card.updated`. Present only for the field
12503
+ * that changed.
12504
+ */
12505
+ first_name?: Change.FirstName;
11500
12506
  /**
11501
12507
  * The value before the change; null when there was none.
11502
12508
  */
11503
12509
  from?: unknown;
11504
12510
  /**
11505
- * A contact card name change. Only on `contact_card.updated`, when the name
11506
- * changed.
12511
+ * A single field's change, on `contact_card.updated`. Present only for the field
12512
+ * that changed.
11507
12513
  */
11508
- name?: Change.Name;
12514
+ image_url?: Change.ImageURL;
12515
+ /**
12516
+ * A single field's change, on `contact_card.updated`. Present only for the field
12517
+ * that changed.
12518
+ */
12519
+ last_name?: Change.LastName;
11509
12520
  /**
11510
12521
  * The value after the change; null when it was cleared.
11511
12522
  */
@@ -11513,16 +12524,44 @@ export declare namespace TeamMemberSignedInWebhookEvent {
11513
12524
  }
11514
12525
  namespace Change {
11515
12526
  /**
11516
- * A contact card name change. Only on `contact_card.updated`, when the name
11517
- * changed.
12527
+ * A single field's change, on `contact_card.updated`. Present only for the field
12528
+ * that changed.
12529
+ */
12530
+ interface FirstName {
12531
+ /**
12532
+ * The value before the change; null when the card had none.
12533
+ */
12534
+ from: string | null;
12535
+ /**
12536
+ * The value after the change; null when it was removed.
12537
+ */
12538
+ to: string | null;
12539
+ }
12540
+ /**
12541
+ * A single field's change, on `contact_card.updated`. Present only for the field
12542
+ * that changed.
12543
+ */
12544
+ interface ImageURL {
12545
+ /**
12546
+ * The value before the change; null when the card had none.
12547
+ */
12548
+ from: string | null;
12549
+ /**
12550
+ * The value after the change; null when it was removed.
12551
+ */
12552
+ to: string | null;
12553
+ }
12554
+ /**
12555
+ * A single field's change, on `contact_card.updated`. Present only for the field
12556
+ * that changed.
11518
12557
  */
11519
- interface Name {
12558
+ interface LastName {
11520
12559
  /**
11521
- * The name before the change; null when the card had no name.
12560
+ * The value before the change; null when the card had none.
11522
12561
  */
11523
12562
  from: string | null;
11524
12563
  /**
11525
- * The name after the change; null when it was removed.
12564
+ * The value after the change; null when it was removed.
11526
12565
  */
11527
12566
  to: string | null;
11528
12567
  }
@@ -11532,14 +12571,15 @@ export declare namespace TeamMemberSignedInWebhookEvent {
11532
12571
  */
11533
12572
  interface ContactCard {
11534
12573
  id: string;
12574
+ first_name: string;
11535
12575
  /**
11536
- * Display name. Absent when the card has no name.
12576
+ * Null when the card has no photo.
11537
12577
  */
11538
- name?: string;
12578
+ image_url: string | null;
11539
12579
  /**
11540
- * True when the photo changed. Only on `contact_card.updated`.
12580
+ * Null when the card has no last name.
11541
12581
  */
11542
- photo_updated?: boolean;
12582
+ last_name: string | null;
11543
12583
  }
11544
12584
  /**
11545
12585
  * An environment, identified by name. Production is
@@ -11675,8 +12715,9 @@ export declare namespace TeamMemberSignedOutWebhookEvent {
11675
12715
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
11676
12716
  * expired and activated events never carry it. `null` means none: `to: null` means
11677
12717
  * cleared and `from: null` means first set. The value type depends on the event
11678
- * and is given in each event's description. `contact_card.updated` uses `name`
11679
- * instead of `from` and `to`.
12718
+ * and is given in each event's description. `contact_card.updated` uses
12719
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
12720
+ * present only when that field changed.
11680
12721
  */
11681
12722
  change?: Data.Change;
11682
12723
  /**
@@ -11743,10 +12784,9 @@ export declare namespace TeamMemberSignedOutWebhookEvent {
11743
12784
  interface APIToken {
11744
12785
  id: string;
11745
12786
  /**
11746
- * When the token expires. On `api_token.created`, `api_token.expired` and
11747
- * `api_token.deleted`; absent if it never expires.
12787
+ * When the token expires; null if it never does.
11748
12788
  */
11749
- expires_at?: string;
12789
+ expires_at: string | null;
11750
12790
  /**
11751
12791
  * Absent when the token has no name.
11752
12792
  */
@@ -11763,19 +12803,30 @@ export declare namespace TeamMemberSignedOutWebhookEvent {
11763
12803
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
11764
12804
  * expired and activated events never carry it. `null` means none: `to: null` means
11765
12805
  * cleared and `from: null` means first set. The value type depends on the event
11766
- * and is given in each event's description. `contact_card.updated` uses `name`
11767
- * instead of `from` and `to`.
12806
+ * and is given in each event's description. `contact_card.updated` uses
12807
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
12808
+ * present only when that field changed.
11768
12809
  */
11769
12810
  interface Change {
12811
+ /**
12812
+ * A single field's change, on `contact_card.updated`. Present only for the field
12813
+ * that changed.
12814
+ */
12815
+ first_name?: Change.FirstName;
11770
12816
  /**
11771
12817
  * The value before the change; null when there was none.
11772
12818
  */
11773
12819
  from?: unknown;
11774
12820
  /**
11775
- * A contact card name change. Only on `contact_card.updated`, when the name
11776
- * changed.
12821
+ * A single field's change, on `contact_card.updated`. Present only for the field
12822
+ * that changed.
12823
+ */
12824
+ image_url?: Change.ImageURL;
12825
+ /**
12826
+ * A single field's change, on `contact_card.updated`. Present only for the field
12827
+ * that changed.
11777
12828
  */
11778
- name?: Change.Name;
12829
+ last_name?: Change.LastName;
11779
12830
  /**
11780
12831
  * The value after the change; null when it was cleared.
11781
12832
  */
@@ -11783,16 +12834,44 @@ export declare namespace TeamMemberSignedOutWebhookEvent {
11783
12834
  }
11784
12835
  namespace Change {
11785
12836
  /**
11786
- * A contact card name change. Only on `contact_card.updated`, when the name
11787
- * changed.
12837
+ * A single field's change, on `contact_card.updated`. Present only for the field
12838
+ * that changed.
12839
+ */
12840
+ interface FirstName {
12841
+ /**
12842
+ * The value before the change; null when the card had none.
12843
+ */
12844
+ from: string | null;
12845
+ /**
12846
+ * The value after the change; null when it was removed.
12847
+ */
12848
+ to: string | null;
12849
+ }
12850
+ /**
12851
+ * A single field's change, on `contact_card.updated`. Present only for the field
12852
+ * that changed.
12853
+ */
12854
+ interface ImageURL {
12855
+ /**
12856
+ * The value before the change; null when the card had none.
12857
+ */
12858
+ from: string | null;
12859
+ /**
12860
+ * The value after the change; null when it was removed.
12861
+ */
12862
+ to: string | null;
12863
+ }
12864
+ /**
12865
+ * A single field's change, on `contact_card.updated`. Present only for the field
12866
+ * that changed.
11788
12867
  */
11789
- interface Name {
12868
+ interface LastName {
11790
12869
  /**
11791
- * The name before the change; null when the card had no name.
12870
+ * The value before the change; null when the card had none.
11792
12871
  */
11793
12872
  from: string | null;
11794
12873
  /**
11795
- * The name after the change; null when it was removed.
12874
+ * The value after the change; null when it was removed.
11796
12875
  */
11797
12876
  to: string | null;
11798
12877
  }
@@ -11802,14 +12881,15 @@ export declare namespace TeamMemberSignedOutWebhookEvent {
11802
12881
  */
11803
12882
  interface ContactCard {
11804
12883
  id: string;
12884
+ first_name: string;
11805
12885
  /**
11806
- * Display name. Absent when the card has no name.
12886
+ * Null when the card has no photo.
11807
12887
  */
11808
- name?: string;
12888
+ image_url: string | null;
11809
12889
  /**
11810
- * True when the photo changed. Only on `contact_card.updated`.
12890
+ * Null when the card has no last name.
11811
12891
  */
11812
- photo_updated?: boolean;
12892
+ last_name: string | null;
11813
12893
  }
11814
12894
  /**
11815
12895
  * An environment, identified by name. Production is