@keystrokehq/nethunt_crm 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/delete-record.cjs +1 -0
- package/dist/actions/delete-record.cjs.map +1 -1
- package/dist/actions/delete-record.d.cts +3 -17
- package/dist/actions/delete-record.d.cts.map +1 -1
- package/dist/actions/delete-record.d.mts +3 -17
- package/dist/actions/delete-record.d.mts.map +1 -1
- package/dist/actions/delete-record.mjs +1 -0
- package/dist/actions/delete-record.mjs.map +1 -1
- package/dist/actions/find-records.cjs +1 -0
- package/dist/actions/find-records.cjs.map +1 -1
- package/dist/actions/find-records.d.cts +3 -20
- package/dist/actions/find-records.d.cts.map +1 -1
- package/dist/actions/find-records.d.mts +3 -20
- package/dist/actions/find-records.d.mts.map +1 -1
- package/dist/actions/find-records.mjs +1 -0
- package/dist/actions/find-records.mjs.map +1 -1
- package/dist/actions/get-new-call-logs.cjs +1 -0
- package/dist/actions/get-new-call-logs.cjs.map +1 -1
- package/dist/actions/get-new-call-logs.d.cts +3 -19
- package/dist/actions/get-new-call-logs.d.cts.map +1 -1
- package/dist/actions/get-new-call-logs.d.mts +3 -19
- package/dist/actions/get-new-call-logs.d.mts.map +1 -1
- package/dist/actions/get-new-call-logs.mjs +1 -0
- package/dist/actions/get-new-call-logs.mjs.map +1 -1
- package/dist/actions/get-new-comments.cjs +1 -0
- package/dist/actions/get-new-comments.cjs.map +1 -1
- package/dist/actions/get-new-comments.d.cts +3 -19
- package/dist/actions/get-new-comments.d.cts.map +1 -1
- package/dist/actions/get-new-comments.d.mts +3 -19
- package/dist/actions/get-new-comments.d.mts.map +1 -1
- package/dist/actions/get-new-comments.mjs +1 -0
- package/dist/actions/get-new-comments.mjs.map +1 -1
- package/dist/actions/get-new-gdrive-files.cjs +1 -0
- package/dist/actions/get-new-gdrive-files.cjs.map +1 -1
- package/dist/actions/get-new-gdrive-files.d.cts +3 -19
- package/dist/actions/get-new-gdrive-files.d.cts.map +1 -1
- package/dist/actions/get-new-gdrive-files.d.mts +3 -19
- package/dist/actions/get-new-gdrive-files.d.mts.map +1 -1
- package/dist/actions/get-new-gdrive-files.mjs +1 -0
- package/dist/actions/get-new-gdrive-files.mjs.map +1 -1
- package/dist/actions/get-new-records.cjs +1 -0
- package/dist/actions/get-new-records.cjs.map +1 -1
- package/dist/actions/get-new-records.d.cts +3 -19
- package/dist/actions/get-new-records.d.cts.map +1 -1
- package/dist/actions/get-new-records.d.mts +3 -19
- package/dist/actions/get-new-records.d.mts.map +1 -1
- package/dist/actions/get-new-records.mjs +1 -0
- package/dist/actions/get-new-records.mjs.map +1 -1
- package/dist/actions/get-record-changes.cjs +1 -0
- package/dist/actions/get-record-changes.cjs.map +1 -1
- package/dist/actions/get-record-changes.d.cts +3 -21
- package/dist/actions/get-record-changes.d.cts.map +1 -1
- package/dist/actions/get-record-changes.d.mts +3 -21
- package/dist/actions/get-record-changes.d.mts.map +1 -1
- package/dist/actions/get-record-changes.mjs +1 -0
- package/dist/actions/get-record-changes.mjs.map +1 -1
- package/dist/actions/get-updated-records.cjs +1 -0
- package/dist/actions/get-updated-records.cjs.map +1 -1
- package/dist/actions/get-updated-records.d.cts +3 -20
- package/dist/actions/get-updated-records.d.cts.map +1 -1
- package/dist/actions/get-updated-records.d.mts +3 -20
- package/dist/actions/get-updated-records.d.mts.map +1 -1
- package/dist/actions/get-updated-records.mjs +1 -0
- package/dist/actions/get-updated-records.mjs.map +1 -1
- package/dist/actions/list-folder-fields.cjs +1 -0
- package/dist/actions/list-folder-fields.cjs.map +1 -1
- package/dist/actions/list-folder-fields.d.cts +3 -17
- package/dist/actions/list-folder-fields.d.cts.map +1 -1
- package/dist/actions/list-folder-fields.d.mts +3 -17
- package/dist/actions/list-folder-fields.d.mts.map +1 -1
- package/dist/actions/list-folder-fields.mjs +1 -0
- package/dist/actions/list-folder-fields.mjs.map +1 -1
- package/dist/actions/list-readable-folders.cjs +1 -0
- package/dist/actions/list-readable-folders.cjs.map +1 -1
- package/dist/actions/list-readable-folders.d.cts +3 -15
- package/dist/actions/list-readable-folders.d.cts.map +1 -1
- package/dist/actions/list-readable-folders.d.mts +3 -15
- package/dist/actions/list-readable-folders.d.mts.map +1 -1
- package/dist/actions/list-readable-folders.mjs +1 -0
- package/dist/actions/list-readable-folders.mjs.map +1 -1
- package/dist/actions/list-writable-folders.cjs +1 -0
- package/dist/actions/list-writable-folders.cjs.map +1 -1
- package/dist/actions/list-writable-folders.d.cts +3 -15
- package/dist/actions/list-writable-folders.d.cts.map +1 -1
- package/dist/actions/list-writable-folders.d.mts +3 -15
- package/dist/actions/list-writable-folders.d.mts.map +1 -1
- package/dist/actions/list-writable-folders.mjs +1 -0
- package/dist/actions/list-writable-folders.mjs.map +1 -1
- package/dist/actions/test-auth.cjs +1 -0
- package/dist/actions/test-auth.cjs.map +1 -1
- package/dist/actions/test-auth.d.cts +3 -15
- package/dist/actions/test-auth.d.cts.map +1 -1
- package/dist/actions/test-auth.d.mts +3 -15
- package/dist/actions/test-auth.d.mts.map +1 -1
- package/dist/actions/test-auth.mjs +1 -0
- package/dist/actions/test-auth.mjs.map +1 -1
- package/dist/app.cjs +5 -4
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nethuntCrm } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-new-gdrive-files.d.ts
|
|
@@ -20,25 +22,7 @@ declare const NethuntCrmGetNewGdriveFilesOutput: z.ZodObject<{
|
|
|
20
22
|
googleDriveFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const nethuntCrmGetNewGdriveFiles:
|
|
24
|
-
folderId: string;
|
|
25
|
-
limit?: number | undefined;
|
|
26
|
-
since?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
username: z.ZodString;
|
|
33
|
-
password: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
username: z.ZodString;
|
|
40
|
-
password: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const nethuntCrmGetNewGdriveFiles: AppAction<typeof NethuntCrmGetNewGdriveFilesInput, typeof NethuntCrmGetNewGdriveFilesOutput, typeof nethuntCrm.credential>;
|
|
42
26
|
//#endregion
|
|
43
27
|
export { nethuntCrmGetNewGdriveFiles };
|
|
44
28
|
//# sourceMappingURL=get-new-gdrive-files.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-gdrive-files.d.mts","names":[],"sources":["../../src/actions/get-new-gdrive-files.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-new-gdrive-files.d.mts","names":[],"sources":["../../src/actions/get-new-gdrive-files.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAiBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-new-gdrive-files.mjs","names":[],"sources":["../../src/actions/get-new-gdrive-files.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\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: AppAction<\n typeof NethuntCrmGetNewGdriveFilesInput,\n typeof NethuntCrmGetNewGdriveFilesOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,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,8BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iKAAiK,EAC7O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"get-new-records.cjs","names":["z","action"],"sources":["../../src/actions/get-new-records.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\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: AppAction<\n typeof NethuntCrmGetNewRecordsInput,\n typeof NethuntCrmGetNewRecordsOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,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,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nethuntCrm } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-new-records.d.ts
|
|
@@ -14,25 +16,7 @@ declare const NethuntCrmGetNewRecordsOutput: z.ZodObject<{
|
|
|
14
16
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const nethuntCrmGetNewRecords:
|
|
18
|
-
folderId: string;
|
|
19
|
-
limit?: number | undefined;
|
|
20
|
-
since?: string | undefined;
|
|
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>>]>;
|
|
19
|
+
declare const nethuntCrmGetNewRecords: AppAction<typeof NethuntCrmGetNewRecordsInput, typeof NethuntCrmGetNewRecordsOutput, typeof nethuntCrm.credential>;
|
|
36
20
|
//#endregion
|
|
37
21
|
export { nethuntCrmGetNewRecords };
|
|
38
22
|
//# sourceMappingURL=get-new-records.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-records.d.cts","names":[],"sources":["../../src/actions/get-new-records.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-new-records.d.cts","names":[],"sources":["../../src/actions/get-new-records.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nethuntCrm } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-new-records.d.ts
|
|
@@ -14,25 +16,7 @@ declare const NethuntCrmGetNewRecordsOutput: z.ZodObject<{
|
|
|
14
16
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>>>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const nethuntCrmGetNewRecords:
|
|
18
|
-
folderId: string;
|
|
19
|
-
limit?: number | undefined;
|
|
20
|
-
since?: string | undefined;
|
|
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>>]>;
|
|
19
|
+
declare const nethuntCrmGetNewRecords: AppAction<typeof NethuntCrmGetNewRecordsInput, typeof NethuntCrmGetNewRecordsOutput, typeof nethuntCrm.credential>;
|
|
36
20
|
//#endregion
|
|
37
21
|
export { nethuntCrmGetNewRecords };
|
|
38
22
|
//# sourceMappingURL=get-new-records.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-records.d.mts","names":[],"sources":["../../src/actions/get-new-records.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-new-records.d.mts","names":[],"sources":["../../src/actions/get-new-records.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAW5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"get-new-records.mjs","names":[],"sources":["../../src/actions/get-new-records.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\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: AppAction<\n typeof NethuntCrmGetNewRecordsInput,\n typeof NethuntCrmGetNewRecordsOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,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,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,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,yCAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-record-changes.cjs","names":["z","action"],"sources":["../../src/actions/get-record-changes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\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: AppAction<\n typeof NethuntCrmGetRecordChangesInput,\n typeof NethuntCrmGetRecordChangesOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,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,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nethuntCrm } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-record-changes.d.ts
|
|
@@ -21,27 +23,7 @@ declare const NethuntCrmGetRecordChangesOutput: z.ZodObject<{
|
|
|
21
23
|
recordAction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const nethuntCrmGetRecordChanges:
|
|
25
|
-
folderId: string;
|
|
26
|
-
limit?: number | undefined;
|
|
27
|
-
since?: string | undefined;
|
|
28
|
-
recordId?: string | undefined;
|
|
29
|
-
fieldName?: string[] | undefined;
|
|
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>>]>;
|
|
26
|
+
declare const nethuntCrmGetRecordChanges: AppAction<typeof NethuntCrmGetRecordChangesInput, typeof NethuntCrmGetRecordChangesOutput, typeof nethuntCrm.credential>;
|
|
45
27
|
//#endregion
|
|
46
28
|
export { nethuntCrmGetRecordChanges };
|
|
47
29
|
//# sourceMappingURL=get-record-changes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-record-changes.d.cts","names":[],"sources":["../../src/actions/get-record-changes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-record-changes.d.cts","names":[],"sources":["../../src/actions/get-record-changes.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAmB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nethuntCrm } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-record-changes.d.ts
|
|
@@ -21,27 +23,7 @@ declare const NethuntCrmGetRecordChangesOutput: z.ZodObject<{
|
|
|
21
23
|
recordAction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const nethuntCrmGetRecordChanges:
|
|
25
|
-
folderId: string;
|
|
26
|
-
limit?: number | undefined;
|
|
27
|
-
since?: string | undefined;
|
|
28
|
-
recordId?: string | undefined;
|
|
29
|
-
fieldName?: string[] | undefined;
|
|
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>>]>;
|
|
26
|
+
declare const nethuntCrmGetRecordChanges: AppAction<typeof NethuntCrmGetRecordChangesInput, typeof NethuntCrmGetRecordChangesOutput, typeof nethuntCrm.credential>;
|
|
45
27
|
//#endregion
|
|
46
28
|
export { nethuntCrmGetRecordChanges };
|
|
47
29
|
//# sourceMappingURL=get-record-changes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-record-changes.d.mts","names":[],"sources":["../../src/actions/get-record-changes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-record-changes.d.mts","names":[],"sources":["../../src/actions/get-record-changes.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAmB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-record-changes.mjs","names":[],"sources":["../../src/actions/get-record-changes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\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: AppAction<\n typeof NethuntCrmGetRecordChangesInput,\n typeof NethuntCrmGetRecordChangesOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,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,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,SAAS,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"get-updated-records.cjs","names":["z","action"],"sources":["../../src/actions/get-updated-records.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\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: AppAction<\n typeof NethuntCrmGetUpdatedRecordsInput,\n typeof NethuntCrmGetUpdatedRecordsOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,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,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nethuntCrm } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-updated-records.d.ts
|
|
@@ -16,26 +18,7 @@ declare const NethuntCrmGetUpdatedRecordsOutput: z.ZodObject<{
|
|
|
16
18
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const nethuntCrmGetUpdatedRecords:
|
|
20
|
-
folderId: string;
|
|
21
|
-
limit?: number | undefined;
|
|
22
|
-
since?: string | undefined;
|
|
23
|
-
fieldName?: string | string[] | undefined;
|
|
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>>]>;
|
|
21
|
+
declare const nethuntCrmGetUpdatedRecords: AppAction<typeof NethuntCrmGetUpdatedRecordsInput, typeof NethuntCrmGetUpdatedRecordsOutput, typeof nethuntCrm.credential>;
|
|
39
22
|
//#endregion
|
|
40
23
|
export { nethuntCrmGetUpdatedRecords };
|
|
41
24
|
//# sourceMappingURL=get-updated-records.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-updated-records.d.cts","names":[],"sources":["../../src/actions/get-updated-records.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-updated-records.d.cts","names":[],"sources":["../../src/actions/get-updated-records.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAahC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nethuntCrm } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-updated-records.d.ts
|
|
@@ -16,26 +18,7 @@ declare const NethuntCrmGetUpdatedRecordsOutput: z.ZodObject<{
|
|
|
16
18
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const nethuntCrmGetUpdatedRecords:
|
|
20
|
-
folderId: string;
|
|
21
|
-
limit?: number | undefined;
|
|
22
|
-
since?: string | undefined;
|
|
23
|
-
fieldName?: string | string[] | undefined;
|
|
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>>]>;
|
|
21
|
+
declare const nethuntCrmGetUpdatedRecords: AppAction<typeof NethuntCrmGetUpdatedRecordsInput, typeof NethuntCrmGetUpdatedRecordsOutput, typeof nethuntCrm.credential>;
|
|
39
22
|
//#endregion
|
|
40
23
|
export { nethuntCrmGetUpdatedRecords };
|
|
41
24
|
//# sourceMappingURL=get-updated-records.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-updated-records.d.mts","names":[],"sources":["../../src/actions/get-updated-records.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-updated-records.d.mts","names":[],"sources":["../../src/actions/get-updated-records.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAahC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -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.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":"
|
|
1
|
+
{"version":3,"file":"get-updated-records.mjs","names":[],"sources":["../../src/actions/get-updated-records.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\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: AppAction<\n typeof NethuntCrmGetUpdatedRecordsInput,\n typeof NethuntCrmGetUpdatedRecordsOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,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,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+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,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folder-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-folder-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListFolderFieldsInput = z.object({\n folderId: z.string().describe(\"Folder ID to list fields for\"),\n}).describe(\"Request model for listing folder fields in NetHunt CRM.\");\nexport const NethuntCrmListFolderFieldsOutput = z.unknown();\n\nexport const nethuntCrmListFolderFields = action(\"NETHUNT_CRM_LIST_FOLDER_FIELDS\", {\n slug: \"nethunt_crm-list-folder-fields\",\n name: \"List Folder Fields\",\n description: \"Tool to list folder fields in NetHunt CRM. Returns the field definitions for a specific folder. Use when you need to retrieve all field metadata for a given folder ID.\",\n input: NethuntCrmListFolderFieldsInput,\n output: NethuntCrmListFolderFieldsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-folder-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-folder-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\n\nexport const NethuntCrmListFolderFieldsInput = z.object({\n folderId: z.string().describe(\"Folder ID to list fields for\"),\n}).describe(\"Request model for listing folder fields in NetHunt CRM.\");\nexport const NethuntCrmListFolderFieldsOutput = z.unknown();\n\nexport const nethuntCrmListFolderFields: AppAction<\n typeof NethuntCrmListFolderFieldsInput,\n typeof NethuntCrmListFolderFieldsOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,EAC9D,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,mCAAmCA,IAAAA,EAAE,QAAQ;AAE1D,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nethuntCrm } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-folder-fields.d.ts
|
|
@@ -5,23 +7,7 @@ declare const NethuntCrmListFolderFieldsInput: z.ZodObject<{
|
|
|
5
7
|
folderId: z.ZodString;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
9
|
declare const NethuntCrmListFolderFieldsOutput: z.ZodUnknown;
|
|
8
|
-
declare const nethuntCrmListFolderFields:
|
|
9
|
-
folderId: string;
|
|
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>>]>;
|
|
10
|
+
declare const nethuntCrmListFolderFields: AppAction<typeof NethuntCrmListFolderFieldsInput, typeof NethuntCrmListFolderFieldsOutput, typeof nethuntCrm.credential>;
|
|
25
11
|
//#endregion
|
|
26
12
|
export { nethuntCrmListFolderFields };
|
|
27
13
|
//# sourceMappingURL=list-folder-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folder-fields.d.cts","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-folder-fields.d.cts","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,UAAc;AAAA,cAE9C,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { nethuntCrm } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-folder-fields.d.ts
|
|
@@ -5,23 +7,7 @@ declare const NethuntCrmListFolderFieldsInput: z.ZodObject<{
|
|
|
5
7
|
folderId: z.ZodString;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
9
|
declare const NethuntCrmListFolderFieldsOutput: z.ZodUnknown;
|
|
8
|
-
declare const nethuntCrmListFolderFields:
|
|
9
|
-
folderId: string;
|
|
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>>]>;
|
|
10
|
+
declare const nethuntCrmListFolderFields: AppAction<typeof NethuntCrmListFolderFieldsInput, typeof NethuntCrmListFolderFieldsOutput, typeof nethuntCrm.credential>;
|
|
25
11
|
//#endregion
|
|
26
12
|
export { nethuntCrmListFolderFields };
|
|
27
13
|
//# sourceMappingURL=list-folder-fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folder-fields.d.mts","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-folder-fields.d.mts","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,UAAc;AAAA,cAE9C,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folder-fields.mjs","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListFolderFieldsInput = z.object({\n folderId: z.string().describe(\"Folder ID to list fields for\"),\n}).describe(\"Request model for listing folder fields in NetHunt CRM.\");\nexport const NethuntCrmListFolderFieldsOutput = z.unknown();\n\nexport const nethuntCrmListFolderFields = action(\"NETHUNT_CRM_LIST_FOLDER_FIELDS\", {\n slug: \"nethunt_crm-list-folder-fields\",\n name: \"List Folder Fields\",\n description: \"Tool to list folder fields in NetHunt CRM. Returns the field definitions for a specific folder. Use when you need to retrieve all field metadata for a given folder ID.\",\n input: NethuntCrmListFolderFieldsInput,\n output: NethuntCrmListFolderFieldsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-folder-fields.mjs","names":[],"sources":["../../src/actions/list-folder-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\n\nexport const NethuntCrmListFolderFieldsInput = z.object({\n folderId: z.string().describe(\"Folder ID to list fields for\"),\n}).describe(\"Request model for listing folder fields in NetHunt CRM.\");\nexport const NethuntCrmListFolderFieldsOutput = z.unknown();\n\nexport const nethuntCrmListFolderFields: AppAction<\n typeof NethuntCrmListFolderFieldsInput,\n typeof NethuntCrmListFolderFieldsOutput,\n typeof nethuntCrm.credential\n> = 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":";;;AAWA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6C,EAAE,OAAO,EACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,EAC9D,CAAC,CAAC,CAAC,SAAS,yDAWH;CACP,QAX8C,EAAE,QAWxC;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-readable-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-readable-folders.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\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: AppAction<\n typeof NethuntCrmListReadableFoldersInput,\n typeof NethuntCrmListReadableFoldersOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,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,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|