@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.
@@ -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` and as Production's environment `id`.
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` and as Production's environment `id`.
6512
+ * only inside `change`.
6513
6513
  */
6514
6514
  export interface Data {
6515
6515
  /**
@@ -6559,9 +6559,9 @@ export namespace ZeroDayRetentionUpdatedWebhookEvent {
6559
6559
  contact_card?: Data.ContactCard;
6560
6560
 
6561
6561
  /**
6562
- * An environment. Production is
6563
- * `{"id": null, "name": "Production", "type": "production"}`; every other
6564
- * environment has an `id` and type `environment`.
6562
+ * An environment, identified by name. Production is
6563
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
6564
+ * (e.g. "Staging") looks the same shape, just with its own name.
6565
6565
  */
6566
6566
  environment?: Data.Environment;
6567
6567
 
@@ -6710,19 +6710,14 @@ export namespace ZeroDayRetentionUpdatedWebhookEvent {
6710
6710
  }
6711
6711
 
6712
6712
  /**
6713
- * An environment. Production is
6714
- * `{"id": null, "name": "Production", "type": "production"}`; every other
6715
- * environment has an `id` and type `environment`.
6713
+ * An environment, identified by name. Production is
6714
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
6715
+ * (e.g. "Staging") looks the same shape, just with its own name.
6716
6716
  */
6717
6717
  export interface Environment {
6718
- /**
6719
- * Null for Production.
6720
- */
6721
- id: string | null;
6722
-
6723
- type: 'production' | 'environment';
6718
+ name: string;
6724
6719
 
6725
- name?: string;
6720
+ type: 'environment';
6726
6721
  }
6727
6722
 
6728
6723
  /**
@@ -6793,7 +6788,7 @@ export interface PhoneNumberForwardingUpdatedWebhookEvent {
6793
6788
  * `phone_number`, `team_member`) identify what changed; on update events `change`
6794
6789
  * describes the transition. Created and deleted events carry only the object that
6795
6790
  * was created or deleted. Fields are absent when they don't apply; `null` appears
6796
- * only inside `change` and as Production's environment `id`.
6791
+ * only inside `change`.
6797
6792
  */
6798
6793
  data: PhoneNumberForwardingUpdatedWebhookEvent.Data;
6799
6794
 
@@ -6905,7 +6900,7 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
6905
6900
  * `phone_number`, `team_member`) identify what changed; on update events `change`
6906
6901
  * describes the transition. Created and deleted events carry only the object that
6907
6902
  * was created or deleted. Fields are absent when they don't apply; `null` appears
6908
- * only inside `change` and as Production's environment `id`.
6903
+ * only inside `change`.
6909
6904
  */
6910
6905
  export interface Data {
6911
6906
  /**
@@ -6955,9 +6950,9 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
6955
6950
  contact_card?: Data.ContactCard;
6956
6951
 
6957
6952
  /**
6958
- * An environment. Production is
6959
- * `{"id": null, "name": "Production", "type": "production"}`; every other
6960
- * environment has an `id` and type `environment`.
6953
+ * An environment, identified by name. Production is
6954
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
6955
+ * (e.g. "Staging") looks the same shape, just with its own name.
6961
6956
  */
6962
6957
  environment?: Data.Environment;
6963
6958
 
@@ -7106,19 +7101,14 @@ export namespace PhoneNumberForwardingUpdatedWebhookEvent {
7106
7101
  }
7107
7102
 
7108
7103
  /**
7109
- * An environment. Production is
7110
- * `{"id": null, "name": "Production", "type": "production"}`; every other
7111
- * environment has an `id` and type `environment`.
7104
+ * An environment, identified by name. Production is
7105
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
7106
+ * (e.g. "Staging") looks the same shape, just with its own name.
7112
7107
  */
7113
7108
  export interface Environment {
7114
- /**
7115
- * Null for Production.
7116
- */
7117
- id: string | null;
7118
-
7119
- type: 'production' | 'environment';
7109
+ name: string;
7120
7110
 
7121
- name?: string;
7111
+ type: 'environment';
7122
7112
  }
7123
7113
 
7124
7114
  /**
@@ -7189,7 +7179,7 @@ export interface EnvironmentLineMovedWebhookEvent {
7189
7179
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7190
7180
  * describes the transition. Created and deleted events carry only the object that
7191
7181
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7192
- * only inside `change` and as Production's environment `id`.
7182
+ * only inside `change`.
7193
7183
  */
7194
7184
  data: EnvironmentLineMovedWebhookEvent.Data;
7195
7185
 
@@ -7301,7 +7291,7 @@ export namespace EnvironmentLineMovedWebhookEvent {
7301
7291
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7302
7292
  * describes the transition. Created and deleted events carry only the object that
7303
7293
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7304
- * only inside `change` and as Production's environment `id`.
7294
+ * only inside `change`.
7305
7295
  */
7306
7296
  export interface Data {
7307
7297
  /**
@@ -7351,9 +7341,9 @@ export namespace EnvironmentLineMovedWebhookEvent {
7351
7341
  contact_card?: Data.ContactCard;
7352
7342
 
7353
7343
  /**
7354
- * An environment. Production is
7355
- * `{"id": null, "name": "Production", "type": "production"}`; every other
7356
- * environment has an `id` and type `environment`.
7344
+ * An environment, identified by name. Production is
7345
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
7346
+ * (e.g. "Staging") looks the same shape, just with its own name.
7357
7347
  */
7358
7348
  environment?: Data.Environment;
7359
7349
 
@@ -7502,19 +7492,14 @@ export namespace EnvironmentLineMovedWebhookEvent {
7502
7492
  }
7503
7493
 
7504
7494
  /**
7505
- * An environment. Production is
7506
- * `{"id": null, "name": "Production", "type": "production"}`; every other
7507
- * 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.
7508
7498
  */
7509
7499
  export interface Environment {
7510
- /**
7511
- * Null for Production.
7512
- */
7513
- id: string | null;
7514
-
7515
- type: 'production' | 'environment';
7500
+ name: string;
7516
7501
 
7517
- name?: string;
7502
+ type: 'environment';
7518
7503
  }
7519
7504
 
7520
7505
  /**
@@ -7585,7 +7570,7 @@ export interface ContactCardCreatedWebhookEvent {
7585
7570
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7586
7571
  * describes the transition. Created and deleted events carry only the object that
7587
7572
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7588
- * only inside `change` and as Production's environment `id`.
7573
+ * only inside `change`.
7589
7574
  */
7590
7575
  data: ContactCardCreatedWebhookEvent.Data;
7591
7576
 
@@ -7697,7 +7682,7 @@ export namespace ContactCardCreatedWebhookEvent {
7697
7682
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7698
7683
  * describes the transition. Created and deleted events carry only the object that
7699
7684
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7700
- * only inside `change` and as Production's environment `id`.
7685
+ * only inside `change`.
7701
7686
  */
7702
7687
  export interface Data {
7703
7688
  /**
@@ -7747,9 +7732,9 @@ export namespace ContactCardCreatedWebhookEvent {
7747
7732
  contact_card?: Data.ContactCard;
7748
7733
 
7749
7734
  /**
7750
- * An environment. Production is
7751
- * `{"id": null, "name": "Production", "type": "production"}`; every other
7752
- * environment has an `id` and type `environment`.
7735
+ * An environment, identified by name. Production is
7736
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
7737
+ * (e.g. "Staging") looks the same shape, just with its own name.
7753
7738
  */
7754
7739
  environment?: Data.Environment;
7755
7740
 
@@ -7898,19 +7883,14 @@ export namespace ContactCardCreatedWebhookEvent {
7898
7883
  }
7899
7884
 
7900
7885
  /**
7901
- * An environment. Production is
7902
- * `{"id": null, "name": "Production", "type": "production"}`; every other
7903
- * environment has an `id` and type `environment`.
7886
+ * An environment, identified by name. Production is
7887
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
7888
+ * (e.g. "Staging") looks the same shape, just with its own name.
7904
7889
  */
7905
7890
  export interface Environment {
7906
- /**
7907
- * Null for Production.
7908
- */
7909
- id: string | null;
7910
-
7911
- type: 'production' | 'environment';
7891
+ name: string;
7912
7892
 
7913
- name?: string;
7893
+ type: 'environment';
7914
7894
  }
7915
7895
 
7916
7896
  /**
@@ -7981,7 +7961,7 @@ export interface ContactCardUpdatedWebhookEvent {
7981
7961
  * `phone_number`, `team_member`) identify what changed; on update events `change`
7982
7962
  * describes the transition. Created and deleted events carry only the object that
7983
7963
  * was created or deleted. Fields are absent when they don't apply; `null` appears
7984
- * only inside `change` and as Production's environment `id`.
7964
+ * only inside `change`.
7985
7965
  */
7986
7966
  data: ContactCardUpdatedWebhookEvent.Data;
7987
7967
 
@@ -8093,7 +8073,7 @@ export namespace ContactCardUpdatedWebhookEvent {
8093
8073
  * `phone_number`, `team_member`) identify what changed; on update events `change`
8094
8074
  * describes the transition. Created and deleted events carry only the object that
8095
8075
  * was created or deleted. Fields are absent when they don't apply; `null` appears
8096
- * only inside `change` and as Production's environment `id`.
8076
+ * only inside `change`.
8097
8077
  */
8098
8078
  export interface Data {
8099
8079
  /**
@@ -8143,9 +8123,9 @@ export namespace ContactCardUpdatedWebhookEvent {
8143
8123
  contact_card?: Data.ContactCard;
8144
8124
 
8145
8125
  /**
8146
- * An environment. Production is
8147
- * `{"id": null, "name": "Production", "type": "production"}`; every other
8148
- * environment has an `id` and type `environment`.
8126
+ * An environment, identified by name. Production is
8127
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
8128
+ * (e.g. "Staging") looks the same shape, just with its own name.
8149
8129
  */
8150
8130
  environment?: Data.Environment;
8151
8131
 
@@ -8294,19 +8274,14 @@ export namespace ContactCardUpdatedWebhookEvent {
8294
8274
  }
8295
8275
 
8296
8276
  /**
8297
- * An environment. Production is
8298
- * `{"id": null, "name": "Production", "type": "production"}`; every other
8299
- * environment has an `id` and type `environment`.
8277
+ * An environment, identified by name. Production is
8278
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
8279
+ * (e.g. "Staging") looks the same shape, just with its own name.
8300
8280
  */
8301
8281
  export interface Environment {
8302
- /**
8303
- * Null for Production.
8304
- */
8305
- id: string | null;
8306
-
8307
- type: 'production' | 'environment';
8282
+ name: string;
8308
8283
 
8309
- name?: string;
8284
+ type: 'environment';
8310
8285
  }
8311
8286
 
8312
8287
  /**
@@ -8377,7 +8352,7 @@ export interface ContactCardDeletedWebhookEvent {
8377
8352
  * `phone_number`, `team_member`) identify what changed; on update events `change`
8378
8353
  * describes the transition. Created and deleted events carry only the object that
8379
8354
  * was created or deleted. Fields are absent when they don't apply; `null` appears
8380
- * only inside `change` and as Production's environment `id`.
8355
+ * only inside `change`.
8381
8356
  */
8382
8357
  data: ContactCardDeletedWebhookEvent.Data;
8383
8358
 
@@ -8489,7 +8464,7 @@ export namespace ContactCardDeletedWebhookEvent {
8489
8464
  * `phone_number`, `team_member`) identify what changed; on update events `change`
8490
8465
  * describes the transition. Created and deleted events carry only the object that
8491
8466
  * was created or deleted. Fields are absent when they don't apply; `null` appears
8492
- * only inside `change` and as Production's environment `id`.
8467
+ * only inside `change`.
8493
8468
  */
8494
8469
  export interface Data {
8495
8470
  /**
@@ -8539,9 +8514,9 @@ export namespace ContactCardDeletedWebhookEvent {
8539
8514
  contact_card?: Data.ContactCard;
8540
8515
 
8541
8516
  /**
8542
- * An environment. Production is
8543
- * `{"id": null, "name": "Production", "type": "production"}`; every other
8544
- * environment has an `id` and type `environment`.
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.
8545
8520
  */
8546
8521
  environment?: Data.Environment;
8547
8522
 
@@ -8690,19 +8665,14 @@ export namespace ContactCardDeletedWebhookEvent {
8690
8665
  }
8691
8666
 
8692
8667
  /**
8693
- * An environment. Production is
8694
- * `{"id": null, "name": "Production", "type": "production"}`; every other
8695
- * environment has an `id` and type `environment`.
8668
+ * An environment, identified by name. Production is
8669
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
8670
+ * (e.g. "Staging") looks the same shape, just with its own name.
8696
8671
  */
8697
8672
  export interface Environment {
8698
- /**
8699
- * Null for Production.
8700
- */
8701
- id: string | null;
8702
-
8703
- type: 'production' | 'environment';
8673
+ name: string;
8704
8674
 
8705
- name?: string;
8675
+ type: 'environment';
8706
8676
  }
8707
8677
 
8708
8678
  /**
@@ -8773,7 +8743,7 @@ export interface APITokenCreatedWebhookEvent {
8773
8743
  * `phone_number`, `team_member`) identify what changed; on update events `change`
8774
8744
  * describes the transition. Created and deleted events carry only the object that
8775
8745
  * was created or deleted. Fields are absent when they don't apply; `null` appears
8776
- * only inside `change` and as Production's environment `id`.
8746
+ * only inside `change`.
8777
8747
  */
8778
8748
  data: APITokenCreatedWebhookEvent.Data;
8779
8749
 
@@ -8885,7 +8855,7 @@ export namespace APITokenCreatedWebhookEvent {
8885
8855
  * `phone_number`, `team_member`) identify what changed; on update events `change`
8886
8856
  * describes the transition. Created and deleted events carry only the object that
8887
8857
  * was created or deleted. Fields are absent when they don't apply; `null` appears
8888
- * only inside `change` and as Production's environment `id`.
8858
+ * only inside `change`.
8889
8859
  */
8890
8860
  export interface Data {
8891
8861
  /**
@@ -8935,9 +8905,9 @@ export namespace APITokenCreatedWebhookEvent {
8935
8905
  contact_card?: Data.ContactCard;
8936
8906
 
8937
8907
  /**
8938
- * An environment. Production is
8939
- * `{"id": null, "name": "Production", "type": "production"}`; every other
8940
- * environment has an `id` and type `environment`.
8908
+ * An environment, identified by name. Production is
8909
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
8910
+ * (e.g. "Staging") looks the same shape, just with its own name.
8941
8911
  */
8942
8912
  environment?: Data.Environment;
8943
8913
 
@@ -9086,19 +9056,14 @@ export namespace APITokenCreatedWebhookEvent {
9086
9056
  }
9087
9057
 
9088
9058
  /**
9089
- * An environment. Production is
9090
- * `{"id": null, "name": "Production", "type": "production"}`; every other
9091
- * environment has an `id` and type `environment`.
9059
+ * An environment, identified by name. Production is
9060
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
9061
+ * (e.g. "Staging") looks the same shape, just with its own name.
9092
9062
  */
9093
9063
  export interface Environment {
9094
- /**
9095
- * Null for Production.
9096
- */
9097
- id: string | null;
9098
-
9099
- type: 'production' | 'environment';
9064
+ name: string;
9100
9065
 
9101
- name?: string;
9066
+ type: 'environment';
9102
9067
  }
9103
9068
 
9104
9069
  /**
@@ -9169,7 +9134,7 @@ export interface APITokenRenamedWebhookEvent {
9169
9134
  * `phone_number`, `team_member`) identify what changed; on update events `change`
9170
9135
  * describes the transition. Created and deleted events carry only the object that
9171
9136
  * was created or deleted. Fields are absent when they don't apply; `null` appears
9172
- * only inside `change` and as Production's environment `id`.
9137
+ * only inside `change`.
9173
9138
  */
9174
9139
  data: APITokenRenamedWebhookEvent.Data;
9175
9140
 
@@ -9281,7 +9246,7 @@ export namespace APITokenRenamedWebhookEvent {
9281
9246
  * `phone_number`, `team_member`) identify what changed; on update events `change`
9282
9247
  * describes the transition. Created and deleted events carry only the object that
9283
9248
  * was created or deleted. Fields are absent when they don't apply; `null` appears
9284
- * only inside `change` and as Production's environment `id`.
9249
+ * only inside `change`.
9285
9250
  */
9286
9251
  export interface Data {
9287
9252
  /**
@@ -9331,9 +9296,9 @@ export namespace APITokenRenamedWebhookEvent {
9331
9296
  contact_card?: Data.ContactCard;
9332
9297
 
9333
9298
  /**
9334
- * An environment. Production is
9335
- * `{"id": null, "name": "Production", "type": "production"}`; every other
9336
- * environment has an `id` and type `environment`.
9299
+ * An environment, identified by name. Production is
9300
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
9301
+ * (e.g. "Staging") looks the same shape, just with its own name.
9337
9302
  */
9338
9303
  environment?: Data.Environment;
9339
9304
 
@@ -9482,19 +9447,14 @@ export namespace APITokenRenamedWebhookEvent {
9482
9447
  }
9483
9448
 
9484
9449
  /**
9485
- * An environment. Production is
9486
- * `{"id": null, "name": "Production", "type": "production"}`; every other
9487
- * environment has an `id` and type `environment`.
9450
+ * An environment, identified by name. Production is
9451
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
9452
+ * (e.g. "Staging") looks the same shape, just with its own name.
9488
9453
  */
9489
9454
  export interface Environment {
9490
- /**
9491
- * Null for Production.
9492
- */
9493
- id: string | null;
9494
-
9495
- type: 'production' | 'environment';
9455
+ name: string;
9496
9456
 
9497
- name?: string;
9457
+ type: 'environment';
9498
9458
  }
9499
9459
 
9500
9460
  /**
@@ -9565,7 +9525,7 @@ export interface APITokenExpiryScheduledWebhookEvent {
9565
9525
  * `phone_number`, `team_member`) identify what changed; on update events `change`
9566
9526
  * describes the transition. Created and deleted events carry only the object that
9567
9527
  * was created or deleted. Fields are absent when they don't apply; `null` appears
9568
- * only inside `change` and as Production's environment `id`.
9528
+ * only inside `change`.
9569
9529
  */
9570
9530
  data: APITokenExpiryScheduledWebhookEvent.Data;
9571
9531
 
@@ -9677,7 +9637,7 @@ export namespace APITokenExpiryScheduledWebhookEvent {
9677
9637
  * `phone_number`, `team_member`) identify what changed; on update events `change`
9678
9638
  * describes the transition. Created and deleted events carry only the object that
9679
9639
  * was created or deleted. Fields are absent when they don't apply; `null` appears
9680
- * only inside `change` and as Production's environment `id`.
9640
+ * only inside `change`.
9681
9641
  */
9682
9642
  export interface Data {
9683
9643
  /**
@@ -9727,9 +9687,9 @@ export namespace APITokenExpiryScheduledWebhookEvent {
9727
9687
  contact_card?: Data.ContactCard;
9728
9688
 
9729
9689
  /**
9730
- * An environment. Production is
9731
- * `{"id": null, "name": "Production", "type": "production"}`; every other
9732
- * environment has an `id` and type `environment`.
9690
+ * An environment, identified by name. Production is
9691
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
9692
+ * (e.g. "Staging") looks the same shape, just with its own name.
9733
9693
  */
9734
9694
  environment?: Data.Environment;
9735
9695
 
@@ -9878,19 +9838,14 @@ export namespace APITokenExpiryScheduledWebhookEvent {
9878
9838
  }
9879
9839
 
9880
9840
  /**
9881
- * An environment. Production is
9882
- * `{"id": null, "name": "Production", "type": "production"}`; every other
9883
- * environment has an `id` and type `environment`.
9841
+ * An environment, identified by name. Production is
9842
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
9843
+ * (e.g. "Staging") looks the same shape, just with its own name.
9884
9844
  */
9885
9845
  export interface Environment {
9886
- /**
9887
- * Null for Production.
9888
- */
9889
- id: string | null;
9890
-
9891
- type: 'production' | 'environment';
9846
+ name: string;
9892
9847
 
9893
- name?: string;
9848
+ type: 'environment';
9894
9849
  }
9895
9850
 
9896
9851
  /**
@@ -9961,7 +9916,7 @@ export interface APITokenExpiredWebhookEvent {
9961
9916
  * `phone_number`, `team_member`) identify what changed; on update events `change`
9962
9917
  * describes the transition. Created and deleted events carry only the object that
9963
9918
  * was created or deleted. Fields are absent when they don't apply; `null` appears
9964
- * only inside `change` and as Production's environment `id`.
9919
+ * only inside `change`.
9965
9920
  */
9966
9921
  data: APITokenExpiredWebhookEvent.Data;
9967
9922
 
@@ -10073,7 +10028,7 @@ export namespace APITokenExpiredWebhookEvent {
10073
10028
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10074
10029
  * describes the transition. Created and deleted events carry only the object that
10075
10030
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10076
- * only inside `change` and as Production's environment `id`.
10031
+ * only inside `change`.
10077
10032
  */
10078
10033
  export interface Data {
10079
10034
  /**
@@ -10123,9 +10078,9 @@ export namespace APITokenExpiredWebhookEvent {
10123
10078
  contact_card?: Data.ContactCard;
10124
10079
 
10125
10080
  /**
10126
- * An environment. Production is
10127
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10128
- * environment has an `id` and type `environment`.
10081
+ * An environment, identified by name. Production is
10082
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
10083
+ * (e.g. "Staging") looks the same shape, just with its own name.
10129
10084
  */
10130
10085
  environment?: Data.Environment;
10131
10086
 
@@ -10274,19 +10229,14 @@ export namespace APITokenExpiredWebhookEvent {
10274
10229
  }
10275
10230
 
10276
10231
  /**
10277
- * An environment. Production is
10278
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10279
- * environment has an `id` and type `environment`.
10232
+ * An environment, identified by name. Production is
10233
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
10234
+ * (e.g. "Staging") looks the same shape, just with its own name.
10280
10235
  */
10281
10236
  export interface Environment {
10282
- /**
10283
- * Null for Production.
10284
- */
10285
- id: string | null;
10286
-
10287
- type: 'production' | 'environment';
10237
+ name: string;
10288
10238
 
10289
- name?: string;
10239
+ type: 'environment';
10290
10240
  }
10291
10241
 
10292
10242
  /**
@@ -10357,7 +10307,7 @@ export interface APITokenActivatedWebhookEvent {
10357
10307
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10358
10308
  * describes the transition. Created and deleted events carry only the object that
10359
10309
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10360
- * only inside `change` and as Production's environment `id`.
10310
+ * only inside `change`.
10361
10311
  */
10362
10312
  data: APITokenActivatedWebhookEvent.Data;
10363
10313
 
@@ -10469,7 +10419,7 @@ export namespace APITokenActivatedWebhookEvent {
10469
10419
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10470
10420
  * describes the transition. Created and deleted events carry only the object that
10471
10421
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10472
- * only inside `change` and as Production's environment `id`.
10422
+ * only inside `change`.
10473
10423
  */
10474
10424
  export interface Data {
10475
10425
  /**
@@ -10519,9 +10469,9 @@ export namespace APITokenActivatedWebhookEvent {
10519
10469
  contact_card?: Data.ContactCard;
10520
10470
 
10521
10471
  /**
10522
- * An environment. Production is
10523
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10524
- * environment has an `id` and type `environment`.
10472
+ * An environment, identified by name. Production is
10473
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
10474
+ * (e.g. "Staging") looks the same shape, just with its own name.
10525
10475
  */
10526
10476
  environment?: Data.Environment;
10527
10477
 
@@ -10670,19 +10620,14 @@ export namespace APITokenActivatedWebhookEvent {
10670
10620
  }
10671
10621
 
10672
10622
  /**
10673
- * An environment. Production is
10674
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10675
- * environment has an `id` and type `environment`.
10623
+ * An environment, identified by name. Production is
10624
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
10625
+ * (e.g. "Staging") looks the same shape, just with its own name.
10676
10626
  */
10677
10627
  export interface Environment {
10678
- /**
10679
- * Null for Production.
10680
- */
10681
- id: string | null;
10682
-
10683
- type: 'production' | 'environment';
10628
+ name: string;
10684
10629
 
10685
- name?: string;
10630
+ type: 'environment';
10686
10631
  }
10687
10632
 
10688
10633
  /**
@@ -10753,7 +10698,7 @@ export interface APITokenDeletedWebhookEvent {
10753
10698
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10754
10699
  * describes the transition. Created and deleted events carry only the object that
10755
10700
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10756
- * only inside `change` and as Production's environment `id`.
10701
+ * only inside `change`.
10757
10702
  */
10758
10703
  data: APITokenDeletedWebhookEvent.Data;
10759
10704
 
@@ -10865,7 +10810,7 @@ export namespace APITokenDeletedWebhookEvent {
10865
10810
  * `phone_number`, `team_member`) identify what changed; on update events `change`
10866
10811
  * describes the transition. Created and deleted events carry only the object that
10867
10812
  * was created or deleted. Fields are absent when they don't apply; `null` appears
10868
- * only inside `change` and as Production's environment `id`.
10813
+ * only inside `change`.
10869
10814
  */
10870
10815
  export interface Data {
10871
10816
  /**
@@ -10915,9 +10860,9 @@ export namespace APITokenDeletedWebhookEvent {
10915
10860
  contact_card?: Data.ContactCard;
10916
10861
 
10917
10862
  /**
10918
- * An environment. Production is
10919
- * `{"id": null, "name": "Production", "type": "production"}`; every other
10920
- * environment has an `id` and type `environment`.
10863
+ * An environment, identified by name. Production is
10864
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
10865
+ * (e.g. "Staging") looks the same shape, just with its own name.
10921
10866
  */
10922
10867
  environment?: Data.Environment;
10923
10868
 
@@ -11066,19 +11011,14 @@ export namespace APITokenDeletedWebhookEvent {
11066
11011
  }
11067
11012
 
11068
11013
  /**
11069
- * An environment. Production is
11070
- * `{"id": null, "name": "Production", "type": "production"}`; every other
11071
- * environment has an `id` and type `environment`.
11014
+ * An environment, identified by name. Production is
11015
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
11016
+ * (e.g. "Staging") looks the same shape, just with its own name.
11072
11017
  */
11073
11018
  export interface Environment {
11074
- /**
11075
- * Null for Production.
11076
- */
11077
- id: string | null;
11078
-
11079
- type: 'production' | 'environment';
11019
+ name: string;
11080
11020
 
11081
- name?: string;
11021
+ type: 'environment';
11082
11022
  }
11083
11023
 
11084
11024
  /**
@@ -11149,7 +11089,7 @@ export interface EnvironmentCreatedWebhookEvent {
11149
11089
  * `phone_number`, `team_member`) identify what changed; on update events `change`
11150
11090
  * describes the transition. Created and deleted events carry only the object that
11151
11091
  * was created or deleted. Fields are absent when they don't apply; `null` appears
11152
- * only inside `change` and as Production's environment `id`.
11092
+ * only inside `change`.
11153
11093
  */
11154
11094
  data: EnvironmentCreatedWebhookEvent.Data;
11155
11095
 
@@ -11261,7 +11201,7 @@ export namespace EnvironmentCreatedWebhookEvent {
11261
11201
  * `phone_number`, `team_member`) identify what changed; on update events `change`
11262
11202
  * describes the transition. Created and deleted events carry only the object that
11263
11203
  * was created or deleted. Fields are absent when they don't apply; `null` appears
11264
- * only inside `change` and as Production's environment `id`.
11204
+ * only inside `change`.
11265
11205
  */
11266
11206
  export interface Data {
11267
11207
  /**
@@ -11311,9 +11251,9 @@ export namespace EnvironmentCreatedWebhookEvent {
11311
11251
  contact_card?: Data.ContactCard;
11312
11252
 
11313
11253
  /**
11314
- * An environment. Production is
11315
- * `{"id": null, "name": "Production", "type": "production"}`; every other
11316
- * environment has an `id` and type `environment`.
11254
+ * An environment, identified by name. Production is
11255
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
11256
+ * (e.g. "Staging") looks the same shape, just with its own name.
11317
11257
  */
11318
11258
  environment?: Data.Environment;
11319
11259
 
@@ -11462,19 +11402,14 @@ export namespace EnvironmentCreatedWebhookEvent {
11462
11402
  }
11463
11403
 
11464
11404
  /**
11465
- * An environment. Production is
11466
- * `{"id": null, "name": "Production", "type": "production"}`; every other
11467
- * environment has an `id` and type `environment`.
11405
+ * An environment, identified by name. Production is
11406
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
11407
+ * (e.g. "Staging") looks the same shape, just with its own name.
11468
11408
  */
11469
11409
  export interface Environment {
11470
- /**
11471
- * Null for Production.
11472
- */
11473
- id: string | null;
11474
-
11475
- type: 'production' | 'environment';
11410
+ name: string;
11476
11411
 
11477
- name?: string;
11412
+ type: 'environment';
11478
11413
  }
11479
11414
 
11480
11415
  /**
@@ -11545,7 +11480,7 @@ export interface EnvironmentRenamedWebhookEvent {
11545
11480
  * `phone_number`, `team_member`) identify what changed; on update events `change`
11546
11481
  * describes the transition. Created and deleted events carry only the object that
11547
11482
  * was created or deleted. Fields are absent when they don't apply; `null` appears
11548
- * only inside `change` and as Production's environment `id`.
11483
+ * only inside `change`.
11549
11484
  */
11550
11485
  data: EnvironmentRenamedWebhookEvent.Data;
11551
11486
 
@@ -11657,7 +11592,7 @@ export namespace EnvironmentRenamedWebhookEvent {
11657
11592
  * `phone_number`, `team_member`) identify what changed; on update events `change`
11658
11593
  * describes the transition. Created and deleted events carry only the object that
11659
11594
  * was created or deleted. Fields are absent when they don't apply; `null` appears
11660
- * only inside `change` and as Production's environment `id`.
11595
+ * only inside `change`.
11661
11596
  */
11662
11597
  export interface Data {
11663
11598
  /**
@@ -11707,9 +11642,9 @@ export namespace EnvironmentRenamedWebhookEvent {
11707
11642
  contact_card?: Data.ContactCard;
11708
11643
 
11709
11644
  /**
11710
- * An environment. Production is
11711
- * `{"id": null, "name": "Production", "type": "production"}`; every other
11712
- * environment has an `id` and type `environment`.
11645
+ * An environment, identified by name. Production is
11646
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
11647
+ * (e.g. "Staging") looks the same shape, just with its own name.
11713
11648
  */
11714
11649
  environment?: Data.Environment;
11715
11650
 
@@ -11858,19 +11793,14 @@ export namespace EnvironmentRenamedWebhookEvent {
11858
11793
  }
11859
11794
 
11860
11795
  /**
11861
- * An environment. Production is
11862
- * `{"id": null, "name": "Production", "type": "production"}`; every other
11863
- * environment has an `id` and type `environment`.
11796
+ * An environment, identified by name. Production is
11797
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
11798
+ * (e.g. "Staging") looks the same shape, just with its own name.
11864
11799
  */
11865
11800
  export interface Environment {
11866
- /**
11867
- * Null for Production.
11868
- */
11869
- id: string | null;
11870
-
11871
- type: 'production' | 'environment';
11801
+ name: string;
11872
11802
 
11873
- name?: string;
11803
+ type: 'environment';
11874
11804
  }
11875
11805
 
11876
11806
  /**
@@ -11941,7 +11871,7 @@ export interface EnvironmentDeletedWebhookEvent {
11941
11871
  * `phone_number`, `team_member`) identify what changed; on update events `change`
11942
11872
  * describes the transition. Created and deleted events carry only the object that
11943
11873
  * was created or deleted. Fields are absent when they don't apply; `null` appears
11944
- * only inside `change` and as Production's environment `id`.
11874
+ * only inside `change`.
11945
11875
  */
11946
11876
  data: EnvironmentDeletedWebhookEvent.Data;
11947
11877
 
@@ -12053,7 +11983,7 @@ export namespace EnvironmentDeletedWebhookEvent {
12053
11983
  * `phone_number`, `team_member`) identify what changed; on update events `change`
12054
11984
  * describes the transition. Created and deleted events carry only the object that
12055
11985
  * was created or deleted. Fields are absent when they don't apply; `null` appears
12056
- * only inside `change` and as Production's environment `id`.
11986
+ * only inside `change`.
12057
11987
  */
12058
11988
  export interface Data {
12059
11989
  /**
@@ -12103,9 +12033,9 @@ export namespace EnvironmentDeletedWebhookEvent {
12103
12033
  contact_card?: Data.ContactCard;
12104
12034
 
12105
12035
  /**
12106
- * An environment. Production is
12107
- * `{"id": null, "name": "Production", "type": "production"}`; every other
12108
- * environment has an `id` and type `environment`.
12036
+ * An environment, identified by name. Production is
12037
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
12038
+ * (e.g. "Staging") looks the same shape, just with its own name.
12109
12039
  */
12110
12040
  environment?: Data.Environment;
12111
12041
 
@@ -12254,19 +12184,14 @@ export namespace EnvironmentDeletedWebhookEvent {
12254
12184
  }
12255
12185
 
12256
12186
  /**
12257
- * An environment. Production is
12258
- * `{"id": null, "name": "Production", "type": "production"}`; every other
12259
- * environment has an `id` and type `environment`.
12187
+ * An environment, identified by name. Production is
12188
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
12189
+ * (e.g. "Staging") looks the same shape, just with its own name.
12260
12190
  */
12261
12191
  export interface Environment {
12262
- /**
12263
- * Null for Production.
12264
- */
12265
- id: string | null;
12266
-
12267
- type: 'production' | 'environment';
12192
+ name: string;
12268
12193
 
12269
- name?: string;
12194
+ type: 'environment';
12270
12195
  }
12271
12196
 
12272
12197
  /**
@@ -12337,7 +12262,7 @@ export interface WebhookSubscriptionCreatedWebhookEvent {
12337
12262
  * `phone_number`, `team_member`) identify what changed; on update events `change`
12338
12263
  * describes the transition. Created and deleted events carry only the object that
12339
12264
  * was created or deleted. Fields are absent when they don't apply; `null` appears
12340
- * only inside `change` and as Production's environment `id`.
12265
+ * only inside `change`.
12341
12266
  */
12342
12267
  data: WebhookSubscriptionCreatedWebhookEvent.Data;
12343
12268
 
@@ -12449,7 +12374,7 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
12449
12374
  * `phone_number`, `team_member`) identify what changed; on update events `change`
12450
12375
  * describes the transition. Created and deleted events carry only the object that
12451
12376
  * was created or deleted. Fields are absent when they don't apply; `null` appears
12452
- * only inside `change` and as Production's environment `id`.
12377
+ * only inside `change`.
12453
12378
  */
12454
12379
  export interface Data {
12455
12380
  /**
@@ -12499,9 +12424,9 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
12499
12424
  contact_card?: Data.ContactCard;
12500
12425
 
12501
12426
  /**
12502
- * An environment. Production is
12503
- * `{"id": null, "name": "Production", "type": "production"}`; every other
12504
- * environment has an `id` and type `environment`.
12427
+ * An environment, identified by name. Production is
12428
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
12429
+ * (e.g. "Staging") looks the same shape, just with its own name.
12505
12430
  */
12506
12431
  environment?: Data.Environment;
12507
12432
 
@@ -12650,19 +12575,14 @@ export namespace WebhookSubscriptionCreatedWebhookEvent {
12650
12575
  }
12651
12576
 
12652
12577
  /**
12653
- * An environment. Production is
12654
- * `{"id": null, "name": "Production", "type": "production"}`; every other
12655
- * environment has an `id` and type `environment`.
12578
+ * An environment, identified by name. Production is
12579
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
12580
+ * (e.g. "Staging") looks the same shape, just with its own name.
12656
12581
  */
12657
12582
  export interface Environment {
12658
- /**
12659
- * Null for Production.
12660
- */
12661
- id: string | null;
12662
-
12663
- type: 'production' | 'environment';
12583
+ name: string;
12664
12584
 
12665
- name?: string;
12585
+ type: 'environment';
12666
12586
  }
12667
12587
 
12668
12588
  /**
@@ -12733,7 +12653,7 @@ export interface WebhookSubscriptionDeletedWebhookEvent {
12733
12653
  * `phone_number`, `team_member`) identify what changed; on update events `change`
12734
12654
  * describes the transition. Created and deleted events carry only the object that
12735
12655
  * was created or deleted. Fields are absent when they don't apply; `null` appears
12736
- * only inside `change` and as Production's environment `id`.
12656
+ * only inside `change`.
12737
12657
  */
12738
12658
  data: WebhookSubscriptionDeletedWebhookEvent.Data;
12739
12659
 
@@ -12845,7 +12765,7 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
12845
12765
  * `phone_number`, `team_member`) identify what changed; on update events `change`
12846
12766
  * describes the transition. Created and deleted events carry only the object that
12847
12767
  * was created or deleted. Fields are absent when they don't apply; `null` appears
12848
- * only inside `change` and as Production's environment `id`.
12768
+ * only inside `change`.
12849
12769
  */
12850
12770
  export interface Data {
12851
12771
  /**
@@ -12895,9 +12815,9 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
12895
12815
  contact_card?: Data.ContactCard;
12896
12816
 
12897
12817
  /**
12898
- * An environment. Production is
12899
- * `{"id": null, "name": "Production", "type": "production"}`; every other
12900
- * environment has an `id` and type `environment`.
12818
+ * An environment, identified by name. Production is
12819
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
12820
+ * (e.g. "Staging") looks the same shape, just with its own name.
12901
12821
  */
12902
12822
  environment?: Data.Environment;
12903
12823
 
@@ -13046,19 +12966,14 @@ export namespace WebhookSubscriptionDeletedWebhookEvent {
13046
12966
  }
13047
12967
 
13048
12968
  /**
13049
- * An environment. Production is
13050
- * `{"id": null, "name": "Production", "type": "production"}`; every other
13051
- * environment has an `id` and type `environment`.
12969
+ * An environment, identified by name. Production is
12970
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
12971
+ * (e.g. "Staging") looks the same shape, just with its own name.
13052
12972
  */
13053
12973
  export interface Environment {
13054
- /**
13055
- * Null for Production.
13056
- */
13057
- id: string | null;
13058
-
13059
- type: 'production' | 'environment';
12974
+ name: string;
13060
12975
 
13061
- name?: string;
12976
+ type: 'environment';
13062
12977
  }
13063
12978
 
13064
12979
  /**
@@ -13129,7 +13044,7 @@ export interface WebhookSubscriptionTargetURLChangedWebhookEvent {
13129
13044
  * `phone_number`, `team_member`) identify what changed; on update events `change`
13130
13045
  * describes the transition. Created and deleted events carry only the object that
13131
13046
  * was created or deleted. Fields are absent when they don't apply; `null` appears
13132
- * only inside `change` and as Production's environment `id`.
13047
+ * only inside `change`.
13133
13048
  */
13134
13049
  data: WebhookSubscriptionTargetURLChangedWebhookEvent.Data;
13135
13050
 
@@ -13241,7 +13156,7 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
13241
13156
  * `phone_number`, `team_member`) identify what changed; on update events `change`
13242
13157
  * describes the transition. Created and deleted events carry only the object that
13243
13158
  * was created or deleted. Fields are absent when they don't apply; `null` appears
13244
- * only inside `change` and as Production's environment `id`.
13159
+ * only inside `change`.
13245
13160
  */
13246
13161
  export interface Data {
13247
13162
  /**
@@ -13291,9 +13206,9 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
13291
13206
  contact_card?: Data.ContactCard;
13292
13207
 
13293
13208
  /**
13294
- * An environment. Production is
13295
- * `{"id": null, "name": "Production", "type": "production"}`; every other
13296
- * environment has an `id` and type `environment`.
13209
+ * An environment, identified by name. Production is
13210
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
13211
+ * (e.g. "Staging") looks the same shape, just with its own name.
13297
13212
  */
13298
13213
  environment?: Data.Environment;
13299
13214
 
@@ -13442,19 +13357,14 @@ export namespace WebhookSubscriptionTargetURLChangedWebhookEvent {
13442
13357
  }
13443
13358
 
13444
13359
  /**
13445
- * An environment. Production is
13446
- * `{"id": null, "name": "Production", "type": "production"}`; every other
13447
- * environment has an `id` and type `environment`.
13360
+ * An environment, identified by name. Production is
13361
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
13362
+ * (e.g. "Staging") looks the same shape, just with its own name.
13448
13363
  */
13449
13364
  export interface Environment {
13450
- /**
13451
- * Null for Production.
13452
- */
13453
- id: string | null;
13454
-
13455
- type: 'production' | 'environment';
13365
+ name: string;
13456
13366
 
13457
- name?: string;
13367
+ type: 'environment';
13458
13368
  }
13459
13369
 
13460
13370
  /**
@@ -13525,7 +13435,7 @@ export interface WebhookSubscriptionEnabledWebhookEvent {
13525
13435
  * `phone_number`, `team_member`) identify what changed; on update events `change`
13526
13436
  * describes the transition. Created and deleted events carry only the object that
13527
13437
  * was created or deleted. Fields are absent when they don't apply; `null` appears
13528
- * only inside `change` and as Production's environment `id`.
13438
+ * only inside `change`.
13529
13439
  */
13530
13440
  data: WebhookSubscriptionEnabledWebhookEvent.Data;
13531
13441
 
@@ -13637,7 +13547,7 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
13637
13547
  * `phone_number`, `team_member`) identify what changed; on update events `change`
13638
13548
  * describes the transition. Created and deleted events carry only the object that
13639
13549
  * was created or deleted. Fields are absent when they don't apply; `null` appears
13640
- * only inside `change` and as Production's environment `id`.
13550
+ * only inside `change`.
13641
13551
  */
13642
13552
  export interface Data {
13643
13553
  /**
@@ -13687,9 +13597,9 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
13687
13597
  contact_card?: Data.ContactCard;
13688
13598
 
13689
13599
  /**
13690
- * An environment. Production is
13691
- * `{"id": null, "name": "Production", "type": "production"}`; every other
13692
- * environment has an `id` and type `environment`.
13600
+ * An environment, identified by name. Production is
13601
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
13602
+ * (e.g. "Staging") looks the same shape, just with its own name.
13693
13603
  */
13694
13604
  environment?: Data.Environment;
13695
13605
 
@@ -13838,19 +13748,14 @@ export namespace WebhookSubscriptionEnabledWebhookEvent {
13838
13748
  }
13839
13749
 
13840
13750
  /**
13841
- * An environment. Production is
13842
- * `{"id": null, "name": "Production", "type": "production"}`; every other
13843
- * environment has an `id` and type `environment`.
13751
+ * An environment, identified by name. Production is
13752
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
13753
+ * (e.g. "Staging") looks the same shape, just with its own name.
13844
13754
  */
13845
13755
  export interface Environment {
13846
- /**
13847
- * Null for Production.
13848
- */
13849
- id: string | null;
13850
-
13851
- type: 'production' | 'environment';
13756
+ name: string;
13852
13757
 
13853
- name?: string;
13758
+ type: 'environment';
13854
13759
  }
13855
13760
 
13856
13761
  /**
@@ -13921,7 +13826,7 @@ export interface WebhookSubscriptionDisabledWebhookEvent {
13921
13826
  * `phone_number`, `team_member`) identify what changed; on update events `change`
13922
13827
  * describes the transition. Created and deleted events carry only the object that
13923
13828
  * was created or deleted. Fields are absent when they don't apply; `null` appears
13924
- * only inside `change` and as Production's environment `id`.
13829
+ * only inside `change`.
13925
13830
  */
13926
13831
  data: WebhookSubscriptionDisabledWebhookEvent.Data;
13927
13832
 
@@ -14033,7 +13938,7 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
14033
13938
  * `phone_number`, `team_member`) identify what changed; on update events `change`
14034
13939
  * describes the transition. Created and deleted events carry only the object that
14035
13940
  * was created or deleted. Fields are absent when they don't apply; `null` appears
14036
- * only inside `change` and as Production's environment `id`.
13941
+ * only inside `change`.
14037
13942
  */
14038
13943
  export interface Data {
14039
13944
  /**
@@ -14083,9 +13988,9 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
14083
13988
  contact_card?: Data.ContactCard;
14084
13989
 
14085
13990
  /**
14086
- * An environment. Production is
14087
- * `{"id": null, "name": "Production", "type": "production"}`; every other
14088
- * environment has an `id` and type `environment`.
13991
+ * An environment, identified by name. Production is
13992
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
13993
+ * (e.g. "Staging") looks the same shape, just with its own name.
14089
13994
  */
14090
13995
  environment?: Data.Environment;
14091
13996
 
@@ -14234,19 +14139,14 @@ export namespace WebhookSubscriptionDisabledWebhookEvent {
14234
14139
  }
14235
14140
 
14236
14141
  /**
14237
- * An environment. Production is
14238
- * `{"id": null, "name": "Production", "type": "production"}`; every other
14239
- * environment has an `id` and type `environment`.
14142
+ * An environment, identified by name. Production is
14143
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
14144
+ * (e.g. "Staging") looks the same shape, just with its own name.
14240
14145
  */
14241
14146
  export interface Environment {
14242
- /**
14243
- * Null for Production.
14244
- */
14245
- id: string | null;
14246
-
14247
- type: 'production' | 'environment';
14147
+ name: string;
14248
14148
 
14249
- name?: string;
14149
+ type: 'environment';
14250
14150
  }
14251
14151
 
14252
14152
  /**
@@ -14317,7 +14217,7 @@ export interface WebhookSubscriptionEventsUpdatedWebhookEvent {
14317
14217
  * `phone_number`, `team_member`) identify what changed; on update events `change`
14318
14218
  * describes the transition. Created and deleted events carry only the object that
14319
14219
  * was created or deleted. Fields are absent when they don't apply; `null` appears
14320
- * only inside `change` and as Production's environment `id`.
14220
+ * only inside `change`.
14321
14221
  */
14322
14222
  data: WebhookSubscriptionEventsUpdatedWebhookEvent.Data;
14323
14223
 
@@ -14429,7 +14329,7 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
14429
14329
  * `phone_number`, `team_member`) identify what changed; on update events `change`
14430
14330
  * describes the transition. Created and deleted events carry only the object that
14431
14331
  * was created or deleted. Fields are absent when they don't apply; `null` appears
14432
- * only inside `change` and as Production's environment `id`.
14332
+ * only inside `change`.
14433
14333
  */
14434
14334
  export interface Data {
14435
14335
  /**
@@ -14479,9 +14379,9 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
14479
14379
  contact_card?: Data.ContactCard;
14480
14380
 
14481
14381
  /**
14482
- * An environment. Production is
14483
- * `{"id": null, "name": "Production", "type": "production"}`; every other
14484
- * environment has an `id` and type `environment`.
14382
+ * An environment, identified by name. Production is
14383
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
14384
+ * (e.g. "Staging") looks the same shape, just with its own name.
14485
14385
  */
14486
14386
  environment?: Data.Environment;
14487
14387
 
@@ -14630,19 +14530,14 @@ export namespace WebhookSubscriptionEventsUpdatedWebhookEvent {
14630
14530
  }
14631
14531
 
14632
14532
  /**
14633
- * An environment. Production is
14634
- * `{"id": null, "name": "Production", "type": "production"}`; every other
14635
- * environment has an `id` and type `environment`.
14533
+ * An environment, identified by name. Production is
14534
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
14535
+ * (e.g. "Staging") looks the same shape, just with its own name.
14636
14536
  */
14637
14537
  export interface Environment {
14638
- /**
14639
- * Null for Production.
14640
- */
14641
- id: string | null;
14642
-
14643
- type: 'production' | 'environment';
14538
+ name: string;
14644
14539
 
14645
- name?: string;
14540
+ type: 'environment';
14646
14541
  }
14647
14542
 
14648
14543
  /**
@@ -14713,7 +14608,7 @@ export interface WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
14713
14608
  * `phone_number`, `team_member`) identify what changed; on update events `change`
14714
14609
  * describes the transition. Created and deleted events carry only the object that
14715
14610
  * was created or deleted. Fields are absent when they don't apply; `null` appears
14716
- * only inside `change` and as Production's environment `id`.
14611
+ * only inside `change`.
14717
14612
  */
14718
14613
  data: WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent.Data;
14719
14614
 
@@ -14825,7 +14720,7 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
14825
14720
  * `phone_number`, `team_member`) identify what changed; on update events `change`
14826
14721
  * describes the transition. Created and deleted events carry only the object that
14827
14722
  * was created or deleted. Fields are absent when they don't apply; `null` appears
14828
- * only inside `change` and as Production's environment `id`.
14723
+ * only inside `change`.
14829
14724
  */
14830
14725
  export interface Data {
14831
14726
  /**
@@ -14875,9 +14770,9 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
14875
14770
  contact_card?: Data.ContactCard;
14876
14771
 
14877
14772
  /**
14878
- * An environment. Production is
14879
- * `{"id": null, "name": "Production", "type": "production"}`; every other
14880
- * environment has an `id` and type `environment`.
14773
+ * An environment, identified by name. Production is
14774
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
14775
+ * (e.g. "Staging") looks the same shape, just with its own name.
14881
14776
  */
14882
14777
  environment?: Data.Environment;
14883
14778
 
@@ -15026,19 +14921,14 @@ export namespace WebhookSubscriptionPhoneNumbersUpdatedWebhookEvent {
15026
14921
  }
15027
14922
 
15028
14923
  /**
15029
- * An environment. Production is
15030
- * `{"id": null, "name": "Production", "type": "production"}`; every other
15031
- * environment has an `id` and type `environment`.
14924
+ * An environment, identified by name. Production is
14925
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
14926
+ * (e.g. "Staging") looks the same shape, just with its own name.
15032
14927
  */
15033
14928
  export interface Environment {
15034
- /**
15035
- * Null for Production.
15036
- */
15037
- id: string | null;
15038
-
15039
- type: 'production' | 'environment';
14929
+ name: string;
15040
14930
 
15041
- name?: string;
14931
+ type: 'environment';
15042
14932
  }
15043
14933
 
15044
14934
  /**
@@ -15109,7 +14999,7 @@ export interface WebhookSubscriptionRoutingHeadersSetWebhookEvent {
15109
14999
  * `phone_number`, `team_member`) identify what changed; on update events `change`
15110
15000
  * describes the transition. Created and deleted events carry only the object that
15111
15001
  * was created or deleted. Fields are absent when they don't apply; `null` appears
15112
- * only inside `change` and as Production's environment `id`.
15002
+ * only inside `change`.
15113
15003
  */
15114
15004
  data: WebhookSubscriptionRoutingHeadersSetWebhookEvent.Data;
15115
15005
 
@@ -15221,7 +15111,7 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
15221
15111
  * `phone_number`, `team_member`) identify what changed; on update events `change`
15222
15112
  * describes the transition. Created and deleted events carry only the object that
15223
15113
  * was created or deleted. Fields are absent when they don't apply; `null` appears
15224
- * only inside `change` and as Production's environment `id`.
15114
+ * only inside `change`.
15225
15115
  */
15226
15116
  export interface Data {
15227
15117
  /**
@@ -15271,9 +15161,9 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
15271
15161
  contact_card?: Data.ContactCard;
15272
15162
 
15273
15163
  /**
15274
- * An environment. Production is
15275
- * `{"id": null, "name": "Production", "type": "production"}`; every other
15276
- * environment has an `id` and type `environment`.
15164
+ * An environment, identified by name. Production is
15165
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
15166
+ * (e.g. "Staging") looks the same shape, just with its own name.
15277
15167
  */
15278
15168
  environment?: Data.Environment;
15279
15169
 
@@ -15422,19 +15312,14 @@ export namespace WebhookSubscriptionRoutingHeadersSetWebhookEvent {
15422
15312
  }
15423
15313
 
15424
15314
  /**
15425
- * An environment. Production is
15426
- * `{"id": null, "name": "Production", "type": "production"}`; every other
15427
- * environment has an `id` and type `environment`.
15315
+ * An environment, identified by name. Production is
15316
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
15317
+ * (e.g. "Staging") looks the same shape, just with its own name.
15428
15318
  */
15429
15319
  export interface Environment {
15430
- /**
15431
- * Null for Production.
15432
- */
15433
- id: string | null;
15434
-
15435
- type: 'production' | 'environment';
15320
+ name: string;
15436
15321
 
15437
- name?: string;
15322
+ type: 'environment';
15438
15323
  }
15439
15324
 
15440
15325
  /**
@@ -15505,7 +15390,7 @@ export interface WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
15505
15390
  * `phone_number`, `team_member`) identify what changed; on update events `change`
15506
15391
  * describes the transition. Created and deleted events carry only the object that
15507
15392
  * was created or deleted. Fields are absent when they don't apply; `null` appears
15508
- * only inside `change` and as Production's environment `id`.
15393
+ * only inside `change`.
15509
15394
  */
15510
15395
  data: WebhookSubscriptionRoutingHeadersClearedWebhookEvent.Data;
15511
15396
 
@@ -15617,7 +15502,7 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
15617
15502
  * `phone_number`, `team_member`) identify what changed; on update events `change`
15618
15503
  * describes the transition. Created and deleted events carry only the object that
15619
15504
  * was created or deleted. Fields are absent when they don't apply; `null` appears
15620
- * only inside `change` and as Production's environment `id`.
15505
+ * only inside `change`.
15621
15506
  */
15622
15507
  export interface Data {
15623
15508
  /**
@@ -15667,9 +15552,9 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
15667
15552
  contact_card?: Data.ContactCard;
15668
15553
 
15669
15554
  /**
15670
- * An environment. Production is
15671
- * `{"id": null, "name": "Production", "type": "production"}`; every other
15672
- * environment has an `id` and type `environment`.
15555
+ * An environment, identified by name. Production is
15556
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
15557
+ * (e.g. "Staging") looks the same shape, just with its own name.
15673
15558
  */
15674
15559
  environment?: Data.Environment;
15675
15560
 
@@ -15818,19 +15703,14 @@ export namespace WebhookSubscriptionRoutingHeadersClearedWebhookEvent {
15818
15703
  }
15819
15704
 
15820
15705
  /**
15821
- * An environment. Production is
15822
- * `{"id": null, "name": "Production", "type": "production"}`; every other
15823
- * environment has an `id` and type `environment`.
15706
+ * An environment, identified by name. Production is
15707
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
15708
+ * (e.g. "Staging") looks the same shape, just with its own name.
15824
15709
  */
15825
15710
  export interface Environment {
15826
- /**
15827
- * Null for Production.
15828
- */
15829
- id: string | null;
15830
-
15831
- type: 'production' | 'environment';
15711
+ name: string;
15832
15712
 
15833
- name?: string;
15713
+ type: 'environment';
15834
15714
  }
15835
15715
 
15836
15716
  /**
@@ -15901,7 +15781,7 @@ export interface TeamMemberAddedWebhookEvent {
15901
15781
  * `phone_number`, `team_member`) identify what changed; on update events `change`
15902
15782
  * describes the transition. Created and deleted events carry only the object that
15903
15783
  * was created or deleted. Fields are absent when they don't apply; `null` appears
15904
- * only inside `change` and as Production's environment `id`.
15784
+ * only inside `change`.
15905
15785
  */
15906
15786
  data: TeamMemberAddedWebhookEvent.Data;
15907
15787
 
@@ -16013,7 +15893,7 @@ export namespace TeamMemberAddedWebhookEvent {
16013
15893
  * `phone_number`, `team_member`) identify what changed; on update events `change`
16014
15894
  * describes the transition. Created and deleted events carry only the object that
16015
15895
  * was created or deleted. Fields are absent when they don't apply; `null` appears
16016
- * only inside `change` and as Production's environment `id`.
15896
+ * only inside `change`.
16017
15897
  */
16018
15898
  export interface Data {
16019
15899
  /**
@@ -16063,9 +15943,9 @@ export namespace TeamMemberAddedWebhookEvent {
16063
15943
  contact_card?: Data.ContactCard;
16064
15944
 
16065
15945
  /**
16066
- * An environment. Production is
16067
- * `{"id": null, "name": "Production", "type": "production"}`; every other
16068
- * environment has an `id` and type `environment`.
15946
+ * An environment, identified by name. Production is
15947
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
15948
+ * (e.g. "Staging") looks the same shape, just with its own name.
16069
15949
  */
16070
15950
  environment?: Data.Environment;
16071
15951
 
@@ -16214,19 +16094,14 @@ export namespace TeamMemberAddedWebhookEvent {
16214
16094
  }
16215
16095
 
16216
16096
  /**
16217
- * An environment. Production is
16218
- * `{"id": null, "name": "Production", "type": "production"}`; every other
16219
- * environment has an `id` and type `environment`.
16097
+ * An environment, identified by name. Production is
16098
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
16099
+ * (e.g. "Staging") looks the same shape, just with its own name.
16220
16100
  */
16221
16101
  export interface Environment {
16222
- /**
16223
- * Null for Production.
16224
- */
16225
- id: string | null;
16226
-
16227
- type: 'production' | 'environment';
16102
+ name: string;
16228
16103
 
16229
- name?: string;
16104
+ type: 'environment';
16230
16105
  }
16231
16106
 
16232
16107
  /**
@@ -16297,7 +16172,7 @@ export interface TeamMemberSignedInWebhookEvent {
16297
16172
  * `phone_number`, `team_member`) identify what changed; on update events `change`
16298
16173
  * describes the transition. Created and deleted events carry only the object that
16299
16174
  * was created or deleted. Fields are absent when they don't apply; `null` appears
16300
- * only inside `change` and as Production's environment `id`.
16175
+ * only inside `change`.
16301
16176
  */
16302
16177
  data: TeamMemberSignedInWebhookEvent.Data;
16303
16178
 
@@ -16409,7 +16284,7 @@ export namespace TeamMemberSignedInWebhookEvent {
16409
16284
  * `phone_number`, `team_member`) identify what changed; on update events `change`
16410
16285
  * describes the transition. Created and deleted events carry only the object that
16411
16286
  * was created or deleted. Fields are absent when they don't apply; `null` appears
16412
- * only inside `change` and as Production's environment `id`.
16287
+ * only inside `change`.
16413
16288
  */
16414
16289
  export interface Data {
16415
16290
  /**
@@ -16459,9 +16334,9 @@ export namespace TeamMemberSignedInWebhookEvent {
16459
16334
  contact_card?: Data.ContactCard;
16460
16335
 
16461
16336
  /**
16462
- * An environment. Production is
16463
- * `{"id": null, "name": "Production", "type": "production"}`; every other
16464
- * environment has an `id` and type `environment`.
16337
+ * An environment, identified by name. Production is
16338
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
16339
+ * (e.g. "Staging") looks the same shape, just with its own name.
16465
16340
  */
16466
16341
  environment?: Data.Environment;
16467
16342
 
@@ -16610,19 +16485,14 @@ export namespace TeamMemberSignedInWebhookEvent {
16610
16485
  }
16611
16486
 
16612
16487
  /**
16613
- * An environment. Production is
16614
- * `{"id": null, "name": "Production", "type": "production"}`; every other
16615
- * environment has an `id` and type `environment`.
16488
+ * An environment, identified by name. Production is
16489
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
16490
+ * (e.g. "Staging") looks the same shape, just with its own name.
16616
16491
  */
16617
16492
  export interface Environment {
16618
- /**
16619
- * Null for Production.
16620
- */
16621
- id: string | null;
16622
-
16623
- type: 'production' | 'environment';
16493
+ name: string;
16624
16494
 
16625
- name?: string;
16495
+ type: 'environment';
16626
16496
  }
16627
16497
 
16628
16498
  /**
@@ -16693,7 +16563,7 @@ export interface TeamMemberSignedOutWebhookEvent {
16693
16563
  * `phone_number`, `team_member`) identify what changed; on update events `change`
16694
16564
  * describes the transition. Created and deleted events carry only the object that
16695
16565
  * was created or deleted. Fields are absent when they don't apply; `null` appears
16696
- * only inside `change` and as Production's environment `id`.
16566
+ * only inside `change`.
16697
16567
  */
16698
16568
  data: TeamMemberSignedOutWebhookEvent.Data;
16699
16569
 
@@ -16805,7 +16675,7 @@ export namespace TeamMemberSignedOutWebhookEvent {
16805
16675
  * `phone_number`, `team_member`) identify what changed; on update events `change`
16806
16676
  * describes the transition. Created and deleted events carry only the object that
16807
16677
  * was created or deleted. Fields are absent when they don't apply; `null` appears
16808
- * only inside `change` and as Production's environment `id`.
16678
+ * only inside `change`.
16809
16679
  */
16810
16680
  export interface Data {
16811
16681
  /**
@@ -16855,9 +16725,9 @@ export namespace TeamMemberSignedOutWebhookEvent {
16855
16725
  contact_card?: Data.ContactCard;
16856
16726
 
16857
16727
  /**
16858
- * An environment. Production is
16859
- * `{"id": null, "name": "Production", "type": "production"}`; every other
16860
- * environment has an `id` and type `environment`.
16728
+ * An environment, identified by name. Production is
16729
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
16730
+ * (e.g. "Staging") looks the same shape, just with its own name.
16861
16731
  */
16862
16732
  environment?: Data.Environment;
16863
16733
 
@@ -17006,19 +16876,14 @@ export namespace TeamMemberSignedOutWebhookEvent {
17006
16876
  }
17007
16877
 
17008
16878
  /**
17009
- * An environment. Production is
17010
- * `{"id": null, "name": "Production", "type": "production"}`; every other
17011
- * environment has an `id` and type `environment`.
16879
+ * An environment, identified by name. Production is
16880
+ * `{"name": "Production", "type": "environment"}`; a named environment you created
16881
+ * (e.g. "Staging") looks the same shape, just with its own name.
17012
16882
  */
17013
16883
  export interface Environment {
17014
- /**
17015
- * Null for Production.
17016
- */
17017
- id: string | null;
17018
-
17019
- type: 'production' | 'environment';
16884
+ name: string;
17020
16885
 
17021
- name?: string;
16886
+ type: 'environment';
17022
16887
  }
17023
16888
 
17024
16889
  /**