@yaakapp/api 0.2.15 → 0.2.17

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.
@@ -220,6 +220,11 @@ export type ShowToastRequest = {
220
220
  };
221
221
  export type TemplateFunction = {
222
222
  name: string;
223
+ description?: string;
224
+ /**
225
+ * Also support alternative names. This is useful for not breaking existing
226
+ * tags when changing the `name` property
227
+ */
223
228
  aliases?: Array<string>;
224
229
  args: Array<TemplateFunctionArg>;
225
230
  };
@@ -2,6 +2,7 @@ export type Environment = {
2
2
  model: "environment";
3
3
  id: string;
4
4
  workspaceId: string;
5
+ environmentId: string | null;
5
6
  createdAt: string;
6
7
  updatedAt: string;
7
8
  name: string;
@@ -20,6 +21,7 @@ export type Folder = {
20
21
  workspaceId: string;
21
22
  folderId: string | null;
22
23
  name: string;
24
+ description: string;
23
25
  sortPriority: number;
24
26
  };
25
27
  export type GrpcMetadataEntry = {
@@ -36,6 +38,7 @@ export type GrpcRequest = {
36
38
  folderId: string | null;
37
39
  authenticationType: string | null;
38
40
  authentication: Record<string, any>;
41
+ description: string;
39
42
  message: string;
40
43
  metadata: Array<GrpcMetadataEntry>;
41
44
  method: string | null;
@@ -55,6 +58,7 @@ export type HttpRequest = {
55
58
  authenticationType: string | null;
56
59
  body: Record<string, any>;
57
60
  bodyType: string | null;
61
+ description: string;
58
62
  headers: Array<HttpRequestHeader>;
59
63
  method: string;
60
64
  name: string;
@@ -83,6 +87,7 @@ export type HttpResponse = {
83
87
  remoteAddr: string | null;
84
88
  status: number;
85
89
  statusReason: string | null;
90
+ state: HttpResponseState;
86
91
  url: string;
87
92
  version: string | null;
88
93
  };
@@ -90,6 +95,7 @@ export type HttpResponseHeader = {
90
95
  name: string;
91
96
  value: string;
92
97
  };
98
+ export type HttpResponseState = "initialized" | "connected" | "closed";
93
99
  export type HttpUrlParameter = {
94
100
  enabled?: boolean;
95
101
  name: string;
@@ -102,7 +108,6 @@ export type Workspace = {
102
108
  updatedAt: string;
103
109
  name: string;
104
110
  description: string;
105
- variables: Array<EnvironmentVariable>;
106
111
  settingValidateCertificates: boolean;
107
112
  settingFollowRedirects: boolean;
108
113
  settingRequestTimeout: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yaakapp/api",
3
- "version": "0.2.15",
3
+ "version": "0.2.17",
4
4
  "main": "lib/index.js",
5
5
  "typings": "./lib/index.d.ts",
6
6
  "files": [