@keystrokehq/ninox 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/delete-record.cjs +1 -1
- package/dist/actions/delete-record.cjs.map +1 -1
- package/dist/actions/delete-record.d.cts +1 -1
- package/dist/actions/delete-record.d.cts.map +1 -1
- package/dist/actions/delete-record.d.mts +1 -1
- package/dist/actions/delete-record.d.mts.map +1 -1
- package/dist/actions/delete-record.mjs +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 +2 -2
- package/dist/actions/get-databases.d.mts +2 -2
- package/dist/actions/get-databases.mjs +2 -2
- package/dist/actions/get-databases.mjs.map +1 -1
- package/dist/actions/get-team.cjs +1 -1
- package/dist/actions/get-team.cjs.map +1 -1
- package/dist/actions/get-team.d.cts +1 -1
- package/dist/actions/get-team.d.mts +1 -1
- package/dist/actions/get-team.mjs +1 -1
- 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 +2 -2
- package/dist/actions/list-teams.d.mts +2 -2
- package/dist/actions/list-teams.mjs +2 -2
- package/dist/actions/list-teams.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ const NinoxDeleteRecordInput = zod.z.object({
|
|
|
7
7
|
record_id: zod.z.string().describe("Record identifier to delete. Typically numeric. Obtain from GET /teams/{team_id}/databases/{database_id}/tables/{table_id}/records endpoint."),
|
|
8
8
|
database_id: zod.z.string().describe("Database identifier. Obtain from GET /teams/{team_id}/databases endpoint.")
|
|
9
9
|
});
|
|
10
|
-
const NinoxDeleteRecordOutput = zod.z.
|
|
10
|
+
const NinoxDeleteRecordOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response returned on successful deletion.");
|
|
11
11
|
const ninoxDeleteRecord = require_action.action("NINOX_DELETE_RECORD", {
|
|
12
12
|
slug: "ninox-delete-record",
|
|
13
13
|
name: "Delete Record",
|
|
@@ -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.
|
|
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"}
|
|
@@ -7,7 +7,7 @@ declare const NinoxDeleteRecordInput: z.ZodObject<{
|
|
|
7
7
|
record_id: z.ZodString;
|
|
8
8
|
database_id: z.ZodString;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
|
-
declare const NinoxDeleteRecordOutput: z.
|
|
10
|
+
declare const NinoxDeleteRecordOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11
11
|
declare const ninoxDeleteRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
team_id: string;
|
|
13
13
|
table_id: string;
|
|
@@ -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,
|
|
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"}
|
|
@@ -7,7 +7,7 @@ declare const NinoxDeleteRecordInput: z.ZodObject<{
|
|
|
7
7
|
record_id: z.ZodString;
|
|
8
8
|
database_id: z.ZodString;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
|
-
declare const NinoxDeleteRecordOutput: z.
|
|
10
|
+
declare const NinoxDeleteRecordOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11
11
|
declare const ninoxDeleteRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
team_id: string;
|
|
13
13
|
table_id: string;
|
|
@@ -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,
|
|
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"}
|
|
@@ -10,7 +10,7 @@ const ninoxDeleteRecord = action("NINOX_DELETE_RECORD", {
|
|
|
10
10
|
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."),
|
|
11
11
|
database_id: z.string().describe("Database identifier. Obtain from GET /teams/{team_id}/databases endpoint.")
|
|
12
12
|
}),
|
|
13
|
-
output: z.
|
|
13
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response returned on successful deletion.")
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
16
16
|
export { ninoxDeleteRecord };
|
|
@@ -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.
|
|
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"}
|
|
@@ -5,8 +5,8 @@ const NinoxGetDatabasesInput = zod.z.object({ team_id: zod.z.string().describe("
|
|
|
5
5
|
const NinoxGetDatabases_DatabaseSchema = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("Unique identifier of the database.").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Human-readable name of the database.").nullable()
|
|
8
|
-
}).describe("A single Ninox database entry.");
|
|
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.");
|
|
8
|
+
}).passthrough().describe("A single Ninox database entry.");
|
|
9
|
+
const NinoxGetDatabasesOutput = zod.z.object({ databases: zod.z.array(NinoxGetDatabases_DatabaseSchema).describe("List of databases within the specified team.") }).passthrough().describe("Response model for GetDatabases: a list of database objects.");
|
|
10
10
|
const ninoxGetDatabases = require_action.action("NINOX_GET_DATABASES", {
|
|
11
11
|
slug: "ninox-get-databases",
|
|
12
12
|
name: "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 = 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;
|
|
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"}
|
|
@@ -8,8 +8,8 @@ declare const NinoxGetDatabasesOutput: z.ZodObject<{
|
|
|
8
8
|
databases: z.ZodArray<z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const ninoxGetDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
team_id: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,8 +8,8 @@ declare const NinoxGetDatabasesOutput: z.ZodObject<{
|
|
|
8
8
|
databases: z.ZodArray<z.ZodObject<{
|
|
9
9
|
id: z.ZodNullable<z.ZodString>;
|
|
10
10
|
name: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const ninoxGetDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
team_id: string;
|
|
15
15
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,13 +5,13 @@ const NinoxGetDatabasesInput = z.object({ team_id: z.string().describe("The uniq
|
|
|
5
5
|
const NinoxGetDatabases_DatabaseSchema = z.object({
|
|
6
6
|
id: z.string().describe("Unique identifier of the database.").nullable(),
|
|
7
7
|
name: z.string().describe("Human-readable name of the database.").nullable()
|
|
8
|
-
}).describe("A single Ninox database entry.");
|
|
8
|
+
}).passthrough().describe("A single Ninox database entry.");
|
|
9
9
|
const ninoxGetDatabases = action("NINOX_GET_DATABASES", {
|
|
10
10
|
slug: "ninox-get-databases",
|
|
11
11
|
name: "Get Databases",
|
|
12
12
|
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.",
|
|
13
13
|
input: NinoxGetDatabasesInput,
|
|
14
|
-
output: z.object({ databases: z.array(NinoxGetDatabases_DatabaseSchema).describe("List of databases within the specified team.") }).describe("Response model for GetDatabases: a list of database objects.")
|
|
14
|
+
output: z.object({ databases: z.array(NinoxGetDatabases_DatabaseSchema).describe("List of databases within the specified team.") }).passthrough().describe("Response model for GetDatabases: a list of database objects.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ninoxGetDatabases };
|
|
@@ -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}).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;
|
|
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"}
|
|
@@ -5,7 +5,7 @@ const NinoxGetTeamInput = zod.z.object({ team_id: zod.z.string().describe("The u
|
|
|
5
5
|
const NinoxGetTeamOutput = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("Unique identifier of the workspace/team.").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Human-readable name of the workspace/team.").nullable()
|
|
8
|
-
}).describe("Response model for GetTeam action.");
|
|
8
|
+
}).passthrough().describe("Response model for GetTeam action.");
|
|
9
9
|
const ninoxGetTeam = require_action.action("NINOX_GET_TEAM", {
|
|
10
10
|
slug: "ninox-get-team",
|
|
11
11
|
name: "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 = 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;
|
|
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"}
|
|
@@ -7,7 +7,7 @@ declare const NinoxGetTeamInput: z.ZodObject<{
|
|
|
7
7
|
declare const NinoxGetTeamOutput: z.ZodObject<{
|
|
8
8
|
id: z.ZodNullable<z.ZodString>;
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const ninoxGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
team_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const NinoxGetTeamInput: z.ZodObject<{
|
|
|
7
7
|
declare const NinoxGetTeamOutput: z.ZodObject<{
|
|
8
8
|
id: z.ZodNullable<z.ZodString>;
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const ninoxGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
team_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const ninoxGetTeam = action("NINOX_GET_TEAM", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
id: z.string().describe("Unique identifier of the workspace/team.").nullable(),
|
|
10
10
|
name: z.string().describe("Human-readable name of the workspace/team.").nullable()
|
|
11
|
-
}).describe("Response model for GetTeam action.")
|
|
11
|
+
}).passthrough().describe("Response model for GetTeam action.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { ninoxGetTeam };
|
|
@@ -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}).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,
|
|
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"}
|
|
@@ -5,8 +5,8 @@ const NinoxListTeamsInput = zod.z.object({}).describe("Request model for ListTea
|
|
|
5
5
|
const NinoxListTeams_TeamSchema = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("Unique identifier of the workspace/team.").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Human-readable name of the workspace/team.").nullable()
|
|
8
|
-
}).describe("A single Ninox team (workspace) entry.");
|
|
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.");
|
|
8
|
+
}).passthrough().describe("A single Ninox team (workspace) entry.");
|
|
9
|
+
const NinoxListTeamsOutput = zod.z.object({ teams: zod.z.array(NinoxListTeams_TeamSchema).describe("List of all workspaces (teams) accessible to the authenticated user.") }).passthrough().describe("Response model for ListTeams: a list of team objects.");
|
|
10
10
|
const ninoxListTeams = require_action.action("NINOX_LIST_TEAMS", {
|
|
11
11
|
slug: "ninox-list-teams",
|
|
12
12
|
name: "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 = 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;
|
|
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"}
|
|
@@ -6,8 +6,8 @@ declare const NinoxListTeamsOutput: z.ZodObject<{
|
|
|
6
6
|
teams: z.ZodArray<z.ZodObject<{
|
|
7
7
|
id: z.ZodNullable<z.ZodString>;
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
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]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ninoxListTeams };
|
|
@@ -6,8 +6,8 @@ declare const NinoxListTeamsOutput: z.ZodObject<{
|
|
|
6
6
|
teams: z.ZodArray<z.ZodObject<{
|
|
7
7
|
id: z.ZodNullable<z.ZodString>;
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
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]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ninoxListTeams };
|
|
@@ -5,13 +5,13 @@ const NinoxListTeamsInput = z.object({}).describe("Request model for ListTeams a
|
|
|
5
5
|
const NinoxListTeams_TeamSchema = z.object({
|
|
6
6
|
id: z.string().describe("Unique identifier of the workspace/team.").nullable(),
|
|
7
7
|
name: z.string().describe("Human-readable name of the workspace/team.").nullable()
|
|
8
|
-
}).describe("A single Ninox team (workspace) entry.");
|
|
8
|
+
}).passthrough().describe("A single Ninox team (workspace) entry.");
|
|
9
9
|
const ninoxListTeams = action("NINOX_LIST_TEAMS", {
|
|
10
10
|
slug: "ninox-list-teams",
|
|
11
11
|
name: "List Teams",
|
|
12
12
|
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.",
|
|
13
13
|
input: NinoxListTeamsInput,
|
|
14
|
-
output: z.object({ teams: 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.")
|
|
14
|
+
output: z.object({ teams: z.array(NinoxListTeams_TeamSchema).describe("List of all workspaces (teams) accessible to the authenticated user.") }).passthrough().describe("Response model for ListTeams: a list of team objects.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { ninoxListTeams };
|
|
@@ -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}).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;
|
|
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"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const ninoxCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/ninox",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "bearer_token": {
|
|
12
12
|
"label": "Ninox Personal Access Token",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "The Personal Access Token used for authenticating API requests. Generate it from the Ninox web app under the 'Integrations' section."
|
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 \"credentialFields\": {\n \"
|
|
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 \"bearer_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
|
@@ -9,7 +9,7 @@ declare const ninoxCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly bearer_token: {
|
|
13
13
|
readonly label: "Ninox Personal Access Token";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The Personal Access Token used for authenticating API requests. Generate it from the Ninox web app under the 'Integrations' section.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const ninoxCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly bearer_token: {
|
|
13
13
|
readonly label: "Ninox Personal Access Token";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "The Personal Access Token used for authenticating API requests. Generate it from the Ninox web app under the 'Integrations' section.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const ninoxCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/ninox",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "bearer_token": {
|
|
12
12
|
"label": "Ninox Personal Access Token",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "The Personal Access Token used for authenticating API requests. Generate it from the Ninox web app under the 'Integrations' section."
|
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 \"credentialFields\": {\n \"
|
|
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 \"bearer_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"}
|