@keystrokehq/nethunt_crm 0.1.0 → 0.1.3
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 +3 -3
- package/dist/actions/delete-record.cjs.map +1 -1
- package/dist/actions/delete-record.d.cts +10 -3
- package/dist/actions/delete-record.d.cts.map +1 -1
- package/dist/actions/delete-record.d.mts +10 -3
- package/dist/actions/delete-record.d.mts.map +1 -1
- package/dist/actions/delete-record.mjs +3 -3
- package/dist/actions/delete-record.mjs.map +1 -1
- package/dist/actions/find-records.cjs +2 -2
- package/dist/actions/find-records.cjs.map +1 -1
- package/dist/actions/find-records.d.cts +21 -3
- package/dist/actions/find-records.d.cts.map +1 -1
- package/dist/actions/find-records.d.mts +21 -3
- package/dist/actions/find-records.d.mts.map +1 -1
- package/dist/actions/find-records.mjs +2 -2
- package/dist/actions/find-records.mjs.map +1 -1
- package/dist/actions/get-new-call-logs.cjs +2 -2
- package/dist/actions/get-new-call-logs.cjs.map +1 -1
- package/dist/actions/get-new-call-logs.d.cts +22 -3
- package/dist/actions/get-new-call-logs.d.cts.map +1 -1
- package/dist/actions/get-new-call-logs.d.mts +22 -3
- package/dist/actions/get-new-call-logs.d.mts.map +1 -1
- package/dist/actions/get-new-call-logs.mjs +2 -2
- package/dist/actions/get-new-call-logs.mjs.map +1 -1
- package/dist/actions/get-new-comments.cjs +7 -7
- package/dist/actions/get-new-comments.cjs.map +1 -1
- package/dist/actions/get-new-comments.d.cts +19 -3
- package/dist/actions/get-new-comments.d.cts.map +1 -1
- package/dist/actions/get-new-comments.d.mts +19 -3
- package/dist/actions/get-new-comments.d.mts.map +1 -1
- package/dist/actions/get-new-comments.mjs +7 -7
- package/dist/actions/get-new-comments.mjs.map +1 -1
- package/dist/actions/get-new-gdrive-files.cjs +2 -2
- package/dist/actions/get-new-gdrive-files.cjs.map +1 -1
- package/dist/actions/get-new-gdrive-files.d.cts +24 -3
- package/dist/actions/get-new-gdrive-files.d.cts.map +1 -1
- package/dist/actions/get-new-gdrive-files.d.mts +24 -3
- package/dist/actions/get-new-gdrive-files.d.mts.map +1 -1
- package/dist/actions/get-new-gdrive-files.mjs +2 -2
- package/dist/actions/get-new-gdrive-files.mjs.map +1 -1
- package/dist/actions/get-new-records.cjs +3 -3
- package/dist/actions/get-new-records.cjs.map +1 -1
- package/dist/actions/get-new-records.d.cts +18 -3
- package/dist/actions/get-new-records.d.cts.map +1 -1
- package/dist/actions/get-new-records.d.mts +18 -3
- package/dist/actions/get-new-records.d.mts.map +1 -1
- package/dist/actions/get-new-records.mjs +3 -3
- package/dist/actions/get-new-records.mjs.map +1 -1
- package/dist/actions/get-record-changes.cjs +3 -3
- package/dist/actions/get-record-changes.cjs.map +1 -1
- package/dist/actions/get-record-changes.d.cts +27 -3
- package/dist/actions/get-record-changes.d.cts.map +1 -1
- package/dist/actions/get-record-changes.d.mts +27 -3
- package/dist/actions/get-record-changes.d.mts.map +1 -1
- package/dist/actions/get-record-changes.mjs +3 -3
- package/dist/actions/get-record-changes.mjs.map +1 -1
- package/dist/actions/get-updated-records.cjs +3 -3
- package/dist/actions/get-updated-records.cjs.map +1 -1
- package/dist/actions/get-updated-records.d.cts +21 -3
- package/dist/actions/get-updated-records.d.cts.map +1 -1
- package/dist/actions/get-updated-records.d.mts +21 -3
- package/dist/actions/get-updated-records.d.mts.map +1 -1
- package/dist/actions/get-updated-records.mjs +3 -3
- package/dist/actions/get-updated-records.mjs.map +1 -1
- package/dist/actions/list-folder-fields.cjs.map +1 -1
- package/dist/actions/list-folder-fields.d.cts +7 -3
- package/dist/actions/list-folder-fields.d.cts.map +1 -1
- package/dist/actions/list-folder-fields.d.mts +7 -3
- package/dist/actions/list-folder-fields.d.mts.map +1 -1
- package/dist/actions/list-folder-fields.mjs.map +1 -1
- package/dist/actions/list-readable-folders.cjs +4 -4
- package/dist/actions/list-readable-folders.cjs.map +1 -1
- package/dist/actions/list-readable-folders.d.cts +8 -3
- package/dist/actions/list-readable-folders.d.cts.map +1 -1
- package/dist/actions/list-readable-folders.d.mts +8 -3
- package/dist/actions/list-readable-folders.d.mts.map +1 -1
- package/dist/actions/list-readable-folders.mjs +4 -4
- package/dist/actions/list-readable-folders.mjs.map +1 -1
- package/dist/actions/list-writable-folders.cjs +4 -4
- package/dist/actions/list-writable-folders.cjs.map +1 -1
- package/dist/actions/list-writable-folders.d.cts +8 -3
- package/dist/actions/list-writable-folders.d.cts.map +1 -1
- package/dist/actions/list-writable-folders.d.mts +8 -3
- package/dist/actions/list-writable-folders.d.mts.map +1 -1
- package/dist/actions/list-writable-folders.mjs +4 -4
- package/dist/actions/list-writable-folders.mjs.map +1 -1
- package/dist/actions/test-auth.cjs +4 -4
- package/dist/actions/test-auth.cjs.map +1 -1
- package/dist/actions/test-auth.d.cts +8 -3
- package/dist/actions/test-auth.d.cts.map +1 -1
- package/dist/actions/test-auth.d.mts +8 -3
- package/dist/actions/test-auth.d.mts.map +1 -1
- package/dist/actions/test-auth.mjs +4 -4
- package/dist/actions/test-auth.mjs.map +1 -1
- package/dist/catalog.cjs +13 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +12 -0
- package/dist/catalog.d.mts +12 -0
- package/dist/catalog.mjs +13 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -9,17 +9,17 @@ const NethuntCrmGetUpdatedRecordsInput = z.object({
|
|
|
9
9
|
}).describe("Request model for finding recently updated records in NetHunt CRM.");
|
|
10
10
|
const NethuntCrmGetUpdatedRecords_RecordItemSchema = z.object({
|
|
11
11
|
id: z.string().describe("For internal purposes only").nullable().optional(),
|
|
12
|
-
fields: z.
|
|
12
|
+
fields: z.record(z.string(), z.unknown()).describe("Field names and values as key-value pairs").nullable().optional(),
|
|
13
13
|
recordId: z.string().describe("Record ID").nullable().optional(),
|
|
14
14
|
createdAt: z.string().describe("Time of record creation in ISO 8601 format").nullable().optional(),
|
|
15
15
|
updatedAt: z.string().describe("Time of last record update in ISO 8601 format").nullable().optional()
|
|
16
|
-
}).describe("Individual record returned by the NetHunt CRM API.");
|
|
16
|
+
}).passthrough().describe("Individual record returned by the NetHunt CRM API.");
|
|
17
17
|
const nethuntCrmGetUpdatedRecords = action("NETHUNT_CRM_GET_UPDATED_RECORDS", {
|
|
18
18
|
slug: "nethunt_crm-get-updated-records",
|
|
19
19
|
name: "Get Updated Records",
|
|
20
20
|
description: "Tool to find recently updated records in NetHunt CRM. Returns records updated after a specified time, optionally filtered by field names. Use when you need to track changes or sync records that have been modified.",
|
|
21
21
|
input: NethuntCrmGetUpdatedRecordsInput,
|
|
22
|
-
output: z.object({ records: z.array(NethuntCrmGetUpdatedRecords_RecordItemSchema).describe("List of updated records").nullable().optional() }).describe("Response model containing a list of updated records.")
|
|
22
|
+
output: z.object({ records: z.array(NethuntCrmGetUpdatedRecords_RecordItemSchema).describe("List of updated records").nullable().optional() }).passthrough().describe("Response model containing a list of updated records.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { nethuntCrmGetUpdatedRecords };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-updated-records.mjs","names":[],"sources":["../../src/actions/get-updated-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetUpdatedRecordsInput
|
|
1
|
+
{"version":3,"file":"get-updated-records.mjs","names":[],"sources":["../../src/actions/get-updated-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetUpdatedRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only records updated after this time are returned. Default: 24 hours before time of request. Should be in ISO 8601 format.\").optional(),\n folderId: z.string().describe(\"Folder ID to find updated records in\"),\n fieldName: z.union([z.string(), z.array(z.string())]).optional(),\n}).describe(\"Request model for finding recently updated records in NetHunt CRM.\");\nconst NethuntCrmGetUpdatedRecords_RecordItemSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Field names and values as key-value pairs\").nullable().optional(),\n recordId: z.string().describe(\"Record ID\").nullable().optional(),\n createdAt: z.string().describe(\"Time of record creation in ISO 8601 format\").nullable().optional(),\n updatedAt: z.string().describe(\"Time of last record update in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Individual record returned by the NetHunt CRM API.\");\nexport const NethuntCrmGetUpdatedRecordsOutput = z.object({\n records: z.array(NethuntCrmGetUpdatedRecords_RecordItemSchema).describe(\"List of updated records\").nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of updated records.\");\n\nexport const nethuntCrmGetUpdatedRecords = action(\"NETHUNT_CRM_GET_UPDATED_RECORDS\", {\n slug: \"nethunt_crm-get-updated-records\",\n name: \"Get Updated Records\",\n description: \"Tool to find recently updated records in NetHunt CRM. Returns records updated after a specified time, optionally filtered by field names. Use when you need to track changes or sync records that have been modified.\",\n input: NethuntCrmGetUpdatedRecordsInput,\n output: NethuntCrmGetUpdatedRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAClK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACpE,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAK9E,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folder-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-folder-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListFolderFieldsInput
|
|
1
|
+
{"version":3,"file":"list-folder-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-folder-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListFolderFieldsInput = z.object({\n folderId: z.string().describe(\"Folder ID to list fields for\"),\n}).describe(\"Request model for listing folder fields in NetHunt CRM.\");\nexport const NethuntCrmListFolderFieldsOutput = z.unknown();\n\nexport const nethuntCrmListFolderFields = action(\"NETHUNT_CRM_LIST_FOLDER_FIELDS\", {\n slug: \"nethunt_crm-list-folder-fields\",\n name: \"List Folder Fields\",\n description: \"Tool to list folder fields in NetHunt CRM. Returns the field definitions for a specific folder. Use when you need to retrieve all field metadata for a given folder ID.\",\n input: NethuntCrmListFolderFieldsInput,\n output: NethuntCrmListFolderFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,EAC9D,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,mCAAmCA,IAAAA,EAAE,QAAQ;AAE1D,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-folder-fields.d.ts
|
|
4
|
-
declare const NethuntCrmListFolderFieldsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NethuntCrmListFolderFieldsInput: z.ZodObject<{
|
|
5
|
+
folderId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const NethuntCrmListFolderFieldsOutput: z.ZodUnknown;
|
|
8
|
+
declare const nethuntCrmListFolderFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
folderId: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { nethuntCrmListFolderFields };
|
|
9
13
|
//# sourceMappingURL=list-folder-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folder-fields.d.cts","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"list-folder-fields.d.cts","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,UAAc;AAAA,cAE9C,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-folder-fields.d.ts
|
|
4
|
-
declare const NethuntCrmListFolderFieldsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const NethuntCrmListFolderFieldsInput: z.ZodObject<{
|
|
5
|
+
folderId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const NethuntCrmListFolderFieldsOutput: z.ZodUnknown;
|
|
8
|
+
declare const nethuntCrmListFolderFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
folderId: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { nethuntCrmListFolderFields };
|
|
9
13
|
//# sourceMappingURL=list-folder-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folder-fields.d.mts","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"list-folder-fields.d.mts","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,UAAc;AAAA,cAE9C,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folder-fields.mjs","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListFolderFieldsInput
|
|
1
|
+
{"version":3,"file":"list-folder-fields.mjs","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListFolderFieldsInput = z.object({\n folderId: z.string().describe(\"Folder ID to list fields for\"),\n}).describe(\"Request model for listing folder fields in NetHunt CRM.\");\nexport const NethuntCrmListFolderFieldsOutput = z.unknown();\n\nexport const nethuntCrmListFolderFields = action(\"NETHUNT_CRM_LIST_FOLDER_FIELDS\", {\n slug: \"nethunt_crm-list-folder-fields\",\n name: \"List Folder Fields\",\n description: \"Tool to list folder fields in NetHunt CRM. Returns the field definitions for a specific folder. Use when you need to retrieve all field metadata for a given folder ID.\",\n input: NethuntCrmListFolderFieldsInput,\n output: NethuntCrmListFolderFieldsOutput,\n});\n"],"mappings":";;AASA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT6C,EAAE,OAAO,EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,EAC9D,CAAC,CAAC,CAAC,SAAS,yDAOH;CACP,QAP8C,EAAE,QAOxC;AACV,CAAC"}
|
|
@@ -3,10 +3,10 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-readable-folders.ts
|
|
4
4
|
const NethuntCrmListReadableFoldersInput = zod.z.object({}).describe("Request model for listing readable folders. No parameters required.");
|
|
5
5
|
const NethuntCrmListReadableFolders_FolderSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier of the folder"),
|
|
7
|
-
name: zod.z.string().describe("Display name of the folder")
|
|
8
|
-
}).describe("Represents a single folder in NetHunt CRM.");
|
|
9
|
-
const NethuntCrmListReadableFoldersOutput = zod.z.object({ folders: zod.z.array(NethuntCrmListReadableFolders_FolderSchema).describe("Array of folders the user has read access to") }).describe("Response model for listing readable folders.");
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the folder").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Display name of the folder").nullable()
|
|
8
|
+
}).passthrough().describe("Represents a single folder in NetHunt CRM.");
|
|
9
|
+
const NethuntCrmListReadableFoldersOutput = zod.z.object({ folders: zod.z.array(NethuntCrmListReadableFolders_FolderSchema).describe("Array of folders the user has read access to") }).passthrough().describe("Response model for listing readable folders.");
|
|
10
10
|
const nethuntCrmListReadableFolders = require_action.action("NETHUNT_CRM_LIST_READABLE_FOLDERS", {
|
|
11
11
|
slug: "nethunt_crm-list-readable-folders",
|
|
12
12
|
name: "List Readable Folders",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-readable-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-readable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListReadableFoldersInput
|
|
1
|
+
{"version":3,"file":"list-readable-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-readable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListReadableFoldersInput = z.object({}).describe(\"Request model for listing readable folders. No parameters required.\");\nconst NethuntCrmListReadableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).passthrough().describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListReadableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe(\"Array of folders the user has read access to\"),\n}).passthrough().describe(\"Response model for listing readable folders.\");\n\nexport const nethuntCrmListReadableFolders = action(\"NETHUNT_CRM_LIST_READABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-readable-folders\",\n name: \"List Readable Folders\",\n description: \"Tool to list all accessible folders in NetHunt CRM. Returns folders the user has read access to. Use when you need to retrieve available folders for organizing or accessing records.\",\n input: NethuntCrmListReadableFoldersInput,\n output: NethuntCrmListReadableFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8CAA8C,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,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-readable-folders.d.ts
|
|
4
|
-
declare const NethuntCrmListReadableFoldersInput: z.
|
|
5
|
-
declare const NethuntCrmListReadableFoldersOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NethuntCrmListReadableFoldersInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NethuntCrmListReadableFoldersOutput: z.ZodObject<{
|
|
6
|
+
folders: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const nethuntCrmListReadableFolders: 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 { nethuntCrmListReadableFolders };
|
|
9
14
|
//# sourceMappingURL=list-readable-folders.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-readable-folders.d.cts","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"list-readable-folders.d.cts","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,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-readable-folders.d.ts
|
|
4
|
-
declare const NethuntCrmListReadableFoldersInput: z.
|
|
5
|
-
declare const NethuntCrmListReadableFoldersOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NethuntCrmListReadableFoldersInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NethuntCrmListReadableFoldersOutput: z.ZodObject<{
|
|
6
|
+
folders: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const nethuntCrmListReadableFolders: 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 { nethuntCrmListReadableFolders };
|
|
9
14
|
//# sourceMappingURL=list-readable-folders.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-readable-folders.d.mts","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"list-readable-folders.d.mts","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,15 +3,15 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-readable-folders.ts
|
|
4
4
|
const NethuntCrmListReadableFoldersInput = z.object({}).describe("Request model for listing readable folders. No parameters required.");
|
|
5
5
|
const NethuntCrmListReadableFolders_FolderSchema = z.object({
|
|
6
|
-
id: z.string().describe("Unique identifier of the folder"),
|
|
7
|
-
name: z.string().describe("Display name of the folder")
|
|
8
|
-
}).describe("Represents a single folder in NetHunt CRM.");
|
|
6
|
+
id: z.string().describe("Unique identifier of the folder").nullable(),
|
|
7
|
+
name: z.string().describe("Display name of the folder").nullable()
|
|
8
|
+
}).passthrough().describe("Represents a single folder in NetHunt CRM.");
|
|
9
9
|
const nethuntCrmListReadableFolders = action("NETHUNT_CRM_LIST_READABLE_FOLDERS", {
|
|
10
10
|
slug: "nethunt_crm-list-readable-folders",
|
|
11
11
|
name: "List Readable Folders",
|
|
12
12
|
description: "Tool to list all accessible folders in NetHunt CRM. Returns folders the user has read access to. Use when you need to retrieve available folders for organizing or accessing records.",
|
|
13
13
|
input: NethuntCrmListReadableFoldersInput,
|
|
14
|
-
output: z.object({ folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe("Array of folders the user has read access to") }).describe("Response model for listing readable folders.")
|
|
14
|
+
output: z.object({ folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe("Array of folders the user has read access to") }).passthrough().describe("Response model for listing readable folders.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { nethuntCrmListReadableFolders };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-readable-folders.mjs","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListReadableFoldersInput
|
|
1
|
+
{"version":3,"file":"list-readable-folders.mjs","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListReadableFoldersInput = z.object({}).describe(\"Request model for listing readable folders. No parameters required.\");\nconst NethuntCrmListReadableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).passthrough().describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListReadableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe(\"Array of folders the user has read access to\"),\n}).passthrough().describe(\"Response model for listing readable folders.\");\n\nexport const nethuntCrmListReadableFolders = action(\"NETHUNT_CRM_LIST_READABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-readable-folders\",\n name: \"List Readable Folders\",\n description: \"Tool to list all accessible folders in NetHunt CRM. Returns folders the user has read access to. Use when you need to retrieve available folders for organizing or accessing records.\",\n input: NethuntCrmListReadableFoldersInput,\n output: NethuntCrmListReadableFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8CAA8C,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -3,10 +3,10 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-writable-folders.ts
|
|
4
4
|
const NethuntCrmListWritableFoldersInput = zod.z.object({}).describe("Request model for listing writable folders. No parameters required.");
|
|
5
5
|
const NethuntCrmListWritableFolders_FolderSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier of the folder"),
|
|
7
|
-
name: zod.z.string().describe("Display name of the folder")
|
|
8
|
-
}).describe("Represents a single folder in NetHunt CRM.");
|
|
9
|
-
const NethuntCrmListWritableFoldersOutput = zod.z.object({ folders: zod.z.array(NethuntCrmListWritableFolders_FolderSchema).describe("Array of folders the user has write access to") }).describe("Response model for listing writable folders.");
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the folder").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Display name of the folder").nullable()
|
|
8
|
+
}).passthrough().describe("Represents a single folder in NetHunt CRM.");
|
|
9
|
+
const NethuntCrmListWritableFoldersOutput = zod.z.object({ folders: zod.z.array(NethuntCrmListWritableFolders_FolderSchema).describe("Array of folders the user has write access to") }).passthrough().describe("Response model for listing writable folders.");
|
|
10
10
|
const nethuntCrmListWritableFolders = require_action.action("NETHUNT_CRM_LIST_WRITABLE_FOLDERS", {
|
|
11
11
|
slug: "nethunt_crm-list-writable-folders",
|
|
12
12
|
name: "List Writable Folders",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-writable-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-writable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListWritableFoldersInput
|
|
1
|
+
{"version":3,"file":"list-writable-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-writable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListWritableFoldersInput = z.object({}).describe(\"Request model for listing writable folders. No parameters required.\");\nconst NethuntCrmListWritableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).passthrough().describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListWritableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListWritableFolders_FolderSchema).describe(\"Array of folders the user has write access to\"),\n}).passthrough().describe(\"Response model for listing writable folders.\");\n\nexport const nethuntCrmListWritableFolders = action(\"NETHUNT_CRM_LIST_WRITABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-writable-folders\",\n name: \"List Writable Folders\",\n description: \"Tool to list folders the user can create records in. Returns folders the user has write access to. Use when you need to retrieve writable folders for creating new records.\",\n input: NethuntCrmListWritableFoldersInput,\n output: NethuntCrmListWritableFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+CAA+C,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,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-writable-folders.d.ts
|
|
4
|
-
declare const NethuntCrmListWritableFoldersInput: z.
|
|
5
|
-
declare const NethuntCrmListWritableFoldersOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NethuntCrmListWritableFoldersInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NethuntCrmListWritableFoldersOutput: z.ZodObject<{
|
|
6
|
+
folders: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const nethuntCrmListWritableFolders: 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 { nethuntCrmListWritableFolders };
|
|
9
14
|
//# sourceMappingURL=list-writable-folders.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-writable-folders.d.cts","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"list-writable-folders.d.cts","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,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-writable-folders.d.ts
|
|
4
|
-
declare const NethuntCrmListWritableFoldersInput: z.
|
|
5
|
-
declare const NethuntCrmListWritableFoldersOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NethuntCrmListWritableFoldersInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NethuntCrmListWritableFoldersOutput: z.ZodObject<{
|
|
6
|
+
folders: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const nethuntCrmListWritableFolders: 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 { nethuntCrmListWritableFolders };
|
|
9
14
|
//# sourceMappingURL=list-writable-folders.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-writable-folders.d.mts","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"list-writable-folders.d.mts","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,15 +3,15 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-writable-folders.ts
|
|
4
4
|
const NethuntCrmListWritableFoldersInput = z.object({}).describe("Request model for listing writable folders. No parameters required.");
|
|
5
5
|
const NethuntCrmListWritableFolders_FolderSchema = z.object({
|
|
6
|
-
id: z.string().describe("Unique identifier of the folder"),
|
|
7
|
-
name: z.string().describe("Display name of the folder")
|
|
8
|
-
}).describe("Represents a single folder in NetHunt CRM.");
|
|
6
|
+
id: z.string().describe("Unique identifier of the folder").nullable(),
|
|
7
|
+
name: z.string().describe("Display name of the folder").nullable()
|
|
8
|
+
}).passthrough().describe("Represents a single folder in NetHunt CRM.");
|
|
9
9
|
const nethuntCrmListWritableFolders = action("NETHUNT_CRM_LIST_WRITABLE_FOLDERS", {
|
|
10
10
|
slug: "nethunt_crm-list-writable-folders",
|
|
11
11
|
name: "List Writable Folders",
|
|
12
12
|
description: "Tool to list folders the user can create records in. Returns folders the user has write access to. Use when you need to retrieve writable folders for creating new records.",
|
|
13
13
|
input: NethuntCrmListWritableFoldersInput,
|
|
14
|
-
output: z.object({ folders: z.array(NethuntCrmListWritableFolders_FolderSchema).describe("Array of folders the user has write access to") }).describe("Response model for listing writable folders.")
|
|
14
|
+
output: z.object({ folders: z.array(NethuntCrmListWritableFolders_FolderSchema).describe("Array of folders the user has write access to") }).passthrough().describe("Response model for listing writable folders.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { nethuntCrmListWritableFolders };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-writable-folders.mjs","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListWritableFoldersInput
|
|
1
|
+
{"version":3,"file":"list-writable-folders.mjs","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListWritableFoldersInput = z.object({}).describe(\"Request model for listing writable folders. No parameters required.\");\nconst NethuntCrmListWritableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).passthrough().describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListWritableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListWritableFolders_FolderSchema).describe(\"Array of folders the user has write access to\"),\n}).passthrough().describe(\"Response model for listing writable folders.\");\n\nexport const nethuntCrmListWritableFolders = action(\"NETHUNT_CRM_LIST_WRITABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-writable-folders\",\n name: \"List Writable Folders\",\n description: \"Tool to list folders the user can create records in. Returns folders the user has write access to. Use when you need to retrieve writable folders for creating new records.\",\n input: NethuntCrmListWritableFoldersInput,\n output: NethuntCrmListWritableFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+CAA+C,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -3,10 +3,10 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/test-auth.ts
|
|
4
4
|
const NethuntCrmTestAuthInput = zod.z.object({}).describe("No parameters required for authentication testing.");
|
|
5
5
|
const NethuntCrmTestAuth_UserInfoSchema = zod.z.object({
|
|
6
|
-
emailAddress: zod.z.string().describe("Email address of the authenticated user"),
|
|
7
|
-
personalName: zod.z.string().describe("Name of the authenticated user")
|
|
8
|
-
});
|
|
9
|
-
const NethuntCrmTestAuthOutput = zod.z.object({ user: NethuntCrmTestAuth_UserInfoSchema.nullable() });
|
|
6
|
+
emailAddress: zod.z.string().describe("Email address of the authenticated user").nullable(),
|
|
7
|
+
personalName: zod.z.string().describe("Name of the authenticated user").nullable()
|
|
8
|
+
}).passthrough();
|
|
9
|
+
const NethuntCrmTestAuthOutput = zod.z.object({ user: NethuntCrmTestAuth_UserInfoSchema.nullable() }).passthrough();
|
|
10
10
|
const nethuntCrmTestAuth = require_action.action("NETHUNT_CRM_TEST_AUTH", {
|
|
11
11
|
slug: "nethunt_crm-test-auth",
|
|
12
12
|
name: "Test NetHunt CRM Authentication",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-auth.cjs","names":["z","action"],"sources":["../../src/actions/test-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmTestAuthInput
|
|
1
|
+
{"version":3,"file":"test-auth.cjs","names":["z","action"],"sources":["../../src/actions/test-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmTestAuthInput = z.object({}).describe(\"No parameters required for authentication testing.\");\nconst NethuntCrmTestAuth_UserInfoSchema = z.object({\n emailAddress: z.string().describe(\"Email address of the authenticated user\").nullable(),\n personalName: z.string().describe(\"Name of the authenticated user\").nullable(),\n}).passthrough();\nexport const NethuntCrmTestAuthOutput = z.object({\n user: NethuntCrmTestAuth_UserInfoSchema.nullable(),\n}).passthrough();\n\nexport const nethuntCrmTestAuth = action(\"NETHUNT_CRM_TEST_AUTH\", {\n slug: \"nethunt_crm-test-auth\",\n name: \"Test NetHunt CRM Authentication\",\n description: \"Tool to verify request credentials and test authentication. Returns information about the authenticated user including name and email. Use this action to confirm API credentials are valid before making other requests.\",\n input: NethuntCrmTestAuthInput,\n output: NethuntCrmTestAuthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACjH,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAM,kCAAkC,SAAS,EACnD,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,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/test-auth.d.ts
|
|
4
|
-
declare const NethuntCrmTestAuthInput: z.
|
|
5
|
-
declare const NethuntCrmTestAuthOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NethuntCrmTestAuthInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NethuntCrmTestAuthOutput: z.ZodObject<{
|
|
6
|
+
user: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
emailAddress: z.ZodNullable<z.ZodString>;
|
|
8
|
+
personalName: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const nethuntCrmTestAuth: 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 { nethuntCrmTestAuth };
|
|
9
14
|
//# sourceMappingURL=test-auth.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-auth.d.cts","names":[],"sources":["../../src/actions/test-auth.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"test-auth.d.cts","names":[],"sources":["../../src/actions/test-auth.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAIxB,kBAAA,gCAAkB,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/test-auth.d.ts
|
|
4
|
-
declare const NethuntCrmTestAuthInput: z.
|
|
5
|
-
declare const NethuntCrmTestAuthOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const NethuntCrmTestAuthInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const NethuntCrmTestAuthOutput: z.ZodObject<{
|
|
6
|
+
user: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
emailAddress: z.ZodNullable<z.ZodString>;
|
|
8
|
+
personalName: z.ZodNullable<z.ZodString>;
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
|
+
declare const nethuntCrmTestAuth: 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 { nethuntCrmTestAuth };
|
|
9
14
|
//# sourceMappingURL=test-auth.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-auth.d.mts","names":[],"sources":["../../src/actions/test-auth.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"test-auth.d.mts","names":[],"sources":["../../src/actions/test-auth.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,15 +3,15 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/test-auth.ts
|
|
4
4
|
const NethuntCrmTestAuthInput = z.object({}).describe("No parameters required for authentication testing.");
|
|
5
5
|
const NethuntCrmTestAuth_UserInfoSchema = z.object({
|
|
6
|
-
emailAddress: z.string().describe("Email address of the authenticated user"),
|
|
7
|
-
personalName: z.string().describe("Name of the authenticated user")
|
|
8
|
-
});
|
|
6
|
+
emailAddress: z.string().describe("Email address of the authenticated user").nullable(),
|
|
7
|
+
personalName: z.string().describe("Name of the authenticated user").nullable()
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const nethuntCrmTestAuth = action("NETHUNT_CRM_TEST_AUTH", {
|
|
10
10
|
slug: "nethunt_crm-test-auth",
|
|
11
11
|
name: "Test NetHunt CRM Authentication",
|
|
12
12
|
description: "Tool to verify request credentials and test authentication. Returns information about the authenticated user including name and email. Use this action to confirm API credentials are valid before making other requests.",
|
|
13
13
|
input: NethuntCrmTestAuthInput,
|
|
14
|
-
output: z.object({ user: NethuntCrmTestAuth_UserInfoSchema.nullable() })
|
|
14
|
+
output: z.object({ user: NethuntCrmTestAuth_UserInfoSchema.nullable() }).passthrough()
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { nethuntCrmTestAuth };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-auth.mjs","names":[],"sources":["../../src/actions/test-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmTestAuthInput
|
|
1
|
+
{"version":3,"file":"test-auth.mjs","names":[],"sources":["../../src/actions/test-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmTestAuthInput = z.object({}).describe(\"No parameters required for authentication testing.\");\nconst NethuntCrmTestAuth_UserInfoSchema = z.object({\n emailAddress: z.string().describe(\"Email address of the authenticated user\").nullable(),\n personalName: z.string().describe(\"Name of the authenticated user\").nullable(),\n}).passthrough();\nexport const NethuntCrmTestAuthOutput = z.object({\n user: NethuntCrmTestAuth_UserInfoSchema.nullable(),\n}).passthrough();\n\nexport const nethuntCrmTestAuth = action(\"NETHUNT_CRM_TEST_AUTH\", {\n slug: \"nethunt_crm-test-auth\",\n name: \"Test NetHunt CRM Authentication\",\n description: \"Tool to verify request credentials and test authentication. Returns information about the authenticated user including name and email. Use this action to confirm API credentials are valid before making other requests.\",\n input: NethuntCrmTestAuthInput,\n output: NethuntCrmTestAuthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACjH,MAAM,oCAAoC,EAAE,OAAO;CACjD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,kCAAkC,SAAS,EACnD,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -7,7 +7,19 @@ const nethuntCrmCatalog = {
|
|
|
7
7
|
"category": "CRM",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/nethunt_crm",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": {
|
|
12
|
+
"username": {
|
|
13
|
+
"label": "Email Address",
|
|
14
|
+
"description": "Your Gmail email address with NetHunt enabled"
|
|
15
|
+
},
|
|
16
|
+
"password": {
|
|
17
|
+
"label": "API Key",
|
|
18
|
+
"secret": true,
|
|
19
|
+
"description": "Your NetHunt API key. To obtain it, log into NetHunt with your Gmail account and find the API key under the NetHunt CRM tab in Settings (click on \"Generate\" if necessary)."
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"credentialScheme": "BASIC"
|
|
11
23
|
};
|
|
12
24
|
//#endregion
|
|
13
25
|
exports.nethuntCrmCatalog = nethuntCrmCatalog;
|
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 nethuntCrmCatalog = {\n \"slug\": \"nethunt_crm\",\n \"name\": \"NetHunt CRM\",\n \"description\": \"NetHunt is a Gmail CRM that brings sales automation and drip campaigns straight to your inbox\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/nethunt_crm\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,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 nethuntCrmCatalog = {\n \"slug\": \"nethunt_crm\",\n \"name\": \"NetHunt CRM\",\n \"description\": \"NetHunt is a Gmail CRM that brings sales automation and drip campaigns straight to your inbox\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/nethunt_crm\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"username\": {\n \"label\": \"Email Address\",\n \"description\": \"Your Gmail email address with NetHunt enabled\"\n },\n \"password\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your NetHunt API key. To obtain it, log into NetHunt with your Gmail account and find the API key under the NetHunt CRM tab in Settings (click on \\\"Generate\\\" if necessary).\"\n }\n },\n \"credentialScheme\": \"BASIC\"\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,YAAY;GACV,SAAS;GACT,eAAe;EACjB;EACA,YAAY;GACV,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -8,6 +8,18 @@ declare const nethuntCrmCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/nethunt_crm";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly username: {
|
|
13
|
+
readonly label: "Email Address";
|
|
14
|
+
readonly description: "Your Gmail email address with NetHunt enabled";
|
|
15
|
+
};
|
|
16
|
+
readonly password: {
|
|
17
|
+
readonly label: "API Key";
|
|
18
|
+
readonly secret: true;
|
|
19
|
+
readonly description: "Your NetHunt API key. To obtain it, log into NetHunt with your Gmail account and find the API key under the NetHunt CRM tab in Settings (click on \"Generate\" if necessary).";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
readonly credentialScheme: "BASIC";
|
|
11
23
|
};
|
|
12
24
|
//#endregion
|
|
13
25
|
export { nethuntCrmCatalog };
|
package/dist/catalog.d.mts
CHANGED
|
@@ -8,6 +8,18 @@ declare const nethuntCrmCatalog: {
|
|
|
8
8
|
readonly logo: "https://logos.composio.dev/api/nethunt_crm";
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
|
+
readonly credentialFields: {
|
|
12
|
+
readonly username: {
|
|
13
|
+
readonly label: "Email Address";
|
|
14
|
+
readonly description: "Your Gmail email address with NetHunt enabled";
|
|
15
|
+
};
|
|
16
|
+
readonly password: {
|
|
17
|
+
readonly label: "API Key";
|
|
18
|
+
readonly secret: true;
|
|
19
|
+
readonly description: "Your NetHunt API key. To obtain it, log into NetHunt with your Gmail account and find the API key under the NetHunt CRM tab in Settings (click on \"Generate\" if necessary).";
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
readonly credentialScheme: "BASIC";
|
|
11
23
|
};
|
|
12
24
|
//#endregion
|
|
13
25
|
export { nethuntCrmCatalog };
|
package/dist/catalog.mjs
CHANGED
|
@@ -7,7 +7,19 @@ const nethuntCrmCatalog = {
|
|
|
7
7
|
"category": "CRM",
|
|
8
8
|
"logo": "https://logos.composio.dev/api/nethunt_crm",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
|
-
"oauthScopes": []
|
|
10
|
+
"oauthScopes": [],
|
|
11
|
+
"credentialFields": {
|
|
12
|
+
"username": {
|
|
13
|
+
"label": "Email Address",
|
|
14
|
+
"description": "Your Gmail email address with NetHunt enabled"
|
|
15
|
+
},
|
|
16
|
+
"password": {
|
|
17
|
+
"label": "API Key",
|
|
18
|
+
"secret": true,
|
|
19
|
+
"description": "Your NetHunt API key. To obtain it, log into NetHunt with your Gmail account and find the API key under the NetHunt CRM tab in Settings (click on \"Generate\" if necessary)."
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"credentialScheme": "BASIC"
|
|
11
23
|
};
|
|
12
24
|
//#endregion
|
|
13
25
|
export { nethuntCrmCatalog };
|
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 nethuntCrmCatalog = {\n \"slug\": \"nethunt_crm\",\n \"name\": \"NetHunt CRM\",\n \"description\": \"NetHunt is a Gmail CRM that brings sales automation and drip campaigns straight to your inbox\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/nethunt_crm\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,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 nethuntCrmCatalog = {\n \"slug\": \"nethunt_crm\",\n \"name\": \"NetHunt CRM\",\n \"description\": \"NetHunt is a Gmail CRM that brings sales automation and drip campaigns straight to your inbox\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/nethunt_crm\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"username\": {\n \"label\": \"Email Address\",\n \"description\": \"Your Gmail email address with NetHunt enabled\"\n },\n \"password\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your NetHunt API key. To obtain it, log into NetHunt with your Gmail account and find the API key under the NetHunt CRM tab in Settings (click on \\\"Generate\\\" if necessary).\"\n }\n },\n \"credentialScheme\": \"BASIC\"\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;EAClB,YAAY;GACV,SAAS;GACT,eAAe;EACjB;EACA,YAAY;GACV,SAAS;GACT,UAAU;GACV,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/nethunt_crm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
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": {
|