@yaakapp/api 0.1.13 → 0.1.15

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