@netlify/open-api 2.41.0 → 2.43.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
@@ -983,6 +983,8 @@ export interface components {
983
983
  build_image?: string;
984
984
  prerender?: string;
985
985
  functions_region?: string;
986
+ /** @default false */
987
+ prevent_non_git_prod_deploys?: boolean;
986
988
  };
987
989
  siteSetup: components["schemas"]["site"] & {
988
990
  repo?: components["schemas"]["repoInfo"];
@@ -2726,6 +2728,9 @@ export interface operations {
2726
2728
  site_id: string;
2727
2729
  deploy_id: string;
2728
2730
  };
2731
+ query: {
2732
+ commit_ref?: string;
2733
+ };
2729
2734
  };
2730
2735
  responses: {
2731
2736
  /** OK */
package/dist/swagger.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "swagger": "2.0",
3
3
  "info": {
4
- "version": "2.41.0",
4
+ "version": "2.43.0",
5
5
  "title": "Netlify's API documentation",
6
6
  "description": "Netlify is a hosting service for the programmable web. It understands your documents and provides an API to handle atomic deploys of websites, manage form submissions, inject JavaScript snippets, and much more. This is a REST-style API that uses JSON for serialization and OAuth 2 for authentication.\n\nThis document is an OpenAPI reference for the Netlify API that you can explore. For more detailed instructions for common uses, please visit the [online documentation](https://www.netlify.com/docs/api/). Visit our Community forum to join the conversation about [understanding and using Netlify's API](https://community.netlify.com/t/common-issue-understanding-and-using-netlifys-api/160).\n\nAdditionally, we have two API clients for your convenience:\n- [Go Client](https://github.com/netlify/open-api#go-client)\n- [JS Client](https://github.com/netlify/build/tree/main/packages/js-client)",
7
7
  "termsOfService": "https://www.netlify.com/legal/terms-of-use/",
@@ -400,6 +400,10 @@
400
400
  },
401
401
  "functions_region": {
402
402
  "type": "string"
403
+ },
404
+ "prevent_non_git_prod_deploys": {
405
+ "type": "boolean",
406
+ "default": false
403
407
  }
404
408
  }
405
409
  }
@@ -739,6 +743,10 @@
739
743
  },
740
744
  "functions_region": {
741
745
  "type": "string"
746
+ },
747
+ "prevent_non_git_prod_deploys": {
748
+ "type": "boolean",
749
+ "default": false
742
750
  }
743
751
  }
744
752
  },
@@ -1113,6 +1121,10 @@
1113
1121
  },
1114
1122
  "functions_region": {
1115
1123
  "type": "string"
1124
+ },
1125
+ "prevent_non_git_prod_deploys": {
1126
+ "type": "boolean",
1127
+ "default": false
1116
1128
  }
1117
1129
  }
1118
1130
  }
@@ -1463,6 +1475,10 @@
1463
1475
  },
1464
1476
  "functions_region": {
1465
1477
  "type": "string"
1478
+ },
1479
+ "prevent_non_git_prod_deploys": {
1480
+ "type": "boolean",
1481
+ "default": false
1466
1482
  }
1467
1483
  }
1468
1484
  }
@@ -1801,6 +1817,10 @@
1801
1817
  },
1802
1818
  "functions_region": {
1803
1819
  "type": "string"
1820
+ },
1821
+ "prevent_non_git_prod_deploys": {
1822
+ "type": "boolean",
1823
+ "default": false
1804
1824
  }
1805
1825
  }
1806
1826
  },
@@ -2170,6 +2190,10 @@
2170
2190
  },
2171
2191
  "functions_region": {
2172
2192
  "type": "string"
2193
+ },
2194
+ "prevent_non_git_prod_deploys": {
2195
+ "type": "boolean",
2196
+ "default": false
2173
2197
  }
2174
2198
  }
2175
2199
  }
@@ -6022,6 +6046,11 @@
6022
6046
  "in": "path",
6023
6047
  "required": true
6024
6048
  },
6049
+ {
6050
+ "name": "commit_ref",
6051
+ "type": "string",
6052
+ "in": "query"
6053
+ },
6025
6054
  {
6026
6055
  "name": "deploy",
6027
6056
  "in": "body",
@@ -7235,6 +7264,10 @@
7235
7264
  },
7236
7265
  "functions_region": {
7237
7266
  "type": "string"
7267
+ },
7268
+ "prevent_non_git_prod_deploys": {
7269
+ "type": "boolean",
7270
+ "default": false
7238
7271
  }
7239
7272
  }
7240
7273
  }
@@ -10141,6 +10174,10 @@
10141
10174
  },
10142
10175
  "functions_region": {
10143
10176
  "type": "string"
10177
+ },
10178
+ "prevent_non_git_prod_deploys": {
10179
+ "type": "boolean",
10180
+ "default": false
10144
10181
  }
10145
10182
  }
10146
10183
  },
@@ -10520,6 +10557,10 @@
10520
10557
  },
10521
10558
  "functions_region": {
10522
10559
  "type": "string"
10560
+ },
10561
+ "prevent_non_git_prod_deploys": {
10562
+ "type": "boolean",
10563
+ "default": false
10523
10564
  }
10524
10565
  }
10525
10566
  }
@@ -10881,6 +10922,10 @@
10881
10922
  },
10882
10923
  "functions_region": {
10883
10924
  "type": "string"
10925
+ },
10926
+ "prevent_non_git_prod_deploys": {
10927
+ "type": "boolean",
10928
+ "default": false
10884
10929
  }
10885
10930
  }
10886
10931
  }
@@ -17314,6 +17359,10 @@
17314
17359
  },
17315
17360
  "functions_region": {
17316
17361
  "type": "string"
17362
+ },
17363
+ "prevent_non_git_prod_deploys": {
17364
+ "type": "boolean",
17365
+ "default": false
17317
17366
  }
17318
17367
  }
17319
17368
  },
@@ -17617,6 +17666,10 @@
17617
17666
  },
17618
17667
  "functions_region": {
17619
17668
  "type": "string"
17669
+ },
17670
+ "prevent_non_git_prod_deploys": {
17671
+ "type": "boolean",
17672
+ "default": false
17620
17673
  }
17621
17674
  }
17622
17675
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@netlify/open-api",
3
3
  "description": "Netlify's open-api definition as a module",
4
- "version": "2.41.0",
4
+ "version": "2.43.0",
5
5
  "author": "Netlify",
6
6
  "ava": {
7
7
  "files": [