@keystrokehq/nethunt_crm 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/delete-record.cjs +19 -0
- package/dist/actions/delete-record.cjs.map +1 -0
- package/dist/actions/delete-record.d.cts +9 -0
- package/dist/actions/delete-record.d.cts.map +1 -0
- package/dist/actions/delete-record.d.mts +9 -0
- package/dist/actions/delete-record.d.mts.map +1 -0
- package/dist/actions/delete-record.mjs +16 -0
- package/dist/actions/delete-record.mjs.map +1 -0
- package/dist/actions/find-records.cjs +28 -0
- package/dist/actions/find-records.cjs.map +1 -0
- package/dist/actions/find-records.d.cts +9 -0
- package/dist/actions/find-records.d.cts.map +1 -0
- package/dist/actions/find-records.d.mts +9 -0
- package/dist/actions/find-records.d.mts.map +1 -0
- package/dist/actions/find-records.mjs +27 -0
- package/dist/actions/find-records.mjs.map +1 -0
- package/dist/actions/get-new-call-logs.cjs +30 -0
- package/dist/actions/get-new-call-logs.cjs.map +1 -0
- package/dist/actions/get-new-call-logs.d.cts +9 -0
- package/dist/actions/get-new-call-logs.d.cts.map +1 -0
- package/dist/actions/get-new-call-logs.d.mts +9 -0
- package/dist/actions/get-new-call-logs.d.mts.map +1 -0
- package/dist/actions/get-new-call-logs.mjs +29 -0
- package/dist/actions/get-new-call-logs.mjs.map +1 -0
- package/dist/actions/get-new-comments.cjs +27 -0
- package/dist/actions/get-new-comments.cjs.map +1 -0
- package/dist/actions/get-new-comments.d.cts +9 -0
- package/dist/actions/get-new-comments.d.cts.map +1 -0
- package/dist/actions/get-new-comments.d.mts +9 -0
- package/dist/actions/get-new-comments.d.mts.map +1 -0
- package/dist/actions/get-new-comments.mjs +26 -0
- package/dist/actions/get-new-comments.mjs.map +1 -0
- package/dist/actions/get-new-gdrive-files.cjs +32 -0
- package/dist/actions/get-new-gdrive-files.cjs.map +1 -0
- package/dist/actions/get-new-gdrive-files.d.cts +9 -0
- package/dist/actions/get-new-gdrive-files.d.cts.map +1 -0
- package/dist/actions/get-new-gdrive-files.d.mts +9 -0
- package/dist/actions/get-new-gdrive-files.d.mts.map +1 -0
- package/dist/actions/get-new-gdrive-files.mjs +31 -0
- package/dist/actions/get-new-gdrive-files.mjs.map +1 -0
- package/dist/actions/get-new-records.cjs +26 -0
- package/dist/actions/get-new-records.cjs.map +1 -0
- package/dist/actions/get-new-records.d.cts +9 -0
- package/dist/actions/get-new-records.d.cts.map +1 -0
- package/dist/actions/get-new-records.d.mts +9 -0
- package/dist/actions/get-new-records.d.mts.map +1 -0
- package/dist/actions/get-new-records.mjs +25 -0
- package/dist/actions/get-new-records.mjs.map +1 -0
- package/dist/actions/get-record-changes.cjs +34 -0
- package/dist/actions/get-record-changes.cjs.map +1 -0
- package/dist/actions/get-record-changes.d.cts +9 -0
- package/dist/actions/get-record-changes.d.cts.map +1 -0
- package/dist/actions/get-record-changes.d.mts +9 -0
- package/dist/actions/get-record-changes.d.mts.map +1 -0
- package/dist/actions/get-record-changes.mjs +33 -0
- package/dist/actions/get-record-changes.mjs.map +1 -0
- package/dist/actions/get-updated-records.cjs +28 -0
- package/dist/actions/get-updated-records.cjs.map +1 -0
- package/dist/actions/get-updated-records.d.cts +9 -0
- package/dist/actions/get-updated-records.d.cts.map +1 -0
- package/dist/actions/get-updated-records.d.mts +9 -0
- package/dist/actions/get-updated-records.d.mts.map +1 -0
- package/dist/actions/get-updated-records.mjs +27 -0
- package/dist/actions/get-updated-records.mjs.map +1 -0
- package/dist/actions/index.cjs +25 -0
- package/dist/actions/index.d.cts +13 -0
- package/dist/actions/index.d.mts +13 -0
- package/dist/actions/index.mjs +13 -0
- package/dist/actions/list-folder-fields.cjs +16 -0
- package/dist/actions/list-folder-fields.cjs.map +1 -0
- package/dist/actions/list-folder-fields.d.cts +9 -0
- package/dist/actions/list-folder-fields.d.cts.map +1 -0
- package/dist/actions/list-folder-fields.d.mts +9 -0
- package/dist/actions/list-folder-fields.d.mts.map +1 -0
- package/dist/actions/list-folder-fields.mjs +13 -0
- package/dist/actions/list-folder-fields.mjs.map +1 -0
- package/dist/actions/list-readable-folders.cjs +20 -0
- package/dist/actions/list-readable-folders.cjs.map +1 -0
- package/dist/actions/list-readable-folders.d.cts +9 -0
- package/dist/actions/list-readable-folders.d.cts.map +1 -0
- package/dist/actions/list-readable-folders.d.mts +9 -0
- package/dist/actions/list-readable-folders.d.mts.map +1 -0
- package/dist/actions/list-readable-folders.mjs +19 -0
- package/dist/actions/list-readable-folders.mjs.map +1 -0
- package/dist/actions/list-writable-folders.cjs +20 -0
- package/dist/actions/list-writable-folders.cjs.map +1 -0
- package/dist/actions/list-writable-folders.d.cts +9 -0
- package/dist/actions/list-writable-folders.d.cts.map +1 -0
- package/dist/actions/list-writable-folders.d.mts +9 -0
- package/dist/actions/list-writable-folders.d.mts.map +1 -0
- package/dist/actions/list-writable-folders.mjs +19 -0
- package/dist/actions/list-writable-folders.mjs.map +1 -0
- package/dist/actions/test-auth.cjs +20 -0
- package/dist/actions/test-auth.cjs.map +1 -0
- package/dist/actions/test-auth.d.cts +9 -0
- package/dist/actions/test-auth.d.cts.map +1 -0
- package/dist/actions/test-auth.d.mts +9 -0
- package/dist/actions/test-auth.d.mts.map +1 -0
- package/dist/actions/test-auth.mjs +19 -0
- package/dist/actions/test-auth.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +30 -0
- package/dist/index.d.cts +15 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.mjs +16 -0
- package/package.json +49 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-new-gdrive-files.mjs","names":[],"sources":["../../src/actions/get-new-gdrive-files.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewGdriveFilesInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of Google Drive files to return. Default: No limit. Use this to control pagination and response size.\").optional(),\n since: z.string().describe(\"Only Google Drive files created after this time are returned. Expected format: ISO 8601 date-time string. Default: 24 hours before time of request.\").optional(),\n folderId: z.string().describe(\"Folder ID to find new Google Drive files in. This is the NetHunt CRM folder identifier where files are tracked.\"),\n}).describe(\"Request model for getting new Google Drive files.\");\nconst NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"For internal use only. Internal identifier for the file record.\").nullable().optional(),\n url: z.string().describe(\"URL to view the file in Google Drive. Direct link to access the file.\").nullable().optional(),\n name: z.string().describe(\"File name as stored in Google Drive.\").nullable().optional(),\n fileId: z.string().describe(\"File ID in the NetHunt CRM system.\").nullable().optional(),\n iconUrl: z.string().describe(\"File icon URL pointing to the visual representation of the file type.\").nullable().optional(),\n folderId: z.string().describe(\"Folder ID where the file is located.\").nullable().optional(),\n mimeType: z.string().describe(\"File MIME type indicating the file format (e.g., 'application/pdf', 'image/jpeg').\").nullable().optional(),\n recordId: z.string().describe(\"Record ID that the file is linked to in NetHunt CRM.\").nullable().optional(),\n createdAt: z.string().describe(\"Time Google Drive file was created. ISO 8601 date-time format.\").nullable().optional(),\n googleDriveFileId: z.string().describe(\"File ID in Google Drive. Use this to access the file directly in Google Drive.\").nullable().optional(),\n}).describe(\"Model for a single Google Drive file item.\");\nexport const NethuntCrmGetNewGdriveFilesOutput: z.ZodTypeAny = z.object({\n files: z.array(NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema).describe(\"Array of Google Drive file objects created after the specified time. Each object contains file metadata and links to both NetHunt CRM records and Google Drive.\"),\n}).describe(\"Response model for getting new Google Drive files.\");\n\nexport const nethuntCrmGetNewGdriveFiles = action(\"NETHUNT_CRM_GET_NEW_GDRIVE_FILES\", {\n slug: \"nethunt_crm-get-new-gdrive-files\",\n name: \"Get New Google Drive Files\",\n description: \"Tool to find recently created Google Drive files linked to NetHunt CRM records. Use when you need to retrieve files created after a specific time in a NetHunt folder. Returns file metadata including Google Drive links, MIME types, and associated record IDs. Useful for tracking new document uploads and file attachments.\",\n input: NethuntCrmGetNewGdriveFilesInput,\n output: NethuntCrmGetNewGdriveFilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAClK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CAC3L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACjJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iKAAiK,EAC7O,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-new-records.ts
|
|
4
|
+
const NethuntCrmGetNewRecordsInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().describe("Maximum number of records to return. If not specified, no limit is applied.").optional(),
|
|
6
|
+
since: zod.z.string().describe("Only records created after this time are returned. If not specified, defaults to 24 hours before time of request. Format: ISO 8601 datetime string.").optional(),
|
|
7
|
+
folderId: zod.z.string().describe("Folder ID to find new records in. This is the unique identifier of the folder containing the records.")
|
|
8
|
+
}).describe("Request model for getting new records.");
|
|
9
|
+
const NethuntCrmGetNewRecords_RecordSchema = zod.z.object({
|
|
10
|
+
id: zod.z.string().describe("For internal purposes only").nullable().optional(),
|
|
11
|
+
fields: zod.z.object({}).describe("Field names and values. The structure varies based on folder configuration.").nullable().optional(),
|
|
12
|
+
recordId: zod.z.string().describe("Record ID").nullable().optional(),
|
|
13
|
+
createdAt: zod.z.string().describe("Time of record creation in ISO 8601 format").nullable().optional()
|
|
14
|
+
}).describe("Model for a single record.");
|
|
15
|
+
const NethuntCrmGetNewRecordsOutput = zod.z.object({ records: zod.z.array(NethuntCrmGetNewRecords_RecordSchema).describe("List of recently created records from the specified folder").nullable().optional() }).describe("Response model for getting new records.");
|
|
16
|
+
const nethuntCrmGetNewRecords = require_action.action("NETHUNT_CRM_GET_NEW_RECORDS", {
|
|
17
|
+
slug: "nethunt_crm-get-new-records",
|
|
18
|
+
name: "Get New Records",
|
|
19
|
+
description: "Tool to find recently created records in NetHunt CRM. Use when you need to retrieve records that were created after a specific time in a given folder. Returns record details including ID, creation time, and field values. If no 'since' time is specified, returns records from the last 24 hours.",
|
|
20
|
+
input: NethuntCrmGetNewRecordsInput,
|
|
21
|
+
output: NethuntCrmGetNewRecordsOutput
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.nethuntCrmGetNewRecords = nethuntCrmGetNewRecords;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=get-new-records.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-new-records.cjs","names":["z","action"],"sources":["../../src/actions/get-new-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewRecordsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. If not specified, no limit is applied.\").optional(),\n since: z.string().describe(\"Only records created after this time are returned. If not specified, defaults to 24 hours before time of request. Format: ISO 8601 datetime string.\").optional(),\n folderId: z.string().describe(\"Folder ID to find new records in. This is the unique identifier of the folder containing the records.\"),\n}).describe(\"Request model for getting new records.\");\nconst NethuntCrmGetNewRecords_RecordSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.object({}).describe(\"Field names and values. The structure varies based on folder configuration.\").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}).describe(\"Model for a single record.\");\nexport const NethuntCrmGetNewRecordsOutput: z.ZodTypeAny = z.object({\n records: z.array(NethuntCrmGetNewRecords_RecordSchema).describe(\"List of recently created records from the specified folder\").nullable().optional(),\n}).describe(\"Response model for getting new records.\");\n\nexport const nethuntCrmGetNewRecords = action(\"NETHUNT_CRM_GET_NEW_RECORDS\", {\n slug: \"nethunt_crm-get-new-records\",\n name: \"Get New Records\",\n description: \"Tool to find recently created records in NetHunt CRM. Use when you need to retrieve records that were created after a specific time in a given folder. Returns record details including ID, creation time, and field values. If no 'since' time is specified, returns records from the last 24 hours.\",\n input: NethuntCrmGetNewRecordsInput,\n output: NethuntCrmGetNewRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACzH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CAC3L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;AACvI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,SAASA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-new-records.d.ts
|
|
4
|
+
declare const NethuntCrmGetNewRecordsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NethuntCrmGetNewRecordsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nethuntCrmGetNewRecords: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nethuntCrmGetNewRecords };
|
|
9
|
+
//# sourceMappingURL=get-new-records.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-new-records.d.cts","names":[],"sources":["../../src/actions/get-new-records.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAIQ;AAAA,cAOxC,6BAAA,EAA+B,CAAA,CAAE,UAEQ;AAAA,cAEzC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-new-records.d.ts
|
|
4
|
+
declare const NethuntCrmGetNewRecordsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NethuntCrmGetNewRecordsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nethuntCrmGetNewRecords: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nethuntCrmGetNewRecords };
|
|
9
|
+
//# sourceMappingURL=get-new-records.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-new-records.d.mts","names":[],"sources":["../../src/actions/get-new-records.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAIQ;AAAA,cAOxC,6BAAA,EAA+B,CAAA,CAAE,UAEQ;AAAA,cAEzC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-new-records.ts
|
|
4
|
+
const NethuntCrmGetNewRecordsInput = z.object({
|
|
5
|
+
limit: z.number().int().describe("Maximum number of records to return. If not specified, no limit is applied.").optional(),
|
|
6
|
+
since: z.string().describe("Only records created after this time are returned. If not specified, defaults to 24 hours before time of request. Format: ISO 8601 datetime string.").optional(),
|
|
7
|
+
folderId: z.string().describe("Folder ID to find new records in. This is the unique identifier of the folder containing the records.")
|
|
8
|
+
}).describe("Request model for getting new records.");
|
|
9
|
+
const NethuntCrmGetNewRecords_RecordSchema = z.object({
|
|
10
|
+
id: z.string().describe("For internal purposes only").nullable().optional(),
|
|
11
|
+
fields: z.object({}).describe("Field names and values. The structure varies based on folder configuration.").nullable().optional(),
|
|
12
|
+
recordId: z.string().describe("Record ID").nullable().optional(),
|
|
13
|
+
createdAt: z.string().describe("Time of record creation in ISO 8601 format").nullable().optional()
|
|
14
|
+
}).describe("Model for a single record.");
|
|
15
|
+
const nethuntCrmGetNewRecords = action("NETHUNT_CRM_GET_NEW_RECORDS", {
|
|
16
|
+
slug: "nethunt_crm-get-new-records",
|
|
17
|
+
name: "Get New Records",
|
|
18
|
+
description: "Tool to find recently created records in NetHunt CRM. Use when you need to retrieve records that were created after a specific time in a given folder. Returns record details including ID, creation time, and field values. If no 'since' time is specified, returns records from the last 24 hours.",
|
|
19
|
+
input: NethuntCrmGetNewRecordsInput,
|
|
20
|
+
output: z.object({ records: z.array(NethuntCrmGetNewRecords_RecordSchema).describe("List of recently created records from the specified folder").nullable().optional() }).describe("Response model for getting new records.")
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { nethuntCrmGetNewRecords };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=get-new-records.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-new-records.mjs","names":[],"sources":["../../src/actions/get-new-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewRecordsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. If not specified, no limit is applied.\").optional(),\n since: z.string().describe(\"Only records created after this time are returned. If not specified, defaults to 24 hours before time of request. Format: ISO 8601 datetime string.\").optional(),\n folderId: z.string().describe(\"Folder ID to find new records in. This is the unique identifier of the folder containing the records.\"),\n}).describe(\"Request model for getting new records.\");\nconst NethuntCrmGetNewRecords_RecordSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.object({}).describe(\"Field names and values. The structure varies based on folder configuration.\").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}).describe(\"Model for a single record.\");\nexport const NethuntCrmGetNewRecordsOutput: z.ZodTypeAny = z.object({\n records: z.array(NethuntCrmGetNewRecords_RecordSchema).describe(\"List of recently created records from the specified folder\").nullable().optional(),\n}).describe(\"Response model for getting new records.\");\n\nexport const nethuntCrmGetNewRecords = action(\"NETHUNT_CRM_GET_NEW_RECORDS\", {\n slug: \"nethunt_crm-get-new-records\",\n name: \"Get New Records\",\n description: \"Tool to find recently created records in NetHunt CRM. Use when you need to retrieve records that were created after a specific time in a given folder. Returns record details including ID, creation time, and field values. If no 'since' time is specified, returns records from the last 24 hours.\",\n input: NethuntCrmGetNewRecordsInput,\n output: NethuntCrmGetNewRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACzH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CAC3L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;AACvI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,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;AACnG,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAKxC,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyD,EAAE,OAAO,EAClE,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-record-changes.ts
|
|
4
|
+
const NethuntCrmGetRecordChangesInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().describe("Maximum number of changes to return. Default: No limit").optional(),
|
|
6
|
+
since: zod.z.string().describe("Only changes made after this time are returned (ISO8601 format). Default: 24 hours before time of request").optional(),
|
|
7
|
+
folderId: zod.z.string().describe("Folder ID to retrieve record changes from"),
|
|
8
|
+
recordId: zod.z.string().describe("Record ID to look for single record changes. If missing, changes for all folder records are returned").optional(),
|
|
9
|
+
fieldName: zod.z.array(zod.z.string()).describe("Field name(s) to limit changes observed. Multiple field names can be provided to filter changes to specific fields").optional()
|
|
10
|
+
}).describe("Parameters for retrieving record change history.");
|
|
11
|
+
const NethuntCrmGetRecordChanges_UserSchema = zod.z.object({
|
|
12
|
+
emailAddress: zod.z.string().describe("Email address of the user").nullable().optional(),
|
|
13
|
+
personalName: zod.z.string().describe("Name of the user").nullable().optional()
|
|
14
|
+
}).describe("User who made the change");
|
|
15
|
+
const NethuntCrmGetRecordChanges_RecordChangeSchema = zod.z.object({
|
|
16
|
+
id: zod.z.string().describe("Internal identifier for the change event").nullable().optional(),
|
|
17
|
+
time: zod.z.string().describe("Timestamp when the change occurred (ISO8601 format)").nullable().optional(),
|
|
18
|
+
user: NethuntCrmGetRecordChanges_UserSchema.nullable().optional(),
|
|
19
|
+
recordId: zod.z.string().describe("ID of the record that changed").nullable().optional(),
|
|
20
|
+
fieldActions: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Names of record fields along with actual changes made to them").nullable().optional(),
|
|
21
|
+
recordAction: zod.z.string().describe("Type of action performed on the record: CREATE, UPDATE, or DELETE").nullable().optional()
|
|
22
|
+
}).describe("Represents a single record change event");
|
|
23
|
+
const NethuntCrmGetRecordChangesOutput = zod.z.object({ changes: zod.z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe("List of record changes in chronological order") }).describe("Response containing list of record changes");
|
|
24
|
+
const nethuntCrmGetRecordChanges = require_action.action("NETHUNT_CRM_GET_RECORD_CHANGES", {
|
|
25
|
+
slug: "nethunt_crm-get-record-changes",
|
|
26
|
+
name: "Get Record Changes",
|
|
27
|
+
description: "Tool to find recent record changes in a NetHunt CRM folder. Returns change history including CREATE, UPDATE, DELETE actions with field-level diffs. Use when you need to track modifications to records, audit changes, or sync data based on recent updates.",
|
|
28
|
+
input: NethuntCrmGetRecordChangesInput,
|
|
29
|
+
output: NethuntCrmGetRecordChangesOutput
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.nethuntCrmGetRecordChanges = nethuntCrmGetRecordChanges;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=get-record-changes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-record-changes.cjs","names":["z","action"],"sources":["../../src/actions/get-record-changes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetRecordChangesInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of changes to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only changes made after this time are returned (ISO8601 format). Default: 24 hours before time of request\").optional(),\n folderId: z.string().describe(\"Folder ID to retrieve record changes from\"),\n recordId: z.string().describe(\"Record ID to look for single record changes. If missing, changes for all folder records are returned\").optional(),\n fieldName: z.array(z.string()).describe(\"Field name(s) to limit changes observed. Multiple field names can be provided to filter changes to specific fields\").optional(),\n}).describe(\"Parameters for retrieving record change history.\");\nconst NethuntCrmGetRecordChanges_UserSchema: z.ZodTypeAny = z.object({\n emailAddress: z.string().describe(\"Email address of the user\").nullable().optional(),\n personalName: z.string().describe(\"Name of the user\").nullable().optional(),\n}).describe(\"User who made the change\");\nconst NethuntCrmGetRecordChanges_RecordChangeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Internal identifier for the change event\").nullable().optional(),\n time: z.string().describe(\"Timestamp when the change occurred (ISO8601 format)\").nullable().optional(),\n user: NethuntCrmGetRecordChanges_UserSchema.nullable().optional(),\n recordId: z.string().describe(\"ID of the record that changed\").nullable().optional(),\n fieldActions: z.record(z.string(), z.unknown()).describe(\"Names of record fields along with actual changes made to them\").nullable().optional(),\n recordAction: z.string().describe(\"Type of action performed on the record: CREATE, UPDATE, or DELETE\").nullable().optional(),\n}).describe(\"Represents a single record change event\");\nexport const NethuntCrmGetRecordChangesOutput: z.ZodTypeAny = z.object({\n changes: z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe(\"List of record changes in chronological order\"),\n}).describe(\"Response containing list of record changes\");\n\nexport const nethuntCrmGetRecordChanges = action(\"NETHUNT_CRM_GET_RECORD_CHANGES\", {\n slug: \"nethunt_crm-get-record-changes\",\n name: \"Get Record Changes\",\n description: \"Tool to find recent record changes in a NetHunt CRM folder. Returns change history including CREATE, UPDATE, DELETE actions with field-level diffs. Use when you need to track modifications to records, audit changes, or sync data based on recent updates.\",\n input: NethuntCrmGetRecordChangesInput,\n output: NethuntCrmGetRecordChangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACjJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AACzK,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAM,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,SAASA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C,EAC1H,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-record-changes.d.ts
|
|
4
|
+
declare const NethuntCrmGetRecordChangesInput: z.ZodTypeAny;
|
|
5
|
+
declare const NethuntCrmGetRecordChangesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nethuntCrmGetRecordChanges: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nethuntCrmGetRecordChanges };
|
|
9
|
+
//# sourceMappingURL=get-record-changes.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-record-changes.d.cts","names":[],"sources":["../../src/actions/get-record-changes.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAMe;AAAA,cAalD,gCAAA,EAAkC,CAAA,CAAE,UAEQ;AAAA,cAE5C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-record-changes.d.ts
|
|
4
|
+
declare const NethuntCrmGetRecordChangesInput: z.ZodTypeAny;
|
|
5
|
+
declare const NethuntCrmGetRecordChangesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nethuntCrmGetRecordChanges: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nethuntCrmGetRecordChanges };
|
|
9
|
+
//# sourceMappingURL=get-record-changes.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-record-changes.d.mts","names":[],"sources":["../../src/actions/get-record-changes.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAMe;AAAA,cAalD,gCAAA,EAAkC,CAAA,CAAE,UAEQ;AAAA,cAE5C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-record-changes.ts
|
|
4
|
+
const NethuntCrmGetRecordChangesInput = z.object({
|
|
5
|
+
limit: z.number().int().describe("Maximum number of changes to return. Default: No limit").optional(),
|
|
6
|
+
since: z.string().describe("Only changes made after this time are returned (ISO8601 format). Default: 24 hours before time of request").optional(),
|
|
7
|
+
folderId: z.string().describe("Folder ID to retrieve record changes from"),
|
|
8
|
+
recordId: z.string().describe("Record ID to look for single record changes. If missing, changes for all folder records are returned").optional(),
|
|
9
|
+
fieldName: z.array(z.string()).describe("Field name(s) to limit changes observed. Multiple field names can be provided to filter changes to specific fields").optional()
|
|
10
|
+
}).describe("Parameters for retrieving record change history.");
|
|
11
|
+
const NethuntCrmGetRecordChanges_UserSchema = z.object({
|
|
12
|
+
emailAddress: z.string().describe("Email address of the user").nullable().optional(),
|
|
13
|
+
personalName: z.string().describe("Name of the user").nullable().optional()
|
|
14
|
+
}).describe("User who made the change");
|
|
15
|
+
const NethuntCrmGetRecordChanges_RecordChangeSchema = z.object({
|
|
16
|
+
id: z.string().describe("Internal identifier for the change event").nullable().optional(),
|
|
17
|
+
time: z.string().describe("Timestamp when the change occurred (ISO8601 format)").nullable().optional(),
|
|
18
|
+
user: NethuntCrmGetRecordChanges_UserSchema.nullable().optional(),
|
|
19
|
+
recordId: z.string().describe("ID of the record that changed").nullable().optional(),
|
|
20
|
+
fieldActions: z.record(z.string(), z.unknown()).describe("Names of record fields along with actual changes made to them").nullable().optional(),
|
|
21
|
+
recordAction: z.string().describe("Type of action performed on the record: CREATE, UPDATE, or DELETE").nullable().optional()
|
|
22
|
+
}).describe("Represents a single record change event");
|
|
23
|
+
const nethuntCrmGetRecordChanges = action("NETHUNT_CRM_GET_RECORD_CHANGES", {
|
|
24
|
+
slug: "nethunt_crm-get-record-changes",
|
|
25
|
+
name: "Get Record Changes",
|
|
26
|
+
description: "Tool to find recent record changes in a NetHunt CRM folder. Returns change history including CREATE, UPDATE, DELETE actions with field-level diffs. Use when you need to track modifications to records, audit changes, or sync data based on recent updates.",
|
|
27
|
+
input: NethuntCrmGetRecordChangesInput,
|
|
28
|
+
output: z.object({ changes: z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe("List of record changes in chronological order") }).describe("Response containing list of record changes")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { nethuntCrmGetRecordChanges };
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=get-record-changes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-record-changes.mjs","names":[],"sources":["../../src/actions/get-record-changes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetRecordChangesInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of changes to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only changes made after this time are returned (ISO8601 format). Default: 24 hours before time of request\").optional(),\n folderId: z.string().describe(\"Folder ID to retrieve record changes from\"),\n recordId: z.string().describe(\"Record ID to look for single record changes. If missing, changes for all folder records are returned\").optional(),\n fieldName: z.array(z.string()).describe(\"Field name(s) to limit changes observed. Multiple field names can be provided to filter changes to specific fields\").optional(),\n}).describe(\"Parameters for retrieving record change history.\");\nconst NethuntCrmGetRecordChanges_UserSchema: z.ZodTypeAny = z.object({\n emailAddress: z.string().describe(\"Email address of the user\").nullable().optional(),\n personalName: z.string().describe(\"Name of the user\").nullable().optional(),\n}).describe(\"User who made the change\");\nconst NethuntCrmGetRecordChanges_RecordChangeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Internal identifier for the change event\").nullable().optional(),\n time: z.string().describe(\"Timestamp when the change occurred (ISO8601 format)\").nullable().optional(),\n user: NethuntCrmGetRecordChanges_UserSchema.nullable().optional(),\n recordId: z.string().describe(\"ID of the record that changed\").nullable().optional(),\n fieldActions: z.record(z.string(), z.unknown()).describe(\"Names of record fields along with actual changes made to them\").nullable().optional(),\n recordAction: z.string().describe(\"Type of action performed on the record: CREATE, UPDATE, or DELETE\").nullable().optional(),\n}).describe(\"Represents a single record change event\");\nexport const NethuntCrmGetRecordChangesOutput: z.ZodTypeAny = z.object({\n changes: z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe(\"List of record changes in chronological order\"),\n}).describe(\"Response containing list of record changes\");\n\nexport const nethuntCrmGetRecordChanges = action(\"NETHUNT_CRM_GET_RECORD_CHANGES\", {\n slug: \"nethunt_crm-get-record-changes\",\n name: \"Get Record Changes\",\n description: \"Tool to find recent record changes in a NetHunt CRM folder. Returns change history including CREATE, UPDATE, DELETE actions with field-level diffs. Use when you need to track modifications to records, audit changes, or sync data based on recent updates.\",\n input: NethuntCrmGetRecordChangesInput,\n output: NethuntCrmGetRecordChangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACjJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC/I,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AACzK,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,wCAAsD,EAAE,OAAO;CACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,0BAA0B;AACtC,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAM,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAKrD,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,SAAS,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C,EAC1H,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-updated-records.ts
|
|
4
|
+
const NethuntCrmGetUpdatedRecordsInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().describe("Maximum number of records to return. Default: No limit").optional(),
|
|
6
|
+
since: zod.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(),
|
|
7
|
+
folderId: zod.z.string().describe("Folder ID to find updated records in"),
|
|
8
|
+
fieldName: zod.z.union([zod.z.string(), zod.z.array(zod.z.string())]).optional()
|
|
9
|
+
}).describe("Request model for finding recently updated records in NetHunt CRM.");
|
|
10
|
+
const NethuntCrmGetUpdatedRecords_RecordItemSchema = zod.z.object({
|
|
11
|
+
id: zod.z.string().describe("For internal purposes only").nullable().optional(),
|
|
12
|
+
fields: zod.z.object({}).describe("Field names and values as key-value pairs").nullable().optional(),
|
|
13
|
+
recordId: zod.z.string().describe("Record ID").nullable().optional(),
|
|
14
|
+
createdAt: zod.z.string().describe("Time of record creation in ISO 8601 format").nullable().optional(),
|
|
15
|
+
updatedAt: zod.z.string().describe("Time of last record update in ISO 8601 format").nullable().optional()
|
|
16
|
+
}).describe("Individual record returned by the NetHunt CRM API.");
|
|
17
|
+
const NethuntCrmGetUpdatedRecordsOutput = zod.z.object({ records: zod.z.array(NethuntCrmGetUpdatedRecords_RecordItemSchema).describe("List of updated records").nullable().optional() }).describe("Response model containing a list of updated records.");
|
|
18
|
+
const nethuntCrmGetUpdatedRecords = require_action.action("NETHUNT_CRM_GET_UPDATED_RECORDS", {
|
|
19
|
+
slug: "nethunt_crm-get-updated-records",
|
|
20
|
+
name: "Get Updated Records",
|
|
21
|
+
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.",
|
|
22
|
+
input: NethuntCrmGetUpdatedRecordsInput,
|
|
23
|
+
output: NethuntCrmGetUpdatedRecordsOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.nethuntCrmGetUpdatedRecords = nethuntCrmGetUpdatedRecords;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-updated-records.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-updated-records.cjs","names":["z","action"],"sources":["../../src/actions/get-updated-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetUpdatedRecordsInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.object({}).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}).describe(\"Individual record returned by the NetHunt CRM API.\");\nexport const NethuntCrmGetUpdatedRecordsOutput: z.ZodTypeAny = z.object({\n records: z.array(NethuntCrmGetUpdatedRecords_RecordItemSchema).describe(\"List of updated records\").nullable().optional(),\n}).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,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAClK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACpE,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-updated-records.d.ts
|
|
4
|
+
declare const NethuntCrmGetUpdatedRecordsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NethuntCrmGetUpdatedRecordsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nethuntCrmGetUpdatedRecords: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nethuntCrmGetUpdatedRecords };
|
|
9
|
+
//# sourceMappingURL=get-updated-records.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-updated-records.d.cts","names":[],"sources":["../../src/actions/get-updated-records.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAKgC;AAAA,cAQpE,iCAAA,EAAmC,CAAA,CAAE,UAEiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-updated-records.d.ts
|
|
4
|
+
declare const NethuntCrmGetUpdatedRecordsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NethuntCrmGetUpdatedRecordsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nethuntCrmGetUpdatedRecords: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nethuntCrmGetUpdatedRecords };
|
|
9
|
+
//# sourceMappingURL=get-updated-records.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-updated-records.d.mts","names":[],"sources":["../../src/actions/get-updated-records.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAKgC;AAAA,cAQpE,iCAAA,EAAmC,CAAA,CAAE,UAEiB;AAAA,cAEtD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-updated-records.ts
|
|
4
|
+
const NethuntCrmGetUpdatedRecordsInput = z.object({
|
|
5
|
+
limit: z.number().int().describe("Maximum number of records to return. Default: No limit").optional(),
|
|
6
|
+
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(),
|
|
7
|
+
folderId: z.string().describe("Folder ID to find updated records in"),
|
|
8
|
+
fieldName: z.union([z.string(), z.array(z.string())]).optional()
|
|
9
|
+
}).describe("Request model for finding recently updated records in NetHunt CRM.");
|
|
10
|
+
const NethuntCrmGetUpdatedRecords_RecordItemSchema = z.object({
|
|
11
|
+
id: z.string().describe("For internal purposes only").nullable().optional(),
|
|
12
|
+
fields: z.object({}).describe("Field names and values as key-value pairs").nullable().optional(),
|
|
13
|
+
recordId: z.string().describe("Record ID").nullable().optional(),
|
|
14
|
+
createdAt: z.string().describe("Time of record creation in ISO 8601 format").nullable().optional(),
|
|
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.");
|
|
17
|
+
const nethuntCrmGetUpdatedRecords = action("NETHUNT_CRM_GET_UPDATED_RECORDS", {
|
|
18
|
+
slug: "nethunt_crm-get-updated-records",
|
|
19
|
+
name: "Get Updated Records",
|
|
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
|
+
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.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { nethuntCrmGetUpdatedRecords };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-updated-records.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.object({}).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}).describe(\"Individual record returned by the NetHunt CRM API.\");\nexport const NethuntCrmGetUpdatedRecordsOutput: z.ZodTypeAny = z.object({\n records: z.array(NethuntCrmGetUpdatedRecords_RecordItemSchema).describe(\"List of updated records\").nullable().optional(),\n}).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,mCAAiD,EAAE,OAAO;CACrE,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,+CAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,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,SAAS,oDAAoD;AAKhE,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_delete_record = require("./delete-record.cjs");
|
|
3
|
+
const require_find_records = require("./find-records.cjs");
|
|
4
|
+
const require_get_new_call_logs = require("./get-new-call-logs.cjs");
|
|
5
|
+
const require_get_new_comments = require("./get-new-comments.cjs");
|
|
6
|
+
const require_get_new_gdrive_files = require("./get-new-gdrive-files.cjs");
|
|
7
|
+
const require_get_new_records = require("./get-new-records.cjs");
|
|
8
|
+
const require_get_record_changes = require("./get-record-changes.cjs");
|
|
9
|
+
const require_get_updated_records = require("./get-updated-records.cjs");
|
|
10
|
+
const require_list_folder_fields = require("./list-folder-fields.cjs");
|
|
11
|
+
const require_list_readable_folders = require("./list-readable-folders.cjs");
|
|
12
|
+
const require_list_writable_folders = require("./list-writable-folders.cjs");
|
|
13
|
+
const require_test_auth = require("./test-auth.cjs");
|
|
14
|
+
exports.nethuntCrmDeleteRecord = require_delete_record.nethuntCrmDeleteRecord;
|
|
15
|
+
exports.nethuntCrmFindRecords = require_find_records.nethuntCrmFindRecords;
|
|
16
|
+
exports.nethuntCrmGetNewCallLogs = require_get_new_call_logs.nethuntCrmGetNewCallLogs;
|
|
17
|
+
exports.nethuntCrmGetNewComments = require_get_new_comments.nethuntCrmGetNewComments;
|
|
18
|
+
exports.nethuntCrmGetNewGdriveFiles = require_get_new_gdrive_files.nethuntCrmGetNewGdriveFiles;
|
|
19
|
+
exports.nethuntCrmGetNewRecords = require_get_new_records.nethuntCrmGetNewRecords;
|
|
20
|
+
exports.nethuntCrmGetRecordChanges = require_get_record_changes.nethuntCrmGetRecordChanges;
|
|
21
|
+
exports.nethuntCrmGetUpdatedRecords = require_get_updated_records.nethuntCrmGetUpdatedRecords;
|
|
22
|
+
exports.nethuntCrmListFolderFields = require_list_folder_fields.nethuntCrmListFolderFields;
|
|
23
|
+
exports.nethuntCrmListReadableFolders = require_list_readable_folders.nethuntCrmListReadableFolders;
|
|
24
|
+
exports.nethuntCrmListWritableFolders = require_list_writable_folders.nethuntCrmListWritableFolders;
|
|
25
|
+
exports.nethuntCrmTestAuth = require_test_auth.nethuntCrmTestAuth;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { nethuntCrmDeleteRecord } from "./delete-record.cjs";
|
|
2
|
+
import { nethuntCrmFindRecords } from "./find-records.cjs";
|
|
3
|
+
import { nethuntCrmGetNewCallLogs } from "./get-new-call-logs.cjs";
|
|
4
|
+
import { nethuntCrmGetNewComments } from "./get-new-comments.cjs";
|
|
5
|
+
import { nethuntCrmGetNewGdriveFiles } from "./get-new-gdrive-files.cjs";
|
|
6
|
+
import { nethuntCrmGetNewRecords } from "./get-new-records.cjs";
|
|
7
|
+
import { nethuntCrmGetRecordChanges } from "./get-record-changes.cjs";
|
|
8
|
+
import { nethuntCrmGetUpdatedRecords } from "./get-updated-records.cjs";
|
|
9
|
+
import { nethuntCrmListFolderFields } from "./list-folder-fields.cjs";
|
|
10
|
+
import { nethuntCrmListReadableFolders } from "./list-readable-folders.cjs";
|
|
11
|
+
import { nethuntCrmListWritableFolders } from "./list-writable-folders.cjs";
|
|
12
|
+
import { nethuntCrmTestAuth } from "./test-auth.cjs";
|
|
13
|
+
export { nethuntCrmDeleteRecord, nethuntCrmFindRecords, nethuntCrmGetNewCallLogs, nethuntCrmGetNewComments, nethuntCrmGetNewGdriveFiles, nethuntCrmGetNewRecords, nethuntCrmGetRecordChanges, nethuntCrmGetUpdatedRecords, nethuntCrmListFolderFields, nethuntCrmListReadableFolders, nethuntCrmListWritableFolders, nethuntCrmTestAuth };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { nethuntCrmDeleteRecord } from "./delete-record.mjs";
|
|
2
|
+
import { nethuntCrmFindRecords } from "./find-records.mjs";
|
|
3
|
+
import { nethuntCrmGetNewCallLogs } from "./get-new-call-logs.mjs";
|
|
4
|
+
import { nethuntCrmGetNewComments } from "./get-new-comments.mjs";
|
|
5
|
+
import { nethuntCrmGetNewGdriveFiles } from "./get-new-gdrive-files.mjs";
|
|
6
|
+
import { nethuntCrmGetNewRecords } from "./get-new-records.mjs";
|
|
7
|
+
import { nethuntCrmGetRecordChanges } from "./get-record-changes.mjs";
|
|
8
|
+
import { nethuntCrmGetUpdatedRecords } from "./get-updated-records.mjs";
|
|
9
|
+
import { nethuntCrmListFolderFields } from "./list-folder-fields.mjs";
|
|
10
|
+
import { nethuntCrmListReadableFolders } from "./list-readable-folders.mjs";
|
|
11
|
+
import { nethuntCrmListWritableFolders } from "./list-writable-folders.mjs";
|
|
12
|
+
import { nethuntCrmTestAuth } from "./test-auth.mjs";
|
|
13
|
+
export { nethuntCrmDeleteRecord, nethuntCrmFindRecords, nethuntCrmGetNewCallLogs, nethuntCrmGetNewComments, nethuntCrmGetNewGdriveFiles, nethuntCrmGetNewRecords, nethuntCrmGetRecordChanges, nethuntCrmGetUpdatedRecords, nethuntCrmListFolderFields, nethuntCrmListReadableFolders, nethuntCrmListWritableFolders, nethuntCrmTestAuth };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { nethuntCrmDeleteRecord } from "./delete-record.mjs";
|
|
2
|
+
import { nethuntCrmFindRecords } from "./find-records.mjs";
|
|
3
|
+
import { nethuntCrmGetNewCallLogs } from "./get-new-call-logs.mjs";
|
|
4
|
+
import { nethuntCrmGetNewComments } from "./get-new-comments.mjs";
|
|
5
|
+
import { nethuntCrmGetNewGdriveFiles } from "./get-new-gdrive-files.mjs";
|
|
6
|
+
import { nethuntCrmGetNewRecords } from "./get-new-records.mjs";
|
|
7
|
+
import { nethuntCrmGetRecordChanges } from "./get-record-changes.mjs";
|
|
8
|
+
import { nethuntCrmGetUpdatedRecords } from "./get-updated-records.mjs";
|
|
9
|
+
import { nethuntCrmListFolderFields } from "./list-folder-fields.mjs";
|
|
10
|
+
import { nethuntCrmListReadableFolders } from "./list-readable-folders.mjs";
|
|
11
|
+
import { nethuntCrmListWritableFolders } from "./list-writable-folders.mjs";
|
|
12
|
+
import { nethuntCrmTestAuth } from "./test-auth.mjs";
|
|
13
|
+
export { nethuntCrmDeleteRecord, nethuntCrmFindRecords, nethuntCrmGetNewCallLogs, nethuntCrmGetNewComments, nethuntCrmGetNewGdriveFiles, nethuntCrmGetNewRecords, nethuntCrmGetRecordChanges, nethuntCrmGetUpdatedRecords, nethuntCrmListFolderFields, nethuntCrmListReadableFolders, nethuntCrmListWritableFolders, nethuntCrmTestAuth };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-folder-fields.ts
|
|
4
|
+
const NethuntCrmListFolderFieldsInput = zod.z.object({ folderId: zod.z.string().describe("Folder ID to list fields for") }).describe("Request model for listing folder fields in NetHunt CRM.");
|
|
5
|
+
const NethuntCrmListFolderFieldsOutput = zod.z.unknown();
|
|
6
|
+
const nethuntCrmListFolderFields = require_action.action("NETHUNT_CRM_LIST_FOLDER_FIELDS", {
|
|
7
|
+
slug: "nethunt_crm-list-folder-fields",
|
|
8
|
+
name: "List Folder Fields",
|
|
9
|
+
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.",
|
|
10
|
+
input: NethuntCrmListFolderFieldsInput,
|
|
11
|
+
output: NethuntCrmListFolderFieldsOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.nethuntCrmListFolderFields = nethuntCrmListFolderFields;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=list-folder-fields.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,EAC9D,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,mCAAiDA,IAAAA,EAAE,QAAQ;AAExE,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-folder-fields.d.ts
|
|
4
|
+
declare const NethuntCrmListFolderFieldsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NethuntCrmListFolderFieldsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nethuntCrmListFolderFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nethuntCrmListFolderFields };
|
|
9
|
+
//# sourceMappingURL=list-folder-fields.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-folder-fields.d.cts","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAEsB;AAAA,cACzD,gCAAA,EAAkC,CAAA,CAAE,UAAwB;AAAA,cAE5D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-folder-fields.d.ts
|
|
4
|
+
declare const NethuntCrmListFolderFieldsInput: z.ZodTypeAny;
|
|
5
|
+
declare const NethuntCrmListFolderFieldsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nethuntCrmListFolderFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nethuntCrmListFolderFields };
|
|
9
|
+
//# sourceMappingURL=list-folder-fields.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-folder-fields.d.mts","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAEsB;AAAA,cACzD,gCAAA,EAAkC,CAAA,CAAE,UAAwB;AAAA,cAE5D,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const nethuntCrmListFolderFields = action("NETHUNT_CRM_LIST_FOLDER_FIELDS", {
|
|
4
|
+
slug: "nethunt_crm-list-folder-fields",
|
|
5
|
+
name: "List Folder Fields",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({ folderId: z.string().describe("Folder ID to list fields for") }).describe("Request model for listing folder fields in NetHunt CRM."),
|
|
8
|
+
output: z.unknown()
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { nethuntCrmListFolderFields };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=list-folder-fields.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = 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,OAT2D,EAAE,OAAO,EACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,EAC9D,CAAC,CAAC,CAAC,SAAS,yDAOH;CACP,QAP4D,EAAE,QAOtD;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-readable-folders.ts
|
|
4
|
+
const NethuntCrmListReadableFoldersInput = zod.z.object({}).describe("Request model for listing readable folders. No parameters required.");
|
|
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.");
|
|
10
|
+
const nethuntCrmListReadableFolders = require_action.action("NETHUNT_CRM_LIST_READABLE_FOLDERS", {
|
|
11
|
+
slug: "nethunt_crm-list-readable-folders",
|
|
12
|
+
name: "List Readable Folders",
|
|
13
|
+
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.",
|
|
14
|
+
input: NethuntCrmListReadableFoldersInput,
|
|
15
|
+
output: NethuntCrmListReadableFoldersOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.nethuntCrmListReadableFolders = nethuntCrmListReadableFolders;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=list-readable-folders.cjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = z.object({}).describe(\"Request model for listing readable folders. No parameters required.\");\nconst NethuntCrmListReadableFolders_FolderSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the folder\"),\n name: z.string().describe(\"Display name of the folder\"),\n}).describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListReadableFoldersOutput: z.ZodTypeAny = z.object({\n folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe(\"Array of folders the user has read access to\"),\n}).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,qCAAmDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC3J,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACxD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8CAA8C,EACtH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-readable-folders.d.ts
|
|
4
|
+
declare const NethuntCrmListReadableFoldersInput: z.ZodTypeAny;
|
|
5
|
+
declare const NethuntCrmListReadableFoldersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nethuntCrmListReadableFolders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nethuntCrmListReadableFolders };
|
|
9
|
+
//# sourceMappingURL=list-readable-folders.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-readable-folders.d.cts","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAAyG;AAAA,cAK/I,mCAAA,EAAqC,CAAA,CAAE,UAEO;AAAA,cAE9C,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-readable-folders.d.ts
|
|
4
|
+
declare const NethuntCrmListReadableFoldersInput: z.ZodTypeAny;
|
|
5
|
+
declare const NethuntCrmListReadableFoldersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const nethuntCrmListReadableFolders: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { nethuntCrmListReadableFolders };
|
|
9
|
+
//# sourceMappingURL=list-readable-folders.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-readable-folders.d.mts","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAAyG;AAAA,cAK/I,mCAAA,EAAqC,CAAA,CAAE,UAEO;AAAA,cAE9C,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-readable-folders.ts
|
|
4
|
+
const NethuntCrmListReadableFoldersInput = z.object({}).describe("Request model for listing readable folders. No parameters required.");
|
|
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.");
|
|
9
|
+
const nethuntCrmListReadableFolders = action("NETHUNT_CRM_LIST_READABLE_FOLDERS", {
|
|
10
|
+
slug: "nethunt_crm-list-readable-folders",
|
|
11
|
+
name: "List Readable Folders",
|
|
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
|
+
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.")
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { nethuntCrmListReadableFolders };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=list-readable-folders.mjs.map
|
|
@@ -0,0 +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: z.ZodTypeAny = z.object({}).describe(\"Request model for listing readable folders. No parameters required.\");\nconst NethuntCrmListReadableFolders_FolderSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the folder\"),\n name: z.string().describe(\"Display name of the folder\"),\n}).describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListReadableFoldersOutput: z.ZodTypeAny = z.object({\n folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe(\"Array of folders the user has read access to\"),\n}).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,qCAAmD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC3J,MAAM,6CAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACxD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+D,EAAE,OAAO,EACxE,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8CAA8C,EACtH,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|