@netlify/open-api 2.61.0 → 2.63.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -58,7 +58,11 @@ export interface paths {
58
58
  post: operations["provisionSiteTLSCertificate"];
59
59
  };
60
60
  "/sites/{site_id}/ssl/certificates": {
61
- /** API Reference: {@link https://open-api.netlify.com/#tag/sniCertificate/operation/getAllCertificates | `getAllCertificates`} */
61
+ /**
62
+ * API Reference: {@link https://open-api.netlify.com/#tag/sniCertificate/operation/getAllCertificates | `getAllCertificates`}
63
+ *
64
+ * Returns details about the certificates associated with a domain. The site must be using the domain.
65
+ */
62
66
  get: operations["getAllCertificates"];
63
67
  };
64
68
  "/accounts/{account_id}/env": {
@@ -126,7 +130,11 @@ export interface paths {
126
130
  get: operations["listSiteForms"];
127
131
  };
128
132
  "/sites/{site_id}/forms/{form_id}": {
129
- /** API Reference: {@link https://open-api.netlify.com/#tag/form/operation/deleteSiteForm | `deleteSiteForm`} */
133
+ /**
134
+ * API Reference: {@link https://open-api.netlify.com/#tag/form/operation/deleteSiteForm | `deleteSiteForm`}
135
+ *
136
+ * Deletes a form and all of its submissions.
137
+ */
130
138
  delete: operations["deleteSiteForm"];
131
139
  };
132
140
  "/sites/{site_id}/submissions": {
@@ -138,9 +146,17 @@ export interface paths {
138
146
  get: operations["listSiteFiles"];
139
147
  };
140
148
  "/sites/{site_id}/assets": {
141
- /** API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/listSiteAssets | `listSiteAssets`} */
149
+ /**
150
+ * API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/listSiteAssets | `listSiteAssets`}
151
+ *
152
+ * _This endpoint is only available to certain sites._
153
+ */
142
154
  get: operations["listSiteAssets"];
143
- /** API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/createSiteAsset | `createSiteAsset`} */
155
+ /**
156
+ * API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/createSiteAsset | `createSiteAsset`}
157
+ *
158
+ * _This endpoint is only available to certain sites._
159
+ */
144
160
  post: operations["createSiteAsset"];
145
161
  parameters: {
146
162
  path: {
@@ -149,11 +165,23 @@ export interface paths {
149
165
  };
150
166
  };
151
167
  "/sites/{site_id}/assets/{asset_id}": {
152
- /** API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/getSiteAssetInfo | `getSiteAssetInfo`} */
168
+ /**
169
+ * API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/getSiteAssetInfo | `getSiteAssetInfo`}
170
+ *
171
+ * _This endpoint is only available to certain sites._
172
+ */
153
173
  get: operations["getSiteAssetInfo"];
154
- /** API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/updateSiteAsset | `updateSiteAsset`} */
174
+ /**
175
+ * API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/updateSiteAsset | `updateSiteAsset`}
176
+ *
177
+ * _This endpoint is only available to certain sites._
178
+ */
155
179
  put: operations["updateSiteAsset"];
156
- /** API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/deleteSiteAsset | `deleteSiteAsset`} */
180
+ /**
181
+ * API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/deleteSiteAsset | `deleteSiteAsset`}
182
+ *
183
+ * _This endpoint is only available to certain sites._
184
+ */
157
185
  delete: operations["deleteSiteAsset"];
158
186
  parameters: {
159
187
  path: {
@@ -163,7 +191,11 @@ export interface paths {
163
191
  };
164
192
  };
165
193
  "/sites/{site_id}/assets/{asset_id}/public_signature": {
166
- /** API Reference: {@link https://open-api.netlify.com/#tag/assetPublicSignature/operation/getSiteAssetPublicSignature | `getSiteAssetPublicSignature`} */
194
+ /**
195
+ * API Reference: {@link https://open-api.netlify.com/#tag/assetPublicSignature/operation/getSiteAssetPublicSignature | `getSiteAssetPublicSignature`}
196
+ *
197
+ * Returns the URL of the asset. If the asset isn't publicly visible, returns a signed URL. _This endpoint is only available to certain sites._
198
+ */
167
199
  get: operations["getSiteAssetPublicSignature"];
168
200
  parameters: {
169
201
  path: {
@@ -283,7 +315,11 @@ export interface paths {
283
315
  get: operations["getSiteDeploy"];
284
316
  /** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/updateSiteDeploy | `updateSiteDeploy`} */
285
317
  put: operations["updateSiteDeploy"];
286
- /** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteSiteDeploy | `deleteSiteDeploy`} */
318
+ /**
319
+ * API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteSiteDeploy | `deleteSiteDeploy`}
320
+ *
321
+ * Marks a deploy for deletion.
322
+ */
287
323
  delete: operations["deleteSiteDeploy"];
288
324
  };
289
325
  "/deploys/{deploy_id}/cancel": {
@@ -291,7 +327,11 @@ export interface paths {
291
327
  post: operations["cancelSiteDeploy"];
292
328
  };
293
329
  "/sites/{site_id}/deploys/{deploy_id}/restore": {
294
- /** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/restoreSiteDeploy | `restoreSiteDeploy`} */
330
+ /**
331
+ * API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/restoreSiteDeploy | `restoreSiteDeploy`}
332
+ *
333
+ * Publishes a previous deploy of the site.
334
+ */
295
335
  post: operations["restoreSiteDeploy"];
296
336
  };
297
337
  "/sites/{site_id}/builds": {
@@ -399,7 +439,11 @@ export interface paths {
399
439
  };
400
440
  };
401
441
  "/{account_id}/builds/status": {
402
- /** API Reference: {@link https://open-api.netlify.com/#tag/build/operation/getAccountBuildStatus | `getAccountBuildStatus`} */
442
+ /**
443
+ * API Reference: {@link https://open-api.netlify.com/#tag/build/operation/getAccountBuildStatus | `getAccountBuildStatus`}
444
+ *
445
+ * Returns the team's counts of active, concurrency-pending, and enqueued builds, and its build minutes usage.
446
+ */
403
447
  get: operations["getAccountBuildStatus"];
404
448
  parameters: {
405
449
  path: {
@@ -410,7 +454,11 @@ export interface paths {
410
454
  "/sites/{site_id}/dns": {
411
455
  /** API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/getDNSForSite | `getDNSForSite`} */
412
456
  get: operations["getDNSForSite"];
413
- /** API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/configureDNSForSite | `configureDNSForSite`} */
457
+ /**
458
+ * API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/configureDNSForSite | `configureDNSForSite`}
459
+ *
460
+ * Creates any missing DNS zones and records for the site's custom domain and domain aliases. This usually runs automatically when the custom domain is set.
461
+ */
414
462
  put: operations["configureDNSForSite"];
415
463
  parameters: {
416
464
  path: {
@@ -419,7 +467,11 @@ export interface paths {
419
467
  };
420
468
  };
421
469
  "/sites/{site_id}/rollback": {
422
- /** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/rollbackSiteDeploy | `rollbackSiteDeploy`} */
470
+ /**
471
+ * API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/rollbackSiteDeploy | `rollbackSiteDeploy`}
472
+ *
473
+ * Rolls back the production deploy to the deploy referenced by its `rollback_id`. Does nothing if the current production deploy has no `rollback_id`.
474
+ */
423
475
  put: operations["rollbackSiteDeploy"];
424
476
  parameters: {
425
477
  path: {
@@ -430,11 +482,19 @@ export interface paths {
430
482
  "/deploys/{deploy_id}": {
431
483
  /** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/getDeploy | `getDeploy`} */
432
484
  get: operations["getDeploy"];
433
- /** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteDeploy | `deleteDeploy`} */
485
+ /**
486
+ * API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteDeploy | `deleteDeploy`}
487
+ *
488
+ * Marks a deploy for deletion.
489
+ */
434
490
  delete: operations["deleteDeploy"];
435
491
  };
436
492
  "/deploys/{deploy_id}/lock": {
437
- /** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/lockDeploy | `lockDeploy`} */
493
+ /**
494
+ * API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/lockDeploy | `lockDeploy`}
495
+ *
496
+ * Locks a deploy so that subsequent deploys are built but not published. If the deploy is not the site's published deploy, locking publishes it first. When publishing is gated, the publish and lock are queued and the API responds with 202 Accepted and the deploy; poll `getDeploy` to follow it.
497
+ */
438
498
  post: operations["lockDeploy"];
439
499
  };
440
500
  "/deploys/{deploy_id}/unlock": {
@@ -467,7 +527,11 @@ export interface paths {
467
527
  get: operations["listFormSubmissions"];
468
528
  };
469
529
  "/hooks": {
470
- /** API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/listHooksBySiteId | `listHooksBySiteId`} */
530
+ /**
531
+ * API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/listHooksBySiteId | `listHooksBySiteId`}
532
+ *
533
+ * Returns the outgoing hooks for a site. Pass `form_id` or `event` to filter the results.
534
+ */
471
535
  get: operations["listHooksBySiteId"];
472
536
  /** API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/createHookBySiteId | `createHookBySiteId`} */
473
537
  post: operations["createHookBySiteId"];
@@ -486,7 +550,11 @@ export interface paths {
486
550
  };
487
551
  };
488
552
  "/hooks/{hook_id}/enable": {
489
- /** API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/enableHook | `enableHook`} */
553
+ /**
554
+ * API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/enableHook | `enableHook`}
555
+ *
556
+ * Re-enables an outgoing hook that was disabled after repeated delivery errors.
557
+ */
490
558
  post: operations["enableHook"];
491
559
  parameters: {
492
560
  path: {
@@ -495,7 +563,11 @@ export interface paths {
495
563
  };
496
564
  };
497
565
  "/hooks/types": {
498
- /** API Reference: {@link https://open-api.netlify.com/#tag/hookType/operation/listHookTypes | `listHookTypes`} */
566
+ /**
567
+ * API Reference: {@link https://open-api.netlify.com/#tag/hookType/operation/listHookTypes | `listHookTypes`}
568
+ *
569
+ * Returns the available outgoing hook types. When `site_id` is given, returns only the types available to that site.
570
+ */
499
571
  get: operations["listHookTypes"];
500
572
  };
501
573
  "/oauth/tickets": {
@@ -873,7 +945,11 @@ export interface paths {
873
945
  };
874
946
  };
875
947
  "/dns_zones": {
876
- /** API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/getDnsZones | `getDnsZones`} */
948
+ /**
949
+ * API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/getDnsZones | `getDnsZones`}
950
+ *
951
+ * Returns the DNS zones for the team given by `account_slug`, or all DNS zones the current user can access.
952
+ */
877
953
  get: operations["getDnsZones"];
878
954
  /** API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/createDnsZone | `createDnsZone`} */
879
955
  post: operations["createDnsZone"];
@@ -934,7 +1010,11 @@ export interface paths {
934
1010
  get: operations["listSiteDevServers"];
935
1011
  /** API Reference: {@link https://open-api.netlify.com/#tag/devServer/operation/createSiteDevServer | `createSiteDevServer`} */
936
1012
  post: operations["createSiteDevServer"];
937
- /** API Reference: {@link https://open-api.netlify.com/#tag/devServer/operation/deleteSiteDevServers | `deleteSiteDevServers`} */
1013
+ /**
1014
+ * API Reference: {@link https://open-api.netlify.com/#tag/devServer/operation/deleteSiteDevServers | `deleteSiteDevServers`}
1015
+ *
1016
+ * Stops all dev servers for a branch. Stopping happens in the background.
1017
+ */
938
1018
  delete: operations["deleteSiteDevServers"];
939
1019
  parameters: {
940
1020
  path: {
@@ -1878,6 +1958,21 @@ export interface components {
1878
1958
  * default version is used when absent.
1879
1959
  */
1880
1960
  runtime_version?: string;
1961
+ /** @description How many instances of the server run. */
1962
+ scale?: {
1963
+ /**
1964
+ * Format: int64
1965
+ * @description The minimum number of instances the server keeps running. Defaults to 0
1966
+ * when absent.
1967
+ */
1968
+ min?: number | null;
1969
+ /**
1970
+ * Format: int64
1971
+ * @description The maximum number of instances the server scales to. Defaults to the
1972
+ * highest the account's plan allows when absent.
1973
+ */
1974
+ max?: number | null;
1975
+ };
1881
1976
  };
1882
1977
  function_schedules?: components["schemas"]["functionSchedule"][];
1883
1978
  functions_config?: {
@@ -2758,7 +2853,11 @@ export interface operations {
2758
2853
  default: components["responses"]["error"];
2759
2854
  };
2760
2855
  };
2761
- /** API Reference: {@link https://open-api.netlify.com/#tag/sniCertificate/operation/getAllCertificates | `getAllCertificates`} */
2856
+ /**
2857
+ * API Reference: {@link https://open-api.netlify.com/#tag/sniCertificate/operation/getAllCertificates | `getAllCertificates`}
2858
+ *
2859
+ * Returns details about the certificates associated with a domain. The site must be using the domain.
2860
+ */
2762
2861
  getAllCertificates: {
2763
2862
  parameters: {
2764
2863
  path: {
@@ -3096,7 +3195,11 @@ export interface operations {
3096
3195
  default: components["responses"]["error"];
3097
3196
  };
3098
3197
  };
3099
- /** API Reference: {@link https://open-api.netlify.com/#tag/form/operation/deleteSiteForm | `deleteSiteForm`} */
3198
+ /**
3199
+ * API Reference: {@link https://open-api.netlify.com/#tag/form/operation/deleteSiteForm | `deleteSiteForm`}
3200
+ *
3201
+ * Deletes a form and all of its submissions.
3202
+ */
3100
3203
  deleteSiteForm: {
3101
3204
  parameters: {
3102
3205
  path: {
@@ -3148,7 +3251,11 @@ export interface operations {
3148
3251
  default: components["responses"]["error"];
3149
3252
  };
3150
3253
  };
3151
- /** API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/listSiteAssets | `listSiteAssets`} */
3254
+ /**
3255
+ * API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/listSiteAssets | `listSiteAssets`}
3256
+ *
3257
+ * _This endpoint is only available to certain sites._
3258
+ */
3152
3259
  listSiteAssets: {
3153
3260
  parameters: {
3154
3261
  path: {
@@ -3165,7 +3272,11 @@ export interface operations {
3165
3272
  default: components["responses"]["error"];
3166
3273
  };
3167
3274
  };
3168
- /** API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/createSiteAsset | `createSiteAsset`} */
3275
+ /**
3276
+ * API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/createSiteAsset | `createSiteAsset`}
3277
+ *
3278
+ * _This endpoint is only available to certain sites._
3279
+ */
3169
3280
  createSiteAsset: {
3170
3281
  parameters: {
3171
3282
  path: {
@@ -3188,7 +3299,11 @@ export interface operations {
3188
3299
  default: components["responses"]["error"];
3189
3300
  };
3190
3301
  };
3191
- /** API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/getSiteAssetInfo | `getSiteAssetInfo`} */
3302
+ /**
3303
+ * API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/getSiteAssetInfo | `getSiteAssetInfo`}
3304
+ *
3305
+ * _This endpoint is only available to certain sites._
3306
+ */
3192
3307
  getSiteAssetInfo: {
3193
3308
  parameters: {
3194
3309
  path: {
@@ -3206,7 +3321,11 @@ export interface operations {
3206
3321
  default: components["responses"]["error"];
3207
3322
  };
3208
3323
  };
3209
- /** API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/updateSiteAsset | `updateSiteAsset`} */
3324
+ /**
3325
+ * API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/updateSiteAsset | `updateSiteAsset`}
3326
+ *
3327
+ * _This endpoint is only available to certain sites._
3328
+ */
3210
3329
  updateSiteAsset: {
3211
3330
  parameters: {
3212
3331
  path: {
@@ -3227,7 +3346,11 @@ export interface operations {
3227
3346
  default: components["responses"]["error"];
3228
3347
  };
3229
3348
  };
3230
- /** API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/deleteSiteAsset | `deleteSiteAsset`} */
3349
+ /**
3350
+ * API Reference: {@link https://open-api.netlify.com/#tag/asset/operation/deleteSiteAsset | `deleteSiteAsset`}
3351
+ *
3352
+ * _This endpoint is only available to certain sites._
3353
+ */
3231
3354
  deleteSiteAsset: {
3232
3355
  parameters: {
3233
3356
  path: {
@@ -3241,7 +3364,11 @@ export interface operations {
3241
3364
  default: components["responses"]["error"];
3242
3365
  };
3243
3366
  };
3244
- /** API Reference: {@link https://open-api.netlify.com/#tag/assetPublicSignature/operation/getSiteAssetPublicSignature | `getSiteAssetPublicSignature`} */
3367
+ /**
3368
+ * API Reference: {@link https://open-api.netlify.com/#tag/assetPublicSignature/operation/getSiteAssetPublicSignature | `getSiteAssetPublicSignature`}
3369
+ *
3370
+ * Returns the URL of the asset. If the asset isn't publicly visible, returns a signed URL. _This endpoint is only available to certain sites._
3371
+ */
3245
3372
  getSiteAssetPublicSignature: {
3246
3373
  parameters: {
3247
3374
  path: {
@@ -3284,7 +3411,7 @@ export interface operations {
3284
3411
  */
3285
3412
  purgeCache: {
3286
3413
  responses: {
3287
- /** OK */
3414
+ /** Accepted. The purge is queued and propagates across the CDN asynchronously. The response has no body and there is no status resource to poll for completion. */
3288
3415
  202: unknown;
3289
3416
  /** Invalid request parameters */
3290
3417
  400: unknown;
@@ -3618,7 +3745,11 @@ export interface operations {
3618
3745
  };
3619
3746
  requestBody: components["requestBodies"]["deployFiles"];
3620
3747
  };
3621
- /** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteSiteDeploy | `deleteSiteDeploy`} */
3748
+ /**
3749
+ * API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteSiteDeploy | `deleteSiteDeploy`}
3750
+ *
3751
+ * Marks a deploy for deletion.
3752
+ */
3622
3753
  deleteSiteDeploy: {
3623
3754
  parameters: {
3624
3755
  path: {
@@ -3649,7 +3780,11 @@ export interface operations {
3649
3780
  default: components["responses"]["error"];
3650
3781
  };
3651
3782
  };
3652
- /** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/restoreSiteDeploy | `restoreSiteDeploy`} */
3783
+ /**
3784
+ * API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/restoreSiteDeploy | `restoreSiteDeploy`}
3785
+ *
3786
+ * Publishes a previous deploy of the site.
3787
+ */
3653
3788
  restoreSiteDeploy: {
3654
3789
  parameters: {
3655
3790
  path: {
@@ -3707,8 +3842,14 @@ export interface operations {
3707
3842
  branch?: string;
3708
3843
  /** Whether to clear the build cache before building */
3709
3844
  clear_cache?: boolean;
3845
+ /** The commit SHA to build; when omitted, the head of the branch or pull request is fetched from the git host. Ignored for zip uploads */
3846
+ commit_sha?: string;
3847
+ /** Whether to create a draft deploy, which uses the deploy-preview context and is never published; review_id builds are always drafts */
3848
+ draft?: boolean;
3710
3849
  /** The build image tag to use for the build */
3711
3850
  image?: string;
3851
+ /** The merge/pull request ID to build; triggers a deploy preview. Ignored for zip uploads */
3852
+ review_id?: number;
3712
3853
  /** The build template to use for the build */
3713
3854
  template_id?: string;
3714
3855
  /** The title of the build */
@@ -3880,7 +4021,11 @@ export interface operations {
3880
4021
  default: components["responses"]["error"];
3881
4022
  };
3882
4023
  };
3883
- /** API Reference: {@link https://open-api.netlify.com/#tag/build/operation/getAccountBuildStatus | `getAccountBuildStatus`} */
4024
+ /**
4025
+ * API Reference: {@link https://open-api.netlify.com/#tag/build/operation/getAccountBuildStatus | `getAccountBuildStatus`}
4026
+ *
4027
+ * Returns the team's counts of active, concurrency-pending, and enqueued builds, and its build minutes usage.
4028
+ */
3884
4029
  getAccountBuildStatus: {
3885
4030
  parameters: {
3886
4031
  path: {
@@ -3914,7 +4059,11 @@ export interface operations {
3914
4059
  default: components["responses"]["error"];
3915
4060
  };
3916
4061
  };
3917
- /** API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/configureDNSForSite | `configureDNSForSite`} */
4062
+ /**
4063
+ * API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/configureDNSForSite | `configureDNSForSite`}
4064
+ *
4065
+ * Creates any missing DNS zones and records for the site's custom domain and domain aliases. This usually runs automatically when the custom domain is set.
4066
+ */
3918
4067
  configureDNSForSite: {
3919
4068
  parameters: {
3920
4069
  path: {
@@ -3931,7 +4080,11 @@ export interface operations {
3931
4080
  default: components["responses"]["error"];
3932
4081
  };
3933
4082
  };
3934
- /** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/rollbackSiteDeploy | `rollbackSiteDeploy`} */
4083
+ /**
4084
+ * API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/rollbackSiteDeploy | `rollbackSiteDeploy`}
4085
+ *
4086
+ * Rolls back the production deploy to the deploy referenced by its `rollback_id`. Does nothing if the current production deploy has no `rollback_id`.
4087
+ */
3935
4088
  rollbackSiteDeploy: {
3936
4089
  parameters: {
3937
4090
  path: {
@@ -3961,7 +4114,11 @@ export interface operations {
3961
4114
  default: components["responses"]["error"];
3962
4115
  };
3963
4116
  };
3964
- /** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteDeploy | `deleteDeploy`} */
4117
+ /**
4118
+ * API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/deleteDeploy | `deleteDeploy`}
4119
+ *
4120
+ * Marks a deploy for deletion.
4121
+ */
3965
4122
  deleteDeploy: {
3966
4123
  parameters: {
3967
4124
  path: {
@@ -3974,7 +4131,11 @@ export interface operations {
3974
4131
  default: components["responses"]["error"];
3975
4132
  };
3976
4133
  };
3977
- /** API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/lockDeploy | `lockDeploy`} */
4134
+ /**
4135
+ * API Reference: {@link https://open-api.netlify.com/#tag/deploy/operation/lockDeploy | `lockDeploy`}
4136
+ *
4137
+ * Locks a deploy so that subsequent deploys are built but not published. If the deploy is not the site's published deploy, locking publishes it first. When publishing is gated, the publish and lock are queued and the API responds with 202 Accepted and the deploy; poll `getDeploy` to follow it.
4138
+ */
3978
4139
  lockDeploy: {
3979
4140
  parameters: {
3980
4141
  path: {
@@ -4123,11 +4284,19 @@ export interface operations {
4123
4284
  default: components["responses"]["error"];
4124
4285
  };
4125
4286
  };
4126
- /** API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/listHooksBySiteId | `listHooksBySiteId`} */
4287
+ /**
4288
+ * API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/listHooksBySiteId | `listHooksBySiteId`}
4289
+ *
4290
+ * Returns the outgoing hooks for a site. Pass `form_id` or `event` to filter the results.
4291
+ */
4127
4292
  listHooksBySiteId: {
4128
4293
  parameters: {
4129
4294
  query: {
4130
4295
  site_id: string;
4296
+ /** Only return hooks attached to this form. */
4297
+ form_id?: string;
4298
+ /** Only return hooks for this event name. */
4299
+ event?: string;
4131
4300
  };
4132
4301
  };
4133
4302
  responses: {
@@ -4205,7 +4374,11 @@ export interface operations {
4205
4374
  204: never;
4206
4375
  };
4207
4376
  };
4208
- /** API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/enableHook | `enableHook`} */
4377
+ /**
4378
+ * API Reference: {@link https://open-api.netlify.com/#tag/hook/operation/enableHook | `enableHook`}
4379
+ *
4380
+ * Re-enables an outgoing hook that was disabled after repeated delivery errors.
4381
+ */
4209
4382
  enableHook: {
4210
4383
  parameters: {
4211
4384
  path: {
@@ -4222,8 +4395,18 @@ export interface operations {
4222
4395
  default: components["responses"]["error"];
4223
4396
  };
4224
4397
  };
4225
- /** API Reference: {@link https://open-api.netlify.com/#tag/hookType/operation/listHookTypes | `listHookTypes`} */
4398
+ /**
4399
+ * API Reference: {@link https://open-api.netlify.com/#tag/hookType/operation/listHookTypes | `listHookTypes`}
4400
+ *
4401
+ * Returns the available outgoing hook types. When `site_id` is given, returns only the types available to that site.
4402
+ */
4226
4403
  listHookTypes: {
4404
+ parameters: {
4405
+ query: {
4406
+ /** Only return the hook types available to this site. */
4407
+ site_id?: string;
4408
+ };
4409
+ };
4227
4410
  responses: {
4228
4411
  /** OK */
4229
4412
  200: {
@@ -4785,7 +4968,7 @@ export interface operations {
4785
4968
  };
4786
4969
  };
4787
4970
  responses: {
4788
- /** Accepted */
4971
+ /** Accepted. Same behavior as `stopAgentRunner`: the response has no body, the run's active sessions are set to `cancelled` before it returns, and the sandbox shuts down in the background. To confirm, poll `getAgentRunnerSession` (`GET /agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}`) and check that `state` is `cancelled`. */
4789
4972
  202: unknown;
4790
4973
  default: components["responses"]["error"];
4791
4974
  };
@@ -4819,7 +5002,7 @@ export interface operations {
4819
5002
  };
4820
5003
  };
4821
5004
  responses: {
4822
- /** Accepted */
5005
+ /** Accepted. The response has no body. The run's active sessions are set to `cancelled` before this returns, and the sandbox shuts down in the background. To confirm, poll `getAgentRunnerSession` (`GET /agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}`) and check that `state` is `cancelled`. */
4823
5006
  202: unknown;
4824
5007
  default: components["responses"]["error"];
4825
5008
  };
@@ -4861,7 +5044,7 @@ export interface operations {
4861
5044
  };
4862
5045
  };
4863
5046
  responses: {
4864
- /** Accepted */
5047
+ /** Accepted. The response has no body. The archive is applied before this returns: `getAgentRunner` (`GET /agent_runners/{agent_runner_id}`) reports `state` as `archived`. */
4865
5048
  202: unknown;
4866
5049
  /** Not Found */
4867
5050
  404: unknown;
@@ -5001,7 +5184,7 @@ export interface operations {
5001
5184
  };
5002
5185
  };
5003
5186
  responses: {
5004
- /** Accepted */
5187
+ /** Accepted. Same behavior as `stopAgentRunnerSession`: the response has no body, the session is set to `cancelled` before it returns, and the sandbox shuts down in the background. To confirm, poll `getAgentRunnerSession` (`GET /agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}`) and check that `state` is `cancelled`. */
5005
5188
  202: unknown;
5006
5189
  default: components["responses"]["error"];
5007
5190
  };
@@ -5040,7 +5223,7 @@ export interface operations {
5040
5223
  };
5041
5224
  };
5042
5225
  responses: {
5043
- /** Accepted */
5226
+ /** Accepted. The response has no body. The session is set to `cancelled` before this returns, and the sandbox shuts down in the background. To confirm, poll `getAgentRunnerSession` (`GET /agent_runners/{agent_runner_id}/sessions/{agent_runner_session_id}`) and check that `state` is `cancelled`. */
5044
5227
  202: unknown;
5045
5228
  default: components["responses"]["error"];
5046
5229
  };
@@ -5374,7 +5557,11 @@ export interface operations {
5374
5557
  default: components["responses"]["error"];
5375
5558
  };
5376
5559
  };
5377
- /** API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/getDnsZones | `getDnsZones`} */
5560
+ /**
5561
+ * API Reference: {@link https://open-api.netlify.com/#tag/dnsZone/operation/getDnsZones | `getDnsZones`}
5562
+ *
5563
+ * Returns the DNS zones for the team given by `account_slug`, or all DNS zones the current user can access.
5564
+ */
5378
5565
  getDnsZones: {
5379
5566
  parameters: {
5380
5567
  query: {
@@ -5575,7 +5762,11 @@ export interface operations {
5575
5762
  default: components["responses"]["error"];
5576
5763
  };
5577
5764
  };
5578
- /** API Reference: {@link https://open-api.netlify.com/#tag/devServer/operation/deleteSiteDevServers | `deleteSiteDevServers`} */
5765
+ /**
5766
+ * API Reference: {@link https://open-api.netlify.com/#tag/devServer/operation/deleteSiteDevServers | `deleteSiteDevServers`}
5767
+ *
5768
+ * Stops all dev servers for a branch. Stopping happens in the background.
5769
+ */
5579
5770
  deleteSiteDevServers: {
5580
5771
  parameters: {
5581
5772
  path: {
@@ -5586,7 +5777,7 @@ export interface operations {
5586
5777
  };
5587
5778
  };
5588
5779
  responses: {
5589
- /** OK */
5780
+ /** Accepted. The response has no body. The branch's active dev servers are set to `stopping` before this returns and shut down in the background. Poll `getSiteDevServer` (`GET /sites/{site_id}/dev_servers/{dev_server_id}`) or `listSiteDevServers` (`GET /sites/{site_id}/dev_servers`) until `state` is `done` (or `error`). */
5590
5781
  202: unknown;
5591
5782
  default: components["responses"]["error"];
5592
5783
  };