@keystrokehq/ninox 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/delete-record.cjs.map +1 -1
- package/dist/actions/delete-record.d.cts +13 -3
- package/dist/actions/delete-record.d.cts.map +1 -1
- package/dist/actions/delete-record.d.mts +13 -3
- package/dist/actions/delete-record.d.mts.map +1 -1
- package/dist/actions/delete-record.mjs.map +1 -1
- package/dist/actions/get-databases.cjs +2 -2
- package/dist/actions/get-databases.cjs.map +1 -1
- package/dist/actions/get-databases.d.cts +12 -3
- package/dist/actions/get-databases.d.cts.map +1 -1
- package/dist/actions/get-databases.d.mts +12 -3
- package/dist/actions/get-databases.d.mts.map +1 -1
- package/dist/actions/get-databases.mjs +2 -2
- package/dist/actions/get-databases.mjs.map +1 -1
- package/dist/actions/get-team.cjs +2 -2
- package/dist/actions/get-team.cjs.map +1 -1
- package/dist/actions/get-team.d.cts +10 -3
- package/dist/actions/get-team.d.cts.map +1 -1
- package/dist/actions/get-team.d.mts +10 -3
- package/dist/actions/get-team.d.mts.map +1 -1
- package/dist/actions/get-team.mjs +2 -2
- package/dist/actions/get-team.mjs.map +1 -1
- package/dist/actions/list-teams.cjs +2 -2
- package/dist/actions/list-teams.cjs.map +1 -1
- package/dist/actions/list-teams.d.cts +8 -3
- package/dist/actions/list-teams.d.cts.map +1 -1
- package/dist/actions/list-teams.d.mts +8 -3
- package/dist/actions/list-teams.d.mts.map +1 -1
- package/dist/actions/list-teams.mjs +2 -2
- package/dist/actions/list-teams.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
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"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -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(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
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 +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
|
|
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.object({}).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,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE9G,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-record.d.ts
|
|
4
|
-
declare const NinoxDeleteRecordInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NinoxDeleteRecordInput: z.ZodObject<{
|
|
5
|
+
team_id: z.ZodString;
|
|
6
|
+
table_id: z.ZodString;
|
|
7
|
+
record_id: z.ZodString;
|
|
8
|
+
database_id: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const NinoxDeleteRecordOutput: z.ZodObject<{}, z.core.$strip>;
|
|
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]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { ninoxDeleteRecord };
|
|
9
19
|
//# 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,
|
|
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,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-record.d.ts
|
|
4
|
-
declare const NinoxDeleteRecordInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NinoxDeleteRecordInput: z.ZodObject<{
|
|
5
|
+
team_id: z.ZodString;
|
|
6
|
+
table_id: z.ZodString;
|
|
7
|
+
record_id: z.ZodString;
|
|
8
|
+
database_id: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const NinoxDeleteRecordOutput: z.ZodObject<{}, z.core.$strip>;
|
|
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]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { ninoxDeleteRecord };
|
|
9
19
|
//# 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,
|
|
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,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAEvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -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
|
|
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.object({}).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,CAAC,CAAC,CAAC,CAAC,SAAS,iDAOnD;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-databases.ts
|
|
4
4
|
const NinoxGetDatabasesInput = zod.z.object({ team_id: zod.z.string().describe("The unique identifier of the Ninox team to list databases for.") }).describe("Request model for GetDatabases action.");
|
|
5
5
|
const NinoxGetDatabases_DatabaseSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier of the database."),
|
|
7
|
-
name: zod.z.string().describe("Human-readable name of the database.")
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the database.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Human-readable name of the database.").nullable()
|
|
8
8
|
}).describe("A single Ninox database entry.");
|
|
9
9
|
const NinoxGetDatabasesOutput = zod.z.object({ databases: zod.z.array(NinoxGetDatabases_DatabaseSchema).describe("List of databases within the specified team.") }).describe("Response model for GetDatabases: a list of database objects.");
|
|
10
10
|
const ninoxGetDatabases = require_action.action("NINOX_GET_DATABASES", {
|
|
@@ -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
|
|
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}).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}).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,SAAS,gCAAgC;AAC5C,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,WAAWA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8CAA8C,EAC9G,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-databases.d.ts
|
|
4
|
-
declare const NinoxGetDatabasesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NinoxGetDatabasesInput: z.ZodObject<{
|
|
5
|
+
team_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const NinoxGetDatabasesOutput: z.ZodObject<{
|
|
8
|
+
databases: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
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]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { ninoxGetDatabases };
|
|
9
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,
|
|
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,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-databases.d.ts
|
|
4
|
-
declare const NinoxGetDatabasesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NinoxGetDatabasesInput: z.ZodObject<{
|
|
5
|
+
team_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const NinoxGetDatabasesOutput: z.ZodObject<{
|
|
8
|
+
databases: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
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]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { ninoxGetDatabases };
|
|
9
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,
|
|
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"}
|
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-databases.ts
|
|
4
4
|
const NinoxGetDatabasesInput = z.object({ team_id: z.string().describe("The unique identifier of the Ninox team to list databases for.") }).describe("Request model for GetDatabases action.");
|
|
5
5
|
const NinoxGetDatabases_DatabaseSchema = z.object({
|
|
6
|
-
id: z.string().describe("Unique identifier of the database."),
|
|
7
|
-
name: z.string().describe("Human-readable name of the database.")
|
|
6
|
+
id: z.string().describe("Unique identifier of the database.").nullable(),
|
|
7
|
+
name: z.string().describe("Human-readable name of the database.").nullable()
|
|
8
8
|
}).describe("A single Ninox database entry.");
|
|
9
9
|
const ninoxGetDatabases = action("NINOX_GET_DATABASES", {
|
|
10
10
|
slug: "ninox-get-databases",
|
|
@@ -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
|
|
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}).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}).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,SAAS,gCAAgC;AAK5C,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,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-team.ts
|
|
4
4
|
const NinoxGetTeamInput = zod.z.object({ team_id: zod.z.string().describe("The unique identifier of the Ninox team/workspace to retrieve.") }).describe("Request model for GetTeam action.");
|
|
5
5
|
const NinoxGetTeamOutput = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier of the workspace/team."),
|
|
7
|
-
name: zod.z.string().describe("Human-readable name of the workspace/team.")
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the workspace/team.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Human-readable name of the workspace/team.").nullable()
|
|
8
8
|
}).describe("Response model for GetTeam action.");
|
|
9
9
|
const ninoxGetTeam = require_action.action("NINOX_GET_TEAM", {
|
|
10
10
|
slug: "ninox-get-team",
|
|
@@ -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
|
|
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}).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,SAAS,oCAAoC;AAEhD,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-team.d.ts
|
|
4
|
-
declare const NinoxGetTeamInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NinoxGetTeamInput: z.ZodObject<{
|
|
5
|
+
team_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const NinoxGetTeamOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
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]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { ninoxGetTeam };
|
|
9
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,
|
|
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,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-team.d.ts
|
|
4
|
-
declare const NinoxGetTeamInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NinoxGetTeamInput: z.ZodObject<{
|
|
5
|
+
team_id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const NinoxGetTeamOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
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]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { ninoxGetTeam };
|
|
9
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,
|
|
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"}
|
|
@@ -6,8 +6,8 @@ const ninoxGetTeam = action("NINOX_GET_TEAM", {
|
|
|
6
6
|
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.",
|
|
7
7
|
input: z.object({ team_id: z.string().describe("The unique identifier of the Ninox team/workspace to retrieve.") }).describe("Request model for GetTeam action."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.string().describe("Unique identifier of the workspace/team."),
|
|
10
|
-
name: z.string().describe("Human-readable name of the workspace/team.")
|
|
9
|
+
id: z.string().describe("Unique identifier of the workspace/team.").nullable(),
|
|
10
|
+
name: z.string().describe("Human-readable name of the workspace/team.").nullable()
|
|
11
11
|
}).describe("Response model for GetTeam action.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
@@ -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
|
|
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}).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,SAAS,oCAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-teams.ts
|
|
4
4
|
const NinoxListTeamsInput = zod.z.object({}).describe("Request model for ListTeams action.\nThis action requires no parameters as it lists all teams accessible to the authenticated user.");
|
|
5
5
|
const NinoxListTeams_TeamSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier of the workspace/team."),
|
|
7
|
-
name: zod.z.string().describe("Human-readable name of the workspace/team.")
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the workspace/team.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Human-readable name of the workspace/team.").nullable()
|
|
8
8
|
}).describe("A single Ninox team (workspace) entry.");
|
|
9
9
|
const NinoxListTeamsOutput = zod.z.object({ teams: zod.z.array(NinoxListTeams_TeamSchema).describe("List of all workspaces (teams) accessible to the authenticated user.") }).describe("Response model for ListTeams: a list of team objects.");
|
|
10
10
|
const ninoxListTeams = require_action.action("NINOX_LIST_TEAMS", {
|
|
@@ -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
|
|
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}).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}).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,SAAS,wCAAwC;AACpD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,OAAOA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,sEAAsE,EAC3H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-teams.d.ts
|
|
4
|
-
declare const NinoxListTeamsInput: z.
|
|
5
|
-
declare const NinoxListTeamsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NinoxListTeamsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NinoxListTeamsOutput: z.ZodObject<{
|
|
6
|
+
teams: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
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]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { ninoxListTeams };
|
|
9
14
|
//# 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,
|
|
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,9 +1,14 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-teams.d.ts
|
|
4
|
-
declare const NinoxListTeamsInput: z.
|
|
5
|
-
declare const NinoxListTeamsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NinoxListTeamsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NinoxListTeamsOutput: z.ZodObject<{
|
|
6
|
+
teams: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
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]>;
|
|
7
12
|
//#endregion
|
|
8
13
|
export { ninoxListTeams };
|
|
9
14
|
//# 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,
|
|
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"}
|
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-teams.ts
|
|
4
4
|
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.");
|
|
5
5
|
const NinoxListTeams_TeamSchema = z.object({
|
|
6
|
-
id: z.string().describe("Unique identifier of the workspace/team."),
|
|
7
|
-
name: z.string().describe("Human-readable name of the workspace/team.")
|
|
6
|
+
id: z.string().describe("Unique identifier of the workspace/team.").nullable(),
|
|
7
|
+
name: z.string().describe("Human-readable name of the workspace/team.").nullable()
|
|
8
8
|
}).describe("A single Ninox team (workspace) entry.");
|
|
9
9
|
const ninoxListTeams = action("NINOX_LIST_TEAMS", {
|
|
10
10
|
slug: "ninox-list-teams",
|
|
@@ -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
|
|
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}).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}).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,SAAS,wCAAwC;AAKpD,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,SAAS,uDAOF;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,13 @@ const ninoxCatalog = {
|
|
|
7
7
|
"category": "Databases",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/ninox",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "access_token": {
|
|
12
|
+
"label": "Ninox Personal Access Token",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "The Personal Access Token used for authenticating API requests. Generate it from the Ninox web app under the 'Integrations' section."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
exports.ninoxCatalog = ninoxCatalog;
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ninoxCatalog = {\n \"slug\": \"ninox\",\n \"name\": \"Ninox\",\n \"description\": \"Ninox is a low-code platform that enables users to create custom database applications tailored to their specific needs.\",\n \"category\": \"Databases\",\n \"logo\": \"https://logos.composio.dev/api/ninox\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ninoxCatalog = {\n \"slug\": \"ninox\",\n \"name\": \"Ninox\",\n \"description\": \"Ninox is a low-code platform that enables users to create custom database applications tailored to their specific needs.\",\n \"category\": \"Databases\",\n \"logo\": \"https://logos.composio.dev/api/ninox\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"access_token\": {\n \"label\": \"Ninox Personal Access Token\",\n \"secret\": true,\n \"description\": \"The Personal Access Token used for authenticating API requests. Generate it from the Ninox web app under the 'Integrations' section.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,gBAAgB;EACd,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,14 @@ declare const ninoxCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/ninox";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly access_token: {
|
|
13
|
+
readonly label: "Ninox Personal Access Token";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "The Personal Access Token used for authenticating API requests. Generate it from the Ninox web app under the 'Integrations' section.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { ninoxCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,14 @@ declare const ninoxCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/ninox";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly access_token: {
|
|
13
|
+
readonly label: "Ninox Personal Access Token";
|
|
14
|
+
readonly secret: true;
|
|
15
|
+
readonly description: "The Personal Access Token used for authenticating API requests. Generate it from the Ninox web app under the 'Integrations' section.";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
readonly credentialScheme: "API_KEY";
|
|
11
19
|
};
|
|
12
20
|
//#endregion
|
|
13
21
|
export { ninoxCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,13 @@ const ninoxCatalog = {
|
|
|
7
7
|
"category": "Databases",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/ninox",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": { "access_token": {
|
|
12
|
+
"label": "Ninox Personal Access Token",
|
|
13
|
+
"secret": true,
|
|
14
|
+
"description": "The Personal Access Token used for authenticating API requests. Generate it from the Ninox web app under the 'Integrations' section."
|
|
15
|
+
} },
|
|
16
|
+
"credentialScheme": "API_KEY"
|
|
11
17
|
};
|
|
12
18
|
//#endregion
|
|
13
19
|
export { ninoxCatalog };
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ninoxCatalog = {\n \"slug\": \"ninox\",\n \"name\": \"Ninox\",\n \"description\": \"Ninox is a low-code platform that enables users to create custom database applications tailored to their specific needs.\",\n \"category\": \"Databases\",\n \"logo\": \"https://logos.composio.dev/api/ninox\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const ninoxCatalog = {\n \"slug\": \"ninox\",\n \"name\": \"Ninox\",\n \"description\": \"Ninox is a low-code platform that enables users to create custom database applications tailored to their specific needs.\",\n \"category\": \"Databases\",\n \"logo\": \"https://logos.composio.dev/api/ninox\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"access_token\": {\n \"label\": \"Ninox Personal Access Token\",\n \"secret\": true,\n \"description\": \"The Personal Access Token used for authenticating API requests. Generate it from the Ninox web app under the 'Integrations' section.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,eAAe;CAC1B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,gBAAgB;EACd,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/ninox",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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": "
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.4",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|