@keystrokehq/nethunt_crm 0.1.3 → 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 -3
- package/dist/actions/delete-record.d.cts.map +1 -1
- package/dist/actions/delete-record.d.mts +3 -3
- 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 -6
- package/dist/actions/find-records.d.cts.map +1 -1
- package/dist/actions/find-records.d.mts +3 -6
- 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 -5
- package/dist/actions/get-new-call-logs.d.cts.map +1 -1
- package/dist/actions/get-new-call-logs.d.mts +3 -5
- 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 -5
- package/dist/actions/get-new-comments.d.cts.map +1 -1
- package/dist/actions/get-new-comments.d.mts +3 -5
- 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 -5
- package/dist/actions/get-new-gdrive-files.d.cts.map +1 -1
- package/dist/actions/get-new-gdrive-files.d.mts +3 -5
- 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 -5
- package/dist/actions/get-new-records.d.cts.map +1 -1
- package/dist/actions/get-new-records.d.mts +3 -5
- 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 -7
- package/dist/actions/get-record-changes.d.cts.map +1 -1
- package/dist/actions/get-record-changes.d.mts +3 -7
- 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 -6
- package/dist/actions/get-updated-records.d.cts.map +1 -1
- package/dist/actions/get-updated-records.d.mts +3 -6
- 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 -3
- package/dist/actions/list-folder-fields.d.cts.map +1 -1
- package/dist/actions/list-folder-fields.d.mts +3 -3
- 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 -1
- package/dist/actions/list-readable-folders.d.cts.map +1 -1
- package/dist/actions/list-readable-folders.d.mts +3 -1
- 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 -1
- package/dist/actions/list-writable-folders.d.cts.map +1 -1
- package/dist/actions/list-writable-folders.d.mts +3 -1
- 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 -1
- package/dist/actions/test-auth.d.cts.map +1 -1
- package/dist/actions/test-auth.d.mts +3 -1
- 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 +9 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +8 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +8 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +6 -2
- 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
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["nethuntCrm","executeNethuntCrmTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { nethuntCrm } from \"./app\";\nimport { executeNethuntCrmTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["nethuntCrm","executeNethuntCrmTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { nethuntCrm } from \"./app\";\nimport { executeNethuntCrmTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof nethuntCrm.credential> {\n return nethuntCrm.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNethuntCrmTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO0D;CAC1D,OAAOA,YAAAA,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { nethuntCrm } from \"./app\";\nimport { executeNethuntCrmTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { nethuntCrm } from \"./app\";\nimport { executeNethuntCrmTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof nethuntCrm.credential> {\n return nethuntCrm.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeNethuntCrmTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO0D;CAC1D,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmDeleteRecordInput = z.object({\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n}).describe(\"Request model for deleting a NetHunt CRM record.\");\nexport const NethuntCrmDeleteRecordOutput = z.object({\n message: z.string().describe(\"Status message about the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model for delete record operation.\");\n\nexport const nethuntCrmDeleteRecord = action(\"NETHUNT_CRM_DELETE_RECORD\", {\n slug: \"nethunt_crm-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a NetHunt CRM record by ID. Use when you need to permanently remove a record from the system.\",\n input: NethuntCrmDeleteRecordInput,\n output: NethuntCrmDeleteRecordOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-record.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 NethuntCrmDeleteRecordInput = z.object({\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n}).describe(\"Request model for deleting a NetHunt CRM record.\");\nexport const NethuntCrmDeleteRecordOutput = z.object({\n message: z.string().describe(\"Status message about the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model for delete record operation.\");\n\nexport const nethuntCrmDeleteRecord: AppAction<\n typeof NethuntCrmDeleteRecordInput,\n typeof NethuntCrmDeleteRecordOutput,\n typeof nethuntCrm.credential\n> = action(\"NETHUNT_CRM_DELETE_RECORD\", {\n slug: \"nethunt_crm-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a NetHunt CRM record by ID. Use when you need to permanently remove a record from the system.\",\n input: NethuntCrmDeleteRecordInput,\n output: NethuntCrmDeleteRecordOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAChF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,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/delete-record.d.ts
|
|
@@ -8,9 +10,7 @@ declare const NethuntCrmDeleteRecordOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodNullable<z.ZodString>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const nethuntCrmDeleteRecord:
|
|
12
|
-
record_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const nethuntCrmDeleteRecord: AppAction<typeof NethuntCrmDeleteRecordInput, typeof NethuntCrmDeleteRecordOutput, typeof nethuntCrm.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { nethuntCrmDeleteRecord };
|
|
16
16
|
//# sourceMappingURL=delete-record.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-record.d.cts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-record.d.cts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/delete-record.d.ts
|
|
@@ -8,9 +10,7 @@ declare const NethuntCrmDeleteRecordOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodNullable<z.ZodString>;
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const nethuntCrmDeleteRecord:
|
|
12
|
-
record_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const nethuntCrmDeleteRecord: AppAction<typeof NethuntCrmDeleteRecordInput, typeof NethuntCrmDeleteRecordOutput, typeof nethuntCrm.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { nethuntCrmDeleteRecord };
|
|
16
16
|
//# sourceMappingURL=delete-record.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-record.d.mts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-record.d.mts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-record.mjs","names":[],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmDeleteRecordInput = z.object({\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n}).describe(\"Request model for deleting a NetHunt CRM record.\");\nexport const NethuntCrmDeleteRecordOutput = z.object({\n message: z.string().describe(\"Status message about the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model for delete record operation.\");\n\nexport const nethuntCrmDeleteRecord = action(\"NETHUNT_CRM_DELETE_RECORD\", {\n slug: \"nethunt_crm-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a NetHunt CRM record by ID. Use when you need to permanently remove a record from the system.\",\n input: NethuntCrmDeleteRecordInput,\n output: NethuntCrmDeleteRecordOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-record.mjs","names":[],"sources":["../../src/actions/delete-record.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 NethuntCrmDeleteRecordInput = z.object({\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n}).describe(\"Request model for deleting a NetHunt CRM record.\");\nexport const NethuntCrmDeleteRecordOutput = z.object({\n message: z.string().describe(\"Status message about the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable(),\n}).passthrough().describe(\"Response model for delete record operation.\");\n\nexport const nethuntCrmDeleteRecord: AppAction<\n typeof NethuntCrmDeleteRecordInput,\n typeof NethuntCrmDeleteRecordOutput,\n typeof nethuntCrm.credential\n> = action(\"NETHUNT_CRM_DELETE_RECORD\", {\n slug: \"nethunt_crm-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a NetHunt CRM record by ID. Use when you need to permanently remove a record from the system.\",\n input: NethuntCrmDeleteRecordInput,\n output: NethuntCrmDeleteRecordOutput,\n});\n"],"mappings":";;;AAcA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO,EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAChF,CAAC,CAAC,CAAC,SAAS,kDAcH;CACP,QAd0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-records.cjs","names":["z","action"],"sources":["../../src/actions/find-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmFindRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. Default: 1 if not specified.\").optional(),\n query: z.string().describe(\"Search query to narrow records returned. Either recordId or query must be specified to perform the search.\").optional(),\n folder_id: z.string().describe(\"Folder ID to find records in. This identifies the folder within NetHunt CRM where the search will be performed.\"),\n record_id: z.string().describe(\"Record ID if available. Either recordId or query must be specified to perform the search.\").optional(),\n}).describe(\"Request parameters for finding records in NetHunt CRM.\");\nconst NethuntCrmFindRecords_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 for the record.\").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(\"A single record from NetHunt CRM.\");\nexport const NethuntCrmFindRecordsOutput = z.object({\n records: z.array(NethuntCrmFindRecords_RecordSchema).describe(\"List of records matching the search criteria.\"),\n}).passthrough().describe(\"Response from NetHunt CRM after searching for records.\");\n\nexport const nethuntCrmFindRecords = action(\"NETHUNT_CRM_FIND_RECORDS\", {\n slug: \"nethunt_crm-find-records\",\n name: \"Find Records\",\n description: \"Tool to find records by ID or text query in NetHunt CRM. Search for records within a folder using record ID or search query. Use when you need to locate specific records in a folder.\",\n input: NethuntCrmFindRecordsInput,\n output: NethuntCrmFindRecordsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-records.cjs","names":["z","action"],"sources":["../../src/actions/find-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 NethuntCrmFindRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. Default: 1 if not specified.\").optional(),\n query: z.string().describe(\"Search query to narrow records returned. Either recordId or query must be specified to perform the search.\").optional(),\n folder_id: z.string().describe(\"Folder ID to find records in. This identifies the folder within NetHunt CRM where the search will be performed.\"),\n record_id: z.string().describe(\"Record ID if available. Either recordId or query must be specified to perform the search.\").optional(),\n}).describe(\"Request parameters for finding records in NetHunt CRM.\");\nconst NethuntCrmFindRecords_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 for the record.\").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(\"A single record from NetHunt CRM.\");\nexport const NethuntCrmFindRecordsOutput = z.object({\n records: z.array(NethuntCrmFindRecords_RecordSchema).describe(\"List of records matching the search criteria.\"),\n}).passthrough().describe(\"Response from NetHunt CRM after searching for records.\");\n\nexport const nethuntCrmFindRecords: AppAction<\n typeof NethuntCrmFindRecordsInput,\n typeof NethuntCrmFindRecordsOutput,\n typeof nethuntCrm.credential\n> = action(\"NETHUNT_CRM_FIND_RECORDS\", {\n slug: \"nethunt_crm-find-records\",\n name: \"Find Records\",\n description: \"Tool to find records by ID or text query in NetHunt CRM. Search for records within a folder using record ID or search query. Use when you need to locate specific records in a folder.\",\n input: NethuntCrmFindRecordsInput,\n output: NethuntCrmFindRecordsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CAChJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,SAASA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,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/find-records.d.ts
|
|
@@ -16,12 +18,7 @@ declare const NethuntCrmFindRecordsOutput: z.ZodObject<{
|
|
|
16
18
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const nethuntCrmFindRecords:
|
|
20
|
-
folder_id: string;
|
|
21
|
-
limit?: number | undefined;
|
|
22
|
-
query?: string | undefined;
|
|
23
|
-
record_id?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const nethuntCrmFindRecords: AppAction<typeof NethuntCrmFindRecordsInput, typeof NethuntCrmFindRecordsOutput, typeof nethuntCrm.credential>;
|
|
25
22
|
//#endregion
|
|
26
23
|
export { nethuntCrmFindRecords };
|
|
27
24
|
//# sourceMappingURL=find-records.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-records.d.cts","names":[],"sources":["../../src/actions/find-records.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-records.d.cts","names":[],"sources":["../../src/actions/find-records.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/find-records.d.ts
|
|
@@ -16,12 +18,7 @@ declare const NethuntCrmFindRecordsOutput: z.ZodObject<{
|
|
|
16
18
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const nethuntCrmFindRecords:
|
|
20
|
-
folder_id: string;
|
|
21
|
-
limit?: number | undefined;
|
|
22
|
-
query?: string | undefined;
|
|
23
|
-
record_id?: string | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const nethuntCrmFindRecords: AppAction<typeof NethuntCrmFindRecordsInput, typeof NethuntCrmFindRecordsOutput, typeof nethuntCrm.credential>;
|
|
25
22
|
//#endregion
|
|
26
23
|
export { nethuntCrmFindRecords };
|
|
27
24
|
//# sourceMappingURL=find-records.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-records.d.mts","names":[],"sources":["../../src/actions/find-records.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-records.d.mts","names":[],"sources":["../../src/actions/find-records.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-records.mjs","names":[],"sources":["../../src/actions/find-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmFindRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. Default: 1 if not specified.\").optional(),\n query: z.string().describe(\"Search query to narrow records returned. Either recordId or query must be specified to perform the search.\").optional(),\n folder_id: z.string().describe(\"Folder ID to find records in. This identifies the folder within NetHunt CRM where the search will be performed.\"),\n record_id: z.string().describe(\"Record ID if available. Either recordId or query must be specified to perform the search.\").optional(),\n}).describe(\"Request parameters for finding records in NetHunt CRM.\");\nconst NethuntCrmFindRecords_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 for the record.\").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(\"A single record from NetHunt CRM.\");\nexport const NethuntCrmFindRecordsOutput = z.object({\n records: z.array(NethuntCrmFindRecords_RecordSchema).describe(\"List of records matching the search criteria.\"),\n}).passthrough().describe(\"Response from NetHunt CRM after searching for records.\");\n\nexport const nethuntCrmFindRecords = action(\"NETHUNT_CRM_FIND_RECORDS\", {\n slug: \"nethunt_crm-find-records\",\n name: \"Find Records\",\n description: \"Tool to find records by ID or text query in NetHunt CRM. Search for records within a folder using record ID or search query. Use when you need to locate specific records in a folder.\",\n input: NethuntCrmFindRecordsInput,\n output: NethuntCrmFindRecordsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-records.mjs","names":[],"sources":["../../src/actions/find-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 NethuntCrmFindRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. Default: 1 if not specified.\").optional(),\n query: z.string().describe(\"Search query to narrow records returned. Either recordId or query must be specified to perform the search.\").optional(),\n folder_id: z.string().describe(\"Folder ID to find records in. This identifies the folder within NetHunt CRM where the search will be performed.\"),\n record_id: z.string().describe(\"Record ID if available. Either recordId or query must be specified to perform the search.\").optional(),\n}).describe(\"Request parameters for finding records in NetHunt CRM.\");\nconst NethuntCrmFindRecords_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 for the record.\").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(\"A single record from NetHunt CRM.\");\nexport const NethuntCrmFindRecordsOutput = z.object({\n records: z.array(NethuntCrmFindRecords_RecordSchema).describe(\"List of records matching the search criteria.\"),\n}).passthrough().describe(\"Response from NetHunt CRM after searching for records.\");\n\nexport const nethuntCrmFindRecords: AppAction<\n typeof NethuntCrmFindRecordsInput,\n typeof NethuntCrmFindRecordsOutput,\n typeof nethuntCrm.credential\n> = action(\"NETHUNT_CRM_FIND_RECORDS\", {\n slug: \"nethunt_crm-find-records\",\n name: \"Find Records\",\n description: \"Tool to find records by ID or text query in NetHunt CRM. Search for records within a folder using record ID or search query. Use when you need to locate specific records in a folder.\",\n input: NethuntCrmFindRecordsInput,\n output: NethuntCrmFindRecordsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;CAChJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-call-logs.cjs","names":["z","action"],"sources":["../../src/actions/get-new-call-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewCallLogsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of call logs to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only call logs created after this time are returned. Default: 24 hours before time of request\").optional(),\n folderId: z.string().describe(\"Folder ID to find new call logs in\"),\n}).describe(\"Request model for getting new call logs.\");\nconst NethuntCrmGetNewCallLogs_CallLogSchema = z.object({\n id: z.string().describe(\"For internal use only\").nullable().optional(),\n text: z.string().describe(\"Comment text\").nullable().optional(),\n time: z.string().describe(\"Time when logged call started\").nullable().optional(),\n endTime: z.string().describe(\"Time when logged call ended\").nullable().optional(),\n duration: z.number().describe(\"Call duration\").nullable().optional(),\n recordId: z.string().describe(\"Record ID\").nullable().optional(),\n callLogId: z.string().describe(\"Call log ID\").nullable().optional(),\n createdAt: z.string().describe(\"Time when call log is created\").nullable().optional(),\n}).passthrough().describe(\"Call log information.\");\nexport const NethuntCrmGetNewCallLogsOutput = z.object({\n call_logs: z.array(NethuntCrmGetNewCallLogs_CallLogSchema).describe(\"List of call logs\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting new call logs.\");\n\nexport const nethuntCrmGetNewCallLogs = action(\"NETHUNT_CRM_GET_NEW_CALL_LOGS\", {\n slug: \"nethunt_crm-get-new-call-logs\",\n name: \"Get New Call Logs\",\n description: \"Find recently created call logs in NetHunt CRM. Returns call logs created after a specified time. Use when you need to retrieve new call activity from a specific folder.\",\n input: NethuntCrmGetNewCallLogsInput,\n output: NethuntCrmGetNewCallLogsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-new-call-logs.cjs","names":["z","action"],"sources":["../../src/actions/get-new-call-logs.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 NethuntCrmGetNewCallLogsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of call logs to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only call logs created after this time are returned. Default: 24 hours before time of request\").optional(),\n folderId: z.string().describe(\"Folder ID to find new call logs in\"),\n}).describe(\"Request model for getting new call logs.\");\nconst NethuntCrmGetNewCallLogs_CallLogSchema = z.object({\n id: z.string().describe(\"For internal use only\").nullable().optional(),\n text: z.string().describe(\"Comment text\").nullable().optional(),\n time: z.string().describe(\"Time when logged call started\").nullable().optional(),\n endTime: z.string().describe(\"Time when logged call ended\").nullable().optional(),\n duration: z.number().describe(\"Call duration\").nullable().optional(),\n recordId: z.string().describe(\"Record ID\").nullable().optional(),\n callLogId: z.string().describe(\"Call log ID\").nullable().optional(),\n createdAt: z.string().describe(\"Time when call log is created\").nullable().optional(),\n}).passthrough().describe(\"Call log information.\");\nexport const NethuntCrmGetNewCallLogsOutput = z.object({\n call_logs: z.array(NethuntCrmGetNewCallLogs_CallLogSchema).describe(\"List of call logs\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting new call logs.\");\n\nexport const nethuntCrmGetNewCallLogs: AppAction<\n typeof NethuntCrmGetNewCallLogsInput,\n typeof NethuntCrmGetNewCallLogsOutput,\n typeof nethuntCrm.credential\n> = action(\"NETHUNT_CRM_GET_NEW_CALL_LOGS\", {\n slug: \"nethunt_crm-get-new-call-logs\",\n name: \"Get New Call Logs\",\n description: \"Find recently created call logs in NetHunt CRM. Returns call logs created after a specified time. Use when you need to retrieve new call activity from a specific folder.\",\n input: NethuntCrmGetNewCallLogsInput,\n output: NethuntCrmGetNewCallLogsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACrI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AACpE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,WAAWA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,2BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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-call-logs.d.ts
|
|
@@ -18,11 +20,7 @@ declare const NethuntCrmGetNewCallLogsOutput: z.ZodObject<{
|
|
|
18
20
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
}, z.core.$loose>>>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const nethuntCrmGetNewCallLogs:
|
|
22
|
-
folderId: string;
|
|
23
|
-
limit?: number | undefined;
|
|
24
|
-
since?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const nethuntCrmGetNewCallLogs: AppAction<typeof NethuntCrmGetNewCallLogsInput, typeof NethuntCrmGetNewCallLogsOutput, typeof nethuntCrm.credential>;
|
|
26
24
|
//#endregion
|
|
27
25
|
export { nethuntCrmGetNewCallLogs };
|
|
28
26
|
//# sourceMappingURL=get-new-call-logs.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-call-logs.d.cts","names":[],"sources":["../../src/actions/get-new-call-logs.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-new-call-logs.d.cts","names":[],"sources":["../../src/actions/get-new-call-logs.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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-call-logs.d.ts
|
|
@@ -18,11 +20,7 @@ declare const NethuntCrmGetNewCallLogsOutput: z.ZodObject<{
|
|
|
18
20
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
}, z.core.$loose>>>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const nethuntCrmGetNewCallLogs:
|
|
22
|
-
folderId: string;
|
|
23
|
-
limit?: number | undefined;
|
|
24
|
-
since?: string | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const nethuntCrmGetNewCallLogs: AppAction<typeof NethuntCrmGetNewCallLogsInput, typeof NethuntCrmGetNewCallLogsOutput, typeof nethuntCrm.credential>;
|
|
26
24
|
//#endregion
|
|
27
25
|
export { nethuntCrmGetNewCallLogs };
|
|
28
26
|
//# sourceMappingURL=get-new-call-logs.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-call-logs.d.mts","names":[],"sources":["../../src/actions/get-new-call-logs.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-new-call-logs.d.mts","names":[],"sources":["../../src/actions/get-new-call-logs.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-call-logs.mjs","names":[],"sources":["../../src/actions/get-new-call-logs.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewCallLogsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of call logs to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only call logs created after this time are returned. Default: 24 hours before time of request\").optional(),\n folderId: z.string().describe(\"Folder ID to find new call logs in\"),\n}).describe(\"Request model for getting new call logs.\");\nconst NethuntCrmGetNewCallLogs_CallLogSchema = z.object({\n id: z.string().describe(\"For internal use only\").nullable().optional(),\n text: z.string().describe(\"Comment text\").nullable().optional(),\n time: z.string().describe(\"Time when logged call started\").nullable().optional(),\n endTime: z.string().describe(\"Time when logged call ended\").nullable().optional(),\n duration: z.number().describe(\"Call duration\").nullable().optional(),\n recordId: z.string().describe(\"Record ID\").nullable().optional(),\n callLogId: z.string().describe(\"Call log ID\").nullable().optional(),\n createdAt: z.string().describe(\"Time when call log is created\").nullable().optional(),\n}).passthrough().describe(\"Call log information.\");\nexport const NethuntCrmGetNewCallLogsOutput = z.object({\n call_logs: z.array(NethuntCrmGetNewCallLogs_CallLogSchema).describe(\"List of call logs\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting new call logs.\");\n\nexport const nethuntCrmGetNewCallLogs = action(\"NETHUNT_CRM_GET_NEW_CALL_LOGS\", {\n slug: \"nethunt_crm-get-new-call-logs\",\n name: \"Get New Call Logs\",\n description: \"Find recently created call logs in NetHunt CRM. Returns call logs created after a specified time. Use when you need to retrieve new call activity from a specific folder.\",\n input: NethuntCrmGetNewCallLogsInput,\n output: NethuntCrmGetNewCallLogsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-new-call-logs.mjs","names":[],"sources":["../../src/actions/get-new-call-logs.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 NethuntCrmGetNewCallLogsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of call logs to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only call logs created after this time are returned. Default: 24 hours before time of request\").optional(),\n folderId: z.string().describe(\"Folder ID to find new call logs in\"),\n}).describe(\"Request model for getting new call logs.\");\nconst NethuntCrmGetNewCallLogs_CallLogSchema = z.object({\n id: z.string().describe(\"For internal use only\").nullable().optional(),\n text: z.string().describe(\"Comment text\").nullable().optional(),\n time: z.string().describe(\"Time when logged call started\").nullable().optional(),\n endTime: z.string().describe(\"Time when logged call ended\").nullable().optional(),\n duration: z.number().describe(\"Call duration\").nullable().optional(),\n recordId: z.string().describe(\"Record ID\").nullable().optional(),\n callLogId: z.string().describe(\"Call log ID\").nullable().optional(),\n createdAt: z.string().describe(\"Time when call log is created\").nullable().optional(),\n}).passthrough().describe(\"Call log information.\");\nexport const NethuntCrmGetNewCallLogsOutput = z.object({\n call_logs: z.array(NethuntCrmGetNewCallLogs_CallLogSchema).describe(\"List of call logs\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting new call logs.\");\n\nexport const nethuntCrmGetNewCallLogs: AppAction<\n typeof NethuntCrmGetNewCallLogsInput,\n typeof NethuntCrmGetNewCallLogsOutput,\n typeof nethuntCrm.credential\n> = action(\"NETHUNT_CRM_GET_NEW_CALL_LOGS\", {\n slug: \"nethunt_crm-get-new-call-logs\",\n name: \"Get New Call Logs\",\n description: \"Find recently created call logs in NetHunt CRM. Returns call logs created after a specified time. Use when you need to retrieve new call activity from a specific folder.\",\n input: NethuntCrmGetNewCallLogsInput,\n output: NethuntCrmGetNewCallLogsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACrI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AACpE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AAKjD,MAAa,2BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,WAAW,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-comments.cjs","names":["z","action"],"sources":["../../src/actions/get-new-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewCommentsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of record comments to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only record comments created after this time are returned. Default: 24 hours before time of request. Use ISO 8601 format (e.g., '2024-01-15T10:30:00Z')\").optional(),\n folderId: z.string().describe(\"Folder ID to find new record comments in\"),\n}).describe(\"Request model for fetching new record comments from a NetHunt CRM folder.\");\nconst NethuntCrmGetNewComments_CommentItemSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable(),\n text: z.string().describe(\"Comment text\").nullable(),\n recordId: z.string().describe(\"Record ID\").nullable(),\n commentId: z.string().describe(\"Comment ID\").nullable(),\n createdAt: z.string().describe(\"Time of comment creation in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Record comment object with ID, text, and metadata.\");\nexport const NethuntCrmGetNewCommentsOutput = z.object({\n comments: z.array(NethuntCrmGetNewComments_CommentItemSchema).describe(\"List of record comments created after the specified time\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of new record comments.\");\n\nexport const nethuntCrmGetNewComments = action(\"NETHUNT_CRM_GET_NEW_COMMENTS\", {\n slug: \"nethunt_crm-get-new-comments\",\n name: \"Get New Comments\",\n description: \"Tool to find recently created record comments in a NetHunt CRM folder. Returns comments created after a specified time (defaults to last 24 hours).\",\n input: NethuntCrmGetNewCommentsInput,\n output: NethuntCrmGetNewCommentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-new-comments.cjs","names":["z","action"],"sources":["../../src/actions/get-new-comments.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 NethuntCrmGetNewCommentsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of record comments to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only record comments created after this time are returned. Default: 24 hours before time of request. Use ISO 8601 format (e.g., '2024-01-15T10:30:00Z')\").optional(),\n folderId: z.string().describe(\"Folder ID to find new record comments in\"),\n}).describe(\"Request model for fetching new record comments from a NetHunt CRM folder.\");\nconst NethuntCrmGetNewComments_CommentItemSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable(),\n text: z.string().describe(\"Comment text\").nullable(),\n recordId: z.string().describe(\"Record ID\").nullable(),\n commentId: z.string().describe(\"Comment ID\").nullable(),\n createdAt: z.string().describe(\"Time of comment creation in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Record comment object with ID, text, and metadata.\");\nexport const NethuntCrmGetNewCommentsOutput = z.object({\n comments: z.array(NethuntCrmGetNewComments_CommentItemSchema).describe(\"List of record comments created after the specified time\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of new record comments.\");\n\nexport const nethuntCrmGetNewComments: AppAction<\n typeof NethuntCrmGetNewCommentsInput,\n typeof NethuntCrmGetNewCommentsOutput,\n typeof nethuntCrm.credential\n> = action(\"NETHUNT_CRM_GET_NEW_COMMENTS\", {\n slug: \"nethunt_crm-get-new-comments\",\n name: \"Get New Comments\",\n description: \"Tool to find recently created record comments in a NetHunt CRM folder. Returns comments created after a specified time (defaults to last 24 hours).\",\n input: NethuntCrmGetNewCommentsInput,\n output: NethuntCrmGetNewCommentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC/L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC1E,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,UAAUA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,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-comments.d.ts
|
|
@@ -15,11 +17,7 @@ declare const NethuntCrmGetNewCommentsOutput: z.ZodObject<{
|
|
|
15
17
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>>>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const nethuntCrmGetNewComments:
|
|
19
|
-
folderId: string;
|
|
20
|
-
limit?: number | undefined;
|
|
21
|
-
since?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const nethuntCrmGetNewComments: AppAction<typeof NethuntCrmGetNewCommentsInput, typeof NethuntCrmGetNewCommentsOutput, typeof nethuntCrm.credential>;
|
|
23
21
|
//#endregion
|
|
24
22
|
export { nethuntCrmGetNewComments };
|
|
25
23
|
//# sourceMappingURL=get-new-comments.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-comments.d.cts","names":[],"sources":["../../src/actions/get-new-comments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-new-comments.d.cts","names":[],"sources":["../../src/actions/get-new-comments.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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-comments.d.ts
|
|
@@ -15,11 +17,7 @@ declare const NethuntCrmGetNewCommentsOutput: z.ZodObject<{
|
|
|
15
17
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
16
18
|
}, z.core.$loose>>>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const nethuntCrmGetNewComments:
|
|
19
|
-
folderId: string;
|
|
20
|
-
limit?: number | undefined;
|
|
21
|
-
since?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
20
|
+
declare const nethuntCrmGetNewComments: AppAction<typeof NethuntCrmGetNewCommentsInput, typeof NethuntCrmGetNewCommentsOutput, typeof nethuntCrm.credential>;
|
|
23
21
|
//#endregion
|
|
24
22
|
export { nethuntCrmGetNewComments };
|
|
25
23
|
//# sourceMappingURL=get-new-comments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-comments.d.mts","names":[],"sources":["../../src/actions/get-new-comments.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-new-comments.d.mts","names":[],"sources":["../../src/actions/get-new-comments.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,UAAA,CAAW,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-comments.mjs","names":[],"sources":["../../src/actions/get-new-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewCommentsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of record comments to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only record comments created after this time are returned. Default: 24 hours before time of request. Use ISO 8601 format (e.g., '2024-01-15T10:30:00Z')\").optional(),\n folderId: z.string().describe(\"Folder ID to find new record comments in\"),\n}).describe(\"Request model for fetching new record comments from a NetHunt CRM folder.\");\nconst NethuntCrmGetNewComments_CommentItemSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable(),\n text: z.string().describe(\"Comment text\").nullable(),\n recordId: z.string().describe(\"Record ID\").nullable(),\n commentId: z.string().describe(\"Comment ID\").nullable(),\n createdAt: z.string().describe(\"Time of comment creation in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Record comment object with ID, text, and metadata.\");\nexport const NethuntCrmGetNewCommentsOutput = z.object({\n comments: z.array(NethuntCrmGetNewComments_CommentItemSchema).describe(\"List of record comments created after the specified time\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of new record comments.\");\n\nexport const nethuntCrmGetNewComments = action(\"NETHUNT_CRM_GET_NEW_COMMENTS\", {\n slug: \"nethunt_crm-get-new-comments\",\n name: \"Get New Comments\",\n description: \"Tool to find recently created record comments in a NetHunt CRM folder. Returns comments created after a specified time (defaults to last 24 hours).\",\n input: NethuntCrmGetNewCommentsInput,\n output: NethuntCrmGetNewCommentsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-new-comments.mjs","names":[],"sources":["../../src/actions/get-new-comments.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 NethuntCrmGetNewCommentsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of record comments to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only record comments created after this time are returned. Default: 24 hours before time of request. Use ISO 8601 format (e.g., '2024-01-15T10:30:00Z')\").optional(),\n folderId: z.string().describe(\"Folder ID to find new record comments in\"),\n}).describe(\"Request model for fetching new record comments from a NetHunt CRM folder.\");\nconst NethuntCrmGetNewComments_CommentItemSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable(),\n text: z.string().describe(\"Comment text\").nullable(),\n recordId: z.string().describe(\"Record ID\").nullable(),\n commentId: z.string().describe(\"Comment ID\").nullable(),\n createdAt: z.string().describe(\"Time of comment creation in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Record comment object with ID, text, and metadata.\");\nexport const NethuntCrmGetNewCommentsOutput = z.object({\n comments: z.array(NethuntCrmGetNewComments_CommentItemSchema).describe(\"List of record comments created after the specified time\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of new record comments.\");\n\nexport const nethuntCrmGetNewComments: AppAction<\n typeof NethuntCrmGetNewCommentsInput,\n typeof NethuntCrmGetNewCommentsOutput,\n typeof nethuntCrm.credential\n> = action(\"NETHUNT_CRM_GET_NEW_COMMENTS\", {\n slug: \"nethunt_crm-get-new-comments\",\n name: \"Get New Comments\",\n description: \"Tool to find recently created record comments in a NetHunt CRM folder. Returns comments created after a specified time (defaults to last 24 hours).\",\n input: NethuntCrmGetNewCommentsInput,\n output: NethuntCrmGetNewCommentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC/L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC1E,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAK9E,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,UAAU,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-gdrive-files.cjs","names":["z","action"],"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.cjs","names":["z","action"],"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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAClK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CAC3L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACjJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,OAAOA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iKAAiK,EAC7O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,8BAITC,eAAAA,OAAO,oCAAoC;CAC7C,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-gdrive-files.d.ts
|
|
@@ -20,11 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const nethuntCrmGetNewGdriveFiles: AppAction<typeof NethuntCrmGetNewGdriveFilesInput, typeof NethuntCrmGetNewGdriveFilesOutput, typeof nethuntCrm.credential>;
|
|
28
26
|
//#endregion
|
|
29
27
|
export { nethuntCrmGetNewGdriveFiles };
|
|
30
28
|
//# sourceMappingURL=get-new-gdrive-files.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-gdrive-files.d.cts","names":[],"sources":["../../src/actions/get-new-gdrive-files.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-new-gdrive-files.d.cts","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,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,11 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
25
|
+
declare const nethuntCrmGetNewGdriveFiles: AppAction<typeof NethuntCrmGetNewGdriveFilesInput, typeof NethuntCrmGetNewGdriveFilesOutput, typeof nethuntCrm.credential>;
|
|
28
26
|
//#endregion
|
|
29
27
|
export { nethuntCrmGetNewGdriveFiles };
|
|
30
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,11 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const nethuntCrmGetNewRecords: AppAction<typeof NethuntCrmGetNewRecordsInput, typeof NethuntCrmGetNewRecordsOutput, typeof nethuntCrm.credential>;
|
|
22
20
|
//#endregion
|
|
23
21
|
export { nethuntCrmGetNewRecords };
|
|
24
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"}
|