@keystrokehq/nethunt_crm 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/delete-record.cjs +1 -1
- package/dist/actions/delete-record.cjs.map +1 -1
- package/dist/actions/delete-record.d.cts +16 -2
- package/dist/actions/delete-record.d.mts +16 -2
- package/dist/actions/delete-record.mjs +1 -1
- 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 +17 -3
- package/dist/actions/find-records.d.mts +17 -3
- 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 +17 -3
- package/dist/actions/get-new-call-logs.d.mts +17 -3
- 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 +2 -2
- package/dist/actions/get-new-comments.cjs.map +1 -1
- package/dist/actions/get-new-comments.d.cts +17 -3
- package/dist/actions/get-new-comments.d.mts +17 -3
- package/dist/actions/get-new-comments.mjs +2 -2
- 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 +17 -3
- package/dist/actions/get-new-gdrive-files.d.mts +17 -3
- 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 -4
- package/dist/actions/get-new-records.d.mts +18 -4
- 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 +18 -4
- package/dist/actions/get-record-changes.d.mts +18 -4
- 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 +18 -4
- package/dist/actions/get-updated-records.d.mts +18 -4
- 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.d.cts +15 -1
- package/dist/actions/list-folder-fields.d.mts +15 -1
- package/dist/actions/list-readable-folders.cjs +2 -2
- package/dist/actions/list-readable-folders.cjs.map +1 -1
- package/dist/actions/list-readable-folders.d.cts +17 -3
- package/dist/actions/list-readable-folders.d.cts.map +1 -1
- package/dist/actions/list-readable-folders.d.mts +17 -3
- package/dist/actions/list-readable-folders.d.mts.map +1 -1
- package/dist/actions/list-readable-folders.mjs +2 -2
- package/dist/actions/list-readable-folders.mjs.map +1 -1
- package/dist/actions/list-writable-folders.cjs +2 -2
- package/dist/actions/list-writable-folders.cjs.map +1 -1
- package/dist/actions/list-writable-folders.d.cts +17 -3
- package/dist/actions/list-writable-folders.d.cts.map +1 -1
- package/dist/actions/list-writable-folders.d.mts +17 -3
- package/dist/actions/list-writable-folders.d.mts.map +1 -1
- package/dist/actions/list-writable-folders.mjs +2 -2
- package/dist/actions/list-writable-folders.mjs.map +1 -1
- package/dist/actions/test-auth.cjs +2 -2
- package/dist/actions/test-auth.cjs.map +1 -1
- package/dist/actions/test-auth.d.cts +17 -3
- package/dist/actions/test-auth.d.cts.map +1 -1
- package/dist/actions/test-auth.d.mts +17 -3
- package/dist/actions/test-auth.d.mts.map +1 -1
- package/dist/actions/test-auth.mjs +2 -2
- package/dist/actions/test-auth.mjs.map +1 -1
- package/dist/app.cjs +8 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +10 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +10 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -17,13 +17,13 @@ const NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema = z.object({
|
|
|
17
17
|
recordId: z.string().describe("Record ID that the file is linked to in NetHunt CRM.").nullable().optional(),
|
|
18
18
|
createdAt: z.string().describe("Time Google Drive file was created. ISO 8601 date-time format.").nullable().optional(),
|
|
19
19
|
googleDriveFileId: z.string().describe("File ID in Google Drive. Use this to access the file directly in Google Drive.").nullable().optional()
|
|
20
|
-
}).describe("Model for a single Google Drive file item.");
|
|
20
|
+
}).passthrough().describe("Model for a single Google Drive file item.");
|
|
21
21
|
const nethuntCrmGetNewGdriveFiles = action("NETHUNT_CRM_GET_NEW_GDRIVE_FILES", {
|
|
22
22
|
slug: "nethunt_crm-get-new-gdrive-files",
|
|
23
23
|
name: "Get New Google Drive Files",
|
|
24
24
|
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.",
|
|
25
25
|
input: NethuntCrmGetNewGdriveFilesInput,
|
|
26
|
-
output: z.object({ 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.") }).describe("Response model for getting new Google Drive files.")
|
|
26
|
+
output: z.object({ 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.") }).passthrough().describe("Response model for getting new Google Drive files.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { nethuntCrmGetNewGdriveFiles };
|
|
@@ -1 +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.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.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.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,mCAAmC,EAAE,OAAO;CACvD,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,mDAAmD,EAAE,OAAO;CAChE,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;
|
|
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.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.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}).passthrough().describe(\"Model for a single Google Drive file item.\");\nexport const NethuntCrmGetNewGdriveFilesOutput = 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}).passthrough().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,mCAAmC,EAAE,OAAO;CACvD,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,mDAAmD,EAAE,OAAO;CAChE,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iKAAiK,EAC7O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -8,11 +8,11 @@ const NethuntCrmGetNewRecordsInput = zod.z.object({
|
|
|
8
8
|
}).describe("Request model for getting new records.");
|
|
9
9
|
const NethuntCrmGetNewRecords_RecordSchema = zod.z.object({
|
|
10
10
|
id: zod.z.string().describe("For internal purposes only").nullable().optional(),
|
|
11
|
-
fields: zod.z.
|
|
11
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Field names and values. The structure varies based on folder configuration.").nullable().optional(),
|
|
12
12
|
recordId: zod.z.string().describe("Record ID").nullable().optional(),
|
|
13
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.");
|
|
14
|
+
}).passthrough().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() }).passthrough().describe("Response model for getting new records.");
|
|
16
16
|
const nethuntCrmGetNewRecords = require_action.action("NETHUNT_CRM_GET_NEW_RECORDS", {
|
|
17
17
|
slug: "nethunt_crm-get-new-records",
|
|
18
18
|
name: "Get New Records",
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.
|
|
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.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.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. 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}).passthrough().describe(\"Model for a single record.\");\nexport const NethuntCrmGetNewRecordsOutput = z.object({\n records: z.array(NethuntCrmGetNewRecords_RecordSchema).describe(\"List of recently created records from the specified folder\").nullable().optional(),\n}).passthrough().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,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,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,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,16 +9,30 @@ declare const NethuntCrmGetNewRecordsInput: z.ZodObject<{
|
|
|
9
9
|
declare const NethuntCrmGetNewRecordsOutput: z.ZodObject<{
|
|
10
10
|
records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
11
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
fields: z.ZodOptional<z.ZodNullable<z.
|
|
12
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
13
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const nethuntCrmGetNewRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
folderId: string;
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
since?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
username: z.ZodString;
|
|
27
|
+
password: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
username: z.ZodString;
|
|
34
|
+
password: z.ZodString;
|
|
35
|
+
}, z.core.$strip>>]>;
|
|
22
36
|
//#endregion
|
|
23
37
|
export { nethuntCrmGetNewRecords };
|
|
24
38
|
//# sourceMappingURL=get-new-records.d.cts.map
|
|
@@ -9,16 +9,30 @@ declare const NethuntCrmGetNewRecordsInput: z.ZodObject<{
|
|
|
9
9
|
declare const NethuntCrmGetNewRecordsOutput: z.ZodObject<{
|
|
10
10
|
records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
11
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
fields: z.ZodOptional<z.ZodNullable<z.
|
|
12
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
13
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const nethuntCrmGetNewRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
folderId: string;
|
|
19
19
|
limit?: number | undefined;
|
|
20
20
|
since?: string | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
22
|
+
connectionId: z.ZodString;
|
|
23
|
+
entityId: z.ZodString;
|
|
24
|
+
instanceId: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
username: z.ZodString;
|
|
27
|
+
password: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
username: z.ZodString;
|
|
34
|
+
password: z.ZodString;
|
|
35
|
+
}, z.core.$strip>>]>;
|
|
22
36
|
//#endregion
|
|
23
37
|
export { nethuntCrmGetNewRecords };
|
|
24
38
|
//# sourceMappingURL=get-new-records.d.mts.map
|
|
@@ -8,16 +8,16 @@ const NethuntCrmGetNewRecordsInput = z.object({
|
|
|
8
8
|
}).describe("Request model for getting new records.");
|
|
9
9
|
const NethuntCrmGetNewRecords_RecordSchema = z.object({
|
|
10
10
|
id: z.string().describe("For internal purposes only").nullable().optional(),
|
|
11
|
-
fields: z.
|
|
11
|
+
fields: z.record(z.string(), z.unknown()).describe("Field names and values. The structure varies based on folder configuration.").nullable().optional(),
|
|
12
12
|
recordId: z.string().describe("Record ID").nullable().optional(),
|
|
13
13
|
createdAt: z.string().describe("Time of record creation in ISO 8601 format").nullable().optional()
|
|
14
|
-
}).describe("Model for a single record.");
|
|
14
|
+
}).passthrough().describe("Model for a single record.");
|
|
15
15
|
const nethuntCrmGetNewRecords = action("NETHUNT_CRM_GET_NEW_RECORDS", {
|
|
16
16
|
slug: "nethunt_crm-get-new-records",
|
|
17
17
|
name: "Get New Records",
|
|
18
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
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.")
|
|
20
|
+
output: z.object({ records: z.array(NethuntCrmGetNewRecords_RecordSchema).describe("List of recently created records from the specified folder").nullable().optional() }).passthrough().describe("Response model for getting new records.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { nethuntCrmGetNewRecords };
|
|
@@ -1 +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.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.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.
|
|
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.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.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. 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}).passthrough().describe(\"Model for a single record.\");\nexport const NethuntCrmGetNewRecordsOutput = z.object({\n records: z.array(NethuntCrmGetNewRecords_RecordSchema).describe(\"List of recently created records from the specified folder\").nullable().optional(),\n}).passthrough().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,+BAA+B,EAAE,OAAO;CACnD,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,uCAAuC,EAAE,OAAO;CACpD,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,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,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,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAKtD,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const NethuntCrmGetRecordChangesInput = zod.z.object({
|
|
|
11
11
|
const NethuntCrmGetRecordChanges_UserSchema = zod.z.object({
|
|
12
12
|
emailAddress: zod.z.string().describe("Email address of the user").nullable().optional(),
|
|
13
13
|
personalName: zod.z.string().describe("Name of the user").nullable().optional()
|
|
14
|
-
}).describe("User who made the change");
|
|
14
|
+
}).passthrough().describe("User who made the change");
|
|
15
15
|
const NethuntCrmGetRecordChanges_RecordChangeSchema = zod.z.object({
|
|
16
16
|
id: zod.z.string().describe("Internal identifier for the change event").nullable().optional(),
|
|
17
17
|
time: zod.z.string().describe("Timestamp when the change occurred (ISO8601 format)").nullable().optional(),
|
|
@@ -19,8 +19,8 @@ const NethuntCrmGetRecordChanges_RecordChangeSchema = zod.z.object({
|
|
|
19
19
|
recordId: zod.z.string().describe("ID of the record that changed").nullable().optional(),
|
|
20
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
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");
|
|
22
|
+
}).passthrough().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") }).passthrough().describe("Response containing list of record changes");
|
|
24
24
|
const nethuntCrmGetRecordChanges = require_action.action("NETHUNT_CRM_GET_RECORD_CHANGES", {
|
|
25
25
|
slug: "nethunt_crm-get-record-changes",
|
|
26
26
|
name: "Get Record Changes",
|
|
@@ -1 +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.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.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.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.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,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,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;
|
|
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.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.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}).passthrough().describe(\"User who made the change\");\nconst NethuntCrmGetRecordChanges_RecordChangeSchema = 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}).passthrough().describe(\"Represents a single record change event\");\nexport const NethuntCrmGetRecordChangesOutput = z.object({\n changes: z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe(\"List of record changes in chronological order\"),\n}).passthrough().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,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,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,YAAY,CAAC,CAAC,SAAS,0BAA0B;AACpD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,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,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,19 +15,33 @@ declare const NethuntCrmGetRecordChangesOutput: z.ZodObject<{
|
|
|
15
15
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
emailAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
personalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
fieldActions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
21
|
recordAction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const nethuntCrmGetRecordChanges: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
folderId: string;
|
|
26
26
|
limit?: number | undefined;
|
|
27
27
|
since?: string | undefined;
|
|
28
28
|
recordId?: string | undefined;
|
|
29
29
|
fieldName?: string[] | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
31
|
+
connectionId: z.ZodString;
|
|
32
|
+
entityId: z.ZodString;
|
|
33
|
+
instanceId: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
username: z.ZodString;
|
|
36
|
+
password: z.ZodString;
|
|
37
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
38
|
+
connectionId: z.ZodString;
|
|
39
|
+
entityId: z.ZodString;
|
|
40
|
+
instanceId: z.ZodString;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
username: z.ZodString;
|
|
43
|
+
password: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>;
|
|
31
45
|
//#endregion
|
|
32
46
|
export { nethuntCrmGetRecordChanges };
|
|
33
47
|
//# sourceMappingURL=get-record-changes.d.cts.map
|
|
@@ -15,19 +15,33 @@ declare const NethuntCrmGetRecordChangesOutput: z.ZodObject<{
|
|
|
15
15
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
emailAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
personalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
fieldActions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
21
|
recordAction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const nethuntCrmGetRecordChanges: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
folderId: string;
|
|
26
26
|
limit?: number | undefined;
|
|
27
27
|
since?: string | undefined;
|
|
28
28
|
recordId?: string | undefined;
|
|
29
29
|
fieldName?: string[] | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
30
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
31
|
+
connectionId: z.ZodString;
|
|
32
|
+
entityId: z.ZodString;
|
|
33
|
+
instanceId: z.ZodString;
|
|
34
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
+
username: z.ZodString;
|
|
36
|
+
password: z.ZodString;
|
|
37
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
38
|
+
connectionId: z.ZodString;
|
|
39
|
+
entityId: z.ZodString;
|
|
40
|
+
instanceId: z.ZodString;
|
|
41
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
+
username: z.ZodString;
|
|
43
|
+
password: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>]>;
|
|
31
45
|
//#endregion
|
|
32
46
|
export { nethuntCrmGetRecordChanges };
|
|
33
47
|
//# sourceMappingURL=get-record-changes.d.mts.map
|
|
@@ -11,7 +11,7 @@ const NethuntCrmGetRecordChangesInput = z.object({
|
|
|
11
11
|
const NethuntCrmGetRecordChanges_UserSchema = z.object({
|
|
12
12
|
emailAddress: z.string().describe("Email address of the user").nullable().optional(),
|
|
13
13
|
personalName: z.string().describe("Name of the user").nullable().optional()
|
|
14
|
-
}).describe("User who made the change");
|
|
14
|
+
}).passthrough().describe("User who made the change");
|
|
15
15
|
const NethuntCrmGetRecordChanges_RecordChangeSchema = z.object({
|
|
16
16
|
id: z.string().describe("Internal identifier for the change event").nullable().optional(),
|
|
17
17
|
time: z.string().describe("Timestamp when the change occurred (ISO8601 format)").nullable().optional(),
|
|
@@ -19,13 +19,13 @@ const NethuntCrmGetRecordChanges_RecordChangeSchema = z.object({
|
|
|
19
19
|
recordId: z.string().describe("ID of the record that changed").nullable().optional(),
|
|
20
20
|
fieldActions: z.record(z.string(), z.unknown()).describe("Names of record fields along with actual changes made to them").nullable().optional(),
|
|
21
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");
|
|
22
|
+
}).passthrough().describe("Represents a single record change event");
|
|
23
23
|
const nethuntCrmGetRecordChanges = action("NETHUNT_CRM_GET_RECORD_CHANGES", {
|
|
24
24
|
slug: "nethunt_crm-get-record-changes",
|
|
25
25
|
name: "Get Record Changes",
|
|
26
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
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")
|
|
28
|
+
output: z.object({ changes: z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe("List of record changes in chronological order") }).passthrough().describe("Response containing list of record changes")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { nethuntCrmGetRecordChanges };
|
|
@@ -1 +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.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.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.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.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,kCAAkC,EAAE,OAAO;CACtD,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,wCAAwC,EAAE,OAAO;CACrD,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;
|
|
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.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.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}).passthrough().describe(\"User who made the change\");\nconst NethuntCrmGetRecordChanges_RecordChangeSchema = 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}).passthrough().describe(\"Represents a single record change event\");\nexport const NethuntCrmGetRecordChangesOutput = z.object({\n changes: z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe(\"List of record changes in chronological order\"),\n}).passthrough().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,kCAAkC,EAAE,OAAO;CACtD,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,wCAAwC,EAAE,OAAO;CACrD,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,YAAY,CAAC,CAAC,SAAS,0BAA0B;AACpD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,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,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -9,12 +9,12 @@ const NethuntCrmGetUpdatedRecordsInput = zod.z.object({
|
|
|
9
9
|
}).describe("Request model for finding recently updated records in NetHunt CRM.");
|
|
10
10
|
const NethuntCrmGetUpdatedRecords_RecordItemSchema = zod.z.object({
|
|
11
11
|
id: zod.z.string().describe("For internal purposes only").nullable().optional(),
|
|
12
|
-
fields: zod.z.
|
|
12
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Field names and values as key-value pairs").nullable().optional(),
|
|
13
13
|
recordId: zod.z.string().describe("Record ID").nullable().optional(),
|
|
14
14
|
createdAt: zod.z.string().describe("Time of record creation in ISO 8601 format").nullable().optional(),
|
|
15
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.");
|
|
16
|
+
}).passthrough().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() }).passthrough().describe("Response model containing a list of updated records.");
|
|
18
18
|
const nethuntCrmGetUpdatedRecords = require_action.action("NETHUNT_CRM_GET_UPDATED_RECORDS", {
|
|
19
19
|
slug: "nethunt_crm-get-updated-records",
|
|
20
20
|
name: "Get Updated Records",
|
|
@@ -1 +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.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.
|
|
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.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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,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,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,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,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,18 +10,32 @@ declare const NethuntCrmGetUpdatedRecordsInput: z.ZodObject<{
|
|
|
10
10
|
declare const NethuntCrmGetUpdatedRecordsOutput: z.ZodObject<{
|
|
11
11
|
records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
12
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
fields: z.ZodOptional<z.ZodNullable<z.
|
|
13
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
14
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const nethuntCrmGetUpdatedRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
folderId: string;
|
|
21
21
|
limit?: number | undefined;
|
|
22
22
|
since?: string | undefined;
|
|
23
23
|
fieldName?: string | string[] | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
username: z.ZodString;
|
|
30
|
+
password: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
username: z.ZodString;
|
|
37
|
+
password: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>]>;
|
|
25
39
|
//#endregion
|
|
26
40
|
export { nethuntCrmGetUpdatedRecords };
|
|
27
41
|
//# sourceMappingURL=get-updated-records.d.cts.map
|
|
@@ -10,18 +10,32 @@ declare const NethuntCrmGetUpdatedRecordsInput: z.ZodObject<{
|
|
|
10
10
|
declare const NethuntCrmGetUpdatedRecordsOutput: z.ZodObject<{
|
|
11
11
|
records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
12
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
fields: z.ZodOptional<z.ZodNullable<z.
|
|
13
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
14
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const nethuntCrmGetUpdatedRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
folderId: string;
|
|
21
21
|
limit?: number | undefined;
|
|
22
22
|
since?: string | undefined;
|
|
23
23
|
fieldName?: string | string[] | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
username: z.ZodString;
|
|
30
|
+
password: z.ZodString;
|
|
31
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
32
|
+
connectionId: z.ZodString;
|
|
33
|
+
entityId: z.ZodString;
|
|
34
|
+
instanceId: z.ZodString;
|
|
35
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
+
username: z.ZodString;
|
|
37
|
+
password: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>]>;
|
|
25
39
|
//#endregion
|
|
26
40
|
export { nethuntCrmGetUpdatedRecords };
|
|
27
41
|
//# sourceMappingURL=get-updated-records.d.mts.map
|
|
@@ -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 = 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.
|
|
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"}
|
|
@@ -7,7 +7,21 @@ declare const NethuntCrmListFolderFieldsInput: z.ZodObject<{
|
|
|
7
7
|
declare const NethuntCrmListFolderFieldsOutput: z.ZodUnknown;
|
|
8
8
|
declare const nethuntCrmListFolderFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
folderId: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
username: z.ZodString;
|
|
16
|
+
password: z.ZodString;
|
|
17
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
18
|
+
connectionId: z.ZodString;
|
|
19
|
+
entityId: z.ZodString;
|
|
20
|
+
instanceId: z.ZodString;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
+
username: z.ZodString;
|
|
23
|
+
password: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>;
|
|
11
25
|
//#endregion
|
|
12
26
|
export { nethuntCrmListFolderFields };
|
|
13
27
|
//# sourceMappingURL=list-folder-fields.d.cts.map
|
|
@@ -7,7 +7,21 @@ declare const NethuntCrmListFolderFieldsInput: z.ZodObject<{
|
|
|
7
7
|
declare const NethuntCrmListFolderFieldsOutput: z.ZodUnknown;
|
|
8
8
|
declare const nethuntCrmListFolderFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
9
|
folderId: string;
|
|
10
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
11
|
+
connectionId: z.ZodString;
|
|
12
|
+
entityId: z.ZodString;
|
|
13
|
+
instanceId: z.ZodString;
|
|
14
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
+
username: z.ZodString;
|
|
16
|
+
password: z.ZodString;
|
|
17
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
18
|
+
connectionId: z.ZodString;
|
|
19
|
+
entityId: z.ZodString;
|
|
20
|
+
instanceId: z.ZodString;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
+
username: z.ZodString;
|
|
23
|
+
password: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>;
|
|
11
25
|
//#endregion
|
|
12
26
|
export { nethuntCrmListFolderFields };
|
|
13
27
|
//# sourceMappingURL=list-folder-fields.d.mts.map
|
|
@@ -5,8 +5,8 @@ const NethuntCrmListReadableFoldersInput = zod.z.object({}).describe("Request mo
|
|
|
5
5
|
const NethuntCrmListReadableFolders_FolderSchema = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("Unique identifier of the folder").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Display name of the folder").nullable()
|
|
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.");
|
|
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 = 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}).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}).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,SAAS,4CAA4C;
|
|
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"}
|