@keystrokehq/search_api 0.1.4 → 0.1.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.
- package/dist/actions/get-account-info.d.cts +13 -1
- package/dist/actions/get-account-info.d.mts +13 -1
- package/dist/actions/get-cached-search-by-id.d.cts +13 -1
- package/dist/actions/get-cached-search-by-id.d.mts +13 -1
- package/dist/actions/get-cached-search-html-by-id.d.cts +13 -1
- package/dist/actions/get-cached-search-html-by-id.d.mts +13 -1
- package/dist/actions/get-locations.d.cts +13 -1
- package/dist/actions/get-locations.d.mts +13 -1
- package/dist/actions/search.d.cts +13 -1
- package/dist/actions/search.d.mts +13 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -21,7 +21,19 @@ declare const SearchApiGetAccountInfoOutput: z.ZodObject<{
|
|
|
21
21
|
}, z.core.$loose>;
|
|
22
22
|
declare const searchApiGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
zero_retention?: boolean | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
generic_api_key: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
31
|
+
connectionId: z.ZodString;
|
|
32
|
+
entityId: z.ZodString;
|
|
33
|
+
instanceId: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
generic_api_key: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>]>;
|
|
25
37
|
//#endregion
|
|
26
38
|
export { searchApiGetAccountInfo };
|
|
27
39
|
//# sourceMappingURL=get-account-info.d.cts.map
|
|
@@ -21,7 +21,19 @@ declare const SearchApiGetAccountInfoOutput: z.ZodObject<{
|
|
|
21
21
|
}, z.core.$loose>;
|
|
22
22
|
declare const searchApiGetAccountInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
zero_retention?: boolean | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
generic_api_key: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
31
|
+
connectionId: z.ZodString;
|
|
32
|
+
entityId: z.ZodString;
|
|
33
|
+
instanceId: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
generic_api_key: z.ZodString;
|
|
36
|
+
}, z.core.$strip>>]>;
|
|
25
37
|
//#endregion
|
|
26
38
|
export { searchApiGetAccountInfo };
|
|
27
39
|
//# sourceMappingURL=get-account-info.d.mts.map
|
|
@@ -117,7 +117,19 @@ declare const SearchApiGetCachedSearchByIdOutput: z.ZodObject<{
|
|
|
117
117
|
}, z.core.$loose>;
|
|
118
118
|
declare const searchApiGetCachedSearchById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
119
119
|
search_id: string;
|
|
120
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
120
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
121
|
+
connectionId: z.ZodString;
|
|
122
|
+
entityId: z.ZodString;
|
|
123
|
+
instanceId: z.ZodString;
|
|
124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
125
|
+
generic_api_key: z.ZodString;
|
|
126
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
127
|
+
connectionId: z.ZodString;
|
|
128
|
+
entityId: z.ZodString;
|
|
129
|
+
instanceId: z.ZodString;
|
|
130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
131
|
+
generic_api_key: z.ZodString;
|
|
132
|
+
}, z.core.$strip>>]>;
|
|
121
133
|
//#endregion
|
|
122
134
|
export { searchApiGetCachedSearchById };
|
|
123
135
|
//# sourceMappingURL=get-cached-search-by-id.d.cts.map
|
|
@@ -117,7 +117,19 @@ declare const SearchApiGetCachedSearchByIdOutput: z.ZodObject<{
|
|
|
117
117
|
}, z.core.$loose>;
|
|
118
118
|
declare const searchApiGetCachedSearchById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
119
119
|
search_id: string;
|
|
120
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
120
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
121
|
+
connectionId: z.ZodString;
|
|
122
|
+
entityId: z.ZodString;
|
|
123
|
+
instanceId: z.ZodString;
|
|
124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
125
|
+
generic_api_key: z.ZodString;
|
|
126
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
127
|
+
connectionId: z.ZodString;
|
|
128
|
+
entityId: z.ZodString;
|
|
129
|
+
instanceId: z.ZodString;
|
|
130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
131
|
+
generic_api_key: z.ZodString;
|
|
132
|
+
}, z.core.$strip>>]>;
|
|
121
133
|
//#endregion
|
|
122
134
|
export { searchApiGetCachedSearchById };
|
|
123
135
|
//# sourceMappingURL=get-cached-search-by-id.d.mts.map
|
|
@@ -10,7 +10,19 @@ declare const SearchApiGetCachedSearchHtmlByIdOutput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$loose>;
|
|
11
11
|
declare const searchApiGetCachedSearchHtmlById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
search_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
14
|
+
connectionId: z.ZodString;
|
|
15
|
+
entityId: z.ZodString;
|
|
16
|
+
instanceId: z.ZodString;
|
|
17
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
+
generic_api_key: z.ZodString;
|
|
19
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
20
|
+
connectionId: z.ZodString;
|
|
21
|
+
entityId: z.ZodString;
|
|
22
|
+
instanceId: z.ZodString;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
generic_api_key: z.ZodString;
|
|
25
|
+
}, z.core.$strip>>]>;
|
|
14
26
|
//#endregion
|
|
15
27
|
export { searchApiGetCachedSearchHtmlById };
|
|
16
28
|
//# sourceMappingURL=get-cached-search-html-by-id.d.cts.map
|
|
@@ -10,7 +10,19 @@ declare const SearchApiGetCachedSearchHtmlByIdOutput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$loose>;
|
|
11
11
|
declare const searchApiGetCachedSearchHtmlById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
search_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
14
|
+
connectionId: z.ZodString;
|
|
15
|
+
entityId: z.ZodString;
|
|
16
|
+
instanceId: z.ZodString;
|
|
17
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
+
generic_api_key: z.ZodString;
|
|
19
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
20
|
+
connectionId: z.ZodString;
|
|
21
|
+
entityId: z.ZodString;
|
|
22
|
+
instanceId: z.ZodString;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
generic_api_key: z.ZodString;
|
|
25
|
+
}, z.core.$strip>>]>;
|
|
14
26
|
//#endregion
|
|
15
27
|
export { searchApiGetCachedSearchHtmlById };
|
|
16
28
|
//# sourceMappingURL=get-cached-search-html-by-id.d.mts.map
|
|
@@ -23,7 +23,19 @@ declare const searchApiGetLocations: import("@keystrokehq/action").WorkflowActio
|
|
|
23
23
|
q: string;
|
|
24
24
|
limit?: number | undefined;
|
|
25
25
|
zero_retention?: boolean | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
generic_api_key: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
33
|
+
connectionId: z.ZodString;
|
|
34
|
+
entityId: z.ZodString;
|
|
35
|
+
instanceId: z.ZodString;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
generic_api_key: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>]>;
|
|
27
39
|
//#endregion
|
|
28
40
|
export { searchApiGetLocations };
|
|
29
41
|
//# sourceMappingURL=get-locations.d.cts.map
|
|
@@ -23,7 +23,19 @@ declare const searchApiGetLocations: import("@keystrokehq/action").WorkflowActio
|
|
|
23
23
|
q: string;
|
|
24
24
|
limit?: number | undefined;
|
|
25
25
|
zero_retention?: boolean | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
26
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
27
|
+
connectionId: z.ZodString;
|
|
28
|
+
entityId: z.ZodString;
|
|
29
|
+
instanceId: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
generic_api_key: z.ZodString;
|
|
32
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
33
|
+
connectionId: z.ZodString;
|
|
34
|
+
entityId: z.ZodString;
|
|
35
|
+
instanceId: z.ZodString;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
generic_api_key: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>]>;
|
|
27
39
|
//#endregion
|
|
28
40
|
export { searchApiGetLocations };
|
|
29
41
|
//# sourceMappingURL=get-locations.d.mts.map
|
|
@@ -182,7 +182,19 @@ declare const searchApiSearch: import("@keystrokehq/action").WorkflowActionDefin
|
|
|
182
182
|
time_period_max?: string | undefined;
|
|
183
183
|
time_period_min?: string | undefined;
|
|
184
184
|
optimization_strategy?: string | undefined;
|
|
185
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
185
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
186
|
+
connectionId: z.ZodString;
|
|
187
|
+
entityId: z.ZodString;
|
|
188
|
+
instanceId: z.ZodString;
|
|
189
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
190
|
+
generic_api_key: z.ZodString;
|
|
191
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
192
|
+
connectionId: z.ZodString;
|
|
193
|
+
entityId: z.ZodString;
|
|
194
|
+
instanceId: z.ZodString;
|
|
195
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
196
|
+
generic_api_key: z.ZodString;
|
|
197
|
+
}, z.core.$strip>>]>;
|
|
186
198
|
//#endregion
|
|
187
199
|
export { searchApiSearch };
|
|
188
200
|
//# sourceMappingURL=search.d.cts.map
|
|
@@ -182,7 +182,19 @@ declare const searchApiSearch: import("@keystrokehq/action").WorkflowActionDefin
|
|
|
182
182
|
time_period_max?: string | undefined;
|
|
183
183
|
time_period_min?: string | undefined;
|
|
184
184
|
optimization_strategy?: string | undefined;
|
|
185
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
185
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
186
|
+
connectionId: z.ZodString;
|
|
187
|
+
entityId: z.ZodString;
|
|
188
|
+
instanceId: z.ZodString;
|
|
189
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
190
|
+
generic_api_key: z.ZodString;
|
|
191
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
192
|
+
connectionId: z.ZodString;
|
|
193
|
+
entityId: z.ZodString;
|
|
194
|
+
instanceId: z.ZodString;
|
|
195
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
196
|
+
generic_api_key: z.ZodString;
|
|
197
|
+
}, z.core.$strip>>]>;
|
|
186
198
|
//#endregion
|
|
187
199
|
export { searchApiSearch };
|
|
188
200
|
//# sourceMappingURL=search.d.mts.map
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
+
let zod = require("zod");
|
|
1
3
|
//#region src/app.ts
|
|
2
|
-
const searchApi = (0,
|
|
4
|
+
const searchApi = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "search_api",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential: { generic_api_key: zod.z.string() }
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.searchApi = searchApi;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const searchApi = defineApp({\n slug: \"search_api\",\n auth: \"keystroke\",\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const searchApi = defineApp({\n slug: \"search_api\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAA,GAAA,2BAAA,UAAA,CAAsB;CACjC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
1
3
|
//#region src/app.d.ts
|
|
2
|
-
declare const searchApi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential
|
|
4
|
+
declare const searchApi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
5
|
+
connectionId: z.ZodString;
|
|
6
|
+
entityId: z.ZodString;
|
|
7
|
+
instanceId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
generic_api_key: z.ZodString;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
3
11
|
//#endregion
|
|
4
12
|
export { searchApi };
|
|
5
13
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,SAAA,6BAAS,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
1
3
|
//#region src/app.d.ts
|
|
2
|
-
declare const searchApi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential
|
|
4
|
+
declare const searchApi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"search_api", z.ZodObject<{
|
|
5
|
+
connectionId: z.ZodString;
|
|
6
|
+
entityId: z.ZodString;
|
|
7
|
+
instanceId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
generic_api_key: z.ZodString;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
3
11
|
//#endregion
|
|
4
12
|
export { searchApi };
|
|
5
13
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,SAAA,6BAAS,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
2
3
|
//#region src/app.ts
|
|
3
4
|
const searchApi = defineApp({
|
|
4
5
|
slug: "search_api",
|
|
5
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential: { generic_api_key: z.string() }
|
|
6
8
|
});
|
|
7
9
|
//#endregion
|
|
8
10
|
export { searchApi };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const searchApi = defineApp({\n slug: \"search_api\",\n auth: \"keystroke\",\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const searchApi = defineApp({\n slug: \"search_api\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAY,UAAU;CACjC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
|