Skip to content

Commit

Permalink
Merge pull request #259 from epilot-dev/typegen-templates-api
Browse files Browse the repository at this point in the history
Adds new variable type to the `template-variables-client`
  • Loading branch information
jpcbarros committed Sep 27, 2024
2 parents 663f143 + f12333d commit 05df975
Show file tree
Hide file tree
Showing 13 changed files with 7 additions and 19 deletions.
1 change: 0 additions & 1 deletion clients/consent-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export type { OpenAPIClient, OpenAPIClientAxios, Document } from 'openapi-client-axios';

export * from './client';
Expand Down
1 change: 0 additions & 1 deletion clients/entity-mapping-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export type { OpenAPIClient, OpenAPIClientAxios, Document } from 'openapi-client-axios';

export * from './client';
Expand Down
1 change: 0 additions & 1 deletion clients/file-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export type { OpenAPIClient, OpenAPIClientAxios, Document } from 'openapi-client-axios';

export * from './client';
Expand Down
1 change: 0 additions & 1 deletion clients/organization-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export type { OpenAPIClient, OpenAPIClientAxios, Document } from 'openapi-client-axios';

export * from './client';
Expand Down
1 change: 0 additions & 1 deletion clients/permissions-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export type { OpenAPIClient, OpenAPIClientAxios, Document } from 'openapi-client-axios';

export * from './client';
Expand Down
1 change: 0 additions & 1 deletion clients/pricing-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export type { OpenAPIClient, OpenAPIClientAxios, Document } from 'openapi-client-axios';

export * from './client';
Expand Down
1 change: 0 additions & 1 deletion clients/pricing-tier-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export type { OpenAPIClient, OpenAPIClientAxios, Document } from 'openapi-client-axios';

export * from './client';
Expand Down
1 change: 0 additions & 1 deletion clients/submission-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export type { OpenAPIClient, OpenAPIClientAxios, Document } from 'openapi-client-axios';

export * from './client';
Expand Down
6 changes: 2 additions & 4 deletions clients/template-variables-client/src/openapi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@ declare namespace Components {
id?: string;
/**
* Custom variable type
* example:
* rbse777b-3cf8-4bff-bb0c-253fd1123250
*/
type?: "order_table" | "custom";
type?: "order_table" | "custom" | "journey_link";
/**
* Custom variable name
* example:
Expand Down Expand Up @@ -217,7 +215,7 @@ declare namespace Components {
/**
* Variable type
*/
type?: "order_table" | "custom";
type?: "order_table" | "custom" | "journey_link";
/**
* The tags of custom variable
*/
Expand Down
9 changes: 5 additions & 4 deletions clients/template-variables-client/src/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,8 @@
"description": "Variable type",
"enum": [
"order_table",
"custom"
"custom",
"journey_link"
]
},
"tags": {
Expand Down Expand Up @@ -746,9 +747,9 @@
"description": "Custom variable type",
"enum": [
"order_table",
"custom"
],
"example": "rbse777b-3cf8-4bff-bb0c-253fd1123250"
"custom",
"journey_link"
]
},
"name": {
"type": "string",
Expand Down
1 change: 0 additions & 1 deletion clients/webhooks-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export type { OpenAPIClient, OpenAPIClientAxios, Document } from 'openapi-client-axios';

export * from './client';
Expand Down
1 change: 0 additions & 1 deletion clients/workflow-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export type { OpenAPIClient, OpenAPIClientAxios, Document } from 'openapi-client-axios';

export * from './client';
Expand Down
1 change: 0 additions & 1 deletion clients/workflow-definition-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

export type { OpenAPIClient, OpenAPIClientAxios, Document } from 'openapi-client-axios';

export * from './client';
Expand Down

0 comments on commit 05df975

Please sign in to comment.