@linqapp/sdk 0.72.0 → 0.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/resources/webhooks.d.mts +1809 -810
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +1809 -810
- package/resources/webhooks.d.ts.map +1 -1
- package/src/resources/webhooks.ts +2004 -843
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -6397,7 +6397,7 @@ export interface ZeroDayRetentionUpdatedWebhookEvent {
|
|
|
6397
6397
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
6398
6398
|
* describes the transition. Created and deleted events carry only the object that
|
|
6399
6399
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
6400
|
-
* only inside `change
|
|
6400
|
+
* only inside `change`.
|
|
6401
6401
|
*/
|
|
6402
6402
|
data: ZeroDayRetentionUpdatedWebhookEvent.Data;
|
|
6403
6403
|
|
|
@@ -6509,7 +6509,7 @@ export namespace ZeroDayRetentionUpdatedWebhookEvent {
|
|
|
6509
6509
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
6510
6510
|
* describes the transition. Created and deleted events carry only the object that
|
|
6511
6511
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
6512
|
-
* only inside `change
|
|
6512
|
+
* only inside `change`.
|
|
6513
6513
|
*/
|
|
6514
6514
|
export interface Data {
|
|
6515
6515
|
/**
|
|
@@ -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
|
|
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
|
|
|
@@ -6559,9 +6560,9 @@ export namespace ZeroDayRetentionUpdatedWebhookEvent {
|
|
|
6559
6560
|
contact_card?: Data.ContactCard;
|
|
6560
6561
|
|
|
6561
6562
|
/**
|
|
6562
|
-
* An environment. Production is
|
|
6563
|
-
* `{"
|
|
6564
|
-
*
|
|
6563
|
+
* An environment, identified by name. Production is
|
|
6564
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
6565
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
6565
6566
|
*/
|
|
6566
6567
|
environment?: Data.Environment;
|
|
6567
6568
|
|
|
@@ -6653,20 +6654,33 @@ export namespace ZeroDayRetentionUpdatedWebhookEvent {
|
|
|
6653
6654
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
6654
6655
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
6655
6656
|
* 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
|
|
6657
|
-
* instead of `from` and `to
|
|
6657
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
6658
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
6659
|
+
* present only when that field changed.
|
|
6658
6660
|
*/
|
|
6659
6661
|
export interface Change {
|
|
6662
|
+
/**
|
|
6663
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
6664
|
+
* that changed.
|
|
6665
|
+
*/
|
|
6666
|
+
first_name?: Change.FirstName;
|
|
6667
|
+
|
|
6660
6668
|
/**
|
|
6661
6669
|
* The value before the change; null when there was none.
|
|
6662
6670
|
*/
|
|
6663
6671
|
from?: unknown;
|
|
6664
6672
|
|
|
6665
6673
|
/**
|
|
6666
|
-
* A
|
|
6667
|
-
* changed.
|
|
6674
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
6675
|
+
* that changed.
|
|
6676
|
+
*/
|
|
6677
|
+
image_url?: Change.ImageURL;
|
|
6678
|
+
|
|
6679
|
+
/**
|
|
6680
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
6681
|
+
* that changed.
|
|
6668
6682
|
*/
|
|
6669
|
-
|
|
6683
|
+
last_name?: Change.LastName;
|
|
6670
6684
|
|
|
6671
6685
|
/**
|
|
6672
6686
|
* The value after the change; null when it was cleared.
|
|
@@ -6676,17 +6690,49 @@ export namespace ZeroDayRetentionUpdatedWebhookEvent {
|
|
|
6676
6690
|
|
|
6677
6691
|
export namespace Change {
|
|
6678
6692
|
/**
|
|
6679
|
-
* A
|
|
6680
|
-
* changed.
|
|
6693
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
6694
|
+
* that changed.
|
|
6695
|
+
*/
|
|
6696
|
+
export interface FirstName {
|
|
6697
|
+
/**
|
|
6698
|
+
* The value before the change; null when the card had none.
|
|
6699
|
+
*/
|
|
6700
|
+
from: string | null;
|
|
6701
|
+
|
|
6702
|
+
/**
|
|
6703
|
+
* The value after the change; null when it was removed.
|
|
6704
|
+
*/
|
|
6705
|
+
to: string | null;
|
|
6706
|
+
}
|
|
6707
|
+
|
|
6708
|
+
/**
|
|
6709
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
6710
|
+
* that changed.
|
|
6711
|
+
*/
|
|
6712
|
+
export interface ImageURL {
|
|
6713
|
+
/**
|
|
6714
|
+
* The value before the change; null when the card had none.
|
|
6715
|
+
*/
|
|
6716
|
+
from: string | null;
|
|
6717
|
+
|
|
6718
|
+
/**
|
|
6719
|
+
* The value after the change; null when it was removed.
|
|
6720
|
+
*/
|
|
6721
|
+
to: string | null;
|
|
6722
|
+
}
|
|
6723
|
+
|
|
6724
|
+
/**
|
|
6725
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
6726
|
+
* that changed.
|
|
6681
6727
|
*/
|
|
6682
|
-
export interface
|
|
6728
|
+
export interface LastName {
|
|
6683
6729
|
/**
|
|
6684
|
-
* The
|
|
6730
|
+
* The value before the change; null when the card had none.
|
|
6685
6731
|
*/
|
|
6686
6732
|
from: string | null;
|
|
6687
6733
|
|
|
6688
6734
|
/**
|
|
6689
|
-
* The
|
|
6735
|
+
* The value after the change; null when it was removed.
|
|
6690
6736
|
*/
|
|
6691
6737
|
to: string | null;
|
|
6692
6738
|
}
|
|
@@ -6698,31 +6744,28 @@ export namespace ZeroDayRetentionUpdatedWebhookEvent {
|
|
|
6698
6744
|
export interface ContactCard {
|
|
6699
6745
|
id: string;
|
|
6700
6746
|
|
|
6747
|
+
first_name: string;
|
|
6748
|
+
|
|
6701
6749
|
/**
|
|
6702
|
-
*
|
|
6750
|
+
* Null when the card has no photo.
|
|
6703
6751
|
*/
|
|
6704
|
-
|
|
6752
|
+
image_url: string | null;
|
|
6705
6753
|
|
|
6706
6754
|
/**
|
|
6707
|
-
*
|
|
6755
|
+
* Null when the card has no last name.
|
|
6708
6756
|
*/
|
|
6709
|
-
|
|
6757
|
+
last_name: string | null;
|
|
6710
6758
|
}
|
|
6711
6759
|
|
|
6712
6760
|
/**
|
|
6713
|
-
* An environment. Production is
|
|
6714
|
-
* `{"
|
|
6715
|
-
*
|
|
6761
|
+
* An environment, identified by name. Production is
|
|
6762
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
6763
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
6716
6764
|
*/
|
|
6717
6765
|
export interface Environment {
|
|
6718
|
-
|
|
6719
|
-
* Null for Production.
|
|
6720
|
-
*/
|
|
6721
|
-
id: string | null;
|
|
6722
|
-
|
|
6723
|
-
type: 'production' | 'environment';
|
|
6766
|
+
name: string;
|
|
6724
6767
|
|
|
6725
|
-
|
|
6768
|
+
type: 'environment';
|
|
6726
6769
|
}
|
|
6727
6770
|
|
|
6728
6771
|
/**
|
|
@@ -6793,7 +6836,7 @@ export interface PhoneNumberForwardingUpdatedWebhookEvent {
|
|
|
6793
6836
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
6794
6837
|
* describes the transition. Created and deleted events carry only the object that
|
|
6795
6838
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
6796
|
-
* only inside `change
|
|
6839
|
+
* only inside `change`.
|
|
6797
6840
|
*/
|
|
6798
6841
|
data: PhoneNumberForwardingUpdatedWebhookEvent.Data;
|
|
6799
6842
|
|
|
@@ -6905,7 +6948,7 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
|
|
|
6905
6948
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
6906
6949
|
* describes the transition. Created and deleted events carry only the object that
|
|
6907
6950
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
6908
|
-
* only inside `change
|
|
6951
|
+
* only inside `change`.
|
|
6909
6952
|
*/
|
|
6910
6953
|
export interface Data {
|
|
6911
6954
|
/**
|
|
@@ -6944,8 +6987,9 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
|
|
|
6944
6987
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
6945
6988
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
6946
6989
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
6947
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
6948
|
-
* instead of `from` and `to
|
|
6990
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
6991
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
6992
|
+
* present only when that field changed.
|
|
6949
6993
|
*/
|
|
6950
6994
|
change?: Data.Change;
|
|
6951
6995
|
|
|
@@ -6955,9 +6999,9 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
|
|
|
6955
6999
|
contact_card?: Data.ContactCard;
|
|
6956
7000
|
|
|
6957
7001
|
/**
|
|
6958
|
-
* An environment. Production is
|
|
6959
|
-
* `{"
|
|
6960
|
-
*
|
|
7002
|
+
* An environment, identified by name. Production is
|
|
7003
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
7004
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
6961
7005
|
*/
|
|
6962
7006
|
environment?: Data.Environment;
|
|
6963
7007
|
|
|
@@ -7049,20 +7093,33 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
|
|
|
7049
7093
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
7050
7094
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
7051
7095
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
7052
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
7053
|
-
* instead of `from` and `to
|
|
7096
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
7097
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
7098
|
+
* present only when that field changed.
|
|
7054
7099
|
*/
|
|
7055
7100
|
export interface Change {
|
|
7101
|
+
/**
|
|
7102
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7103
|
+
* that changed.
|
|
7104
|
+
*/
|
|
7105
|
+
first_name?: Change.FirstName;
|
|
7106
|
+
|
|
7056
7107
|
/**
|
|
7057
7108
|
* The value before the change; null when there was none.
|
|
7058
7109
|
*/
|
|
7059
7110
|
from?: unknown;
|
|
7060
7111
|
|
|
7061
7112
|
/**
|
|
7062
|
-
* A
|
|
7063
|
-
* changed.
|
|
7113
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7114
|
+
* that changed.
|
|
7115
|
+
*/
|
|
7116
|
+
image_url?: Change.ImageURL;
|
|
7117
|
+
|
|
7118
|
+
/**
|
|
7119
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7120
|
+
* that changed.
|
|
7064
7121
|
*/
|
|
7065
|
-
|
|
7122
|
+
last_name?: Change.LastName;
|
|
7066
7123
|
|
|
7067
7124
|
/**
|
|
7068
7125
|
* The value after the change; null when it was cleared.
|
|
@@ -7072,17 +7129,49 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
|
|
|
7072
7129
|
|
|
7073
7130
|
export namespace Change {
|
|
7074
7131
|
/**
|
|
7075
|
-
* A
|
|
7076
|
-
* changed.
|
|
7132
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7133
|
+
* that changed.
|
|
7134
|
+
*/
|
|
7135
|
+
export interface FirstName {
|
|
7136
|
+
/**
|
|
7137
|
+
* The value before the change; null when the card had none.
|
|
7138
|
+
*/
|
|
7139
|
+
from: string | null;
|
|
7140
|
+
|
|
7141
|
+
/**
|
|
7142
|
+
* The value after the change; null when it was removed.
|
|
7143
|
+
*/
|
|
7144
|
+
to: string | null;
|
|
7145
|
+
}
|
|
7146
|
+
|
|
7147
|
+
/**
|
|
7148
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7149
|
+
* that changed.
|
|
7150
|
+
*/
|
|
7151
|
+
export interface ImageURL {
|
|
7152
|
+
/**
|
|
7153
|
+
* The value before the change; null when the card had none.
|
|
7154
|
+
*/
|
|
7155
|
+
from: string | null;
|
|
7156
|
+
|
|
7157
|
+
/**
|
|
7158
|
+
* The value after the change; null when it was removed.
|
|
7159
|
+
*/
|
|
7160
|
+
to: string | null;
|
|
7161
|
+
}
|
|
7162
|
+
|
|
7163
|
+
/**
|
|
7164
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7165
|
+
* that changed.
|
|
7077
7166
|
*/
|
|
7078
|
-
export interface
|
|
7167
|
+
export interface LastName {
|
|
7079
7168
|
/**
|
|
7080
|
-
* The
|
|
7169
|
+
* The value before the change; null when the card had none.
|
|
7081
7170
|
*/
|
|
7082
7171
|
from: string | null;
|
|
7083
7172
|
|
|
7084
7173
|
/**
|
|
7085
|
-
* The
|
|
7174
|
+
* The value after the change; null when it was removed.
|
|
7086
7175
|
*/
|
|
7087
7176
|
to: string | null;
|
|
7088
7177
|
}
|
|
@@ -7094,31 +7183,28 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
|
|
|
7094
7183
|
export interface ContactCard {
|
|
7095
7184
|
id: string;
|
|
7096
7185
|
|
|
7186
|
+
first_name: string;
|
|
7187
|
+
|
|
7097
7188
|
/**
|
|
7098
|
-
*
|
|
7189
|
+
* Null when the card has no photo.
|
|
7099
7190
|
*/
|
|
7100
|
-
|
|
7191
|
+
image_url: string | null;
|
|
7101
7192
|
|
|
7102
7193
|
/**
|
|
7103
|
-
*
|
|
7194
|
+
* Null when the card has no last name.
|
|
7104
7195
|
*/
|
|
7105
|
-
|
|
7196
|
+
last_name: string | null;
|
|
7106
7197
|
}
|
|
7107
7198
|
|
|
7108
7199
|
/**
|
|
7109
|
-
* An environment. Production is
|
|
7110
|
-
* `{"
|
|
7111
|
-
*
|
|
7200
|
+
* An environment, identified by name. Production is
|
|
7201
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
7202
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
7112
7203
|
*/
|
|
7113
7204
|
export interface Environment {
|
|
7114
|
-
|
|
7115
|
-
* Null for Production.
|
|
7116
|
-
*/
|
|
7117
|
-
id: string | null;
|
|
7118
|
-
|
|
7119
|
-
type: 'production' | 'environment';
|
|
7205
|
+
name: string;
|
|
7120
7206
|
|
|
7121
|
-
|
|
7207
|
+
type: 'environment';
|
|
7122
7208
|
}
|
|
7123
7209
|
|
|
7124
7210
|
/**
|
|
@@ -7189,7 +7275,7 @@ export interface EnvironmentLineMovedWebhookEvent {
|
|
|
7189
7275
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
7190
7276
|
* describes the transition. Created and deleted events carry only the object that
|
|
7191
7277
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
7192
|
-
* only inside `change
|
|
7278
|
+
* only inside `change`.
|
|
7193
7279
|
*/
|
|
7194
7280
|
data: EnvironmentLineMovedWebhookEvent.Data;
|
|
7195
7281
|
|
|
@@ -7301,7 +7387,7 @@ export namespace EnvironmentLineMovedWebhookEvent {
|
|
|
7301
7387
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
7302
7388
|
* describes the transition. Created and deleted events carry only the object that
|
|
7303
7389
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
7304
|
-
* only inside `change
|
|
7390
|
+
* only inside `change`.
|
|
7305
7391
|
*/
|
|
7306
7392
|
export interface Data {
|
|
7307
7393
|
/**
|
|
@@ -7340,8 +7426,9 @@ export namespace EnvironmentLineMovedWebhookEvent {
|
|
|
7340
7426
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
7341
7427
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
7342
7428
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
7343
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
7344
|
-
* instead of `from` and `to
|
|
7429
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
7430
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
7431
|
+
* present only when that field changed.
|
|
7345
7432
|
*/
|
|
7346
7433
|
change?: Data.Change;
|
|
7347
7434
|
|
|
@@ -7351,9 +7438,9 @@ export namespace EnvironmentLineMovedWebhookEvent {
|
|
|
7351
7438
|
contact_card?: Data.ContactCard;
|
|
7352
7439
|
|
|
7353
7440
|
/**
|
|
7354
|
-
* An environment. Production is
|
|
7355
|
-
* `{"
|
|
7356
|
-
*
|
|
7441
|
+
* An environment, identified by name. Production is
|
|
7442
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
7443
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
7357
7444
|
*/
|
|
7358
7445
|
environment?: Data.Environment;
|
|
7359
7446
|
|
|
@@ -7445,20 +7532,33 @@ export namespace EnvironmentLineMovedWebhookEvent {
|
|
|
7445
7532
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
7446
7533
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
7447
7534
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
7448
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
7449
|
-
* instead of `from` and `to
|
|
7535
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
7536
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
7537
|
+
* present only when that field changed.
|
|
7450
7538
|
*/
|
|
7451
7539
|
export interface Change {
|
|
7540
|
+
/**
|
|
7541
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7542
|
+
* that changed.
|
|
7543
|
+
*/
|
|
7544
|
+
first_name?: Change.FirstName;
|
|
7545
|
+
|
|
7452
7546
|
/**
|
|
7453
7547
|
* The value before the change; null when there was none.
|
|
7454
7548
|
*/
|
|
7455
7549
|
from?: unknown;
|
|
7456
7550
|
|
|
7457
7551
|
/**
|
|
7458
|
-
* A
|
|
7459
|
-
* changed.
|
|
7552
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7553
|
+
* that changed.
|
|
7554
|
+
*/
|
|
7555
|
+
image_url?: Change.ImageURL;
|
|
7556
|
+
|
|
7557
|
+
/**
|
|
7558
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7559
|
+
* that changed.
|
|
7460
7560
|
*/
|
|
7461
|
-
|
|
7561
|
+
last_name?: Change.LastName;
|
|
7462
7562
|
|
|
7463
7563
|
/**
|
|
7464
7564
|
* The value after the change; null when it was cleared.
|
|
@@ -7468,17 +7568,49 @@ export namespace EnvironmentLineMovedWebhookEvent {
|
|
|
7468
7568
|
|
|
7469
7569
|
export namespace Change {
|
|
7470
7570
|
/**
|
|
7471
|
-
* A
|
|
7472
|
-
* changed.
|
|
7571
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7572
|
+
* that changed.
|
|
7573
|
+
*/
|
|
7574
|
+
export interface FirstName {
|
|
7575
|
+
/**
|
|
7576
|
+
* The value before the change; null when the card had none.
|
|
7577
|
+
*/
|
|
7578
|
+
from: string | null;
|
|
7579
|
+
|
|
7580
|
+
/**
|
|
7581
|
+
* The value after the change; null when it was removed.
|
|
7582
|
+
*/
|
|
7583
|
+
to: string | null;
|
|
7584
|
+
}
|
|
7585
|
+
|
|
7586
|
+
/**
|
|
7587
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7588
|
+
* that changed.
|
|
7589
|
+
*/
|
|
7590
|
+
export interface ImageURL {
|
|
7591
|
+
/**
|
|
7592
|
+
* The value before the change; null when the card had none.
|
|
7593
|
+
*/
|
|
7594
|
+
from: string | null;
|
|
7595
|
+
|
|
7596
|
+
/**
|
|
7597
|
+
* The value after the change; null when it was removed.
|
|
7598
|
+
*/
|
|
7599
|
+
to: string | null;
|
|
7600
|
+
}
|
|
7601
|
+
|
|
7602
|
+
/**
|
|
7603
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7604
|
+
* that changed.
|
|
7473
7605
|
*/
|
|
7474
|
-
export interface
|
|
7606
|
+
export interface LastName {
|
|
7475
7607
|
/**
|
|
7476
|
-
* The
|
|
7608
|
+
* The value before the change; null when the card had none.
|
|
7477
7609
|
*/
|
|
7478
7610
|
from: string | null;
|
|
7479
7611
|
|
|
7480
7612
|
/**
|
|
7481
|
-
* The
|
|
7613
|
+
* The value after the change; null when it was removed.
|
|
7482
7614
|
*/
|
|
7483
7615
|
to: string | null;
|
|
7484
7616
|
}
|
|
@@ -7490,31 +7622,28 @@ export namespace EnvironmentLineMovedWebhookEvent {
|
|
|
7490
7622
|
export interface ContactCard {
|
|
7491
7623
|
id: string;
|
|
7492
7624
|
|
|
7625
|
+
first_name: string;
|
|
7626
|
+
|
|
7493
7627
|
/**
|
|
7494
|
-
*
|
|
7628
|
+
* Null when the card has no photo.
|
|
7495
7629
|
*/
|
|
7496
|
-
|
|
7630
|
+
image_url: string | null;
|
|
7497
7631
|
|
|
7498
7632
|
/**
|
|
7499
|
-
*
|
|
7633
|
+
* Null when the card has no last name.
|
|
7500
7634
|
*/
|
|
7501
|
-
|
|
7635
|
+
last_name: string | null;
|
|
7502
7636
|
}
|
|
7503
7637
|
|
|
7504
7638
|
/**
|
|
7505
|
-
* An environment. Production is
|
|
7506
|
-
* `{"
|
|
7507
|
-
*
|
|
7639
|
+
* An environment, identified by name. Production is
|
|
7640
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
7641
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
7508
7642
|
*/
|
|
7509
7643
|
export interface Environment {
|
|
7510
|
-
|
|
7511
|
-
* Null for Production.
|
|
7512
|
-
*/
|
|
7513
|
-
id: string | null;
|
|
7514
|
-
|
|
7515
|
-
type: 'production' | 'environment';
|
|
7644
|
+
name: string;
|
|
7516
7645
|
|
|
7517
|
-
|
|
7646
|
+
type: 'environment';
|
|
7518
7647
|
}
|
|
7519
7648
|
|
|
7520
7649
|
/**
|
|
@@ -7585,7 +7714,7 @@ export interface ContactCardCreatedWebhookEvent {
|
|
|
7585
7714
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
7586
7715
|
* describes the transition. Created and deleted events carry only the object that
|
|
7587
7716
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
7588
|
-
* only inside `change
|
|
7717
|
+
* only inside `change`.
|
|
7589
7718
|
*/
|
|
7590
7719
|
data: ContactCardCreatedWebhookEvent.Data;
|
|
7591
7720
|
|
|
@@ -7697,7 +7826,7 @@ export namespace ContactCardCreatedWebhookEvent {
|
|
|
7697
7826
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
7698
7827
|
* describes the transition. Created and deleted events carry only the object that
|
|
7699
7828
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
7700
|
-
* only inside `change
|
|
7829
|
+
* only inside `change`.
|
|
7701
7830
|
*/
|
|
7702
7831
|
export interface Data {
|
|
7703
7832
|
/**
|
|
@@ -7736,8 +7865,9 @@ export namespace ContactCardCreatedWebhookEvent {
|
|
|
7736
7865
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
7737
7866
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
7738
7867
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
7739
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
7740
|
-
* instead of `from` and `to
|
|
7868
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
7869
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
7870
|
+
* present only when that field changed.
|
|
7741
7871
|
*/
|
|
7742
7872
|
change?: Data.Change;
|
|
7743
7873
|
|
|
@@ -7747,9 +7877,9 @@ export namespace ContactCardCreatedWebhookEvent {
|
|
|
7747
7877
|
contact_card?: Data.ContactCard;
|
|
7748
7878
|
|
|
7749
7879
|
/**
|
|
7750
|
-
* An environment. Production is
|
|
7751
|
-
* `{"
|
|
7752
|
-
*
|
|
7880
|
+
* An environment, identified by name. Production is
|
|
7881
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
7882
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
7753
7883
|
*/
|
|
7754
7884
|
environment?: Data.Environment;
|
|
7755
7885
|
|
|
@@ -7841,20 +7971,33 @@ export namespace ContactCardCreatedWebhookEvent {
|
|
|
7841
7971
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
7842
7972
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
7843
7973
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
7844
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
7845
|
-
* instead of `from` and `to
|
|
7974
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
7975
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
7976
|
+
* present only when that field changed.
|
|
7846
7977
|
*/
|
|
7847
7978
|
export interface Change {
|
|
7979
|
+
/**
|
|
7980
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7981
|
+
* that changed.
|
|
7982
|
+
*/
|
|
7983
|
+
first_name?: Change.FirstName;
|
|
7984
|
+
|
|
7848
7985
|
/**
|
|
7849
7986
|
* The value before the change; null when there was none.
|
|
7850
7987
|
*/
|
|
7851
7988
|
from?: unknown;
|
|
7852
7989
|
|
|
7853
7990
|
/**
|
|
7854
|
-
* A
|
|
7855
|
-
* changed.
|
|
7991
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7992
|
+
* that changed.
|
|
7856
7993
|
*/
|
|
7857
|
-
|
|
7994
|
+
image_url?: Change.ImageURL;
|
|
7995
|
+
|
|
7996
|
+
/**
|
|
7997
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
7998
|
+
* that changed.
|
|
7999
|
+
*/
|
|
8000
|
+
last_name?: Change.LastName;
|
|
7858
8001
|
|
|
7859
8002
|
/**
|
|
7860
8003
|
* The value after the change; null when it was cleared.
|
|
@@ -7864,17 +8007,49 @@ export namespace ContactCardCreatedWebhookEvent {
|
|
|
7864
8007
|
|
|
7865
8008
|
export namespace Change {
|
|
7866
8009
|
/**
|
|
7867
|
-
* A
|
|
7868
|
-
* changed.
|
|
8010
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8011
|
+
* that changed.
|
|
8012
|
+
*/
|
|
8013
|
+
export interface FirstName {
|
|
8014
|
+
/**
|
|
8015
|
+
* The value before the change; null when the card had none.
|
|
8016
|
+
*/
|
|
8017
|
+
from: string | null;
|
|
8018
|
+
|
|
8019
|
+
/**
|
|
8020
|
+
* The value after the change; null when it was removed.
|
|
8021
|
+
*/
|
|
8022
|
+
to: string | null;
|
|
8023
|
+
}
|
|
8024
|
+
|
|
8025
|
+
/**
|
|
8026
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8027
|
+
* that changed.
|
|
8028
|
+
*/
|
|
8029
|
+
export interface ImageURL {
|
|
8030
|
+
/**
|
|
8031
|
+
* The value before the change; null when the card had none.
|
|
8032
|
+
*/
|
|
8033
|
+
from: string | null;
|
|
8034
|
+
|
|
8035
|
+
/**
|
|
8036
|
+
* The value after the change; null when it was removed.
|
|
8037
|
+
*/
|
|
8038
|
+
to: string | null;
|
|
8039
|
+
}
|
|
8040
|
+
|
|
8041
|
+
/**
|
|
8042
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8043
|
+
* that changed.
|
|
7869
8044
|
*/
|
|
7870
|
-
export interface
|
|
8045
|
+
export interface LastName {
|
|
7871
8046
|
/**
|
|
7872
|
-
* The
|
|
8047
|
+
* The value before the change; null when the card had none.
|
|
7873
8048
|
*/
|
|
7874
8049
|
from: string | null;
|
|
7875
8050
|
|
|
7876
8051
|
/**
|
|
7877
|
-
* The
|
|
8052
|
+
* The value after the change; null when it was removed.
|
|
7878
8053
|
*/
|
|
7879
8054
|
to: string | null;
|
|
7880
8055
|
}
|
|
@@ -7886,31 +8061,28 @@ export namespace ContactCardCreatedWebhookEvent {
|
|
|
7886
8061
|
export interface ContactCard {
|
|
7887
8062
|
id: string;
|
|
7888
8063
|
|
|
8064
|
+
first_name: string;
|
|
8065
|
+
|
|
7889
8066
|
/**
|
|
7890
|
-
*
|
|
8067
|
+
* Null when the card has no photo.
|
|
7891
8068
|
*/
|
|
7892
|
-
|
|
8069
|
+
image_url: string | null;
|
|
7893
8070
|
|
|
7894
8071
|
/**
|
|
7895
|
-
*
|
|
8072
|
+
* Null when the card has no last name.
|
|
7896
8073
|
*/
|
|
7897
|
-
|
|
8074
|
+
last_name: string | null;
|
|
7898
8075
|
}
|
|
7899
8076
|
|
|
7900
8077
|
/**
|
|
7901
|
-
* An environment. Production is
|
|
7902
|
-
* `{"
|
|
7903
|
-
*
|
|
8078
|
+
* An environment, identified by name. Production is
|
|
8079
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
8080
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
7904
8081
|
*/
|
|
7905
8082
|
export interface Environment {
|
|
7906
|
-
|
|
7907
|
-
* Null for Production.
|
|
7908
|
-
*/
|
|
7909
|
-
id: string | null;
|
|
7910
|
-
|
|
7911
|
-
type: 'production' | 'environment';
|
|
8083
|
+
name: string;
|
|
7912
8084
|
|
|
7913
|
-
|
|
8085
|
+
type: 'environment';
|
|
7914
8086
|
}
|
|
7915
8087
|
|
|
7916
8088
|
/**
|
|
@@ -7981,7 +8153,7 @@ export interface ContactCardUpdatedWebhookEvent {
|
|
|
7981
8153
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
7982
8154
|
* describes the transition. Created and deleted events carry only the object that
|
|
7983
8155
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
7984
|
-
* only inside `change
|
|
8156
|
+
* only inside `change`.
|
|
7985
8157
|
*/
|
|
7986
8158
|
data: ContactCardUpdatedWebhookEvent.Data;
|
|
7987
8159
|
|
|
@@ -8093,7 +8265,7 @@ export namespace ContactCardUpdatedWebhookEvent {
|
|
|
8093
8265
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
8094
8266
|
* describes the transition. Created and deleted events carry only the object that
|
|
8095
8267
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
8096
|
-
* only inside `change
|
|
8268
|
+
* only inside `change`.
|
|
8097
8269
|
*/
|
|
8098
8270
|
export interface Data {
|
|
8099
8271
|
/**
|
|
@@ -8132,8 +8304,9 @@ export namespace ContactCardUpdatedWebhookEvent {
|
|
|
8132
8304
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
8133
8305
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
8134
8306
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
8135
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
8136
|
-
* instead of `from` and `to
|
|
8307
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
8308
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
8309
|
+
* present only when that field changed.
|
|
8137
8310
|
*/
|
|
8138
8311
|
change?: Data.Change;
|
|
8139
8312
|
|
|
@@ -8143,9 +8316,9 @@ export namespace ContactCardUpdatedWebhookEvent {
|
|
|
8143
8316
|
contact_card?: Data.ContactCard;
|
|
8144
8317
|
|
|
8145
8318
|
/**
|
|
8146
|
-
* An environment. Production is
|
|
8147
|
-
* `{"
|
|
8148
|
-
*
|
|
8319
|
+
* An environment, identified by name. Production is
|
|
8320
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
8321
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
8149
8322
|
*/
|
|
8150
8323
|
environment?: Data.Environment;
|
|
8151
8324
|
|
|
@@ -8237,20 +8410,33 @@ export namespace ContactCardUpdatedWebhookEvent {
|
|
|
8237
8410
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
8238
8411
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
8239
8412
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
8240
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
8241
|
-
* instead of `from` and `to
|
|
8413
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
8414
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
8415
|
+
* present only when that field changed.
|
|
8242
8416
|
*/
|
|
8243
8417
|
export interface Change {
|
|
8418
|
+
/**
|
|
8419
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8420
|
+
* that changed.
|
|
8421
|
+
*/
|
|
8422
|
+
first_name?: Change.FirstName;
|
|
8423
|
+
|
|
8244
8424
|
/**
|
|
8245
8425
|
* The value before the change; null when there was none.
|
|
8246
8426
|
*/
|
|
8247
8427
|
from?: unknown;
|
|
8248
8428
|
|
|
8249
8429
|
/**
|
|
8250
|
-
* A
|
|
8251
|
-
* changed.
|
|
8430
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8431
|
+
* that changed.
|
|
8432
|
+
*/
|
|
8433
|
+
image_url?: Change.ImageURL;
|
|
8434
|
+
|
|
8435
|
+
/**
|
|
8436
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8437
|
+
* that changed.
|
|
8252
8438
|
*/
|
|
8253
|
-
|
|
8439
|
+
last_name?: Change.LastName;
|
|
8254
8440
|
|
|
8255
8441
|
/**
|
|
8256
8442
|
* The value after the change; null when it was cleared.
|
|
@@ -8260,17 +8446,49 @@ export namespace ContactCardUpdatedWebhookEvent {
|
|
|
8260
8446
|
|
|
8261
8447
|
export namespace Change {
|
|
8262
8448
|
/**
|
|
8263
|
-
* A
|
|
8264
|
-
* changed.
|
|
8449
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8450
|
+
* that changed.
|
|
8451
|
+
*/
|
|
8452
|
+
export interface FirstName {
|
|
8453
|
+
/**
|
|
8454
|
+
* The value before the change; null when the card had none.
|
|
8455
|
+
*/
|
|
8456
|
+
from: string | null;
|
|
8457
|
+
|
|
8458
|
+
/**
|
|
8459
|
+
* The value after the change; null when it was removed.
|
|
8460
|
+
*/
|
|
8461
|
+
to: string | null;
|
|
8462
|
+
}
|
|
8463
|
+
|
|
8464
|
+
/**
|
|
8465
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8466
|
+
* that changed.
|
|
8467
|
+
*/
|
|
8468
|
+
export interface ImageURL {
|
|
8469
|
+
/**
|
|
8470
|
+
* The value before the change; null when the card had none.
|
|
8471
|
+
*/
|
|
8472
|
+
from: string | null;
|
|
8473
|
+
|
|
8474
|
+
/**
|
|
8475
|
+
* The value after the change; null when it was removed.
|
|
8476
|
+
*/
|
|
8477
|
+
to: string | null;
|
|
8478
|
+
}
|
|
8479
|
+
|
|
8480
|
+
/**
|
|
8481
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8482
|
+
* that changed.
|
|
8265
8483
|
*/
|
|
8266
|
-
export interface
|
|
8484
|
+
export interface LastName {
|
|
8267
8485
|
/**
|
|
8268
|
-
* The
|
|
8486
|
+
* The value before the change; null when the card had none.
|
|
8269
8487
|
*/
|
|
8270
8488
|
from: string | null;
|
|
8271
8489
|
|
|
8272
8490
|
/**
|
|
8273
|
-
* The
|
|
8491
|
+
* The value after the change; null when it was removed.
|
|
8274
8492
|
*/
|
|
8275
8493
|
to: string | null;
|
|
8276
8494
|
}
|
|
@@ -8282,31 +8500,28 @@ export namespace ContactCardUpdatedWebhookEvent {
|
|
|
8282
8500
|
export interface ContactCard {
|
|
8283
8501
|
id: string;
|
|
8284
8502
|
|
|
8503
|
+
first_name: string;
|
|
8504
|
+
|
|
8285
8505
|
/**
|
|
8286
|
-
*
|
|
8506
|
+
* Null when the card has no photo.
|
|
8287
8507
|
*/
|
|
8288
|
-
|
|
8508
|
+
image_url: string | null;
|
|
8289
8509
|
|
|
8290
8510
|
/**
|
|
8291
|
-
*
|
|
8511
|
+
* Null when the card has no last name.
|
|
8292
8512
|
*/
|
|
8293
|
-
|
|
8513
|
+
last_name: string | null;
|
|
8294
8514
|
}
|
|
8295
8515
|
|
|
8296
8516
|
/**
|
|
8297
|
-
* An environment. Production is
|
|
8298
|
-
* `{"
|
|
8299
|
-
*
|
|
8517
|
+
* An environment, identified by name. Production is
|
|
8518
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
8519
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
8300
8520
|
*/
|
|
8301
8521
|
export interface Environment {
|
|
8302
|
-
|
|
8303
|
-
* Null for Production.
|
|
8304
|
-
*/
|
|
8305
|
-
id: string | null;
|
|
8306
|
-
|
|
8307
|
-
type: 'production' | 'environment';
|
|
8522
|
+
name: string;
|
|
8308
8523
|
|
|
8309
|
-
|
|
8524
|
+
type: 'environment';
|
|
8310
8525
|
}
|
|
8311
8526
|
|
|
8312
8527
|
/**
|
|
@@ -8377,7 +8592,7 @@ export interface ContactCardDeletedWebhookEvent {
|
|
|
8377
8592
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
8378
8593
|
* describes the transition. Created and deleted events carry only the object that
|
|
8379
8594
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
8380
|
-
* only inside `change
|
|
8595
|
+
* only inside `change`.
|
|
8381
8596
|
*/
|
|
8382
8597
|
data: ContactCardDeletedWebhookEvent.Data;
|
|
8383
8598
|
|
|
@@ -8489,7 +8704,7 @@ export namespace ContactCardDeletedWebhookEvent {
|
|
|
8489
8704
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
8490
8705
|
* describes the transition. Created and deleted events carry only the object that
|
|
8491
8706
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
8492
|
-
* only inside `change
|
|
8707
|
+
* only inside `change`.
|
|
8493
8708
|
*/
|
|
8494
8709
|
export interface Data {
|
|
8495
8710
|
/**
|
|
@@ -8528,8 +8743,9 @@ export namespace ContactCardDeletedWebhookEvent {
|
|
|
8528
8743
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
8529
8744
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
8530
8745
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
8531
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
8532
|
-
* instead of `from` and `to
|
|
8746
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
8747
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
8748
|
+
* present only when that field changed.
|
|
8533
8749
|
*/
|
|
8534
8750
|
change?: Data.Change;
|
|
8535
8751
|
|
|
@@ -8539,9 +8755,9 @@ export namespace ContactCardDeletedWebhookEvent {
|
|
|
8539
8755
|
contact_card?: Data.ContactCard;
|
|
8540
8756
|
|
|
8541
8757
|
/**
|
|
8542
|
-
* An environment. Production is
|
|
8543
|
-
* `{"
|
|
8544
|
-
*
|
|
8758
|
+
* An environment, identified by name. Production is
|
|
8759
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
8760
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
8545
8761
|
*/
|
|
8546
8762
|
environment?: Data.Environment;
|
|
8547
8763
|
|
|
@@ -8633,20 +8849,33 @@ export namespace ContactCardDeletedWebhookEvent {
|
|
|
8633
8849
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
8634
8850
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
8635
8851
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
8636
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
8637
|
-
* instead of `from` and `to
|
|
8852
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
8853
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
8854
|
+
* present only when that field changed.
|
|
8638
8855
|
*/
|
|
8639
8856
|
export interface Change {
|
|
8857
|
+
/**
|
|
8858
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8859
|
+
* that changed.
|
|
8860
|
+
*/
|
|
8861
|
+
first_name?: Change.FirstName;
|
|
8862
|
+
|
|
8640
8863
|
/**
|
|
8641
8864
|
* The value before the change; null when there was none.
|
|
8642
8865
|
*/
|
|
8643
8866
|
from?: unknown;
|
|
8644
8867
|
|
|
8645
8868
|
/**
|
|
8646
|
-
* A
|
|
8647
|
-
* changed.
|
|
8869
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8870
|
+
* that changed.
|
|
8871
|
+
*/
|
|
8872
|
+
image_url?: Change.ImageURL;
|
|
8873
|
+
|
|
8874
|
+
/**
|
|
8875
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8876
|
+
* that changed.
|
|
8648
8877
|
*/
|
|
8649
|
-
|
|
8878
|
+
last_name?: Change.LastName;
|
|
8650
8879
|
|
|
8651
8880
|
/**
|
|
8652
8881
|
* The value after the change; null when it was cleared.
|
|
@@ -8656,17 +8885,49 @@ export namespace ContactCardDeletedWebhookEvent {
|
|
|
8656
8885
|
|
|
8657
8886
|
export namespace Change {
|
|
8658
8887
|
/**
|
|
8659
|
-
* A
|
|
8660
|
-
* changed.
|
|
8888
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8889
|
+
* that changed.
|
|
8890
|
+
*/
|
|
8891
|
+
export interface FirstName {
|
|
8892
|
+
/**
|
|
8893
|
+
* The value before the change; null when the card had none.
|
|
8894
|
+
*/
|
|
8895
|
+
from: string | null;
|
|
8896
|
+
|
|
8897
|
+
/**
|
|
8898
|
+
* The value after the change; null when it was removed.
|
|
8899
|
+
*/
|
|
8900
|
+
to: string | null;
|
|
8901
|
+
}
|
|
8902
|
+
|
|
8903
|
+
/**
|
|
8904
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8905
|
+
* that changed.
|
|
8661
8906
|
*/
|
|
8662
|
-
export interface
|
|
8907
|
+
export interface ImageURL {
|
|
8663
8908
|
/**
|
|
8664
|
-
* The
|
|
8909
|
+
* The value before the change; null when the card had none.
|
|
8665
8910
|
*/
|
|
8666
8911
|
from: string | null;
|
|
8667
8912
|
|
|
8668
8913
|
/**
|
|
8669
|
-
* The
|
|
8914
|
+
* The value after the change; null when it was removed.
|
|
8915
|
+
*/
|
|
8916
|
+
to: string | null;
|
|
8917
|
+
}
|
|
8918
|
+
|
|
8919
|
+
/**
|
|
8920
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
8921
|
+
* that changed.
|
|
8922
|
+
*/
|
|
8923
|
+
export interface LastName {
|
|
8924
|
+
/**
|
|
8925
|
+
* The value before the change; null when the card had none.
|
|
8926
|
+
*/
|
|
8927
|
+
from: string | null;
|
|
8928
|
+
|
|
8929
|
+
/**
|
|
8930
|
+
* The value after the change; null when it was removed.
|
|
8670
8931
|
*/
|
|
8671
8932
|
to: string | null;
|
|
8672
8933
|
}
|
|
@@ -8678,31 +8939,28 @@ export namespace ContactCardDeletedWebhookEvent {
|
|
|
8678
8939
|
export interface ContactCard {
|
|
8679
8940
|
id: string;
|
|
8680
8941
|
|
|
8942
|
+
first_name: string;
|
|
8943
|
+
|
|
8681
8944
|
/**
|
|
8682
|
-
*
|
|
8945
|
+
* Null when the card has no photo.
|
|
8683
8946
|
*/
|
|
8684
|
-
|
|
8947
|
+
image_url: string | null;
|
|
8685
8948
|
|
|
8686
8949
|
/**
|
|
8687
|
-
*
|
|
8950
|
+
* Null when the card has no last name.
|
|
8688
8951
|
*/
|
|
8689
|
-
|
|
8952
|
+
last_name: string | null;
|
|
8690
8953
|
}
|
|
8691
8954
|
|
|
8692
8955
|
/**
|
|
8693
|
-
* An environment. Production is
|
|
8694
|
-
* `{"
|
|
8695
|
-
*
|
|
8956
|
+
* An environment, identified by name. Production is
|
|
8957
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
8958
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
8696
8959
|
*/
|
|
8697
8960
|
export interface Environment {
|
|
8698
|
-
|
|
8699
|
-
* Null for Production.
|
|
8700
|
-
*/
|
|
8701
|
-
id: string | null;
|
|
8702
|
-
|
|
8703
|
-
type: 'production' | 'environment';
|
|
8961
|
+
name: string;
|
|
8704
8962
|
|
|
8705
|
-
|
|
8963
|
+
type: 'environment';
|
|
8706
8964
|
}
|
|
8707
8965
|
|
|
8708
8966
|
/**
|
|
@@ -8773,7 +9031,7 @@ export interface APITokenCreatedWebhookEvent {
|
|
|
8773
9031
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
8774
9032
|
* describes the transition. Created and deleted events carry only the object that
|
|
8775
9033
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
8776
|
-
* only inside `change
|
|
9034
|
+
* only inside `change`.
|
|
8777
9035
|
*/
|
|
8778
9036
|
data: APITokenCreatedWebhookEvent.Data;
|
|
8779
9037
|
|
|
@@ -8885,7 +9143,7 @@ export namespace APITokenCreatedWebhookEvent {
|
|
|
8885
9143
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
8886
9144
|
* describes the transition. Created and deleted events carry only the object that
|
|
8887
9145
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
8888
|
-
* only inside `change
|
|
9146
|
+
* only inside `change`.
|
|
8889
9147
|
*/
|
|
8890
9148
|
export interface Data {
|
|
8891
9149
|
/**
|
|
@@ -8924,8 +9182,9 @@ export namespace APITokenCreatedWebhookEvent {
|
|
|
8924
9182
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
8925
9183
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
8926
9184
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
8927
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
8928
|
-
* instead of `from` and `to
|
|
9185
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
9186
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
9187
|
+
* present only when that field changed.
|
|
8929
9188
|
*/
|
|
8930
9189
|
change?: Data.Change;
|
|
8931
9190
|
|
|
@@ -8935,9 +9194,9 @@ export namespace APITokenCreatedWebhookEvent {
|
|
|
8935
9194
|
contact_card?: Data.ContactCard;
|
|
8936
9195
|
|
|
8937
9196
|
/**
|
|
8938
|
-
* An environment. Production is
|
|
8939
|
-
* `{"
|
|
8940
|
-
*
|
|
9197
|
+
* An environment, identified by name. Production is
|
|
9198
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
9199
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
8941
9200
|
*/
|
|
8942
9201
|
environment?: Data.Environment;
|
|
8943
9202
|
|
|
@@ -9029,20 +9288,33 @@ export namespace APITokenCreatedWebhookEvent {
|
|
|
9029
9288
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
9030
9289
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
9031
9290
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
9032
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
9033
|
-
* instead of `from` and `to
|
|
9291
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
9292
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
9293
|
+
* present only when that field changed.
|
|
9034
9294
|
*/
|
|
9035
9295
|
export interface Change {
|
|
9296
|
+
/**
|
|
9297
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
9298
|
+
* that changed.
|
|
9299
|
+
*/
|
|
9300
|
+
first_name?: Change.FirstName;
|
|
9301
|
+
|
|
9036
9302
|
/**
|
|
9037
9303
|
* The value before the change; null when there was none.
|
|
9038
9304
|
*/
|
|
9039
9305
|
from?: unknown;
|
|
9040
9306
|
|
|
9041
9307
|
/**
|
|
9042
|
-
* A
|
|
9043
|
-
* changed.
|
|
9308
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
9309
|
+
* that changed.
|
|
9310
|
+
*/
|
|
9311
|
+
image_url?: Change.ImageURL;
|
|
9312
|
+
|
|
9313
|
+
/**
|
|
9314
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
9315
|
+
* that changed.
|
|
9044
9316
|
*/
|
|
9045
|
-
|
|
9317
|
+
last_name?: Change.LastName;
|
|
9046
9318
|
|
|
9047
9319
|
/**
|
|
9048
9320
|
* The value after the change; null when it was cleared.
|
|
@@ -9052,17 +9324,49 @@ export namespace APITokenCreatedWebhookEvent {
|
|
|
9052
9324
|
|
|
9053
9325
|
export namespace Change {
|
|
9054
9326
|
/**
|
|
9055
|
-
* A
|
|
9056
|
-
* changed.
|
|
9327
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
9328
|
+
* that changed.
|
|
9329
|
+
*/
|
|
9330
|
+
export interface FirstName {
|
|
9331
|
+
/**
|
|
9332
|
+
* The value before the change; null when the card had none.
|
|
9333
|
+
*/
|
|
9334
|
+
from: string | null;
|
|
9335
|
+
|
|
9336
|
+
/**
|
|
9337
|
+
* The value after the change; null when it was removed.
|
|
9338
|
+
*/
|
|
9339
|
+
to: string | null;
|
|
9340
|
+
}
|
|
9341
|
+
|
|
9342
|
+
/**
|
|
9343
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
9344
|
+
* that changed.
|
|
9345
|
+
*/
|
|
9346
|
+
export interface ImageURL {
|
|
9347
|
+
/**
|
|
9348
|
+
* The value before the change; null when the card had none.
|
|
9349
|
+
*/
|
|
9350
|
+
from: string | null;
|
|
9351
|
+
|
|
9352
|
+
/**
|
|
9353
|
+
* The value after the change; null when it was removed.
|
|
9354
|
+
*/
|
|
9355
|
+
to: string | null;
|
|
9356
|
+
}
|
|
9357
|
+
|
|
9358
|
+
/**
|
|
9359
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
9360
|
+
* that changed.
|
|
9057
9361
|
*/
|
|
9058
|
-
export interface
|
|
9362
|
+
export interface LastName {
|
|
9059
9363
|
/**
|
|
9060
|
-
* The
|
|
9364
|
+
* The value before the change; null when the card had none.
|
|
9061
9365
|
*/
|
|
9062
9366
|
from: string | null;
|
|
9063
9367
|
|
|
9064
9368
|
/**
|
|
9065
|
-
* The
|
|
9369
|
+
* The value after the change; null when it was removed.
|
|
9066
9370
|
*/
|
|
9067
9371
|
to: string | null;
|
|
9068
9372
|
}
|
|
@@ -9074,31 +9378,28 @@ export namespace APITokenCreatedWebhookEvent {
|
|
|
9074
9378
|
export interface ContactCard {
|
|
9075
9379
|
id: string;
|
|
9076
9380
|
|
|
9381
|
+
first_name: string;
|
|
9382
|
+
|
|
9077
9383
|
/**
|
|
9078
|
-
*
|
|
9384
|
+
* Null when the card has no photo.
|
|
9079
9385
|
*/
|
|
9080
|
-
|
|
9386
|
+
image_url: string | null;
|
|
9081
9387
|
|
|
9082
9388
|
/**
|
|
9083
|
-
*
|
|
9389
|
+
* Null when the card has no last name.
|
|
9084
9390
|
*/
|
|
9085
|
-
|
|
9391
|
+
last_name: string | null;
|
|
9086
9392
|
}
|
|
9087
9393
|
|
|
9088
9394
|
/**
|
|
9089
|
-
* An environment. Production is
|
|
9090
|
-
* `{"
|
|
9091
|
-
*
|
|
9395
|
+
* An environment, identified by name. Production is
|
|
9396
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
9397
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
9092
9398
|
*/
|
|
9093
9399
|
export interface Environment {
|
|
9094
|
-
|
|
9095
|
-
* Null for Production.
|
|
9096
|
-
*/
|
|
9097
|
-
id: string | null;
|
|
9098
|
-
|
|
9099
|
-
type: 'production' | 'environment';
|
|
9400
|
+
name: string;
|
|
9100
9401
|
|
|
9101
|
-
|
|
9402
|
+
type: 'environment';
|
|
9102
9403
|
}
|
|
9103
9404
|
|
|
9104
9405
|
/**
|
|
@@ -9169,7 +9470,7 @@ export interface APITokenRenamedWebhookEvent {
|
|
|
9169
9470
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
9170
9471
|
* describes the transition. Created and deleted events carry only the object that
|
|
9171
9472
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
9172
|
-
* only inside `change
|
|
9473
|
+
* only inside `change`.
|
|
9173
9474
|
*/
|
|
9174
9475
|
data: APITokenRenamedWebhookEvent.Data;
|
|
9175
9476
|
|
|
@@ -9281,7 +9582,7 @@ export namespace APITokenRenamedWebhookEvent {
|
|
|
9281
9582
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
9282
9583
|
* describes the transition. Created and deleted events carry only the object that
|
|
9283
9584
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
9284
|
-
* only inside `change
|
|
9585
|
+
* only inside `change`.
|
|
9285
9586
|
*/
|
|
9286
9587
|
export interface Data {
|
|
9287
9588
|
/**
|
|
@@ -9320,8 +9621,9 @@ export namespace APITokenRenamedWebhookEvent {
|
|
|
9320
9621
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
9321
9622
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
9322
9623
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
9323
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
9324
|
-
* instead of `from` and `to
|
|
9624
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
9625
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
9626
|
+
* present only when that field changed.
|
|
9325
9627
|
*/
|
|
9326
9628
|
change?: Data.Change;
|
|
9327
9629
|
|
|
@@ -9331,9 +9633,9 @@ export namespace APITokenRenamedWebhookEvent {
|
|
|
9331
9633
|
contact_card?: Data.ContactCard;
|
|
9332
9634
|
|
|
9333
9635
|
/**
|
|
9334
|
-
* An environment. Production is
|
|
9335
|
-
* `{"
|
|
9336
|
-
*
|
|
9636
|
+
* An environment, identified by name. Production is
|
|
9637
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
9638
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
9337
9639
|
*/
|
|
9338
9640
|
environment?: Data.Environment;
|
|
9339
9641
|
|
|
@@ -9425,20 +9727,33 @@ export namespace APITokenRenamedWebhookEvent {
|
|
|
9425
9727
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
9426
9728
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
9427
9729
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
9428
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
9429
|
-
* instead of `from` and `to
|
|
9730
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
9731
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
9732
|
+
* present only when that field changed.
|
|
9430
9733
|
*/
|
|
9431
9734
|
export interface Change {
|
|
9735
|
+
/**
|
|
9736
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
9737
|
+
* that changed.
|
|
9738
|
+
*/
|
|
9739
|
+
first_name?: Change.FirstName;
|
|
9740
|
+
|
|
9432
9741
|
/**
|
|
9433
9742
|
* The value before the change; null when there was none.
|
|
9434
9743
|
*/
|
|
9435
9744
|
from?: unknown;
|
|
9436
9745
|
|
|
9437
9746
|
/**
|
|
9438
|
-
* A
|
|
9439
|
-
* changed.
|
|
9747
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
9748
|
+
* that changed.
|
|
9440
9749
|
*/
|
|
9441
|
-
|
|
9750
|
+
image_url?: Change.ImageURL;
|
|
9751
|
+
|
|
9752
|
+
/**
|
|
9753
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
9754
|
+
* that changed.
|
|
9755
|
+
*/
|
|
9756
|
+
last_name?: Change.LastName;
|
|
9442
9757
|
|
|
9443
9758
|
/**
|
|
9444
9759
|
* The value after the change; null when it was cleared.
|
|
@@ -9448,53 +9763,82 @@ export namespace APITokenRenamedWebhookEvent {
|
|
|
9448
9763
|
|
|
9449
9764
|
export namespace Change {
|
|
9450
9765
|
/**
|
|
9451
|
-
* A
|
|
9452
|
-
* changed.
|
|
9766
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
9767
|
+
* that changed.
|
|
9453
9768
|
*/
|
|
9454
|
-
export interface
|
|
9769
|
+
export interface FirstName {
|
|
9455
9770
|
/**
|
|
9456
|
-
* The
|
|
9771
|
+
* The value before the change; null when the card had none.
|
|
9457
9772
|
*/
|
|
9458
9773
|
from: string | null;
|
|
9459
9774
|
|
|
9460
9775
|
/**
|
|
9461
|
-
* The
|
|
9776
|
+
* The value after the change; null when it was removed.
|
|
9462
9777
|
*/
|
|
9463
9778
|
to: string | null;
|
|
9464
9779
|
}
|
|
9465
|
-
}
|
|
9466
|
-
|
|
9467
|
-
/**
|
|
9468
|
-
* The contact card that changed.
|
|
9469
|
-
*/
|
|
9470
|
-
export interface ContactCard {
|
|
9471
|
-
id: string;
|
|
9472
9780
|
|
|
9473
9781
|
/**
|
|
9474
|
-
*
|
|
9782
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
9783
|
+
* that changed.
|
|
9475
9784
|
*/
|
|
9476
|
-
|
|
9785
|
+
export interface ImageURL {
|
|
9786
|
+
/**
|
|
9787
|
+
* The value before the change; null when the card had none.
|
|
9788
|
+
*/
|
|
9789
|
+
from: string | null;
|
|
9790
|
+
|
|
9791
|
+
/**
|
|
9792
|
+
* The value after the change; null when it was removed.
|
|
9793
|
+
*/
|
|
9794
|
+
to: string | null;
|
|
9795
|
+
}
|
|
9477
9796
|
|
|
9478
9797
|
/**
|
|
9479
|
-
*
|
|
9798
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
9799
|
+
* that changed.
|
|
9480
9800
|
*/
|
|
9481
|
-
|
|
9801
|
+
export interface LastName {
|
|
9802
|
+
/**
|
|
9803
|
+
* The value before the change; null when the card had none.
|
|
9804
|
+
*/
|
|
9805
|
+
from: string | null;
|
|
9806
|
+
|
|
9807
|
+
/**
|
|
9808
|
+
* The value after the change; null when it was removed.
|
|
9809
|
+
*/
|
|
9810
|
+
to: string | null;
|
|
9811
|
+
}
|
|
9482
9812
|
}
|
|
9483
9813
|
|
|
9484
9814
|
/**
|
|
9485
|
-
*
|
|
9486
|
-
* `{"id": null, "name": "Production", "type": "production"}`; every other
|
|
9487
|
-
* environment has an `id` and type `environment`.
|
|
9815
|
+
* The contact card that changed.
|
|
9488
9816
|
*/
|
|
9489
|
-
export interface
|
|
9817
|
+
export interface ContactCard {
|
|
9818
|
+
id: string;
|
|
9819
|
+
|
|
9820
|
+
first_name: string;
|
|
9821
|
+
|
|
9822
|
+
/**
|
|
9823
|
+
* Null when the card has no photo.
|
|
9824
|
+
*/
|
|
9825
|
+
image_url: string | null;
|
|
9826
|
+
|
|
9490
9827
|
/**
|
|
9491
|
-
* Null
|
|
9828
|
+
* Null when the card has no last name.
|
|
9492
9829
|
*/
|
|
9493
|
-
|
|
9830
|
+
last_name: string | null;
|
|
9831
|
+
}
|
|
9494
9832
|
|
|
9495
|
-
|
|
9833
|
+
/**
|
|
9834
|
+
* An environment, identified by name. Production is
|
|
9835
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
9836
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
9837
|
+
*/
|
|
9838
|
+
export interface Environment {
|
|
9839
|
+
name: string;
|
|
9496
9840
|
|
|
9497
|
-
|
|
9841
|
+
type: 'environment';
|
|
9498
9842
|
}
|
|
9499
9843
|
|
|
9500
9844
|
/**
|
|
@@ -9565,7 +9909,7 @@ export interface APITokenExpiryScheduledWebhookEvent {
|
|
|
9565
9909
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
9566
9910
|
* describes the transition. Created and deleted events carry only the object that
|
|
9567
9911
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
9568
|
-
* only inside `change
|
|
9912
|
+
* only inside `change`.
|
|
9569
9913
|
*/
|
|
9570
9914
|
data: APITokenExpiryScheduledWebhookEvent.Data;
|
|
9571
9915
|
|
|
@@ -9677,7 +10021,7 @@ export namespace APITokenExpiryScheduledWebhookEvent {
|
|
|
9677
10021
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
9678
10022
|
* describes the transition. Created and deleted events carry only the object that
|
|
9679
10023
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
9680
|
-
* only inside `change
|
|
10024
|
+
* only inside `change`.
|
|
9681
10025
|
*/
|
|
9682
10026
|
export interface Data {
|
|
9683
10027
|
/**
|
|
@@ -9716,8 +10060,9 @@ export namespace APITokenExpiryScheduledWebhookEvent {
|
|
|
9716
10060
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
9717
10061
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
9718
10062
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
9719
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
9720
|
-
* instead of `from` and `to
|
|
10063
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
10064
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
10065
|
+
* present only when that field changed.
|
|
9721
10066
|
*/
|
|
9722
10067
|
change?: Data.Change;
|
|
9723
10068
|
|
|
@@ -9727,9 +10072,9 @@ export namespace APITokenExpiryScheduledWebhookEvent {
|
|
|
9727
10072
|
contact_card?: Data.ContactCard;
|
|
9728
10073
|
|
|
9729
10074
|
/**
|
|
9730
|
-
* An environment. Production is
|
|
9731
|
-
* `{"
|
|
9732
|
-
*
|
|
10075
|
+
* An environment, identified by name. Production is
|
|
10076
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
10077
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
9733
10078
|
*/
|
|
9734
10079
|
environment?: Data.Environment;
|
|
9735
10080
|
|
|
@@ -9821,20 +10166,33 @@ export namespace APITokenExpiryScheduledWebhookEvent {
|
|
|
9821
10166
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
9822
10167
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
9823
10168
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
9824
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
9825
|
-
* instead of `from` and `to
|
|
10169
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
10170
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
10171
|
+
* present only when that field changed.
|
|
9826
10172
|
*/
|
|
9827
10173
|
export interface Change {
|
|
10174
|
+
/**
|
|
10175
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
10176
|
+
* that changed.
|
|
10177
|
+
*/
|
|
10178
|
+
first_name?: Change.FirstName;
|
|
10179
|
+
|
|
9828
10180
|
/**
|
|
9829
10181
|
* The value before the change; null when there was none.
|
|
9830
10182
|
*/
|
|
9831
10183
|
from?: unknown;
|
|
9832
10184
|
|
|
9833
10185
|
/**
|
|
9834
|
-
* A
|
|
9835
|
-
* changed.
|
|
10186
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
10187
|
+
* that changed.
|
|
9836
10188
|
*/
|
|
9837
|
-
|
|
10189
|
+
image_url?: Change.ImageURL;
|
|
10190
|
+
|
|
10191
|
+
/**
|
|
10192
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
10193
|
+
* that changed.
|
|
10194
|
+
*/
|
|
10195
|
+
last_name?: Change.LastName;
|
|
9838
10196
|
|
|
9839
10197
|
/**
|
|
9840
10198
|
* The value after the change; null when it was cleared.
|
|
@@ -9844,17 +10202,49 @@ export namespace APITokenExpiryScheduledWebhookEvent {
|
|
|
9844
10202
|
|
|
9845
10203
|
export namespace Change {
|
|
9846
10204
|
/**
|
|
9847
|
-
* A
|
|
9848
|
-
* changed.
|
|
10205
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
10206
|
+
* that changed.
|
|
10207
|
+
*/
|
|
10208
|
+
export interface FirstName {
|
|
10209
|
+
/**
|
|
10210
|
+
* The value before the change; null when the card had none.
|
|
10211
|
+
*/
|
|
10212
|
+
from: string | null;
|
|
10213
|
+
|
|
10214
|
+
/**
|
|
10215
|
+
* The value after the change; null when it was removed.
|
|
10216
|
+
*/
|
|
10217
|
+
to: string | null;
|
|
10218
|
+
}
|
|
10219
|
+
|
|
10220
|
+
/**
|
|
10221
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
10222
|
+
* that changed.
|
|
10223
|
+
*/
|
|
10224
|
+
export interface ImageURL {
|
|
10225
|
+
/**
|
|
10226
|
+
* The value before the change; null when the card had none.
|
|
10227
|
+
*/
|
|
10228
|
+
from: string | null;
|
|
10229
|
+
|
|
10230
|
+
/**
|
|
10231
|
+
* The value after the change; null when it was removed.
|
|
10232
|
+
*/
|
|
10233
|
+
to: string | null;
|
|
10234
|
+
}
|
|
10235
|
+
|
|
10236
|
+
/**
|
|
10237
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
10238
|
+
* that changed.
|
|
9849
10239
|
*/
|
|
9850
|
-
export interface
|
|
10240
|
+
export interface LastName {
|
|
9851
10241
|
/**
|
|
9852
|
-
* The
|
|
10242
|
+
* The value before the change; null when the card had none.
|
|
9853
10243
|
*/
|
|
9854
10244
|
from: string | null;
|
|
9855
10245
|
|
|
9856
10246
|
/**
|
|
9857
|
-
* The
|
|
10247
|
+
* The value after the change; null when it was removed.
|
|
9858
10248
|
*/
|
|
9859
10249
|
to: string | null;
|
|
9860
10250
|
}
|
|
@@ -9866,31 +10256,28 @@ export namespace APITokenExpiryScheduledWebhookEvent {
|
|
|
9866
10256
|
export interface ContactCard {
|
|
9867
10257
|
id: string;
|
|
9868
10258
|
|
|
10259
|
+
first_name: string;
|
|
10260
|
+
|
|
9869
10261
|
/**
|
|
9870
|
-
*
|
|
10262
|
+
* Null when the card has no photo.
|
|
9871
10263
|
*/
|
|
9872
|
-
|
|
10264
|
+
image_url: string | null;
|
|
9873
10265
|
|
|
9874
10266
|
/**
|
|
9875
|
-
*
|
|
10267
|
+
* Null when the card has no last name.
|
|
9876
10268
|
*/
|
|
9877
|
-
|
|
10269
|
+
last_name: string | null;
|
|
9878
10270
|
}
|
|
9879
10271
|
|
|
9880
10272
|
/**
|
|
9881
|
-
* An environment. Production is
|
|
9882
|
-
* `{"
|
|
9883
|
-
*
|
|
10273
|
+
* An environment, identified by name. Production is
|
|
10274
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
10275
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
9884
10276
|
*/
|
|
9885
10277
|
export interface Environment {
|
|
9886
|
-
|
|
9887
|
-
* Null for Production.
|
|
9888
|
-
*/
|
|
9889
|
-
id: string | null;
|
|
9890
|
-
|
|
9891
|
-
type: 'production' | 'environment';
|
|
10278
|
+
name: string;
|
|
9892
10279
|
|
|
9893
|
-
|
|
10280
|
+
type: 'environment';
|
|
9894
10281
|
}
|
|
9895
10282
|
|
|
9896
10283
|
/**
|
|
@@ -9961,7 +10348,7 @@ export interface APITokenExpiredWebhookEvent {
|
|
|
9961
10348
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
9962
10349
|
* describes the transition. Created and deleted events carry only the object that
|
|
9963
10350
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
9964
|
-
* only inside `change
|
|
10351
|
+
* only inside `change`.
|
|
9965
10352
|
*/
|
|
9966
10353
|
data: APITokenExpiredWebhookEvent.Data;
|
|
9967
10354
|
|
|
@@ -10073,7 +10460,7 @@ export namespace APITokenExpiredWebhookEvent {
|
|
|
10073
10460
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
10074
10461
|
* describes the transition. Created and deleted events carry only the object that
|
|
10075
10462
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
10076
|
-
* only inside `change
|
|
10463
|
+
* only inside `change`.
|
|
10077
10464
|
*/
|
|
10078
10465
|
export interface Data {
|
|
10079
10466
|
/**
|
|
@@ -10112,8 +10499,9 @@ export namespace APITokenExpiredWebhookEvent {
|
|
|
10112
10499
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
10113
10500
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
10114
10501
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
10115
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
10116
|
-
* instead of `from` and `to
|
|
10502
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
10503
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
10504
|
+
* present only when that field changed.
|
|
10117
10505
|
*/
|
|
10118
10506
|
change?: Data.Change;
|
|
10119
10507
|
|
|
@@ -10123,9 +10511,9 @@ export namespace APITokenExpiredWebhookEvent {
|
|
|
10123
10511
|
contact_card?: Data.ContactCard;
|
|
10124
10512
|
|
|
10125
10513
|
/**
|
|
10126
|
-
* An environment. Production is
|
|
10127
|
-
* `{"
|
|
10128
|
-
*
|
|
10514
|
+
* An environment, identified by name. Production is
|
|
10515
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
10516
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
10129
10517
|
*/
|
|
10130
10518
|
environment?: Data.Environment;
|
|
10131
10519
|
|
|
@@ -10217,20 +10605,33 @@ export namespace APITokenExpiredWebhookEvent {
|
|
|
10217
10605
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
10218
10606
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
10219
10607
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
10220
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
10221
|
-
* instead of `from` and `to
|
|
10608
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
10609
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
10610
|
+
* present only when that field changed.
|
|
10222
10611
|
*/
|
|
10223
10612
|
export interface Change {
|
|
10613
|
+
/**
|
|
10614
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
10615
|
+
* that changed.
|
|
10616
|
+
*/
|
|
10617
|
+
first_name?: Change.FirstName;
|
|
10618
|
+
|
|
10224
10619
|
/**
|
|
10225
10620
|
* The value before the change; null when there was none.
|
|
10226
10621
|
*/
|
|
10227
10622
|
from?: unknown;
|
|
10228
10623
|
|
|
10229
10624
|
/**
|
|
10230
|
-
* A
|
|
10231
|
-
* changed.
|
|
10625
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
10626
|
+
* that changed.
|
|
10232
10627
|
*/
|
|
10233
|
-
|
|
10628
|
+
image_url?: Change.ImageURL;
|
|
10629
|
+
|
|
10630
|
+
/**
|
|
10631
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
10632
|
+
* that changed.
|
|
10633
|
+
*/
|
|
10634
|
+
last_name?: Change.LastName;
|
|
10234
10635
|
|
|
10235
10636
|
/**
|
|
10236
10637
|
* The value after the change; null when it was cleared.
|
|
@@ -10240,17 +10641,49 @@ export namespace APITokenExpiredWebhookEvent {
|
|
|
10240
10641
|
|
|
10241
10642
|
export namespace Change {
|
|
10242
10643
|
/**
|
|
10243
|
-
* A
|
|
10244
|
-
* changed.
|
|
10644
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
10645
|
+
* that changed.
|
|
10646
|
+
*/
|
|
10647
|
+
export interface FirstName {
|
|
10648
|
+
/**
|
|
10649
|
+
* The value before the change; null when the card had none.
|
|
10650
|
+
*/
|
|
10651
|
+
from: string | null;
|
|
10652
|
+
|
|
10653
|
+
/**
|
|
10654
|
+
* The value after the change; null when it was removed.
|
|
10655
|
+
*/
|
|
10656
|
+
to: string | null;
|
|
10657
|
+
}
|
|
10658
|
+
|
|
10659
|
+
/**
|
|
10660
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
10661
|
+
* that changed.
|
|
10662
|
+
*/
|
|
10663
|
+
export interface ImageURL {
|
|
10664
|
+
/**
|
|
10665
|
+
* The value before the change; null when the card had none.
|
|
10666
|
+
*/
|
|
10667
|
+
from: string | null;
|
|
10668
|
+
|
|
10669
|
+
/**
|
|
10670
|
+
* The value after the change; null when it was removed.
|
|
10671
|
+
*/
|
|
10672
|
+
to: string | null;
|
|
10673
|
+
}
|
|
10674
|
+
|
|
10675
|
+
/**
|
|
10676
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
10677
|
+
* that changed.
|
|
10245
10678
|
*/
|
|
10246
|
-
export interface
|
|
10679
|
+
export interface LastName {
|
|
10247
10680
|
/**
|
|
10248
|
-
* The
|
|
10681
|
+
* The value before the change; null when the card had none.
|
|
10249
10682
|
*/
|
|
10250
10683
|
from: string | null;
|
|
10251
10684
|
|
|
10252
10685
|
/**
|
|
10253
|
-
* The
|
|
10686
|
+
* The value after the change; null when it was removed.
|
|
10254
10687
|
*/
|
|
10255
10688
|
to: string | null;
|
|
10256
10689
|
}
|
|
@@ -10262,31 +10695,28 @@ export namespace APITokenExpiredWebhookEvent {
|
|
|
10262
10695
|
export interface ContactCard {
|
|
10263
10696
|
id: string;
|
|
10264
10697
|
|
|
10698
|
+
first_name: string;
|
|
10699
|
+
|
|
10265
10700
|
/**
|
|
10266
|
-
*
|
|
10701
|
+
* Null when the card has no photo.
|
|
10267
10702
|
*/
|
|
10268
|
-
|
|
10703
|
+
image_url: string | null;
|
|
10269
10704
|
|
|
10270
10705
|
/**
|
|
10271
|
-
*
|
|
10706
|
+
* Null when the card has no last name.
|
|
10272
10707
|
*/
|
|
10273
|
-
|
|
10708
|
+
last_name: string | null;
|
|
10274
10709
|
}
|
|
10275
10710
|
|
|
10276
10711
|
/**
|
|
10277
|
-
* An environment. Production is
|
|
10278
|
-
* `{"
|
|
10279
|
-
*
|
|
10712
|
+
* An environment, identified by name. Production is
|
|
10713
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
10714
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
10280
10715
|
*/
|
|
10281
10716
|
export interface Environment {
|
|
10282
|
-
|
|
10283
|
-
* Null for Production.
|
|
10284
|
-
*/
|
|
10285
|
-
id: string | null;
|
|
10286
|
-
|
|
10287
|
-
type: 'production' | 'environment';
|
|
10717
|
+
name: string;
|
|
10288
10718
|
|
|
10289
|
-
|
|
10719
|
+
type: 'environment';
|
|
10290
10720
|
}
|
|
10291
10721
|
|
|
10292
10722
|
/**
|
|
@@ -10357,7 +10787,7 @@ export interface APITokenActivatedWebhookEvent {
|
|
|
10357
10787
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
10358
10788
|
* describes the transition. Created and deleted events carry only the object that
|
|
10359
10789
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
10360
|
-
* only inside `change
|
|
10790
|
+
* only inside `change`.
|
|
10361
10791
|
*/
|
|
10362
10792
|
data: APITokenActivatedWebhookEvent.Data;
|
|
10363
10793
|
|
|
@@ -10469,7 +10899,7 @@ export namespace APITokenActivatedWebhookEvent {
|
|
|
10469
10899
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
10470
10900
|
* describes the transition. Created and deleted events carry only the object that
|
|
10471
10901
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
10472
|
-
* only inside `change
|
|
10902
|
+
* only inside `change`.
|
|
10473
10903
|
*/
|
|
10474
10904
|
export interface Data {
|
|
10475
10905
|
/**
|
|
@@ -10508,8 +10938,9 @@ export namespace APITokenActivatedWebhookEvent {
|
|
|
10508
10938
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
10509
10939
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
10510
10940
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
10511
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
10512
|
-
* instead of `from` and `to
|
|
10941
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
10942
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
10943
|
+
* present only when that field changed.
|
|
10513
10944
|
*/
|
|
10514
10945
|
change?: Data.Change;
|
|
10515
10946
|
|
|
@@ -10519,9 +10950,9 @@ export namespace APITokenActivatedWebhookEvent {
|
|
|
10519
10950
|
contact_card?: Data.ContactCard;
|
|
10520
10951
|
|
|
10521
10952
|
/**
|
|
10522
|
-
* An environment. Production is
|
|
10523
|
-
* `{"
|
|
10524
|
-
*
|
|
10953
|
+
* An environment, identified by name. Production is
|
|
10954
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
10955
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
10525
10956
|
*/
|
|
10526
10957
|
environment?: Data.Environment;
|
|
10527
10958
|
|
|
@@ -10613,20 +11044,33 @@ export namespace APITokenActivatedWebhookEvent {
|
|
|
10613
11044
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
10614
11045
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
10615
11046
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
10616
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
10617
|
-
* instead of `from` and `to
|
|
11047
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
11048
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
11049
|
+
* present only when that field changed.
|
|
10618
11050
|
*/
|
|
10619
11051
|
export interface Change {
|
|
11052
|
+
/**
|
|
11053
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11054
|
+
* that changed.
|
|
11055
|
+
*/
|
|
11056
|
+
first_name?: Change.FirstName;
|
|
11057
|
+
|
|
10620
11058
|
/**
|
|
10621
11059
|
* The value before the change; null when there was none.
|
|
10622
11060
|
*/
|
|
10623
11061
|
from?: unknown;
|
|
10624
11062
|
|
|
10625
11063
|
/**
|
|
10626
|
-
* A
|
|
10627
|
-
* changed.
|
|
11064
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11065
|
+
* that changed.
|
|
10628
11066
|
*/
|
|
10629
|
-
|
|
11067
|
+
image_url?: Change.ImageURL;
|
|
11068
|
+
|
|
11069
|
+
/**
|
|
11070
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11071
|
+
* that changed.
|
|
11072
|
+
*/
|
|
11073
|
+
last_name?: Change.LastName;
|
|
10630
11074
|
|
|
10631
11075
|
/**
|
|
10632
11076
|
* The value after the change; null when it was cleared.
|
|
@@ -10636,17 +11080,49 @@ export namespace APITokenActivatedWebhookEvent {
|
|
|
10636
11080
|
|
|
10637
11081
|
export namespace Change {
|
|
10638
11082
|
/**
|
|
10639
|
-
* A
|
|
10640
|
-
* changed.
|
|
11083
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11084
|
+
* that changed.
|
|
10641
11085
|
*/
|
|
10642
|
-
export interface
|
|
11086
|
+
export interface FirstName {
|
|
10643
11087
|
/**
|
|
10644
|
-
* The
|
|
11088
|
+
* The value before the change; null when the card had none.
|
|
10645
11089
|
*/
|
|
10646
11090
|
from: string | null;
|
|
10647
11091
|
|
|
10648
11092
|
/**
|
|
10649
|
-
* The
|
|
11093
|
+
* The value after the change; null when it was removed.
|
|
11094
|
+
*/
|
|
11095
|
+
to: string | null;
|
|
11096
|
+
}
|
|
11097
|
+
|
|
11098
|
+
/**
|
|
11099
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11100
|
+
* that changed.
|
|
11101
|
+
*/
|
|
11102
|
+
export interface ImageURL {
|
|
11103
|
+
/**
|
|
11104
|
+
* The value before the change; null when the card had none.
|
|
11105
|
+
*/
|
|
11106
|
+
from: string | null;
|
|
11107
|
+
|
|
11108
|
+
/**
|
|
11109
|
+
* The value after the change; null when it was removed.
|
|
11110
|
+
*/
|
|
11111
|
+
to: string | null;
|
|
11112
|
+
}
|
|
11113
|
+
|
|
11114
|
+
/**
|
|
11115
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11116
|
+
* that changed.
|
|
11117
|
+
*/
|
|
11118
|
+
export interface LastName {
|
|
11119
|
+
/**
|
|
11120
|
+
* The value before the change; null when the card had none.
|
|
11121
|
+
*/
|
|
11122
|
+
from: string | null;
|
|
11123
|
+
|
|
11124
|
+
/**
|
|
11125
|
+
* The value after the change; null when it was removed.
|
|
10650
11126
|
*/
|
|
10651
11127
|
to: string | null;
|
|
10652
11128
|
}
|
|
@@ -10658,31 +11134,28 @@ export namespace APITokenActivatedWebhookEvent {
|
|
|
10658
11134
|
export interface ContactCard {
|
|
10659
11135
|
id: string;
|
|
10660
11136
|
|
|
11137
|
+
first_name: string;
|
|
11138
|
+
|
|
10661
11139
|
/**
|
|
10662
|
-
*
|
|
11140
|
+
* Null when the card has no photo.
|
|
10663
11141
|
*/
|
|
10664
|
-
|
|
11142
|
+
image_url: string | null;
|
|
10665
11143
|
|
|
10666
11144
|
/**
|
|
10667
|
-
*
|
|
11145
|
+
* Null when the card has no last name.
|
|
10668
11146
|
*/
|
|
10669
|
-
|
|
11147
|
+
last_name: string | null;
|
|
10670
11148
|
}
|
|
10671
11149
|
|
|
10672
11150
|
/**
|
|
10673
|
-
* An environment. Production is
|
|
10674
|
-
* `{"
|
|
10675
|
-
*
|
|
11151
|
+
* An environment, identified by name. Production is
|
|
11152
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
11153
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
10676
11154
|
*/
|
|
10677
11155
|
export interface Environment {
|
|
10678
|
-
|
|
10679
|
-
* Null for Production.
|
|
10680
|
-
*/
|
|
10681
|
-
id: string | null;
|
|
10682
|
-
|
|
10683
|
-
type: 'production' | 'environment';
|
|
11156
|
+
name: string;
|
|
10684
11157
|
|
|
10685
|
-
|
|
11158
|
+
type: 'environment';
|
|
10686
11159
|
}
|
|
10687
11160
|
|
|
10688
11161
|
/**
|
|
@@ -10753,7 +11226,7 @@ export interface APITokenDeletedWebhookEvent {
|
|
|
10753
11226
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
10754
11227
|
* describes the transition. Created and deleted events carry only the object that
|
|
10755
11228
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
10756
|
-
* only inside `change
|
|
11229
|
+
* only inside `change`.
|
|
10757
11230
|
*/
|
|
10758
11231
|
data: APITokenDeletedWebhookEvent.Data;
|
|
10759
11232
|
|
|
@@ -10865,7 +11338,7 @@ export namespace APITokenDeletedWebhookEvent {
|
|
|
10865
11338
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
10866
11339
|
* describes the transition. Created and deleted events carry only the object that
|
|
10867
11340
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
10868
|
-
* only inside `change
|
|
11341
|
+
* only inside `change`.
|
|
10869
11342
|
*/
|
|
10870
11343
|
export interface Data {
|
|
10871
11344
|
/**
|
|
@@ -10904,8 +11377,9 @@ export namespace APITokenDeletedWebhookEvent {
|
|
|
10904
11377
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
10905
11378
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
10906
11379
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
10907
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
10908
|
-
* instead of `from` and `to
|
|
11380
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
11381
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
11382
|
+
* present only when that field changed.
|
|
10909
11383
|
*/
|
|
10910
11384
|
change?: Data.Change;
|
|
10911
11385
|
|
|
@@ -10915,9 +11389,9 @@ export namespace APITokenDeletedWebhookEvent {
|
|
|
10915
11389
|
contact_card?: Data.ContactCard;
|
|
10916
11390
|
|
|
10917
11391
|
/**
|
|
10918
|
-
* An environment. Production is
|
|
10919
|
-
* `{"
|
|
10920
|
-
*
|
|
11392
|
+
* An environment, identified by name. Production is
|
|
11393
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
11394
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
10921
11395
|
*/
|
|
10922
11396
|
environment?: Data.Environment;
|
|
10923
11397
|
|
|
@@ -11009,20 +11483,33 @@ export namespace APITokenDeletedWebhookEvent {
|
|
|
11009
11483
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
11010
11484
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
11011
11485
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
11012
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
11013
|
-
* instead of `from` and `to
|
|
11486
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
11487
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
11488
|
+
* present only when that field changed.
|
|
11014
11489
|
*/
|
|
11015
11490
|
export interface Change {
|
|
11491
|
+
/**
|
|
11492
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11493
|
+
* that changed.
|
|
11494
|
+
*/
|
|
11495
|
+
first_name?: Change.FirstName;
|
|
11496
|
+
|
|
11016
11497
|
/**
|
|
11017
11498
|
* The value before the change; null when there was none.
|
|
11018
11499
|
*/
|
|
11019
11500
|
from?: unknown;
|
|
11020
11501
|
|
|
11021
11502
|
/**
|
|
11022
|
-
* A
|
|
11023
|
-
* changed.
|
|
11503
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11504
|
+
* that changed.
|
|
11024
11505
|
*/
|
|
11025
|
-
|
|
11506
|
+
image_url?: Change.ImageURL;
|
|
11507
|
+
|
|
11508
|
+
/**
|
|
11509
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11510
|
+
* that changed.
|
|
11511
|
+
*/
|
|
11512
|
+
last_name?: Change.LastName;
|
|
11026
11513
|
|
|
11027
11514
|
/**
|
|
11028
11515
|
* The value after the change; null when it was cleared.
|
|
@@ -11032,17 +11519,49 @@ export namespace APITokenDeletedWebhookEvent {
|
|
|
11032
11519
|
|
|
11033
11520
|
export namespace Change {
|
|
11034
11521
|
/**
|
|
11035
|
-
* A
|
|
11036
|
-
* changed.
|
|
11522
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11523
|
+
* that changed.
|
|
11524
|
+
*/
|
|
11525
|
+
export interface FirstName {
|
|
11526
|
+
/**
|
|
11527
|
+
* The value before the change; null when the card had none.
|
|
11528
|
+
*/
|
|
11529
|
+
from: string | null;
|
|
11530
|
+
|
|
11531
|
+
/**
|
|
11532
|
+
* The value after the change; null when it was removed.
|
|
11533
|
+
*/
|
|
11534
|
+
to: string | null;
|
|
11535
|
+
}
|
|
11536
|
+
|
|
11537
|
+
/**
|
|
11538
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11539
|
+
* that changed.
|
|
11540
|
+
*/
|
|
11541
|
+
export interface ImageURL {
|
|
11542
|
+
/**
|
|
11543
|
+
* The value before the change; null when the card had none.
|
|
11544
|
+
*/
|
|
11545
|
+
from: string | null;
|
|
11546
|
+
|
|
11547
|
+
/**
|
|
11548
|
+
* The value after the change; null when it was removed.
|
|
11549
|
+
*/
|
|
11550
|
+
to: string | null;
|
|
11551
|
+
}
|
|
11552
|
+
|
|
11553
|
+
/**
|
|
11554
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11555
|
+
* that changed.
|
|
11037
11556
|
*/
|
|
11038
|
-
export interface
|
|
11557
|
+
export interface LastName {
|
|
11039
11558
|
/**
|
|
11040
|
-
* The
|
|
11559
|
+
* The value before the change; null when the card had none.
|
|
11041
11560
|
*/
|
|
11042
11561
|
from: string | null;
|
|
11043
11562
|
|
|
11044
11563
|
/**
|
|
11045
|
-
* The
|
|
11564
|
+
* The value after the change; null when it was removed.
|
|
11046
11565
|
*/
|
|
11047
11566
|
to: string | null;
|
|
11048
11567
|
}
|
|
@@ -11054,31 +11573,28 @@ export namespace APITokenDeletedWebhookEvent {
|
|
|
11054
11573
|
export interface ContactCard {
|
|
11055
11574
|
id: string;
|
|
11056
11575
|
|
|
11576
|
+
first_name: string;
|
|
11577
|
+
|
|
11057
11578
|
/**
|
|
11058
|
-
*
|
|
11579
|
+
* Null when the card has no photo.
|
|
11059
11580
|
*/
|
|
11060
|
-
|
|
11581
|
+
image_url: string | null;
|
|
11061
11582
|
|
|
11062
11583
|
/**
|
|
11063
|
-
*
|
|
11584
|
+
* Null when the card has no last name.
|
|
11064
11585
|
*/
|
|
11065
|
-
|
|
11586
|
+
last_name: string | null;
|
|
11066
11587
|
}
|
|
11067
11588
|
|
|
11068
11589
|
/**
|
|
11069
|
-
* An environment. Production is
|
|
11070
|
-
* `{"
|
|
11071
|
-
*
|
|
11590
|
+
* An environment, identified by name. Production is
|
|
11591
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
11592
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
11072
11593
|
*/
|
|
11073
11594
|
export interface Environment {
|
|
11074
|
-
|
|
11075
|
-
* Null for Production.
|
|
11076
|
-
*/
|
|
11077
|
-
id: string | null;
|
|
11078
|
-
|
|
11079
|
-
type: 'production' | 'environment';
|
|
11595
|
+
name: string;
|
|
11080
11596
|
|
|
11081
|
-
|
|
11597
|
+
type: 'environment';
|
|
11082
11598
|
}
|
|
11083
11599
|
|
|
11084
11600
|
/**
|
|
@@ -11149,7 +11665,7 @@ export interface EnvironmentCreatedWebhookEvent {
|
|
|
11149
11665
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
11150
11666
|
* describes the transition. Created and deleted events carry only the object that
|
|
11151
11667
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
11152
|
-
* only inside `change
|
|
11668
|
+
* only inside `change`.
|
|
11153
11669
|
*/
|
|
11154
11670
|
data: EnvironmentCreatedWebhookEvent.Data;
|
|
11155
11671
|
|
|
@@ -11261,7 +11777,7 @@ export namespace EnvironmentCreatedWebhookEvent {
|
|
|
11261
11777
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
11262
11778
|
* describes the transition. Created and deleted events carry only the object that
|
|
11263
11779
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
11264
|
-
* only inside `change
|
|
11780
|
+
* only inside `change`.
|
|
11265
11781
|
*/
|
|
11266
11782
|
export interface Data {
|
|
11267
11783
|
/**
|
|
@@ -11300,8 +11816,9 @@ export namespace EnvironmentCreatedWebhookEvent {
|
|
|
11300
11816
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
11301
11817
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
11302
11818
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
11303
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
11304
|
-
* instead of `from` and `to
|
|
11819
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
11820
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
11821
|
+
* present only when that field changed.
|
|
11305
11822
|
*/
|
|
11306
11823
|
change?: Data.Change;
|
|
11307
11824
|
|
|
@@ -11311,9 +11828,9 @@ export namespace EnvironmentCreatedWebhookEvent {
|
|
|
11311
11828
|
contact_card?: Data.ContactCard;
|
|
11312
11829
|
|
|
11313
11830
|
/**
|
|
11314
|
-
* An environment. Production is
|
|
11315
|
-
* `{"
|
|
11316
|
-
*
|
|
11831
|
+
* An environment, identified by name. Production is
|
|
11832
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
11833
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
11317
11834
|
*/
|
|
11318
11835
|
environment?: Data.Environment;
|
|
11319
11836
|
|
|
@@ -11405,20 +11922,33 @@ export namespace EnvironmentCreatedWebhookEvent {
|
|
|
11405
11922
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
11406
11923
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
11407
11924
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
11408
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
11409
|
-
* instead of `from` and `to
|
|
11925
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
11926
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
11927
|
+
* present only when that field changed.
|
|
11410
11928
|
*/
|
|
11411
11929
|
export interface Change {
|
|
11930
|
+
/**
|
|
11931
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11932
|
+
* that changed.
|
|
11933
|
+
*/
|
|
11934
|
+
first_name?: Change.FirstName;
|
|
11935
|
+
|
|
11412
11936
|
/**
|
|
11413
11937
|
* The value before the change; null when there was none.
|
|
11414
11938
|
*/
|
|
11415
11939
|
from?: unknown;
|
|
11416
11940
|
|
|
11417
11941
|
/**
|
|
11418
|
-
* A
|
|
11419
|
-
* changed.
|
|
11942
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11943
|
+
* that changed.
|
|
11420
11944
|
*/
|
|
11421
|
-
|
|
11945
|
+
image_url?: Change.ImageURL;
|
|
11946
|
+
|
|
11947
|
+
/**
|
|
11948
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11949
|
+
* that changed.
|
|
11950
|
+
*/
|
|
11951
|
+
last_name?: Change.LastName;
|
|
11422
11952
|
|
|
11423
11953
|
/**
|
|
11424
11954
|
* The value after the change; null when it was cleared.
|
|
@@ -11428,17 +11958,49 @@ export namespace EnvironmentCreatedWebhookEvent {
|
|
|
11428
11958
|
|
|
11429
11959
|
export namespace Change {
|
|
11430
11960
|
/**
|
|
11431
|
-
* A
|
|
11432
|
-
* changed.
|
|
11961
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11962
|
+
* that changed.
|
|
11963
|
+
*/
|
|
11964
|
+
export interface FirstName {
|
|
11965
|
+
/**
|
|
11966
|
+
* The value before the change; null when the card had none.
|
|
11967
|
+
*/
|
|
11968
|
+
from: string | null;
|
|
11969
|
+
|
|
11970
|
+
/**
|
|
11971
|
+
* The value after the change; null when it was removed.
|
|
11972
|
+
*/
|
|
11973
|
+
to: string | null;
|
|
11974
|
+
}
|
|
11975
|
+
|
|
11976
|
+
/**
|
|
11977
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11978
|
+
* that changed.
|
|
11433
11979
|
*/
|
|
11434
|
-
export interface
|
|
11980
|
+
export interface ImageURL {
|
|
11435
11981
|
/**
|
|
11436
|
-
* The
|
|
11982
|
+
* The value before the change; null when the card had none.
|
|
11437
11983
|
*/
|
|
11438
11984
|
from: string | null;
|
|
11439
11985
|
|
|
11440
11986
|
/**
|
|
11441
|
-
* The
|
|
11987
|
+
* The value after the change; null when it was removed.
|
|
11988
|
+
*/
|
|
11989
|
+
to: string | null;
|
|
11990
|
+
}
|
|
11991
|
+
|
|
11992
|
+
/**
|
|
11993
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
11994
|
+
* that changed.
|
|
11995
|
+
*/
|
|
11996
|
+
export interface LastName {
|
|
11997
|
+
/**
|
|
11998
|
+
* The value before the change; null when the card had none.
|
|
11999
|
+
*/
|
|
12000
|
+
from: string | null;
|
|
12001
|
+
|
|
12002
|
+
/**
|
|
12003
|
+
* The value after the change; null when it was removed.
|
|
11442
12004
|
*/
|
|
11443
12005
|
to: string | null;
|
|
11444
12006
|
}
|
|
@@ -11450,31 +12012,28 @@ export namespace EnvironmentCreatedWebhookEvent {
|
|
|
11450
12012
|
export interface ContactCard {
|
|
11451
12013
|
id: string;
|
|
11452
12014
|
|
|
12015
|
+
first_name: string;
|
|
12016
|
+
|
|
11453
12017
|
/**
|
|
11454
|
-
*
|
|
12018
|
+
* Null when the card has no photo.
|
|
11455
12019
|
*/
|
|
11456
|
-
|
|
12020
|
+
image_url: string | null;
|
|
11457
12021
|
|
|
11458
12022
|
/**
|
|
11459
|
-
*
|
|
12023
|
+
* Null when the card has no last name.
|
|
11460
12024
|
*/
|
|
11461
|
-
|
|
12025
|
+
last_name: string | null;
|
|
11462
12026
|
}
|
|
11463
12027
|
|
|
11464
12028
|
/**
|
|
11465
|
-
* An environment. Production is
|
|
11466
|
-
* `{"
|
|
11467
|
-
*
|
|
12029
|
+
* An environment, identified by name. Production is
|
|
12030
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
12031
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
11468
12032
|
*/
|
|
11469
12033
|
export interface Environment {
|
|
11470
|
-
|
|
11471
|
-
* Null for Production.
|
|
11472
|
-
*/
|
|
11473
|
-
id: string | null;
|
|
11474
|
-
|
|
11475
|
-
type: 'production' | 'environment';
|
|
12034
|
+
name: string;
|
|
11476
12035
|
|
|
11477
|
-
|
|
12036
|
+
type: 'environment';
|
|
11478
12037
|
}
|
|
11479
12038
|
|
|
11480
12039
|
/**
|
|
@@ -11545,7 +12104,7 @@ export interface EnvironmentRenamedWebhookEvent {
|
|
|
11545
12104
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
11546
12105
|
* describes the transition. Created and deleted events carry only the object that
|
|
11547
12106
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
11548
|
-
* only inside `change
|
|
12107
|
+
* only inside `change`.
|
|
11549
12108
|
*/
|
|
11550
12109
|
data: EnvironmentRenamedWebhookEvent.Data;
|
|
11551
12110
|
|
|
@@ -11657,7 +12216,7 @@ export namespace EnvironmentRenamedWebhookEvent {
|
|
|
11657
12216
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
11658
12217
|
* describes the transition. Created and deleted events carry only the object that
|
|
11659
12218
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
11660
|
-
* only inside `change
|
|
12219
|
+
* only inside `change`.
|
|
11661
12220
|
*/
|
|
11662
12221
|
export interface Data {
|
|
11663
12222
|
/**
|
|
@@ -11696,8 +12255,9 @@ export namespace EnvironmentRenamedWebhookEvent {
|
|
|
11696
12255
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
11697
12256
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
11698
12257
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
11699
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
11700
|
-
* instead of `from` and `to
|
|
12258
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
12259
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
12260
|
+
* present only when that field changed.
|
|
11701
12261
|
*/
|
|
11702
12262
|
change?: Data.Change;
|
|
11703
12263
|
|
|
@@ -11707,9 +12267,9 @@ export namespace EnvironmentRenamedWebhookEvent {
|
|
|
11707
12267
|
contact_card?: Data.ContactCard;
|
|
11708
12268
|
|
|
11709
12269
|
/**
|
|
11710
|
-
* An environment. Production is
|
|
11711
|
-
* `{"
|
|
11712
|
-
*
|
|
12270
|
+
* An environment, identified by name. Production is
|
|
12271
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
12272
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
11713
12273
|
*/
|
|
11714
12274
|
environment?: Data.Environment;
|
|
11715
12275
|
|
|
@@ -11801,20 +12361,33 @@ export namespace EnvironmentRenamedWebhookEvent {
|
|
|
11801
12361
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
11802
12362
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
11803
12363
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
11804
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
11805
|
-
* instead of `from` and `to
|
|
12364
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
12365
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
12366
|
+
* present only when that field changed.
|
|
11806
12367
|
*/
|
|
11807
12368
|
export interface Change {
|
|
12369
|
+
/**
|
|
12370
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
12371
|
+
* that changed.
|
|
12372
|
+
*/
|
|
12373
|
+
first_name?: Change.FirstName;
|
|
12374
|
+
|
|
11808
12375
|
/**
|
|
11809
12376
|
* The value before the change; null when there was none.
|
|
11810
12377
|
*/
|
|
11811
12378
|
from?: unknown;
|
|
11812
12379
|
|
|
11813
12380
|
/**
|
|
11814
|
-
* A
|
|
11815
|
-
* changed.
|
|
12381
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
12382
|
+
* that changed.
|
|
11816
12383
|
*/
|
|
11817
|
-
|
|
12384
|
+
image_url?: Change.ImageURL;
|
|
12385
|
+
|
|
12386
|
+
/**
|
|
12387
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
12388
|
+
* that changed.
|
|
12389
|
+
*/
|
|
12390
|
+
last_name?: Change.LastName;
|
|
11818
12391
|
|
|
11819
12392
|
/**
|
|
11820
12393
|
* The value after the change; null when it was cleared.
|
|
@@ -11824,17 +12397,49 @@ export namespace EnvironmentRenamedWebhookEvent {
|
|
|
11824
12397
|
|
|
11825
12398
|
export namespace Change {
|
|
11826
12399
|
/**
|
|
11827
|
-
* A
|
|
11828
|
-
* changed.
|
|
12400
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
12401
|
+
* that changed.
|
|
11829
12402
|
*/
|
|
11830
|
-
export interface
|
|
12403
|
+
export interface FirstName {
|
|
11831
12404
|
/**
|
|
11832
|
-
* The
|
|
12405
|
+
* The value before the change; null when the card had none.
|
|
11833
12406
|
*/
|
|
11834
12407
|
from: string | null;
|
|
11835
12408
|
|
|
11836
12409
|
/**
|
|
11837
|
-
* The
|
|
12410
|
+
* The value after the change; null when it was removed.
|
|
12411
|
+
*/
|
|
12412
|
+
to: string | null;
|
|
12413
|
+
}
|
|
12414
|
+
|
|
12415
|
+
/**
|
|
12416
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
12417
|
+
* that changed.
|
|
12418
|
+
*/
|
|
12419
|
+
export interface ImageURL {
|
|
12420
|
+
/**
|
|
12421
|
+
* The value before the change; null when the card had none.
|
|
12422
|
+
*/
|
|
12423
|
+
from: string | null;
|
|
12424
|
+
|
|
12425
|
+
/**
|
|
12426
|
+
* The value after the change; null when it was removed.
|
|
12427
|
+
*/
|
|
12428
|
+
to: string | null;
|
|
12429
|
+
}
|
|
12430
|
+
|
|
12431
|
+
/**
|
|
12432
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
12433
|
+
* that changed.
|
|
12434
|
+
*/
|
|
12435
|
+
export interface LastName {
|
|
12436
|
+
/**
|
|
12437
|
+
* The value before the change; null when the card had none.
|
|
12438
|
+
*/
|
|
12439
|
+
from: string | null;
|
|
12440
|
+
|
|
12441
|
+
/**
|
|
12442
|
+
* The value after the change; null when it was removed.
|
|
11838
12443
|
*/
|
|
11839
12444
|
to: string | null;
|
|
11840
12445
|
}
|
|
@@ -11846,31 +12451,28 @@ export namespace EnvironmentRenamedWebhookEvent {
|
|
|
11846
12451
|
export interface ContactCard {
|
|
11847
12452
|
id: string;
|
|
11848
12453
|
|
|
12454
|
+
first_name: string;
|
|
12455
|
+
|
|
11849
12456
|
/**
|
|
11850
|
-
*
|
|
12457
|
+
* Null when the card has no photo.
|
|
11851
12458
|
*/
|
|
11852
|
-
|
|
12459
|
+
image_url: string | null;
|
|
11853
12460
|
|
|
11854
12461
|
/**
|
|
11855
|
-
*
|
|
12462
|
+
* Null when the card has no last name.
|
|
11856
12463
|
*/
|
|
11857
|
-
|
|
12464
|
+
last_name: string | null;
|
|
11858
12465
|
}
|
|
11859
12466
|
|
|
11860
12467
|
/**
|
|
11861
|
-
* An environment. Production is
|
|
11862
|
-
* `{"
|
|
11863
|
-
*
|
|
12468
|
+
* An environment, identified by name. Production is
|
|
12469
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
12470
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
11864
12471
|
*/
|
|
11865
12472
|
export interface Environment {
|
|
11866
|
-
|
|
11867
|
-
* Null for Production.
|
|
11868
|
-
*/
|
|
11869
|
-
id: string | null;
|
|
11870
|
-
|
|
11871
|
-
type: 'production' | 'environment';
|
|
12473
|
+
name: string;
|
|
11872
12474
|
|
|
11873
|
-
|
|
12475
|
+
type: 'environment';
|
|
11874
12476
|
}
|
|
11875
12477
|
|
|
11876
12478
|
/**
|
|
@@ -11941,7 +12543,7 @@ export interface EnvironmentDeletedWebhookEvent {
|
|
|
11941
12543
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
11942
12544
|
* describes the transition. Created and deleted events carry only the object that
|
|
11943
12545
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
11944
|
-
* only inside `change
|
|
12546
|
+
* only inside `change`.
|
|
11945
12547
|
*/
|
|
11946
12548
|
data: EnvironmentDeletedWebhookEvent.Data;
|
|
11947
12549
|
|
|
@@ -12053,7 +12655,7 @@ export namespace EnvironmentDeletedWebhookEvent {
|
|
|
12053
12655
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
12054
12656
|
* describes the transition. Created and deleted events carry only the object that
|
|
12055
12657
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
12056
|
-
* only inside `change
|
|
12658
|
+
* only inside `change`.
|
|
12057
12659
|
*/
|
|
12058
12660
|
export interface Data {
|
|
12059
12661
|
/**
|
|
@@ -12092,8 +12694,9 @@ export namespace EnvironmentDeletedWebhookEvent {
|
|
|
12092
12694
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
12093
12695
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
12094
12696
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
12095
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
12096
|
-
* instead of `from` and `to
|
|
12697
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
12698
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
12699
|
+
* present only when that field changed.
|
|
12097
12700
|
*/
|
|
12098
12701
|
change?: Data.Change;
|
|
12099
12702
|
|
|
@@ -12103,9 +12706,9 @@ export namespace EnvironmentDeletedWebhookEvent {
|
|
|
12103
12706
|
contact_card?: Data.ContactCard;
|
|
12104
12707
|
|
|
12105
12708
|
/**
|
|
12106
|
-
* An environment. Production is
|
|
12107
|
-
* `{"
|
|
12108
|
-
*
|
|
12709
|
+
* An environment, identified by name. Production is
|
|
12710
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
12711
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
12109
12712
|
*/
|
|
12110
12713
|
environment?: Data.Environment;
|
|
12111
12714
|
|
|
@@ -12197,20 +12800,33 @@ export namespace EnvironmentDeletedWebhookEvent {
|
|
|
12197
12800
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
12198
12801
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
12199
12802
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
12200
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
12201
|
-
* instead of `from` and `to
|
|
12803
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
12804
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
12805
|
+
* present only when that field changed.
|
|
12202
12806
|
*/
|
|
12203
12807
|
export interface Change {
|
|
12808
|
+
/**
|
|
12809
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
12810
|
+
* that changed.
|
|
12811
|
+
*/
|
|
12812
|
+
first_name?: Change.FirstName;
|
|
12813
|
+
|
|
12204
12814
|
/**
|
|
12205
12815
|
* The value before the change; null when there was none.
|
|
12206
12816
|
*/
|
|
12207
12817
|
from?: unknown;
|
|
12208
12818
|
|
|
12209
12819
|
/**
|
|
12210
|
-
* A
|
|
12211
|
-
* changed.
|
|
12820
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
12821
|
+
* that changed.
|
|
12212
12822
|
*/
|
|
12213
|
-
|
|
12823
|
+
image_url?: Change.ImageURL;
|
|
12824
|
+
|
|
12825
|
+
/**
|
|
12826
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
12827
|
+
* that changed.
|
|
12828
|
+
*/
|
|
12829
|
+
last_name?: Change.LastName;
|
|
12214
12830
|
|
|
12215
12831
|
/**
|
|
12216
12832
|
* The value after the change; null when it was cleared.
|
|
@@ -12220,17 +12836,49 @@ export namespace EnvironmentDeletedWebhookEvent {
|
|
|
12220
12836
|
|
|
12221
12837
|
export namespace Change {
|
|
12222
12838
|
/**
|
|
12223
|
-
* A
|
|
12224
|
-
* changed.
|
|
12839
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
12840
|
+
* that changed.
|
|
12841
|
+
*/
|
|
12842
|
+
export interface FirstName {
|
|
12843
|
+
/**
|
|
12844
|
+
* The value before the change; null when the card had none.
|
|
12845
|
+
*/
|
|
12846
|
+
from: string | null;
|
|
12847
|
+
|
|
12848
|
+
/**
|
|
12849
|
+
* The value after the change; null when it was removed.
|
|
12850
|
+
*/
|
|
12851
|
+
to: string | null;
|
|
12852
|
+
}
|
|
12853
|
+
|
|
12854
|
+
/**
|
|
12855
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
12856
|
+
* that changed.
|
|
12857
|
+
*/
|
|
12858
|
+
export interface ImageURL {
|
|
12859
|
+
/**
|
|
12860
|
+
* The value before the change; null when the card had none.
|
|
12861
|
+
*/
|
|
12862
|
+
from: string | null;
|
|
12863
|
+
|
|
12864
|
+
/**
|
|
12865
|
+
* The value after the change; null when it was removed.
|
|
12866
|
+
*/
|
|
12867
|
+
to: string | null;
|
|
12868
|
+
}
|
|
12869
|
+
|
|
12870
|
+
/**
|
|
12871
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
12872
|
+
* that changed.
|
|
12225
12873
|
*/
|
|
12226
|
-
export interface
|
|
12874
|
+
export interface LastName {
|
|
12227
12875
|
/**
|
|
12228
|
-
* The
|
|
12876
|
+
* The value before the change; null when the card had none.
|
|
12229
12877
|
*/
|
|
12230
12878
|
from: string | null;
|
|
12231
12879
|
|
|
12232
12880
|
/**
|
|
12233
|
-
* The
|
|
12881
|
+
* The value after the change; null when it was removed.
|
|
12234
12882
|
*/
|
|
12235
12883
|
to: string | null;
|
|
12236
12884
|
}
|
|
@@ -12242,31 +12890,28 @@ export namespace EnvironmentDeletedWebhookEvent {
|
|
|
12242
12890
|
export interface ContactCard {
|
|
12243
12891
|
id: string;
|
|
12244
12892
|
|
|
12893
|
+
first_name: string;
|
|
12894
|
+
|
|
12245
12895
|
/**
|
|
12246
|
-
*
|
|
12896
|
+
* Null when the card has no photo.
|
|
12247
12897
|
*/
|
|
12248
|
-
|
|
12898
|
+
image_url: string | null;
|
|
12249
12899
|
|
|
12250
12900
|
/**
|
|
12251
|
-
*
|
|
12901
|
+
* Null when the card has no last name.
|
|
12252
12902
|
*/
|
|
12253
|
-
|
|
12903
|
+
last_name: string | null;
|
|
12254
12904
|
}
|
|
12255
12905
|
|
|
12256
12906
|
/**
|
|
12257
|
-
* An environment. Production is
|
|
12258
|
-
* `{"
|
|
12259
|
-
*
|
|
12907
|
+
* An environment, identified by name. Production is
|
|
12908
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
12909
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
12260
12910
|
*/
|
|
12261
12911
|
export interface Environment {
|
|
12262
|
-
|
|
12263
|
-
* Null for Production.
|
|
12264
|
-
*/
|
|
12265
|
-
id: string | null;
|
|
12266
|
-
|
|
12267
|
-
type: 'production' | 'environment';
|
|
12912
|
+
name: string;
|
|
12268
12913
|
|
|
12269
|
-
|
|
12914
|
+
type: 'environment';
|
|
12270
12915
|
}
|
|
12271
12916
|
|
|
12272
12917
|
/**
|
|
@@ -12337,7 +12982,7 @@ export interface WebhookSubscriptionCreatedWebhookEvent {
|
|
|
12337
12982
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
12338
12983
|
* describes the transition. Created and deleted events carry only the object that
|
|
12339
12984
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
12340
|
-
* only inside `change
|
|
12985
|
+
* only inside `change`.
|
|
12341
12986
|
*/
|
|
12342
12987
|
data: WebhookSubscriptionCreatedWebhookEvent.Data;
|
|
12343
12988
|
|
|
@@ -12449,7 +13094,7 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
|
|
|
12449
13094
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
12450
13095
|
* describes the transition. Created and deleted events carry only the object that
|
|
12451
13096
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
12452
|
-
* only inside `change
|
|
13097
|
+
* only inside `change`.
|
|
12453
13098
|
*/
|
|
12454
13099
|
export interface Data {
|
|
12455
13100
|
/**
|
|
@@ -12488,8 +13133,9 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
|
|
|
12488
13133
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
12489
13134
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
12490
13135
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
12491
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
12492
|
-
* instead of `from` and `to
|
|
13136
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
13137
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
13138
|
+
* present only when that field changed.
|
|
12493
13139
|
*/
|
|
12494
13140
|
change?: Data.Change;
|
|
12495
13141
|
|
|
@@ -12499,9 +13145,9 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
|
|
|
12499
13145
|
contact_card?: Data.ContactCard;
|
|
12500
13146
|
|
|
12501
13147
|
/**
|
|
12502
|
-
* An environment. Production is
|
|
12503
|
-
* `{"
|
|
12504
|
-
*
|
|
13148
|
+
* An environment, identified by name. Production is
|
|
13149
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
13150
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
12505
13151
|
*/
|
|
12506
13152
|
environment?: Data.Environment;
|
|
12507
13153
|
|
|
@@ -12593,20 +13239,33 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
|
|
|
12593
13239
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
12594
13240
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
12595
13241
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
12596
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
12597
|
-
* instead of `from` and `to
|
|
13242
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
13243
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
13244
|
+
* present only when that field changed.
|
|
12598
13245
|
*/
|
|
12599
13246
|
export interface Change {
|
|
13247
|
+
/**
|
|
13248
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
13249
|
+
* that changed.
|
|
13250
|
+
*/
|
|
13251
|
+
first_name?: Change.FirstName;
|
|
13252
|
+
|
|
12600
13253
|
/**
|
|
12601
13254
|
* The value before the change; null when there was none.
|
|
12602
13255
|
*/
|
|
12603
13256
|
from?: unknown;
|
|
12604
13257
|
|
|
12605
13258
|
/**
|
|
12606
|
-
* A
|
|
12607
|
-
* changed.
|
|
13259
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
13260
|
+
* that changed.
|
|
12608
13261
|
*/
|
|
12609
|
-
|
|
13262
|
+
image_url?: Change.ImageURL;
|
|
13263
|
+
|
|
13264
|
+
/**
|
|
13265
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
13266
|
+
* that changed.
|
|
13267
|
+
*/
|
|
13268
|
+
last_name?: Change.LastName;
|
|
12610
13269
|
|
|
12611
13270
|
/**
|
|
12612
13271
|
* The value after the change; null when it was cleared.
|
|
@@ -12616,17 +13275,49 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
|
|
|
12616
13275
|
|
|
12617
13276
|
export namespace Change {
|
|
12618
13277
|
/**
|
|
12619
|
-
* A
|
|
12620
|
-
* changed.
|
|
13278
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
13279
|
+
* that changed.
|
|
13280
|
+
*/
|
|
13281
|
+
export interface FirstName {
|
|
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 ImageURL {
|
|
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.
|
|
13305
|
+
*/
|
|
13306
|
+
to: string | null;
|
|
13307
|
+
}
|
|
13308
|
+
|
|
13309
|
+
/**
|
|
13310
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
13311
|
+
* that changed.
|
|
12621
13312
|
*/
|
|
12622
|
-
export interface
|
|
13313
|
+
export interface LastName {
|
|
12623
13314
|
/**
|
|
12624
|
-
* The
|
|
13315
|
+
* The value before the change; null when the card had none.
|
|
12625
13316
|
*/
|
|
12626
13317
|
from: string | null;
|
|
12627
13318
|
|
|
12628
13319
|
/**
|
|
12629
|
-
* The
|
|
13320
|
+
* The value after the change; null when it was removed.
|
|
12630
13321
|
*/
|
|
12631
13322
|
to: string | null;
|
|
12632
13323
|
}
|
|
@@ -12638,31 +13329,28 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
|
|
|
12638
13329
|
export interface ContactCard {
|
|
12639
13330
|
id: string;
|
|
12640
13331
|
|
|
13332
|
+
first_name: string;
|
|
13333
|
+
|
|
12641
13334
|
/**
|
|
12642
|
-
*
|
|
13335
|
+
* Null when the card has no photo.
|
|
12643
13336
|
*/
|
|
12644
|
-
|
|
13337
|
+
image_url: string | null;
|
|
12645
13338
|
|
|
12646
13339
|
/**
|
|
12647
|
-
*
|
|
13340
|
+
* Null when the card has no last name.
|
|
12648
13341
|
*/
|
|
12649
|
-
|
|
13342
|
+
last_name: string | null;
|
|
12650
13343
|
}
|
|
12651
13344
|
|
|
12652
13345
|
/**
|
|
12653
|
-
* An environment. Production is
|
|
12654
|
-
* `{"
|
|
12655
|
-
*
|
|
13346
|
+
* An environment, identified by name. Production is
|
|
13347
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
13348
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
12656
13349
|
*/
|
|
12657
13350
|
export interface Environment {
|
|
12658
|
-
|
|
12659
|
-
* Null for Production.
|
|
12660
|
-
*/
|
|
12661
|
-
id: string | null;
|
|
12662
|
-
|
|
12663
|
-
type: 'production' | 'environment';
|
|
13351
|
+
name: string;
|
|
12664
13352
|
|
|
12665
|
-
|
|
13353
|
+
type: 'environment';
|
|
12666
13354
|
}
|
|
12667
13355
|
|
|
12668
13356
|
/**
|
|
@@ -12733,7 +13421,7 @@ export interface WebhookSubscriptionDeletedWebhookEvent {
|
|
|
12733
13421
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
12734
13422
|
* describes the transition. Created and deleted events carry only the object that
|
|
12735
13423
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
12736
|
-
* only inside `change
|
|
13424
|
+
* only inside `change`.
|
|
12737
13425
|
*/
|
|
12738
13426
|
data: WebhookSubscriptionDeletedWebhookEvent.Data;
|
|
12739
13427
|
|
|
@@ -12845,7 +13533,7 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
|
|
|
12845
13533
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
12846
13534
|
* describes the transition. Created and deleted events carry only the object that
|
|
12847
13535
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
12848
|
-
* only inside `change
|
|
13536
|
+
* only inside `change`.
|
|
12849
13537
|
*/
|
|
12850
13538
|
export interface Data {
|
|
12851
13539
|
/**
|
|
@@ -12884,8 +13572,9 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
|
|
|
12884
13572
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
12885
13573
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
12886
13574
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
12887
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
12888
|
-
* instead of `from` and `to
|
|
13575
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
13576
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
13577
|
+
* present only when that field changed.
|
|
12889
13578
|
*/
|
|
12890
13579
|
change?: Data.Change;
|
|
12891
13580
|
|
|
@@ -12895,9 +13584,9 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
|
|
|
12895
13584
|
contact_card?: Data.ContactCard;
|
|
12896
13585
|
|
|
12897
13586
|
/**
|
|
12898
|
-
* An environment. Production is
|
|
12899
|
-
* `{"
|
|
12900
|
-
*
|
|
13587
|
+
* An environment, identified by name. Production is
|
|
13588
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
13589
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
12901
13590
|
*/
|
|
12902
13591
|
environment?: Data.Environment;
|
|
12903
13592
|
|
|
@@ -12989,20 +13678,33 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
|
|
|
12989
13678
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
12990
13679
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
12991
13680
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
12992
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
12993
|
-
* instead of `from` and `to
|
|
13681
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
13682
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
13683
|
+
* present only when that field changed.
|
|
12994
13684
|
*/
|
|
12995
13685
|
export interface Change {
|
|
13686
|
+
/**
|
|
13687
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
13688
|
+
* that changed.
|
|
13689
|
+
*/
|
|
13690
|
+
first_name?: Change.FirstName;
|
|
13691
|
+
|
|
12996
13692
|
/**
|
|
12997
13693
|
* The value before the change; null when there was none.
|
|
12998
13694
|
*/
|
|
12999
13695
|
from?: unknown;
|
|
13000
13696
|
|
|
13001
13697
|
/**
|
|
13002
|
-
* A
|
|
13003
|
-
* changed.
|
|
13698
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
13699
|
+
* that changed.
|
|
13004
13700
|
*/
|
|
13005
|
-
|
|
13701
|
+
image_url?: Change.ImageURL;
|
|
13702
|
+
|
|
13703
|
+
/**
|
|
13704
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
13705
|
+
* that changed.
|
|
13706
|
+
*/
|
|
13707
|
+
last_name?: Change.LastName;
|
|
13006
13708
|
|
|
13007
13709
|
/**
|
|
13008
13710
|
* The value after the change; null when it was cleared.
|
|
@@ -13012,17 +13714,49 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
|
|
|
13012
13714
|
|
|
13013
13715
|
export namespace Change {
|
|
13014
13716
|
/**
|
|
13015
|
-
* A
|
|
13016
|
-
* changed.
|
|
13717
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
13718
|
+
* that changed.
|
|
13719
|
+
*/
|
|
13720
|
+
export interface FirstName {
|
|
13721
|
+
/**
|
|
13722
|
+
* The value before the change; null when the card had none.
|
|
13723
|
+
*/
|
|
13724
|
+
from: string | null;
|
|
13725
|
+
|
|
13726
|
+
/**
|
|
13727
|
+
* The value after the change; null when it was removed.
|
|
13728
|
+
*/
|
|
13729
|
+
to: string | null;
|
|
13730
|
+
}
|
|
13731
|
+
|
|
13732
|
+
/**
|
|
13733
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
13734
|
+
* that changed.
|
|
13735
|
+
*/
|
|
13736
|
+
export interface ImageURL {
|
|
13737
|
+
/**
|
|
13738
|
+
* The value before the change; null when the card had none.
|
|
13739
|
+
*/
|
|
13740
|
+
from: string | null;
|
|
13741
|
+
|
|
13742
|
+
/**
|
|
13743
|
+
* The value after the change; null when it was removed.
|
|
13744
|
+
*/
|
|
13745
|
+
to: string | null;
|
|
13746
|
+
}
|
|
13747
|
+
|
|
13748
|
+
/**
|
|
13749
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
13750
|
+
* that changed.
|
|
13017
13751
|
*/
|
|
13018
|
-
export interface
|
|
13752
|
+
export interface LastName {
|
|
13019
13753
|
/**
|
|
13020
|
-
* The
|
|
13754
|
+
* The value before the change; null when the card had none.
|
|
13021
13755
|
*/
|
|
13022
13756
|
from: string | null;
|
|
13023
13757
|
|
|
13024
13758
|
/**
|
|
13025
|
-
* The
|
|
13759
|
+
* The value after the change; null when it was removed.
|
|
13026
13760
|
*/
|
|
13027
13761
|
to: string | null;
|
|
13028
13762
|
}
|
|
@@ -13034,31 +13768,28 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
|
|
|
13034
13768
|
export interface ContactCard {
|
|
13035
13769
|
id: string;
|
|
13036
13770
|
|
|
13771
|
+
first_name: string;
|
|
13772
|
+
|
|
13037
13773
|
/**
|
|
13038
|
-
*
|
|
13774
|
+
* Null when the card has no photo.
|
|
13039
13775
|
*/
|
|
13040
|
-
|
|
13776
|
+
image_url: string | null;
|
|
13041
13777
|
|
|
13042
13778
|
/**
|
|
13043
|
-
*
|
|
13779
|
+
* Null when the card has no last name.
|
|
13044
13780
|
*/
|
|
13045
|
-
|
|
13781
|
+
last_name: string | null;
|
|
13046
13782
|
}
|
|
13047
13783
|
|
|
13048
13784
|
/**
|
|
13049
|
-
* An environment. Production is
|
|
13050
|
-
* `{"
|
|
13051
|
-
*
|
|
13785
|
+
* An environment, identified by name. Production is
|
|
13786
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
13787
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
13052
13788
|
*/
|
|
13053
13789
|
export interface Environment {
|
|
13054
|
-
|
|
13055
|
-
* Null for Production.
|
|
13056
|
-
*/
|
|
13057
|
-
id: string | null;
|
|
13058
|
-
|
|
13059
|
-
type: 'production' | 'environment';
|
|
13790
|
+
name: string;
|
|
13060
13791
|
|
|
13061
|
-
|
|
13792
|
+
type: 'environment';
|
|
13062
13793
|
}
|
|
13063
13794
|
|
|
13064
13795
|
/**
|
|
@@ -13129,7 +13860,7 @@ export interface WebhookSubscriptionTargetURLChangedWebhookEvent {
|
|
|
13129
13860
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
13130
13861
|
* describes the transition. Created and deleted events carry only the object that
|
|
13131
13862
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
13132
|
-
* only inside `change
|
|
13863
|
+
* only inside `change`.
|
|
13133
13864
|
*/
|
|
13134
13865
|
data: WebhookSubscriptionTargetURLChangedWebhookEvent.Data;
|
|
13135
13866
|
|
|
@@ -13241,7 +13972,7 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
|
|
|
13241
13972
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
13242
13973
|
* describes the transition. Created and deleted events carry only the object that
|
|
13243
13974
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
13244
|
-
* only inside `change
|
|
13975
|
+
* only inside `change`.
|
|
13245
13976
|
*/
|
|
13246
13977
|
export interface Data {
|
|
13247
13978
|
/**
|
|
@@ -13280,8 +14011,9 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
|
|
|
13280
14011
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
13281
14012
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
13282
14013
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
13283
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
13284
|
-
* instead of `from` and `to
|
|
14014
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
14015
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
14016
|
+
* present only when that field changed.
|
|
13285
14017
|
*/
|
|
13286
14018
|
change?: Data.Change;
|
|
13287
14019
|
|
|
@@ -13291,9 +14023,9 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
|
|
|
13291
14023
|
contact_card?: Data.ContactCard;
|
|
13292
14024
|
|
|
13293
14025
|
/**
|
|
13294
|
-
* An environment. Production is
|
|
13295
|
-
* `{"
|
|
13296
|
-
*
|
|
14026
|
+
* An environment, identified by name. Production is
|
|
14027
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
14028
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
13297
14029
|
*/
|
|
13298
14030
|
environment?: Data.Environment;
|
|
13299
14031
|
|
|
@@ -13385,20 +14117,33 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
|
|
|
13385
14117
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
13386
14118
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
13387
14119
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
13388
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
13389
|
-
* instead of `from` and `to
|
|
14120
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
14121
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
14122
|
+
* present only when that field changed.
|
|
13390
14123
|
*/
|
|
13391
14124
|
export interface Change {
|
|
14125
|
+
/**
|
|
14126
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
14127
|
+
* that changed.
|
|
14128
|
+
*/
|
|
14129
|
+
first_name?: Change.FirstName;
|
|
14130
|
+
|
|
13392
14131
|
/**
|
|
13393
14132
|
* The value before the change; null when there was none.
|
|
13394
14133
|
*/
|
|
13395
14134
|
from?: unknown;
|
|
13396
14135
|
|
|
13397
14136
|
/**
|
|
13398
|
-
* A
|
|
13399
|
-
* changed.
|
|
14137
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
14138
|
+
* that changed.
|
|
14139
|
+
*/
|
|
14140
|
+
image_url?: Change.ImageURL;
|
|
14141
|
+
|
|
14142
|
+
/**
|
|
14143
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
14144
|
+
* that changed.
|
|
13400
14145
|
*/
|
|
13401
|
-
|
|
14146
|
+
last_name?: Change.LastName;
|
|
13402
14147
|
|
|
13403
14148
|
/**
|
|
13404
14149
|
* The value after the change; null when it was cleared.
|
|
@@ -13408,17 +14153,49 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
|
|
|
13408
14153
|
|
|
13409
14154
|
export namespace Change {
|
|
13410
14155
|
/**
|
|
13411
|
-
* A
|
|
13412
|
-
* changed.
|
|
14156
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
14157
|
+
* that changed.
|
|
14158
|
+
*/
|
|
14159
|
+
export interface FirstName {
|
|
14160
|
+
/**
|
|
14161
|
+
* The value before the change; null when the card had none.
|
|
14162
|
+
*/
|
|
14163
|
+
from: string | null;
|
|
14164
|
+
|
|
14165
|
+
/**
|
|
14166
|
+
* The value after the change; null when it was removed.
|
|
14167
|
+
*/
|
|
14168
|
+
to: string | null;
|
|
14169
|
+
}
|
|
14170
|
+
|
|
14171
|
+
/**
|
|
14172
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
14173
|
+
* that changed.
|
|
14174
|
+
*/
|
|
14175
|
+
export interface ImageURL {
|
|
14176
|
+
/**
|
|
14177
|
+
* The value before the change; null when the card had none.
|
|
14178
|
+
*/
|
|
14179
|
+
from: string | null;
|
|
14180
|
+
|
|
14181
|
+
/**
|
|
14182
|
+
* The value after the change; null when it was removed.
|
|
14183
|
+
*/
|
|
14184
|
+
to: string | null;
|
|
14185
|
+
}
|
|
14186
|
+
|
|
14187
|
+
/**
|
|
14188
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
14189
|
+
* that changed.
|
|
13413
14190
|
*/
|
|
13414
|
-
export interface
|
|
14191
|
+
export interface LastName {
|
|
13415
14192
|
/**
|
|
13416
|
-
* The
|
|
14193
|
+
* The value before the change; null when the card had none.
|
|
13417
14194
|
*/
|
|
13418
14195
|
from: string | null;
|
|
13419
14196
|
|
|
13420
14197
|
/**
|
|
13421
|
-
* The
|
|
14198
|
+
* The value after the change; null when it was removed.
|
|
13422
14199
|
*/
|
|
13423
14200
|
to: string | null;
|
|
13424
14201
|
}
|
|
@@ -13430,31 +14207,28 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
|
|
|
13430
14207
|
export interface ContactCard {
|
|
13431
14208
|
id: string;
|
|
13432
14209
|
|
|
14210
|
+
first_name: string;
|
|
14211
|
+
|
|
13433
14212
|
/**
|
|
13434
|
-
*
|
|
14213
|
+
* Null when the card has no photo.
|
|
13435
14214
|
*/
|
|
13436
|
-
|
|
14215
|
+
image_url: string | null;
|
|
13437
14216
|
|
|
13438
14217
|
/**
|
|
13439
|
-
*
|
|
14218
|
+
* Null when the card has no last name.
|
|
13440
14219
|
*/
|
|
13441
|
-
|
|
14220
|
+
last_name: string | null;
|
|
13442
14221
|
}
|
|
13443
14222
|
|
|
13444
14223
|
/**
|
|
13445
|
-
* An environment. Production is
|
|
13446
|
-
* `{"
|
|
13447
|
-
*
|
|
14224
|
+
* An environment, identified by name. Production is
|
|
14225
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
14226
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
13448
14227
|
*/
|
|
13449
14228
|
export interface Environment {
|
|
13450
|
-
|
|
13451
|
-
* Null for Production.
|
|
13452
|
-
*/
|
|
13453
|
-
id: string | null;
|
|
13454
|
-
|
|
13455
|
-
type: 'production' | 'environment';
|
|
14229
|
+
name: string;
|
|
13456
14230
|
|
|
13457
|
-
|
|
14231
|
+
type: 'environment';
|
|
13458
14232
|
}
|
|
13459
14233
|
|
|
13460
14234
|
/**
|
|
@@ -13525,7 +14299,7 @@ export interface WebhookSubscriptionEnabledWebhookEvent {
|
|
|
13525
14299
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
13526
14300
|
* describes the transition. Created and deleted events carry only the object that
|
|
13527
14301
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
13528
|
-
* only inside `change
|
|
14302
|
+
* only inside `change`.
|
|
13529
14303
|
*/
|
|
13530
14304
|
data: WebhookSubscriptionEnabledWebhookEvent.Data;
|
|
13531
14305
|
|
|
@@ -13637,7 +14411,7 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
|
|
|
13637
14411
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
13638
14412
|
* describes the transition. Created and deleted events carry only the object that
|
|
13639
14413
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
13640
|
-
* only inside `change
|
|
14414
|
+
* only inside `change`.
|
|
13641
14415
|
*/
|
|
13642
14416
|
export interface Data {
|
|
13643
14417
|
/**
|
|
@@ -13676,8 +14450,9 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
|
|
|
13676
14450
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
13677
14451
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
13678
14452
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
13679
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
13680
|
-
* instead of `from` and `to
|
|
14453
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
14454
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
14455
|
+
* present only when that field changed.
|
|
13681
14456
|
*/
|
|
13682
14457
|
change?: Data.Change;
|
|
13683
14458
|
|
|
@@ -13687,9 +14462,9 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
|
|
|
13687
14462
|
contact_card?: Data.ContactCard;
|
|
13688
14463
|
|
|
13689
14464
|
/**
|
|
13690
|
-
* An environment. Production is
|
|
13691
|
-
* `{"
|
|
13692
|
-
*
|
|
14465
|
+
* An environment, identified by name. Production is
|
|
14466
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
14467
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
13693
14468
|
*/
|
|
13694
14469
|
environment?: Data.Environment;
|
|
13695
14470
|
|
|
@@ -13781,20 +14556,33 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
|
|
|
13781
14556
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
13782
14557
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
13783
14558
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
13784
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
13785
|
-
* instead of `from` and `to
|
|
14559
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
14560
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
14561
|
+
* present only when that field changed.
|
|
13786
14562
|
*/
|
|
13787
14563
|
export interface Change {
|
|
14564
|
+
/**
|
|
14565
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
14566
|
+
* that changed.
|
|
14567
|
+
*/
|
|
14568
|
+
first_name?: Change.FirstName;
|
|
14569
|
+
|
|
13788
14570
|
/**
|
|
13789
14571
|
* The value before the change; null when there was none.
|
|
13790
14572
|
*/
|
|
13791
14573
|
from?: unknown;
|
|
13792
14574
|
|
|
13793
14575
|
/**
|
|
13794
|
-
* A
|
|
13795
|
-
* changed.
|
|
14576
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
14577
|
+
* that changed.
|
|
14578
|
+
*/
|
|
14579
|
+
image_url?: Change.ImageURL;
|
|
14580
|
+
|
|
14581
|
+
/**
|
|
14582
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
14583
|
+
* that changed.
|
|
13796
14584
|
*/
|
|
13797
|
-
|
|
14585
|
+
last_name?: Change.LastName;
|
|
13798
14586
|
|
|
13799
14587
|
/**
|
|
13800
14588
|
* The value after the change; null when it was cleared.
|
|
@@ -13804,17 +14592,49 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
|
|
|
13804
14592
|
|
|
13805
14593
|
export namespace Change {
|
|
13806
14594
|
/**
|
|
13807
|
-
* A
|
|
13808
|
-
* changed.
|
|
14595
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
14596
|
+
* that changed.
|
|
13809
14597
|
*/
|
|
13810
|
-
export interface
|
|
14598
|
+
export interface FirstName {
|
|
13811
14599
|
/**
|
|
13812
|
-
* The
|
|
14600
|
+
* The value before the change; null when the card had none.
|
|
13813
14601
|
*/
|
|
13814
14602
|
from: string | null;
|
|
13815
14603
|
|
|
13816
14604
|
/**
|
|
13817
|
-
* The
|
|
14605
|
+
* The value after the change; null when it was removed.
|
|
14606
|
+
*/
|
|
14607
|
+
to: string | null;
|
|
14608
|
+
}
|
|
14609
|
+
|
|
14610
|
+
/**
|
|
14611
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
14612
|
+
* that changed.
|
|
14613
|
+
*/
|
|
14614
|
+
export interface ImageURL {
|
|
14615
|
+
/**
|
|
14616
|
+
* The value before the change; null when the card had none.
|
|
14617
|
+
*/
|
|
14618
|
+
from: string | null;
|
|
14619
|
+
|
|
14620
|
+
/**
|
|
14621
|
+
* The value after the change; null when it was removed.
|
|
14622
|
+
*/
|
|
14623
|
+
to: string | null;
|
|
14624
|
+
}
|
|
14625
|
+
|
|
14626
|
+
/**
|
|
14627
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
14628
|
+
* that changed.
|
|
14629
|
+
*/
|
|
14630
|
+
export interface LastName {
|
|
14631
|
+
/**
|
|
14632
|
+
* The value before the change; null when the card had none.
|
|
14633
|
+
*/
|
|
14634
|
+
from: string | null;
|
|
14635
|
+
|
|
14636
|
+
/**
|
|
14637
|
+
* The value after the change; null when it was removed.
|
|
13818
14638
|
*/
|
|
13819
14639
|
to: string | null;
|
|
13820
14640
|
}
|
|
@@ -13826,31 +14646,28 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
|
|
|
13826
14646
|
export interface ContactCard {
|
|
13827
14647
|
id: string;
|
|
13828
14648
|
|
|
14649
|
+
first_name: string;
|
|
14650
|
+
|
|
13829
14651
|
/**
|
|
13830
|
-
*
|
|
14652
|
+
* Null when the card has no photo.
|
|
13831
14653
|
*/
|
|
13832
|
-
|
|
14654
|
+
image_url: string | null;
|
|
13833
14655
|
|
|
13834
14656
|
/**
|
|
13835
|
-
*
|
|
14657
|
+
* Null when the card has no last name.
|
|
13836
14658
|
*/
|
|
13837
|
-
|
|
14659
|
+
last_name: string | null;
|
|
13838
14660
|
}
|
|
13839
14661
|
|
|
13840
14662
|
/**
|
|
13841
|
-
* An environment. Production is
|
|
13842
|
-
* `{"
|
|
13843
|
-
*
|
|
14663
|
+
* An environment, identified by name. Production is
|
|
14664
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
14665
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
13844
14666
|
*/
|
|
13845
14667
|
export interface Environment {
|
|
13846
|
-
|
|
13847
|
-
* Null for Production.
|
|
13848
|
-
*/
|
|
13849
|
-
id: string | null;
|
|
13850
|
-
|
|
13851
|
-
type: 'production' | 'environment';
|
|
14668
|
+
name: string;
|
|
13852
14669
|
|
|
13853
|
-
|
|
14670
|
+
type: 'environment';
|
|
13854
14671
|
}
|
|
13855
14672
|
|
|
13856
14673
|
/**
|
|
@@ -13921,7 +14738,7 @@ export interface WebhookSubscriptionDisabledWebhookEvent {
|
|
|
13921
14738
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
13922
14739
|
* describes the transition. Created and deleted events carry only the object that
|
|
13923
14740
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
13924
|
-
* only inside `change
|
|
14741
|
+
* only inside `change`.
|
|
13925
14742
|
*/
|
|
13926
14743
|
data: WebhookSubscriptionDisabledWebhookEvent.Data;
|
|
13927
14744
|
|
|
@@ -14033,7 +14850,7 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
|
|
|
14033
14850
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
14034
14851
|
* describes the transition. Created and deleted events carry only the object that
|
|
14035
14852
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
14036
|
-
* only inside `change
|
|
14853
|
+
* only inside `change`.
|
|
14037
14854
|
*/
|
|
14038
14855
|
export interface Data {
|
|
14039
14856
|
/**
|
|
@@ -14072,8 +14889,9 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
|
|
|
14072
14889
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
14073
14890
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
14074
14891
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
14075
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
14076
|
-
* instead of `from` and `to
|
|
14892
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
14893
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
14894
|
+
* present only when that field changed.
|
|
14077
14895
|
*/
|
|
14078
14896
|
change?: Data.Change;
|
|
14079
14897
|
|
|
@@ -14083,9 +14901,9 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
|
|
|
14083
14901
|
contact_card?: Data.ContactCard;
|
|
14084
14902
|
|
|
14085
14903
|
/**
|
|
14086
|
-
* An environment. Production is
|
|
14087
|
-
* `{"
|
|
14088
|
-
*
|
|
14904
|
+
* An environment, identified by name. Production is
|
|
14905
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
14906
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
14089
14907
|
*/
|
|
14090
14908
|
environment?: Data.Environment;
|
|
14091
14909
|
|
|
@@ -14177,20 +14995,33 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
|
|
|
14177
14995
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
14178
14996
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
14179
14997
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
14180
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
14181
|
-
* instead of `from` and `to
|
|
14998
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
14999
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
15000
|
+
* present only when that field changed.
|
|
14182
15001
|
*/
|
|
14183
15002
|
export interface Change {
|
|
15003
|
+
/**
|
|
15004
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15005
|
+
* that changed.
|
|
15006
|
+
*/
|
|
15007
|
+
first_name?: Change.FirstName;
|
|
15008
|
+
|
|
14184
15009
|
/**
|
|
14185
15010
|
* The value before the change; null when there was none.
|
|
14186
15011
|
*/
|
|
14187
15012
|
from?: unknown;
|
|
14188
15013
|
|
|
14189
15014
|
/**
|
|
14190
|
-
* A
|
|
14191
|
-
* changed.
|
|
15015
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15016
|
+
* that changed.
|
|
15017
|
+
*/
|
|
15018
|
+
image_url?: Change.ImageURL;
|
|
15019
|
+
|
|
15020
|
+
/**
|
|
15021
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15022
|
+
* that changed.
|
|
14192
15023
|
*/
|
|
14193
|
-
|
|
15024
|
+
last_name?: Change.LastName;
|
|
14194
15025
|
|
|
14195
15026
|
/**
|
|
14196
15027
|
* The value after the change; null when it was cleared.
|
|
@@ -14198,19 +15029,51 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
|
|
|
14198
15029
|
to?: unknown;
|
|
14199
15030
|
}
|
|
14200
15031
|
|
|
14201
|
-
export namespace Change {
|
|
15032
|
+
export namespace Change {
|
|
15033
|
+
/**
|
|
15034
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15035
|
+
* that changed.
|
|
15036
|
+
*/
|
|
15037
|
+
export interface FirstName {
|
|
15038
|
+
/**
|
|
15039
|
+
* The value before the change; null when the card had none.
|
|
15040
|
+
*/
|
|
15041
|
+
from: string | null;
|
|
15042
|
+
|
|
15043
|
+
/**
|
|
15044
|
+
* The value after the change; null when it was removed.
|
|
15045
|
+
*/
|
|
15046
|
+
to: string | null;
|
|
15047
|
+
}
|
|
15048
|
+
|
|
15049
|
+
/**
|
|
15050
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15051
|
+
* that changed.
|
|
15052
|
+
*/
|
|
15053
|
+
export interface ImageURL {
|
|
15054
|
+
/**
|
|
15055
|
+
* The value before the change; null when the card had none.
|
|
15056
|
+
*/
|
|
15057
|
+
from: string | null;
|
|
15058
|
+
|
|
15059
|
+
/**
|
|
15060
|
+
* The value after the change; null when it was removed.
|
|
15061
|
+
*/
|
|
15062
|
+
to: string | null;
|
|
15063
|
+
}
|
|
15064
|
+
|
|
14202
15065
|
/**
|
|
14203
|
-
* A
|
|
14204
|
-
* changed.
|
|
15066
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15067
|
+
* that changed.
|
|
14205
15068
|
*/
|
|
14206
|
-
export interface
|
|
15069
|
+
export interface LastName {
|
|
14207
15070
|
/**
|
|
14208
|
-
* The
|
|
15071
|
+
* The value before the change; null when the card had none.
|
|
14209
15072
|
*/
|
|
14210
15073
|
from: string | null;
|
|
14211
15074
|
|
|
14212
15075
|
/**
|
|
14213
|
-
* The
|
|
15076
|
+
* The value after the change; null when it was removed.
|
|
14214
15077
|
*/
|
|
14215
15078
|
to: string | null;
|
|
14216
15079
|
}
|
|
@@ -14222,31 +15085,28 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
|
|
|
14222
15085
|
export interface ContactCard {
|
|
14223
15086
|
id: string;
|
|
14224
15087
|
|
|
15088
|
+
first_name: string;
|
|
15089
|
+
|
|
14225
15090
|
/**
|
|
14226
|
-
*
|
|
15091
|
+
* Null when the card has no photo.
|
|
14227
15092
|
*/
|
|
14228
|
-
|
|
15093
|
+
image_url: string | null;
|
|
14229
15094
|
|
|
14230
15095
|
/**
|
|
14231
|
-
*
|
|
15096
|
+
* Null when the card has no last name.
|
|
14232
15097
|
*/
|
|
14233
|
-
|
|
15098
|
+
last_name: string | null;
|
|
14234
15099
|
}
|
|
14235
15100
|
|
|
14236
15101
|
/**
|
|
14237
|
-
* An environment. Production is
|
|
14238
|
-
* `{"
|
|
14239
|
-
*
|
|
15102
|
+
* An environment, identified by name. Production is
|
|
15103
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
15104
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
14240
15105
|
*/
|
|
14241
15106
|
export interface Environment {
|
|
14242
|
-
|
|
14243
|
-
* Null for Production.
|
|
14244
|
-
*/
|
|
14245
|
-
id: string | null;
|
|
14246
|
-
|
|
14247
|
-
type: 'production' | 'environment';
|
|
15107
|
+
name: string;
|
|
14248
15108
|
|
|
14249
|
-
|
|
15109
|
+
type: 'environment';
|
|
14250
15110
|
}
|
|
14251
15111
|
|
|
14252
15112
|
/**
|
|
@@ -14317,7 +15177,7 @@ export interface WebhookSubscriptionEventsUpdatedWebhookEvent {
|
|
|
14317
15177
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
14318
15178
|
* describes the transition. Created and deleted events carry only the object that
|
|
14319
15179
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
14320
|
-
* only inside `change
|
|
15180
|
+
* only inside `change`.
|
|
14321
15181
|
*/
|
|
14322
15182
|
data: WebhookSubscriptionEventsUpdatedWebhookEvent.Data;
|
|
14323
15183
|
|
|
@@ -14429,7 +15289,7 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
|
|
|
14429
15289
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
14430
15290
|
* describes the transition. Created and deleted events carry only the object that
|
|
14431
15291
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
14432
|
-
* only inside `change
|
|
15292
|
+
* only inside `change`.
|
|
14433
15293
|
*/
|
|
14434
15294
|
export interface Data {
|
|
14435
15295
|
/**
|
|
@@ -14468,8 +15328,9 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
|
|
|
14468
15328
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
14469
15329
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
14470
15330
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
14471
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
14472
|
-
* instead of `from` and `to
|
|
15331
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
15332
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
15333
|
+
* present only when that field changed.
|
|
14473
15334
|
*/
|
|
14474
15335
|
change?: Data.Change;
|
|
14475
15336
|
|
|
@@ -14479,9 +15340,9 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
|
|
|
14479
15340
|
contact_card?: Data.ContactCard;
|
|
14480
15341
|
|
|
14481
15342
|
/**
|
|
14482
|
-
* An environment. Production is
|
|
14483
|
-
* `{"
|
|
14484
|
-
*
|
|
15343
|
+
* An environment, identified by name. Production is
|
|
15344
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
15345
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
14485
15346
|
*/
|
|
14486
15347
|
environment?: Data.Environment;
|
|
14487
15348
|
|
|
@@ -14573,20 +15434,33 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
|
|
|
14573
15434
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
14574
15435
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
14575
15436
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
14576
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
14577
|
-
* instead of `from` and `to
|
|
15437
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
15438
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
15439
|
+
* present only when that field changed.
|
|
14578
15440
|
*/
|
|
14579
15441
|
export interface Change {
|
|
15442
|
+
/**
|
|
15443
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15444
|
+
* that changed.
|
|
15445
|
+
*/
|
|
15446
|
+
first_name?: Change.FirstName;
|
|
15447
|
+
|
|
14580
15448
|
/**
|
|
14581
15449
|
* The value before the change; null when there was none.
|
|
14582
15450
|
*/
|
|
14583
15451
|
from?: unknown;
|
|
14584
15452
|
|
|
14585
15453
|
/**
|
|
14586
|
-
* A
|
|
14587
|
-
* changed.
|
|
15454
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15455
|
+
* that changed.
|
|
15456
|
+
*/
|
|
15457
|
+
image_url?: Change.ImageURL;
|
|
15458
|
+
|
|
15459
|
+
/**
|
|
15460
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15461
|
+
* that changed.
|
|
14588
15462
|
*/
|
|
14589
|
-
|
|
15463
|
+
last_name?: Change.LastName;
|
|
14590
15464
|
|
|
14591
15465
|
/**
|
|
14592
15466
|
* The value after the change; null when it was cleared.
|
|
@@ -14596,17 +15470,49 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
|
|
|
14596
15470
|
|
|
14597
15471
|
export namespace Change {
|
|
14598
15472
|
/**
|
|
14599
|
-
* A
|
|
14600
|
-
* changed.
|
|
15473
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15474
|
+
* that changed.
|
|
15475
|
+
*/
|
|
15476
|
+
export interface FirstName {
|
|
15477
|
+
/**
|
|
15478
|
+
* The value before the change; null when the card had none.
|
|
15479
|
+
*/
|
|
15480
|
+
from: string | null;
|
|
15481
|
+
|
|
15482
|
+
/**
|
|
15483
|
+
* The value after the change; null when it was removed.
|
|
15484
|
+
*/
|
|
15485
|
+
to: string | null;
|
|
15486
|
+
}
|
|
15487
|
+
|
|
15488
|
+
/**
|
|
15489
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15490
|
+
* that changed.
|
|
15491
|
+
*/
|
|
15492
|
+
export interface ImageURL {
|
|
15493
|
+
/**
|
|
15494
|
+
* The value before the change; null when the card had none.
|
|
15495
|
+
*/
|
|
15496
|
+
from: string | null;
|
|
15497
|
+
|
|
15498
|
+
/**
|
|
15499
|
+
* The value after the change; null when it was removed.
|
|
15500
|
+
*/
|
|
15501
|
+
to: string | null;
|
|
15502
|
+
}
|
|
15503
|
+
|
|
15504
|
+
/**
|
|
15505
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15506
|
+
* that changed.
|
|
14601
15507
|
*/
|
|
14602
|
-
export interface
|
|
15508
|
+
export interface LastName {
|
|
14603
15509
|
/**
|
|
14604
|
-
* The
|
|
15510
|
+
* The value before the change; null when the card had none.
|
|
14605
15511
|
*/
|
|
14606
15512
|
from: string | null;
|
|
14607
15513
|
|
|
14608
15514
|
/**
|
|
14609
|
-
* The
|
|
15515
|
+
* The value after the change; null when it was removed.
|
|
14610
15516
|
*/
|
|
14611
15517
|
to: string | null;
|
|
14612
15518
|
}
|
|
@@ -14618,31 +15524,28 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
|
|
|
14618
15524
|
export interface ContactCard {
|
|
14619
15525
|
id: string;
|
|
14620
15526
|
|
|
15527
|
+
first_name: string;
|
|
15528
|
+
|
|
14621
15529
|
/**
|
|
14622
|
-
*
|
|
15530
|
+
* Null when the card has no photo.
|
|
14623
15531
|
*/
|
|
14624
|
-
|
|
15532
|
+
image_url: string | null;
|
|
14625
15533
|
|
|
14626
15534
|
/**
|
|
14627
|
-
*
|
|
15535
|
+
* Null when the card has no last name.
|
|
14628
15536
|
*/
|
|
14629
|
-
|
|
15537
|
+
last_name: string | null;
|
|
14630
15538
|
}
|
|
14631
15539
|
|
|
14632
15540
|
/**
|
|
14633
|
-
* An environment. Production is
|
|
14634
|
-
* `{"
|
|
14635
|
-
*
|
|
15541
|
+
* An environment, identified by name. Production is
|
|
15542
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
15543
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
14636
15544
|
*/
|
|
14637
15545
|
export interface Environment {
|
|
14638
|
-
|
|
14639
|
-
* Null for Production.
|
|
14640
|
-
*/
|
|
14641
|
-
id: string | null;
|
|
14642
|
-
|
|
14643
|
-
type: 'production' | 'environment';
|
|
15546
|
+
name: string;
|
|
14644
15547
|
|
|
14645
|
-
|
|
15548
|
+
type: 'environment';
|
|
14646
15549
|
}
|
|
14647
15550
|
|
|
14648
15551
|
/**
|
|
@@ -14713,7 +15616,7 @@ export interface WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
|
|
|
14713
15616
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
14714
15617
|
* describes the transition. Created and deleted events carry only the object that
|
|
14715
15618
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
14716
|
-
* only inside `change
|
|
15619
|
+
* only inside `change`.
|
|
14717
15620
|
*/
|
|
14718
15621
|
data: WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent.Data;
|
|
14719
15622
|
|
|
@@ -14825,7 +15728,7 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
|
|
|
14825
15728
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
14826
15729
|
* describes the transition. Created and deleted events carry only the object that
|
|
14827
15730
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
14828
|
-
* only inside `change
|
|
15731
|
+
* only inside `change`.
|
|
14829
15732
|
*/
|
|
14830
15733
|
export interface Data {
|
|
14831
15734
|
/**
|
|
@@ -14864,8 +15767,9 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
|
|
|
14864
15767
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
14865
15768
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
14866
15769
|
* 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
|
|
14868
|
-
* instead of `from` and `to
|
|
15770
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
15771
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
15772
|
+
* present only when that field changed.
|
|
14869
15773
|
*/
|
|
14870
15774
|
change?: Data.Change;
|
|
14871
15775
|
|
|
@@ -14875,9 +15779,9 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
|
|
|
14875
15779
|
contact_card?: Data.ContactCard;
|
|
14876
15780
|
|
|
14877
15781
|
/**
|
|
14878
|
-
* An environment. Production is
|
|
14879
|
-
* `{"
|
|
14880
|
-
*
|
|
15782
|
+
* An environment, identified by name. Production is
|
|
15783
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
15784
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
14881
15785
|
*/
|
|
14882
15786
|
environment?: Data.Environment;
|
|
14883
15787
|
|
|
@@ -14969,20 +15873,33 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
|
|
|
14969
15873
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
14970
15874
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
14971
15875
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
14972
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
14973
|
-
* instead of `from` and `to
|
|
15876
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
15877
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
15878
|
+
* present only when that field changed.
|
|
14974
15879
|
*/
|
|
14975
15880
|
export interface Change {
|
|
15881
|
+
/**
|
|
15882
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15883
|
+
* that changed.
|
|
15884
|
+
*/
|
|
15885
|
+
first_name?: Change.FirstName;
|
|
15886
|
+
|
|
14976
15887
|
/**
|
|
14977
15888
|
* The value before the change; null when there was none.
|
|
14978
15889
|
*/
|
|
14979
15890
|
from?: unknown;
|
|
14980
15891
|
|
|
14981
15892
|
/**
|
|
14982
|
-
* A
|
|
14983
|
-
* changed.
|
|
15893
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15894
|
+
* that changed.
|
|
15895
|
+
*/
|
|
15896
|
+
image_url?: Change.ImageURL;
|
|
15897
|
+
|
|
15898
|
+
/**
|
|
15899
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15900
|
+
* that changed.
|
|
14984
15901
|
*/
|
|
14985
|
-
|
|
15902
|
+
last_name?: Change.LastName;
|
|
14986
15903
|
|
|
14987
15904
|
/**
|
|
14988
15905
|
* The value after the change; null when it was cleared.
|
|
@@ -14992,17 +15909,49 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
|
|
|
14992
15909
|
|
|
14993
15910
|
export namespace Change {
|
|
14994
15911
|
/**
|
|
14995
|
-
* A
|
|
14996
|
-
* changed.
|
|
15912
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15913
|
+
* that changed.
|
|
15914
|
+
*/
|
|
15915
|
+
export interface FirstName {
|
|
15916
|
+
/**
|
|
15917
|
+
* The value before the change; null when the card had none.
|
|
15918
|
+
*/
|
|
15919
|
+
from: string | null;
|
|
15920
|
+
|
|
15921
|
+
/**
|
|
15922
|
+
* The value after the change; null when it was removed.
|
|
15923
|
+
*/
|
|
15924
|
+
to: string | null;
|
|
15925
|
+
}
|
|
15926
|
+
|
|
15927
|
+
/**
|
|
15928
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15929
|
+
* that changed.
|
|
15930
|
+
*/
|
|
15931
|
+
export interface ImageURL {
|
|
15932
|
+
/**
|
|
15933
|
+
* The value before the change; null when the card had none.
|
|
15934
|
+
*/
|
|
15935
|
+
from: string | null;
|
|
15936
|
+
|
|
15937
|
+
/**
|
|
15938
|
+
* The value after the change; null when it was removed.
|
|
15939
|
+
*/
|
|
15940
|
+
to: string | null;
|
|
15941
|
+
}
|
|
15942
|
+
|
|
15943
|
+
/**
|
|
15944
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
15945
|
+
* that changed.
|
|
14997
15946
|
*/
|
|
14998
|
-
export interface
|
|
15947
|
+
export interface LastName {
|
|
14999
15948
|
/**
|
|
15000
|
-
* The
|
|
15949
|
+
* The value before the change; null when the card had none.
|
|
15001
15950
|
*/
|
|
15002
15951
|
from: string | null;
|
|
15003
15952
|
|
|
15004
15953
|
/**
|
|
15005
|
-
* The
|
|
15954
|
+
* The value after the change; null when it was removed.
|
|
15006
15955
|
*/
|
|
15007
15956
|
to: string | null;
|
|
15008
15957
|
}
|
|
@@ -15014,31 +15963,28 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
|
|
|
15014
15963
|
export interface ContactCard {
|
|
15015
15964
|
id: string;
|
|
15016
15965
|
|
|
15966
|
+
first_name: string;
|
|
15967
|
+
|
|
15017
15968
|
/**
|
|
15018
|
-
*
|
|
15969
|
+
* Null when the card has no photo.
|
|
15019
15970
|
*/
|
|
15020
|
-
|
|
15971
|
+
image_url: string | null;
|
|
15021
15972
|
|
|
15022
15973
|
/**
|
|
15023
|
-
*
|
|
15974
|
+
* Null when the card has no last name.
|
|
15024
15975
|
*/
|
|
15025
|
-
|
|
15976
|
+
last_name: string | null;
|
|
15026
15977
|
}
|
|
15027
15978
|
|
|
15028
15979
|
/**
|
|
15029
|
-
* An environment. Production is
|
|
15030
|
-
* `{"
|
|
15031
|
-
*
|
|
15980
|
+
* An environment, identified by name. Production is
|
|
15981
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
15982
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
15032
15983
|
*/
|
|
15033
15984
|
export interface Environment {
|
|
15034
|
-
|
|
15035
|
-
* Null for Production.
|
|
15036
|
-
*/
|
|
15037
|
-
id: string | null;
|
|
15038
|
-
|
|
15039
|
-
type: 'production' | 'environment';
|
|
15985
|
+
name: string;
|
|
15040
15986
|
|
|
15041
|
-
|
|
15987
|
+
type: 'environment';
|
|
15042
15988
|
}
|
|
15043
15989
|
|
|
15044
15990
|
/**
|
|
@@ -15109,7 +16055,7 @@ export interface WebhookSubscriptionRoutingHeadersSetWebhookEvent {
|
|
|
15109
16055
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
15110
16056
|
* describes the transition. Created and deleted events carry only the object that
|
|
15111
16057
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
15112
|
-
* only inside `change
|
|
16058
|
+
* only inside `change`.
|
|
15113
16059
|
*/
|
|
15114
16060
|
data: WebhookSubscriptionRoutingHeadersSetWebhookEvent.Data;
|
|
15115
16061
|
|
|
@@ -15221,7 +16167,7 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
|
|
|
15221
16167
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
15222
16168
|
* describes the transition. Created and deleted events carry only the object that
|
|
15223
16169
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
15224
|
-
* only inside `change
|
|
16170
|
+
* only inside `change`.
|
|
15225
16171
|
*/
|
|
15226
16172
|
export interface Data {
|
|
15227
16173
|
/**
|
|
@@ -15260,8 +16206,9 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
|
|
|
15260
16206
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
15261
16207
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
15262
16208
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
15263
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
15264
|
-
* instead of `from` and `to
|
|
16209
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
16210
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
16211
|
+
* present only when that field changed.
|
|
15265
16212
|
*/
|
|
15266
16213
|
change?: Data.Change;
|
|
15267
16214
|
|
|
@@ -15271,9 +16218,9 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
|
|
|
15271
16218
|
contact_card?: Data.ContactCard;
|
|
15272
16219
|
|
|
15273
16220
|
/**
|
|
15274
|
-
* An environment. Production is
|
|
15275
|
-
* `{"
|
|
15276
|
-
*
|
|
16221
|
+
* An environment, identified by name. Production is
|
|
16222
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
16223
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
15277
16224
|
*/
|
|
15278
16225
|
environment?: Data.Environment;
|
|
15279
16226
|
|
|
@@ -15365,20 +16312,33 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
|
|
|
15365
16312
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
15366
16313
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
15367
16314
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
15368
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
15369
|
-
* instead of `from` and `to
|
|
16315
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
16316
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
16317
|
+
* present only when that field changed.
|
|
15370
16318
|
*/
|
|
15371
16319
|
export interface Change {
|
|
16320
|
+
/**
|
|
16321
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
16322
|
+
* that changed.
|
|
16323
|
+
*/
|
|
16324
|
+
first_name?: Change.FirstName;
|
|
16325
|
+
|
|
15372
16326
|
/**
|
|
15373
16327
|
* The value before the change; null when there was none.
|
|
15374
16328
|
*/
|
|
15375
16329
|
from?: unknown;
|
|
15376
16330
|
|
|
15377
16331
|
/**
|
|
15378
|
-
* A
|
|
15379
|
-
* changed.
|
|
16332
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
16333
|
+
* that changed.
|
|
15380
16334
|
*/
|
|
15381
|
-
|
|
16335
|
+
image_url?: Change.ImageURL;
|
|
16336
|
+
|
|
16337
|
+
/**
|
|
16338
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
16339
|
+
* that changed.
|
|
16340
|
+
*/
|
|
16341
|
+
last_name?: Change.LastName;
|
|
15382
16342
|
|
|
15383
16343
|
/**
|
|
15384
16344
|
* The value after the change; null when it was cleared.
|
|
@@ -15388,17 +16348,49 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
|
|
|
15388
16348
|
|
|
15389
16349
|
export namespace Change {
|
|
15390
16350
|
/**
|
|
15391
|
-
* A
|
|
15392
|
-
* changed.
|
|
16351
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
16352
|
+
* that changed.
|
|
16353
|
+
*/
|
|
16354
|
+
export interface FirstName {
|
|
16355
|
+
/**
|
|
16356
|
+
* The value before the change; null when the card had none.
|
|
16357
|
+
*/
|
|
16358
|
+
from: string | null;
|
|
16359
|
+
|
|
16360
|
+
/**
|
|
16361
|
+
* The value after the change; null when it was removed.
|
|
16362
|
+
*/
|
|
16363
|
+
to: string | null;
|
|
16364
|
+
}
|
|
16365
|
+
|
|
16366
|
+
/**
|
|
16367
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
16368
|
+
* that changed.
|
|
16369
|
+
*/
|
|
16370
|
+
export interface ImageURL {
|
|
16371
|
+
/**
|
|
16372
|
+
* The value before the change; null when the card had none.
|
|
16373
|
+
*/
|
|
16374
|
+
from: string | null;
|
|
16375
|
+
|
|
16376
|
+
/**
|
|
16377
|
+
* The value after the change; null when it was removed.
|
|
16378
|
+
*/
|
|
16379
|
+
to: string | null;
|
|
16380
|
+
}
|
|
16381
|
+
|
|
16382
|
+
/**
|
|
16383
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
16384
|
+
* that changed.
|
|
15393
16385
|
*/
|
|
15394
|
-
export interface
|
|
16386
|
+
export interface LastName {
|
|
15395
16387
|
/**
|
|
15396
|
-
* The
|
|
16388
|
+
* The value before the change; null when the card had none.
|
|
15397
16389
|
*/
|
|
15398
16390
|
from: string | null;
|
|
15399
16391
|
|
|
15400
16392
|
/**
|
|
15401
|
-
* The
|
|
16393
|
+
* The value after the change; null when it was removed.
|
|
15402
16394
|
*/
|
|
15403
16395
|
to: string | null;
|
|
15404
16396
|
}
|
|
@@ -15410,31 +16402,28 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
|
|
|
15410
16402
|
export interface ContactCard {
|
|
15411
16403
|
id: string;
|
|
15412
16404
|
|
|
16405
|
+
first_name: string;
|
|
16406
|
+
|
|
15413
16407
|
/**
|
|
15414
|
-
*
|
|
16408
|
+
* Null when the card has no photo.
|
|
15415
16409
|
*/
|
|
15416
|
-
|
|
16410
|
+
image_url: string | null;
|
|
15417
16411
|
|
|
15418
16412
|
/**
|
|
15419
|
-
*
|
|
16413
|
+
* Null when the card has no last name.
|
|
15420
16414
|
*/
|
|
15421
|
-
|
|
16415
|
+
last_name: string | null;
|
|
15422
16416
|
}
|
|
15423
16417
|
|
|
15424
16418
|
/**
|
|
15425
|
-
* An environment. Production is
|
|
15426
|
-
* `{"
|
|
15427
|
-
*
|
|
16419
|
+
* An environment, identified by name. Production is
|
|
16420
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
16421
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
15428
16422
|
*/
|
|
15429
16423
|
export interface Environment {
|
|
15430
|
-
|
|
15431
|
-
* Null for Production.
|
|
15432
|
-
*/
|
|
15433
|
-
id: string | null;
|
|
15434
|
-
|
|
15435
|
-
type: 'production' | 'environment';
|
|
16424
|
+
name: string;
|
|
15436
16425
|
|
|
15437
|
-
|
|
16426
|
+
type: 'environment';
|
|
15438
16427
|
}
|
|
15439
16428
|
|
|
15440
16429
|
/**
|
|
@@ -15505,7 +16494,7 @@ export interface WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
|
|
|
15505
16494
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
15506
16495
|
* describes the transition. Created and deleted events carry only the object that
|
|
15507
16496
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
15508
|
-
* only inside `change
|
|
16497
|
+
* only inside `change`.
|
|
15509
16498
|
*/
|
|
15510
16499
|
data: WebhookSubscriptionRoutingHeadersClearedWebhookEvent.Data;
|
|
15511
16500
|
|
|
@@ -15617,7 +16606,7 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
|
|
|
15617
16606
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
15618
16607
|
* describes the transition. Created and deleted events carry only the object that
|
|
15619
16608
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
15620
|
-
* only inside `change
|
|
16609
|
+
* only inside `change`.
|
|
15621
16610
|
*/
|
|
15622
16611
|
export interface Data {
|
|
15623
16612
|
/**
|
|
@@ -15656,8 +16645,9 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
|
|
|
15656
16645
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
15657
16646
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
15658
16647
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
15659
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
15660
|
-
* instead of `from` and `to
|
|
16648
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
16649
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
16650
|
+
* present only when that field changed.
|
|
15661
16651
|
*/
|
|
15662
16652
|
change?: Data.Change;
|
|
15663
16653
|
|
|
@@ -15667,9 +16657,9 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
|
|
|
15667
16657
|
contact_card?: Data.ContactCard;
|
|
15668
16658
|
|
|
15669
16659
|
/**
|
|
15670
|
-
* An environment. Production is
|
|
15671
|
-
* `{"
|
|
15672
|
-
*
|
|
16660
|
+
* An environment, identified by name. Production is
|
|
16661
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
16662
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
15673
16663
|
*/
|
|
15674
16664
|
environment?: Data.Environment;
|
|
15675
16665
|
|
|
@@ -15761,20 +16751,33 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
|
|
|
15761
16751
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
15762
16752
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
15763
16753
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
15764
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
15765
|
-
* instead of `from` and `to
|
|
16754
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
16755
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
16756
|
+
* present only when that field changed.
|
|
15766
16757
|
*/
|
|
15767
16758
|
export interface Change {
|
|
16759
|
+
/**
|
|
16760
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
16761
|
+
* that changed.
|
|
16762
|
+
*/
|
|
16763
|
+
first_name?: Change.FirstName;
|
|
16764
|
+
|
|
15768
16765
|
/**
|
|
15769
16766
|
* The value before the change; null when there was none.
|
|
15770
16767
|
*/
|
|
15771
16768
|
from?: unknown;
|
|
15772
16769
|
|
|
15773
16770
|
/**
|
|
15774
|
-
* A
|
|
15775
|
-
* changed.
|
|
16771
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
16772
|
+
* that changed.
|
|
16773
|
+
*/
|
|
16774
|
+
image_url?: Change.ImageURL;
|
|
16775
|
+
|
|
16776
|
+
/**
|
|
16777
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
16778
|
+
* that changed.
|
|
15776
16779
|
*/
|
|
15777
|
-
|
|
16780
|
+
last_name?: Change.LastName;
|
|
15778
16781
|
|
|
15779
16782
|
/**
|
|
15780
16783
|
* The value after the change; null when it was cleared.
|
|
@@ -15784,17 +16787,49 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
|
|
|
15784
16787
|
|
|
15785
16788
|
export namespace Change {
|
|
15786
16789
|
/**
|
|
15787
|
-
* A
|
|
15788
|
-
* changed.
|
|
16790
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
16791
|
+
* that changed.
|
|
16792
|
+
*/
|
|
16793
|
+
export interface FirstName {
|
|
16794
|
+
/**
|
|
16795
|
+
* The value before the change; null when the card had none.
|
|
16796
|
+
*/
|
|
16797
|
+
from: string | null;
|
|
16798
|
+
|
|
16799
|
+
/**
|
|
16800
|
+
* The value after the change; null when it was removed.
|
|
16801
|
+
*/
|
|
16802
|
+
to: string | null;
|
|
16803
|
+
}
|
|
16804
|
+
|
|
16805
|
+
/**
|
|
16806
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
16807
|
+
* that changed.
|
|
16808
|
+
*/
|
|
16809
|
+
export interface ImageURL {
|
|
16810
|
+
/**
|
|
16811
|
+
* The value before the change; null when the card had none.
|
|
16812
|
+
*/
|
|
16813
|
+
from: string | null;
|
|
16814
|
+
|
|
16815
|
+
/**
|
|
16816
|
+
* The value after the change; null when it was removed.
|
|
16817
|
+
*/
|
|
16818
|
+
to: string | null;
|
|
16819
|
+
}
|
|
16820
|
+
|
|
16821
|
+
/**
|
|
16822
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
16823
|
+
* that changed.
|
|
15789
16824
|
*/
|
|
15790
|
-
export interface
|
|
16825
|
+
export interface LastName {
|
|
15791
16826
|
/**
|
|
15792
|
-
* The
|
|
16827
|
+
* The value before the change; null when the card had none.
|
|
15793
16828
|
*/
|
|
15794
16829
|
from: string | null;
|
|
15795
16830
|
|
|
15796
16831
|
/**
|
|
15797
|
-
* The
|
|
16832
|
+
* The value after the change; null when it was removed.
|
|
15798
16833
|
*/
|
|
15799
16834
|
to: string | null;
|
|
15800
16835
|
}
|
|
@@ -15806,31 +16841,28 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
|
|
|
15806
16841
|
export interface ContactCard {
|
|
15807
16842
|
id: string;
|
|
15808
16843
|
|
|
16844
|
+
first_name: string;
|
|
16845
|
+
|
|
15809
16846
|
/**
|
|
15810
|
-
*
|
|
16847
|
+
* Null when the card has no photo.
|
|
15811
16848
|
*/
|
|
15812
|
-
|
|
16849
|
+
image_url: string | null;
|
|
15813
16850
|
|
|
15814
16851
|
/**
|
|
15815
|
-
*
|
|
16852
|
+
* Null when the card has no last name.
|
|
15816
16853
|
*/
|
|
15817
|
-
|
|
16854
|
+
last_name: string | null;
|
|
15818
16855
|
}
|
|
15819
16856
|
|
|
15820
16857
|
/**
|
|
15821
|
-
* An environment. Production is
|
|
15822
|
-
* `{"
|
|
15823
|
-
*
|
|
16858
|
+
* An environment, identified by name. Production is
|
|
16859
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
16860
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
15824
16861
|
*/
|
|
15825
16862
|
export interface Environment {
|
|
15826
|
-
|
|
15827
|
-
* Null for Production.
|
|
15828
|
-
*/
|
|
15829
|
-
id: string | null;
|
|
15830
|
-
|
|
15831
|
-
type: 'production' | 'environment';
|
|
16863
|
+
name: string;
|
|
15832
16864
|
|
|
15833
|
-
|
|
16865
|
+
type: 'environment';
|
|
15834
16866
|
}
|
|
15835
16867
|
|
|
15836
16868
|
/**
|
|
@@ -15901,7 +16933,7 @@ export interface TeamMemberAddedWebhookEvent {
|
|
|
15901
16933
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
15902
16934
|
* describes the transition. Created and deleted events carry only the object that
|
|
15903
16935
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
15904
|
-
* only inside `change
|
|
16936
|
+
* only inside `change`.
|
|
15905
16937
|
*/
|
|
15906
16938
|
data: TeamMemberAddedWebhookEvent.Data;
|
|
15907
16939
|
|
|
@@ -16013,7 +17045,7 @@ export namespace TeamMemberAddedWebhookEvent {
|
|
|
16013
17045
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
16014
17046
|
* describes the transition. Created and deleted events carry only the object that
|
|
16015
17047
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
16016
|
-
* only inside `change
|
|
17048
|
+
* only inside `change`.
|
|
16017
17049
|
*/
|
|
16018
17050
|
export interface Data {
|
|
16019
17051
|
/**
|
|
@@ -16052,8 +17084,9 @@ export namespace TeamMemberAddedWebhookEvent {
|
|
|
16052
17084
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
16053
17085
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
16054
17086
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
16055
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
16056
|
-
* instead of `from` and `to
|
|
17087
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
17088
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
17089
|
+
* present only when that field changed.
|
|
16057
17090
|
*/
|
|
16058
17091
|
change?: Data.Change;
|
|
16059
17092
|
|
|
@@ -16063,9 +17096,9 @@ export namespace TeamMemberAddedWebhookEvent {
|
|
|
16063
17096
|
contact_card?: Data.ContactCard;
|
|
16064
17097
|
|
|
16065
17098
|
/**
|
|
16066
|
-
* An environment. Production is
|
|
16067
|
-
* `{"
|
|
16068
|
-
*
|
|
17099
|
+
* An environment, identified by name. Production is
|
|
17100
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
17101
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
16069
17102
|
*/
|
|
16070
17103
|
environment?: Data.Environment;
|
|
16071
17104
|
|
|
@@ -16157,20 +17190,33 @@ export namespace TeamMemberAddedWebhookEvent {
|
|
|
16157
17190
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
16158
17191
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
16159
17192
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
16160
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
16161
|
-
* instead of `from` and `to
|
|
17193
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
17194
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
17195
|
+
* present only when that field changed.
|
|
16162
17196
|
*/
|
|
16163
17197
|
export interface Change {
|
|
17198
|
+
/**
|
|
17199
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
17200
|
+
* that changed.
|
|
17201
|
+
*/
|
|
17202
|
+
first_name?: Change.FirstName;
|
|
17203
|
+
|
|
16164
17204
|
/**
|
|
16165
17205
|
* The value before the change; null when there was none.
|
|
16166
17206
|
*/
|
|
16167
17207
|
from?: unknown;
|
|
16168
17208
|
|
|
16169
17209
|
/**
|
|
16170
|
-
* A
|
|
16171
|
-
* changed.
|
|
17210
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
17211
|
+
* that changed.
|
|
17212
|
+
*/
|
|
17213
|
+
image_url?: Change.ImageURL;
|
|
17214
|
+
|
|
17215
|
+
/**
|
|
17216
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
17217
|
+
* that changed.
|
|
16172
17218
|
*/
|
|
16173
|
-
|
|
17219
|
+
last_name?: Change.LastName;
|
|
16174
17220
|
|
|
16175
17221
|
/**
|
|
16176
17222
|
* The value after the change; null when it was cleared.
|
|
@@ -16180,17 +17226,49 @@ export namespace TeamMemberAddedWebhookEvent {
|
|
|
16180
17226
|
|
|
16181
17227
|
export namespace Change {
|
|
16182
17228
|
/**
|
|
16183
|
-
* A
|
|
16184
|
-
* changed.
|
|
17229
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
17230
|
+
* that changed.
|
|
17231
|
+
*/
|
|
17232
|
+
export interface FirstName {
|
|
17233
|
+
/**
|
|
17234
|
+
* The value before the change; null when the card had none.
|
|
17235
|
+
*/
|
|
17236
|
+
from: string | null;
|
|
17237
|
+
|
|
17238
|
+
/**
|
|
17239
|
+
* The value after the change; null when it was removed.
|
|
17240
|
+
*/
|
|
17241
|
+
to: string | null;
|
|
17242
|
+
}
|
|
17243
|
+
|
|
17244
|
+
/**
|
|
17245
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
17246
|
+
* that changed.
|
|
17247
|
+
*/
|
|
17248
|
+
export interface ImageURL {
|
|
17249
|
+
/**
|
|
17250
|
+
* The value before the change; null when the card had none.
|
|
17251
|
+
*/
|
|
17252
|
+
from: string | null;
|
|
17253
|
+
|
|
17254
|
+
/**
|
|
17255
|
+
* The value after the change; null when it was removed.
|
|
17256
|
+
*/
|
|
17257
|
+
to: string | null;
|
|
17258
|
+
}
|
|
17259
|
+
|
|
17260
|
+
/**
|
|
17261
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
17262
|
+
* that changed.
|
|
16185
17263
|
*/
|
|
16186
|
-
export interface
|
|
17264
|
+
export interface LastName {
|
|
16187
17265
|
/**
|
|
16188
|
-
* The
|
|
17266
|
+
* The value before the change; null when the card had none.
|
|
16189
17267
|
*/
|
|
16190
17268
|
from: string | null;
|
|
16191
17269
|
|
|
16192
17270
|
/**
|
|
16193
|
-
* The
|
|
17271
|
+
* The value after the change; null when it was removed.
|
|
16194
17272
|
*/
|
|
16195
17273
|
to: string | null;
|
|
16196
17274
|
}
|
|
@@ -16202,31 +17280,28 @@ export namespace TeamMemberAddedWebhookEvent {
|
|
|
16202
17280
|
export interface ContactCard {
|
|
16203
17281
|
id: string;
|
|
16204
17282
|
|
|
17283
|
+
first_name: string;
|
|
17284
|
+
|
|
16205
17285
|
/**
|
|
16206
|
-
*
|
|
17286
|
+
* Null when the card has no photo.
|
|
16207
17287
|
*/
|
|
16208
|
-
|
|
17288
|
+
image_url: string | null;
|
|
16209
17289
|
|
|
16210
17290
|
/**
|
|
16211
|
-
*
|
|
17291
|
+
* Null when the card has no last name.
|
|
16212
17292
|
*/
|
|
16213
|
-
|
|
17293
|
+
last_name: string | null;
|
|
16214
17294
|
}
|
|
16215
17295
|
|
|
16216
17296
|
/**
|
|
16217
|
-
* An environment. Production is
|
|
16218
|
-
* `{"
|
|
16219
|
-
*
|
|
17297
|
+
* An environment, identified by name. Production is
|
|
17298
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
17299
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
16220
17300
|
*/
|
|
16221
17301
|
export interface Environment {
|
|
16222
|
-
|
|
16223
|
-
* Null for Production.
|
|
16224
|
-
*/
|
|
16225
|
-
id: string | null;
|
|
16226
|
-
|
|
16227
|
-
type: 'production' | 'environment';
|
|
17302
|
+
name: string;
|
|
16228
17303
|
|
|
16229
|
-
|
|
17304
|
+
type: 'environment';
|
|
16230
17305
|
}
|
|
16231
17306
|
|
|
16232
17307
|
/**
|
|
@@ -16297,7 +17372,7 @@ export interface TeamMemberSignedInWebhookEvent {
|
|
|
16297
17372
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
16298
17373
|
* describes the transition. Created and deleted events carry only the object that
|
|
16299
17374
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
16300
|
-
* only inside `change
|
|
17375
|
+
* only inside `change`.
|
|
16301
17376
|
*/
|
|
16302
17377
|
data: TeamMemberSignedInWebhookEvent.Data;
|
|
16303
17378
|
|
|
@@ -16409,7 +17484,7 @@ export namespace TeamMemberSignedInWebhookEvent {
|
|
|
16409
17484
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
16410
17485
|
* describes the transition. Created and deleted events carry only the object that
|
|
16411
17486
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
16412
|
-
* only inside `change
|
|
17487
|
+
* only inside `change`.
|
|
16413
17488
|
*/
|
|
16414
17489
|
export interface Data {
|
|
16415
17490
|
/**
|
|
@@ -16448,8 +17523,9 @@ export namespace TeamMemberSignedInWebhookEvent {
|
|
|
16448
17523
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
16449
17524
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
16450
17525
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
16451
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
16452
|
-
* instead of `from` and `to
|
|
17526
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
17527
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
17528
|
+
* present only when that field changed.
|
|
16453
17529
|
*/
|
|
16454
17530
|
change?: Data.Change;
|
|
16455
17531
|
|
|
@@ -16459,9 +17535,9 @@ export namespace TeamMemberSignedInWebhookEvent {
|
|
|
16459
17535
|
contact_card?: Data.ContactCard;
|
|
16460
17536
|
|
|
16461
17537
|
/**
|
|
16462
|
-
* An environment. Production is
|
|
16463
|
-
* `{"
|
|
16464
|
-
*
|
|
17538
|
+
* An environment, identified by name. Production is
|
|
17539
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
17540
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
16465
17541
|
*/
|
|
16466
17542
|
environment?: Data.Environment;
|
|
16467
17543
|
|
|
@@ -16553,20 +17629,33 @@ export namespace TeamMemberSignedInWebhookEvent {
|
|
|
16553
17629
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
16554
17630
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
16555
17631
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
16556
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
16557
|
-
* instead of `from` and `to
|
|
17632
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
17633
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
17634
|
+
* present only when that field changed.
|
|
16558
17635
|
*/
|
|
16559
17636
|
export interface Change {
|
|
17637
|
+
/**
|
|
17638
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
17639
|
+
* that changed.
|
|
17640
|
+
*/
|
|
17641
|
+
first_name?: Change.FirstName;
|
|
17642
|
+
|
|
16560
17643
|
/**
|
|
16561
17644
|
* The value before the change; null when there was none.
|
|
16562
17645
|
*/
|
|
16563
17646
|
from?: unknown;
|
|
16564
17647
|
|
|
16565
17648
|
/**
|
|
16566
|
-
* A
|
|
16567
|
-
* changed.
|
|
17649
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
17650
|
+
* that changed.
|
|
17651
|
+
*/
|
|
17652
|
+
image_url?: Change.ImageURL;
|
|
17653
|
+
|
|
17654
|
+
/**
|
|
17655
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
17656
|
+
* that changed.
|
|
16568
17657
|
*/
|
|
16569
|
-
|
|
17658
|
+
last_name?: Change.LastName;
|
|
16570
17659
|
|
|
16571
17660
|
/**
|
|
16572
17661
|
* The value after the change; null when it was cleared.
|
|
@@ -16576,17 +17665,49 @@ export namespace TeamMemberSignedInWebhookEvent {
|
|
|
16576
17665
|
|
|
16577
17666
|
export namespace Change {
|
|
16578
17667
|
/**
|
|
16579
|
-
* A
|
|
16580
|
-
* changed.
|
|
17668
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
17669
|
+
* that changed.
|
|
16581
17670
|
*/
|
|
16582
|
-
export interface
|
|
17671
|
+
export interface FirstName {
|
|
16583
17672
|
/**
|
|
16584
|
-
* The
|
|
17673
|
+
* The value before the change; null when the card had none.
|
|
16585
17674
|
*/
|
|
16586
17675
|
from: string | null;
|
|
16587
17676
|
|
|
16588
17677
|
/**
|
|
16589
|
-
* The
|
|
17678
|
+
* The value after the change; null when it was removed.
|
|
17679
|
+
*/
|
|
17680
|
+
to: string | null;
|
|
17681
|
+
}
|
|
17682
|
+
|
|
17683
|
+
/**
|
|
17684
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
17685
|
+
* that changed.
|
|
17686
|
+
*/
|
|
17687
|
+
export interface ImageURL {
|
|
17688
|
+
/**
|
|
17689
|
+
* The value before the change; null when the card had none.
|
|
17690
|
+
*/
|
|
17691
|
+
from: string | null;
|
|
17692
|
+
|
|
17693
|
+
/**
|
|
17694
|
+
* The value after the change; null when it was removed.
|
|
17695
|
+
*/
|
|
17696
|
+
to: string | null;
|
|
17697
|
+
}
|
|
17698
|
+
|
|
17699
|
+
/**
|
|
17700
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
17701
|
+
* that changed.
|
|
17702
|
+
*/
|
|
17703
|
+
export interface LastName {
|
|
17704
|
+
/**
|
|
17705
|
+
* The value before the change; null when the card had none.
|
|
17706
|
+
*/
|
|
17707
|
+
from: string | null;
|
|
17708
|
+
|
|
17709
|
+
/**
|
|
17710
|
+
* The value after the change; null when it was removed.
|
|
16590
17711
|
*/
|
|
16591
17712
|
to: string | null;
|
|
16592
17713
|
}
|
|
@@ -16598,31 +17719,28 @@ export namespace TeamMemberSignedInWebhookEvent {
|
|
|
16598
17719
|
export interface ContactCard {
|
|
16599
17720
|
id: string;
|
|
16600
17721
|
|
|
17722
|
+
first_name: string;
|
|
17723
|
+
|
|
16601
17724
|
/**
|
|
16602
|
-
*
|
|
17725
|
+
* Null when the card has no photo.
|
|
16603
17726
|
*/
|
|
16604
|
-
|
|
17727
|
+
image_url: string | null;
|
|
16605
17728
|
|
|
16606
17729
|
/**
|
|
16607
|
-
*
|
|
17730
|
+
* Null when the card has no last name.
|
|
16608
17731
|
*/
|
|
16609
|
-
|
|
17732
|
+
last_name: string | null;
|
|
16610
17733
|
}
|
|
16611
17734
|
|
|
16612
17735
|
/**
|
|
16613
|
-
* An environment. Production is
|
|
16614
|
-
* `{"
|
|
16615
|
-
*
|
|
17736
|
+
* An environment, identified by name. Production is
|
|
17737
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
17738
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
16616
17739
|
*/
|
|
16617
17740
|
export interface Environment {
|
|
16618
|
-
|
|
16619
|
-
* Null for Production.
|
|
16620
|
-
*/
|
|
16621
|
-
id: string | null;
|
|
16622
|
-
|
|
16623
|
-
type: 'production' | 'environment';
|
|
17741
|
+
name: string;
|
|
16624
17742
|
|
|
16625
|
-
|
|
17743
|
+
type: 'environment';
|
|
16626
17744
|
}
|
|
16627
17745
|
|
|
16628
17746
|
/**
|
|
@@ -16693,7 +17811,7 @@ export interface TeamMemberSignedOutWebhookEvent {
|
|
|
16693
17811
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
16694
17812
|
* describes the transition. Created and deleted events carry only the object that
|
|
16695
17813
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
16696
|
-
* only inside `change
|
|
17814
|
+
* only inside `change`.
|
|
16697
17815
|
*/
|
|
16698
17816
|
data: TeamMemberSignedOutWebhookEvent.Data;
|
|
16699
17817
|
|
|
@@ -16805,7 +17923,7 @@ export namespace TeamMemberSignedOutWebhookEvent {
|
|
|
16805
17923
|
* `phone_number`, `team_member`) identify what changed; on update events `change`
|
|
16806
17924
|
* describes the transition. Created and deleted events carry only the object that
|
|
16807
17925
|
* was created or deleted. Fields are absent when they don't apply; `null` appears
|
|
16808
|
-
* only inside `change
|
|
17926
|
+
* only inside `change`.
|
|
16809
17927
|
*/
|
|
16810
17928
|
export interface Data {
|
|
16811
17929
|
/**
|
|
@@ -16844,8 +17962,9 @@ export namespace TeamMemberSignedOutWebhookEvent {
|
|
|
16844
17962
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
16845
17963
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
16846
17964
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
16847
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
16848
|
-
* instead of `from` and `to
|
|
17965
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
17966
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
17967
|
+
* present only when that field changed.
|
|
16849
17968
|
*/
|
|
16850
17969
|
change?: Data.Change;
|
|
16851
17970
|
|
|
@@ -16855,9 +17974,9 @@ export namespace TeamMemberSignedOutWebhookEvent {
|
|
|
16855
17974
|
contact_card?: Data.ContactCard;
|
|
16856
17975
|
|
|
16857
17976
|
/**
|
|
16858
|
-
* An environment. Production is
|
|
16859
|
-
* `{"
|
|
16860
|
-
*
|
|
17977
|
+
* An environment, identified by name. Production is
|
|
17978
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
17979
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
16861
17980
|
*/
|
|
16862
17981
|
environment?: Data.Environment;
|
|
16863
17982
|
|
|
@@ -16949,20 +18068,33 @@ export namespace TeamMemberSignedOutWebhookEvent {
|
|
|
16949
18068
|
* `webhook_subscription.routing_headers_*`); created, deleted, enabled, disabled,
|
|
16950
18069
|
* expired and activated events never carry it. `null` means none: `to: null` means
|
|
16951
18070
|
* cleared and `from: null` means first set. The value type depends on the event
|
|
16952
|
-
* and is given in each event's description. `contact_card.updated` uses
|
|
16953
|
-
* instead of `from` and `to
|
|
18071
|
+
* and is given in each event's description. `contact_card.updated` uses
|
|
18072
|
+
* `first_name`, `last_name` and `image_url` instead of `from` and `to`, each
|
|
18073
|
+
* present only when that field changed.
|
|
16954
18074
|
*/
|
|
16955
18075
|
export interface Change {
|
|
18076
|
+
/**
|
|
18077
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
18078
|
+
* that changed.
|
|
18079
|
+
*/
|
|
18080
|
+
first_name?: Change.FirstName;
|
|
18081
|
+
|
|
16956
18082
|
/**
|
|
16957
18083
|
* The value before the change; null when there was none.
|
|
16958
18084
|
*/
|
|
16959
18085
|
from?: unknown;
|
|
16960
18086
|
|
|
16961
18087
|
/**
|
|
16962
|
-
* A
|
|
16963
|
-
* changed.
|
|
18088
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
18089
|
+
* that changed.
|
|
16964
18090
|
*/
|
|
16965
|
-
|
|
18091
|
+
image_url?: Change.ImageURL;
|
|
18092
|
+
|
|
18093
|
+
/**
|
|
18094
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
18095
|
+
* that changed.
|
|
18096
|
+
*/
|
|
18097
|
+
last_name?: Change.LastName;
|
|
16966
18098
|
|
|
16967
18099
|
/**
|
|
16968
18100
|
* The value after the change; null when it was cleared.
|
|
@@ -16972,17 +18104,49 @@ export namespace TeamMemberSignedOutWebhookEvent {
|
|
|
16972
18104
|
|
|
16973
18105
|
export namespace Change {
|
|
16974
18106
|
/**
|
|
16975
|
-
* A
|
|
16976
|
-
* changed.
|
|
18107
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
18108
|
+
* that changed.
|
|
18109
|
+
*/
|
|
18110
|
+
export interface FirstName {
|
|
18111
|
+
/**
|
|
18112
|
+
* The value before the change; null when the card had none.
|
|
18113
|
+
*/
|
|
18114
|
+
from: string | null;
|
|
18115
|
+
|
|
18116
|
+
/**
|
|
18117
|
+
* The value after the change; null when it was removed.
|
|
18118
|
+
*/
|
|
18119
|
+
to: string | null;
|
|
18120
|
+
}
|
|
18121
|
+
|
|
18122
|
+
/**
|
|
18123
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
18124
|
+
* that changed.
|
|
18125
|
+
*/
|
|
18126
|
+
export interface ImageURL {
|
|
18127
|
+
/**
|
|
18128
|
+
* The value before the change; null when the card had none.
|
|
18129
|
+
*/
|
|
18130
|
+
from: string | null;
|
|
18131
|
+
|
|
18132
|
+
/**
|
|
18133
|
+
* The value after the change; null when it was removed.
|
|
18134
|
+
*/
|
|
18135
|
+
to: string | null;
|
|
18136
|
+
}
|
|
18137
|
+
|
|
18138
|
+
/**
|
|
18139
|
+
* A single field's change, on `contact_card.updated`. Present only for the field
|
|
18140
|
+
* that changed.
|
|
16977
18141
|
*/
|
|
16978
|
-
export interface
|
|
18142
|
+
export interface LastName {
|
|
16979
18143
|
/**
|
|
16980
|
-
* The
|
|
18144
|
+
* The value before the change; null when the card had none.
|
|
16981
18145
|
*/
|
|
16982
18146
|
from: string | null;
|
|
16983
18147
|
|
|
16984
18148
|
/**
|
|
16985
|
-
* The
|
|
18149
|
+
* The value after the change; null when it was removed.
|
|
16986
18150
|
*/
|
|
16987
18151
|
to: string | null;
|
|
16988
18152
|
}
|
|
@@ -16994,31 +18158,28 @@ export namespace TeamMemberSignedOutWebhookEvent {
|
|
|
16994
18158
|
export interface ContactCard {
|
|
16995
18159
|
id: string;
|
|
16996
18160
|
|
|
18161
|
+
first_name: string;
|
|
18162
|
+
|
|
16997
18163
|
/**
|
|
16998
|
-
*
|
|
18164
|
+
* Null when the card has no photo.
|
|
16999
18165
|
*/
|
|
17000
|
-
|
|
18166
|
+
image_url: string | null;
|
|
17001
18167
|
|
|
17002
18168
|
/**
|
|
17003
|
-
*
|
|
18169
|
+
* Null when the card has no last name.
|
|
17004
18170
|
*/
|
|
17005
|
-
|
|
18171
|
+
last_name: string | null;
|
|
17006
18172
|
}
|
|
17007
18173
|
|
|
17008
18174
|
/**
|
|
17009
|
-
* An environment. Production is
|
|
17010
|
-
* `{"
|
|
17011
|
-
*
|
|
18175
|
+
* An environment, identified by name. Production is
|
|
18176
|
+
* `{"name": "Production", "type": "environment"}`; a named environment you created
|
|
18177
|
+
* (e.g. "Staging") looks the same shape, just with its own name.
|
|
17012
18178
|
*/
|
|
17013
18179
|
export interface Environment {
|
|
17014
|
-
|
|
17015
|
-
* Null for Production.
|
|
17016
|
-
*/
|
|
17017
|
-
id: string | null;
|
|
17018
|
-
|
|
17019
|
-
type: 'production' | 'environment';
|
|
18180
|
+
name: string;
|
|
17020
18181
|
|
|
17021
|
-
|
|
18182
|
+
type: 'environment';
|
|
17022
18183
|
}
|
|
17023
18184
|
|
|
17024
18185
|
/**
|