@netlify/open-api 2.50.0 → 2.51.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
@@ -3554,14 +3554,33 @@ export interface operations {
3554
3554
  };
3555
3555
  };
3556
3556
  responses: {
3557
- /** ok */
3557
+ /** Created */
3558
3558
  201: {
3559
3559
  content: {
3560
3560
  "application/json": components["schemas"]["ticket"];
3561
3561
  };
3562
3562
  };
3563
+ /** OAuth application not found */
3564
+ 401: {
3565
+ content: {
3566
+ "application/json": components["schemas"]["error"];
3567
+ };
3568
+ };
3569
+ /** Validation error */
3570
+ 422: {
3571
+ content: {
3572
+ "application/json": components["schemas"]["error"];
3573
+ };
3574
+ };
3563
3575
  default: components["responses"]["error"];
3564
3576
  };
3577
+ requestBody: {
3578
+ content: {
3579
+ "application/json": {
3580
+ message?: string;
3581
+ };
3582
+ };
3583
+ };
3565
3584
  };
3566
3585
  /** API Reference: {@link https://open-api.netlify.com/#tag/ticket/operation/showTicket | `showTicket`} */
3567
3586
  showTicket: {
package/dist/swagger.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "swagger": "2.0",
3
3
  "info": {
4
- "version": "2.50.0",
4
+ "version": "2.51.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/",
@@ -9841,11 +9841,23 @@
9841
9841
  "type": "string",
9842
9842
  "in": "query",
9843
9843
  "required": true
9844
+ },
9845
+ {
9846
+ "name": "body",
9847
+ "in": "body",
9848
+ "schema": {
9849
+ "type": "object",
9850
+ "properties": {
9851
+ "message": {
9852
+ "type": "string"
9853
+ }
9854
+ }
9855
+ }
9844
9856
  }
9845
9857
  ],
9846
9858
  "responses": {
9847
9859
  "201": {
9848
- "description": "ok",
9860
+ "description": "Created",
9849
9861
  "schema": {
9850
9862
  "type": "object",
9851
9863
  "properties": {
@@ -9865,6 +9877,44 @@
9865
9877
  }
9866
9878
  }
9867
9879
  },
9880
+ "401": {
9881
+ "description": "OAuth application not found",
9882
+ "schema": {
9883
+ "type": "object",
9884
+ "required": [
9885
+ "message"
9886
+ ],
9887
+ "properties": {
9888
+ "code": {
9889
+ "type": "integer",
9890
+ "format": "int64"
9891
+ },
9892
+ "message": {
9893
+ "type": "string",
9894
+ "x-nullable": false
9895
+ }
9896
+ }
9897
+ }
9898
+ },
9899
+ "422": {
9900
+ "description": "Validation error",
9901
+ "schema": {
9902
+ "type": "object",
9903
+ "required": [
9904
+ "message"
9905
+ ],
9906
+ "properties": {
9907
+ "code": {
9908
+ "type": "integer",
9909
+ "format": "int64"
9910
+ },
9911
+ "message": {
9912
+ "type": "string",
9913
+ "x-nullable": false
9914
+ }
9915
+ }
9916
+ }
9917
+ },
9868
9918
  "default": {
9869
9919
  "description": "error",
9870
9920
  "schema": {
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.50.0",
4
+ "version": "2.51.0",
5
5
  "author": "Netlify",
6
6
  "ava": {
7
7
  "files": [