@yaakapp/api 0.2.3 → 0.2.5

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.
Files changed (147) hide show
  1. package/lib/gen/events.d.ts +235 -0
  2. package/lib/gen/models.d.ts +201 -0
  3. package/lib/index.d.ts +2 -61
  4. package/lib/index.js +2 -62
  5. package/lib/plugins/Context.d.ts +1 -9
  6. package/lib/plugins/HttpRequestActionPlugin.d.ts +1 -2
  7. package/lib/plugins/ImporterPlugin.d.ts +1 -4
  8. package/lib/plugins/TemplateFunctionPlugin.d.ts +1 -2
  9. package/package.json +1 -1
  10. package/lib/gen/BootRequest.d.ts +0 -3
  11. package/lib/gen/BootResponse.d.ts +0 -5
  12. package/lib/gen/BootResponse.js +0 -3
  13. package/lib/gen/CallHttpRequestActionArgs.d.ts +0 -4
  14. package/lib/gen/CallHttpRequestActionRequest.d.ts +0 -6
  15. package/lib/gen/CallHttpRequestActionRequest.js +0 -2
  16. package/lib/gen/CallTemplateFunctionArgs.d.ts +0 -7
  17. package/lib/gen/CallTemplateFunctionArgs.js +0 -2
  18. package/lib/gen/CallTemplateFunctionRequest.d.ts +0 -5
  19. package/lib/gen/CallTemplateFunctionRequest.js +0 -2
  20. package/lib/gen/CallTemplateFunctionResponse.d.ts +0 -3
  21. package/lib/gen/CallTemplateFunctionResponse.js +0 -3
  22. package/lib/gen/Cookie.d.ts +0 -8
  23. package/lib/gen/Cookie.js +0 -2
  24. package/lib/gen/CookieDomain.d.ts +0 -5
  25. package/lib/gen/CookieDomain.js +0 -3
  26. package/lib/gen/CookieExpires.d.ts +0 -3
  27. package/lib/gen/CookieExpires.js +0 -3
  28. package/lib/gen/CookieJar.d.ts +0 -10
  29. package/lib/gen/CookieJar.js +0 -2
  30. package/lib/gen/CopyTextRequest.d.ts +0 -3
  31. package/lib/gen/CopyTextRequest.js +0 -3
  32. package/lib/gen/EmptyResponse.d.ts +0 -1
  33. package/lib/gen/EmptyResponse.js +0 -3
  34. package/lib/gen/Environment.d.ts +0 -10
  35. package/lib/gen/Environment.js +0 -2
  36. package/lib/gen/EnvironmentVariable.d.ts +0 -5
  37. package/lib/gen/EnvironmentVariable.js +0 -3
  38. package/lib/gen/ExportHttpRequestRequest.d.ts +0 -4
  39. package/lib/gen/ExportHttpRequestRequest.js +0 -2
  40. package/lib/gen/ExportHttpRequestResponse.d.ts +0 -3
  41. package/lib/gen/ExportHttpRequestResponse.js +0 -3
  42. package/lib/gen/FilterRequest.d.ts +0 -4
  43. package/lib/gen/FilterRequest.js +0 -3
  44. package/lib/gen/FilterResponse.d.ts +0 -3
  45. package/lib/gen/FilterResponse.js +0 -3
  46. package/lib/gen/FindHttpResponsesRequest.d.ts +0 -4
  47. package/lib/gen/FindHttpResponsesRequest.js +0 -3
  48. package/lib/gen/FindHttpResponsesResponse.d.ts +0 -4
  49. package/lib/gen/FindHttpResponsesResponse.js +0 -2
  50. package/lib/gen/Folder.d.ts +0 -10
  51. package/lib/gen/Folder.js +0 -3
  52. package/lib/gen/GetHttpRequestActionsRequest.d.ts +0 -1
  53. package/lib/gen/GetHttpRequestActionsRequest.js +0 -3
  54. package/lib/gen/GetHttpRequestActionsResponse.d.ts +0 -5
  55. package/lib/gen/GetHttpRequestActionsResponse.js +0 -2
  56. package/lib/gen/GetHttpRequestByIdRequest.d.ts +0 -3
  57. package/lib/gen/GetHttpRequestByIdRequest.js +0 -3
  58. package/lib/gen/GetHttpRequestByIdResponse.d.ts +0 -4
  59. package/lib/gen/GetHttpRequestByIdResponse.js +0 -2
  60. package/lib/gen/GetTemplateFunctionsResponse.d.ts +0 -5
  61. package/lib/gen/GetTemplateFunctionsResponse.js +0 -2
  62. package/lib/gen/GrpcConnection.d.ts +0 -17
  63. package/lib/gen/GrpcConnection.js +0 -3
  64. package/lib/gen/GrpcEvent.d.ts +0 -17
  65. package/lib/gen/GrpcEvent.js +0 -2
  66. package/lib/gen/GrpcEventType.d.ts +0 -1
  67. package/lib/gen/GrpcEventType.js +0 -3
  68. package/lib/gen/GrpcMetadataEntry.d.ts +0 -5
  69. package/lib/gen/GrpcMetadataEntry.js +0 -3
  70. package/lib/gen/GrpcRequest.d.ts +0 -18
  71. package/lib/gen/GrpcRequest.js +0 -2
  72. package/lib/gen/HttpRequest.d.ts +0 -20
  73. package/lib/gen/HttpRequest.js +0 -2
  74. package/lib/gen/HttpRequestAction.d.ts +0 -5
  75. package/lib/gen/HttpRequestAction.js +0 -3
  76. package/lib/gen/HttpRequestHeader.d.ts +0 -5
  77. package/lib/gen/HttpRequestHeader.js +0 -3
  78. package/lib/gen/HttpResponse.d.ts +0 -20
  79. package/lib/gen/HttpResponse.js +0 -2
  80. package/lib/gen/HttpResponseHeader.d.ts +0 -4
  81. package/lib/gen/HttpResponseHeader.js +0 -3
  82. package/lib/gen/HttpUrlParameter.d.ts +0 -5
  83. package/lib/gen/HttpUrlParameter.js +0 -3
  84. package/lib/gen/ImportRequest.d.ts +0 -3
  85. package/lib/gen/ImportRequest.js +0 -3
  86. package/lib/gen/ImportResources.d.ts +0 -12
  87. package/lib/gen/ImportResources.js +0 -2
  88. package/lib/gen/ImportResponse.d.ts +0 -4
  89. package/lib/gen/ImportResponse.js +0 -2
  90. package/lib/gen/InternalEvent.d.ts +0 -7
  91. package/lib/gen/InternalEvent.js +0 -2
  92. package/lib/gen/InternalEventPayload.d.ts +0 -85
  93. package/lib/gen/InternalEventPayload.js +0 -2
  94. package/lib/gen/KeyValue.d.ts +0 -8
  95. package/lib/gen/KeyValue.js +0 -3
  96. package/lib/gen/Model.d.ts +0 -13
  97. package/lib/gen/Model.js +0 -2
  98. package/lib/gen/Plugin.d.ts +0 -10
  99. package/lib/gen/Plugin.js +0 -3
  100. package/lib/gen/PluginBootRequest.d.ts +0 -3
  101. package/lib/gen/PluginBootRequest.js +0 -3
  102. package/lib/gen/PluginBootResponse.d.ts +0 -5
  103. package/lib/gen/PluginBootResponse.js +0 -3
  104. package/lib/gen/PluginReloadRequest.d.ts +0 -1
  105. package/lib/gen/PluginReloadRequest.js +0 -3
  106. package/lib/gen/PluginReloadResponse.d.ts +0 -1
  107. package/lib/gen/PluginReloadResponse.js +0 -3
  108. package/lib/gen/ReloadRequest.d.ts +0 -1
  109. package/lib/gen/ReloadRequest.js +0 -3
  110. package/lib/gen/ReloadResponse.d.ts +0 -1
  111. package/lib/gen/ReloadResponse.js +0 -3
  112. package/lib/gen/RenderHttpRequestRequest.d.ts +0 -6
  113. package/lib/gen/RenderHttpRequestRequest.js +0 -2
  114. package/lib/gen/RenderHttpRequestResponse.d.ts +0 -4
  115. package/lib/gen/RenderHttpRequestResponse.js +0 -2
  116. package/lib/gen/RenderPurpose.d.ts +0 -1
  117. package/lib/gen/RenderPurpose.js +0 -3
  118. package/lib/gen/SendHttpRequestRequest.d.ts +0 -4
  119. package/lib/gen/SendHttpRequestRequest.js +0 -2
  120. package/lib/gen/SendHttpRequestResponse.d.ts +0 -4
  121. package/lib/gen/SendHttpRequestResponse.js +0 -2
  122. package/lib/gen/Settings.d.ts +0 -17
  123. package/lib/gen/Settings.js +0 -3
  124. package/lib/gen/ShowToastRequest.d.ts +0 -5
  125. package/lib/gen/ShowToastRequest.js +0 -2
  126. package/lib/gen/TemplateFunction.d.ts +0 -5
  127. package/lib/gen/TemplateFunction.js +0 -2
  128. package/lib/gen/TemplateFunctionArg.d.ts +0 -13
  129. package/lib/gen/TemplateFunctionArg.js +0 -2
  130. package/lib/gen/TemplateFunctionBaseArg.d.ts +0 -6
  131. package/lib/gen/TemplateFunctionBaseArg.js +0 -3
  132. package/lib/gen/TemplateFunctionCheckboxArg.d.ts +0 -6
  133. package/lib/gen/TemplateFunctionCheckboxArg.js +0 -3
  134. package/lib/gen/TemplateFunctionHttpRequestArg.d.ts +0 -6
  135. package/lib/gen/TemplateFunctionHttpRequestArg.js +0 -3
  136. package/lib/gen/TemplateFunctionSelectArg.d.ts +0 -8
  137. package/lib/gen/TemplateFunctionSelectArg.js +0 -2
  138. package/lib/gen/TemplateFunctionSelectOption.d.ts +0 -4
  139. package/lib/gen/TemplateFunctionSelectOption.js +0 -3
  140. package/lib/gen/TemplateFunctionTextArg.d.ts +0 -7
  141. package/lib/gen/TemplateFunctionTextArg.js +0 -3
  142. package/lib/gen/ToastVariant.d.ts +0 -1
  143. package/lib/gen/ToastVariant.js +0 -3
  144. package/lib/gen/Workspace.d.ts +0 -13
  145. package/lib/gen/Workspace.js +0 -2
  146. /package/lib/gen/{CallHttpRequestActionArgs.js → events.js} +0 -0
  147. /package/lib/gen/{BootRequest.js → models.js} +0 -0
@@ -1,3 +0,0 @@
1
- export type CallTemplateFunctionResponse = {
2
- value: string | null;
3
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import type { CookieDomain } from "./CookieDomain";
2
- import type { CookieExpires } from "./CookieExpires";
3
- export type Cookie = {
4
- raw_cookie: string;
5
- domain: CookieDomain;
6
- expires: CookieExpires;
7
- path: [string, boolean];
8
- };
package/lib/gen/Cookie.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export type CookieDomain = {
2
- "HostOnly": string;
3
- } | {
4
- "Suffix": string;
5
- } | "NotPresent" | "Empty";
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export type CookieExpires = {
2
- "AtUtc": string;
3
- } | "SessionEnd";
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { Cookie } from "./Cookie";
2
- export type CookieJar = {
3
- id: string;
4
- model: "cookie_jar";
5
- createdAt: string;
6
- updatedAt: string;
7
- workspaceId: string;
8
- name: string;
9
- cookies: Array<Cookie>;
10
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export type CopyTextRequest = {
2
- text: string;
3
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type EmptyResponse = {};
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type { EnvironmentVariable } from "./EnvironmentVariable";
2
- export type Environment = {
3
- id: string;
4
- workspaceId: string;
5
- model: "environment";
6
- createdAt: string;
7
- updatedAt: string;
8
- name: string;
9
- variables: Array<EnvironmentVariable>;
10
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export type EnvironmentVariable = {
2
- enabled?: boolean;
3
- name: string;
4
- value: string;
5
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type { HttpRequest } from "./HttpRequest";
2
- export type ExportHttpRequestRequest = {
3
- httpRequest: HttpRequest;
4
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export type ExportHttpRequestResponse = {
2
- content: string;
3
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export type FilterRequest = {
2
- content: string;
3
- filter: string;
4
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export type FilterResponse = {
2
- content: string;
3
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export type FindHttpResponsesRequest = {
2
- requestId: string;
3
- limit: number | null;
4
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type { HttpResponse } from "./HttpResponse";
2
- export type FindHttpResponsesResponse = {
3
- httpResponses: Array<HttpResponse>;
4
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- export type Folder = {
2
- createdAt: string;
3
- updatedAt: string;
4
- id: string;
5
- workspaceId: string;
6
- folderId: string | null;
7
- model: "folder";
8
- name: string;
9
- sortPriority: number;
10
- };
package/lib/gen/Folder.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type GetHttpRequestActionsRequest = Record<string, never>;
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import type { HttpRequestAction } from "./HttpRequestAction";
2
- export type GetHttpRequestActionsResponse = {
3
- actions: Array<HttpRequestAction>;
4
- pluginRefId: string;
5
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export type GetHttpRequestByIdRequest = {
2
- id: string;
3
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type { HttpRequest } from "./HttpRequest";
2
- export type GetHttpRequestByIdResponse = {
3
- httpRequest: HttpRequest | null;
4
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- import type { TemplateFunction } from "./TemplateFunction";
2
- export type GetTemplateFunctionsResponse = {
3
- functions: Array<TemplateFunction>;
4
- pluginRefId: string;
5
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
1
- export type GrpcConnection = {
2
- id: string;
3
- model: "grpc_connection";
4
- workspaceId: string;
5
- requestId: string;
6
- createdAt: string;
7
- updatedAt: string;
8
- service: string;
9
- method: string;
10
- elapsed: number;
11
- status: number;
12
- url: string;
13
- error: string | null;
14
- trailers: {
15
- [key: string]: string;
16
- };
17
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
1
- import type { GrpcEventType } from "./GrpcEventType";
2
- export type GrpcEvent = {
3
- id: string;
4
- model: "grpc_event";
5
- workspaceId: string;
6
- requestId: string;
7
- connectionId: string;
8
- createdAt: string;
9
- updatedAt: string;
10
- content: string;
11
- eventType: GrpcEventType;
12
- metadata: {
13
- [key: string]: string;
14
- };
15
- status: number | null;
16
- error: string | null;
17
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export type GrpcEventType = "info" | "error" | "client_message" | "server_message" | "connection_start" | "connection_end";
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export type GrpcMetadataEntry = {
2
- enabled?: boolean;
3
- name: string;
4
- value: string;
5
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,18 +0,0 @@
1
- import type { GrpcMetadataEntry } from "./GrpcMetadataEntry";
2
- export type GrpcRequest = {
3
- id: string;
4
- model: "grpc_request";
5
- workspaceId: string;
6
- createdAt: string;
7
- updatedAt: string;
8
- folderId: string | null;
9
- name: string;
10
- sortPriority: number;
11
- url: string;
12
- service: string | null;
13
- method: string | null;
14
- message: string;
15
- authenticationType: string | null;
16
- authentication: Record<string, any>;
17
- metadata: Array<GrpcMetadataEntry>;
18
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +0,0 @@
1
- import type { HttpRequestHeader } from "./HttpRequestHeader";
2
- import type { HttpUrlParameter } from "./HttpUrlParameter";
3
- export type HttpRequest = {
4
- createdAt: string;
5
- updatedAt: string;
6
- id: string;
7
- workspaceId: string;
8
- folderId: string | null;
9
- model: "http_request";
10
- sortPriority: number;
11
- name: string;
12
- url: string;
13
- urlParameters: Array<HttpUrlParameter>;
14
- method: string;
15
- body: Record<string, any>;
16
- bodyType: string | null;
17
- authentication: Record<string, any>;
18
- authenticationType: string | null;
19
- headers: Array<HttpRequestHeader>;
20
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export type HttpRequestAction = {
2
- key: string;
3
- label: string;
4
- icon: string | null;
5
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export type HttpRequestHeader = {
2
- enabled?: boolean;
3
- name: string;
4
- value: string;
5
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,20 +0,0 @@
1
- import type { HttpResponseHeader } from "./HttpResponseHeader";
2
- export type HttpResponse = {
3
- id: string;
4
- model: "http_response";
5
- workspaceId: string;
6
- requestId: string;
7
- createdAt: string;
8
- updatedAt: string;
9
- error: string | null;
10
- url: string;
11
- contentLength: number | null;
12
- version: string | null;
13
- elapsed: number;
14
- elapsedHeaders: number;
15
- remoteAddr: string | null;
16
- status: number;
17
- statusReason: string | null;
18
- bodyPath: string | null;
19
- headers: Array<HttpResponseHeader>;
20
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export type HttpResponseHeader = {
2
- name: string;
3
- value: string;
4
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +0,0 @@
1
- export type HttpUrlParameter = {
2
- enabled?: boolean;
3
- name: string;
4
- value: string;
5
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export type ImportRequest = {
2
- content: string;
3
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- import type { Environment } from "./Environment";
2
- import type { Folder } from "./Folder";
3
- import type { GrpcRequest } from "./GrpcRequest";
4
- import type { HttpRequest } from "./HttpRequest";
5
- import type { Workspace } from "./Workspace";
6
- export type ImportResources = {
7
- workspaces: Array<Workspace>;
8
- environments: Array<Environment>;
9
- folders: Array<Folder>;
10
- httpRequests: Array<HttpRequest>;
11
- grpcRequests: Array<GrpcRequest>;
12
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- import type { ImportResources } from "./ImportResources";
2
- export type ImportResponse = {
3
- resources: ImportResources;
4
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- import type { InternalEventPayload } from "./InternalEventPayload";
2
- export type InternalEvent = {
3
- id: string;
4
- pluginRefId: string;
5
- replyId: string | null;
6
- payload: InternalEventPayload;
7
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,85 +0,0 @@
1
- import type { BootRequest } from "./BootRequest";
2
- import type { BootResponse } from "./BootResponse";
3
- import type { CallHttpRequestActionRequest } from "./CallHttpRequestActionRequest";
4
- import type { CallTemplateFunctionRequest } from "./CallTemplateFunctionRequest";
5
- import type { CallTemplateFunctionResponse } from "./CallTemplateFunctionResponse";
6
- import type { CopyTextRequest } from "./CopyTextRequest";
7
- import type { ExportHttpRequestRequest } from "./ExportHttpRequestRequest";
8
- import type { ExportHttpRequestResponse } from "./ExportHttpRequestResponse";
9
- import type { FilterRequest } from "./FilterRequest";
10
- import type { FilterResponse } from "./FilterResponse";
11
- import type { FindHttpResponsesRequest } from "./FindHttpResponsesRequest";
12
- import type { FindHttpResponsesResponse } from "./FindHttpResponsesResponse";
13
- import type { GetHttpRequestActionsRequest } from "./GetHttpRequestActionsRequest";
14
- import type { GetHttpRequestActionsResponse } from "./GetHttpRequestActionsResponse";
15
- import type { GetHttpRequestByIdRequest } from "./GetHttpRequestByIdRequest";
16
- import type { GetHttpRequestByIdResponse } from "./GetHttpRequestByIdResponse";
17
- import type { GetTemplateFunctionsResponse } from "./GetTemplateFunctionsResponse";
18
- import type { ImportRequest } from "./ImportRequest";
19
- import type { ImportResponse } from "./ImportResponse";
20
- import type { RenderHttpRequestRequest } from "./RenderHttpRequestRequest";
21
- import type { RenderHttpRequestResponse } from "./RenderHttpRequestResponse";
22
- import type { SendHttpRequestRequest } from "./SendHttpRequestRequest";
23
- import type { SendHttpRequestResponse } from "./SendHttpRequestResponse";
24
- import type { ShowToastRequest } from "./ShowToastRequest";
25
- export type InternalEventPayload = {
26
- "type": "boot_request";
27
- } & BootRequest | {
28
- "type": "boot_response";
29
- } & BootResponse | {
30
- "type": "reload_request";
31
- } | {
32
- "type": "reload_response";
33
- } | {
34
- "type": "terminate_request";
35
- } | {
36
- "type": "terminate_response";
37
- } | {
38
- "type": "import_request";
39
- } & ImportRequest | {
40
- "type": "import_response";
41
- } & ImportResponse | {
42
- "type": "filter_request";
43
- } & FilterRequest | {
44
- "type": "filter_response";
45
- } & FilterResponse | {
46
- "type": "export_http_request_request";
47
- } & ExportHttpRequestRequest | {
48
- "type": "export_http_request_response";
49
- } & ExportHttpRequestResponse | {
50
- "type": "send_http_request_request";
51
- } & SendHttpRequestRequest | {
52
- "type": "send_http_request_response";
53
- } & SendHttpRequestResponse | {
54
- "type": "get_http_request_actions_request";
55
- } & GetHttpRequestActionsRequest | {
56
- "type": "get_http_request_actions_response";
57
- } & GetHttpRequestActionsResponse | {
58
- "type": "call_http_request_action_request";
59
- } & CallHttpRequestActionRequest | {
60
- "type": "get_template_functions_request";
61
- } | {
62
- "type": "get_template_functions_response";
63
- } & GetTemplateFunctionsResponse | {
64
- "type": "call_template_function_request";
65
- } & CallTemplateFunctionRequest | {
66
- "type": "call_template_function_response";
67
- } & CallTemplateFunctionResponse | {
68
- "type": "copy_text_request";
69
- } & CopyTextRequest | {
70
- "type": "render_http_request_request";
71
- } & RenderHttpRequestRequest | {
72
- "type": "render_http_request_response";
73
- } & RenderHttpRequestResponse | {
74
- "type": "show_toast_request";
75
- } & ShowToastRequest | {
76
- "type": "get_http_request_by_id_request";
77
- } & GetHttpRequestByIdRequest | {
78
- "type": "get_http_request_by_id_response";
79
- } & GetHttpRequestByIdResponse | {
80
- "type": "find_http_responses_request";
81
- } & FindHttpResponsesRequest | {
82
- "type": "find_http_responses_response";
83
- } & FindHttpResponsesResponse | {
84
- "type": "empty_response";
85
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- export type KeyValue = {
2
- model: "key_value";
3
- createdAt: string;
4
- updatedAt: string;
5
- namespace: string;
6
- key: string;
7
- value: string;
8
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,13 +0,0 @@
1
- import type { CookieJar } from "./CookieJar";
2
- import type { Environment } from "./Environment";
3
- import type { Folder } from "./Folder";
4
- import type { GrpcConnection } from "./GrpcConnection";
5
- import type { GrpcEvent } from "./GrpcEvent";
6
- import type { GrpcRequest } from "./GrpcRequest";
7
- import type { HttpRequest } from "./HttpRequest";
8
- import type { HttpResponse } from "./HttpResponse";
9
- import type { KeyValue } from "./KeyValue";
10
- import type { Plugin } from "./Plugin";
11
- import type { Settings } from "./Settings";
12
- import type { Workspace } from "./Workspace";
13
- export type Model = Environment | Folder | GrpcConnection | GrpcEvent | GrpcRequest | HttpRequest | HttpResponse | KeyValue | Workspace | CookieJar | Settings | Plugin;
package/lib/gen/Model.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- export type Plugin = {
2
- id: string;
3
- model: "plugin";
4
- createdAt: string;
5
- updatedAt: string;
6
- checkedAt: string | null;
7
- directory: string;
8
- url: string | null;
9
- enabled: boolean;
10
- };