@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.
@@ -6548,8 +6548,9 @@ export namespace ZeroDayRetentionUpdatedWebhookEvent {
6548
6548
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
6549
6549
  * expired and activated events never carry it. `null` means none: `to: null` means
6550
6550
  * cleared and `from: null` means first set. The value type depends on the event
6551
- * and is given in each event's description. `contact_card.updated` uses `name`
6552
- * instead of `from` and `to`.
6551
+ * and is given in each event's description. `contact_card.updated` uses
6552
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
6553
+ * present only when that field changed.
6553
6554
  */
6554
6555
  change?: Data.Change;
6555
6556
 
@@ -6630,10 +6631,9 @@ export namespace ZeroDayRetentionUpdatedWebhookEvent {
6630
6631
  id: string;
6631
6632
 
6632
6633
  /**
6633
- * When the token expires. On `api_token.created`, `api_token.expired` and
6634
- * `api_token.deleted`; absent if it never expires.
6634
+ * When the token expires; null if it never does.
6635
6635
  */
6636
- expires_at?: string;
6636
+ expires_at: string | null;
6637
6637
 
6638
6638
  /**
6639
6639
  * Absent when the token has no name.
@@ -6653,20 +6653,33 @@ export namespace ZeroDayRetentionUpdatedWebhookEvent {
6653
6653
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
6654
6654
  * expired and activated events never carry it. `null` means none: `to: null` means
6655
6655
  * cleared and `from: null` means first set. The value type depends on the event
6656
- * and is given in each event's description. `contact_card.updated` uses `name`
6657
- * instead of `from` and `to`.
6656
+ * and is given in each event's description. `contact_card.updated` uses
6657
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
6658
+ * present only when that field changed.
6658
6659
  */
6659
6660
  export interface Change {
6661
+ /**
6662
+ * A single field's change, on `contact_card.updated`. Present only for the field
6663
+ * that changed.
6664
+ */
6665
+ first_name?: Change.FirstName;
6666
+
6660
6667
  /**
6661
6668
  * The value before the change; null when there was none.
6662
6669
  */
6663
6670
  from?: unknown;
6664
6671
 
6665
6672
  /**
6666
- * A contact card name change. Only on `contact_card.updated`, when the name
6667
- * changed.
6673
+ * A single field's change, on `contact_card.updated`. Present only for the field
6674
+ * that changed.
6675
+ */
6676
+ image_url?: Change.ImageURL;
6677
+
6678
+ /**
6679
+ * A single field's change, on `contact_card.updated`. Present only for the field
6680
+ * that changed.
6668
6681
  */
6669
- name?: Change.Name;
6682
+ last_name?: Change.LastName;
6670
6683
 
6671
6684
  /**
6672
6685
  * The value after the change; null when it was cleared.
@@ -6676,17 +6689,49 @@ export namespace ZeroDayRetentionUpdatedWebhookEvent {
6676
6689
 
6677
6690
  export namespace Change {
6678
6691
  /**
6679
- * A contact card name change. Only on `contact_card.updated`, when the name
6680
- * changed.
6692
+ * A single field's change, on `contact_card.updated`. Present only for the field
6693
+ * that changed.
6694
+ */
6695
+ export interface FirstName {
6696
+ /**
6697
+ * The value before the change; null when the card had none.
6698
+ */
6699
+ from: string | null;
6700
+
6701
+ /**
6702
+ * The value after the change; null when it was removed.
6703
+ */
6704
+ to: string | null;
6705
+ }
6706
+
6707
+ /**
6708
+ * A single field's change, on `contact_card.updated`. Present only for the field
6709
+ * that changed.
6710
+ */
6711
+ export interface ImageURL {
6712
+ /**
6713
+ * The value before the change; null when the card had none.
6714
+ */
6715
+ from: string | null;
6716
+
6717
+ /**
6718
+ * The value after the change; null when it was removed.
6719
+ */
6720
+ to: string | null;
6721
+ }
6722
+
6723
+ /**
6724
+ * A single field's change, on `contact_card.updated`. Present only for the field
6725
+ * that changed.
6681
6726
  */
6682
- export interface Name {
6727
+ export interface LastName {
6683
6728
  /**
6684
- * The name before the change; null when the card had no name.
6729
+ * The value before the change; null when the card had none.
6685
6730
  */
6686
6731
  from: string | null;
6687
6732
 
6688
6733
  /**
6689
- * The name after the change; null when it was removed.
6734
+ * The value after the change; null when it was removed.
6690
6735
  */
6691
6736
  to: string | null;
6692
6737
  }
@@ -6698,15 +6743,17 @@ export namespace ZeroDayRetentionUpdatedWebhookEvent {
6698
6743
  export interface ContactCard {
6699
6744
  id: string;
6700
6745
 
6746
+ first_name: string;
6747
+
6701
6748
  /**
6702
- * Display name. Absent when the card has no name.
6749
+ * Null when the card has no photo.
6703
6750
  */
6704
- name?: string;
6751
+ image_url: string | null;
6705
6752
 
6706
6753
  /**
6707
- * True when the photo changed. Only on `contact_card.updated`.
6754
+ * Null when the card has no last name.
6708
6755
  */
6709
- photo_updated?: boolean;
6756
+ last_name: string | null;
6710
6757
  }
6711
6758
 
6712
6759
  /**
@@ -6939,8 +6986,9 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
6939
6986
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
6940
6987
  * expired and activated events never carry it. `null` means none: `to: null` means
6941
6988
  * cleared and `from: null` means first set. The value type depends on the event
6942
- * and is given in each event's description. `contact_card.updated` uses `name`
6943
- * instead of `from` and `to`.
6989
+ * and is given in each event's description. `contact_card.updated` uses
6990
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
6991
+ * present only when that field changed.
6944
6992
  */
6945
6993
  change?: Data.Change;
6946
6994
 
@@ -7021,10 +7069,9 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
7021
7069
  id: string;
7022
7070
 
7023
7071
  /**
7024
- * When the token expires. On `api_token.created`, `api_token.expired` and
7025
- * `api_token.deleted`; absent if it never expires.
7072
+ * When the token expires; null if it never does.
7026
7073
  */
7027
- expires_at?: string;
7074
+ expires_at: string | null;
7028
7075
 
7029
7076
  /**
7030
7077
  * Absent when the token has no name.
@@ -7044,20 +7091,33 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
7044
7091
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7045
7092
  * expired and activated events never carry it. `null` means none: `to: null` means
7046
7093
  * cleared and `from: null` means first set. The value type depends on the event
7047
- * and is given in each event's description. `contact_card.updated` uses `name`
7048
- * instead of `from` and `to`.
7094
+ * and is given in each event's description. `contact_card.updated` uses
7095
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
7096
+ * present only when that field changed.
7049
7097
  */
7050
7098
  export interface Change {
7099
+ /**
7100
+ * A single field's change, on `contact_card.updated`. Present only for the field
7101
+ * that changed.
7102
+ */
7103
+ first_name?: Change.FirstName;
7104
+
7051
7105
  /**
7052
7106
  * The value before the change; null when there was none.
7053
7107
  */
7054
7108
  from?: unknown;
7055
7109
 
7056
7110
  /**
7057
- * A contact card name change. Only on `contact_card.updated`, when the name
7058
- * changed.
7111
+ * A single field's change, on `contact_card.updated`. Present only for the field
7112
+ * that changed.
7113
+ */
7114
+ image_url?: Change.ImageURL;
7115
+
7116
+ /**
7117
+ * A single field's change, on `contact_card.updated`. Present only for the field
7118
+ * that changed.
7059
7119
  */
7060
- name?: Change.Name;
7120
+ last_name?: Change.LastName;
7061
7121
 
7062
7122
  /**
7063
7123
  * The value after the change; null when it was cleared.
@@ -7067,17 +7127,49 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
7067
7127
 
7068
7128
  export namespace Change {
7069
7129
  /**
7070
- * A contact card name change. Only on `contact_card.updated`, when the name
7071
- * changed.
7130
+ * A single field's change, on `contact_card.updated`. Present only for the field
7131
+ * that changed.
7132
+ */
7133
+ export interface FirstName {
7134
+ /**
7135
+ * The value before the change; null when the card had none.
7136
+ */
7137
+ from: string | null;
7138
+
7139
+ /**
7140
+ * The value after the change; null when it was removed.
7141
+ */
7142
+ to: string | null;
7143
+ }
7144
+
7145
+ /**
7146
+ * A single field's change, on `contact_card.updated`. Present only for the field
7147
+ * that changed.
7148
+ */
7149
+ export interface ImageURL {
7150
+ /**
7151
+ * The value before the change; null when the card had none.
7152
+ */
7153
+ from: string | null;
7154
+
7155
+ /**
7156
+ * The value after the change; null when it was removed.
7157
+ */
7158
+ to: string | null;
7159
+ }
7160
+
7161
+ /**
7162
+ * A single field's change, on `contact_card.updated`. Present only for the field
7163
+ * that changed.
7072
7164
  */
7073
- export interface Name {
7165
+ export interface LastName {
7074
7166
  /**
7075
- * The name before the change; null when the card had no name.
7167
+ * The value before the change; null when the card had none.
7076
7168
  */
7077
7169
  from: string | null;
7078
7170
 
7079
7171
  /**
7080
- * The name after the change; null when it was removed.
7172
+ * The value after the change; null when it was removed.
7081
7173
  */
7082
7174
  to: string | null;
7083
7175
  }
@@ -7089,15 +7181,17 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
7089
7181
  export interface ContactCard {
7090
7182
  id: string;
7091
7183
 
7184
+ first_name: string;
7185
+
7092
7186
  /**
7093
- * Display name. Absent when the card has no name.
7187
+ * Null when the card has no photo.
7094
7188
  */
7095
- name?: string;
7189
+ image_url: string | null;
7096
7190
 
7097
7191
  /**
7098
- * True when the photo changed. Only on `contact_card.updated`.
7192
+ * Null when the card has no last name.
7099
7193
  */
7100
- photo_updated?: boolean;
7194
+ last_name: string | null;
7101
7195
  }
7102
7196
 
7103
7197
  /**
@@ -7330,8 +7424,9 @@ export namespace EnvironmentLineMovedWebhookEvent {
7330
7424
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7331
7425
  * expired and activated events never carry it. `null` means none: `to: null` means
7332
7426
  * cleared and `from: null` means first set. The value type depends on the event
7333
- * and is given in each event's description. `contact_card.updated` uses `name`
7334
- * instead of `from` and `to`.
7427
+ * and is given in each event's description. `contact_card.updated` uses
7428
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
7429
+ * present only when that field changed.
7335
7430
  */
7336
7431
  change?: Data.Change;
7337
7432
 
@@ -7412,10 +7507,9 @@ export namespace EnvironmentLineMovedWebhookEvent {
7412
7507
  id: string;
7413
7508
 
7414
7509
  /**
7415
- * When the token expires. On `api_token.created`, `api_token.expired` and
7416
- * `api_token.deleted`; absent if it never expires.
7510
+ * When the token expires; null if it never does.
7417
7511
  */
7418
- expires_at?: string;
7512
+ expires_at: string | null;
7419
7513
 
7420
7514
  /**
7421
7515
  * Absent when the token has no name.
@@ -7435,20 +7529,33 @@ export namespace EnvironmentLineMovedWebhookEvent {
7435
7529
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7436
7530
  * expired and activated events never carry it. `null` means none: `to: null` means
7437
7531
  * cleared and `from: null` means first set. The value type depends on the event
7438
- * and is given in each event's description. `contact_card.updated` uses `name`
7439
- * instead of `from` and `to`.
7532
+ * and is given in each event's description. `contact_card.updated` uses
7533
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
7534
+ * present only when that field changed.
7440
7535
  */
7441
7536
  export interface Change {
7537
+ /**
7538
+ * A single field's change, on `contact_card.updated`. Present only for the field
7539
+ * that changed.
7540
+ */
7541
+ first_name?: Change.FirstName;
7542
+
7442
7543
  /**
7443
7544
  * The value before the change; null when there was none.
7444
7545
  */
7445
7546
  from?: unknown;
7446
7547
 
7447
7548
  /**
7448
- * A contact card name change. Only on `contact_card.updated`, when the name
7449
- * changed.
7549
+ * A single field's change, on `contact_card.updated`. Present only for the field
7550
+ * that changed.
7551
+ */
7552
+ image_url?: Change.ImageURL;
7553
+
7554
+ /**
7555
+ * A single field's change, on `contact_card.updated`. Present only for the field
7556
+ * that changed.
7450
7557
  */
7451
- name?: Change.Name;
7558
+ last_name?: Change.LastName;
7452
7559
 
7453
7560
  /**
7454
7561
  * The value after the change; null when it was cleared.
@@ -7458,17 +7565,49 @@ export namespace EnvironmentLineMovedWebhookEvent {
7458
7565
 
7459
7566
  export namespace Change {
7460
7567
  /**
7461
- * A contact card name change. Only on `contact_card.updated`, when the name
7462
- * changed.
7568
+ * A single field's change, on `contact_card.updated`. Present only for the field
7569
+ * that changed.
7570
+ */
7571
+ export interface FirstName {
7572
+ /**
7573
+ * The value before the change; null when the card had none.
7574
+ */
7575
+ from: string | null;
7576
+
7577
+ /**
7578
+ * The value after the change; null when it was removed.
7579
+ */
7580
+ to: string | null;
7581
+ }
7582
+
7583
+ /**
7584
+ * A single field's change, on `contact_card.updated`. Present only for the field
7585
+ * that changed.
7586
+ */
7587
+ export interface ImageURL {
7588
+ /**
7589
+ * The value before the change; null when the card had none.
7590
+ */
7591
+ from: string | null;
7592
+
7593
+ /**
7594
+ * The value after the change; null when it was removed.
7595
+ */
7596
+ to: string | null;
7597
+ }
7598
+
7599
+ /**
7600
+ * A single field's change, on `contact_card.updated`. Present only for the field
7601
+ * that changed.
7463
7602
  */
7464
- export interface Name {
7603
+ export interface LastName {
7465
7604
  /**
7466
- * The name before the change; null when the card had no name.
7605
+ * The value before the change; null when the card had none.
7467
7606
  */
7468
7607
  from: string | null;
7469
7608
 
7470
7609
  /**
7471
- * The name after the change; null when it was removed.
7610
+ * The value after the change; null when it was removed.
7472
7611
  */
7473
7612
  to: string | null;
7474
7613
  }
@@ -7480,15 +7619,17 @@ export namespace EnvironmentLineMovedWebhookEvent {
7480
7619
  export interface ContactCard {
7481
7620
  id: string;
7482
7621
 
7622
+ first_name: string;
7623
+
7483
7624
  /**
7484
- * Display name. Absent when the card has no name.
7625
+ * Null when the card has no photo.
7485
7626
  */
7486
- name?: string;
7627
+ image_url: string | null;
7487
7628
 
7488
7629
  /**
7489
- * True when the photo changed. Only on `contact_card.updated`.
7630
+ * Null when the card has no last name.
7490
7631
  */
7491
- photo_updated?: boolean;
7632
+ last_name: string | null;
7492
7633
  }
7493
7634
 
7494
7635
  /**
@@ -7721,8 +7862,9 @@ export namespace ContactCardCreatedWebhookEvent {
7721
7862
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7722
7863
  * expired and activated events never carry it. `null` means none: `to: null` means
7723
7864
  * cleared and `from: null` means first set. The value type depends on the event
7724
- * and is given in each event's description. `contact_card.updated` uses `name`
7725
- * instead of `from` and `to`.
7865
+ * and is given in each event's description. `contact_card.updated` uses
7866
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
7867
+ * present only when that field changed.
7726
7868
  */
7727
7869
  change?: Data.Change;
7728
7870
 
@@ -7803,10 +7945,9 @@ export namespace ContactCardCreatedWebhookEvent {
7803
7945
  id: string;
7804
7946
 
7805
7947
  /**
7806
- * When the token expires. On `api_token.created`, `api_token.expired` and
7807
- * `api_token.deleted`; absent if it never expires.
7948
+ * When the token expires; null if it never does.
7808
7949
  */
7809
- expires_at?: string;
7950
+ expires_at: string | null;
7810
7951
 
7811
7952
  /**
7812
7953
  * Absent when the token has no name.
@@ -7826,20 +7967,33 @@ export namespace ContactCardCreatedWebhookEvent {
7826
7967
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
7827
7968
  * expired and activated events never carry it. `null` means none: `to: null` means
7828
7969
  * cleared and `from: null` means first set. The value type depends on the event
7829
- * and is given in each event's description. `contact_card.updated` uses `name`
7830
- * instead of `from` and `to`.
7970
+ * and is given in each event's description. `contact_card.updated` uses
7971
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
7972
+ * present only when that field changed.
7831
7973
  */
7832
7974
  export interface Change {
7975
+ /**
7976
+ * A single field's change, on `contact_card.updated`. Present only for the field
7977
+ * that changed.
7978
+ */
7979
+ first_name?: Change.FirstName;
7980
+
7833
7981
  /**
7834
7982
  * The value before the change; null when there was none.
7835
7983
  */
7836
7984
  from?: unknown;
7837
7985
 
7838
7986
  /**
7839
- * A contact card name change. Only on `contact_card.updated`, when the name
7840
- * changed.
7987
+ * A single field's change, on `contact_card.updated`. Present only for the field
7988
+ * that changed.
7989
+ */
7990
+ image_url?: Change.ImageURL;
7991
+
7992
+ /**
7993
+ * A single field's change, on `contact_card.updated`. Present only for the field
7994
+ * that changed.
7841
7995
  */
7842
- name?: Change.Name;
7996
+ last_name?: Change.LastName;
7843
7997
 
7844
7998
  /**
7845
7999
  * The value after the change; null when it was cleared.
@@ -7849,17 +8003,49 @@ export namespace ContactCardCreatedWebhookEvent {
7849
8003
 
7850
8004
  export namespace Change {
7851
8005
  /**
7852
- * A contact card name change. Only on `contact_card.updated`, when the name
7853
- * changed.
8006
+ * A single field's change, on `contact_card.updated`. Present only for the field
8007
+ * that changed.
7854
8008
  */
7855
- export interface Name {
8009
+ export interface FirstName {
7856
8010
  /**
7857
- * The name before the change; null when the card had no name.
8011
+ * The value before the change; null when the card had none.
7858
8012
  */
7859
8013
  from: string | null;
7860
8014
 
7861
8015
  /**
7862
- * The name after the change; null when it was removed.
8016
+ * The value after the change; null when it was removed.
8017
+ */
8018
+ to: string | null;
8019
+ }
8020
+
8021
+ /**
8022
+ * A single field's change, on `contact_card.updated`. Present only for the field
8023
+ * that changed.
8024
+ */
8025
+ export interface ImageURL {
8026
+ /**
8027
+ * The value before the change; null when the card had none.
8028
+ */
8029
+ from: string | null;
8030
+
8031
+ /**
8032
+ * The value after the change; null when it was removed.
8033
+ */
8034
+ to: string | null;
8035
+ }
8036
+
8037
+ /**
8038
+ * A single field's change, on `contact_card.updated`. Present only for the field
8039
+ * that changed.
8040
+ */
8041
+ export interface LastName {
8042
+ /**
8043
+ * The value before the change; null when the card had none.
8044
+ */
8045
+ from: string | null;
8046
+
8047
+ /**
8048
+ * The value after the change; null when it was removed.
7863
8049
  */
7864
8050
  to: string | null;
7865
8051
  }
@@ -7871,15 +8057,17 @@ export namespace ContactCardCreatedWebhookEvent {
7871
8057
  export interface ContactCard {
7872
8058
  id: string;
7873
8059
 
8060
+ first_name: string;
8061
+
7874
8062
  /**
7875
- * Display name. Absent when the card has no name.
8063
+ * Null when the card has no photo.
7876
8064
  */
7877
- name?: string;
8065
+ image_url: string | null;
7878
8066
 
7879
8067
  /**
7880
- * True when the photo changed. Only on `contact_card.updated`.
8068
+ * Null when the card has no last name.
7881
8069
  */
7882
- photo_updated?: boolean;
8070
+ last_name: string | null;
7883
8071
  }
7884
8072
 
7885
8073
  /**
@@ -8112,8 +8300,9 @@ export namespace ContactCardUpdatedWebhookEvent {
8112
8300
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
8113
8301
  * expired and activated events never carry it. `null` means none: `to: null` means
8114
8302
  * cleared and `from: null` means first set. The value type depends on the event
8115
- * and is given in each event's description. `contact_card.updated` uses `name`
8116
- * instead of `from` and `to`.
8303
+ * and is given in each event's description. `contact_card.updated` uses
8304
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
8305
+ * present only when that field changed.
8117
8306
  */
8118
8307
  change?: Data.Change;
8119
8308
 
@@ -8194,10 +8383,9 @@ export namespace ContactCardUpdatedWebhookEvent {
8194
8383
  id: string;
8195
8384
 
8196
8385
  /**
8197
- * When the token expires. On `api_token.created`, `api_token.expired` and
8198
- * `api_token.deleted`; absent if it never expires.
8386
+ * When the token expires; null if it never does.
8199
8387
  */
8200
- expires_at?: string;
8388
+ expires_at: string | null;
8201
8389
 
8202
8390
  /**
8203
8391
  * Absent when the token has no name.
@@ -8217,20 +8405,33 @@ export namespace ContactCardUpdatedWebhookEvent {
8217
8405
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
8218
8406
  * expired and activated events never carry it. `null` means none: `to: null` means
8219
8407
  * cleared and `from: null` means first set. The value type depends on the event
8220
- * and is given in each event's description. `contact_card.updated` uses `name`
8221
- * instead of `from` and `to`.
8408
+ * and is given in each event's description. `contact_card.updated` uses
8409
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
8410
+ * present only when that field changed.
8222
8411
  */
8223
8412
  export interface Change {
8413
+ /**
8414
+ * A single field's change, on `contact_card.updated`. Present only for the field
8415
+ * that changed.
8416
+ */
8417
+ first_name?: Change.FirstName;
8418
+
8224
8419
  /**
8225
8420
  * The value before the change; null when there was none.
8226
8421
  */
8227
8422
  from?: unknown;
8228
8423
 
8229
8424
  /**
8230
- * A contact card name change. Only on `contact_card.updated`, when the name
8231
- * changed.
8425
+ * A single field's change, on `contact_card.updated`. Present only for the field
8426
+ * that changed.
8427
+ */
8428
+ image_url?: Change.ImageURL;
8429
+
8430
+ /**
8431
+ * A single field's change, on `contact_card.updated`. Present only for the field
8432
+ * that changed.
8232
8433
  */
8233
- name?: Change.Name;
8434
+ last_name?: Change.LastName;
8234
8435
 
8235
8436
  /**
8236
8437
  * The value after the change; null when it was cleared.
@@ -8240,17 +8441,49 @@ export namespace ContactCardUpdatedWebhookEvent {
8240
8441
 
8241
8442
  export namespace Change {
8242
8443
  /**
8243
- * A contact card name change. Only on `contact_card.updated`, when the name
8244
- * changed.
8444
+ * A single field's change, on `contact_card.updated`. Present only for the field
8445
+ * that changed.
8446
+ */
8447
+ export interface FirstName {
8448
+ /**
8449
+ * The value before the change; null when the card had none.
8450
+ */
8451
+ from: string | null;
8452
+
8453
+ /**
8454
+ * The value after the change; null when it was removed.
8455
+ */
8456
+ to: string | null;
8457
+ }
8458
+
8459
+ /**
8460
+ * A single field's change, on `contact_card.updated`. Present only for the field
8461
+ * that changed.
8462
+ */
8463
+ export interface ImageURL {
8464
+ /**
8465
+ * The value before the change; null when the card had none.
8466
+ */
8467
+ from: string | null;
8468
+
8469
+ /**
8470
+ * The value after the change; null when it was removed.
8471
+ */
8472
+ to: string | null;
8473
+ }
8474
+
8475
+ /**
8476
+ * A single field's change, on `contact_card.updated`. Present only for the field
8477
+ * that changed.
8245
8478
  */
8246
- export interface Name {
8479
+ export interface LastName {
8247
8480
  /**
8248
- * The name before the change; null when the card had no name.
8481
+ * The value before the change; null when the card had none.
8249
8482
  */
8250
8483
  from: string | null;
8251
8484
 
8252
8485
  /**
8253
- * The name after the change; null when it was removed.
8486
+ * The value after the change; null when it was removed.
8254
8487
  */
8255
8488
  to: string | null;
8256
8489
  }
@@ -8262,15 +8495,17 @@ export namespace ContactCardUpdatedWebhookEvent {
8262
8495
  export interface ContactCard {
8263
8496
  id: string;
8264
8497
 
8498
+ first_name: string;
8499
+
8265
8500
  /**
8266
- * Display name. Absent when the card has no name.
8501
+ * Null when the card has no photo.
8267
8502
  */
8268
- name?: string;
8503
+ image_url: string | null;
8269
8504
 
8270
8505
  /**
8271
- * True when the photo changed. Only on `contact_card.updated`.
8506
+ * Null when the card has no last name.
8272
8507
  */
8273
- photo_updated?: boolean;
8508
+ last_name: string | null;
8274
8509
  }
8275
8510
 
8276
8511
  /**
@@ -8503,8 +8738,9 @@ export namespace ContactCardDeletedWebhookEvent {
8503
8738
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
8504
8739
  * expired and activated events never carry it. `null` means none: `to: null` means
8505
8740
  * cleared and `from: null` means first set. The value type depends on the event
8506
- * and is given in each event's description. `contact_card.updated` uses `name`
8507
- * instead of `from` and `to`.
8741
+ * and is given in each event's description. `contact_card.updated` uses
8742
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
8743
+ * present only when that field changed.
8508
8744
  */
8509
8745
  change?: Data.Change;
8510
8746
 
@@ -8585,10 +8821,9 @@ export namespace ContactCardDeletedWebhookEvent {
8585
8821
  id: string;
8586
8822
 
8587
8823
  /**
8588
- * When the token expires. On `api_token.created`, `api_token.expired` and
8589
- * `api_token.deleted`; absent if it never expires.
8824
+ * When the token expires; null if it never does.
8590
8825
  */
8591
- expires_at?: string;
8826
+ expires_at: string | null;
8592
8827
 
8593
8828
  /**
8594
8829
  * Absent when the token has no name.
@@ -8608,20 +8843,33 @@ export namespace ContactCardDeletedWebhookEvent {
8608
8843
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
8609
8844
  * expired and activated events never carry it. `null` means none: `to: null` means
8610
8845
  * cleared and `from: null` means first set. The value type depends on the event
8611
- * and is given in each event's description. `contact_card.updated` uses `name`
8612
- * instead of `from` and `to`.
8846
+ * and is given in each event's description. `contact_card.updated` uses
8847
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
8848
+ * present only when that field changed.
8613
8849
  */
8614
8850
  export interface Change {
8851
+ /**
8852
+ * A single field's change, on `contact_card.updated`. Present only for the field
8853
+ * that changed.
8854
+ */
8855
+ first_name?: Change.FirstName;
8856
+
8615
8857
  /**
8616
8858
  * The value before the change; null when there was none.
8617
8859
  */
8618
8860
  from?: unknown;
8619
8861
 
8620
8862
  /**
8621
- * A contact card name change. Only on `contact_card.updated`, when the name
8622
- * changed.
8863
+ * A single field's change, on `contact_card.updated`. Present only for the field
8864
+ * that changed.
8865
+ */
8866
+ image_url?: Change.ImageURL;
8867
+
8868
+ /**
8869
+ * A single field's change, on `contact_card.updated`. Present only for the field
8870
+ * that changed.
8623
8871
  */
8624
- name?: Change.Name;
8872
+ last_name?: Change.LastName;
8625
8873
 
8626
8874
  /**
8627
8875
  * The value after the change; null when it was cleared.
@@ -8631,17 +8879,49 @@ export namespace ContactCardDeletedWebhookEvent {
8631
8879
 
8632
8880
  export namespace Change {
8633
8881
  /**
8634
- * A contact card name change. Only on `contact_card.updated`, when the name
8635
- * changed.
8882
+ * A single field's change, on `contact_card.updated`. Present only for the field
8883
+ * that changed.
8884
+ */
8885
+ export interface FirstName {
8886
+ /**
8887
+ * The value before the change; null when the card had none.
8888
+ */
8889
+ from: string | null;
8890
+
8891
+ /**
8892
+ * The value after the change; null when it was removed.
8893
+ */
8894
+ to: string | null;
8895
+ }
8896
+
8897
+ /**
8898
+ * A single field's change, on `contact_card.updated`. Present only for the field
8899
+ * that changed.
8900
+ */
8901
+ export interface ImageURL {
8902
+ /**
8903
+ * The value before the change; null when the card had none.
8904
+ */
8905
+ from: string | null;
8906
+
8907
+ /**
8908
+ * The value after the change; null when it was removed.
8909
+ */
8910
+ to: string | null;
8911
+ }
8912
+
8913
+ /**
8914
+ * A single field's change, on `contact_card.updated`. Present only for the field
8915
+ * that changed.
8636
8916
  */
8637
- export interface Name {
8917
+ export interface LastName {
8638
8918
  /**
8639
- * The name before the change; null when the card had no name.
8919
+ * The value before the change; null when the card had none.
8640
8920
  */
8641
8921
  from: string | null;
8642
8922
 
8643
8923
  /**
8644
- * The name after the change; null when it was removed.
8924
+ * The value after the change; null when it was removed.
8645
8925
  */
8646
8926
  to: string | null;
8647
8927
  }
@@ -8653,15 +8933,17 @@ export namespace ContactCardDeletedWebhookEvent {
8653
8933
  export interface ContactCard {
8654
8934
  id: string;
8655
8935
 
8936
+ first_name: string;
8937
+
8656
8938
  /**
8657
- * Display name. Absent when the card has no name.
8939
+ * Null when the card has no photo.
8658
8940
  */
8659
- name?: string;
8941
+ image_url: string | null;
8660
8942
 
8661
8943
  /**
8662
- * True when the photo changed. Only on `contact_card.updated`.
8944
+ * Null when the card has no last name.
8663
8945
  */
8664
- photo_updated?: boolean;
8946
+ last_name: string | null;
8665
8947
  }
8666
8948
 
8667
8949
  /**
@@ -8894,8 +9176,9 @@ export namespace APITokenCreatedWebhookEvent {
8894
9176
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
8895
9177
  * expired and activated events never carry it. `null` means none: `to: null` means
8896
9178
  * cleared and `from: null` means first set. The value type depends on the event
8897
- * and is given in each event's description. `contact_card.updated` uses `name`
8898
- * instead of `from` and `to`.
9179
+ * and is given in each event's description. `contact_card.updated` uses
9180
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
9181
+ * present only when that field changed.
8899
9182
  */
8900
9183
  change?: Data.Change;
8901
9184
 
@@ -8976,10 +9259,9 @@ export namespace APITokenCreatedWebhookEvent {
8976
9259
  id: string;
8977
9260
 
8978
9261
  /**
8979
- * When the token expires. On `api_token.created`, `api_token.expired` and
8980
- * `api_token.deleted`; absent if it never expires.
9262
+ * When the token expires; null if it never does.
8981
9263
  */
8982
- expires_at?: string;
9264
+ expires_at: string | null;
8983
9265
 
8984
9266
  /**
8985
9267
  * Absent when the token has no name.
@@ -8999,20 +9281,33 @@ export namespace APITokenCreatedWebhookEvent {
8999
9281
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
9000
9282
  * expired and activated events never carry it. `null` means none: `to: null` means
9001
9283
  * cleared and `from: null` means first set. The value type depends on the event
9002
- * and is given in each event's description. `contact_card.updated` uses `name`
9003
- * instead of `from` and `to`.
9284
+ * and is given in each event's description. `contact_card.updated` uses
9285
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
9286
+ * present only when that field changed.
9004
9287
  */
9005
9288
  export interface Change {
9289
+ /**
9290
+ * A single field's change, on `contact_card.updated`. Present only for the field
9291
+ * that changed.
9292
+ */
9293
+ first_name?: Change.FirstName;
9294
+
9006
9295
  /**
9007
9296
  * The value before the change; null when there was none.
9008
9297
  */
9009
9298
  from?: unknown;
9010
9299
 
9011
9300
  /**
9012
- * A contact card name change. Only on `contact_card.updated`, when the name
9013
- * changed.
9301
+ * A single field's change, on `contact_card.updated`. Present only for the field
9302
+ * that changed.
9303
+ */
9304
+ image_url?: Change.ImageURL;
9305
+
9306
+ /**
9307
+ * A single field's change, on `contact_card.updated`. Present only for the field
9308
+ * that changed.
9014
9309
  */
9015
- name?: Change.Name;
9310
+ last_name?: Change.LastName;
9016
9311
 
9017
9312
  /**
9018
9313
  * The value after the change; null when it was cleared.
@@ -9022,17 +9317,49 @@ export namespace APITokenCreatedWebhookEvent {
9022
9317
 
9023
9318
  export namespace Change {
9024
9319
  /**
9025
- * A contact card name change. Only on `contact_card.updated`, when the name
9026
- * changed.
9320
+ * A single field's change, on `contact_card.updated`. Present only for the field
9321
+ * that changed.
9322
+ */
9323
+ export interface FirstName {
9324
+ /**
9325
+ * The value before the change; null when the card had none.
9326
+ */
9327
+ from: string | null;
9328
+
9329
+ /**
9330
+ * The value after the change; null when it was removed.
9331
+ */
9332
+ to: string | null;
9333
+ }
9334
+
9335
+ /**
9336
+ * A single field's change, on `contact_card.updated`. Present only for the field
9337
+ * that changed.
9338
+ */
9339
+ export interface ImageURL {
9340
+ /**
9341
+ * The value before the change; null when the card had none.
9342
+ */
9343
+ from: string | null;
9344
+
9345
+ /**
9346
+ * The value after the change; null when it was removed.
9347
+ */
9348
+ to: string | null;
9349
+ }
9350
+
9351
+ /**
9352
+ * A single field's change, on `contact_card.updated`. Present only for the field
9353
+ * that changed.
9027
9354
  */
9028
- export interface Name {
9355
+ export interface LastName {
9029
9356
  /**
9030
- * The name before the change; null when the card had no name.
9357
+ * The value before the change; null when the card had none.
9031
9358
  */
9032
9359
  from: string | null;
9033
9360
 
9034
9361
  /**
9035
- * The name after the change; null when it was removed.
9362
+ * The value after the change; null when it was removed.
9036
9363
  */
9037
9364
  to: string | null;
9038
9365
  }
@@ -9044,15 +9371,17 @@ export namespace APITokenCreatedWebhookEvent {
9044
9371
  export interface ContactCard {
9045
9372
  id: string;
9046
9373
 
9374
+ first_name: string;
9375
+
9047
9376
  /**
9048
- * Display name. Absent when the card has no name.
9377
+ * Null when the card has no photo.
9049
9378
  */
9050
- name?: string;
9379
+ image_url: string | null;
9051
9380
 
9052
9381
  /**
9053
- * True when the photo changed. Only on `contact_card.updated`.
9382
+ * Null when the card has no last name.
9054
9383
  */
9055
- photo_updated?: boolean;
9384
+ last_name: string | null;
9056
9385
  }
9057
9386
 
9058
9387
  /**
@@ -9285,8 +9614,9 @@ export namespace APITokenRenamedWebhookEvent {
9285
9614
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
9286
9615
  * expired and activated events never carry it. `null` means none: `to: null` means
9287
9616
  * cleared and `from: null` means first set. The value type depends on the event
9288
- * and is given in each event's description. `contact_card.updated` uses `name`
9289
- * instead of `from` and `to`.
9617
+ * and is given in each event's description. `contact_card.updated` uses
9618
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
9619
+ * present only when that field changed.
9290
9620
  */
9291
9621
  change?: Data.Change;
9292
9622
 
@@ -9367,10 +9697,9 @@ export namespace APITokenRenamedWebhookEvent {
9367
9697
  id: string;
9368
9698
 
9369
9699
  /**
9370
- * When the token expires. On `api_token.created`, `api_token.expired` and
9371
- * `api_token.deleted`; absent if it never expires.
9700
+ * When the token expires; null if it never does.
9372
9701
  */
9373
- expires_at?: string;
9702
+ expires_at: string | null;
9374
9703
 
9375
9704
  /**
9376
9705
  * Absent when the token has no name.
@@ -9390,20 +9719,33 @@ export namespace APITokenRenamedWebhookEvent {
9390
9719
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
9391
9720
  * expired and activated events never carry it. `null` means none: `to: null` means
9392
9721
  * cleared and `from: null` means first set. The value type depends on the event
9393
- * and is given in each event's description. `contact_card.updated` uses `name`
9394
- * instead of `from` and `to`.
9722
+ * and is given in each event's description. `contact_card.updated` uses
9723
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
9724
+ * present only when that field changed.
9395
9725
  */
9396
9726
  export interface Change {
9727
+ /**
9728
+ * A single field's change, on `contact_card.updated`. Present only for the field
9729
+ * that changed.
9730
+ */
9731
+ first_name?: Change.FirstName;
9732
+
9397
9733
  /**
9398
9734
  * The value before the change; null when there was none.
9399
9735
  */
9400
9736
  from?: unknown;
9401
9737
 
9402
9738
  /**
9403
- * A contact card name change. Only on `contact_card.updated`, when the name
9404
- * changed.
9739
+ * A single field's change, on `contact_card.updated`. Present only for the field
9740
+ * that changed.
9741
+ */
9742
+ image_url?: Change.ImageURL;
9743
+
9744
+ /**
9745
+ * A single field's change, on `contact_card.updated`. Present only for the field
9746
+ * that changed.
9405
9747
  */
9406
- name?: Change.Name;
9748
+ last_name?: Change.LastName;
9407
9749
 
9408
9750
  /**
9409
9751
  * The value after the change; null when it was cleared.
@@ -9413,17 +9755,49 @@ export namespace APITokenRenamedWebhookEvent {
9413
9755
 
9414
9756
  export namespace Change {
9415
9757
  /**
9416
- * A contact card name change. Only on `contact_card.updated`, when the name
9417
- * changed.
9758
+ * A single field's change, on `contact_card.updated`. Present only for the field
9759
+ * that changed.
9760
+ */
9761
+ export interface FirstName {
9762
+ /**
9763
+ * The value before the change; null when the card had none.
9764
+ */
9765
+ from: string | null;
9766
+
9767
+ /**
9768
+ * The value after the change; null when it was removed.
9769
+ */
9770
+ to: string | null;
9771
+ }
9772
+
9773
+ /**
9774
+ * A single field's change, on `contact_card.updated`. Present only for the field
9775
+ * that changed.
9776
+ */
9777
+ export interface ImageURL {
9778
+ /**
9779
+ * The value before the change; null when the card had none.
9780
+ */
9781
+ from: string | null;
9782
+
9783
+ /**
9784
+ * The value after the change; null when it was removed.
9785
+ */
9786
+ to: string | null;
9787
+ }
9788
+
9789
+ /**
9790
+ * A single field's change, on `contact_card.updated`. Present only for the field
9791
+ * that changed.
9418
9792
  */
9419
- export interface Name {
9793
+ export interface LastName {
9420
9794
  /**
9421
- * The name before the change; null when the card had no name.
9795
+ * The value before the change; null when the card had none.
9422
9796
  */
9423
9797
  from: string | null;
9424
9798
 
9425
9799
  /**
9426
- * The name after the change; null when it was removed.
9800
+ * The value after the change; null when it was removed.
9427
9801
  */
9428
9802
  to: string | null;
9429
9803
  }
@@ -9435,15 +9809,17 @@ export namespace APITokenRenamedWebhookEvent {
9435
9809
  export interface ContactCard {
9436
9810
  id: string;
9437
9811
 
9812
+ first_name: string;
9813
+
9438
9814
  /**
9439
- * Display name. Absent when the card has no name.
9815
+ * Null when the card has no photo.
9440
9816
  */
9441
- name?: string;
9817
+ image_url: string | null;
9442
9818
 
9443
9819
  /**
9444
- * True when the photo changed. Only on `contact_card.updated`.
9820
+ * Null when the card has no last name.
9445
9821
  */
9446
- photo_updated?: boolean;
9822
+ last_name: string | null;
9447
9823
  }
9448
9824
 
9449
9825
  /**
@@ -9676,8 +10052,9 @@ export namespace APITokenExpiryScheduledWebhookEvent {
9676
10052
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
9677
10053
  * expired and activated events never carry it. `null` means none: `to: null` means
9678
10054
  * cleared and `from: null` means first set. The value type depends on the event
9679
- * and is given in each event's description. `contact_card.updated` uses `name`
9680
- * instead of `from` and `to`.
10055
+ * and is given in each event's description. `contact_card.updated` uses
10056
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
10057
+ * present only when that field changed.
9681
10058
  */
9682
10059
  change?: Data.Change;
9683
10060
 
@@ -9758,10 +10135,9 @@ export namespace APITokenExpiryScheduledWebhookEvent {
9758
10135
  id: string;
9759
10136
 
9760
10137
  /**
9761
- * When the token expires. On `api_token.created`, `api_token.expired` and
9762
- * `api_token.deleted`; absent if it never expires.
10138
+ * When the token expires; null if it never does.
9763
10139
  */
9764
- expires_at?: string;
10140
+ expires_at: string | null;
9765
10141
 
9766
10142
  /**
9767
10143
  * Absent when the token has no name.
@@ -9781,20 +10157,33 @@ export namespace APITokenExpiryScheduledWebhookEvent {
9781
10157
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
9782
10158
  * expired and activated events never carry it. `null` means none: `to: null` means
9783
10159
  * cleared and `from: null` means first set. The value type depends on the event
9784
- * and is given in each event's description. `contact_card.updated` uses `name`
9785
- * instead of `from` and `to`.
10160
+ * and is given in each event's description. `contact_card.updated` uses
10161
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
10162
+ * present only when that field changed.
9786
10163
  */
9787
10164
  export interface Change {
10165
+ /**
10166
+ * A single field's change, on `contact_card.updated`. Present only for the field
10167
+ * that changed.
10168
+ */
10169
+ first_name?: Change.FirstName;
10170
+
9788
10171
  /**
9789
10172
  * The value before the change; null when there was none.
9790
10173
  */
9791
10174
  from?: unknown;
9792
10175
 
9793
10176
  /**
9794
- * A contact card name change. Only on `contact_card.updated`, when the name
9795
- * changed.
10177
+ * A single field's change, on `contact_card.updated`. Present only for the field
10178
+ * that changed.
10179
+ */
10180
+ image_url?: Change.ImageURL;
10181
+
10182
+ /**
10183
+ * A single field's change, on `contact_card.updated`. Present only for the field
10184
+ * that changed.
9796
10185
  */
9797
- name?: Change.Name;
10186
+ last_name?: Change.LastName;
9798
10187
 
9799
10188
  /**
9800
10189
  * The value after the change; null when it was cleared.
@@ -9804,37 +10193,71 @@ export namespace APITokenExpiryScheduledWebhookEvent {
9804
10193
 
9805
10194
  export namespace Change {
9806
10195
  /**
9807
- * A contact card name change. Only on `contact_card.updated`, when the name
9808
- * changed.
10196
+ * A single field's change, on `contact_card.updated`. Present only for the field
10197
+ * that changed.
9809
10198
  */
9810
- export interface Name {
10199
+ export interface FirstName {
9811
10200
  /**
9812
- * The name before the change; null when the card had no name.
10201
+ * The value before the change; null when the card had none.
9813
10202
  */
9814
10203
  from: string | null;
9815
10204
 
9816
10205
  /**
9817
- * The name after the change; null when it was removed.
10206
+ * The value after the change; null when it was removed.
9818
10207
  */
9819
10208
  to: string | null;
9820
10209
  }
9821
- }
9822
-
9823
- /**
9824
- * The contact card that changed.
9825
- */
9826
- export interface ContactCard {
9827
- id: string;
9828
10210
 
9829
10211
  /**
9830
- * Display name. Absent when the card has no name.
10212
+ * A single field's change, on `contact_card.updated`. Present only for the field
10213
+ * that changed.
9831
10214
  */
9832
- name?: string;
9833
-
9834
- /**
9835
- * True when the photo changed. Only on `contact_card.updated`.
10215
+ export interface ImageURL {
10216
+ /**
10217
+ * The value before the change; null when the card had none.
10218
+ */
10219
+ from: string | null;
10220
+
10221
+ /**
10222
+ * The value after the change; null when it was removed.
10223
+ */
10224
+ to: string | null;
10225
+ }
10226
+
10227
+ /**
10228
+ * A single field's change, on `contact_card.updated`. Present only for the field
10229
+ * that changed.
9836
10230
  */
9837
- photo_updated?: boolean;
10231
+ export interface LastName {
10232
+ /**
10233
+ * The value before the change; null when the card had none.
10234
+ */
10235
+ from: string | null;
10236
+
10237
+ /**
10238
+ * The value after the change; null when it was removed.
10239
+ */
10240
+ to: string | null;
10241
+ }
10242
+ }
10243
+
10244
+ /**
10245
+ * The contact card that changed.
10246
+ */
10247
+ export interface ContactCard {
10248
+ id: string;
10249
+
10250
+ first_name: string;
10251
+
10252
+ /**
10253
+ * Null when the card has no photo.
10254
+ */
10255
+ image_url: string | null;
10256
+
10257
+ /**
10258
+ * Null when the card has no last name.
10259
+ */
10260
+ last_name: string | null;
9838
10261
  }
9839
10262
 
9840
10263
  /**
@@ -10067,8 +10490,9 @@ export namespace APITokenExpiredWebhookEvent {
10067
10490
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10068
10491
  * expired and activated events never carry it. `null` means none: `to: null` means
10069
10492
  * cleared and `from: null` means first set. The value type depends on the event
10070
- * and is given in each event's description. `contact_card.updated` uses `name`
10071
- * instead of `from` and `to`.
10493
+ * and is given in each event's description. `contact_card.updated` uses
10494
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
10495
+ * present only when that field changed.
10072
10496
  */
10073
10497
  change?: Data.Change;
10074
10498
 
@@ -10149,10 +10573,9 @@ export namespace APITokenExpiredWebhookEvent {
10149
10573
  id: string;
10150
10574
 
10151
10575
  /**
10152
- * When the token expires. On `api_token.created`, `api_token.expired` and
10153
- * `api_token.deleted`; absent if it never expires.
10576
+ * When the token expires; null if it never does.
10154
10577
  */
10155
- expires_at?: string;
10578
+ expires_at: string | null;
10156
10579
 
10157
10580
  /**
10158
10581
  * Absent when the token has no name.
@@ -10172,20 +10595,33 @@ export namespace APITokenExpiredWebhookEvent {
10172
10595
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10173
10596
  * expired and activated events never carry it. `null` means none: `to: null` means
10174
10597
  * cleared and `from: null` means first set. The value type depends on the event
10175
- * and is given in each event's description. `contact_card.updated` uses `name`
10176
- * instead of `from` and `to`.
10598
+ * and is given in each event's description. `contact_card.updated` uses
10599
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
10600
+ * present only when that field changed.
10177
10601
  */
10178
10602
  export interface Change {
10603
+ /**
10604
+ * A single field's change, on `contact_card.updated`. Present only for the field
10605
+ * that changed.
10606
+ */
10607
+ first_name?: Change.FirstName;
10608
+
10179
10609
  /**
10180
10610
  * The value before the change; null when there was none.
10181
10611
  */
10182
10612
  from?: unknown;
10183
10613
 
10184
10614
  /**
10185
- * A contact card name change. Only on `contact_card.updated`, when the name
10186
- * changed.
10615
+ * A single field's change, on `contact_card.updated`. Present only for the field
10616
+ * that changed.
10617
+ */
10618
+ image_url?: Change.ImageURL;
10619
+
10620
+ /**
10621
+ * A single field's change, on `contact_card.updated`. Present only for the field
10622
+ * that changed.
10187
10623
  */
10188
- name?: Change.Name;
10624
+ last_name?: Change.LastName;
10189
10625
 
10190
10626
  /**
10191
10627
  * The value after the change; null when it was cleared.
@@ -10195,17 +10631,49 @@ export namespace APITokenExpiredWebhookEvent {
10195
10631
 
10196
10632
  export namespace Change {
10197
10633
  /**
10198
- * A contact card name change. Only on `contact_card.updated`, when the name
10199
- * changed.
10634
+ * A single field's change, on `contact_card.updated`. Present only for the field
10635
+ * that changed.
10636
+ */
10637
+ export interface FirstName {
10638
+ /**
10639
+ * The value before the change; null when the card had none.
10640
+ */
10641
+ from: string | null;
10642
+
10643
+ /**
10644
+ * The value after the change; null when it was removed.
10645
+ */
10646
+ to: string | null;
10647
+ }
10648
+
10649
+ /**
10650
+ * A single field's change, on `contact_card.updated`. Present only for the field
10651
+ * that changed.
10200
10652
  */
10201
- export interface Name {
10653
+ export interface ImageURL {
10202
10654
  /**
10203
- * The name before the change; null when the card had no name.
10655
+ * The value before the change; null when the card had none.
10204
10656
  */
10205
10657
  from: string | null;
10206
10658
 
10207
10659
  /**
10208
- * The name after the change; null when it was removed.
10660
+ * The value after the change; null when it was removed.
10661
+ */
10662
+ to: string | null;
10663
+ }
10664
+
10665
+ /**
10666
+ * A single field's change, on `contact_card.updated`. Present only for the field
10667
+ * that changed.
10668
+ */
10669
+ export interface LastName {
10670
+ /**
10671
+ * The value before the change; null when the card had none.
10672
+ */
10673
+ from: string | null;
10674
+
10675
+ /**
10676
+ * The value after the change; null when it was removed.
10209
10677
  */
10210
10678
  to: string | null;
10211
10679
  }
@@ -10217,15 +10685,17 @@ export namespace APITokenExpiredWebhookEvent {
10217
10685
  export interface ContactCard {
10218
10686
  id: string;
10219
10687
 
10688
+ first_name: string;
10689
+
10220
10690
  /**
10221
- * Display name. Absent when the card has no name.
10691
+ * Null when the card has no photo.
10222
10692
  */
10223
- name?: string;
10693
+ image_url: string | null;
10224
10694
 
10225
10695
  /**
10226
- * True when the photo changed. Only on `contact_card.updated`.
10696
+ * Null when the card has no last name.
10227
10697
  */
10228
- photo_updated?: boolean;
10698
+ last_name: string | null;
10229
10699
  }
10230
10700
 
10231
10701
  /**
@@ -10458,8 +10928,9 @@ export namespace APITokenActivatedWebhookEvent {
10458
10928
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10459
10929
  * expired and activated events never carry it. `null` means none: `to: null` means
10460
10930
  * cleared and `from: null` means first set. The value type depends on the event
10461
- * and is given in each event's description. `contact_card.updated` uses `name`
10462
- * instead of `from` and `to`.
10931
+ * and is given in each event's description. `contact_card.updated` uses
10932
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
10933
+ * present only when that field changed.
10463
10934
  */
10464
10935
  change?: Data.Change;
10465
10936
 
@@ -10540,10 +11011,9 @@ export namespace APITokenActivatedWebhookEvent {
10540
11011
  id: string;
10541
11012
 
10542
11013
  /**
10543
- * When the token expires. On `api_token.created`, `api_token.expired` and
10544
- * `api_token.deleted`; absent if it never expires.
11014
+ * When the token expires; null if it never does.
10545
11015
  */
10546
- expires_at?: string;
11016
+ expires_at: string | null;
10547
11017
 
10548
11018
  /**
10549
11019
  * Absent when the token has no name.
@@ -10563,20 +11033,33 @@ export namespace APITokenActivatedWebhookEvent {
10563
11033
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10564
11034
  * expired and activated events never carry it. `null` means none: `to: null` means
10565
11035
  * cleared and `from: null` means first set. The value type depends on the event
10566
- * and is given in each event's description. `contact_card.updated` uses `name`
10567
- * instead of `from` and `to`.
11036
+ * and is given in each event's description. `contact_card.updated` uses
11037
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
11038
+ * present only when that field changed.
10568
11039
  */
10569
11040
  export interface Change {
11041
+ /**
11042
+ * A single field's change, on `contact_card.updated`. Present only for the field
11043
+ * that changed.
11044
+ */
11045
+ first_name?: Change.FirstName;
11046
+
10570
11047
  /**
10571
11048
  * The value before the change; null when there was none.
10572
11049
  */
10573
11050
  from?: unknown;
10574
11051
 
10575
11052
  /**
10576
- * A contact card name change. Only on `contact_card.updated`, when the name
10577
- * changed.
11053
+ * A single field's change, on `contact_card.updated`. Present only for the field
11054
+ * that changed.
11055
+ */
11056
+ image_url?: Change.ImageURL;
11057
+
11058
+ /**
11059
+ * A single field's change, on `contact_card.updated`. Present only for the field
11060
+ * that changed.
10578
11061
  */
10579
- name?: Change.Name;
11062
+ last_name?: Change.LastName;
10580
11063
 
10581
11064
  /**
10582
11065
  * The value after the change; null when it was cleared.
@@ -10586,17 +11069,49 @@ export namespace APITokenActivatedWebhookEvent {
10586
11069
 
10587
11070
  export namespace Change {
10588
11071
  /**
10589
- * A contact card name change. Only on `contact_card.updated`, when the name
10590
- * changed.
11072
+ * A single field's change, on `contact_card.updated`. Present only for the field
11073
+ * that changed.
11074
+ */
11075
+ export interface FirstName {
11076
+ /**
11077
+ * The value before the change; null when the card had none.
11078
+ */
11079
+ from: string | null;
11080
+
11081
+ /**
11082
+ * The value after the change; null when it was removed.
11083
+ */
11084
+ to: string | null;
11085
+ }
11086
+
11087
+ /**
11088
+ * A single field's change, on `contact_card.updated`. Present only for the field
11089
+ * that changed.
11090
+ */
11091
+ export interface ImageURL {
11092
+ /**
11093
+ * The value before the change; null when the card had none.
11094
+ */
11095
+ from: string | null;
11096
+
11097
+ /**
11098
+ * The value after the change; null when it was removed.
11099
+ */
11100
+ to: string | null;
11101
+ }
11102
+
11103
+ /**
11104
+ * A single field's change, on `contact_card.updated`. Present only for the field
11105
+ * that changed.
10591
11106
  */
10592
- export interface Name {
11107
+ export interface LastName {
10593
11108
  /**
10594
- * The name before the change; null when the card had no name.
11109
+ * The value before the change; null when the card had none.
10595
11110
  */
10596
11111
  from: string | null;
10597
11112
 
10598
11113
  /**
10599
- * The name after the change; null when it was removed.
11114
+ * The value after the change; null when it was removed.
10600
11115
  */
10601
11116
  to: string | null;
10602
11117
  }
@@ -10608,15 +11123,17 @@ export namespace APITokenActivatedWebhookEvent {
10608
11123
  export interface ContactCard {
10609
11124
  id: string;
10610
11125
 
11126
+ first_name: string;
11127
+
10611
11128
  /**
10612
- * Display name. Absent when the card has no name.
11129
+ * Null when the card has no photo.
10613
11130
  */
10614
- name?: string;
11131
+ image_url: string | null;
10615
11132
 
10616
11133
  /**
10617
- * True when the photo changed. Only on `contact_card.updated`.
11134
+ * Null when the card has no last name.
10618
11135
  */
10619
- photo_updated?: boolean;
11136
+ last_name: string | null;
10620
11137
  }
10621
11138
 
10622
11139
  /**
@@ -10849,8 +11366,9 @@ export namespace APITokenDeletedWebhookEvent {
10849
11366
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10850
11367
  * expired and activated events never carry it. `null` means none: `to: null` means
10851
11368
  * cleared and `from: null` means first set. The value type depends on the event
10852
- * and is given in each event's description. `contact_card.updated` uses `name`
10853
- * instead of `from` and `to`.
11369
+ * and is given in each event's description. `contact_card.updated` uses
11370
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
11371
+ * present only when that field changed.
10854
11372
  */
10855
11373
  change?: Data.Change;
10856
11374
 
@@ -10931,10 +11449,9 @@ export namespace APITokenDeletedWebhookEvent {
10931
11449
  id: string;
10932
11450
 
10933
11451
  /**
10934
- * When the token expires. On `api_token.created`, `api_token.expired` and
10935
- * `api_token.deleted`; absent if it never expires.
11452
+ * When the token expires; null if it never does.
10936
11453
  */
10937
- expires_at?: string;
11454
+ expires_at: string | null;
10938
11455
 
10939
11456
  /**
10940
11457
  * Absent when the token has no name.
@@ -10954,20 +11471,33 @@ export namespace APITokenDeletedWebhookEvent {
10954
11471
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
10955
11472
  * expired and activated events never carry it. `null` means none: `to: null` means
10956
11473
  * cleared and `from: null` means first set. The value type depends on the event
10957
- * and is given in each event's description. `contact_card.updated` uses `name`
10958
- * instead of `from` and `to`.
11474
+ * and is given in each event's description. `contact_card.updated` uses
11475
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
11476
+ * present only when that field changed.
10959
11477
  */
10960
11478
  export interface Change {
11479
+ /**
11480
+ * A single field's change, on `contact_card.updated`. Present only for the field
11481
+ * that changed.
11482
+ */
11483
+ first_name?: Change.FirstName;
11484
+
10961
11485
  /**
10962
11486
  * The value before the change; null when there was none.
10963
11487
  */
10964
11488
  from?: unknown;
10965
11489
 
10966
11490
  /**
10967
- * A contact card name change. Only on `contact_card.updated`, when the name
10968
- * changed.
11491
+ * A single field's change, on `contact_card.updated`. Present only for the field
11492
+ * that changed.
11493
+ */
11494
+ image_url?: Change.ImageURL;
11495
+
11496
+ /**
11497
+ * A single field's change, on `contact_card.updated`. Present only for the field
11498
+ * that changed.
10969
11499
  */
10970
- name?: Change.Name;
11500
+ last_name?: Change.LastName;
10971
11501
 
10972
11502
  /**
10973
11503
  * The value after the change; null when it was cleared.
@@ -10977,17 +11507,49 @@ export namespace APITokenDeletedWebhookEvent {
10977
11507
 
10978
11508
  export namespace Change {
10979
11509
  /**
10980
- * A contact card name change. Only on `contact_card.updated`, when the name
10981
- * changed.
11510
+ * A single field's change, on `contact_card.updated`. Present only for the field
11511
+ * that changed.
10982
11512
  */
10983
- export interface Name {
11513
+ export interface FirstName {
10984
11514
  /**
10985
- * The name before the change; null when the card had no name.
11515
+ * The value before the change; null when the card had none.
10986
11516
  */
10987
11517
  from: string | null;
10988
11518
 
10989
11519
  /**
10990
- * The name after the change; null when it was removed.
11520
+ * The value after the change; null when it was removed.
11521
+ */
11522
+ to: string | null;
11523
+ }
11524
+
11525
+ /**
11526
+ * A single field's change, on `contact_card.updated`. Present only for the field
11527
+ * that changed.
11528
+ */
11529
+ export interface ImageURL {
11530
+ /**
11531
+ * The value before the change; null when the card had none.
11532
+ */
11533
+ from: string | null;
11534
+
11535
+ /**
11536
+ * The value after the change; null when it was removed.
11537
+ */
11538
+ to: string | null;
11539
+ }
11540
+
11541
+ /**
11542
+ * A single field's change, on `contact_card.updated`. Present only for the field
11543
+ * that changed.
11544
+ */
11545
+ export interface LastName {
11546
+ /**
11547
+ * The value before the change; null when the card had none.
11548
+ */
11549
+ from: string | null;
11550
+
11551
+ /**
11552
+ * The value after the change; null when it was removed.
10991
11553
  */
10992
11554
  to: string | null;
10993
11555
  }
@@ -10999,15 +11561,17 @@ export namespace APITokenDeletedWebhookEvent {
10999
11561
  export interface ContactCard {
11000
11562
  id: string;
11001
11563
 
11564
+ first_name: string;
11565
+
11002
11566
  /**
11003
- * Display name. Absent when the card has no name.
11567
+ * Null when the card has no photo.
11004
11568
  */
11005
- name?: string;
11569
+ image_url: string | null;
11006
11570
 
11007
11571
  /**
11008
- * True when the photo changed. Only on `contact_card.updated`.
11572
+ * Null when the card has no last name.
11009
11573
  */
11010
- photo_updated?: boolean;
11574
+ last_name: string | null;
11011
11575
  }
11012
11576
 
11013
11577
  /**
@@ -11240,8 +11804,9 @@ export namespace EnvironmentCreatedWebhookEvent {
11240
11804
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
11241
11805
  * expired and activated events never carry it. `null` means none: `to: null` means
11242
11806
  * cleared and `from: null` means first set. The value type depends on the event
11243
- * and is given in each event's description. `contact_card.updated` uses `name`
11244
- * instead of `from` and `to`.
11807
+ * and is given in each event's description. `contact_card.updated` uses
11808
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
11809
+ * present only when that field changed.
11245
11810
  */
11246
11811
  change?: Data.Change;
11247
11812
 
@@ -11322,10 +11887,9 @@ export namespace EnvironmentCreatedWebhookEvent {
11322
11887
  id: string;
11323
11888
 
11324
11889
  /**
11325
- * When the token expires. On `api_token.created`, `api_token.expired` and
11326
- * `api_token.deleted`; absent if it never expires.
11890
+ * When the token expires; null if it never does.
11327
11891
  */
11328
- expires_at?: string;
11892
+ expires_at: string | null;
11329
11893
 
11330
11894
  /**
11331
11895
  * Absent when the token has no name.
@@ -11345,20 +11909,33 @@ export namespace EnvironmentCreatedWebhookEvent {
11345
11909
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
11346
11910
  * expired and activated events never carry it. `null` means none: `to: null` means
11347
11911
  * cleared and `from: null` means first set. The value type depends on the event
11348
- * and is given in each event's description. `contact_card.updated` uses `name`
11349
- * instead of `from` and `to`.
11912
+ * and is given in each event's description. `contact_card.updated` uses
11913
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
11914
+ * present only when that field changed.
11350
11915
  */
11351
11916
  export interface Change {
11917
+ /**
11918
+ * A single field's change, on `contact_card.updated`. Present only for the field
11919
+ * that changed.
11920
+ */
11921
+ first_name?: Change.FirstName;
11922
+
11352
11923
  /**
11353
11924
  * The value before the change; null when there was none.
11354
11925
  */
11355
11926
  from?: unknown;
11356
11927
 
11357
11928
  /**
11358
- * A contact card name change. Only on `contact_card.updated`, when the name
11359
- * changed.
11929
+ * A single field's change, on `contact_card.updated`. Present only for the field
11930
+ * that changed.
11931
+ */
11932
+ image_url?: Change.ImageURL;
11933
+
11934
+ /**
11935
+ * A single field's change, on `contact_card.updated`. Present only for the field
11936
+ * that changed.
11360
11937
  */
11361
- name?: Change.Name;
11938
+ last_name?: Change.LastName;
11362
11939
 
11363
11940
  /**
11364
11941
  * The value after the change; null when it was cleared.
@@ -11368,17 +11945,49 @@ export namespace EnvironmentCreatedWebhookEvent {
11368
11945
 
11369
11946
  export namespace Change {
11370
11947
  /**
11371
- * A contact card name change. Only on `contact_card.updated`, when the name
11372
- * changed.
11948
+ * A single field's change, on `contact_card.updated`. Present only for the field
11949
+ * that changed.
11373
11950
  */
11374
- export interface Name {
11951
+ export interface FirstName {
11375
11952
  /**
11376
- * The name before the change; null when the card had no name.
11953
+ * The value before the change; null when the card had none.
11377
11954
  */
11378
11955
  from: string | null;
11379
11956
 
11380
11957
  /**
11381
- * The name after the change; null when it was removed.
11958
+ * The value after the change; null when it was removed.
11959
+ */
11960
+ to: string | null;
11961
+ }
11962
+
11963
+ /**
11964
+ * A single field's change, on `contact_card.updated`. Present only for the field
11965
+ * that changed.
11966
+ */
11967
+ export interface ImageURL {
11968
+ /**
11969
+ * The value before the change; null when the card had none.
11970
+ */
11971
+ from: string | null;
11972
+
11973
+ /**
11974
+ * The value after the change; null when it was removed.
11975
+ */
11976
+ to: string | null;
11977
+ }
11978
+
11979
+ /**
11980
+ * A single field's change, on `contact_card.updated`. Present only for the field
11981
+ * that changed.
11982
+ */
11983
+ export interface LastName {
11984
+ /**
11985
+ * The value before the change; null when the card had none.
11986
+ */
11987
+ from: string | null;
11988
+
11989
+ /**
11990
+ * The value after the change; null when it was removed.
11382
11991
  */
11383
11992
  to: string | null;
11384
11993
  }
@@ -11390,15 +11999,17 @@ export namespace EnvironmentCreatedWebhookEvent {
11390
11999
  export interface ContactCard {
11391
12000
  id: string;
11392
12001
 
12002
+ first_name: string;
12003
+
11393
12004
  /**
11394
- * Display name. Absent when the card has no name.
12005
+ * Null when the card has no photo.
11395
12006
  */
11396
- name?: string;
12007
+ image_url: string | null;
11397
12008
 
11398
12009
  /**
11399
- * True when the photo changed. Only on `contact_card.updated`.
12010
+ * Null when the card has no last name.
11400
12011
  */
11401
- photo_updated?: boolean;
12012
+ last_name: string | null;
11402
12013
  }
11403
12014
 
11404
12015
  /**
@@ -11631,8 +12242,9 @@ export namespace EnvironmentRenamedWebhookEvent {
11631
12242
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
11632
12243
  * expired and activated events never carry it. `null` means none: `to: null` means
11633
12244
  * cleared and `from: null` means first set. The value type depends on the event
11634
- * and is given in each event's description. `contact_card.updated` uses `name`
11635
- * instead of `from` and `to`.
12245
+ * and is given in each event's description. `contact_card.updated` uses
12246
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
12247
+ * present only when that field changed.
11636
12248
  */
11637
12249
  change?: Data.Change;
11638
12250
 
@@ -11713,10 +12325,9 @@ export namespace EnvironmentRenamedWebhookEvent {
11713
12325
  id: string;
11714
12326
 
11715
12327
  /**
11716
- * When the token expires. On `api_token.created`, `api_token.expired` and
11717
- * `api_token.deleted`; absent if it never expires.
12328
+ * When the token expires; null if it never does.
11718
12329
  */
11719
- expires_at?: string;
12330
+ expires_at: string | null;
11720
12331
 
11721
12332
  /**
11722
12333
  * Absent when the token has no name.
@@ -11736,20 +12347,33 @@ export namespace EnvironmentRenamedWebhookEvent {
11736
12347
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
11737
12348
  * expired and activated events never carry it. `null` means none: `to: null` means
11738
12349
  * cleared and `from: null` means first set. The value type depends on the event
11739
- * and is given in each event's description. `contact_card.updated` uses `name`
11740
- * instead of `from` and `to`.
12350
+ * and is given in each event's description. `contact_card.updated` uses
12351
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
12352
+ * present only when that field changed.
11741
12353
  */
11742
12354
  export interface Change {
12355
+ /**
12356
+ * A single field's change, on `contact_card.updated`. Present only for the field
12357
+ * that changed.
12358
+ */
12359
+ first_name?: Change.FirstName;
12360
+
11743
12361
  /**
11744
12362
  * The value before the change; null when there was none.
11745
12363
  */
11746
12364
  from?: unknown;
11747
12365
 
11748
12366
  /**
11749
- * A contact card name change. Only on `contact_card.updated`, when the name
11750
- * changed.
12367
+ * A single field's change, on `contact_card.updated`. Present only for the field
12368
+ * that changed.
11751
12369
  */
11752
- name?: Change.Name;
12370
+ image_url?: Change.ImageURL;
12371
+
12372
+ /**
12373
+ * A single field's change, on `contact_card.updated`. Present only for the field
12374
+ * that changed.
12375
+ */
12376
+ last_name?: Change.LastName;
11753
12377
 
11754
12378
  /**
11755
12379
  * The value after the change; null when it was cleared.
@@ -11759,17 +12383,49 @@ export namespace EnvironmentRenamedWebhookEvent {
11759
12383
 
11760
12384
  export namespace Change {
11761
12385
  /**
11762
- * A contact card name change. Only on `contact_card.updated`, when the name
11763
- * changed.
12386
+ * A single field's change, on `contact_card.updated`. Present only for the field
12387
+ * that changed.
12388
+ */
12389
+ export interface FirstName {
12390
+ /**
12391
+ * The value before the change; null when the card had none.
12392
+ */
12393
+ from: string | null;
12394
+
12395
+ /**
12396
+ * The value after the change; null when it was removed.
12397
+ */
12398
+ to: string | null;
12399
+ }
12400
+
12401
+ /**
12402
+ * A single field's change, on `contact_card.updated`. Present only for the field
12403
+ * that changed.
11764
12404
  */
11765
- export interface Name {
12405
+ export interface ImageURL {
11766
12406
  /**
11767
- * The name before the change; null when the card had no name.
12407
+ * The value before the change; null when the card had none.
11768
12408
  */
11769
12409
  from: string | null;
11770
12410
 
11771
12411
  /**
11772
- * The name after the change; null when it was removed.
12412
+ * The value after the change; null when it was removed.
12413
+ */
12414
+ to: string | null;
12415
+ }
12416
+
12417
+ /**
12418
+ * A single field's change, on `contact_card.updated`. Present only for the field
12419
+ * that changed.
12420
+ */
12421
+ export interface LastName {
12422
+ /**
12423
+ * The value before the change; null when the card had none.
12424
+ */
12425
+ from: string | null;
12426
+
12427
+ /**
12428
+ * The value after the change; null when it was removed.
11773
12429
  */
11774
12430
  to: string | null;
11775
12431
  }
@@ -11781,15 +12437,17 @@ export namespace EnvironmentRenamedWebhookEvent {
11781
12437
  export interface ContactCard {
11782
12438
  id: string;
11783
12439
 
12440
+ first_name: string;
12441
+
11784
12442
  /**
11785
- * Display name. Absent when the card has no name.
12443
+ * Null when the card has no photo.
11786
12444
  */
11787
- name?: string;
12445
+ image_url: string | null;
11788
12446
 
11789
12447
  /**
11790
- * True when the photo changed. Only on `contact_card.updated`.
12448
+ * Null when the card has no last name.
11791
12449
  */
11792
- photo_updated?: boolean;
12450
+ last_name: string | null;
11793
12451
  }
11794
12452
 
11795
12453
  /**
@@ -12022,8 +12680,9 @@ export namespace EnvironmentDeletedWebhookEvent {
12022
12680
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
12023
12681
  * expired and activated events never carry it. `null` means none: `to: null` means
12024
12682
  * cleared and `from: null` means first set. The value type depends on the event
12025
- * and is given in each event's description. `contact_card.updated` uses `name`
12026
- * instead of `from` and `to`.
12683
+ * and is given in each event's description. `contact_card.updated` uses
12684
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
12685
+ * present only when that field changed.
12027
12686
  */
12028
12687
  change?: Data.Change;
12029
12688
 
@@ -12104,10 +12763,9 @@ export namespace EnvironmentDeletedWebhookEvent {
12104
12763
  id: string;
12105
12764
 
12106
12765
  /**
12107
- * When the token expires. On `api_token.created`, `api_token.expired` and
12108
- * `api_token.deleted`; absent if it never expires.
12766
+ * When the token expires; null if it never does.
12109
12767
  */
12110
- expires_at?: string;
12768
+ expires_at: string | null;
12111
12769
 
12112
12770
  /**
12113
12771
  * Absent when the token has no name.
@@ -12127,20 +12785,33 @@ export namespace EnvironmentDeletedWebhookEvent {
12127
12785
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
12128
12786
  * expired and activated events never carry it. `null` means none: `to: null` means
12129
12787
  * cleared and `from: null` means first set. The value type depends on the event
12130
- * and is given in each event's description. `contact_card.updated` uses `name`
12131
- * instead of `from` and `to`.
12788
+ * and is given in each event's description. `contact_card.updated` uses
12789
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
12790
+ * present only when that field changed.
12132
12791
  */
12133
12792
  export interface Change {
12793
+ /**
12794
+ * A single field's change, on `contact_card.updated`. Present only for the field
12795
+ * that changed.
12796
+ */
12797
+ first_name?: Change.FirstName;
12798
+
12134
12799
  /**
12135
12800
  * The value before the change; null when there was none.
12136
12801
  */
12137
12802
  from?: unknown;
12138
12803
 
12139
12804
  /**
12140
- * A contact card name change. Only on `contact_card.updated`, when the name
12141
- * changed.
12805
+ * A single field's change, on `contact_card.updated`. Present only for the field
12806
+ * that changed.
12142
12807
  */
12143
- name?: Change.Name;
12808
+ image_url?: Change.ImageURL;
12809
+
12810
+ /**
12811
+ * A single field's change, on `contact_card.updated`. Present only for the field
12812
+ * that changed.
12813
+ */
12814
+ last_name?: Change.LastName;
12144
12815
 
12145
12816
  /**
12146
12817
  * The value after the change; null when it was cleared.
@@ -12150,17 +12821,49 @@ export namespace EnvironmentDeletedWebhookEvent {
12150
12821
 
12151
12822
  export namespace Change {
12152
12823
  /**
12153
- * A contact card name change. Only on `contact_card.updated`, when the name
12154
- * changed.
12824
+ * A single field's change, on `contact_card.updated`. Present only for the field
12825
+ * that changed.
12826
+ */
12827
+ export interface FirstName {
12828
+ /**
12829
+ * The value before the change; null when the card had none.
12830
+ */
12831
+ from: string | null;
12832
+
12833
+ /**
12834
+ * The value after the change; null when it was removed.
12835
+ */
12836
+ to: string | null;
12837
+ }
12838
+
12839
+ /**
12840
+ * A single field's change, on `contact_card.updated`. Present only for the field
12841
+ * that changed.
12842
+ */
12843
+ export interface ImageURL {
12844
+ /**
12845
+ * The value before the change; null when the card had none.
12846
+ */
12847
+ from: string | null;
12848
+
12849
+ /**
12850
+ * The value after the change; null when it was removed.
12851
+ */
12852
+ to: string | null;
12853
+ }
12854
+
12855
+ /**
12856
+ * A single field's change, on `contact_card.updated`. Present only for the field
12857
+ * that changed.
12155
12858
  */
12156
- export interface Name {
12859
+ export interface LastName {
12157
12860
  /**
12158
- * The name before the change; null when the card had no name.
12861
+ * The value before the change; null when the card had none.
12159
12862
  */
12160
12863
  from: string | null;
12161
12864
 
12162
12865
  /**
12163
- * The name after the change; null when it was removed.
12866
+ * The value after the change; null when it was removed.
12164
12867
  */
12165
12868
  to: string | null;
12166
12869
  }
@@ -12172,15 +12875,17 @@ export namespace EnvironmentDeletedWebhookEvent {
12172
12875
  export interface ContactCard {
12173
12876
  id: string;
12174
12877
 
12878
+ first_name: string;
12879
+
12175
12880
  /**
12176
- * Display name. Absent when the card has no name.
12881
+ * Null when the card has no photo.
12177
12882
  */
12178
- name?: string;
12883
+ image_url: string | null;
12179
12884
 
12180
12885
  /**
12181
- * True when the photo changed. Only on `contact_card.updated`.
12886
+ * Null when the card has no last name.
12182
12887
  */
12183
- photo_updated?: boolean;
12888
+ last_name: string | null;
12184
12889
  }
12185
12890
 
12186
12891
  /**
@@ -12413,8 +13118,9 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
12413
13118
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
12414
13119
  * expired and activated events never carry it. `null` means none: `to: null` means
12415
13120
  * cleared and `from: null` means first set. The value type depends on the event
12416
- * and is given in each event's description. `contact_card.updated` uses `name`
12417
- * instead of `from` and `to`.
13121
+ * and is given in each event's description. `contact_card.updated` uses
13122
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
13123
+ * present only when that field changed.
12418
13124
  */
12419
13125
  change?: Data.Change;
12420
13126
 
@@ -12495,10 +13201,9 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
12495
13201
  id: string;
12496
13202
 
12497
13203
  /**
12498
- * When the token expires. On `api_token.created`, `api_token.expired` and
12499
- * `api_token.deleted`; absent if it never expires.
13204
+ * When the token expires; null if it never does.
12500
13205
  */
12501
- expires_at?: string;
13206
+ expires_at: string | null;
12502
13207
 
12503
13208
  /**
12504
13209
  * Absent when the token has no name.
@@ -12518,20 +13223,33 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
12518
13223
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
12519
13224
  * expired and activated events never carry it. `null` means none: `to: null` means
12520
13225
  * cleared and `from: null` means first set. The value type depends on the event
12521
- * and is given in each event's description. `contact_card.updated` uses `name`
12522
- * instead of `from` and `to`.
13226
+ * and is given in each event's description. `contact_card.updated` uses
13227
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
13228
+ * present only when that field changed.
12523
13229
  */
12524
13230
  export interface Change {
13231
+ /**
13232
+ * A single field's change, on `contact_card.updated`. Present only for the field
13233
+ * that changed.
13234
+ */
13235
+ first_name?: Change.FirstName;
13236
+
12525
13237
  /**
12526
13238
  * The value before the change; null when there was none.
12527
13239
  */
12528
13240
  from?: unknown;
12529
13241
 
12530
13242
  /**
12531
- * A contact card name change. Only on `contact_card.updated`, when the name
12532
- * changed.
13243
+ * A single field's change, on `contact_card.updated`. Present only for the field
13244
+ * that changed.
12533
13245
  */
12534
- name?: Change.Name;
13246
+ image_url?: Change.ImageURL;
13247
+
13248
+ /**
13249
+ * A single field's change, on `contact_card.updated`. Present only for the field
13250
+ * that changed.
13251
+ */
13252
+ last_name?: Change.LastName;
12535
13253
 
12536
13254
  /**
12537
13255
  * The value after the change; null when it was cleared.
@@ -12541,17 +13259,49 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
12541
13259
 
12542
13260
  export namespace Change {
12543
13261
  /**
12544
- * A contact card name change. Only on `contact_card.updated`, when the name
12545
- * changed.
13262
+ * A single field's change, on `contact_card.updated`. Present only for the field
13263
+ * that changed.
12546
13264
  */
12547
- export interface Name {
13265
+ export interface FirstName {
12548
13266
  /**
12549
- * The name before the change; null when the card had no name.
13267
+ * The value before the change; null when the card had none.
12550
13268
  */
12551
13269
  from: string | null;
12552
13270
 
12553
13271
  /**
12554
- * The name after the change; null when it was removed.
13272
+ * The value after the change; null when it was removed.
13273
+ */
13274
+ to: string | null;
13275
+ }
13276
+
13277
+ /**
13278
+ * A single field's change, on `contact_card.updated`. Present only for the field
13279
+ * that changed.
13280
+ */
13281
+ export interface ImageURL {
13282
+ /**
13283
+ * The value before the change; null when the card had none.
13284
+ */
13285
+ from: string | null;
13286
+
13287
+ /**
13288
+ * The value after the change; null when it was removed.
13289
+ */
13290
+ to: string | null;
13291
+ }
13292
+
13293
+ /**
13294
+ * A single field's change, on `contact_card.updated`. Present only for the field
13295
+ * that changed.
13296
+ */
13297
+ export interface LastName {
13298
+ /**
13299
+ * The value before the change; null when the card had none.
13300
+ */
13301
+ from: string | null;
13302
+
13303
+ /**
13304
+ * The value after the change; null when it was removed.
12555
13305
  */
12556
13306
  to: string | null;
12557
13307
  }
@@ -12563,15 +13313,17 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
12563
13313
  export interface ContactCard {
12564
13314
  id: string;
12565
13315
 
13316
+ first_name: string;
13317
+
12566
13318
  /**
12567
- * Display name. Absent when the card has no name.
13319
+ * Null when the card has no photo.
12568
13320
  */
12569
- name?: string;
13321
+ image_url: string | null;
12570
13322
 
12571
13323
  /**
12572
- * True when the photo changed. Only on `contact_card.updated`.
13324
+ * Null when the card has no last name.
12573
13325
  */
12574
- photo_updated?: boolean;
13326
+ last_name: string | null;
12575
13327
  }
12576
13328
 
12577
13329
  /**
@@ -12804,8 +13556,9 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
12804
13556
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
12805
13557
  * expired and activated events never carry it. `null` means none: `to: null` means
12806
13558
  * cleared and `from: null` means first set. The value type depends on the event
12807
- * and is given in each event's description. `contact_card.updated` uses `name`
12808
- * instead of `from` and `to`.
13559
+ * and is given in each event's description. `contact_card.updated` uses
13560
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
13561
+ * present only when that field changed.
12809
13562
  */
12810
13563
  change?: Data.Change;
12811
13564
 
@@ -12886,10 +13639,9 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
12886
13639
  id: string;
12887
13640
 
12888
13641
  /**
12889
- * When the token expires. On `api_token.created`, `api_token.expired` and
12890
- * `api_token.deleted`; absent if it never expires.
13642
+ * When the token expires; null if it never does.
12891
13643
  */
12892
- expires_at?: string;
13644
+ expires_at: string | null;
12893
13645
 
12894
13646
  /**
12895
13647
  * Absent when the token has no name.
@@ -12909,20 +13661,33 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
12909
13661
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
12910
13662
  * expired and activated events never carry it. `null` means none: `to: null` means
12911
13663
  * cleared and `from: null` means first set. The value type depends on the event
12912
- * and is given in each event's description. `contact_card.updated` uses `name`
12913
- * instead of `from` and `to`.
13664
+ * and is given in each event's description. `contact_card.updated` uses
13665
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
13666
+ * present only when that field changed.
12914
13667
  */
12915
13668
  export interface Change {
13669
+ /**
13670
+ * A single field's change, on `contact_card.updated`. Present only for the field
13671
+ * that changed.
13672
+ */
13673
+ first_name?: Change.FirstName;
13674
+
12916
13675
  /**
12917
13676
  * The value before the change; null when there was none.
12918
13677
  */
12919
13678
  from?: unknown;
12920
13679
 
12921
13680
  /**
12922
- * A contact card name change. Only on `contact_card.updated`, when the name
12923
- * changed.
13681
+ * A single field's change, on `contact_card.updated`. Present only for the field
13682
+ * that changed.
13683
+ */
13684
+ image_url?: Change.ImageURL;
13685
+
13686
+ /**
13687
+ * A single field's change, on `contact_card.updated`. Present only for the field
13688
+ * that changed.
12924
13689
  */
12925
- name?: Change.Name;
13690
+ last_name?: Change.LastName;
12926
13691
 
12927
13692
  /**
12928
13693
  * The value after the change; null when it was cleared.
@@ -12932,17 +13697,49 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
12932
13697
 
12933
13698
  export namespace Change {
12934
13699
  /**
12935
- * A contact card name change. Only on `contact_card.updated`, when the name
12936
- * changed.
13700
+ * A single field's change, on `contact_card.updated`. Present only for the field
13701
+ * that changed.
12937
13702
  */
12938
- export interface Name {
13703
+ export interface FirstName {
12939
13704
  /**
12940
- * The name before the change; null when the card had no name.
13705
+ * The value before the change; null when the card had none.
12941
13706
  */
12942
13707
  from: string | null;
12943
13708
 
12944
13709
  /**
12945
- * The name after the change; null when it was removed.
13710
+ * The value after the change; null when it was removed.
13711
+ */
13712
+ to: string | null;
13713
+ }
13714
+
13715
+ /**
13716
+ * A single field's change, on `contact_card.updated`. Present only for the field
13717
+ * that changed.
13718
+ */
13719
+ export interface ImageURL {
13720
+ /**
13721
+ * The value before the change; null when the card had none.
13722
+ */
13723
+ from: string | null;
13724
+
13725
+ /**
13726
+ * The value after the change; null when it was removed.
13727
+ */
13728
+ to: string | null;
13729
+ }
13730
+
13731
+ /**
13732
+ * A single field's change, on `contact_card.updated`. Present only for the field
13733
+ * that changed.
13734
+ */
13735
+ export interface LastName {
13736
+ /**
13737
+ * The value before the change; null when the card had none.
13738
+ */
13739
+ from: string | null;
13740
+
13741
+ /**
13742
+ * The value after the change; null when it was removed.
12946
13743
  */
12947
13744
  to: string | null;
12948
13745
  }
@@ -12954,15 +13751,17 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
12954
13751
  export interface ContactCard {
12955
13752
  id: string;
12956
13753
 
13754
+ first_name: string;
13755
+
12957
13756
  /**
12958
- * Display name. Absent when the card has no name.
13757
+ * Null when the card has no photo.
12959
13758
  */
12960
- name?: string;
13759
+ image_url: string | null;
12961
13760
 
12962
13761
  /**
12963
- * True when the photo changed. Only on `contact_card.updated`.
13762
+ * Null when the card has no last name.
12964
13763
  */
12965
- photo_updated?: boolean;
13764
+ last_name: string | null;
12966
13765
  }
12967
13766
 
12968
13767
  /**
@@ -13195,8 +13994,9 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
13195
13994
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
13196
13995
  * expired and activated events never carry it. `null` means none: `to: null` means
13197
13996
  * cleared and `from: null` means first set. The value type depends on the event
13198
- * and is given in each event's description. `contact_card.updated` uses `name`
13199
- * instead of `from` and `to`.
13997
+ * and is given in each event's description. `contact_card.updated` uses
13998
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
13999
+ * present only when that field changed.
13200
14000
  */
13201
14001
  change?: Data.Change;
13202
14002
 
@@ -13277,10 +14077,9 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
13277
14077
  id: string;
13278
14078
 
13279
14079
  /**
13280
- * When the token expires. On `api_token.created`, `api_token.expired` and
13281
- * `api_token.deleted`; absent if it never expires.
14080
+ * When the token expires; null if it never does.
13282
14081
  */
13283
- expires_at?: string;
14082
+ expires_at: string | null;
13284
14083
 
13285
14084
  /**
13286
14085
  * Absent when the token has no name.
@@ -13300,20 +14099,33 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
13300
14099
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
13301
14100
  * expired and activated events never carry it. `null` means none: `to: null` means
13302
14101
  * cleared and `from: null` means first set. The value type depends on the event
13303
- * and is given in each event's description. `contact_card.updated` uses `name`
13304
- * instead of `from` and `to`.
14102
+ * and is given in each event's description. `contact_card.updated` uses
14103
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
14104
+ * present only when that field changed.
13305
14105
  */
13306
14106
  export interface Change {
14107
+ /**
14108
+ * A single field's change, on `contact_card.updated`. Present only for the field
14109
+ * that changed.
14110
+ */
14111
+ first_name?: Change.FirstName;
14112
+
13307
14113
  /**
13308
14114
  * The value before the change; null when there was none.
13309
14115
  */
13310
14116
  from?: unknown;
13311
14117
 
13312
14118
  /**
13313
- * A contact card name change. Only on `contact_card.updated`, when the name
13314
- * changed.
14119
+ * A single field's change, on `contact_card.updated`. Present only for the field
14120
+ * that changed.
14121
+ */
14122
+ image_url?: Change.ImageURL;
14123
+
14124
+ /**
14125
+ * A single field's change, on `contact_card.updated`. Present only for the field
14126
+ * that changed.
13315
14127
  */
13316
- name?: Change.Name;
14128
+ last_name?: Change.LastName;
13317
14129
 
13318
14130
  /**
13319
14131
  * The value after the change; null when it was cleared.
@@ -13323,17 +14135,49 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
13323
14135
 
13324
14136
  export namespace Change {
13325
14137
  /**
13326
- * A contact card name change. Only on `contact_card.updated`, when the name
13327
- * changed.
14138
+ * A single field's change, on `contact_card.updated`. Present only for the field
14139
+ * that changed.
14140
+ */
14141
+ export interface FirstName {
14142
+ /**
14143
+ * The value before the change; null when the card had none.
14144
+ */
14145
+ from: string | null;
14146
+
14147
+ /**
14148
+ * The value after the change; null when it was removed.
14149
+ */
14150
+ to: string | null;
14151
+ }
14152
+
14153
+ /**
14154
+ * A single field's change, on `contact_card.updated`. Present only for the field
14155
+ * that changed.
13328
14156
  */
13329
- export interface Name {
14157
+ export interface ImageURL {
13330
14158
  /**
13331
- * The name before the change; null when the card had no name.
14159
+ * The value before the change; null when the card had none.
13332
14160
  */
13333
14161
  from: string | null;
13334
14162
 
13335
14163
  /**
13336
- * The name after the change; null when it was removed.
14164
+ * The value after the change; null when it was removed.
14165
+ */
14166
+ to: string | null;
14167
+ }
14168
+
14169
+ /**
14170
+ * A single field's change, on `contact_card.updated`. Present only for the field
14171
+ * that changed.
14172
+ */
14173
+ export interface LastName {
14174
+ /**
14175
+ * The value before the change; null when the card had none.
14176
+ */
14177
+ from: string | null;
14178
+
14179
+ /**
14180
+ * The value after the change; null when it was removed.
13337
14181
  */
13338
14182
  to: string | null;
13339
14183
  }
@@ -13345,15 +14189,17 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
13345
14189
  export interface ContactCard {
13346
14190
  id: string;
13347
14191
 
14192
+ first_name: string;
14193
+
13348
14194
  /**
13349
- * Display name. Absent when the card has no name.
14195
+ * Null when the card has no photo.
13350
14196
  */
13351
- name?: string;
14197
+ image_url: string | null;
13352
14198
 
13353
14199
  /**
13354
- * True when the photo changed. Only on `contact_card.updated`.
14200
+ * Null when the card has no last name.
13355
14201
  */
13356
- photo_updated?: boolean;
14202
+ last_name: string | null;
13357
14203
  }
13358
14204
 
13359
14205
  /**
@@ -13586,8 +14432,9 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
13586
14432
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
13587
14433
  * expired and activated events never carry it. `null` means none: `to: null` means
13588
14434
  * cleared and `from: null` means first set. The value type depends on the event
13589
- * and is given in each event's description. `contact_card.updated` uses `name`
13590
- * instead of `from` and `to`.
14435
+ * and is given in each event's description. `contact_card.updated` uses
14436
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
14437
+ * present only when that field changed.
13591
14438
  */
13592
14439
  change?: Data.Change;
13593
14440
 
@@ -13668,10 +14515,9 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
13668
14515
  id: string;
13669
14516
 
13670
14517
  /**
13671
- * When the token expires. On `api_token.created`, `api_token.expired` and
13672
- * `api_token.deleted`; absent if it never expires.
14518
+ * When the token expires; null if it never does.
13673
14519
  */
13674
- expires_at?: string;
14520
+ expires_at: string | null;
13675
14521
 
13676
14522
  /**
13677
14523
  * Absent when the token has no name.
@@ -13691,40 +14537,85 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
13691
14537
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
13692
14538
  * expired and activated events never carry it. `null` means none: `to: null` means
13693
14539
  * cleared and `from: null` means first set. The value type depends on the event
13694
- * and is given in each event's description. `contact_card.updated` uses `name`
13695
- * instead of `from` and `to`.
14540
+ * and is given in each event's description. `contact_card.updated` uses
14541
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
14542
+ * present only when that field changed.
13696
14543
  */
13697
14544
  export interface Change {
14545
+ /**
14546
+ * A single field's change, on `contact_card.updated`. Present only for the field
14547
+ * that changed.
14548
+ */
14549
+ first_name?: Change.FirstName;
14550
+
13698
14551
  /**
13699
14552
  * The value before the change; null when there was none.
13700
14553
  */
13701
14554
  from?: unknown;
13702
14555
 
13703
14556
  /**
13704
- * A contact card name change. Only on `contact_card.updated`, when the name
13705
- * changed.
14557
+ * A single field's change, on `contact_card.updated`. Present only for the field
14558
+ * that changed.
14559
+ */
14560
+ image_url?: Change.ImageURL;
14561
+
14562
+ /**
14563
+ * A single field's change, on `contact_card.updated`. Present only for the field
14564
+ * that changed.
14565
+ */
14566
+ last_name?: Change.LastName;
14567
+
14568
+ /**
14569
+ * The value after the change; null when it was cleared.
14570
+ */
14571
+ to?: unknown;
14572
+ }
14573
+
14574
+ export namespace Change {
14575
+ /**
14576
+ * A single field's change, on `contact_card.updated`. Present only for the field
14577
+ * that changed.
14578
+ */
14579
+ export interface FirstName {
14580
+ /**
14581
+ * The value before the change; null when the card had none.
14582
+ */
14583
+ from: string | null;
14584
+
14585
+ /**
14586
+ * The value after the change; null when it was removed.
14587
+ */
14588
+ to: string | null;
14589
+ }
14590
+
14591
+ /**
14592
+ * A single field's change, on `contact_card.updated`. Present only for the field
14593
+ * that changed.
13706
14594
  */
13707
- name?: Change.Name;
14595
+ export interface ImageURL {
14596
+ /**
14597
+ * The value before the change; null when the card had none.
14598
+ */
14599
+ from: string | null;
13708
14600
 
13709
- /**
13710
- * The value after the change; null when it was cleared.
13711
- */
13712
- to?: unknown;
13713
- }
14601
+ /**
14602
+ * The value after the change; null when it was removed.
14603
+ */
14604
+ to: string | null;
14605
+ }
13714
14606
 
13715
- export namespace Change {
13716
14607
  /**
13717
- * A contact card name change. Only on `contact_card.updated`, when the name
13718
- * changed.
14608
+ * A single field's change, on `contact_card.updated`. Present only for the field
14609
+ * that changed.
13719
14610
  */
13720
- export interface Name {
14611
+ export interface LastName {
13721
14612
  /**
13722
- * The name before the change; null when the card had no name.
14613
+ * The value before the change; null when the card had none.
13723
14614
  */
13724
14615
  from: string | null;
13725
14616
 
13726
14617
  /**
13727
- * The name after the change; null when it was removed.
14618
+ * The value after the change; null when it was removed.
13728
14619
  */
13729
14620
  to: string | null;
13730
14621
  }
@@ -13736,15 +14627,17 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
13736
14627
  export interface ContactCard {
13737
14628
  id: string;
13738
14629
 
14630
+ first_name: string;
14631
+
13739
14632
  /**
13740
- * Display name. Absent when the card has no name.
14633
+ * Null when the card has no photo.
13741
14634
  */
13742
- name?: string;
14635
+ image_url: string | null;
13743
14636
 
13744
14637
  /**
13745
- * True when the photo changed. Only on `contact_card.updated`.
14638
+ * Null when the card has no last name.
13746
14639
  */
13747
- photo_updated?: boolean;
14640
+ last_name: string | null;
13748
14641
  }
13749
14642
 
13750
14643
  /**
@@ -13977,8 +14870,9 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
13977
14870
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
13978
14871
  * expired and activated events never carry it. `null` means none: `to: null` means
13979
14872
  * cleared and `from: null` means first set. The value type depends on the event
13980
- * and is given in each event's description. `contact_card.updated` uses `name`
13981
- * instead of `from` and `to`.
14873
+ * and is given in each event's description. `contact_card.updated` uses
14874
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
14875
+ * present only when that field changed.
13982
14876
  */
13983
14877
  change?: Data.Change;
13984
14878
 
@@ -14059,10 +14953,9 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
14059
14953
  id: string;
14060
14954
 
14061
14955
  /**
14062
- * When the token expires. On `api_token.created`, `api_token.expired` and
14063
- * `api_token.deleted`; absent if it never expires.
14956
+ * When the token expires; null if it never does.
14064
14957
  */
14065
- expires_at?: string;
14958
+ expires_at: string | null;
14066
14959
 
14067
14960
  /**
14068
14961
  * Absent when the token has no name.
@@ -14082,20 +14975,33 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
14082
14975
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
14083
14976
  * expired and activated events never carry it. `null` means none: `to: null` means
14084
14977
  * cleared and `from: null` means first set. The value type depends on the event
14085
- * and is given in each event's description. `contact_card.updated` uses `name`
14086
- * instead of `from` and `to`.
14978
+ * and is given in each event's description. `contact_card.updated` uses
14979
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
14980
+ * present only when that field changed.
14087
14981
  */
14088
14982
  export interface Change {
14983
+ /**
14984
+ * A single field's change, on `contact_card.updated`. Present only for the field
14985
+ * that changed.
14986
+ */
14987
+ first_name?: Change.FirstName;
14988
+
14089
14989
  /**
14090
14990
  * The value before the change; null when there was none.
14091
14991
  */
14092
14992
  from?: unknown;
14093
14993
 
14094
14994
  /**
14095
- * A contact card name change. Only on `contact_card.updated`, when the name
14096
- * changed.
14995
+ * A single field's change, on `contact_card.updated`. Present only for the field
14996
+ * that changed.
14997
+ */
14998
+ image_url?: Change.ImageURL;
14999
+
15000
+ /**
15001
+ * A single field's change, on `contact_card.updated`. Present only for the field
15002
+ * that changed.
14097
15003
  */
14098
- name?: Change.Name;
15004
+ last_name?: Change.LastName;
14099
15005
 
14100
15006
  /**
14101
15007
  * The value after the change; null when it was cleared.
@@ -14105,17 +15011,49 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
14105
15011
 
14106
15012
  export namespace Change {
14107
15013
  /**
14108
- * A contact card name change. Only on `contact_card.updated`, when the name
14109
- * changed.
15014
+ * A single field's change, on `contact_card.updated`. Present only for the field
15015
+ * that changed.
15016
+ */
15017
+ export interface FirstName {
15018
+ /**
15019
+ * The value before the change; null when the card had none.
15020
+ */
15021
+ from: string | null;
15022
+
15023
+ /**
15024
+ * The value after the change; null when it was removed.
15025
+ */
15026
+ to: string | null;
15027
+ }
15028
+
15029
+ /**
15030
+ * A single field's change, on `contact_card.updated`. Present only for the field
15031
+ * that changed.
15032
+ */
15033
+ export interface ImageURL {
15034
+ /**
15035
+ * The value before the change; null when the card had none.
15036
+ */
15037
+ from: string | null;
15038
+
15039
+ /**
15040
+ * The value after the change; null when it was removed.
15041
+ */
15042
+ to: string | null;
15043
+ }
15044
+
15045
+ /**
15046
+ * A single field's change, on `contact_card.updated`. Present only for the field
15047
+ * that changed.
14110
15048
  */
14111
- export interface Name {
15049
+ export interface LastName {
14112
15050
  /**
14113
- * The name before the change; null when the card had no name.
15051
+ * The value before the change; null when the card had none.
14114
15052
  */
14115
15053
  from: string | null;
14116
15054
 
14117
15055
  /**
14118
- * The name after the change; null when it was removed.
15056
+ * The value after the change; null when it was removed.
14119
15057
  */
14120
15058
  to: string | null;
14121
15059
  }
@@ -14127,15 +15065,17 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
14127
15065
  export interface ContactCard {
14128
15066
  id: string;
14129
15067
 
15068
+ first_name: string;
15069
+
14130
15070
  /**
14131
- * Display name. Absent when the card has no name.
15071
+ * Null when the card has no photo.
14132
15072
  */
14133
- name?: string;
15073
+ image_url: string | null;
14134
15074
 
14135
15075
  /**
14136
- * True when the photo changed. Only on `contact_card.updated`.
15076
+ * Null when the card has no last name.
14137
15077
  */
14138
- photo_updated?: boolean;
15078
+ last_name: string | null;
14139
15079
  }
14140
15080
 
14141
15081
  /**
@@ -14368,8 +15308,9 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
14368
15308
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
14369
15309
  * expired and activated events never carry it. `null` means none: `to: null` means
14370
15310
  * cleared and `from: null` means first set. The value type depends on the event
14371
- * and is given in each event's description. `contact_card.updated` uses `name`
14372
- * instead of `from` and `to`.
15311
+ * and is given in each event's description. `contact_card.updated` uses
15312
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
15313
+ * present only when that field changed.
14373
15314
  */
14374
15315
  change?: Data.Change;
14375
15316
 
@@ -14450,10 +15391,9 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
14450
15391
  id: string;
14451
15392
 
14452
15393
  /**
14453
- * When the token expires. On `api_token.created`, `api_token.expired` and
14454
- * `api_token.deleted`; absent if it never expires.
15394
+ * When the token expires; null if it never does.
14455
15395
  */
14456
- expires_at?: string;
15396
+ expires_at: string | null;
14457
15397
 
14458
15398
  /**
14459
15399
  * Absent when the token has no name.
@@ -14473,20 +15413,33 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
14473
15413
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
14474
15414
  * expired and activated events never carry it. `null` means none: `to: null` means
14475
15415
  * cleared and `from: null` means first set. The value type depends on the event
14476
- * and is given in each event's description. `contact_card.updated` uses `name`
14477
- * instead of `from` and `to`.
15416
+ * and is given in each event's description. `contact_card.updated` uses
15417
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
15418
+ * present only when that field changed.
14478
15419
  */
14479
15420
  export interface Change {
15421
+ /**
15422
+ * A single field's change, on `contact_card.updated`. Present only for the field
15423
+ * that changed.
15424
+ */
15425
+ first_name?: Change.FirstName;
15426
+
14480
15427
  /**
14481
15428
  * The value before the change; null when there was none.
14482
15429
  */
14483
15430
  from?: unknown;
14484
15431
 
14485
15432
  /**
14486
- * A contact card name change. Only on `contact_card.updated`, when the name
14487
- * changed.
15433
+ * A single field's change, on `contact_card.updated`. Present only for the field
15434
+ * that changed.
15435
+ */
15436
+ image_url?: Change.ImageURL;
15437
+
15438
+ /**
15439
+ * A single field's change, on `contact_card.updated`. Present only for the field
15440
+ * that changed.
14488
15441
  */
14489
- name?: Change.Name;
15442
+ last_name?: Change.LastName;
14490
15443
 
14491
15444
  /**
14492
15445
  * The value after the change; null when it was cleared.
@@ -14496,17 +15449,49 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
14496
15449
 
14497
15450
  export namespace Change {
14498
15451
  /**
14499
- * A contact card name change. Only on `contact_card.updated`, when the name
14500
- * changed.
15452
+ * A single field's change, on `contact_card.updated`. Present only for the field
15453
+ * that changed.
15454
+ */
15455
+ export interface FirstName {
15456
+ /**
15457
+ * The value before the change; null when the card had none.
15458
+ */
15459
+ from: string | null;
15460
+
15461
+ /**
15462
+ * The value after the change; null when it was removed.
15463
+ */
15464
+ to: string | null;
15465
+ }
15466
+
15467
+ /**
15468
+ * A single field's change, on `contact_card.updated`. Present only for the field
15469
+ * that changed.
15470
+ */
15471
+ export interface ImageURL {
15472
+ /**
15473
+ * The value before the change; null when the card had none.
15474
+ */
15475
+ from: string | null;
15476
+
15477
+ /**
15478
+ * The value after the change; null when it was removed.
15479
+ */
15480
+ to: string | null;
15481
+ }
15482
+
15483
+ /**
15484
+ * A single field's change, on `contact_card.updated`. Present only for the field
15485
+ * that changed.
14501
15486
  */
14502
- export interface Name {
15487
+ export interface LastName {
14503
15488
  /**
14504
- * The name before the change; null when the card had no name.
15489
+ * The value before the change; null when the card had none.
14505
15490
  */
14506
15491
  from: string | null;
14507
15492
 
14508
15493
  /**
14509
- * The name after the change; null when it was removed.
15494
+ * The value after the change; null when it was removed.
14510
15495
  */
14511
15496
  to: string | null;
14512
15497
  }
@@ -14518,15 +15503,17 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
14518
15503
  export interface ContactCard {
14519
15504
  id: string;
14520
15505
 
15506
+ first_name: string;
15507
+
14521
15508
  /**
14522
- * Display name. Absent when the card has no name.
15509
+ * Null when the card has no photo.
14523
15510
  */
14524
- name?: string;
15511
+ image_url: string | null;
14525
15512
 
14526
15513
  /**
14527
- * True when the photo changed. Only on `contact_card.updated`.
15514
+ * Null when the card has no last name.
14528
15515
  */
14529
- photo_updated?: boolean;
15516
+ last_name: string | null;
14530
15517
  }
14531
15518
 
14532
15519
  /**
@@ -14759,8 +15746,9 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
14759
15746
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
14760
15747
  * expired and activated events never carry it. `null` means none: `to: null` means
14761
15748
  * cleared and `from: null` means first set. The value type depends on the event
14762
- * and is given in each event's description. `contact_card.updated` uses `name`
14763
- * instead of `from` and `to`.
15749
+ * and is given in each event's description. `contact_card.updated` uses
15750
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
15751
+ * present only when that field changed.
14764
15752
  */
14765
15753
  change?: Data.Change;
14766
15754
 
@@ -14841,10 +15829,9 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
14841
15829
  id: string;
14842
15830
 
14843
15831
  /**
14844
- * When the token expires. On `api_token.created`, `api_token.expired` and
14845
- * `api_token.deleted`; absent if it never expires.
15832
+ * When the token expires; null if it never does.
14846
15833
  */
14847
- expires_at?: string;
15834
+ expires_at: string | null;
14848
15835
 
14849
15836
  /**
14850
15837
  * Absent when the token has no name.
@@ -14864,20 +15851,33 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
14864
15851
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
14865
15852
  * expired and activated events never carry it. `null` means none: `to: null` means
14866
15853
  * cleared and `from: null` means first set. The value type depends on the event
14867
- * and is given in each event's description. `contact_card.updated` uses `name`
14868
- * instead of `from` and `to`.
15854
+ * and is given in each event's description. `contact_card.updated` uses
15855
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
15856
+ * present only when that field changed.
14869
15857
  */
14870
15858
  export interface Change {
15859
+ /**
15860
+ * A single field's change, on `contact_card.updated`. Present only for the field
15861
+ * that changed.
15862
+ */
15863
+ first_name?: Change.FirstName;
15864
+
14871
15865
  /**
14872
15866
  * The value before the change; null when there was none.
14873
15867
  */
14874
15868
  from?: unknown;
14875
15869
 
14876
15870
  /**
14877
- * A contact card name change. Only on `contact_card.updated`, when the name
14878
- * changed.
15871
+ * A single field's change, on `contact_card.updated`. Present only for the field
15872
+ * that changed.
15873
+ */
15874
+ image_url?: Change.ImageURL;
15875
+
15876
+ /**
15877
+ * A single field's change, on `contact_card.updated`. Present only for the field
15878
+ * that changed.
14879
15879
  */
14880
- name?: Change.Name;
15880
+ last_name?: Change.LastName;
14881
15881
 
14882
15882
  /**
14883
15883
  * The value after the change; null when it was cleared.
@@ -14887,17 +15887,49 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
14887
15887
 
14888
15888
  export namespace Change {
14889
15889
  /**
14890
- * A contact card name change. Only on `contact_card.updated`, when the name
14891
- * changed.
15890
+ * A single field's change, on `contact_card.updated`. Present only for the field
15891
+ * that changed.
15892
+ */
15893
+ export interface FirstName {
15894
+ /**
15895
+ * The value before the change; null when the card had none.
15896
+ */
15897
+ from: string | null;
15898
+
15899
+ /**
15900
+ * The value after the change; null when it was removed.
15901
+ */
15902
+ to: string | null;
15903
+ }
15904
+
15905
+ /**
15906
+ * A single field's change, on `contact_card.updated`. Present only for the field
15907
+ * that changed.
15908
+ */
15909
+ export interface ImageURL {
15910
+ /**
15911
+ * The value before the change; null when the card had none.
15912
+ */
15913
+ from: string | null;
15914
+
15915
+ /**
15916
+ * The value after the change; null when it was removed.
15917
+ */
15918
+ to: string | null;
15919
+ }
15920
+
15921
+ /**
15922
+ * A single field's change, on `contact_card.updated`. Present only for the field
15923
+ * that changed.
14892
15924
  */
14893
- export interface Name {
15925
+ export interface LastName {
14894
15926
  /**
14895
- * The name before the change; null when the card had no name.
15927
+ * The value before the change; null when the card had none.
14896
15928
  */
14897
15929
  from: string | null;
14898
15930
 
14899
15931
  /**
14900
- * The name after the change; null when it was removed.
15932
+ * The value after the change; null when it was removed.
14901
15933
  */
14902
15934
  to: string | null;
14903
15935
  }
@@ -14909,15 +15941,17 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
14909
15941
  export interface ContactCard {
14910
15942
  id: string;
14911
15943
 
15944
+ first_name: string;
15945
+
14912
15946
  /**
14913
- * Display name. Absent when the card has no name.
15947
+ * Null when the card has no photo.
14914
15948
  */
14915
- name?: string;
15949
+ image_url: string | null;
14916
15950
 
14917
15951
  /**
14918
- * True when the photo changed. Only on `contact_card.updated`.
15952
+ * Null when the card has no last name.
14919
15953
  */
14920
- photo_updated?: boolean;
15954
+ last_name: string | null;
14921
15955
  }
14922
15956
 
14923
15957
  /**
@@ -15150,8 +16184,9 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
15150
16184
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
15151
16185
  * expired and activated events never carry it. `null` means none: `to: null` means
15152
16186
  * cleared and `from: null` means first set. The value type depends on the event
15153
- * and is given in each event's description. `contact_card.updated` uses `name`
15154
- * instead of `from` and `to`.
16187
+ * and is given in each event's description. `contact_card.updated` uses
16188
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
16189
+ * present only when that field changed.
15155
16190
  */
15156
16191
  change?: Data.Change;
15157
16192
 
@@ -15232,10 +16267,9 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
15232
16267
  id: string;
15233
16268
 
15234
16269
  /**
15235
- * When the token expires. On `api_token.created`, `api_token.expired` and
15236
- * `api_token.deleted`; absent if it never expires.
16270
+ * When the token expires; null if it never does.
15237
16271
  */
15238
- expires_at?: string;
16272
+ expires_at: string | null;
15239
16273
 
15240
16274
  /**
15241
16275
  * Absent when the token has no name.
@@ -15255,20 +16289,33 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
15255
16289
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
15256
16290
  * expired and activated events never carry it. `null` means none: `to: null` means
15257
16291
  * cleared and `from: null` means first set. The value type depends on the event
15258
- * and is given in each event's description. `contact_card.updated` uses `name`
15259
- * instead of `from` and `to`.
16292
+ * and is given in each event's description. `contact_card.updated` uses
16293
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
16294
+ * present only when that field changed.
15260
16295
  */
15261
16296
  export interface Change {
16297
+ /**
16298
+ * A single field's change, on `contact_card.updated`. Present only for the field
16299
+ * that changed.
16300
+ */
16301
+ first_name?: Change.FirstName;
16302
+
15262
16303
  /**
15263
16304
  * The value before the change; null when there was none.
15264
16305
  */
15265
16306
  from?: unknown;
15266
16307
 
15267
16308
  /**
15268
- * A contact card name change. Only on `contact_card.updated`, when the name
15269
- * changed.
16309
+ * A single field's change, on `contact_card.updated`. Present only for the field
16310
+ * that changed.
16311
+ */
16312
+ image_url?: Change.ImageURL;
16313
+
16314
+ /**
16315
+ * A single field's change, on `contact_card.updated`. Present only for the field
16316
+ * that changed.
15270
16317
  */
15271
- name?: Change.Name;
16318
+ last_name?: Change.LastName;
15272
16319
 
15273
16320
  /**
15274
16321
  * The value after the change; null when it was cleared.
@@ -15278,17 +16325,49 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
15278
16325
 
15279
16326
  export namespace Change {
15280
16327
  /**
15281
- * A contact card name change. Only on `contact_card.updated`, when the name
15282
- * changed.
16328
+ * A single field's change, on `contact_card.updated`. Present only for the field
16329
+ * that changed.
16330
+ */
16331
+ export interface FirstName {
16332
+ /**
16333
+ * The value before the change; null when the card had none.
16334
+ */
16335
+ from: string | null;
16336
+
16337
+ /**
16338
+ * The value after the change; null when it was removed.
16339
+ */
16340
+ to: string | null;
16341
+ }
16342
+
16343
+ /**
16344
+ * A single field's change, on `contact_card.updated`. Present only for the field
16345
+ * that changed.
16346
+ */
16347
+ export interface ImageURL {
16348
+ /**
16349
+ * The value before the change; null when the card had none.
16350
+ */
16351
+ from: string | null;
16352
+
16353
+ /**
16354
+ * The value after the change; null when it was removed.
16355
+ */
16356
+ to: string | null;
16357
+ }
16358
+
16359
+ /**
16360
+ * A single field's change, on `contact_card.updated`. Present only for the field
16361
+ * that changed.
15283
16362
  */
15284
- export interface Name {
16363
+ export interface LastName {
15285
16364
  /**
15286
- * The name before the change; null when the card had no name.
16365
+ * The value before the change; null when the card had none.
15287
16366
  */
15288
16367
  from: string | null;
15289
16368
 
15290
16369
  /**
15291
- * The name after the change; null when it was removed.
16370
+ * The value after the change; null when it was removed.
15292
16371
  */
15293
16372
  to: string | null;
15294
16373
  }
@@ -15300,15 +16379,17 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
15300
16379
  export interface ContactCard {
15301
16380
  id: string;
15302
16381
 
16382
+ first_name: string;
16383
+
15303
16384
  /**
15304
- * Display name. Absent when the card has no name.
16385
+ * Null when the card has no photo.
15305
16386
  */
15306
- name?: string;
16387
+ image_url: string | null;
15307
16388
 
15308
16389
  /**
15309
- * True when the photo changed. Only on `contact_card.updated`.
16390
+ * Null when the card has no last name.
15310
16391
  */
15311
- photo_updated?: boolean;
16392
+ last_name: string | null;
15312
16393
  }
15313
16394
 
15314
16395
  /**
@@ -15541,8 +16622,9 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
15541
16622
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
15542
16623
  * expired and activated events never carry it. `null` means none: `to: null` means
15543
16624
  * cleared and `from: null` means first set. The value type depends on the event
15544
- * and is given in each event's description. `contact_card.updated` uses `name`
15545
- * instead of `from` and `to`.
16625
+ * and is given in each event's description. `contact_card.updated` uses
16626
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
16627
+ * present only when that field changed.
15546
16628
  */
15547
16629
  change?: Data.Change;
15548
16630
 
@@ -15623,10 +16705,9 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
15623
16705
  id: string;
15624
16706
 
15625
16707
  /**
15626
- * When the token expires. On `api_token.created`, `api_token.expired` and
15627
- * `api_token.deleted`; absent if it never expires.
16708
+ * When the token expires; null if it never does.
15628
16709
  */
15629
- expires_at?: string;
16710
+ expires_at: string | null;
15630
16711
 
15631
16712
  /**
15632
16713
  * Absent when the token has no name.
@@ -15646,20 +16727,33 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
15646
16727
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
15647
16728
  * expired and activated events never carry it. `null` means none: `to: null` means
15648
16729
  * cleared and `from: null` means first set. The value type depends on the event
15649
- * and is given in each event's description. `contact_card.updated` uses `name`
15650
- * instead of `from` and `to`.
16730
+ * and is given in each event's description. `contact_card.updated` uses
16731
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
16732
+ * present only when that field changed.
15651
16733
  */
15652
16734
  export interface Change {
16735
+ /**
16736
+ * A single field's change, on `contact_card.updated`. Present only for the field
16737
+ * that changed.
16738
+ */
16739
+ first_name?: Change.FirstName;
16740
+
15653
16741
  /**
15654
16742
  * The value before the change; null when there was none.
15655
16743
  */
15656
16744
  from?: unknown;
15657
16745
 
15658
16746
  /**
15659
- * A contact card name change. Only on `contact_card.updated`, when the name
15660
- * changed.
16747
+ * A single field's change, on `contact_card.updated`. Present only for the field
16748
+ * that changed.
16749
+ */
16750
+ image_url?: Change.ImageURL;
16751
+
16752
+ /**
16753
+ * A single field's change, on `contact_card.updated`. Present only for the field
16754
+ * that changed.
15661
16755
  */
15662
- name?: Change.Name;
16756
+ last_name?: Change.LastName;
15663
16757
 
15664
16758
  /**
15665
16759
  * The value after the change; null when it was cleared.
@@ -15669,17 +16763,49 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
15669
16763
 
15670
16764
  export namespace Change {
15671
16765
  /**
15672
- * A contact card name change. Only on `contact_card.updated`, when the name
15673
- * changed.
16766
+ * A single field's change, on `contact_card.updated`. Present only for the field
16767
+ * that changed.
16768
+ */
16769
+ export interface FirstName {
16770
+ /**
16771
+ * The value before the change; null when the card had none.
16772
+ */
16773
+ from: string | null;
16774
+
16775
+ /**
16776
+ * The value after the change; null when it was removed.
16777
+ */
16778
+ to: string | null;
16779
+ }
16780
+
16781
+ /**
16782
+ * A single field's change, on `contact_card.updated`. Present only for the field
16783
+ * that changed.
16784
+ */
16785
+ export interface ImageURL {
16786
+ /**
16787
+ * The value before the change; null when the card had none.
16788
+ */
16789
+ from: string | null;
16790
+
16791
+ /**
16792
+ * The value after the change; null when it was removed.
16793
+ */
16794
+ to: string | null;
16795
+ }
16796
+
16797
+ /**
16798
+ * A single field's change, on `contact_card.updated`. Present only for the field
16799
+ * that changed.
15674
16800
  */
15675
- export interface Name {
16801
+ export interface LastName {
15676
16802
  /**
15677
- * The name before the change; null when the card had no name.
16803
+ * The value before the change; null when the card had none.
15678
16804
  */
15679
16805
  from: string | null;
15680
16806
 
15681
16807
  /**
15682
- * The name after the change; null when it was removed.
16808
+ * The value after the change; null when it was removed.
15683
16809
  */
15684
16810
  to: string | null;
15685
16811
  }
@@ -15691,15 +16817,17 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
15691
16817
  export interface ContactCard {
15692
16818
  id: string;
15693
16819
 
16820
+ first_name: string;
16821
+
15694
16822
  /**
15695
- * Display name. Absent when the card has no name.
16823
+ * Null when the card has no photo.
15696
16824
  */
15697
- name?: string;
16825
+ image_url: string | null;
15698
16826
 
15699
16827
  /**
15700
- * True when the photo changed. Only on `contact_card.updated`.
16828
+ * Null when the card has no last name.
15701
16829
  */
15702
- photo_updated?: boolean;
16830
+ last_name: string | null;
15703
16831
  }
15704
16832
 
15705
16833
  /**
@@ -15932,8 +17060,9 @@ export namespace TeamMemberAddedWebhookEvent {
15932
17060
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
15933
17061
  * expired and activated events never carry it. `null` means none: `to: null` means
15934
17062
  * cleared and `from: null` means first set. The value type depends on the event
15935
- * and is given in each event's description. `contact_card.updated` uses `name`
15936
- * instead of `from` and `to`.
17063
+ * and is given in each event's description. `contact_card.updated` uses
17064
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
17065
+ * present only when that field changed.
15937
17066
  */
15938
17067
  change?: Data.Change;
15939
17068
 
@@ -16014,10 +17143,9 @@ export namespace TeamMemberAddedWebhookEvent {
16014
17143
  id: string;
16015
17144
 
16016
17145
  /**
16017
- * When the token expires. On `api_token.created`, `api_token.expired` and
16018
- * `api_token.deleted`; absent if it never expires.
17146
+ * When the token expires; null if it never does.
16019
17147
  */
16020
- expires_at?: string;
17148
+ expires_at: string | null;
16021
17149
 
16022
17150
  /**
16023
17151
  * Absent when the token has no name.
@@ -16037,20 +17165,33 @@ export namespace TeamMemberAddedWebhookEvent {
16037
17165
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
16038
17166
  * expired and activated events never carry it. `null` means none: `to: null` means
16039
17167
  * cleared and `from: null` means first set. The value type depends on the event
16040
- * and is given in each event's description. `contact_card.updated` uses `name`
16041
- * instead of `from` and `to`.
17168
+ * and is given in each event's description. `contact_card.updated` uses
17169
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
17170
+ * present only when that field changed.
16042
17171
  */
16043
17172
  export interface Change {
17173
+ /**
17174
+ * A single field's change, on `contact_card.updated`. Present only for the field
17175
+ * that changed.
17176
+ */
17177
+ first_name?: Change.FirstName;
17178
+
16044
17179
  /**
16045
17180
  * The value before the change; null when there was none.
16046
17181
  */
16047
17182
  from?: unknown;
16048
17183
 
16049
17184
  /**
16050
- * A contact card name change. Only on `contact_card.updated`, when the name
16051
- * changed.
17185
+ * A single field's change, on `contact_card.updated`. Present only for the field
17186
+ * that changed.
17187
+ */
17188
+ image_url?: Change.ImageURL;
17189
+
17190
+ /**
17191
+ * A single field's change, on `contact_card.updated`. Present only for the field
17192
+ * that changed.
16052
17193
  */
16053
- name?: Change.Name;
17194
+ last_name?: Change.LastName;
16054
17195
 
16055
17196
  /**
16056
17197
  * The value after the change; null when it was cleared.
@@ -16060,17 +17201,49 @@ export namespace TeamMemberAddedWebhookEvent {
16060
17201
 
16061
17202
  export namespace Change {
16062
17203
  /**
16063
- * A contact card name change. Only on `contact_card.updated`, when the name
16064
- * changed.
17204
+ * A single field's change, on `contact_card.updated`. Present only for the field
17205
+ * that changed.
17206
+ */
17207
+ export interface FirstName {
17208
+ /**
17209
+ * The value before the change; null when the card had none.
17210
+ */
17211
+ from: string | null;
17212
+
17213
+ /**
17214
+ * The value after the change; null when it was removed.
17215
+ */
17216
+ to: string | null;
17217
+ }
17218
+
17219
+ /**
17220
+ * A single field's change, on `contact_card.updated`. Present only for the field
17221
+ * that changed.
17222
+ */
17223
+ export interface ImageURL {
17224
+ /**
17225
+ * The value before the change; null when the card had none.
17226
+ */
17227
+ from: string | null;
17228
+
17229
+ /**
17230
+ * The value after the change; null when it was removed.
17231
+ */
17232
+ to: string | null;
17233
+ }
17234
+
17235
+ /**
17236
+ * A single field's change, on `contact_card.updated`. Present only for the field
17237
+ * that changed.
16065
17238
  */
16066
- export interface Name {
17239
+ export interface LastName {
16067
17240
  /**
16068
- * The name before the change; null when the card had no name.
17241
+ * The value before the change; null when the card had none.
16069
17242
  */
16070
17243
  from: string | null;
16071
17244
 
16072
17245
  /**
16073
- * The name after the change; null when it was removed.
17246
+ * The value after the change; null when it was removed.
16074
17247
  */
16075
17248
  to: string | null;
16076
17249
  }
@@ -16082,15 +17255,17 @@ export namespace TeamMemberAddedWebhookEvent {
16082
17255
  export interface ContactCard {
16083
17256
  id: string;
16084
17257
 
17258
+ first_name: string;
17259
+
16085
17260
  /**
16086
- * Display name. Absent when the card has no name.
17261
+ * Null when the card has no photo.
16087
17262
  */
16088
- name?: string;
17263
+ image_url: string | null;
16089
17264
 
16090
17265
  /**
16091
- * True when the photo changed. Only on `contact_card.updated`.
17266
+ * Null when the card has no last name.
16092
17267
  */
16093
- photo_updated?: boolean;
17268
+ last_name: string | null;
16094
17269
  }
16095
17270
 
16096
17271
  /**
@@ -16323,8 +17498,9 @@ export namespace TeamMemberSignedInWebhookEvent {
16323
17498
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
16324
17499
  * expired and activated events never carry it. `null` means none: `to: null` means
16325
17500
  * cleared and `from: null` means first set. The value type depends on the event
16326
- * and is given in each event's description. `contact_card.updated` uses `name`
16327
- * instead of `from` and `to`.
17501
+ * and is given in each event's description. `contact_card.updated` uses
17502
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
17503
+ * present only when that field changed.
16328
17504
  */
16329
17505
  change?: Data.Change;
16330
17506
 
@@ -16405,10 +17581,9 @@ export namespace TeamMemberSignedInWebhookEvent {
16405
17581
  id: string;
16406
17582
 
16407
17583
  /**
16408
- * When the token expires. On `api_token.created`, `api_token.expired` and
16409
- * `api_token.deleted`; absent if it never expires.
17584
+ * When the token expires; null if it never does.
16410
17585
  */
16411
- expires_at?: string;
17586
+ expires_at: string | null;
16412
17587
 
16413
17588
  /**
16414
17589
  * Absent when the token has no name.
@@ -16428,20 +17603,33 @@ export namespace TeamMemberSignedInWebhookEvent {
16428
17603
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
16429
17604
  * expired and activated events never carry it. `null` means none: `to: null` means
16430
17605
  * cleared and `from: null` means first set. The value type depends on the event
16431
- * and is given in each event's description. `contact_card.updated` uses `name`
16432
- * instead of `from` and `to`.
17606
+ * and is given in each event's description. `contact_card.updated` uses
17607
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
17608
+ * present only when that field changed.
16433
17609
  */
16434
17610
  export interface Change {
17611
+ /**
17612
+ * A single field's change, on `contact_card.updated`. Present only for the field
17613
+ * that changed.
17614
+ */
17615
+ first_name?: Change.FirstName;
17616
+
16435
17617
  /**
16436
17618
  * The value before the change; null when there was none.
16437
17619
  */
16438
17620
  from?: unknown;
16439
17621
 
16440
17622
  /**
16441
- * A contact card name change. Only on `contact_card.updated`, when the name
16442
- * changed.
17623
+ * A single field's change, on `contact_card.updated`. Present only for the field
17624
+ * that changed.
17625
+ */
17626
+ image_url?: Change.ImageURL;
17627
+
17628
+ /**
17629
+ * A single field's change, on `contact_card.updated`. Present only for the field
17630
+ * that changed.
16443
17631
  */
16444
- name?: Change.Name;
17632
+ last_name?: Change.LastName;
16445
17633
 
16446
17634
  /**
16447
17635
  * The value after the change; null when it was cleared.
@@ -16451,17 +17639,49 @@ export namespace TeamMemberSignedInWebhookEvent {
16451
17639
 
16452
17640
  export namespace Change {
16453
17641
  /**
16454
- * A contact card name change. Only on `contact_card.updated`, when the name
16455
- * changed.
17642
+ * A single field's change, on `contact_card.updated`. Present only for the field
17643
+ * that changed.
17644
+ */
17645
+ export interface FirstName {
17646
+ /**
17647
+ * The value before the change; null when the card had none.
17648
+ */
17649
+ from: string | null;
17650
+
17651
+ /**
17652
+ * The value after the change; null when it was removed.
17653
+ */
17654
+ to: string | null;
17655
+ }
17656
+
17657
+ /**
17658
+ * A single field's change, on `contact_card.updated`. Present only for the field
17659
+ * that changed.
17660
+ */
17661
+ export interface ImageURL {
17662
+ /**
17663
+ * The value before the change; null when the card had none.
17664
+ */
17665
+ from: string | null;
17666
+
17667
+ /**
17668
+ * The value after the change; null when it was removed.
17669
+ */
17670
+ to: string | null;
17671
+ }
17672
+
17673
+ /**
17674
+ * A single field's change, on `contact_card.updated`. Present only for the field
17675
+ * that changed.
16456
17676
  */
16457
- export interface Name {
17677
+ export interface LastName {
16458
17678
  /**
16459
- * The name before the change; null when the card had no name.
17679
+ * The value before the change; null when the card had none.
16460
17680
  */
16461
17681
  from: string | null;
16462
17682
 
16463
17683
  /**
16464
- * The name after the change; null when it was removed.
17684
+ * The value after the change; null when it was removed.
16465
17685
  */
16466
17686
  to: string | null;
16467
17687
  }
@@ -16473,15 +17693,17 @@ export namespace TeamMemberSignedInWebhookEvent {
16473
17693
  export interface ContactCard {
16474
17694
  id: string;
16475
17695
 
17696
+ first_name: string;
17697
+
16476
17698
  /**
16477
- * Display name. Absent when the card has no name.
17699
+ * Null when the card has no photo.
16478
17700
  */
16479
- name?: string;
17701
+ image_url: string | null;
16480
17702
 
16481
17703
  /**
16482
- * True when the photo changed. Only on `contact_card.updated`.
17704
+ * Null when the card has no last name.
16483
17705
  */
16484
- photo_updated?: boolean;
17706
+ last_name: string | null;
16485
17707
  }
16486
17708
 
16487
17709
  /**
@@ -16714,8 +17936,9 @@ export namespace TeamMemberSignedOutWebhookEvent {
16714
17936
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
16715
17937
  * expired and activated events never carry it. `null` means none: `to: null` means
16716
17938
  * cleared and `from: null` means first set. The value type depends on the event
16717
- * and is given in each event's description. `contact_card.updated` uses `name`
16718
- * instead of `from` and `to`.
17939
+ * and is given in each event's description. `contact_card.updated` uses
17940
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
17941
+ * present only when that field changed.
16719
17942
  */
16720
17943
  change?: Data.Change;
16721
17944
 
@@ -16796,10 +18019,9 @@ export namespace TeamMemberSignedOutWebhookEvent {
16796
18019
  id: string;
16797
18020
 
16798
18021
  /**
16799
- * When the token expires. On `api_token.created`, `api_token.expired` and
16800
- * `api_token.deleted`; absent if it never expires.
18022
+ * When the token expires; null if it never does.
16801
18023
  */
16802
- expires_at?: string;
18024
+ expires_at: string | null;
16803
18025
 
16804
18026
  /**
16805
18027
  * Absent when the token has no name.
@@ -16819,20 +18041,33 @@ export namespace TeamMemberSignedOutWebhookEvent {
16819
18041
  * `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
16820
18042
  * expired and activated events never carry it. `null` means none: `to: null` means
16821
18043
  * cleared and `from: null` means first set. The value type depends on the event
16822
- * and is given in each event's description. `contact_card.updated` uses `name`
16823
- * instead of `from` and `to`.
18044
+ * and is given in each event's description. `contact_card.updated` uses
18045
+ * `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
18046
+ * present only when that field changed.
16824
18047
  */
16825
18048
  export interface Change {
18049
+ /**
18050
+ * A single field's change, on `contact_card.updated`. Present only for the field
18051
+ * that changed.
18052
+ */
18053
+ first_name?: Change.FirstName;
18054
+
16826
18055
  /**
16827
18056
  * The value before the change; null when there was none.
16828
18057
  */
16829
18058
  from?: unknown;
16830
18059
 
16831
18060
  /**
16832
- * A contact card name change. Only on `contact_card.updated`, when the name
16833
- * changed.
18061
+ * A single field's change, on `contact_card.updated`. Present only for the field
18062
+ * that changed.
18063
+ */
18064
+ image_url?: Change.ImageURL;
18065
+
18066
+ /**
18067
+ * A single field's change, on `contact_card.updated`. Present only for the field
18068
+ * that changed.
16834
18069
  */
16835
- name?: Change.Name;
18070
+ last_name?: Change.LastName;
16836
18071
 
16837
18072
  /**
16838
18073
  * The value after the change; null when it was cleared.
@@ -16842,17 +18077,49 @@ export namespace TeamMemberSignedOutWebhookEvent {
16842
18077
 
16843
18078
  export namespace Change {
16844
18079
  /**
16845
- * A contact card name change. Only on `contact_card.updated`, when the name
16846
- * changed.
18080
+ * A single field's change, on `contact_card.updated`. Present only for the field
18081
+ * that changed.
18082
+ */
18083
+ export interface FirstName {
18084
+ /**
18085
+ * The value before the change; null when the card had none.
18086
+ */
18087
+ from: string | null;
18088
+
18089
+ /**
18090
+ * The value after the change; null when it was removed.
18091
+ */
18092
+ to: string | null;
18093
+ }
18094
+
18095
+ /**
18096
+ * A single field's change, on `contact_card.updated`. Present only for the field
18097
+ * that changed.
18098
+ */
18099
+ export interface ImageURL {
18100
+ /**
18101
+ * The value before the change; null when the card had none.
18102
+ */
18103
+ from: string | null;
18104
+
18105
+ /**
18106
+ * The value after the change; null when it was removed.
18107
+ */
18108
+ to: string | null;
18109
+ }
18110
+
18111
+ /**
18112
+ * A single field's change, on `contact_card.updated`. Present only for the field
18113
+ * that changed.
16847
18114
  */
16848
- export interface Name {
18115
+ export interface LastName {
16849
18116
  /**
16850
- * The name before the change; null when the card had no name.
18117
+ * The value before the change; null when the card had none.
16851
18118
  */
16852
18119
  from: string | null;
16853
18120
 
16854
18121
  /**
16855
- * The name after the change; null when it was removed.
18122
+ * The value after the change; null when it was removed.
16856
18123
  */
16857
18124
  to: string | null;
16858
18125
  }
@@ -16864,15 +18131,17 @@ export namespace TeamMemberSignedOutWebhookEvent {
16864
18131
  export interface ContactCard {
16865
18132
  id: string;
16866
18133
 
18134
+ first_name: string;
18135
+
16867
18136
  /**
16868
- * Display name. Absent when the card has no name.
18137
+ * Null when the card has no photo.
16869
18138
  */
16870
- name?: string;
18139
+ image_url: string | null;
16871
18140
 
16872
18141
  /**
16873
- * True when the photo changed. Only on `contact_card.updated`.
18142
+ * Null when the card has no last name.
16874
18143
  */
16875
- photo_updated?: boolean;
18144
+ last_name: string | null;
16876
18145
  }
16877
18146
 
16878
18147
  /**