@linqapp/sdk 0.72.0 → 0.72.1

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.
@@ -4590,7 +4590,7 @@ export interface ZeroDayRetentionUpdatedWebhookEvent {
4590
4590
  * `phone_number`, `team_member`) identify what changed; on update events `change`
4591
4591
  * describes the transition. Created and deleted events carry only the object that
4592
4592
  * was created or deleted. Fields are absent when they don't apply; `null` appears
4593
- * only inside `change` and as Production's environment `id`.
4593
+ * only inside `change`.
4594
4594
  */
4595
4595
  data: ZeroDayRetentionUpdatedWebhookEvent.Data;
4596
4596
  /**
@@ -4621,7 +4621,7 @@ export declare namespace ZeroDayRetentionUpdatedWebhookEvent {
4621
4621
  * `phone_number`, `team_member`) identify what changed; on update events `change`
4622
4622
  * describes the transition. Created and deleted events carry only the object that
4623
4623
  * was created or deleted. Fields are absent when they don't apply; `null` appears
4624
- * only inside `change` and as Production's environment `id`.
4624
+ * only inside `change`.
4625
4625
  */
4626
4626
  interface Data {
4627
4627
  /**
@@ -4664,9 +4664,9 @@ export declare namespace ZeroDayRetentionUpdatedWebhookEvent {
4664
4664
  */
4665
4665
  contact_card?: Data.ContactCard;
4666
4666
  /**
4667
- * An environment. Production is
4668
- * `{"id": null, "name": "Production", "type": "production"}`; every other
4669
- * environment has an `id` and type `environment`.
4667
+ * An environment, identified by name. Production is
4668
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
4669
+ * (e.g. "Staging") looks the same shape, just with its own name.
4670
4670
  */
4671
4671
  environment?: Data.Environment;
4672
4672
  /**
@@ -4792,17 +4792,13 @@ export declare namespace ZeroDayRetentionUpdatedWebhookEvent {
4792
4792
  photo_updated?: boolean;
4793
4793
  }
4794
4794
  /**
4795
- * An environment. Production is
4796
- * `{"id": null, "name": "Production", "type": "production"}`; every other
4797
- * environment has an `id` and type `environment`.
4795
+ * An environment, identified by name. Production is
4796
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
4797
+ * (e.g. "Staging") looks the same shape, just with its own name.
4798
4798
  */
4799
4799
  interface Environment {
4800
- /**
4801
- * Null for Production.
4802
- */
4803
- id: string | null;
4804
- type: 'production' | 'environment';
4805
- name?: string;
4800
+ name: string;
4801
+ type: 'environment';
4806
4802
  }
4807
4803
  /**
4808
4804
  * The team member the event is about.
@@ -4864,7 +4860,7 @@ export interface PhoneNumberForwardingUpdatedWebhookEvent {
4864
4860
  * `phone_number`, `team_member`) identify what changed; on update events `change`
4865
4861
  * describes the transition. Created and deleted events carry only the object that
4866
4862
  * was created or deleted. Fields are absent when they don't apply; `null` appears
4867
- * only inside `change` and as Production's environment `id`.
4863
+ * only inside `change`.
4868
4864
  */
4869
4865
  data: PhoneNumberForwardingUpdatedWebhookEvent.Data;
4870
4866
  /**
@@ -4895,7 +4891,7 @@ export declare namespace PhoneNumberForwardingUpdatedWebhookEvent {
4895
4891
  * `phone_number`, `team_member`) identify what changed; on update events `change`
4896
4892
  * describes the transition. Created and deleted events carry only the object that
4897
4893
  * was created or deleted. Fields are absent when they don't apply; `null` appears
4898
- * only inside `change` and as Production's environment `id`.
4894
+ * only inside `change`.
4899
4895
  */
4900
4896
  interface Data {
4901
4897
  /**
@@ -4938,9 +4934,9 @@ export declare namespace PhoneNumberForwardingUpdatedWebhookEvent {
4938
4934
  */
4939
4935
  contact_card?: Data.ContactCard;
4940
4936
  /**
4941
- * An environment. Production is
4942
- * `{"id": null, "name": "Production", "type": "production"}`; every other
4943
- * environment has an `id` and type `environment`.
4937
+ * An environment, identified by name. Production is
4938
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
4939
+ * (e.g. "Staging") looks the same shape, just with its own name.
4944
4940
  */
4945
4941
  environment?: Data.Environment;
4946
4942
  /**
@@ -5066,17 +5062,13 @@ export declare namespace PhoneNumberForwardingUpdatedWebhookEvent {
5066
5062
  photo_updated?: boolean;
5067
5063
  }
5068
5064
  /**
5069
- * An environment. Production is
5070
- * `{"id": null, "name": "Production", "type": "production"}`; every other
5071
- * environment has an `id` and type `environment`.
5065
+ * An environment, identified by name. Production is
5066
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
5067
+ * (e.g. "Staging") looks the same shape, just with its own name.
5072
5068
  */
5073
5069
  interface Environment {
5074
- /**
5075
- * Null for Production.
5076
- */
5077
- id: string | null;
5078
- type: 'production' | 'environment';
5079
- name?: string;
5070
+ name: string;
5071
+ type: 'environment';
5080
5072
  }
5081
5073
  /**
5082
5074
  * The team member the event is about.
@@ -5138,7 +5130,7 @@ export interface EnvironmentLineMovedWebhookEvent {
5138
5130
  * `phone_number`, `team_member`) identify what changed; on update events `change`
5139
5131
  * describes the transition. Created and deleted events carry only the object that
5140
5132
  * was created or deleted. Fields are absent when they don't apply; `null` appears
5141
- * only inside `change` and as Production's environment `id`.
5133
+ * only inside `change`.
5142
5134
  */
5143
5135
  data: EnvironmentLineMovedWebhookEvent.Data;
5144
5136
  /**
@@ -5169,7 +5161,7 @@ export declare namespace EnvironmentLineMovedWebhookEvent {
5169
5161
  * `phone_number`, `team_member`) identify what changed; on update events `change`
5170
5162
  * describes the transition. Created and deleted events carry only the object that
5171
5163
  * was created or deleted. Fields are absent when they don't apply; `null` appears
5172
- * only inside `change` and as Production's environment `id`.
5164
+ * only inside `change`.
5173
5165
  */
5174
5166
  interface Data {
5175
5167
  /**
@@ -5212,9 +5204,9 @@ export declare namespace EnvironmentLineMovedWebhookEvent {
5212
5204
  */
5213
5205
  contact_card?: Data.ContactCard;
5214
5206
  /**
5215
- * An environment. Production is
5216
- * `{"id": null, "name": "Production", "type": "production"}`; every other
5217
- * environment has an `id` and type `environment`.
5207
+ * An environment, identified by name. Production is
5208
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
5209
+ * (e.g. "Staging") looks the same shape, just with its own name.
5218
5210
  */
5219
5211
  environment?: Data.Environment;
5220
5212
  /**
@@ -5340,17 +5332,13 @@ export declare namespace EnvironmentLineMovedWebhookEvent {
5340
5332
  photo_updated?: boolean;
5341
5333
  }
5342
5334
  /**
5343
- * An environment. Production is
5344
- * `{"id": null, "name": "Production", "type": "production"}`; every other
5345
- * environment has an `id` and type `environment`.
5335
+ * An environment, identified by name. Production is
5336
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
5337
+ * (e.g. "Staging") looks the same shape, just with its own name.
5346
5338
  */
5347
5339
  interface Environment {
5348
- /**
5349
- * Null for Production.
5350
- */
5351
- id: string | null;
5352
- type: 'production' | 'environment';
5353
- name?: string;
5340
+ name: string;
5341
+ type: 'environment';
5354
5342
  }
5355
5343
  /**
5356
5344
  * The team member the event is about.
@@ -5412,7 +5400,7 @@ export interface ContactCardCreatedWebhookEvent {
5412
5400
  * `phone_number`, `team_member`) identify what changed; on update events `change`
5413
5401
  * describes the transition. Created and deleted events carry only the object that
5414
5402
  * was created or deleted. Fields are absent when they don't apply; `null` appears
5415
- * only inside `change` and as Production's environment `id`.
5403
+ * only inside `change`.
5416
5404
  */
5417
5405
  data: ContactCardCreatedWebhookEvent.Data;
5418
5406
  /**
@@ -5443,7 +5431,7 @@ export declare namespace ContactCardCreatedWebhookEvent {
5443
5431
  * `phone_number`, `team_member`) identify what changed; on update events `change`
5444
5432
  * describes the transition. Created and deleted events carry only the object that
5445
5433
  * was created or deleted. Fields are absent when they don't apply; `null` appears
5446
- * only inside `change` and as Production's environment `id`.
5434
+ * only inside `change`.
5447
5435
  */
5448
5436
  interface Data {
5449
5437
  /**
@@ -5486,9 +5474,9 @@ export declare namespace ContactCardCreatedWebhookEvent {
5486
5474
  */
5487
5475
  contact_card?: Data.ContactCard;
5488
5476
  /**
5489
- * An environment. Production is
5490
- * `{"id": null, "name": "Production", "type": "production"}`; every other
5491
- * environment has an `id` and type `environment`.
5477
+ * An environment, identified by name. Production is
5478
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
5479
+ * (e.g. "Staging") looks the same shape, just with its own name.
5492
5480
  */
5493
5481
  environment?: Data.Environment;
5494
5482
  /**
@@ -5614,17 +5602,13 @@ export declare namespace ContactCardCreatedWebhookEvent {
5614
5602
  photo_updated?: boolean;
5615
5603
  }
5616
5604
  /**
5617
- * An environment. Production is
5618
- * `{"id": null, "name": "Production", "type": "production"}`; every other
5619
- * environment has an `id` and type `environment`.
5605
+ * An environment, identified by name. Production is
5606
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
5607
+ * (e.g. "Staging") looks the same shape, just with its own name.
5620
5608
  */
5621
5609
  interface Environment {
5622
- /**
5623
- * Null for Production.
5624
- */
5625
- id: string | null;
5626
- type: 'production' | 'environment';
5627
- name?: string;
5610
+ name: string;
5611
+ type: 'environment';
5628
5612
  }
5629
5613
  /**
5630
5614
  * The team member the event is about.
@@ -5686,7 +5670,7 @@ export interface ContactCardUpdatedWebhookEvent {
5686
5670
  * `phone_number`, `team_member`) identify what changed; on update events `change`
5687
5671
  * describes the transition. Created and deleted events carry only the object that
5688
5672
  * was created or deleted. Fields are absent when they don't apply; `null` appears
5689
- * only inside `change` and as Production's environment `id`.
5673
+ * only inside `change`.
5690
5674
  */
5691
5675
  data: ContactCardUpdatedWebhookEvent.Data;
5692
5676
  /**
@@ -5717,7 +5701,7 @@ export declare namespace ContactCardUpdatedWebhookEvent {
5717
5701
  * `phone_number`, `team_member`) identify what changed; on update events `change`
5718
5702
  * describes the transition. Created and deleted events carry only the object that
5719
5703
  * was created or deleted. Fields are absent when they don't apply; `null` appears
5720
- * only inside `change` and as Production's environment `id`.
5704
+ * only inside `change`.
5721
5705
  */
5722
5706
  interface Data {
5723
5707
  /**
@@ -5760,9 +5744,9 @@ export declare namespace ContactCardUpdatedWebhookEvent {
5760
5744
  */
5761
5745
  contact_card?: Data.ContactCard;
5762
5746
  /**
5763
- * An environment. Production is
5764
- * `{"id": null, "name": "Production", "type": "production"}`; every other
5765
- * environment has an `id` and type `environment`.
5747
+ * An environment, identified by name. Production is
5748
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
5749
+ * (e.g. "Staging") looks the same shape, just with its own name.
5766
5750
  */
5767
5751
  environment?: Data.Environment;
5768
5752
  /**
@@ -5888,17 +5872,13 @@ export declare namespace ContactCardUpdatedWebhookEvent {
5888
5872
  photo_updated?: boolean;
5889
5873
  }
5890
5874
  /**
5891
- * An environment. Production is
5892
- * `{"id": null, "name": "Production", "type": "production"}`; every other
5893
- * environment has an `id` and type `environment`.
5875
+ * An environment, identified by name. Production is
5876
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
5877
+ * (e.g. "Staging") looks the same shape, just with its own name.
5894
5878
  */
5895
5879
  interface Environment {
5896
- /**
5897
- * Null for Production.
5898
- */
5899
- id: string | null;
5900
- type: 'production' | 'environment';
5901
- name?: string;
5880
+ name: string;
5881
+ type: 'environment';
5902
5882
  }
5903
5883
  /**
5904
5884
  * The team member the event is about.
@@ -5960,7 +5940,7 @@ export interface ContactCardDeletedWebhookEvent {
5960
5940
  * `phone_number`, `team_member`) identify what changed; on update events `change`
5961
5941
  * describes the transition. Created and deleted events carry only the object that
5962
5942
  * was created or deleted. Fields are absent when they don't apply; `null` appears
5963
- * only inside `change` and as Production's environment `id`.
5943
+ * only inside `change`.
5964
5944
  */
5965
5945
  data: ContactCardDeletedWebhookEvent.Data;
5966
5946
  /**
@@ -5991,7 +5971,7 @@ export declare namespace ContactCardDeletedWebhookEvent {
5991
5971
  * `phone_number`, `team_member`) identify what changed; on update events `change`
5992
5972
  * describes the transition. Created and deleted events carry only the object that
5993
5973
  * was created or deleted. Fields are absent when they don't apply; `null` appears
5994
- * only inside `change` and as Production's environment `id`.
5974
+ * only inside `change`.
5995
5975
  */
5996
5976
  interface Data {
5997
5977
  /**
@@ -6034,9 +6014,9 @@ export declare namespace ContactCardDeletedWebhookEvent {
6034
6014
  */
6035
6015
  contact_card?: Data.ContactCard;
6036
6016
  /**
6037
- * An environment. Production is
6038
- * `{"id": null, "name": "Production", "type": "production"}`; every other
6039
- * environment has an `id` and type `environment`.
6017
+ * An environment, identified by name. Production is
6018
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
6019
+ * (e.g. "Staging") looks the same shape, just with its own name.
6040
6020
  */
6041
6021
  environment?: Data.Environment;
6042
6022
  /**
@@ -6162,17 +6142,13 @@ export declare namespace ContactCardDeletedWebhookEvent {
6162
6142
  photo_updated?: boolean;
6163
6143
  }
6164
6144
  /**
6165
- * An environment. Production is
6166
- * `{"id": null, "name": "Production", "type": "production"}`; every other
6167
- * environment has an `id` and type `environment`.
6145
+ * An environment, identified by name. Production is
6146
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
6147
+ * (e.g. "Staging") looks the same shape, just with its own name.
6168
6148
  */
6169
6149
  interface Environment {
6170
- /**
6171
- * Null for Production.
6172
- */
6173
- id: string | null;
6174
- type: 'production' | 'environment';
6175
- name?: string;
6150
+ name: string;
6151
+ type: 'environment';
6176
6152
  }
6177
6153
  /**
6178
6154
  * The team member the event is about.
@@ -6234,7 +6210,7 @@ export interface APITokenCreatedWebhookEvent {
6234
6210
  * `phone_number`, `team_member`) identify what changed; on update events `change`
6235
6211
  * describes the transition. Created and deleted events carry only the object that
6236
6212
  * was created or deleted. Fields are absent when they don't apply; `null` appears
6237
- * only inside `change` and as Production's environment `id`.
6213
+ * only inside `change`.
6238
6214
  */
6239
6215
  data: APITokenCreatedWebhookEvent.Data;
6240
6216
  /**
@@ -6265,7 +6241,7 @@ export declare namespace APITokenCreatedWebhookEvent {
6265
6241
  * `phone_number`, `team_member`) identify what changed; on update events `change`
6266
6242
  * describes the transition. Created and deleted events carry only the object that
6267
6243
  * was created or deleted. Fields are absent when they don't apply; `null` appears
6268
- * only inside `change` and as Production's environment `id`.
6244
+ * only inside `change`.
6269
6245
  */
6270
6246
  interface Data {
6271
6247
  /**
@@ -6308,9 +6284,9 @@ export declare namespace APITokenCreatedWebhookEvent {
6308
6284
  */
6309
6285
  contact_card?: Data.ContactCard;
6310
6286
  /**
6311
- * An environment. Production is
6312
- * `{"id": null, "name": "Production", "type": "production"}`; every other
6313
- * environment has an `id` and type `environment`.
6287
+ * An environment, identified by name. Production is
6288
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
6289
+ * (e.g. "Staging") looks the same shape, just with its own name.
6314
6290
  */
6315
6291
  environment?: Data.Environment;
6316
6292
  /**
@@ -6436,17 +6412,13 @@ export declare namespace APITokenCreatedWebhookEvent {
6436
6412
  photo_updated?: boolean;
6437
6413
  }
6438
6414
  /**
6439
- * An environment. Production is
6440
- * `{"id": null, "name": "Production", "type": "production"}`; every other
6441
- * environment has an `id` and type `environment`.
6415
+ * An environment, identified by name. Production is
6416
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
6417
+ * (e.g. "Staging") looks the same shape, just with its own name.
6442
6418
  */
6443
6419
  interface Environment {
6444
- /**
6445
- * Null for Production.
6446
- */
6447
- id: string | null;
6448
- type: 'production' | 'environment';
6449
- name?: string;
6420
+ name: string;
6421
+ type: 'environment';
6450
6422
  }
6451
6423
  /**
6452
6424
  * The team member the event is about.
@@ -6508,7 +6480,7 @@ export interface APITokenRenamedWebhookEvent {
6508
6480
  * `phone_number`, `team_member`) identify what changed; on update events `change`
6509
6481
  * describes the transition. Created and deleted events carry only the object that
6510
6482
  * was created or deleted. Fields are absent when they don't apply; `null` appears
6511
- * only inside `change` and as Production's environment `id`.
6483
+ * only inside `change`.
6512
6484
  */
6513
6485
  data: APITokenRenamedWebhookEvent.Data;
6514
6486
  /**
@@ -6539,7 +6511,7 @@ export declare namespace APITokenRenamedWebhookEvent {
6539
6511
  * `phone_number`, `team_member`) identify what changed; on update events `change`
6540
6512
  * describes the transition. Created and deleted events carry only the object that
6541
6513
  * was created or deleted. Fields are absent when they don't apply; `null` appears
6542
- * only inside `change` and as Production's environment `id`.
6514
+ * only inside `change`.
6543
6515
  */
6544
6516
  interface Data {
6545
6517
  /**
@@ -6582,9 +6554,9 @@ export declare namespace APITokenRenamedWebhookEvent {
6582
6554
  */
6583
6555
  contact_card?: Data.ContactCard;
6584
6556
  /**
6585
- * An environment. Production is
6586
- * `{"id": null, "name": "Production", "type": "production"}`; every other
6587
- * environment has an `id` and type `environment`.
6557
+ * An environment, identified by name. Production is
6558
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
6559
+ * (e.g. "Staging") looks the same shape, just with its own name.
6588
6560
  */
6589
6561
  environment?: Data.Environment;
6590
6562
  /**
@@ -6710,17 +6682,13 @@ export declare namespace APITokenRenamedWebhookEvent {
6710
6682
  photo_updated?: boolean;
6711
6683
  }
6712
6684
  /**
6713
- * An environment. Production is
6714
- * `{"id": null, "name": "Production", "type": "production"}`; every other
6715
- * environment has an `id` and type `environment`.
6685
+ * An environment, identified by name. Production is
6686
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
6687
+ * (e.g. "Staging") looks the same shape, just with its own name.
6716
6688
  */
6717
6689
  interface Environment {
6718
- /**
6719
- * Null for Production.
6720
- */
6721
- id: string | null;
6722
- type: 'production' | 'environment';
6723
- name?: string;
6690
+ name: string;
6691
+ type: 'environment';
6724
6692
  }
6725
6693
  /**
6726
6694
  * The team member the event is about.
@@ -6782,7 +6750,7 @@ export interface APITokenExpiryScheduledWebhookEvent {
6782
6750
  * `phone_number`, `team_member`) identify what changed; on update events `change`
6783
6751
  * describes the transition. Created and deleted events carry only the object that
6784
6752
  * was created or deleted. Fields are absent when they don't apply; `null` appears
6785
- * only inside `change` and as Production's environment `id`.
6753
+ * only inside `change`.
6786
6754
  */
6787
6755
  data: APITokenExpiryScheduledWebhookEvent.Data;
6788
6756
  /**
@@ -6813,7 +6781,7 @@ export declare namespace APITokenExpiryScheduledWebhookEvent {
6813
6781
  * `phone_number`, `team_member`) identify what changed; on update events `change`
6814
6782
  * describes the transition. Created and deleted events carry only the object that
6815
6783
  * was created or deleted. Fields are absent when they don't apply; `null` appears
6816
- * only inside `change` and as Production's environment `id`.
6784
+ * only inside `change`.
6817
6785
  */
6818
6786
  interface Data {
6819
6787
  /**
@@ -6856,9 +6824,9 @@ export declare namespace APITokenExpiryScheduledWebhookEvent {
6856
6824
  */
6857
6825
  contact_card?: Data.ContactCard;
6858
6826
  /**
6859
- * An environment. Production is
6860
- * `{"id": null, "name": "Production", "type": "production"}`; every other
6861
- * environment has an `id` and type `environment`.
6827
+ * An environment, identified by name. Production is
6828
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
6829
+ * (e.g. "Staging") looks the same shape, just with its own name.
6862
6830
  */
6863
6831
  environment?: Data.Environment;
6864
6832
  /**
@@ -6984,17 +6952,13 @@ export declare namespace APITokenExpiryScheduledWebhookEvent {
6984
6952
  photo_updated?: boolean;
6985
6953
  }
6986
6954
  /**
6987
- * An environment. Production is
6988
- * `{"id": null, "name": "Production", "type": "production"}`; every other
6989
- * environment has an `id` and type `environment`.
6955
+ * An environment, identified by name. Production is
6956
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
6957
+ * (e.g. "Staging") looks the same shape, just with its own name.
6990
6958
  */
6991
6959
  interface Environment {
6992
- /**
6993
- * Null for Production.
6994
- */
6995
- id: string | null;
6996
- type: 'production' | 'environment';
6997
- name?: string;
6960
+ name: string;
6961
+ type: 'environment';
6998
6962
  }
6999
6963
  /**
7000
6964
  * The team member the event is about.
@@ -7056,7 +7020,7 @@ export interface APITokenExpiredWebhookEvent {
7056
7020
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7057
7021
  * describes the transition. Created and deleted events carry only the object that
7058
7022
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7059
- * only inside `change` and as Production's environment `id`.
7023
+ * only inside `change`.
7060
7024
  */
7061
7025
  data: APITokenExpiredWebhookEvent.Data;
7062
7026
  /**
@@ -7087,7 +7051,7 @@ export declare namespace APITokenExpiredWebhookEvent {
7087
7051
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7088
7052
  * describes the transition. Created and deleted events carry only the object that
7089
7053
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7090
- * only inside `change` and as Production's environment `id`.
7054
+ * only inside `change`.
7091
7055
  */
7092
7056
  interface Data {
7093
7057
  /**
@@ -7130,9 +7094,9 @@ export declare namespace APITokenExpiredWebhookEvent {
7130
7094
  */
7131
7095
  contact_card?: Data.ContactCard;
7132
7096
  /**
7133
- * An environment. Production is
7134
- * `{"id": null, "name": "Production", "type": "production"}`; every other
7135
- * environment has an `id` and type `environment`.
7097
+ * An environment, identified by name. Production is
7098
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
7099
+ * (e.g. "Staging") looks the same shape, just with its own name.
7136
7100
  */
7137
7101
  environment?: Data.Environment;
7138
7102
  /**
@@ -7258,17 +7222,13 @@ export declare namespace APITokenExpiredWebhookEvent {
7258
7222
  photo_updated?: boolean;
7259
7223
  }
7260
7224
  /**
7261
- * An environment. Production is
7262
- * `{"id": null, "name": "Production", "type": "production"}`; every other
7263
- * environment has an `id` and type `environment`.
7225
+ * An environment, identified by name. Production is
7226
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
7227
+ * (e.g. "Staging") looks the same shape, just with its own name.
7264
7228
  */
7265
7229
  interface Environment {
7266
- /**
7267
- * Null for Production.
7268
- */
7269
- id: string | null;
7270
- type: 'production' | 'environment';
7271
- name?: string;
7230
+ name: string;
7231
+ type: 'environment';
7272
7232
  }
7273
7233
  /**
7274
7234
  * The team member the event is about.
@@ -7330,7 +7290,7 @@ export interface APITokenActivatedWebhookEvent {
7330
7290
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7331
7291
  * describes the transition. Created and deleted events carry only the object that
7332
7292
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7333
- * only inside `change` and as Production's environment `id`.
7293
+ * only inside `change`.
7334
7294
  */
7335
7295
  data: APITokenActivatedWebhookEvent.Data;
7336
7296
  /**
@@ -7361,7 +7321,7 @@ export declare namespace APITokenActivatedWebhookEvent {
7361
7321
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7362
7322
  * describes the transition. Created and deleted events carry only the object that
7363
7323
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7364
- * only inside `change` and as Production's environment `id`.
7324
+ * only inside `change`.
7365
7325
  */
7366
7326
  interface Data {
7367
7327
  /**
@@ -7404,9 +7364,9 @@ export declare namespace APITokenActivatedWebhookEvent {
7404
7364
  */
7405
7365
  contact_card?: Data.ContactCard;
7406
7366
  /**
7407
- * An environment. Production is
7408
- * `{"id": null, "name": "Production", "type": "production"}`; every other
7409
- * environment has an `id` and type `environment`.
7367
+ * An environment, identified by name. Production is
7368
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
7369
+ * (e.g. "Staging") looks the same shape, just with its own name.
7410
7370
  */
7411
7371
  environment?: Data.Environment;
7412
7372
  /**
@@ -7532,17 +7492,13 @@ export declare namespace APITokenActivatedWebhookEvent {
7532
7492
  photo_updated?: boolean;
7533
7493
  }
7534
7494
  /**
7535
- * An environment. Production is
7536
- * `{"id": null, "name": "Production", "type": "production"}`; every other
7537
- * environment has an `id` and type `environment`.
7495
+ * An environment, identified by name. Production is
7496
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
7497
+ * (e.g. "Staging") looks the same shape, just with its own name.
7538
7498
  */
7539
7499
  interface Environment {
7540
- /**
7541
- * Null for Production.
7542
- */
7543
- id: string | null;
7544
- type: 'production' | 'environment';
7545
- name?: string;
7500
+ name: string;
7501
+ type: 'environment';
7546
7502
  }
7547
7503
  /**
7548
7504
  * The team member the event is about.
@@ -7604,7 +7560,7 @@ export interface APITokenDeletedWebhookEvent {
7604
7560
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7605
7561
  * describes the transition. Created and deleted events carry only the object that
7606
7562
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7607
- * only inside `change` and as Production's environment `id`.
7563
+ * only inside `change`.
7608
7564
  */
7609
7565
  data: APITokenDeletedWebhookEvent.Data;
7610
7566
  /**
@@ -7635,7 +7591,7 @@ export declare namespace APITokenDeletedWebhookEvent {
7635
7591
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7636
7592
  * describes the transition. Created and deleted events carry only the object that
7637
7593
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7638
- * only inside `change` and as Production's environment `id`.
7594
+ * only inside `change`.
7639
7595
  */
7640
7596
  interface Data {
7641
7597
  /**
@@ -7678,9 +7634,9 @@ export declare namespace APITokenDeletedWebhookEvent {
7678
7634
  */
7679
7635
  contact_card?: Data.ContactCard;
7680
7636
  /**
7681
- * An environment. Production is
7682
- * `{"id": null, "name": "Production", "type": "production"}`; every other
7683
- * environment has an `id` and type `environment`.
7637
+ * An environment, identified by name. Production is
7638
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
7639
+ * (e.g. "Staging") looks the same shape, just with its own name.
7684
7640
  */
7685
7641
  environment?: Data.Environment;
7686
7642
  /**
@@ -7806,17 +7762,13 @@ export declare namespace APITokenDeletedWebhookEvent {
7806
7762
  photo_updated?: boolean;
7807
7763
  }
7808
7764
  /**
7809
- * An environment. Production is
7810
- * `{"id": null, "name": "Production", "type": "production"}`; every other
7811
- * environment has an `id` and type `environment`.
7765
+ * An environment, identified by name. Production is
7766
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
7767
+ * (e.g. "Staging") looks the same shape, just with its own name.
7812
7768
  */
7813
7769
  interface Environment {
7814
- /**
7815
- * Null for Production.
7816
- */
7817
- id: string | null;
7818
- type: 'production' | 'environment';
7819
- name?: string;
7770
+ name: string;
7771
+ type: 'environment';
7820
7772
  }
7821
7773
  /**
7822
7774
  * The team member the event is about.
@@ -7878,7 +7830,7 @@ export interface EnvironmentCreatedWebhookEvent {
7878
7830
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7879
7831
  * describes the transition. Created and deleted events carry only the object that
7880
7832
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7881
- * only inside `change` and as Production's environment `id`.
7833
+ * only inside `change`.
7882
7834
  */
7883
7835
  data: EnvironmentCreatedWebhookEvent.Data;
7884
7836
  /**
@@ -7909,7 +7861,7 @@ export declare namespace EnvironmentCreatedWebhookEvent {
7909
7861
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7910
7862
  * describes the transition. Created and deleted events carry only the object that
7911
7863
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7912
- * only inside `change` and as Production's environment `id`.
7864
+ * only inside `change`.
7913
7865
  */
7914
7866
  interface Data {
7915
7867
  /**
@@ -7952,9 +7904,9 @@ export declare namespace EnvironmentCreatedWebhookEvent {
7952
7904
  */
7953
7905
  contact_card?: Data.ContactCard;
7954
7906
  /**
7955
- * An environment. Production is
7956
- * `{"id": null, "name": "Production", "type": "production"}`; every other
7957
- * environment has an `id` and type `environment`.
7907
+ * An environment, identified by name. Production is
7908
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
7909
+ * (e.g. "Staging") looks the same shape, just with its own name.
7958
7910
  */
7959
7911
  environment?: Data.Environment;
7960
7912
  /**
@@ -8080,17 +8032,13 @@ export declare namespace EnvironmentCreatedWebhookEvent {
8080
8032
  photo_updated?: boolean;
8081
8033
  }
8082
8034
  /**
8083
- * An environment. Production is
8084
- * `{"id": null, "name": "Production", "type": "production"}`; every other
8085
- * environment has an `id` and type `environment`.
8035
+ * An environment, identified by name. Production is
8036
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
8037
+ * (e.g. "Staging") looks the same shape, just with its own name.
8086
8038
  */
8087
8039
  interface Environment {
8088
- /**
8089
- * Null for Production.
8090
- */
8091
- id: string | null;
8092
- type: 'production' | 'environment';
8093
- name?: string;
8040
+ name: string;
8041
+ type: 'environment';
8094
8042
  }
8095
8043
  /**
8096
8044
  * The team member the event is about.
@@ -8152,7 +8100,7 @@ export interface EnvironmentRenamedWebhookEvent {
8152
8100
  * `phone_number`, `team_member`) identify what changed; on update events `change`
8153
8101
  * describes the transition. Created and deleted events carry only the object that
8154
8102
  * was created or deleted. Fields are absent when they don't apply; `null` appears
8155
- * only inside `change` and as Production's environment `id`.
8103
+ * only inside `change`.
8156
8104
  */
8157
8105
  data: EnvironmentRenamedWebhookEvent.Data;
8158
8106
  /**
@@ -8183,7 +8131,7 @@ export declare namespace EnvironmentRenamedWebhookEvent {
8183
8131
  * `phone_number`, `team_member`) identify what changed; on update events `change`
8184
8132
  * describes the transition. Created and deleted events carry only the object that
8185
8133
  * was created or deleted. Fields are absent when they don't apply; `null` appears
8186
- * only inside `change` and as Production's environment `id`.
8134
+ * only inside `change`.
8187
8135
  */
8188
8136
  interface Data {
8189
8137
  /**
@@ -8226,9 +8174,9 @@ export declare namespace EnvironmentRenamedWebhookEvent {
8226
8174
  */
8227
8175
  contact_card?: Data.ContactCard;
8228
8176
  /**
8229
- * An environment. Production is
8230
- * `{"id": null, "name": "Production", "type": "production"}`; every other
8231
- * environment has an `id` and type `environment`.
8177
+ * An environment, identified by name. Production is
8178
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
8179
+ * (e.g. "Staging") looks the same shape, just with its own name.
8232
8180
  */
8233
8181
  environment?: Data.Environment;
8234
8182
  /**
@@ -8354,17 +8302,13 @@ export declare namespace EnvironmentRenamedWebhookEvent {
8354
8302
  photo_updated?: boolean;
8355
8303
  }
8356
8304
  /**
8357
- * An environment. Production is
8358
- * `{"id": null, "name": "Production", "type": "production"}`; every other
8359
- * environment has an `id` and type `environment`.
8305
+ * An environment, identified by name. Production is
8306
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
8307
+ * (e.g. "Staging") looks the same shape, just with its own name.
8360
8308
  */
8361
8309
  interface Environment {
8362
- /**
8363
- * Null for Production.
8364
- */
8365
- id: string | null;
8366
- type: 'production' | 'environment';
8367
- name?: string;
8310
+ name: string;
8311
+ type: 'environment';
8368
8312
  }
8369
8313
  /**
8370
8314
  * The team member the event is about.
@@ -8426,7 +8370,7 @@ export interface EnvironmentDeletedWebhookEvent {
8426
8370
  * `phone_number`, `team_member`) identify what changed; on update events `change`
8427
8371
  * describes the transition. Created and deleted events carry only the object that
8428
8372
  * was created or deleted. Fields are absent when they don't apply; `null` appears
8429
- * only inside `change` and as Production's environment `id`.
8373
+ * only inside `change`.
8430
8374
  */
8431
8375
  data: EnvironmentDeletedWebhookEvent.Data;
8432
8376
  /**
@@ -8457,7 +8401,7 @@ export declare namespace EnvironmentDeletedWebhookEvent {
8457
8401
  * `phone_number`, `team_member`) identify what changed; on update events `change`
8458
8402
  * describes the transition. Created and deleted events carry only the object that
8459
8403
  * was created or deleted. Fields are absent when they don't apply; `null` appears
8460
- * only inside `change` and as Production's environment `id`.
8404
+ * only inside `change`.
8461
8405
  */
8462
8406
  interface Data {
8463
8407
  /**
@@ -8500,9 +8444,9 @@ export declare namespace EnvironmentDeletedWebhookEvent {
8500
8444
  */
8501
8445
  contact_card?: Data.ContactCard;
8502
8446
  /**
8503
- * An environment. Production is
8504
- * `{"id": null, "name": "Production", "type": "production"}`; every other
8505
- * environment has an `id` and type `environment`.
8447
+ * An environment, identified by name. Production is
8448
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
8449
+ * (e.g. "Staging") looks the same shape, just with its own name.
8506
8450
  */
8507
8451
  environment?: Data.Environment;
8508
8452
  /**
@@ -8628,17 +8572,13 @@ export declare namespace EnvironmentDeletedWebhookEvent {
8628
8572
  photo_updated?: boolean;
8629
8573
  }
8630
8574
  /**
8631
- * An environment. Production is
8632
- * `{"id": null, "name": "Production", "type": "production"}`; every other
8633
- * environment has an `id` and type `environment`.
8575
+ * An environment, identified by name. Production is
8576
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
8577
+ * (e.g. "Staging") looks the same shape, just with its own name.
8634
8578
  */
8635
8579
  interface Environment {
8636
- /**
8637
- * Null for Production.
8638
- */
8639
- id: string | null;
8640
- type: 'production' | 'environment';
8641
- name?: string;
8580
+ name: string;
8581
+ type: 'environment';
8642
8582
  }
8643
8583
  /**
8644
8584
  * The team member the event is about.
@@ -8700,7 +8640,7 @@ export interface WebhookSubscriptionCreatedWebhookEvent {
8700
8640
  * `phone_number`, `team_member`) identify what changed; on update events `change`
8701
8641
  * describes the transition. Created and deleted events carry only the object that
8702
8642
  * was created or deleted. Fields are absent when they don't apply; `null` appears
8703
- * only inside `change` and as Production's environment `id`.
8643
+ * only inside `change`.
8704
8644
  */
8705
8645
  data: WebhookSubscriptionCreatedWebhookEvent.Data;
8706
8646
  /**
@@ -8731,7 +8671,7 @@ export declare namespace WebhookSubscriptionCreatedWebhookEvent {
8731
8671
  * `phone_number`, `team_member`) identify what changed; on update events `change`
8732
8672
  * describes the transition. Created and deleted events carry only the object that
8733
8673
  * was created or deleted. Fields are absent when they don't apply; `null` appears
8734
- * only inside `change` and as Production's environment `id`.
8674
+ * only inside `change`.
8735
8675
  */
8736
8676
  interface Data {
8737
8677
  /**
@@ -8774,9 +8714,9 @@ export declare namespace WebhookSubscriptionCreatedWebhookEvent {
8774
8714
  */
8775
8715
  contact_card?: Data.ContactCard;
8776
8716
  /**
8777
- * An environment. Production is
8778
- * `{"id": null, "name": "Production", "type": "production"}`; every other
8779
- * environment has an `id` and type `environment`.
8717
+ * An environment, identified by name. Production is
8718
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
8719
+ * (e.g. "Staging") looks the same shape, just with its own name.
8780
8720
  */
8781
8721
  environment?: Data.Environment;
8782
8722
  /**
@@ -8902,17 +8842,13 @@ export declare namespace WebhookSubscriptionCreatedWebhookEvent {
8902
8842
  photo_updated?: boolean;
8903
8843
  }
8904
8844
  /**
8905
- * An environment. Production is
8906
- * `{"id": null, "name": "Production", "type": "production"}`; every other
8907
- * environment has an `id` and type `environment`.
8845
+ * An environment, identified by name. Production is
8846
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
8847
+ * (e.g. "Staging") looks the same shape, just with its own name.
8908
8848
  */
8909
8849
  interface Environment {
8910
- /**
8911
- * Null for Production.
8912
- */
8913
- id: string | null;
8914
- type: 'production' | 'environment';
8915
- name?: string;
8850
+ name: string;
8851
+ type: 'environment';
8916
8852
  }
8917
8853
  /**
8918
8854
  * The team member the event is about.
@@ -8974,7 +8910,7 @@ export interface WebhookSubscriptionDeletedWebhookEvent {
8974
8910
  * `phone_number`, `team_member`) identify what changed; on update events `change`
8975
8911
  * describes the transition. Created and deleted events carry only the object that
8976
8912
  * was created or deleted. Fields are absent when they don't apply; `null` appears
8977
- * only inside `change` and as Production's environment `id`.
8913
+ * only inside `change`.
8978
8914
  */
8979
8915
  data: WebhookSubscriptionDeletedWebhookEvent.Data;
8980
8916
  /**
@@ -9005,7 +8941,7 @@ export declare namespace WebhookSubscriptionDeletedWebhookEvent {
9005
8941
  * `phone_number`, `team_member`) identify what changed; on update events `change`
9006
8942
  * describes the transition. Created and deleted events carry only the object that
9007
8943
  * was created or deleted. Fields are absent when they don't apply; `null` appears
9008
- * only inside `change` and as Production's environment `id`.
8944
+ * only inside `change`.
9009
8945
  */
9010
8946
  interface Data {
9011
8947
  /**
@@ -9048,9 +8984,9 @@ export declare namespace WebhookSubscriptionDeletedWebhookEvent {
9048
8984
  */
9049
8985
  contact_card?: Data.ContactCard;
9050
8986
  /**
9051
- * An environment. Production is
9052
- * `{"id": null, "name": "Production", "type": "production"}`; every other
9053
- * environment has an `id` and type `environment`.
8987
+ * An environment, identified by name. Production is
8988
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
8989
+ * (e.g. "Staging") looks the same shape, just with its own name.
9054
8990
  */
9055
8991
  environment?: Data.Environment;
9056
8992
  /**
@@ -9176,17 +9112,13 @@ export declare namespace WebhookSubscriptionDeletedWebhookEvent {
9176
9112
  photo_updated?: boolean;
9177
9113
  }
9178
9114
  /**
9179
- * An environment. Production is
9180
- * `{"id": null, "name": "Production", "type": "production"}`; every other
9181
- * environment has an `id` and type `environment`.
9115
+ * An environment, identified by name. Production is
9116
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
9117
+ * (e.g. "Staging") looks the same shape, just with its own name.
9182
9118
  */
9183
9119
  interface Environment {
9184
- /**
9185
- * Null for Production.
9186
- */
9187
- id: string | null;
9188
- type: 'production' | 'environment';
9189
- name?: string;
9120
+ name: string;
9121
+ type: 'environment';
9190
9122
  }
9191
9123
  /**
9192
9124
  * The team member the event is about.
@@ -9248,7 +9180,7 @@ export interface WebhookSubscriptionTargetURLChangedWebhookEvent {
9248
9180
  * `phone_number`, `team_member`) identify what changed; on update events `change`
9249
9181
  * describes the transition. Created and deleted events carry only the object that
9250
9182
  * was created or deleted. Fields are absent when they don't apply; `null` appears
9251
- * only inside `change` and as Production's environment `id`.
9183
+ * only inside `change`.
9252
9184
  */
9253
9185
  data: WebhookSubscriptionTargetURLChangedWebhookEvent.Data;
9254
9186
  /**
@@ -9279,7 +9211,7 @@ export declare namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
9279
9211
  * `phone_number`, `team_member`) identify what changed; on update events `change`
9280
9212
  * describes the transition. Created and deleted events carry only the object that
9281
9213
  * was created or deleted. Fields are absent when they don't apply; `null` appears
9282
- * only inside `change` and as Production's environment `id`.
9214
+ * only inside `change`.
9283
9215
  */
9284
9216
  interface Data {
9285
9217
  /**
@@ -9322,9 +9254,9 @@ export declare namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
9322
9254
  */
9323
9255
  contact_card?: Data.ContactCard;
9324
9256
  /**
9325
- * An environment. Production is
9326
- * `{"id": null, "name": "Production", "type": "production"}`; every other
9327
- * environment has an `id` and type `environment`.
9257
+ * An environment, identified by name. Production is
9258
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
9259
+ * (e.g. "Staging") looks the same shape, just with its own name.
9328
9260
  */
9329
9261
  environment?: Data.Environment;
9330
9262
  /**
@@ -9450,17 +9382,13 @@ export declare namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
9450
9382
  photo_updated?: boolean;
9451
9383
  }
9452
9384
  /**
9453
- * An environment. Production is
9454
- * `{"id": null, "name": "Production", "type": "production"}`; every other
9455
- * environment has an `id` and type `environment`.
9385
+ * An environment, identified by name. Production is
9386
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
9387
+ * (e.g. "Staging") looks the same shape, just with its own name.
9456
9388
  */
9457
9389
  interface Environment {
9458
- /**
9459
- * Null for Production.
9460
- */
9461
- id: string | null;
9462
- type: 'production' | 'environment';
9463
- name?: string;
9390
+ name: string;
9391
+ type: 'environment';
9464
9392
  }
9465
9393
  /**
9466
9394
  * The team member the event is about.
@@ -9522,7 +9450,7 @@ export interface WebhookSubscriptionEnabledWebhookEvent {
9522
9450
  * `phone_number`, `team_member`) identify what changed; on update events `change`
9523
9451
  * describes the transition. Created and deleted events carry only the object that
9524
9452
  * was created or deleted. Fields are absent when they don't apply; `null` appears
9525
- * only inside `change` and as Production's environment `id`.
9453
+ * only inside `change`.
9526
9454
  */
9527
9455
  data: WebhookSubscriptionEnabledWebhookEvent.Data;
9528
9456
  /**
@@ -9553,7 +9481,7 @@ export declare namespace WebhookSubscriptionEnabledWebhookEvent {
9553
9481
  * `phone_number`, `team_member`) identify what changed; on update events `change`
9554
9482
  * describes the transition. Created and deleted events carry only the object that
9555
9483
  * was created or deleted. Fields are absent when they don't apply; `null` appears
9556
- * only inside `change` and as Production's environment `id`.
9484
+ * only inside `change`.
9557
9485
  */
9558
9486
  interface Data {
9559
9487
  /**
@@ -9596,9 +9524,9 @@ export declare namespace WebhookSubscriptionEnabledWebhookEvent {
9596
9524
  */
9597
9525
  contact_card?: Data.ContactCard;
9598
9526
  /**
9599
- * An environment. Production is
9600
- * `{"id": null, "name": "Production", "type": "production"}`; every other
9601
- * environment has an `id` and type `environment`.
9527
+ * An environment, identified by name. Production is
9528
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
9529
+ * (e.g. "Staging") looks the same shape, just with its own name.
9602
9530
  */
9603
9531
  environment?: Data.Environment;
9604
9532
  /**
@@ -9724,17 +9652,13 @@ export declare namespace WebhookSubscriptionEnabledWebhookEvent {
9724
9652
  photo_updated?: boolean;
9725
9653
  }
9726
9654
  /**
9727
- * An environment. Production is
9728
- * `{"id": null, "name": "Production", "type": "production"}`; every other
9729
- * environment has an `id` and type `environment`.
9655
+ * An environment, identified by name. Production is
9656
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
9657
+ * (e.g. "Staging") looks the same shape, just with its own name.
9730
9658
  */
9731
9659
  interface Environment {
9732
- /**
9733
- * Null for Production.
9734
- */
9735
- id: string | null;
9736
- type: 'production' | 'environment';
9737
- name?: string;
9660
+ name: string;
9661
+ type: 'environment';
9738
9662
  }
9739
9663
  /**
9740
9664
  * The team member the event is about.
@@ -9796,7 +9720,7 @@ export interface WebhookSubscriptionDisabledWebhookEvent {
9796
9720
  * `phone_number`, `team_member`) identify what changed; on update events `change`
9797
9721
  * describes the transition. Created and deleted events carry only the object that
9798
9722
  * was created or deleted. Fields are absent when they don't apply; `null` appears
9799
- * only inside `change` and as Production's environment `id`.
9723
+ * only inside `change`.
9800
9724
  */
9801
9725
  data: WebhookSubscriptionDisabledWebhookEvent.Data;
9802
9726
  /**
@@ -9827,7 +9751,7 @@ export declare namespace WebhookSubscriptionDisabledWebhookEvent {
9827
9751
  * `phone_number`, `team_member`) identify what changed; on update events `change`
9828
9752
  * describes the transition. Created and deleted events carry only the object that
9829
9753
  * was created or deleted. Fields are absent when they don't apply; `null` appears
9830
- * only inside `change` and as Production's environment `id`.
9754
+ * only inside `change`.
9831
9755
  */
9832
9756
  interface Data {
9833
9757
  /**
@@ -9870,9 +9794,9 @@ export declare namespace WebhookSubscriptionDisabledWebhookEvent {
9870
9794
  */
9871
9795
  contact_card?: Data.ContactCard;
9872
9796
  /**
9873
- * An environment. Production is
9874
- * `{"id": null, "name": "Production", "type": "production"}`; every other
9875
- * environment has an `id` and type `environment`.
9797
+ * An environment, identified by name. Production is
9798
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
9799
+ * (e.g. "Staging") looks the same shape, just with its own name.
9876
9800
  */
9877
9801
  environment?: Data.Environment;
9878
9802
  /**
@@ -9998,17 +9922,13 @@ export declare namespace WebhookSubscriptionDisabledWebhookEvent {
9998
9922
  photo_updated?: boolean;
9999
9923
  }
10000
9924
  /**
10001
- * An environment. Production is
10002
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10003
- * environment has an `id` and type `environment`.
9925
+ * An environment, identified by name. Production is
9926
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
9927
+ * (e.g. "Staging") looks the same shape, just with its own name.
10004
9928
  */
10005
9929
  interface Environment {
10006
- /**
10007
- * Null for Production.
10008
- */
10009
- id: string | null;
10010
- type: 'production' | 'environment';
10011
- name?: string;
9930
+ name: string;
9931
+ type: 'environment';
10012
9932
  }
10013
9933
  /**
10014
9934
  * The team member the event is about.
@@ -10070,7 +9990,7 @@ export interface WebhookSubscriptionEventsUpdatedWebhookEvent {
10070
9990
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10071
9991
  * describes the transition. Created and deleted events carry only the object that
10072
9992
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10073
- * only inside `change` and as Production's environment `id`.
9993
+ * only inside `change`.
10074
9994
  */
10075
9995
  data: WebhookSubscriptionEventsUpdatedWebhookEvent.Data;
10076
9996
  /**
@@ -10101,7 +10021,7 @@ export declare namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
10101
10021
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10102
10022
  * describes the transition. Created and deleted events carry only the object that
10103
10023
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10104
- * only inside `change` and as Production's environment `id`.
10024
+ * only inside `change`.
10105
10025
  */
10106
10026
  interface Data {
10107
10027
  /**
@@ -10144,9 +10064,9 @@ export declare namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
10144
10064
  */
10145
10065
  contact_card?: Data.ContactCard;
10146
10066
  /**
10147
- * An environment. Production is
10148
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10149
- * environment has an `id` and type `environment`.
10067
+ * An environment, identified by name. Production is
10068
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
10069
+ * (e.g. "Staging") looks the same shape, just with its own name.
10150
10070
  */
10151
10071
  environment?: Data.Environment;
10152
10072
  /**
@@ -10272,17 +10192,13 @@ export declare namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
10272
10192
  photo_updated?: boolean;
10273
10193
  }
10274
10194
  /**
10275
- * An environment. Production is
10276
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10277
- * environment has an `id` and type `environment`.
10195
+ * An environment, identified by name. Production is
10196
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
10197
+ * (e.g. "Staging") looks the same shape, just with its own name.
10278
10198
  */
10279
10199
  interface Environment {
10280
- /**
10281
- * Null for Production.
10282
- */
10283
- id: string | null;
10284
- type: 'production' | 'environment';
10285
- name?: string;
10200
+ name: string;
10201
+ type: 'environment';
10286
10202
  }
10287
10203
  /**
10288
10204
  * The team member the event is about.
@@ -10344,7 +10260,7 @@ export interface WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
10344
10260
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10345
10261
  * describes the transition. Created and deleted events carry only the object that
10346
10262
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10347
- * only inside `change` and as Production's environment `id`.
10263
+ * only inside `change`.
10348
10264
  */
10349
10265
  data: WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent.Data;
10350
10266
  /**
@@ -10375,7 +10291,7 @@ export declare namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
10375
10291
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10376
10292
  * describes the transition. Created and deleted events carry only the object that
10377
10293
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10378
- * only inside `change` and as Production's environment `id`.
10294
+ * only inside `change`.
10379
10295
  */
10380
10296
  interface Data {
10381
10297
  /**
@@ -10418,9 +10334,9 @@ export declare namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
10418
10334
  */
10419
10335
  contact_card?: Data.ContactCard;
10420
10336
  /**
10421
- * An environment. Production is
10422
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10423
- * environment has an `id` and type `environment`.
10337
+ * An environment, identified by name. Production is
10338
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
10339
+ * (e.g. "Staging") looks the same shape, just with its own name.
10424
10340
  */
10425
10341
  environment?: Data.Environment;
10426
10342
  /**
@@ -10546,17 +10462,13 @@ export declare namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
10546
10462
  photo_updated?: boolean;
10547
10463
  }
10548
10464
  /**
10549
- * An environment. Production is
10550
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10551
- * environment has an `id` and type `environment`.
10465
+ * An environment, identified by name. Production is
10466
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
10467
+ * (e.g. "Staging") looks the same shape, just with its own name.
10552
10468
  */
10553
10469
  interface Environment {
10554
- /**
10555
- * Null for Production.
10556
- */
10557
- id: string | null;
10558
- type: 'production' | 'environment';
10559
- name?: string;
10470
+ name: string;
10471
+ type: 'environment';
10560
10472
  }
10561
10473
  /**
10562
10474
  * The team member the event is about.
@@ -10618,7 +10530,7 @@ export interface WebhookSubscriptionRoutingHeadersSetWebhookEvent {
10618
10530
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10619
10531
  * describes the transition. Created and deleted events carry only the object that
10620
10532
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10621
- * only inside `change` and as Production's environment `id`.
10533
+ * only inside `change`.
10622
10534
  */
10623
10535
  data: WebhookSubscriptionRoutingHeadersSetWebhookEvent.Data;
10624
10536
  /**
@@ -10649,7 +10561,7 @@ export declare namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
10649
10561
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10650
10562
  * describes the transition. Created and deleted events carry only the object that
10651
10563
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10652
- * only inside `change` and as Production's environment `id`.
10564
+ * only inside `change`.
10653
10565
  */
10654
10566
  interface Data {
10655
10567
  /**
@@ -10692,9 +10604,9 @@ export declare namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
10692
10604
  */
10693
10605
  contact_card?: Data.ContactCard;
10694
10606
  /**
10695
- * An environment. Production is
10696
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10697
- * environment has an `id` and type `environment`.
10607
+ * An environment, identified by name. Production is
10608
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
10609
+ * (e.g. "Staging") looks the same shape, just with its own name.
10698
10610
  */
10699
10611
  environment?: Data.Environment;
10700
10612
  /**
@@ -10820,17 +10732,13 @@ export declare namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
10820
10732
  photo_updated?: boolean;
10821
10733
  }
10822
10734
  /**
10823
- * An environment. Production is
10824
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10825
- * environment has an `id` and type `environment`.
10735
+ * An environment, identified by name. Production is
10736
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
10737
+ * (e.g. "Staging") looks the same shape, just with its own name.
10826
10738
  */
10827
10739
  interface Environment {
10828
- /**
10829
- * Null for Production.
10830
- */
10831
- id: string | null;
10832
- type: 'production' | 'environment';
10833
- name?: string;
10740
+ name: string;
10741
+ type: 'environment';
10834
10742
  }
10835
10743
  /**
10836
10744
  * The team member the event is about.
@@ -10892,7 +10800,7 @@ export interface WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
10892
10800
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10893
10801
  * describes the transition. Created and deleted events carry only the object that
10894
10802
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10895
- * only inside `change` and as Production's environment `id`.
10803
+ * only inside `change`.
10896
10804
  */
10897
10805
  data: WebhookSubscriptionRoutingHeadersClearedWebhookEvent.Data;
10898
10806
  /**
@@ -10923,7 +10831,7 @@ export declare namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
10923
10831
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10924
10832
  * describes the transition. Created and deleted events carry only the object that
10925
10833
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10926
- * only inside `change` and as Production's environment `id`.
10834
+ * only inside `change`.
10927
10835
  */
10928
10836
  interface Data {
10929
10837
  /**
@@ -10966,9 +10874,9 @@ export declare namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
10966
10874
  */
10967
10875
  contact_card?: Data.ContactCard;
10968
10876
  /**
10969
- * An environment. Production is
10970
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10971
- * environment has an `id` and type `environment`.
10877
+ * An environment, identified by name. Production is
10878
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
10879
+ * (e.g. "Staging") looks the same shape, just with its own name.
10972
10880
  */
10973
10881
  environment?: Data.Environment;
10974
10882
  /**
@@ -11094,17 +11002,13 @@ export declare namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
11094
11002
  photo_updated?: boolean;
11095
11003
  }
11096
11004
  /**
11097
- * An environment. Production is
11098
- * `{"id": null, "name": "Production", "type": "production"}`; every other
11099
- * environment has an `id` and type `environment`.
11005
+ * An environment, identified by name. Production is
11006
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
11007
+ * (e.g. "Staging") looks the same shape, just with its own name.
11100
11008
  */
11101
11009
  interface Environment {
11102
- /**
11103
- * Null for Production.
11104
- */
11105
- id: string | null;
11106
- type: 'production' | 'environment';
11107
- name?: string;
11010
+ name: string;
11011
+ type: 'environment';
11108
11012
  }
11109
11013
  /**
11110
11014
  * The team member the event is about.
@@ -11166,7 +11070,7 @@ export interface TeamMemberAddedWebhookEvent {
11166
11070
  * `phone_number`, `team_member`) identify what changed; on update events `change`
11167
11071
  * describes the transition. Created and deleted events carry only the object that
11168
11072
  * was created or deleted. Fields are absent when they don't apply; `null` appears
11169
- * only inside `change` and as Production's environment `id`.
11073
+ * only inside `change`.
11170
11074
  */
11171
11075
  data: TeamMemberAddedWebhookEvent.Data;
11172
11076
  /**
@@ -11197,7 +11101,7 @@ export declare namespace TeamMemberAddedWebhookEvent {
11197
11101
  * `phone_number`, `team_member`) identify what changed; on update events `change`
11198
11102
  * describes the transition. Created and deleted events carry only the object that
11199
11103
  * was created or deleted. Fields are absent when they don't apply; `null` appears
11200
- * only inside `change` and as Production's environment `id`.
11104
+ * only inside `change`.
11201
11105
  */
11202
11106
  interface Data {
11203
11107
  /**
@@ -11240,9 +11144,9 @@ export declare namespace TeamMemberAddedWebhookEvent {
11240
11144
  */
11241
11145
  contact_card?: Data.ContactCard;
11242
11146
  /**
11243
- * An environment. Production is
11244
- * `{"id": null, "name": "Production", "type": "production"}`; every other
11245
- * environment has an `id` and type `environment`.
11147
+ * An environment, identified by name. Production is
11148
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
11149
+ * (e.g. "Staging") looks the same shape, just with its own name.
11246
11150
  */
11247
11151
  environment?: Data.Environment;
11248
11152
  /**
@@ -11368,17 +11272,13 @@ export declare namespace TeamMemberAddedWebhookEvent {
11368
11272
  photo_updated?: boolean;
11369
11273
  }
11370
11274
  /**
11371
- * An environment. Production is
11372
- * `{"id": null, "name": "Production", "type": "production"}`; every other
11373
- * environment has an `id` and type `environment`.
11275
+ * An environment, identified by name. Production is
11276
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
11277
+ * (e.g. "Staging") looks the same shape, just with its own name.
11374
11278
  */
11375
11279
  interface Environment {
11376
- /**
11377
- * Null for Production.
11378
- */
11379
- id: string | null;
11380
- type: 'production' | 'environment';
11381
- name?: string;
11280
+ name: string;
11281
+ type: 'environment';
11382
11282
  }
11383
11283
  /**
11384
11284
  * The team member the event is about.
@@ -11440,7 +11340,7 @@ export interface TeamMemberSignedInWebhookEvent {
11440
11340
  * `phone_number`, `team_member`) identify what changed; on update events `change`
11441
11341
  * describes the transition. Created and deleted events carry only the object that
11442
11342
  * was created or deleted. Fields are absent when they don't apply; `null` appears
11443
- * only inside `change` and as Production's environment `id`.
11343
+ * only inside `change`.
11444
11344
  */
11445
11345
  data: TeamMemberSignedInWebhookEvent.Data;
11446
11346
  /**
@@ -11471,7 +11371,7 @@ export declare namespace TeamMemberSignedInWebhookEvent {
11471
11371
  * `phone_number`, `team_member`) identify what changed; on update events `change`
11472
11372
  * describes the transition. Created and deleted events carry only the object that
11473
11373
  * was created or deleted. Fields are absent when they don't apply; `null` appears
11474
- * only inside `change` and as Production's environment `id`.
11374
+ * only inside `change`.
11475
11375
  */
11476
11376
  interface Data {
11477
11377
  /**
@@ -11514,9 +11414,9 @@ export declare namespace TeamMemberSignedInWebhookEvent {
11514
11414
  */
11515
11415
  contact_card?: Data.ContactCard;
11516
11416
  /**
11517
- * An environment. Production is
11518
- * `{"id": null, "name": "Production", "type": "production"}`; every other
11519
- * environment has an `id` and type `environment`.
11417
+ * An environment, identified by name. Production is
11418
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
11419
+ * (e.g. "Staging") looks the same shape, just with its own name.
11520
11420
  */
11521
11421
  environment?: Data.Environment;
11522
11422
  /**
@@ -11642,17 +11542,13 @@ export declare namespace TeamMemberSignedInWebhookEvent {
11642
11542
  photo_updated?: boolean;
11643
11543
  }
11644
11544
  /**
11645
- * An environment. Production is
11646
- * `{"id": null, "name": "Production", "type": "production"}`; every other
11647
- * environment has an `id` and type `environment`.
11545
+ * An environment, identified by name. Production is
11546
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
11547
+ * (e.g. "Staging") looks the same shape, just with its own name.
11648
11548
  */
11649
11549
  interface Environment {
11650
- /**
11651
- * Null for Production.
11652
- */
11653
- id: string | null;
11654
- type: 'production' | 'environment';
11655
- name?: string;
11550
+ name: string;
11551
+ type: 'environment';
11656
11552
  }
11657
11553
  /**
11658
11554
  * The team member the event is about.
@@ -11714,7 +11610,7 @@ export interface TeamMemberSignedOutWebhookEvent {
11714
11610
  * `phone_number`, `team_member`) identify what changed; on update events `change`
11715
11611
  * describes the transition. Created and deleted events carry only the object that
11716
11612
  * was created or deleted. Fields are absent when they don't apply; `null` appears
11717
- * only inside `change` and as Production's environment `id`.
11613
+ * only inside `change`.
11718
11614
  */
11719
11615
  data: TeamMemberSignedOutWebhookEvent.Data;
11720
11616
  /**
@@ -11745,7 +11641,7 @@ export declare namespace TeamMemberSignedOutWebhookEvent {
11745
11641
  * `phone_number`, `team_member`) identify what changed; on update events `change`
11746
11642
  * describes the transition. Created and deleted events carry only the object that
11747
11643
  * was created or deleted. Fields are absent when they don't apply; `null` appears
11748
- * only inside `change` and as Production's environment `id`.
11644
+ * only inside `change`.
11749
11645
  */
11750
11646
  interface Data {
11751
11647
  /**
@@ -11788,9 +11684,9 @@ export declare namespace TeamMemberSignedOutWebhookEvent {
11788
11684
  */
11789
11685
  contact_card?: Data.ContactCard;
11790
11686
  /**
11791
- * An environment. Production is
11792
- * `{"id": null, "name": "Production", "type": "production"}`; every other
11793
- * environment has an `id` and type `environment`.
11687
+ * An environment, identified by name. Production is
11688
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
11689
+ * (e.g. "Staging") looks the same shape, just with its own name.
11794
11690
  */
11795
11691
  environment?: Data.Environment;
11796
11692
  /**
@@ -11916,17 +11812,13 @@ export declare namespace TeamMemberSignedOutWebhookEvent {
11916
11812
  photo_updated?: boolean;
11917
11813
  }
11918
11814
  /**
11919
- * An environment. Production is
11920
- * `{"id": null, "name": "Production", "type": "production"}`; every other
11921
- * environment has an `id` and type `environment`.
11815
+ * An environment, identified by name. Production is
11816
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
11817
+ * (e.g. "Staging") looks the same shape, just with its own name.
11922
11818
  */
11923
11819
  interface Environment {
11924
- /**
11925
- * Null for Production.
11926
- */
11927
- id: string | null;
11928
- type: 'production' | 'environment';
11929
- name?: string;
11820
+ name: string;
11821
+ type: 'environment';
11930
11822
  }
11931
11823
  /**
11932
11824
  * The team member the event is about.