@keystrokehq/ninox 0.1.4 → 0.1.6

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 (45) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/delete-record.cjs +1 -0
  4. package/dist/actions/delete-record.cjs.map +1 -1
  5. package/dist/actions/delete-record.d.cts +3 -6
  6. package/dist/actions/delete-record.d.cts.map +1 -1
  7. package/dist/actions/delete-record.d.mts +3 -6
  8. package/dist/actions/delete-record.d.mts.map +1 -1
  9. package/dist/actions/delete-record.mjs +1 -0
  10. package/dist/actions/delete-record.mjs.map +1 -1
  11. package/dist/actions/get-databases.cjs +1 -0
  12. package/dist/actions/get-databases.cjs.map +1 -1
  13. package/dist/actions/get-databases.d.cts +3 -3
  14. package/dist/actions/get-databases.d.cts.map +1 -1
  15. package/dist/actions/get-databases.d.mts +3 -3
  16. package/dist/actions/get-databases.d.mts.map +1 -1
  17. package/dist/actions/get-databases.mjs +1 -0
  18. package/dist/actions/get-databases.mjs.map +1 -1
  19. package/dist/actions/get-team.cjs +1 -0
  20. package/dist/actions/get-team.cjs.map +1 -1
  21. package/dist/actions/get-team.d.cts +3 -3
  22. package/dist/actions/get-team.d.cts.map +1 -1
  23. package/dist/actions/get-team.d.mts +3 -3
  24. package/dist/actions/get-team.d.mts.map +1 -1
  25. package/dist/actions/get-team.mjs +1 -0
  26. package/dist/actions/get-team.mjs.map +1 -1
  27. package/dist/actions/list-teams.cjs +1 -0
  28. package/dist/actions/list-teams.cjs.map +1 -1
  29. package/dist/actions/list-teams.d.cts +3 -1
  30. package/dist/actions/list-teams.d.cts.map +1 -1
  31. package/dist/actions/list-teams.d.mts +3 -1
  32. package/dist/actions/list-teams.d.mts.map +1 -1
  33. package/dist/actions/list-teams.mjs +1 -0
  34. package/dist/actions/list-teams.mjs.map +1 -1
  35. package/dist/app.cjs +5 -2
  36. package/dist/app.cjs.map +1 -1
  37. package/dist/app.d.cts +7 -1
  38. package/dist/app.d.cts.map +1 -1
  39. package/dist/app.d.mts +7 -1
  40. package/dist/app.d.mts.map +1 -1
  41. package/dist/app.mjs +3 -2
  42. package/dist/app.mjs.map +1 -1
  43. package/dist/index.d.cts +1 -1
  44. package/dist/index.d.mts +1 -1
  45. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["ninox","executeNinoxTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ninox } from \"./app\";\nimport { executeNinoxTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return ninox.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeNinoxTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["ninox","executeNinoxTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { ninox } from \"./app\";\nimport { executeNinoxTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof ninox.credential> {\n return ninox.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNinoxTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ninox } from \"./app\";\nimport { executeNinoxTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return ninox.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeNinoxTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { ninox } from \"./app\";\nimport { executeNinoxTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof ninox.credential> {\n return ninox.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNinoxTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/delete-record.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NinoxDeleteRecordInput = z.object({\n team_id: z.string().describe(\"Workspace (team) identifier. Obtain from GET /teams endpoint.\"),\n table_id: z.string().describe(\"Table identifier. Ninox tables are identified by letters starting with A, B, C, etc. Obtain from GET /teams/{team_id}/databases/{database_id}/tables endpoint.\"),\n record_id: z.string().describe(\"Record identifier to delete. Typically numeric. Obtain from GET /teams/{team_id}/databases/{database_id}/tables/{table_id}/records endpoint.\"),\n database_id: z.string().describe(\"Database identifier. Obtain from GET /teams/{team_id}/databases endpoint.\"),\n});\nexport const NinoxDeleteRecordOutput = z.record(z.string(), z.unknown()).describe(\"Empty response returned on successful deletion.\");\n\nexport const ninoxDeleteRecord = action(\"NINOX_DELETE_RECORD\", {\n slug: \"ninox-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a specified table. Use after confirming workspace, database, table, and record IDs.\",\n input: NinoxDeleteRecordInput,\n output: NinoxDeleteRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAC9L,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;CAC7K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AAC9G,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAEnI,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ninox } from \"../app\";\n\nexport const NinoxDeleteRecordInput = z.object({\n team_id: z.string().describe(\"Workspace (team) identifier. Obtain from GET /teams endpoint.\"),\n table_id: z.string().describe(\"Table identifier. Ninox tables are identified by letters starting with A, B, C, etc. Obtain from GET /teams/{team_id}/databases/{database_id}/tables endpoint.\"),\n record_id: z.string().describe(\"Record identifier to delete. Typically numeric. Obtain from GET /teams/{team_id}/databases/{database_id}/tables/{table_id}/records endpoint.\"),\n database_id: z.string().describe(\"Database identifier. Obtain from GET /teams/{team_id}/databases endpoint.\"),\n});\nexport const NinoxDeleteRecordOutput = z.record(z.string(), z.unknown()).describe(\"Empty response returned on successful deletion.\");\n\nexport const ninoxDeleteRecord: AppAction<\n typeof NinoxDeleteRecordInput,\n typeof NinoxDeleteRecordOutput,\n typeof ninox.credential\n> = action(\"NINOX_DELETE_RECORD\", {\n slug: \"ninox-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a specified table. Use after confirming workspace, database, table, and record IDs.\",\n input: NinoxDeleteRecordInput,\n output: NinoxDeleteRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;CAC9L,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;CAC7K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AAC9G,CAAC;AACD,MAAa,0BAA0BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAEnI,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ninox } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-record.d.ts
@@ -8,12 +10,7 @@ declare const NinoxDeleteRecordInput: z.ZodObject<{
8
10
  database_id: z.ZodString;
9
11
  }, z.core.$strip>;
10
12
  declare const NinoxDeleteRecordOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11
- declare const ninoxDeleteRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- team_id: string;
13
- table_id: string;
14
- record_id: string;
15
- database_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const ninoxDeleteRecord: AppAction<typeof NinoxDeleteRecordInput, typeof NinoxDeleteRecordOutput, typeof ninox.credential>;
17
14
  //#endregion
18
15
  export { ninoxDeleteRecord };
19
16
  //# sourceMappingURL=delete-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-record.d.cts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"delete-record.d.cts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ninox } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-record.d.ts
@@ -8,12 +10,7 @@ declare const NinoxDeleteRecordInput: z.ZodObject<{
8
10
  database_id: z.ZodString;
9
11
  }, z.core.$strip>;
10
12
  declare const NinoxDeleteRecordOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11
- declare const ninoxDeleteRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- team_id: string;
13
- table_id: string;
14
- record_id: string;
15
- database_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const ninoxDeleteRecord: AppAction<typeof NinoxDeleteRecordInput, typeof NinoxDeleteRecordOutput, typeof ninox.credential>;
17
14
  //#endregion
18
15
  export { ninoxDeleteRecord };
19
16
  //# sourceMappingURL=delete-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-record.d.mts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"delete-record.d.mts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const ninoxDeleteRecord = action("NINOX_DELETE_RECORD", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-record.mjs","names":[],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NinoxDeleteRecordInput = z.object({\n team_id: z.string().describe(\"Workspace (team) identifier. Obtain from GET /teams endpoint.\"),\n table_id: z.string().describe(\"Table identifier. Ninox tables are identified by letters starting with A, B, C, etc. Obtain from GET /teams/{team_id}/databases/{database_id}/tables endpoint.\"),\n record_id: z.string().describe(\"Record identifier to delete. Typically numeric. Obtain from GET /teams/{team_id}/databases/{database_id}/tables/{table_id}/records endpoint.\"),\n database_id: z.string().describe(\"Database identifier. Obtain from GET /teams/{team_id}/databases endpoint.\"),\n});\nexport const NinoxDeleteRecordOutput = z.record(z.string(), z.unknown()).describe(\"Empty response returned on successful deletion.\");\n\nexport const ninoxDeleteRecord = action(\"NINOX_DELETE_RECORD\", {\n slug: \"ninox-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a specified table. Use after confirming workspace, database, table, and record IDs.\",\n input: NinoxDeleteRecordInput,\n output: NinoxDeleteRecordOutput,\n});\n"],"mappings":";;AAYA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoC,EAAE,OAAO;EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;EAC9L,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;EAC7K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC9G,CAOS;CACP,QAPqC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAOxE;AACV,CAAC"}
1
+ {"version":3,"file":"delete-record.mjs","names":[],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ninox } from \"../app\";\n\nexport const NinoxDeleteRecordInput = z.object({\n team_id: z.string().describe(\"Workspace (team) identifier. Obtain from GET /teams endpoint.\"),\n table_id: z.string().describe(\"Table identifier. Ninox tables are identified by letters starting with A, B, C, etc. Obtain from GET /teams/{team_id}/databases/{database_id}/tables endpoint.\"),\n record_id: z.string().describe(\"Record identifier to delete. Typically numeric. Obtain from GET /teams/{team_id}/databases/{database_id}/tables/{table_id}/records endpoint.\"),\n database_id: z.string().describe(\"Database identifier. Obtain from GET /teams/{team_id}/databases endpoint.\"),\n});\nexport const NinoxDeleteRecordOutput = z.record(z.string(), z.unknown()).describe(\"Empty response returned on successful deletion.\");\n\nexport const ninoxDeleteRecord: AppAction<\n typeof NinoxDeleteRecordInput,\n typeof NinoxDeleteRecordOutput,\n typeof ninox.credential\n> = action(\"NINOX_DELETE_RECORD\", {\n slug: \"ninox-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a specified table. Use after confirming workspace, database, table, and record IDs.\",\n input: NinoxDeleteRecordInput,\n output: NinoxDeleteRecordOutput,\n});\n"],"mappings":";;;AAcA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoC,EAAE,OAAO;EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;EAC9L,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I;EAC7K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAC9G,CAWS;CACP,QAXqC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iDAWxE;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-databases.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-databases.cjs","names":["z","action"],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NinoxGetDatabasesInput = z.object({\n team_id: z.string().describe(\"The unique identifier of the Ninox team to list databases for.\"),\n}).describe(\"Request model for GetDatabases action.\");\nconst NinoxGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Human-readable name of the database.\").nullable(),\n}).passthrough().describe(\"A single Ninox database entry.\");\nexport const NinoxGetDatabasesOutput = z.object({\n databases: z.array(NinoxGetDatabases_DatabaseSchema).describe(\"List of databases within the specified team.\"),\n}).passthrough().describe(\"Response model for GetDatabases: a list of database objects.\");\n\nexport const ninoxGetDatabases = action(\"NINOX_GET_DATABASES\", {\n slug: \"ninox-get-databases\",\n name: \"Get Databases\",\n description: \"Retrieves all databases within a specific Ninox team. This action lists all databases (workspaces) that belong to a given team in Ninox. Each database contains tables, fields, and records for organizing data. Use this action when you need to: - List all available databases in a team - Find a specific database by name - Get database IDs for further operations Note: You must have a valid team_id. Use the GET /teams endpoint to retrieve team IDs first.\",\n input: NinoxGetDatabasesInput,\n output: NinoxGetDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,WAAWA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8CAA8C,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-databases.cjs","names":["z","action"],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ninox } from \"../app\";\n\nexport const NinoxGetDatabasesInput = z.object({\n team_id: z.string().describe(\"The unique identifier of the Ninox team to list databases for.\"),\n}).describe(\"Request model for GetDatabases action.\");\nconst NinoxGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Human-readable name of the database.\").nullable(),\n}).passthrough().describe(\"A single Ninox database entry.\");\nexport const NinoxGetDatabasesOutput = z.object({\n databases: z.array(NinoxGetDatabases_DatabaseSchema).describe(\"List of databases within the specified team.\"),\n}).passthrough().describe(\"Response model for GetDatabases: a list of database objects.\");\n\nexport const ninoxGetDatabases: AppAction<\n typeof NinoxGetDatabasesInput,\n typeof NinoxGetDatabasesOutput,\n typeof ninox.credential\n> = action(\"NINOX_GET_DATABASES\", {\n slug: \"ninox-get-databases\",\n name: \"Get Databases\",\n description: \"Retrieves all databases within a specific Ninox team. This action lists all databases (workspaces) that belong to a given team in Ninox. Each database contains tables, fields, and records for organizing data. Use this action when you need to: - List all available databases in a team - Find a specific database by name - Get database IDs for further operations Note: You must have a valid team_id. Use the GET /teams endpoint to retrieve team IDs first.\",\n input: NinoxGetDatabasesInput,\n output: NinoxGetDatabasesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,WAAWA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8CAA8C,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ninox } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-databases.d.ts
@@ -10,9 +12,7 @@ declare const NinoxGetDatabasesOutput: z.ZodObject<{
10
12
  name: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>>;
12
14
  }, z.core.$loose>;
13
- declare const ninoxGetDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- team_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const ninoxGetDatabases: AppAction<typeof NinoxGetDatabasesInput, typeof NinoxGetDatabasesOutput, typeof ninox.credential>;
16
16
  //#endregion
17
17
  export { ninoxGetDatabases };
18
18
  //# sourceMappingURL=get-databases.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-databases.d.cts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-databases.d.cts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ninox } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-databases.d.ts
@@ -10,9 +12,7 @@ declare const NinoxGetDatabasesOutput: z.ZodObject<{
10
12
  name: z.ZodNullable<z.ZodString>;
11
13
  }, z.core.$loose>>;
12
14
  }, z.core.$loose>;
13
- declare const ninoxGetDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- team_id: string;
15
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const ninoxGetDatabases: AppAction<typeof NinoxGetDatabasesInput, typeof NinoxGetDatabasesOutput, typeof ninox.credential>;
16
16
  //#endregion
17
17
  export { ninoxGetDatabases };
18
18
  //# sourceMappingURL=get-databases.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-databases.d.mts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"get-databases.d.mts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAOtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-databases.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-databases.mjs","names":[],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NinoxGetDatabasesInput = z.object({\n team_id: z.string().describe(\"The unique identifier of the Ninox team to list databases for.\"),\n}).describe(\"Request model for GetDatabases action.\");\nconst NinoxGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Human-readable name of the database.\").nullable(),\n}).passthrough().describe(\"A single Ninox database entry.\");\nexport const NinoxGetDatabasesOutput = z.object({\n databases: z.array(NinoxGetDatabases_DatabaseSchema).describe(\"List of databases within the specified team.\"),\n}).passthrough().describe(\"Response model for GetDatabases: a list of database objects.\");\n\nexport const ninoxGetDatabases = action(\"NINOX_GET_DATABASES\", {\n slug: \"ninox-get-databases\",\n name: \"Get Databases\",\n description: \"Retrieves all databases within a specific Ninox team. This action lists all databases (workspaces) that belong to a given team in Ninox. Each database contains tables, fields, and records for organizing data. Use this action when you need to: - List all available databases in a team - Find a specific database by name - Get database IDs for further operations Note: You must have a valid team_id. Use the GET /teams endpoint to retrieve team IDs first.\",\n input: NinoxGetDatabasesInput,\n output: NinoxGetDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,WAAW,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8CAA8C,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-databases.mjs","names":[],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ninox } from \"../app\";\n\nexport const NinoxGetDatabasesInput = z.object({\n team_id: z.string().describe(\"The unique identifier of the Ninox team to list databases for.\"),\n}).describe(\"Request model for GetDatabases action.\");\nconst NinoxGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Human-readable name of the database.\").nullable(),\n}).passthrough().describe(\"A single Ninox database entry.\");\nexport const NinoxGetDatabasesOutput = z.object({\n databases: z.array(NinoxGetDatabases_DatabaseSchema).describe(\"List of databases within the specified team.\"),\n}).passthrough().describe(\"Response model for GetDatabases: a list of database objects.\");\n\nexport const ninoxGetDatabases: AppAction<\n typeof NinoxGetDatabasesInput,\n typeof NinoxGetDatabasesOutput,\n typeof ninox.credential\n> = action(\"NINOX_GET_DATABASES\", {\n slug: \"ninox-get-databases\",\n name: \"Get Databases\",\n description: \"Retrieves all databases within a specific Ninox team. This action lists all databases (workspaces) that belong to a given team in Ninox. Each database contains tables, fields, and records for organizing data. Use this action when you need to: - List all available databases in a team - Find a specific database by name - Get database IDs for further operations Note: You must have a valid team_id. Use the GET /teams endpoint to retrieve team IDs first.\",\n input: NinoxGetDatabasesInput,\n output: NinoxGetDatabasesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbqC,EAAE,OAAO,EAC9C,WAAW,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8CAA8C,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-team.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-team.cjs","names":["z","action"],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NinoxGetTeamInput = z.object({\n team_id: z.string().describe(\"The unique identifier of the Ninox team/workspace to retrieve.\"),\n}).describe(\"Request model for GetTeam action.\");\nexport const NinoxGetTeamOutput = z.object({\n id: z.string().describe(\"Unique identifier of the workspace/team.\").nullable(),\n name: z.string().describe(\"Human-readable name of the workspace/team.\").nullable(),\n}).passthrough().describe(\"Response model for GetTeam action.\");\n\nexport const ninoxGetTeam = action(\"NINOX_GET_TEAM\", {\n slug: \"ninox-get-team\",\n name: \"Get Team\",\n description: \"Retrieves data from a single team (workspace) by its ID. Use when you need to get workspace details including the workspace ID and name.\",\n input: NinoxGetTeamInput,\n output: NinoxGetTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAC/F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-team.cjs","names":["z","action"],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ninox } from \"../app\";\n\nexport const NinoxGetTeamInput = z.object({\n team_id: z.string().describe(\"The unique identifier of the Ninox team/workspace to retrieve.\"),\n}).describe(\"Request model for GetTeam action.\");\nexport const NinoxGetTeamOutput = z.object({\n id: z.string().describe(\"Unique identifier of the workspace/team.\").nullable(),\n name: z.string().describe(\"Human-readable name of the workspace/team.\").nullable(),\n}).passthrough().describe(\"Response model for GetTeam action.\");\n\nexport const ninoxGetTeam: AppAction<\n typeof NinoxGetTeamInput,\n typeof NinoxGetTeamOutput,\n typeof ninox.credential\n> = action(\"NINOX_GET_TEAM\", {\n slug: \"ninox-get-team\",\n name: \"Get Team\",\n description: \"Retrieves data from a single team (workspace) by its ID. Use when you need to get workspace details including the workspace ID and name.\",\n input: NinoxGetTeamInput,\n output: NinoxGetTeamOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAC/F,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAC/C,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,eAITC,eAAAA,OAAO,kBAAkB;CAC3B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ninox } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-team.d.ts
@@ -8,9 +10,7 @@ declare const NinoxGetTeamOutput: z.ZodObject<{
8
10
  id: z.ZodNullable<z.ZodString>;
9
11
  name: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const ninoxGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- team_id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const ninoxGetTeam: AppAction<typeof NinoxGetTeamInput, typeof NinoxGetTeamOutput, typeof ninox.credential>;
14
14
  //#endregion
15
15
  export { ninoxGetTeam };
16
16
  //# sourceMappingURL=get-team.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-team.d.cts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAGjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAKlB,YAAA,gCAAY,wBAAA"}
1
+ {"version":3,"file":"get-team.d.cts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;;;cAMa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAGjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAKlB,YAAA,EAAc,SAAA,QAClB,iBAAA,SACA,kBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ninox } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-team.d.ts
@@ -8,9 +10,7 @@ declare const NinoxGetTeamOutput: z.ZodObject<{
8
10
  id: z.ZodNullable<z.ZodString>;
9
11
  name: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>;
11
- declare const ninoxGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- team_id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const ninoxGetTeam: AppAction<typeof NinoxGetTeamInput, typeof NinoxGetTeamOutput, typeof ninox.credential>;
14
14
  //#endregion
15
15
  export { ninoxGetTeam };
16
16
  //# sourceMappingURL=get-team.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-team.d.mts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAGjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAKlB,YAAA,gCAAY,wBAAA"}
1
+ {"version":3,"file":"get-team.d.mts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;;;cAMa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAGjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAKlB,YAAA,EAAc,SAAA,QAClB,iBAAA,SACA,kBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const ninoxGetTeam = action("NINOX_GET_TEAM", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-team.mjs","names":[],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NinoxGetTeamInput = z.object({\n team_id: z.string().describe(\"The unique identifier of the Ninox team/workspace to retrieve.\"),\n}).describe(\"Request model for GetTeam action.\");\nexport const NinoxGetTeamOutput = z.object({\n id: z.string().describe(\"Unique identifier of the workspace/team.\").nullable(),\n name: z.string().describe(\"Human-readable name of the workspace/team.\").nullable(),\n}).passthrough().describe(\"Response model for GetTeam action.\");\n\nexport const ninoxGetTeam = action(\"NINOX_GET_TEAM\", {\n slug: \"ninox-get-team\",\n name: \"Get Team\",\n description: \"Retrieves data from a single team (workspace) by its ID. Use when you need to get workspace details including the workspace ID and name.\",\n input: NinoxGetTeamInput,\n output: NinoxGetTeamOutput,\n});\n"],"mappings":";;AAYA,MAAa,eAAe,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ+B,EAAE,OAAO,EACxC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAC/F,CAAC,CAAC,CAAC,SAAS,mCAUH;CACP,QAVgC,EAAE,OAAO;EACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-team.mjs","names":[],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ninox } from \"../app\";\n\nexport const NinoxGetTeamInput = z.object({\n team_id: z.string().describe(\"The unique identifier of the Ninox team/workspace to retrieve.\"),\n}).describe(\"Request model for GetTeam action.\");\nexport const NinoxGetTeamOutput = z.object({\n id: z.string().describe(\"Unique identifier of the workspace/team.\").nullable(),\n name: z.string().describe(\"Human-readable name of the workspace/team.\").nullable(),\n}).passthrough().describe(\"Response model for GetTeam action.\");\n\nexport const ninoxGetTeam: AppAction<\n typeof NinoxGetTeamInput,\n typeof NinoxGetTeamOutput,\n typeof ninox.credential\n> = action(\"NINOX_GET_TEAM\", {\n slug: \"ninox-get-team\",\n name: \"Get Team\",\n description: \"Retrieves data from a single team (workspace) by its ID. Use when you need to get workspace details including the workspace ID and name.\",\n input: NinoxGetTeamInput,\n output: NinoxGetTeamOutput,\n});\n"],"mappings":";;;AAcA,MAAa,eAIT,OAAO,kBAAkB;CAC3B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+B,EAAE,OAAO,EACxC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EAC/F,CAAC,CAAC,CAAC,SAAS,mCAcH;CACP,QAdgC,EAAE,OAAO;EACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-teams.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NinoxListTeamsInput = z.object({}).describe(\"Request model for ListTeams action.\\nThis action requires no parameters as it lists all teams accessible to the authenticated user.\");\nconst NinoxListTeams_TeamSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace/team.\").nullable(),\n name: z.string().describe(\"Human-readable name of the workspace/team.\").nullable(),\n}).passthrough().describe(\"A single Ninox team (workspace) entry.\");\nexport const NinoxListTeamsOutput = z.object({\n teams: z.array(NinoxListTeams_TeamSchema).describe(\"List of all workspaces (teams) accessible to the authenticated user.\"),\n}).passthrough().describe(\"Response model for ListTeams: a list of team objects.\");\n\nexport const ninoxListTeams = action(\"NINOX_LIST_TEAMS\", {\n slug: \"ninox-list-teams\",\n name: \"List Teams\",\n description: \"Retrieves all workspaces (teams) accessible to the authenticated user. This action lists all Ninox teams (workspaces) that the user has access to. Each team contains databases, which in turn contain tables and records. Use this action when you need to: - List all available workspaces - Find a specific workspace by name - Get workspace IDs for further operations (databases, tables, records) Note: The team_id from this response is required for most other Ninox API operations.\",\n input: NinoxListTeamsInput,\n output: NinoxListTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qIAAqI;AAC9L,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,OAAOA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,sEAAsE,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ninox } from \"../app\";\n\nexport const NinoxListTeamsInput = z.object({}).describe(\"Request model for ListTeams action.\\nThis action requires no parameters as it lists all teams accessible to the authenticated user.\");\nconst NinoxListTeams_TeamSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace/team.\").nullable(),\n name: z.string().describe(\"Human-readable name of the workspace/team.\").nullable(),\n}).passthrough().describe(\"A single Ninox team (workspace) entry.\");\nexport const NinoxListTeamsOutput = z.object({\n teams: z.array(NinoxListTeams_TeamSchema).describe(\"List of all workspaces (teams) accessible to the authenticated user.\"),\n}).passthrough().describe(\"Response model for ListTeams: a list of team objects.\");\n\nexport const ninoxListTeams: AppAction<\n typeof NinoxListTeamsInput,\n typeof NinoxListTeamsOutput,\n typeof ninox.credential\n> = action(\"NINOX_LIST_TEAMS\", {\n slug: \"ninox-list-teams\",\n name: \"List Teams\",\n description: \"Retrieves all workspaces (teams) accessible to the authenticated user. This action lists all Ninox teams (workspaces) that the user has access to. Each team contains databases, which in turn contain tables and records. Use this action when you need to: - List all available workspaces - Find a specific workspace by name - Get workspace IDs for further operations (databases, tables, records) Note: The team_id from this response is required for most other Ninox API operations.\",\n input: NinoxListTeamsInput,\n output: NinoxListTeamsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qIAAqI;AAC9L,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,OAAOA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,sEAAsE,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ninox } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-teams.d.ts
@@ -8,7 +10,7 @@ declare const NinoxListTeamsOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const ninoxListTeams: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const ninoxListTeams: AppAction<typeof NinoxListTeamsInput, typeof NinoxListTeamsOutput, typeof ninox.credential>;
12
14
  //#endregion
13
15
  export { ninoxListTeams };
14
16
  //# sourceMappingURL=list-teams.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-teams.d.cts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAIpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-teams.d.cts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ninox } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-teams.d.ts
@@ -8,7 +10,7 @@ declare const NinoxListTeamsOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, z.core.$loose>;
11
- declare const ninoxListTeams: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const ninoxListTeams: AppAction<typeof NinoxListTeamsInput, typeof NinoxListTeamsOutput, typeof ninox.credential>;
12
14
  //#endregion
13
15
  export { ninoxListTeams };
14
16
  //# sourceMappingURL=list-teams.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-teams.d.mts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAIpB,cAAA,gCAAc,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-teams.d.mts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-teams.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-teams.mjs","names":[],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NinoxListTeamsInput = z.object({}).describe(\"Request model for ListTeams action.\\nThis action requires no parameters as it lists all teams accessible to the authenticated user.\");\nconst NinoxListTeams_TeamSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace/team.\").nullable(),\n name: z.string().describe(\"Human-readable name of the workspace/team.\").nullable(),\n}).passthrough().describe(\"A single Ninox team (workspace) entry.\");\nexport const NinoxListTeamsOutput = z.object({\n teams: z.array(NinoxListTeams_TeamSchema).describe(\"List of all workspaces (teams) accessible to the authenticated user.\"),\n}).passthrough().describe(\"Response model for ListTeams: a list of team objects.\");\n\nexport const ninoxListTeams = action(\"NINOX_LIST_TEAMS\", {\n slug: \"ninox-list-teams\",\n name: \"List Teams\",\n description: \"Retrieves all workspaces (teams) accessible to the authenticated user. This action lists all Ninox teams (workspaces) that the user has access to. Each team contains databases, which in turn contain tables and records. Use this action when you need to: - List all available workspaces - Find a specific workspace by name - Get workspace IDs for further operations (databases, tables, records) Note: The team_id from this response is required for most other Ninox API operations.\",\n input: NinoxListTeamsInput,\n output: NinoxListTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qIAAqI;AAC9L,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,OAAO,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,sEAAsE,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-teams.mjs","names":[],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ninox } from \"../app\";\n\nexport const NinoxListTeamsInput = z.object({}).describe(\"Request model for ListTeams action.\\nThis action requires no parameters as it lists all teams accessible to the authenticated user.\");\nconst NinoxListTeams_TeamSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace/team.\").nullable(),\n name: z.string().describe(\"Human-readable name of the workspace/team.\").nullable(),\n}).passthrough().describe(\"A single Ninox team (workspace) entry.\");\nexport const NinoxListTeamsOutput = z.object({\n teams: z.array(NinoxListTeams_TeamSchema).describe(\"List of all workspaces (teams) accessible to the authenticated user.\"),\n}).passthrough().describe(\"Response model for ListTeams: a list of team objects.\");\n\nexport const ninoxListTeams: AppAction<\n typeof NinoxListTeamsInput,\n typeof NinoxListTeamsOutput,\n typeof ninox.credential\n> = action(\"NINOX_LIST_TEAMS\", {\n slug: \"ninox-list-teams\",\n name: \"List Teams\",\n description: \"Retrieves all workspaces (teams) accessible to the authenticated user. This action lists all Ninox teams (workspaces) that the user has access to. Each team contains databases, which in turn contain tables and records. Use this action when you need to: - List all available workspaces - Find a specific workspace by name - Get workspace IDs for further operations (databases, tables, records) Note: The team_id from this response is required for most other Ninox API operations.\",\n input: NinoxListTeamsInput,\n output: NinoxListTeamsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qIAAqI;AAC9L,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkC,EAAE,OAAO,EAC3C,OAAO,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,sEAAsE,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const ninox = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { bearer_token: require("zod").z.string() };
4
+ const ninox = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "ninox",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.ninox = ninox;
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 ninox = defineApp({\n slug: \"ninox\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,SAAA,uCAAA,CAAA,CAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n bearer_token: z.string(),\n};\n\nexport const ninox: KeystrokeApp<\"ninox\", typeof credential> = defineApp({\n slug: \"ninox\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,2BAAcA,CAAAA,CAAAA,EAAE,OAAO,EACzB;AAEA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAA4D;CACvE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const ninox: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ bearer_token: z.ZodString;
7
+ };
8
+ declare const ninox: KeystrokeApp<"ninox", typeof credential>;
3
9
  //#endregion
4
10
  export { ninox };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;gBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const ninox: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ bearer_token: z.ZodString;
7
+ };
8
+ declare const ninox: KeystrokeApp<"ninox", typeof credential>;
3
9
  //#endregion
4
10
  export { ninox };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;gBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const ninox = defineApp({
4
4
  slug: "ninox",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { bearer_token: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { ninox };
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 ninox = defineApp({\n slug: \"ninox\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n bearer_token: z.string(),\n};\n\nexport const ninox: KeystrokeApp<\"ninox\", typeof credential> = defineApp({\n slug: \"ninox\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,QAAkD,UAAU;CACvE,MAAM;CACN,MAAM;CACN,cANA,cAAc,EAAE,OAAO,EAMvB;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
+ import { ninox } from "./app.cjs";
1
2
  import { ninoxDeleteRecord } from "./actions/delete-record.cjs";
2
3
  import { ninoxGetDatabases } from "./actions/get-databases.cjs";
3
4
  import { ninoxGetTeam } from "./actions/get-team.cjs";
4
5
  import { ninoxListTeams } from "./actions/list-teams.cjs";
5
- import { ninox } from "./app.cjs";
6
6
  import { ninoxCatalog } from "./catalog.cjs";
7
7
  export { ninox, ninoxCatalog, ninoxDeleteRecord, ninoxGetDatabases, ninoxGetTeam, ninoxListTeams };
package/dist/index.d.mts CHANGED
@@ -1,7 +1,7 @@
1
+ import { ninox } from "./app.mjs";
1
2
  import { ninoxDeleteRecord } from "./actions/delete-record.mjs";
2
3
  import { ninoxGetDatabases } from "./actions/get-databases.mjs";
3
4
  import { ninoxGetTeam } from "./actions/get-team.mjs";
4
5
  import { ninoxListTeams } from "./actions/list-teams.mjs";
5
- import { ninox } from "./app.mjs";
6
6
  import { ninoxCatalog } from "./catalog.mjs";
7
7
  export { ninox, ninoxCatalog, ninoxDeleteRecord, ninoxGetDatabases, ninoxGetTeam, ninoxListTeams };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/ninox",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {