@keystrokehq/neuronwriter 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.
@@ -31,7 +31,19 @@ declare const neuronwriterImportContent: import("@keystrokehq/action").WorkflowA
31
31
  content_type?: string | undefined;
32
32
  extra_headers?: Record<string, unknown> | undefined;
33
33
  container_class?: string | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"neuronwriter", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ generic_api_key: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"neuronwriter", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ generic_api_key: z.ZodString;
46
+ }, z.core.$strip>>]>;
35
47
  //#endregion
36
48
  export { neuronwriterImportContent };
37
49
  //# sourceMappingURL=import-content.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"import-content.d.cts","names":[],"sources":["../../src/actions/import-content.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA;;;;;;;;;;kBAMpC,MAAA"}
1
+ {"version":3,"file":"import-content.d.cts","names":[],"sources":["../../src/actions/import-content.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
@@ -31,7 +31,19 @@ declare const neuronwriterImportContent: import("@keystrokehq/action").WorkflowA
31
31
  content_type?: string | undefined;
32
32
  extra_headers?: Record<string, unknown> | undefined;
33
33
  container_class?: string | undefined;
34
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"neuronwriter", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ generic_api_key: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"neuronwriter", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ generic_api_key: z.ZodString;
46
+ }, z.core.$strip>>]>;
35
47
  //#endregion
36
48
  export { neuronwriterImportContent };
37
49
  //# sourceMappingURL=import-content.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"import-content.d.mts","names":[],"sources":["../../src/actions/import-content.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA;;;;;;;;;;kBAMpC,MAAA"}
1
+ {"version":3,"file":"import-content.d.mts","names":[],"sources":["../../src/actions/import-content.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
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 neuronwriter = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const neuronwriter = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "neuronwriter",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.neuronwriter = neuronwriter;
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 neuronwriter = defineApp({\n slug: \"neuronwriter\",\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 neuronwriter = defineApp({\n slug: \"neuronwriter\",\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 neuronwriter: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const neuronwriter: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"neuronwriter", 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 { neuronwriter };
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 neuronwriter: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const neuronwriter: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"neuronwriter", 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 { neuronwriter };
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 neuronwriter = defineApp({
4
5
  slug: "neuronwriter",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { neuronwriter };
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 neuronwriter = defineApp({\n slug: \"neuronwriter\",\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 neuronwriter = defineApp({\n slug: \"neuronwriter\",\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 neuronwriterCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/neuronwriter",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "NeuronWriter API Key",
13
13
  "secret": true,
14
14
  "description": "Your NeuronWriter API key, obtainable from your profile under the 'Neuron API access' tab."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const neuronwriterCatalog = {\n \"slug\": \"neuronwriter\",\n \"name\": \"Neuronwriter\",\n \"description\": \"NeuronWriter is a content optimization tool that leverages semantic SEO and AI to enhance content creation and improve search engine rankings.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/neuronwriter\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"NeuronWriter API Key\",\n \"secret\": true,\n \"description\": \"Your NeuronWriter API key, obtainable from your profile under the 'Neuron API access' tab.\"\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 neuronwriterCatalog = {\n \"slug\": \"neuronwriter\",\n \"name\": \"Neuronwriter\",\n \"description\": \"NeuronWriter is a content optimization tool that leverages semantic SEO and AI to enhance content creation and improve search engine rankings.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/neuronwriter\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"NeuronWriter API Key\",\n \"secret\": true,\n \"description\": \"Your NeuronWriter API key, obtainable from your profile under the 'Neuron API access' tab.\"\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 neuronwriterCatalog: {
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: "NeuronWriter API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your NeuronWriter API key, obtainable from your profile under the 'Neuron API access' tab.";
@@ -9,7 +9,7 @@ declare const neuronwriterCatalog: {
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: "NeuronWriter API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Your NeuronWriter API key, obtainable from your profile under the 'Neuron API access' tab.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const neuronwriterCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/neuronwriter",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "NeuronWriter API Key",
13
13
  "secret": true,
14
14
  "description": "Your NeuronWriter API key, obtainable from your profile under the 'Neuron API access' tab."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const neuronwriterCatalog = {\n \"slug\": \"neuronwriter\",\n \"name\": \"Neuronwriter\",\n \"description\": \"NeuronWriter is a content optimization tool that leverages semantic SEO and AI to enhance content creation and improve search engine rankings.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/neuronwriter\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"NeuronWriter API Key\",\n \"secret\": true,\n \"description\": \"Your NeuronWriter API key, obtainable from your profile under the 'Neuron API access' tab.\"\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 neuronwriterCatalog = {\n \"slug\": \"neuronwriter\",\n \"name\": \"Neuronwriter\",\n \"description\": \"NeuronWriter is a content optimization tool that leverages semantic SEO and AI to enhance content creation and improve search engine rankings.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/neuronwriter\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"NeuronWriter API Key\",\n \"secret\": true,\n \"description\": \"Your NeuronWriter API key, obtainable from your profile under the 'Neuron API access' tab.\"\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/neuronwriter",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"