@netlify/open-api 2.47.0-alpha.0 → 2.48.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
@@ -917,24 +917,6 @@ export interface paths {
917
917
  };
918
918
  };
919
919
  "/sites/{site_id}/database": {
920
- /**
921
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/getSiteDatabase | `getSiteDatabase`}
922
- *
923
- * Returns the database connection string for the specified site.
924
- */
925
- get: operations["getSiteDatabase"];
926
- /**
927
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/createSiteDatabase | `createSiteDatabase`}
928
- *
929
- * Creates a new database for the specified site. If a database already exists, returns the existing connection string. The database region defaults to the site's functions region if not specified.
930
- */
931
- post: operations["createSiteDatabase"];
932
- /**
933
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/deleteSiteDatabase | `deleteSiteDatabase`}
934
- *
935
- * Deletes the database and all associated branches and snapshots for the specified site.
936
- */
937
- delete: operations["deleteSiteDatabase"];
938
920
  parameters: {
939
921
  path: {
940
922
  site_id: string;
@@ -942,12 +924,6 @@ export interface paths {
942
924
  };
943
925
  };
944
926
  "/sites/{site_id}/database/branch": {
945
- /**
946
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/createSiteDatabaseBranch | `createSiteDatabaseBranch`}
947
- *
948
- * Creates a new database branch for a deploy. If a branch already exists for the specified deploy ID, returns the existing connection string.
949
- */
950
- post: operations["createSiteDatabaseBranch"];
951
927
  parameters: {
952
928
  path: {
953
929
  site_id: string;
@@ -955,18 +931,6 @@ export interface paths {
955
931
  };
956
932
  };
957
933
  "/sites/{site_id}/database/branch/{deploy_id}": {
958
- /**
959
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/getSiteDatabaseBranch | `getSiteDatabaseBranch`}
960
- *
961
- * Returns the database branch connection string for a specific deploy.
962
- */
963
- get: operations["getSiteDatabaseBranch"];
964
- /**
965
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/deleteSiteDatabaseBranch | `deleteSiteDatabaseBranch`}
966
- *
967
- * Deletes a database branch associated with a deploy.
968
- */
969
- delete: operations["deleteSiteDatabaseBranch"];
970
934
  parameters: {
971
935
  path: {
972
936
  site_id: string;
@@ -976,12 +940,6 @@ export interface paths {
976
940
  };
977
941
  };
978
942
  "/sites/{site_id}/database/snapshot": {
979
- /**
980
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/createSiteDatabaseSnapshot | `createSiteDatabaseSnapshot`}
981
- *
982
- * Creates a point-in-time snapshot of a database branch. Defaults to the production branch if no branch name is specified.
983
- */
984
- post: operations["createSiteDatabaseSnapshot"];
985
943
  parameters: {
986
944
  path: {
987
945
  site_id: string;
@@ -989,12 +947,6 @@ export interface paths {
989
947
  };
990
948
  };
991
949
  "/sites/{site_id}/database/snapshots": {
992
- /**
993
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/listSiteDatabaseSnapshots | `listSiteDatabaseSnapshots`}
994
- *
995
- * Returns all snapshots for the site's database.
996
- */
997
- get: operations["listSiteDatabaseSnapshots"];
998
950
  parameters: {
999
951
  path: {
1000
952
  site_id: string;
@@ -1002,12 +954,6 @@ export interface paths {
1002
954
  };
1003
955
  };
1004
956
  "/sites/{site_id}/database/snapshot/{snapshot_id}": {
1005
- /**
1006
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/deleteSiteDatabaseSnapshot | `deleteSiteDatabaseSnapshot`}
1007
- *
1008
- * Deletes a database snapshot.
1009
- */
1010
- delete: operations["deleteSiteDatabaseSnapshot"];
1011
957
  parameters: {
1012
958
  path: {
1013
959
  site_id: string;
@@ -1017,12 +963,6 @@ export interface paths {
1017
963
  };
1018
964
  };
1019
965
  "/sites/{site_id}/database/snapshot/{snapshot_id}/restore": {
1020
- /**
1021
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/restoreSiteDatabaseSnapshot | `restoreSiteDatabaseSnapshot`}
1022
- *
1023
- * Restores a snapshot to a database branch. Defaults to the production branch if no branch_name is specified.
1024
- */
1025
- post: operations["restoreSiteDatabaseSnapshot"];
1026
966
  parameters: {
1027
967
  path: {
1028
968
  site_id: string;
@@ -1377,6 +1317,12 @@ export interface components {
1377
1317
  skew_protection_token?: string;
1378
1318
  function_schedules?: components["schemas"]["functionSchedule"][];
1379
1319
  };
1320
+ deployEnvironmentVariable: {
1321
+ key: string;
1322
+ value: string;
1323
+ is_secret?: boolean;
1324
+ scopes: ("builds" | "functions" | "runtime" | "post-processing")[];
1325
+ };
1380
1326
  /**
1381
1327
  * @description Deploy files can be provided in two ways:
1382
1328
  * 1. As a JSON object using 'files' (a hash mapping file paths to SHA1 digests), OR
@@ -1404,6 +1350,25 @@ export interface components {
1404
1350
  branch?: string;
1405
1351
  framework?: string;
1406
1352
  framework_version?: string;
1353
+ /**
1354
+ * @description A list of deploy-specific environment variable data. Data specified this way applies only
1355
+ * to this specific deploy and is merged into any existing environment variables set on the
1356
+ * account and site.
1357
+ *
1358
+ * Deploy-specific environment variable data takes precedence over account and site
1359
+ * environment variable data: For example, a deploy-specific variable with the key `NODE_ENV`
1360
+ * will take priority over any existing site- and account-level environment variable data
1361
+ * with the key `NODE_ENV`.
1362
+ *
1363
+ * Environment variable data may be provided at one of two times:
1364
+ *
1365
+ * - When creating a new Deploy with deploy files (most common)
1366
+ * - When finalizing an existing Deploy with deploy files
1367
+ *
1368
+ * Once set, environment variables for a specific deploy cannot be modified. Subsequent
1369
+ * attempts to modify environment variable data for a deploy will be ignored.
1370
+ */
1371
+ environment?: components["schemas"]["deployEnvironmentVariable"][];
1407
1372
  };
1408
1373
  pluginParams: {
1409
1374
  pinned_version?: string;
@@ -4842,242 +4807,6 @@ export interface operations {
4842
4807
  default: components["responses"]["error"];
4843
4808
  };
4844
4809
  };
4845
- /**
4846
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/getSiteDatabase | `getSiteDatabase`}
4847
- *
4848
- * Returns the database connection string for the specified site.
4849
- */
4850
- getSiteDatabase: {
4851
- parameters: {
4852
- path: {
4853
- site_id: string;
4854
- };
4855
- };
4856
- responses: {
4857
- /** OK */
4858
- 200: {
4859
- content: {
4860
- "application/json": components["schemas"]["databaseResponse"];
4861
- };
4862
- };
4863
- default: components["responses"]["error"];
4864
- };
4865
- };
4866
- /**
4867
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/createSiteDatabase | `createSiteDatabase`}
4868
- *
4869
- * Creates a new database for the specified site. If a database already exists, returns the existing connection string. The database region defaults to the site's functions region if not specified.
4870
- */
4871
- createSiteDatabase: {
4872
- parameters: {
4873
- path: {
4874
- site_id: string;
4875
- };
4876
- };
4877
- responses: {
4878
- /** Database already exists */
4879
- 200: {
4880
- content: {
4881
- "application/json": components["schemas"]["databaseResponse"];
4882
- };
4883
- };
4884
- /** Created */
4885
- 201: {
4886
- content: {
4887
- "application/json": components["schemas"]["databaseResponse"];
4888
- };
4889
- };
4890
- default: components["responses"]["error"];
4891
- };
4892
- requestBody: {
4893
- content: {
4894
- "application/json": components["schemas"]["createDatabaseRequest"];
4895
- };
4896
- };
4897
- };
4898
- /**
4899
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/deleteSiteDatabase | `deleteSiteDatabase`}
4900
- *
4901
- * Deletes the database and all associated branches and snapshots for the specified site.
4902
- */
4903
- deleteSiteDatabase: {
4904
- parameters: {
4905
- path: {
4906
- site_id: string;
4907
- };
4908
- };
4909
- responses: {
4910
- /** Deleted */
4911
- 204: never;
4912
- default: components["responses"]["error"];
4913
- };
4914
- };
4915
- /**
4916
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/createSiteDatabaseBranch | `createSiteDatabaseBranch`}
4917
- *
4918
- * Creates a new database branch for a deploy. If a branch already exists for the specified deploy ID, returns the existing connection string.
4919
- */
4920
- createSiteDatabaseBranch: {
4921
- parameters: {
4922
- path: {
4923
- site_id: string;
4924
- };
4925
- };
4926
- responses: {
4927
- /** Branch already exists for this deploy */
4928
- 200: {
4929
- content: {
4930
- "application/json": components["schemas"]["databaseBranchResponse"];
4931
- };
4932
- };
4933
- /** Created */
4934
- 201: {
4935
- content: {
4936
- "application/json": components["schemas"]["databaseBranchResponse"];
4937
- };
4938
- };
4939
- default: components["responses"]["error"];
4940
- };
4941
- requestBody: {
4942
- content: {
4943
- "application/json": components["schemas"]["createDatabaseBranchRequest"];
4944
- };
4945
- };
4946
- };
4947
- /**
4948
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/getSiteDatabaseBranch | `getSiteDatabaseBranch`}
4949
- *
4950
- * Returns the database branch connection string for a specific deploy.
4951
- */
4952
- getSiteDatabaseBranch: {
4953
- parameters: {
4954
- path: {
4955
- site_id: string;
4956
- /** The deploy ID associated with the database branch */
4957
- deploy_id: string;
4958
- };
4959
- };
4960
- responses: {
4961
- /** OK */
4962
- 200: {
4963
- content: {
4964
- "application/json": components["schemas"]["databaseBranchResponse"];
4965
- };
4966
- };
4967
- /** Branch not found for this deploy */
4968
- 404: unknown;
4969
- default: components["responses"]["error"];
4970
- };
4971
- };
4972
- /**
4973
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/deleteSiteDatabaseBranch | `deleteSiteDatabaseBranch`}
4974
- *
4975
- * Deletes a database branch associated with a deploy.
4976
- */
4977
- deleteSiteDatabaseBranch: {
4978
- parameters: {
4979
- path: {
4980
- site_id: string;
4981
- /** The deploy ID associated with the database branch */
4982
- deploy_id: string;
4983
- };
4984
- };
4985
- responses: {
4986
- /** Deleted */
4987
- 204: never;
4988
- default: components["responses"]["error"];
4989
- };
4990
- };
4991
- /**
4992
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/createSiteDatabaseSnapshot | `createSiteDatabaseSnapshot`}
4993
- *
4994
- * Creates a point-in-time snapshot of a database branch. Defaults to the production branch if no branch name is specified.
4995
- */
4996
- createSiteDatabaseSnapshot: {
4997
- parameters: {
4998
- path: {
4999
- site_id: string;
5000
- };
5001
- };
5002
- responses: {
5003
- /** Created */
5004
- 201: {
5005
- content: {
5006
- "application/json": components["schemas"]["databaseSnapshot"];
5007
- };
5008
- };
5009
- default: components["responses"]["error"];
5010
- };
5011
- requestBody: {
5012
- content: {
5013
- "application/json": components["schemas"]["createDatabaseSnapshotRequest"];
5014
- };
5015
- };
5016
- };
5017
- /**
5018
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/listSiteDatabaseSnapshots | `listSiteDatabaseSnapshots`}
5019
- *
5020
- * Returns all snapshots for the site's database.
5021
- */
5022
- listSiteDatabaseSnapshots: {
5023
- parameters: {
5024
- path: {
5025
- site_id: string;
5026
- };
5027
- };
5028
- responses: {
5029
- /** OK */
5030
- 200: {
5031
- content: {
5032
- "application/json": components["schemas"]["databaseSnapshotsResponse"];
5033
- };
5034
- };
5035
- default: components["responses"]["error"];
5036
- };
5037
- };
5038
- /**
5039
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/deleteSiteDatabaseSnapshot | `deleteSiteDatabaseSnapshot`}
5040
- *
5041
- * Deletes a database snapshot.
5042
- */
5043
- deleteSiteDatabaseSnapshot: {
5044
- parameters: {
5045
- path: {
5046
- site_id: string;
5047
- /** The snapshot ID */
5048
- snapshot_id: string;
5049
- };
5050
- };
5051
- responses: {
5052
- /** Deleted */
5053
- 204: never;
5054
- default: components["responses"]["error"];
5055
- };
5056
- };
5057
- /**
5058
- * API Reference: {@link https://open-api.netlify.com/#tag/database/operation/restoreSiteDatabaseSnapshot | `restoreSiteDatabaseSnapshot`}
5059
- *
5060
- * Restores a snapshot to a database branch. Defaults to the production branch if no branch_name is specified.
5061
- */
5062
- restoreSiteDatabaseSnapshot: {
5063
- parameters: {
5064
- path: {
5065
- site_id: string;
5066
- /** The snapshot ID to restore */
5067
- snapshot_id: string;
5068
- };
5069
- };
5070
- responses: {
5071
- /** OK */
5072
- 200: unknown;
5073
- default: components["responses"]["error"];
5074
- };
5075
- requestBody: {
5076
- content: {
5077
- "application/json": components["schemas"]["restoreDatabaseSnapshotRequest"];
5078
- };
5079
- };
5080
- };
5081
4810
  }
5082
4811
 
5083
4812
  export interface external {}
package/dist/swagger.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "swagger": "2.0",
3
3
  "info": {
4
- "version": "2.47.0-alpha.0",
4
+ "version": "2.48.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/",
@@ -5791,6 +5791,41 @@
5791
5791
  },
5792
5792
  "framework_version": {
5793
5793
  "type": "string"
5794
+ },
5795
+ "environment": {
5796
+ "description": "A list of deploy-specific environment variable data. Data specified this way applies only\nto this specific deploy and is merged into any existing environment variables set on the\naccount and site.\n\nDeploy-specific environment variable data takes precedence over account and site\nenvironment variable data: For example, a deploy-specific variable with the key `NODE_ENV`\nwill take priority over any existing site- and account-level environment variable data\nwith the key `NODE_ENV`.\n\nEnvironment variable data may be provided at one of two times:\n\n- When creating a new Deploy with deploy files (most common)\n- When finalizing an existing Deploy with deploy files\n\nOnce set, environment variables for a specific deploy cannot be modified. Subsequent\nattempts to modify environment variable data for a deploy will be ignored.\n",
5797
+ "type": "array",
5798
+ "items": {
5799
+ "type": "object",
5800
+ "required": [
5801
+ "key",
5802
+ "value",
5803
+ "scopes"
5804
+ ],
5805
+ "properties": {
5806
+ "key": {
5807
+ "type": "string"
5808
+ },
5809
+ "value": {
5810
+ "type": "string"
5811
+ },
5812
+ "is_secret": {
5813
+ "type": "boolean"
5814
+ },
5815
+ "scopes": {
5816
+ "type": "array",
5817
+ "items": {
5818
+ "type": "string",
5819
+ "enum": [
5820
+ "builds",
5821
+ "functions",
5822
+ "runtime",
5823
+ "post-processing"
5824
+ ]
5825
+ }
5826
+ }
5827
+ }
5828
+ }
5794
5829
  }
5795
5830
  }
5796
5831
  },
@@ -6303,6 +6338,41 @@
6303
6338
  },
6304
6339
  "framework_version": {
6305
6340
  "type": "string"
6341
+ },
6342
+ "environment": {
6343
+ "description": "A list of deploy-specific environment variable data. Data specified this way applies only\nto this specific deploy and is merged into any existing environment variables set on the\naccount and site.\n\nDeploy-specific environment variable data takes precedence over account and site\nenvironment variable data: For example, a deploy-specific variable with the key `NODE_ENV`\nwill take priority over any existing site- and account-level environment variable data\nwith the key `NODE_ENV`.\n\nEnvironment variable data may be provided at one of two times:\n\n- When creating a new Deploy with deploy files (most common)\n- When finalizing an existing Deploy with deploy files\n\nOnce set, environment variables for a specific deploy cannot be modified. Subsequent\nattempts to modify environment variable data for a deploy will be ignored.\n",
6344
+ "type": "array",
6345
+ "items": {
6346
+ "type": "object",
6347
+ "required": [
6348
+ "key",
6349
+ "value",
6350
+ "scopes"
6351
+ ],
6352
+ "properties": {
6353
+ "key": {
6354
+ "type": "string"
6355
+ },
6356
+ "value": {
6357
+ "type": "string"
6358
+ },
6359
+ "is_secret": {
6360
+ "type": "boolean"
6361
+ },
6362
+ "scopes": {
6363
+ "type": "array",
6364
+ "items": {
6365
+ "type": "string",
6366
+ "enum": [
6367
+ "builds",
6368
+ "functions",
6369
+ "runtime",
6370
+ "post-processing"
6371
+ ]
6372
+ }
6373
+ }
6374
+ }
6375
+ }
6306
6376
  }
6307
6377
  }
6308
6378
  },
@@ -17113,6 +17183,7 @@
17113
17183
  }
17114
17184
  ],
17115
17185
  "post": {
17186
+ "x-internal": true,
17116
17187
  "operationId": "createSiteDatabase",
17117
17188
  "tags": [
17118
17189
  "database"
@@ -17186,6 +17257,7 @@
17186
17257
  }
17187
17258
  },
17188
17259
  "get": {
17260
+ "x-internal": true,
17189
17261
  "operationId": "getSiteDatabase",
17190
17262
  "tags": [
17191
17263
  "database"
@@ -17227,6 +17299,7 @@
17227
17299
  }
17228
17300
  },
17229
17301
  "delete": {
17302
+ "x-internal": true,
17230
17303
  "operationId": "deleteSiteDatabase",
17231
17304
  "tags": [
17232
17305
  "database"
@@ -17268,6 +17341,7 @@
17268
17341
  }
17269
17342
  ],
17270
17343
  "post": {
17344
+ "x-internal": true,
17271
17345
  "operationId": "createSiteDatabaseBranch",
17272
17346
  "tags": [
17273
17347
  "database"
@@ -17366,6 +17440,7 @@
17366
17440
  }
17367
17441
  ],
17368
17442
  "get": {
17443
+ "x-internal": true,
17369
17444
  "operationId": "getSiteDatabaseBranch",
17370
17445
  "tags": [
17371
17446
  "database"
@@ -17410,6 +17485,7 @@
17410
17485
  }
17411
17486
  },
17412
17487
  "delete": {
17488
+ "x-internal": true,
17413
17489
  "operationId": "deleteSiteDatabaseBranch",
17414
17490
  "tags": [
17415
17491
  "database"
@@ -17451,6 +17527,7 @@
17451
17527
  }
17452
17528
  ],
17453
17529
  "post": {
17530
+ "x-internal": true,
17454
17531
  "operationId": "createSiteDatabaseSnapshot",
17455
17532
  "tags": [
17456
17533
  "database"
@@ -17534,6 +17611,7 @@
17534
17611
  }
17535
17612
  ],
17536
17613
  "get": {
17614
+ "x-internal": true,
17537
17615
  "operationId": "listSiteDatabaseSnapshots",
17538
17616
  "tags": [
17539
17617
  "database"
@@ -17611,6 +17689,7 @@
17611
17689
  }
17612
17690
  ],
17613
17691
  "delete": {
17692
+ "x-internal": true,
17614
17693
  "operationId": "deleteSiteDatabaseSnapshot",
17615
17694
  "tags": [
17616
17695
  "database"
@@ -17659,6 +17738,7 @@
17659
17738
  }
17660
17739
  ],
17661
17740
  "post": {
17741
+ "x-internal": true,
17662
17742
  "operationId": "restoreSiteDatabaseSnapshot",
17663
17743
  "tags": [
17664
17744
  "database"
@@ -19291,6 +19371,37 @@
19291
19371
  }
19292
19372
  }
19293
19373
  },
19374
+ "deployEnvironmentVariable": {
19375
+ "type": "object",
19376
+ "required": [
19377
+ "key",
19378
+ "value",
19379
+ "scopes"
19380
+ ],
19381
+ "properties": {
19382
+ "key": {
19383
+ "type": "string"
19384
+ },
19385
+ "value": {
19386
+ "type": "string"
19387
+ },
19388
+ "is_secret": {
19389
+ "type": "boolean"
19390
+ },
19391
+ "scopes": {
19392
+ "type": "array",
19393
+ "items": {
19394
+ "type": "string",
19395
+ "enum": [
19396
+ "builds",
19397
+ "functions",
19398
+ "runtime",
19399
+ "post-processing"
19400
+ ]
19401
+ }
19402
+ }
19403
+ }
19404
+ },
19294
19405
  "deployFiles": {
19295
19406
  "type": "object",
19296
19407
  "description": "Deploy files can be provided in two ways:\n1. As a JSON object using 'files' (a hash mapping file paths to SHA1 digests), OR\n2. As a zip file using one of these methods:\n - Set Content-Type to 'application/zip' and send the zip file as the raw request body\n - Include the zip file content in the 'zip' field of this JSON object with Content-Type 'application/json'\n",
@@ -19464,6 +19575,41 @@
19464
19575
  },
19465
19576
  "framework_version": {
19466
19577
  "type": "string"
19578
+ },
19579
+ "environment": {
19580
+ "description": "A list of deploy-specific environment variable data. Data specified this way applies only\nto this specific deploy and is merged into any existing environment variables set on the\naccount and site.\n\nDeploy-specific environment variable data takes precedence over account and site\nenvironment variable data: For example, a deploy-specific variable with the key `NODE_ENV`\nwill take priority over any existing site- and account-level environment variable data\nwith the key `NODE_ENV`.\n\nEnvironment variable data may be provided at one of two times:\n\n- When creating a new Deploy with deploy files (most common)\n- When finalizing an existing Deploy with deploy files\n\nOnce set, environment variables for a specific deploy cannot be modified. Subsequent\nattempts to modify environment variable data for a deploy will be ignored.\n",
19581
+ "type": "array",
19582
+ "items": {
19583
+ "type": "object",
19584
+ "required": [
19585
+ "key",
19586
+ "value",
19587
+ "scopes"
19588
+ ],
19589
+ "properties": {
19590
+ "key": {
19591
+ "type": "string"
19592
+ },
19593
+ "value": {
19594
+ "type": "string"
19595
+ },
19596
+ "is_secret": {
19597
+ "type": "boolean"
19598
+ },
19599
+ "scopes": {
19600
+ "type": "array",
19601
+ "items": {
19602
+ "type": "string",
19603
+ "enum": [
19604
+ "builds",
19605
+ "functions",
19606
+ "runtime",
19607
+ "post-processing"
19608
+ ]
19609
+ }
19610
+ }
19611
+ }
19612
+ }
19467
19613
  }
19468
19614
  }
19469
19615
  },
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.47.0-alpha.0",
4
+ "version": "2.48.0",
5
5
  "author": "Netlify",
6
6
  "ava": {
7
7
  "files": [