Skip to content

Commit

Permalink
chore(templates-variables-client): update client with new spec
Browse files Browse the repository at this point in the history
  • Loading branch information
@dustin.hirten committed Oct 31, 2024
1 parent 754fefa commit 17672e8
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 10 deletions.
4 changes: 2 additions & 2 deletions clients/template-variables-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clients/template-variables-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epilot/template-variables-client",
"version": "1.14.2",
"version": "1.14.3",
"description": "API Client for epilot Template Variables API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
10 changes: 6 additions & 4 deletions clients/template-variables-client/src/openapi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,11 @@ declare namespace Paths {
namespace CreateCustomVariable {
export type RequestBody = Components.Schemas.CustomVariable;
namespace Responses {
export interface $201 {
}
export type $201 = Components.Schemas.CustomVariable;
export interface $403 {
}
export interface $409 {
}
}
}
namespace DeleteCustomVariable {
Expand Down Expand Up @@ -507,10 +508,11 @@ declare namespace Paths {
}
export type RequestBody = Components.Schemas.CustomVariable;
namespace Responses {
export interface $200 {
}
export type $200 = Components.Schemas.CustomVariable;
export interface $403 {
}
export interface $409 {
}
}
}
}
Expand Down
29 changes: 26 additions & 3 deletions clients/template-variables-client/src/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
"items": {
"type": "string"
},
"example": "\"[Brand Name GmbH] Order confirmation\",\n\"Hello Customer Name \n\n<span color=\"#ccc\">Brand Name GmbH</span>\n<img src=\"https://logobucket.s3.amazonaws.com/brandlogo.png\" alt=\"Brand Name\"/>\n<a href=\"https://company.com/imprint\">imprint</a>\n\"]\n"
"example": "\"[Brand Name GmbH] Order confirmation\",\n\"Hello Customer Name\n\n<span color=\"#ccc\">Brand Name GmbH</span>\n<img src=\"https://logobucket.s3.amazonaws.com/brandlogo.png\" alt=\"Brand Name\"/>\n<a href=\"https://company.com/imprint\">imprint</a>\n\"]\n"
}
}
}
Expand Down Expand Up @@ -312,10 +312,20 @@
},
"responses": {
"201": {
"description": "Success"
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CustomVariable"
}
}
}
},
"403": {
"description": "Forbidden"
},
"409": {
"description": "Conflict - Custom variable with the same key already exists"
}
}
}
Expand Down Expand Up @@ -398,10 +408,20 @@
},
"responses": {
"200": {
"description": "Success"
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CustomVariable"
}
}
}
},
"403": {
"description": "Forbidden"
},
"409": {
"description": "Conflict - Custom variable with the same key already exists"
}
}
},
Expand Down Expand Up @@ -1504,6 +1524,9 @@
}
},
"servers": [
{
"url": "https://template-variables-api.sls.epilot.io"
},
{
"url": "https://template-variables-api.sls.epilot.io"
}
Expand Down

0 comments on commit 17672e8

Please sign in to comment.