@keystrokehq/perplexityai 0.1.3 → 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.
Files changed (41) hide show
  1. package/dist/actions/create-async-chat-completion.d.cts +15 -3
  2. package/dist/actions/create-async-chat-completion.d.mts +15 -3
  3. package/dist/actions/create-chat-completion.d.cts +15 -3
  4. package/dist/actions/create-chat-completion.d.cts.map +1 -1
  5. package/dist/actions/create-chat-completion.d.mts +15 -3
  6. package/dist/actions/create-chat-completion.d.mts.map +1 -1
  7. package/dist/actions/create-contextualized-embeddings.d.cts +13 -1
  8. package/dist/actions/create-contextualized-embeddings.d.mts +13 -1
  9. package/dist/actions/create-embeddings.d.cts +13 -1
  10. package/dist/actions/create-embeddings.d.mts +13 -1
  11. package/dist/actions/execute-agent.d.cts +13 -1
  12. package/dist/actions/execute-agent.d.cts.map +1 -1
  13. package/dist/actions/execute-agent.d.mts +13 -1
  14. package/dist/actions/execute-agent.d.mts.map +1 -1
  15. package/dist/actions/get-async-chat-completion.d.cts +13 -1
  16. package/dist/actions/get-async-chat-completion.d.mts +13 -1
  17. package/dist/actions/list-async-chat-completions.d.cts +13 -1
  18. package/dist/actions/list-async-chat-completions.d.cts.map +1 -1
  19. package/dist/actions/list-async-chat-completions.d.mts +13 -1
  20. package/dist/actions/list-async-chat-completions.d.mts.map +1 -1
  21. package/dist/actions/list-models.d.cts +13 -1
  22. package/dist/actions/list-models.d.cts.map +1 -1
  23. package/dist/actions/list-models.d.mts +13 -1
  24. package/dist/actions/list-models.d.mts.map +1 -1
  25. package/dist/actions/search.d.cts +13 -1
  26. package/dist/actions/search.d.mts +13 -1
  27. package/dist/app.cjs +5 -2
  28. package/dist/app.cjs.map +1 -1
  29. package/dist/app.d.cts +9 -1
  30. package/dist/app.d.cts.map +1 -1
  31. package/dist/app.d.mts +9 -1
  32. package/dist/app.d.mts.map +1 -1
  33. package/dist/app.mjs +3 -1
  34. package/dist/app.mjs.map +1 -1
  35. package/dist/catalog.cjs +1 -1
  36. package/dist/catalog.cjs.map +1 -1
  37. package/dist/catalog.d.cts +1 -1
  38. package/dist/catalog.d.mts +1 -1
  39. package/dist/catalog.mjs +1 -1
  40. package/dist/catalog.mjs.map +1 -1
  41. package/package.json +1 -1
@@ -14,8 +14,8 @@ declare const PerplexityaiCreateAsyncChatCompletionInput: z.ZodObject<{
14
14
  stream: z.ZodOptional<z.ZodBoolean>;
15
15
  messages: z.ZodArray<z.ZodObject<{
16
16
  role: z.ZodEnum<{
17
- system: "system";
18
17
  user: "user";
18
+ system: "system";
19
19
  assistant: "assistant";
20
20
  tool: "tool";
21
21
  }>;
@@ -64,7 +64,7 @@ declare const perplexityaiCreateAsyncChatCompletion: import("@keystrokehq/action
64
64
  model: "sonar" | "sonar-pro" | "sonar-deep-research" | "sonar-reasoning-pro";
65
65
  messages: {
66
66
  [x: string]: unknown;
67
- role: "system" | "user" | "assistant" | "tool";
67
+ role: "user" | "system" | "assistant" | "tool";
68
68
  content: string;
69
69
  }[];
70
70
  stop?: string | string[] | undefined;
@@ -91,7 +91,19 @@ declare const perplexityaiCreateAsyncChatCompletion: import("@keystrokehq/action
91
91
  last_updated_before_filter?: string | undefined;
92
92
  };
93
93
  idempotency_key?: string | undefined;
94
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
94
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
95
+ connectionId: z.ZodString;
96
+ entityId: z.ZodString;
97
+ instanceId: z.ZodString;
98
+ }, z.core.$strip>, z.ZodObject<{
99
+ generic_api_key: z.ZodString;
100
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
101
+ connectionId: z.ZodString;
102
+ entityId: z.ZodString;
103
+ instanceId: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ generic_api_key: z.ZodString;
106
+ }, z.core.$strip>>]>;
95
107
  //#endregion
96
108
  export { perplexityaiCreateAsyncChatCompletion };
97
109
  //# sourceMappingURL=create-async-chat-completion.d.cts.map
@@ -14,8 +14,8 @@ declare const PerplexityaiCreateAsyncChatCompletionInput: z.ZodObject<{
14
14
  stream: z.ZodOptional<z.ZodBoolean>;
15
15
  messages: z.ZodArray<z.ZodObject<{
16
16
  role: z.ZodEnum<{
17
- system: "system";
18
17
  user: "user";
18
+ system: "system";
19
19
  assistant: "assistant";
20
20
  tool: "tool";
21
21
  }>;
@@ -64,7 +64,7 @@ declare const perplexityaiCreateAsyncChatCompletion: import("@keystrokehq/action
64
64
  model: "sonar" | "sonar-pro" | "sonar-deep-research" | "sonar-reasoning-pro";
65
65
  messages: {
66
66
  [x: string]: unknown;
67
- role: "system" | "user" | "assistant" | "tool";
67
+ role: "user" | "system" | "assistant" | "tool";
68
68
  content: string;
69
69
  }[];
70
70
  stop?: string | string[] | undefined;
@@ -91,7 +91,19 @@ declare const perplexityaiCreateAsyncChatCompletion: import("@keystrokehq/action
91
91
  last_updated_before_filter?: string | undefined;
92
92
  };
93
93
  idempotency_key?: string | undefined;
94
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
94
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
95
+ connectionId: z.ZodString;
96
+ entityId: z.ZodString;
97
+ instanceId: z.ZodString;
98
+ }, z.core.$strip>, z.ZodObject<{
99
+ generic_api_key: z.ZodString;
100
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
101
+ connectionId: z.ZodString;
102
+ entityId: z.ZodString;
103
+ instanceId: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ generic_api_key: z.ZodString;
106
+ }, z.core.$strip>>]>;
95
107
  //#endregion
96
108
  export { perplexityaiCreateAsyncChatCompletion };
97
109
  //# sourceMappingURL=create-async-chat-completion.d.mts.map
@@ -13,8 +13,8 @@ declare const PerplexityaiCreateChatCompletionInput: z.ZodObject<{
13
13
  stream: z.ZodOptional<z.ZodBoolean>;
14
14
  messages: z.ZodArray<z.ZodObject<{
15
15
  role: z.ZodEnum<{
16
- system: "system";
17
16
  user: "user";
17
+ system: "system";
18
18
  assistant: "assistant";
19
19
  tool: "tool";
20
20
  }>;
@@ -109,7 +109,7 @@ declare const PerplexityaiCreateChatCompletionOutput: z.ZodObject<{
109
109
  declare const perplexityaiCreateChatCompletion: import("@keystrokehq/action").WorkflowActionDefinition<{
110
110
  messages: {
111
111
  [x: string]: unknown;
112
- role: "system" | "user" | "assistant" | "tool";
112
+ role: "user" | "system" | "assistant" | "tool";
113
113
  content: string;
114
114
  }[];
115
115
  stop?: string | string[] | undefined;
@@ -148,7 +148,19 @@ declare const perplexityaiCreateChatCompletion: import("@keystrokehq/action").Wo
148
148
  last_updated_after_filter?: string | undefined;
149
149
  search_before_date_filter?: string | undefined;
150
150
  last_updated_before_filter?: string | undefined;
151
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
151
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
152
+ connectionId: z.ZodString;
153
+ entityId: z.ZodString;
154
+ instanceId: z.ZodString;
155
+ }, z.core.$strip>, z.ZodObject<{
156
+ generic_api_key: z.ZodString;
157
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
158
+ connectionId: z.ZodString;
159
+ entityId: z.ZodString;
160
+ instanceId: z.ZodString;
161
+ }, z.core.$strip>, z.ZodObject<{
162
+ generic_api_key: z.ZodString;
163
+ }, z.core.$strip>>]>;
152
164
  //#endregion
153
165
  export { perplexityaiCreateChatCompletion };
154
166
  //# sourceMappingURL=create-chat-completion.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-chat-completion.d.cts","names":[],"sources":["../../src/actions/create-chat-completion.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsFrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAatC,gCAAA,gCAAgC,wBAAA;;;;;;;;;;;;;;;;;;;cAM3C,MAAA"}
1
+ {"version":3,"file":"create-chat-completion.d.cts","names":[],"sources":["../../src/actions/create-chat-completion.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsFrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAatC,gCAAA,gCAAgC,wBAAA"}
@@ -13,8 +13,8 @@ declare const PerplexityaiCreateChatCompletionInput: z.ZodObject<{
13
13
  stream: z.ZodOptional<z.ZodBoolean>;
14
14
  messages: z.ZodArray<z.ZodObject<{
15
15
  role: z.ZodEnum<{
16
- system: "system";
17
16
  user: "user";
17
+ system: "system";
18
18
  assistant: "assistant";
19
19
  tool: "tool";
20
20
  }>;
@@ -109,7 +109,7 @@ declare const PerplexityaiCreateChatCompletionOutput: z.ZodObject<{
109
109
  declare const perplexityaiCreateChatCompletion: import("@keystrokehq/action").WorkflowActionDefinition<{
110
110
  messages: {
111
111
  [x: string]: unknown;
112
- role: "system" | "user" | "assistant" | "tool";
112
+ role: "user" | "system" | "assistant" | "tool";
113
113
  content: string;
114
114
  }[];
115
115
  stop?: string | string[] | undefined;
@@ -148,7 +148,19 @@ declare const perplexityaiCreateChatCompletion: import("@keystrokehq/action").Wo
148
148
  last_updated_after_filter?: string | undefined;
149
149
  search_before_date_filter?: string | undefined;
150
150
  last_updated_before_filter?: string | undefined;
151
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
151
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
152
+ connectionId: z.ZodString;
153
+ entityId: z.ZodString;
154
+ instanceId: z.ZodString;
155
+ }, z.core.$strip>, z.ZodObject<{
156
+ generic_api_key: z.ZodString;
157
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
158
+ connectionId: z.ZodString;
159
+ entityId: z.ZodString;
160
+ instanceId: z.ZodString;
161
+ }, z.core.$strip>, z.ZodObject<{
162
+ generic_api_key: z.ZodString;
163
+ }, z.core.$strip>>]>;
152
164
  //#endregion
153
165
  export { perplexityaiCreateChatCompletion };
154
166
  //# sourceMappingURL=create-chat-completion.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-chat-completion.d.mts","names":[],"sources":["../../src/actions/create-chat-completion.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsFrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAatC,gCAAA,gCAAgC,wBAAA;;;;;;;;;;;;;;;;;;;cAM3C,MAAA"}
1
+ {"version":3,"file":"create-chat-completion.d.mts","names":[],"sources":["../../src/actions/create-chat-completion.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsFrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAatC,gCAAA,gCAAgC,wBAAA"}
@@ -35,7 +35,19 @@ declare const perplexityaiCreateContextualizedEmbeddings: import("@keystrokehq/a
35
35
  model: "pplx-embed-context-v1-0.6b" | "pplx-embed-context-v1-4b";
36
36
  dimensions?: number | undefined;
37
37
  encoding_format?: "base64_int8" | "base64_binary" | undefined;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ generic_api_key: z.ZodString;
44
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
45
+ connectionId: z.ZodString;
46
+ entityId: z.ZodString;
47
+ instanceId: z.ZodString;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ generic_api_key: z.ZodString;
50
+ }, z.core.$strip>>]>;
39
51
  //#endregion
40
52
  export { perplexityaiCreateContextualizedEmbeddings };
41
53
  //# sourceMappingURL=create-contextualized-embeddings.d.cts.map
@@ -35,7 +35,19 @@ declare const perplexityaiCreateContextualizedEmbeddings: import("@keystrokehq/a
35
35
  model: "pplx-embed-context-v1-0.6b" | "pplx-embed-context-v1-4b";
36
36
  dimensions?: number | undefined;
37
37
  encoding_format?: "base64_int8" | "base64_binary" | undefined;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ generic_api_key: z.ZodString;
44
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
45
+ connectionId: z.ZodString;
46
+ entityId: z.ZodString;
47
+ instanceId: z.ZodString;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ generic_api_key: z.ZodString;
50
+ }, z.core.$strip>>]>;
39
51
  //#endregion
40
52
  export { perplexityaiCreateContextualizedEmbeddings };
41
53
  //# sourceMappingURL=create-contextualized-embeddings.d.mts.map
@@ -36,7 +36,19 @@ declare const perplexityaiCreateEmbeddings: import("@keystrokehq/action").Workfl
36
36
  model: "pplx-embed-v1-0.6b" | "pplx-embed-v1-4b";
37
37
  dimensions?: number | undefined;
38
38
  encoding_format?: "base64_int8" | "base64_binary" | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ generic_api_key: z.ZodString;
45
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ generic_api_key: z.ZodString;
51
+ }, z.core.$strip>>]>;
40
52
  //#endregion
41
53
  export { perplexityaiCreateEmbeddings };
42
54
  //# sourceMappingURL=create-embeddings.d.cts.map
@@ -36,7 +36,19 @@ declare const perplexityaiCreateEmbeddings: import("@keystrokehq/action").Workfl
36
36
  model: "pplx-embed-v1-0.6b" | "pplx-embed-v1-4b";
37
37
  dimensions?: number | undefined;
38
38
  encoding_format?: "base64_int8" | "base64_binary" | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ generic_api_key: z.ZodString;
45
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ generic_api_key: z.ZodString;
51
+ }, z.core.$strip>>]>;
40
52
  //#endregion
41
53
  export { perplexityaiCreateEmbeddings };
42
54
  //# sourceMappingURL=create-embeddings.d.mts.map
@@ -103,7 +103,19 @@ declare const perplexityaiExecuteAgent: import("@keystrokehq/action").WorkflowAc
103
103
  } | undefined;
104
104
  max_output_tokens?: number | undefined;
105
105
  language_preference?: string | undefined;
106
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
106
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
107
+ connectionId: z.ZodString;
108
+ entityId: z.ZodString;
109
+ instanceId: z.ZodString;
110
+ }, z.core.$strip>, z.ZodObject<{
111
+ generic_api_key: z.ZodString;
112
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
113
+ connectionId: z.ZodString;
114
+ entityId: z.ZodString;
115
+ instanceId: z.ZodString;
116
+ }, z.core.$strip>, z.ZodObject<{
117
+ generic_api_key: z.ZodString;
118
+ }, z.core.$strip>>]>;
107
119
  //#endregion
108
120
  export { perplexityaiExecuteAgent };
109
121
  //# sourceMappingURL=execute-agent.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"execute-agent.d.cts","names":[],"sources":["../../src/actions/execute-agent.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4C7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,gCAAwB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMnC,MAAA;;;;;;;;;;;;;;cAAA,MAAA"}
1
+ {"version":3,"file":"execute-agent.d.cts","names":[],"sources":["../../src/actions/execute-agent.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4C7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,gCAAwB,wBAAA"}
@@ -103,7 +103,19 @@ declare const perplexityaiExecuteAgent: import("@keystrokehq/action").WorkflowAc
103
103
  } | undefined;
104
104
  max_output_tokens?: number | undefined;
105
105
  language_preference?: string | undefined;
106
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
106
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
107
+ connectionId: z.ZodString;
108
+ entityId: z.ZodString;
109
+ instanceId: z.ZodString;
110
+ }, z.core.$strip>, z.ZodObject<{
111
+ generic_api_key: z.ZodString;
112
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
113
+ connectionId: z.ZodString;
114
+ entityId: z.ZodString;
115
+ instanceId: z.ZodString;
116
+ }, z.core.$strip>, z.ZodObject<{
117
+ generic_api_key: z.ZodString;
118
+ }, z.core.$strip>>]>;
107
119
  //#endregion
108
120
  export { perplexityaiExecuteAgent };
109
121
  //# sourceMappingURL=execute-agent.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"execute-agent.d.mts","names":[],"sources":["../../src/actions/execute-agent.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4C7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,gCAAwB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMnC,MAAA;;;;;;;;;;;;;;cAAA,MAAA"}
1
+ {"version":3,"file":"execute-agent.d.mts","names":[],"sources":["../../src/actions/execute-agent.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4C7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY9B,wBAAA,gCAAwB,wBAAA"}
@@ -22,7 +22,19 @@ declare const PerplexityaiGetAsyncChatCompletionOutput: z.ZodObject<{
22
22
  }, z.core.$loose>;
23
23
  declare const perplexityaiGetAsyncChatCompletion: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  request_id: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ generic_api_key: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { perplexityaiGetAsyncChatCompletion };
28
40
  //# sourceMappingURL=get-async-chat-completion.d.cts.map
@@ -22,7 +22,19 @@ declare const PerplexityaiGetAsyncChatCompletionOutput: z.ZodObject<{
22
22
  }, z.core.$loose>;
23
23
  declare const perplexityaiGetAsyncChatCompletion: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  request_id: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ generic_api_key: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { perplexityaiGetAsyncChatCompletion };
28
40
  //# sourceMappingURL=get-async-chat-completion.d.mts.map
@@ -19,7 +19,19 @@ declare const PerplexityaiListAsyncChatCompletionsOutput: z.ZodObject<{
19
19
  }, z.core.$loose>>;
20
20
  next_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  }, z.core.$loose>;
22
- declare const perplexityaiListAsyncChatCompletions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const perplexityaiListAsyncChatCompletions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ generic_api_key: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ generic_api_key: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { perplexityaiListAsyncChatCompletions };
25
37
  //# sourceMappingURL=list-async-chat-completions.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-async-chat-completions.d.cts","names":[],"sources":["../../src/actions/list-async-chat-completions.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-async-chat-completions.d.cts","names":[],"sources":["../../src/actions/list-async-chat-completions.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,iBAAA,CAAA,CAAA,SAAA"}
@@ -19,7 +19,19 @@ declare const PerplexityaiListAsyncChatCompletionsOutput: z.ZodObject<{
19
19
  }, z.core.$loose>>;
20
20
  next_token: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  }, z.core.$loose>;
22
- declare const perplexityaiListAsyncChatCompletions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const perplexityaiListAsyncChatCompletions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ generic_api_key: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ generic_api_key: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { perplexityaiListAsyncChatCompletions };
25
37
  //# sourceMappingURL=list-async-chat-completions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-async-chat-completions.d.mts","names":[],"sources":["../../src/actions/list-async-chat-completions.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-async-chat-completions.d.mts","names":[],"sources":["../../src/actions/list-async-chat-completions.ts"],"mappings":";;;cAIa,yCAAA,EAAyC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAWzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAK1C,oCAAA,gCAAoC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,iBAAA,CAAA,CAAA,SAAA"}
@@ -11,7 +11,19 @@ declare const PerplexityaiListModelsOutput: z.ZodObject<{
11
11
  }, z.core.$loose>>;
12
12
  object: z.ZodNullable<z.ZodString>;
13
13
  }, z.core.$loose>;
14
- declare const perplexityaiListModels: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const perplexityaiListModels: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ generic_api_key: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { perplexityaiListModels };
17
29
  //# sourceMappingURL=list-models.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-models.d.cts","names":[],"sources":["../../src/actions/list-models.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-models.d.cts","names":[],"sources":["../../src/actions/list-models.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,iBAAA,CAAA,CAAA,SAAA"}
@@ -11,7 +11,19 @@ declare const PerplexityaiListModelsOutput: z.ZodObject<{
11
11
  }, z.core.$loose>>;
12
12
  object: z.ZodNullable<z.ZodString>;
13
13
  }, z.core.$loose>;
14
- declare const perplexityaiListModels: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const perplexityaiListModels: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ generic_api_key: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ generic_api_key: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { perplexityaiListModels };
17
29
  //# sourceMappingURL=list-models.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-models.d.mts","names":[],"sources":["../../src/actions/list-models.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-models.d.mts","names":[],"sources":["../../src/actions/list-models.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAO3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,iBAAA,CAAA,CAAA,SAAA"}
@@ -45,7 +45,19 @@ declare const perplexityaiSearch: import("@keystrokehq/action").WorkflowActionDe
45
45
  last_updated_after_filter?: string | undefined;
46
46
  search_before_date_filter?: string | undefined;
47
47
  last_updated_before_filter?: string | undefined;
48
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ generic_api_key: z.ZodString;
54
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_api_key: z.ZodString;
60
+ }, z.core.$strip>>]>;
49
61
  //#endregion
50
62
  export { perplexityaiSearch };
51
63
  //# sourceMappingURL=search.d.cts.map
@@ -45,7 +45,19 @@ declare const perplexityaiSearch: import("@keystrokehq/action").WorkflowActionDe
45
45
  last_updated_after_filter?: string | undefined;
46
46
  search_before_date_filter?: string | undefined;
47
47
  last_updated_before_filter?: string | undefined;
48
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ generic_api_key: z.ZodString;
54
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"perplexityai", z.ZodObject<{
55
+ connectionId: z.ZodString;
56
+ entityId: z.ZodString;
57
+ instanceId: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ generic_api_key: z.ZodString;
60
+ }, z.core.$strip>>]>;
49
61
  //#endregion
50
62
  export { perplexityaiSearch };
51
63
  //# 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 perplexityai = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const perplexityai = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "perplexityai",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.perplexityai = perplexityai;
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 perplexityai = defineApp({\n slug: \"perplexityai\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,gBAAA,uCAAA,CAAA,CAAA,UAAA,CAAyB;CACpC,MAAM;CACN,MAAM;AACR,CAAC"}
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 perplexityai = defineApp({\n slug: \"perplexityai\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,gBAAA,GAAA,2BAAA,UAAA,CAAyB;CACpC,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 perplexityai: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const perplexityai: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"perplexityai", 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 { perplexityai };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,YAAA,6BAAY,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,YAAA,6BAAY,GAAA,+BAAA,UAAA,iBAAA,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 perplexityai: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const perplexityai: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"perplexityai", 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 { perplexityai };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,YAAA,6BAAY,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,YAAA,6BAAY,GAAA,+BAAA,UAAA,iBAAA,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 perplexityai = defineApp({
4
5
  slug: "perplexityai",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { perplexityai };
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 perplexityai = defineApp({\n slug: \"perplexityai\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,eAAe,UAAU;CACpC,MAAM;CACN,MAAM;AACR,CAAC"}
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 perplexityai = defineApp({\n slug: \"perplexityai\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,eAAe,UAAU;CACpC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const perplexityaiCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/perplexityai",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Key",
13
13
  "secret": true,
14
14
  "description": "Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const perplexityaiCatalog = {\n \"slug\": \"perplexityai\",\n \"name\": \"Perplexity AI\",\n \"description\": \"Perplexity AI provides conversational AI models for generating human-like text responses\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/perplexityai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,sBAAsB;CACjC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const perplexityaiCatalog = {\n \"slug\": \"perplexityai\",\n \"name\": \"Perplexity AI\",\n \"description\": \"Perplexity AI provides conversational AI models for generating human-like text responses\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/perplexityai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,sBAAsB;CACjC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const perplexityaiCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately.";
@@ -9,7 +9,7 @@ declare const perplexityaiCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const perplexityaiCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/perplexityai",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Key",
13
13
  "secret": true,
14
14
  "description": "Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const perplexityaiCatalog = {\n \"slug\": \"perplexityai\",\n \"name\": \"Perplexity AI\",\n \"description\": \"Perplexity AI provides conversational AI models for generating human-like text responses\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/perplexityai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,sBAAsB;CACjC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const perplexityaiCatalog = {\n \"slug\": \"perplexityai\",\n \"name\": \"Perplexity AI\",\n \"description\": \"Perplexity AI provides conversational AI models for generating human-like text responses\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/perplexityai\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your secret Perplexity API key, starting with 'pplx-'. Create one at console.perplexity.ai under API Keys — it's shown only once, so copy it immediately.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,sBAAsB;CACjC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/perplexityai",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"