@yaakapp/api 0.1.0-beta.7 → 0.1.0-beta.9

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 (162) hide show
  1. package/lib/gen/BootRequest.d.ts +3 -0
  2. package/lib/gen/BootRequest.js +3 -0
  3. package/lib/gen/BootResponse.d.ts +5 -0
  4. package/lib/gen/BootResponse.js +3 -0
  5. package/lib/gen/EnvironmentVariable.d.ts +1 -1
  6. package/lib/gen/ExportHttpRequestRequest.d.ts +4 -0
  7. package/lib/gen/ExportHttpRequestRequest.js +2 -0
  8. package/lib/gen/ExportHttpRequestResponse.d.ts +3 -0
  9. package/lib/gen/ExportHttpRequestResponse.js +3 -0
  10. package/lib/gen/FilterRequest.d.ts +3 -0
  11. package/lib/gen/FilterRequest.js +3 -0
  12. package/lib/gen/FilterResponse.d.ts +4 -0
  13. package/lib/gen/FilterResponse.js +2 -0
  14. package/lib/gen/ImportRequest.d.ts +3 -0
  15. package/lib/gen/ImportRequest.js +3 -0
  16. package/lib/gen/ImportResources.d.ts +12 -0
  17. package/lib/gen/ImportResources.js +2 -0
  18. package/lib/gen/ImportResponse.d.ts +4 -0
  19. package/lib/gen/ImportResponse.js +2 -0
  20. package/lib/gen/InternalEvent.d.ts +7 -0
  21. package/lib/gen/InternalEvent.js +2 -0
  22. package/lib/gen/InternalEventPayload.d.ts +19 -0
  23. package/lib/gen/InternalEventPayload.js +2 -0
  24. package/lib/gen/PingRequest.d.ts +3 -0
  25. package/lib/gen/PingRequest.js +3 -0
  26. package/lib/gen/PingResponse.d.ts +3 -0
  27. package/lib/gen/PingResponse.js +3 -0
  28. package/lib/gen/PluginBootRequest.d.ts +3 -0
  29. package/lib/gen/PluginBootRequest.js +3 -0
  30. package/lib/gen/PluginBootResponse.d.ts +5 -0
  31. package/lib/gen/PluginBootResponse.js +3 -0
  32. package/lib/gen/common/ExportableModel.d.ts +6 -0
  33. package/lib/gen/common/ExportableModel.js +2 -0
  34. package/lib/gen/common/PluginImportResources.d.ts +12 -0
  35. package/lib/gen/common/PluginImportResources.js +2 -0
  36. package/lib/gen/events/PluginBootRequest.d.ts +3 -0
  37. package/lib/gen/events/PluginBootRequest.js +3 -0
  38. package/lib/gen/events/PluginBootResponse.d.ts +5 -0
  39. package/lib/gen/events/PluginBootResponse.js +3 -0
  40. package/lib/gen/events/PluginEvent.d.ts +7 -0
  41. package/lib/gen/events/PluginEvent.js +2 -0
  42. package/lib/gen/events/PluginEventPayload.d.ts +19 -0
  43. package/lib/gen/events/PluginEventPayload.js +2 -0
  44. package/lib/gen/events/PluginImportRequest.d.ts +3 -0
  45. package/lib/gen/events/PluginImportRequest.js +3 -0
  46. package/lib/gen/events/PluginImportResponse.d.ts +4 -0
  47. package/lib/gen/events/PluginImportResponse.js +2 -0
  48. package/lib/gen/events/PluginPingRequest.d.ts +3 -0
  49. package/lib/gen/events/PluginPingRequest.js +3 -0
  50. package/lib/gen/events/PluginPingResponse.d.ts +3 -0
  51. package/lib/gen/events/PluginPingResponse.js +3 -0
  52. package/lib/gen/models/Environment.d.ts +10 -0
  53. package/lib/gen/models/Environment.js +2 -0
  54. package/lib/gen/models/EnvironmentVariable.d.ts +5 -0
  55. package/lib/gen/models/EnvironmentVariable.js +3 -0
  56. package/lib/gen/models/Folder.d.ts +10 -0
  57. package/lib/gen/models/Folder.js +3 -0
  58. package/lib/gen/models/GrpcConnection.d.ts +17 -0
  59. package/lib/gen/models/GrpcConnection.js +3 -0
  60. package/lib/gen/models/GrpcEvent.d.ts +16 -0
  61. package/lib/gen/models/GrpcEvent.js +2 -0
  62. package/lib/gen/models/GrpcEventType.d.ts +1 -0
  63. package/lib/gen/models/GrpcEventType.js +3 -0
  64. package/lib/gen/models/GrpcMetadataEntry.d.ts +5 -0
  65. package/lib/gen/models/GrpcMetadataEntry.js +3 -0
  66. package/lib/gen/models/GrpcRequest.d.ts +18 -0
  67. package/lib/gen/models/GrpcRequest.js +2 -0
  68. package/lib/gen/models/HttpRequest.d.ts +20 -0
  69. package/lib/gen/models/HttpRequest.js +2 -0
  70. package/lib/gen/models/HttpRequestHeader.d.ts +5 -0
  71. package/lib/gen/models/HttpRequestHeader.js +3 -0
  72. package/lib/gen/models/HttpResponse.d.ts +20 -0
  73. package/lib/gen/models/HttpResponse.js +2 -0
  74. package/lib/gen/models/HttpResponseHeader.d.ts +4 -0
  75. package/lib/gen/models/HttpResponseHeader.js +3 -0
  76. package/lib/gen/models/HttpUrlParameter.d.ts +5 -0
  77. package/lib/gen/models/HttpUrlParameter.js +3 -0
  78. package/lib/gen/models/KeyValue.d.ts +8 -0
  79. package/lib/gen/models/KeyValue.js +3 -0
  80. package/lib/gen/models/Workspace.d.ts +13 -0
  81. package/lib/gen/models/Workspace.js +2 -0
  82. package/lib/gen/serde_json/JsonValue.d.ts +3 -0
  83. package/lib/gen/serde_json/JsonValue.js +3 -0
  84. package/lib/index.d.ts +11 -5
  85. package/lib/index.js +11 -5
  86. package/lib/plugin-runtime-types/src/gen/common/PluginImportResources.d.ts +12 -0
  87. package/lib/plugin-runtime-types/src/gen/common/PluginImportResources.js +2 -0
  88. package/lib/plugin-runtime-types/src/gen/events/PluginBootRequest.d.ts +3 -0
  89. package/lib/plugin-runtime-types/src/gen/events/PluginBootRequest.js +3 -0
  90. package/lib/plugin-runtime-types/src/gen/events/PluginBootResponse.d.ts +5 -0
  91. package/lib/plugin-runtime-types/src/gen/events/PluginBootResponse.js +3 -0
  92. package/lib/plugin-runtime-types/src/gen/events/PluginEvent.d.ts +7 -0
  93. package/lib/plugin-runtime-types/src/gen/events/PluginEvent.js +2 -0
  94. package/lib/plugin-runtime-types/src/gen/events/PluginEventPayload.d.ts +19 -0
  95. package/lib/plugin-runtime-types/src/gen/events/PluginEventPayload.js +2 -0
  96. package/lib/plugin-runtime-types/src/gen/events/PluginExportHttpRequestRequest.d.ts +4 -0
  97. package/lib/plugin-runtime-types/src/gen/events/PluginExportHttpRequestRequest.js +2 -0
  98. package/lib/plugin-runtime-types/src/gen/events/PluginExportHttpRequestResponse.d.ts +3 -0
  99. package/lib/plugin-runtime-types/src/gen/events/PluginExportHttpRequestResponse.js +3 -0
  100. package/lib/plugin-runtime-types/src/gen/events/PluginFilterRequest.d.ts +3 -0
  101. package/lib/plugin-runtime-types/src/gen/events/PluginFilterRequest.js +3 -0
  102. package/lib/plugin-runtime-types/src/gen/events/PluginFilterResponse.d.ts +4 -0
  103. package/lib/plugin-runtime-types/src/gen/events/PluginFilterResponse.js +2 -0
  104. package/lib/plugin-runtime-types/src/gen/events/PluginImportRequest.d.ts +3 -0
  105. package/lib/plugin-runtime-types/src/gen/events/PluginImportRequest.js +3 -0
  106. package/lib/plugin-runtime-types/src/gen/events/PluginImportResponse.d.ts +4 -0
  107. package/lib/plugin-runtime-types/src/gen/events/PluginImportResponse.js +2 -0
  108. package/lib/plugin-runtime-types/src/gen/events/PluginPingRequest.d.ts +3 -0
  109. package/lib/plugin-runtime-types/src/gen/events/PluginPingRequest.js +3 -0
  110. package/lib/plugin-runtime-types/src/gen/events/PluginPingResponse.d.ts +3 -0
  111. package/lib/plugin-runtime-types/src/gen/events/PluginPingResponse.js +3 -0
  112. package/lib/plugin-runtime-types/src/gen/models/Environment.d.ts +10 -0
  113. package/lib/plugin-runtime-types/src/gen/models/Environment.js +2 -0
  114. package/lib/plugin-runtime-types/src/gen/models/EnvironmentVariable.d.ts +5 -0
  115. package/lib/plugin-runtime-types/src/gen/models/EnvironmentVariable.js +3 -0
  116. package/lib/plugin-runtime-types/src/gen/models/Folder.d.ts +10 -0
  117. package/lib/plugin-runtime-types/src/gen/models/Folder.js +3 -0
  118. package/lib/plugin-runtime-types/src/gen/models/GrpcConnection.d.ts +17 -0
  119. package/lib/plugin-runtime-types/src/gen/models/GrpcConnection.js +3 -0
  120. package/lib/plugin-runtime-types/src/gen/models/GrpcEvent.d.ts +16 -0
  121. package/lib/plugin-runtime-types/src/gen/models/GrpcEvent.js +2 -0
  122. package/lib/plugin-runtime-types/src/gen/models/GrpcEventType.d.ts +1 -0
  123. package/lib/plugin-runtime-types/src/gen/models/GrpcEventType.js +3 -0
  124. package/lib/plugin-runtime-types/src/gen/models/GrpcMetadataEntry.d.ts +5 -0
  125. package/lib/plugin-runtime-types/src/gen/models/GrpcMetadataEntry.js +3 -0
  126. package/lib/plugin-runtime-types/src/gen/models/GrpcRequest.d.ts +18 -0
  127. package/lib/plugin-runtime-types/src/gen/models/GrpcRequest.js +2 -0
  128. package/lib/plugin-runtime-types/src/gen/models/HttpRequest.d.ts +20 -0
  129. package/lib/plugin-runtime-types/src/gen/models/HttpRequest.js +2 -0
  130. package/lib/plugin-runtime-types/src/gen/models/HttpRequestHeader.d.ts +5 -0
  131. package/lib/plugin-runtime-types/src/gen/models/HttpRequestHeader.js +3 -0
  132. package/lib/plugin-runtime-types/src/gen/models/HttpResponse.d.ts +20 -0
  133. package/lib/plugin-runtime-types/src/gen/models/HttpResponse.js +2 -0
  134. package/lib/plugin-runtime-types/src/gen/models/HttpResponseHeader.d.ts +4 -0
  135. package/lib/plugin-runtime-types/src/gen/models/HttpResponseHeader.js +3 -0
  136. package/lib/plugin-runtime-types/src/gen/models/HttpUrlParameter.d.ts +5 -0
  137. package/lib/plugin-runtime-types/src/gen/models/HttpUrlParameter.js +3 -0
  138. package/lib/plugin-runtime-types/src/gen/models/KeyValue.d.ts +8 -0
  139. package/lib/plugin-runtime-types/src/gen/models/KeyValue.js +3 -0
  140. package/lib/plugin-runtime-types/src/gen/models/Workspace.d.ts +13 -0
  141. package/lib/plugin-runtime-types/src/gen/models/Workspace.js +2 -0
  142. package/lib/plugin-runtime-types/src/helpers.d.ts +2 -0
  143. package/lib/plugin-runtime-types/src/helpers.js +2 -0
  144. package/lib/plugin-runtime-types/src/index.d.ts +31 -0
  145. package/lib/plugin-runtime-types/src/index.js +45 -0
  146. package/lib/plugin-runtime-types/src/plugins/context.d.ts +11 -0
  147. package/lib/plugin-runtime-types/src/plugins/context.js +2 -0
  148. package/lib/plugin-runtime-types/src/plugins/filter.d.ts +13 -0
  149. package/lib/plugin-runtime-types/src/plugins/filter.js +2 -0
  150. package/lib/plugin-runtime-types/src/plugins/httpRequestAction.d.ts +9 -0
  151. package/lib/plugin-runtime-types/src/plugins/httpRequestAction.js +2 -0
  152. package/lib/plugin-runtime-types/src/plugins/import.d.ts +19 -0
  153. package/lib/plugin-runtime-types/src/plugins/import.js +2 -0
  154. package/lib/plugin-runtime-types/src/plugins/index.d.ts +14 -0
  155. package/lib/plugin-runtime-types/src/plugins/index.js +2 -0
  156. package/lib/plugin-runtime-types/src/plugins/theme.d.ts +7 -0
  157. package/lib/plugin-runtime-types/src/plugins/theme.js +2 -0
  158. package/lib/plugin-runtime-types/src/themes/index.d.ts +39 -0
  159. package/lib/plugin-runtime-types/src/themes/index.js +2 -0
  160. package/lib/src-tauri/yaak_plugin_runtime/bindings/serde_json/JsonValue.d.ts +3 -0
  161. package/lib/src-tauri/yaak_plugin_runtime/bindings/serde_json/JsonValue.js +2 -0
  162. package/package.json +2 -2
@@ -0,0 +1,3 @@
1
+ export type BootRequest = {
2
+ dir: string;
3
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,5 @@
1
+ export type BootResponse = {
2
+ name: string;
3
+ version: string;
4
+ capabilities: Array<string>;
5
+ };
@@ -0,0 +1,3 @@
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 +1,5 @@
1
1
  export type EnvironmentVariable = {
2
- enabled: boolean;
2
+ enabled?: boolean;
3
3
  name: string;
4
4
  value: string;
5
5
  };
@@ -0,0 +1,4 @@
1
+ import type { HttpRequest } from "./HttpRequest";
2
+ export type ExportHttpRequestRequest = {
3
+ httpRequest: HttpRequest;
4
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export type ExportHttpRequestResponse = {
2
+ content: string;
3
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,3 @@
1
+ export type FilterRequest = {
2
+ content: string;
3
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,4 @@
1
+ import type { JsonValue } from "./serde_json/JsonValue";
2
+ export type FilterResponse = {
3
+ items: Array<JsonValue>;
4
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export type ImportRequest = {
2
+ content: string;
3
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,12 @@
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
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type { ImportResources } from "./ImportResources";
2
+ export type ImportResponse = {
3
+ resources: ImportResources;
4
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import type { InternalEventPayload } from "./InternalEventPayload";
2
+ export type InternalEvent = {
3
+ id: string;
4
+ pluginRefId: string;
5
+ replyId: string | null;
6
+ payload: InternalEventPayload;
7
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ import type { BootRequest } from "./BootRequest";
2
+ import type { BootResponse } from "./BootResponse";
3
+ import type { ExportHttpRequestRequest } from "./ExportHttpRequestRequest";
4
+ import type { ExportHttpRequestResponse } from "./ExportHttpRequestResponse";
5
+ import type { ImportRequest } from "./ImportRequest";
6
+ import type { ImportResponse } from "./ImportResponse";
7
+ export type InternalEventPayload = {
8
+ "type": "boot_request";
9
+ } & BootRequest | {
10
+ "type": "boot_response";
11
+ } & BootResponse | {
12
+ "type": "import_request";
13
+ } & ImportRequest | {
14
+ "type": "import_response";
15
+ } & ImportResponse | {
16
+ "type": "export_http_request_request";
17
+ } & ExportHttpRequestRequest | {
18
+ "type": "export_http_request_response";
19
+ } & ExportHttpRequestResponse;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export type PingRequest = {
2
+ message: string;
3
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,3 @@
1
+ export type PingResponse = {
2
+ message: string;
3
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,3 @@
1
+ export type PluginBootRequest = {
2
+ dir: string;
3
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,5 @@
1
+ export type PluginBootResponse = {
2
+ name: string;
3
+ version: string;
4
+ capabilities: Array<string>;
5
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,6 @@
1
+ import type { Environment } from "../models/Environment";
2
+ import type { Folder } from "../models/Folder";
3
+ import type { GrpcRequest } from "../models/GrpcRequest";
4
+ import type { HttpRequest } from "../models/HttpRequest";
5
+ import type { Workspace } from "../models/Workspace";
6
+ export type ExportableModel = Workspace | Environment | Folder | HttpRequest | GrpcRequest;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ import type { Environment } from "../models/Environment";
2
+ import type { Folder } from "../models/Folder";
3
+ import type { GrpcRequest } from "../models/GrpcRequest";
4
+ import type { HttpRequest } from "../models/HttpRequest";
5
+ import type { Workspace } from "../models/Workspace";
6
+ export type PluginImportResources = {
7
+ workspaces: Array<Workspace>;
8
+ environments: Array<Environment>;
9
+ folders: Array<Folder>;
10
+ httpRequests: Array<HttpRequest>;
11
+ grpcRequests: Array<GrpcRequest>;
12
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export type PluginBootRequest = {
2
+ dir: string;
3
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,5 @@
1
+ export type PluginBootResponse = {
2
+ name: string;
3
+ version: string;
4
+ capabilities: Array<string>;
5
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,7 @@
1
+ import type { PluginEventPayload } from "./PluginEventPayload";
2
+ export type PluginEvent = {
3
+ id: string;
4
+ pluginRefId: string;
5
+ replyId: string | null;
6
+ payload: PluginEventPayload;
7
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ import type { PluginBootRequest } from "./PluginBootRequest";
2
+ import type { PluginBootResponse } from "./PluginBootResponse";
3
+ import type { PluginImportRequest } from "./PluginImportRequest";
4
+ import type { PluginImportResponse } from "./PluginImportResponse";
5
+ import type { PluginPingRequest } from "./PluginPingRequest";
6
+ import type { PluginPingResponse } from "./PluginPingResponse";
7
+ export type PluginEventPayload = {
8
+ "type": "ping_request";
9
+ } & PluginPingRequest | {
10
+ "type": "ping_response";
11
+ } & PluginPingResponse | {
12
+ "type": "boot_request";
13
+ } & PluginBootRequest | {
14
+ "type": "boot_response";
15
+ } & PluginBootResponse | {
16
+ "type": "import_request";
17
+ } & PluginImportRequest | {
18
+ "type": "import_response";
19
+ } & PluginImportResponse;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export type PluginImportRequest = {
2
+ content: string;
3
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,4 @@
1
+ import type { PluginImportResources } from "../common/PluginImportResources";
2
+ export type PluginImportResponse = {
3
+ resources: PluginImportResources;
4
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export type PluginPingRequest = {
2
+ message: string;
3
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,3 @@
1
+ export type PluginPingResponse = {
2
+ message: string;
3
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,10 @@
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
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export type EnvironmentVariable = {
2
+ enabled?: boolean;
3
+ name: string;
4
+ value: string;
5
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,10 @@
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
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,17 @@
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
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,16 @@
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
+ content: string;
10
+ eventType: GrpcEventType;
11
+ metadata: {
12
+ [key: string]: string;
13
+ };
14
+ status: number | null;
15
+ error: string | null;
16
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export type GrpcEventType = "info" | "error" | "client_message" | "server_message" | "connection_start" | "connection_end";
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,5 @@
1
+ export type GrpcMetadataEntry = {
2
+ enabled?: boolean;
3
+ name: string;
4
+ value: string;
5
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,18 @@
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
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
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
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export type HttpRequestHeader = {
2
+ enabled?: boolean;
3
+ name: string;
4
+ value: string;
5
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,20 @@
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
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export type HttpResponseHeader = {
2
+ name: string;
3
+ value: string;
4
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,5 @@
1
+ export type HttpUrlParameter = {
2
+ enabled?: boolean;
3
+ name: string;
4
+ value: string;
5
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,8 @@
1
+ export type KeyValue = {
2
+ model: "key_value";
3
+ createdAt: string;
4
+ updatedAt: string;
5
+ namespace: string;
6
+ key: string;
7
+ value: string;
8
+ };
@@ -0,0 +1,3 @@
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 });
@@ -0,0 +1,13 @@
1
+ import type { EnvironmentVariable } from "./EnvironmentVariable";
2
+ export type Workspace = {
3
+ id: string;
4
+ model: "workspace";
5
+ createdAt: string;
6
+ updatedAt: string;
7
+ name: string;
8
+ description: string;
9
+ variables: Array<EnvironmentVariable>;
10
+ settingValidateCertificates: boolean;
11
+ settingFollowRedirects: boolean;
12
+ settingRequestTimeout: number;
13
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export type JsonValue = number | string | Array<JsonValue> | {
2
+ [key: string]: JsonValue;
3
+ };
@@ -0,0 +1,3 @@
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 });
package/lib/index.d.ts CHANGED
@@ -3,15 +3,21 @@ export type * from './themes';
3
3
  export * from './gen/Environment';
4
4
  export * from './gen/EnvironmentVariable';
5
5
  export * from './gen/Folder';
6
- export * from './gen/GrpcConnection';
7
- export * from './gen/GrpcEvent';
8
- export * from './gen/GrpcEventType';
9
6
  export * from './gen/GrpcMetadataEntry';
10
7
  export * from './gen/GrpcRequest';
11
8
  export * from './gen/HttpRequest';
12
9
  export * from './gen/HttpRequestHeader';
13
10
  export * from './gen/HttpResponse';
14
- export * from './gen/HttpResponseHeader';
15
11
  export * from './gen/HttpUrlParameter';
16
- export * from './gen/KeyValue';
12
+ export * from './gen/BootRequest';
13
+ export * from './gen/BootResponse';
14
+ export * from './gen/InternalEvent';
15
+ export * from './gen/InternalEventPayload';
16
+ export * from './gen/ExportHttpRequestRequest';
17
+ export * from './gen/ExportHttpRequestResponse';
18
+ export * from './gen/FilterRequest';
19
+ export * from './gen/FilterResponse';
20
+ export * from './gen/ImportRequest';
21
+ export * from './gen/ImportResources';
22
+ export * from './gen/ImportResponse';
17
23
  export * from './gen/Workspace';