@keystrokehq/nethunt_crm 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/delete-record.cjs +1 -1
- package/dist/actions/delete-record.cjs.map +1 -1
- package/dist/actions/delete-record.d.cts +1 -1
- package/dist/actions/delete-record.d.mts +1 -1
- package/dist/actions/delete-record.mjs +1 -1
- package/dist/actions/delete-record.mjs.map +1 -1
- package/dist/actions/find-records.cjs +2 -2
- package/dist/actions/find-records.cjs.map +1 -1
- package/dist/actions/find-records.d.cts +2 -2
- package/dist/actions/find-records.d.mts +2 -2
- package/dist/actions/find-records.mjs +2 -2
- package/dist/actions/find-records.mjs.map +1 -1
- package/dist/actions/get-new-call-logs.cjs +2 -2
- package/dist/actions/get-new-call-logs.cjs.map +1 -1
- package/dist/actions/get-new-call-logs.d.cts +2 -2
- package/dist/actions/get-new-call-logs.d.mts +2 -2
- package/dist/actions/get-new-call-logs.mjs +2 -2
- package/dist/actions/get-new-call-logs.mjs.map +1 -1
- package/dist/actions/get-new-comments.cjs +2 -2
- package/dist/actions/get-new-comments.cjs.map +1 -1
- package/dist/actions/get-new-comments.d.cts +2 -2
- package/dist/actions/get-new-comments.d.mts +2 -2
- package/dist/actions/get-new-comments.mjs +2 -2
- package/dist/actions/get-new-comments.mjs.map +1 -1
- package/dist/actions/get-new-gdrive-files.cjs +2 -2
- package/dist/actions/get-new-gdrive-files.cjs.map +1 -1
- package/dist/actions/get-new-gdrive-files.d.cts +2 -2
- package/dist/actions/get-new-gdrive-files.d.mts +2 -2
- package/dist/actions/get-new-gdrive-files.mjs +2 -2
- package/dist/actions/get-new-gdrive-files.mjs.map +1 -1
- package/dist/actions/get-new-records.cjs +3 -3
- package/dist/actions/get-new-records.cjs.map +1 -1
- package/dist/actions/get-new-records.d.cts +3 -3
- package/dist/actions/get-new-records.d.mts +3 -3
- package/dist/actions/get-new-records.mjs +3 -3
- package/dist/actions/get-new-records.mjs.map +1 -1
- package/dist/actions/get-record-changes.cjs +3 -3
- package/dist/actions/get-record-changes.cjs.map +1 -1
- package/dist/actions/get-record-changes.d.cts +3 -3
- package/dist/actions/get-record-changes.d.mts +3 -3
- package/dist/actions/get-record-changes.mjs +3 -3
- package/dist/actions/get-record-changes.mjs.map +1 -1
- package/dist/actions/get-updated-records.cjs +3 -3
- package/dist/actions/get-updated-records.cjs.map +1 -1
- package/dist/actions/get-updated-records.d.cts +3 -3
- package/dist/actions/get-updated-records.d.mts +3 -3
- package/dist/actions/get-updated-records.mjs +3 -3
- package/dist/actions/get-updated-records.mjs.map +1 -1
- package/dist/actions/list-readable-folders.cjs +2 -2
- package/dist/actions/list-readable-folders.cjs.map +1 -1
- package/dist/actions/list-readable-folders.d.cts +2 -2
- package/dist/actions/list-readable-folders.d.mts +2 -2
- package/dist/actions/list-readable-folders.mjs +2 -2
- package/dist/actions/list-readable-folders.mjs.map +1 -1
- package/dist/actions/list-writable-folders.cjs +2 -2
- package/dist/actions/list-writable-folders.cjs.map +1 -1
- package/dist/actions/list-writable-folders.d.cts +2 -2
- package/dist/actions/list-writable-folders.d.mts +2 -2
- package/dist/actions/list-writable-folders.mjs +2 -2
- package/dist/actions/list-writable-folders.mjs.map +1 -1
- package/dist/actions/test-auth.cjs +2 -2
- package/dist/actions/test-auth.cjs.map +1 -1
- package/dist/actions/test-auth.d.cts +2 -2
- package/dist/actions/test-auth.d.mts +2 -2
- package/dist/actions/test-auth.mjs +2 -2
- package/dist/actions/test-auth.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ const NethuntCrmDeleteRecordInput = zod.z.object({ record_id: zod.z.string().des
|
|
|
5
5
|
const NethuntCrmDeleteRecordOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Status message about the deletion operation").nullable(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates whether the deletion was successful").nullable()
|
|
8
|
-
}).describe("Response model for delete record operation.");
|
|
8
|
+
}).passthrough().describe("Response model for delete record operation.");
|
|
9
9
|
const nethuntCrmDeleteRecord = require_action.action("NETHUNT_CRM_DELETE_RECORD", {
|
|
10
10
|
slug: "nethunt_crm-delete-record",
|
|
11
11
|
name: "Delete Record",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,6CAA6C;
|
|
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":";;;AAIA,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,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const NethuntCrmDeleteRecordInput: z.ZodObject<{
|
|
|
7
7
|
declare const NethuntCrmDeleteRecordOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const nethuntCrmDeleteRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
record_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const NethuntCrmDeleteRecordInput: z.ZodObject<{
|
|
|
7
7
|
declare const NethuntCrmDeleteRecordOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const nethuntCrmDeleteRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
record_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const nethuntCrmDeleteRecord = action("NETHUNT_CRM_DELETE_RECORD", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Status message about the deletion operation").nullable(),
|
|
10
10
|
success: z.boolean().describe("Indicates whether the deletion was successful").nullable()
|
|
11
|
-
}).describe("Response model for delete record operation.")
|
|
11
|
+
}).passthrough().describe("Response model for delete record operation.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { nethuntCrmDeleteRecord };
|
|
@@ -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}).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":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAChF,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAV0C,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,SAAS,
|
|
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":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EAChF,CAAC,CAAC,CAAC,SAAS,kDAUH;CACP,QAV0C,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,6CAOhB;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ const NethuntCrmFindRecords_RecordSchema = zod.z.object({
|
|
|
13
13
|
recordId: zod.z.string().describe("Record ID.").nullable().optional(),
|
|
14
14
|
createdAt: zod.z.string().describe("Time of record creation in ISO 8601 format.").nullable().optional(),
|
|
15
15
|
updatedAt: zod.z.string().describe("Time of last record update in ISO 8601 format.").nullable().optional()
|
|
16
|
-
}).describe("A single record from NetHunt CRM.");
|
|
17
|
-
const NethuntCrmFindRecordsOutput = zod.z.object({ records: zod.z.array(NethuntCrmFindRecords_RecordSchema).describe("List of records matching the search criteria.") }).describe("Response from NetHunt CRM after searching for records.");
|
|
16
|
+
}).passthrough().describe("A single record from NetHunt CRM.");
|
|
17
|
+
const NethuntCrmFindRecordsOutput = zod.z.object({ records: zod.z.array(NethuntCrmFindRecords_RecordSchema).describe("List of records matching the search criteria.") }).passthrough().describe("Response from NetHunt CRM after searching for records.");
|
|
18
18
|
const nethuntCrmFindRecords = require_action.action("NETHUNT_CRM_FIND_RECORDS", {
|
|
19
19
|
slug: "nethunt_crm-find-records",
|
|
20
20
|
name: "Find Records",
|
|
@@ -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}).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}).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":";;;AAIA,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,SAAS,mCAAmC;
|
|
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":";;;AAIA,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,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,8 +14,8 @@ declare const NethuntCrmFindRecordsOutput: z.ZodObject<{
|
|
|
14
14
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const nethuntCrmFindRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
folder_id: string;
|
|
21
21
|
limit?: number | undefined;
|
|
@@ -14,8 +14,8 @@ declare const NethuntCrmFindRecordsOutput: z.ZodObject<{
|
|
|
14
14
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const nethuntCrmFindRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
folder_id: string;
|
|
21
21
|
limit?: number | undefined;
|
|
@@ -13,13 +13,13 @@ const NethuntCrmFindRecords_RecordSchema = z.object({
|
|
|
13
13
|
recordId: z.string().describe("Record ID.").nullable().optional(),
|
|
14
14
|
createdAt: z.string().describe("Time of record creation in ISO 8601 format.").nullable().optional(),
|
|
15
15
|
updatedAt: z.string().describe("Time of last record update in ISO 8601 format.").nullable().optional()
|
|
16
|
-
}).describe("A single record from NetHunt CRM.");
|
|
16
|
+
}).passthrough().describe("A single record from NetHunt CRM.");
|
|
17
17
|
const nethuntCrmFindRecords = action("NETHUNT_CRM_FIND_RECORDS", {
|
|
18
18
|
slug: "nethunt_crm-find-records",
|
|
19
19
|
name: "Find Records",
|
|
20
20
|
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.",
|
|
21
21
|
input: NethuntCrmFindRecordsInput,
|
|
22
|
-
output: z.object({ records: z.array(NethuntCrmFindRecords_RecordSchema).describe("List of records matching the search criteria.") }).describe("Response from NetHunt CRM after searching for records.")
|
|
22
|
+
output: z.object({ records: z.array(NethuntCrmFindRecords_RecordSchema).describe("List of records matching the search criteria.") }).passthrough().describe("Response from NetHunt CRM after searching for records.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { nethuntCrmFindRecords };
|
|
@@ -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}).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}).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":";;;AAIA,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,SAAS,mCAAmC;
|
|
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":";;;AAIA,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,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -15,8 +15,8 @@ const NethuntCrmGetNewCallLogs_CallLogSchema = zod.z.object({
|
|
|
15
15
|
recordId: zod.z.string().describe("Record ID").nullable().optional(),
|
|
16
16
|
callLogId: zod.z.string().describe("Call log ID").nullable().optional(),
|
|
17
17
|
createdAt: zod.z.string().describe("Time when call log is created").nullable().optional()
|
|
18
|
-
}).describe("Call log information.");
|
|
19
|
-
const NethuntCrmGetNewCallLogsOutput = zod.z.object({ call_logs: zod.z.array(NethuntCrmGetNewCallLogs_CallLogSchema).describe("List of call logs").nullable().optional() }).describe("Response model for getting new call logs.");
|
|
18
|
+
}).passthrough().describe("Call log information.");
|
|
19
|
+
const NethuntCrmGetNewCallLogsOutput = zod.z.object({ call_logs: zod.z.array(NethuntCrmGetNewCallLogs_CallLogSchema).describe("List of call logs").nullable().optional() }).passthrough().describe("Response model for getting new call logs.");
|
|
20
20
|
const nethuntCrmGetNewCallLogs = require_action.action("NETHUNT_CRM_GET_NEW_CALL_LOGS", {
|
|
21
21
|
slug: "nethunt_crm-get-new-call-logs",
|
|
22
22
|
name: "Get New Call Logs",
|
|
@@ -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}).describe(\"Call log information.\");\nexport const NethuntCrmGetNewCallLogsOutput = z.object({\n call_logs: z.array(NethuntCrmGetNewCallLogs_CallLogSchema).describe(\"List of call logs\").nullable().optional(),\n}).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":";;;AAIA,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,SAAS,uBAAuB;
|
|
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":";;;AAIA,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,2BAA2BC,eAAAA,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,8 +16,8 @@ declare const NethuntCrmGetNewCallLogsOutput: z.ZodObject<{
|
|
|
16
16
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
callLogId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const nethuntCrmGetNewCallLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
folderId: string;
|
|
23
23
|
limit?: number | undefined;
|
|
@@ -16,8 +16,8 @@ declare const NethuntCrmGetNewCallLogsOutput: z.ZodObject<{
|
|
|
16
16
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
callLogId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const nethuntCrmGetNewCallLogs: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
folderId: string;
|
|
23
23
|
limit?: number | undefined;
|
|
@@ -15,13 +15,13 @@ const NethuntCrmGetNewCallLogs_CallLogSchema = z.object({
|
|
|
15
15
|
recordId: z.string().describe("Record ID").nullable().optional(),
|
|
16
16
|
callLogId: z.string().describe("Call log ID").nullable().optional(),
|
|
17
17
|
createdAt: z.string().describe("Time when call log is created").nullable().optional()
|
|
18
|
-
}).describe("Call log information.");
|
|
18
|
+
}).passthrough().describe("Call log information.");
|
|
19
19
|
const nethuntCrmGetNewCallLogs = action("NETHUNT_CRM_GET_NEW_CALL_LOGS", {
|
|
20
20
|
slug: "nethunt_crm-get-new-call-logs",
|
|
21
21
|
name: "Get New Call Logs",
|
|
22
22
|
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.",
|
|
23
23
|
input: NethuntCrmGetNewCallLogsInput,
|
|
24
|
-
output: z.object({ call_logs: z.array(NethuntCrmGetNewCallLogs_CallLogSchema).describe("List of call logs").nullable().optional() }).describe("Response model for getting new call logs.")
|
|
24
|
+
output: z.object({ call_logs: z.array(NethuntCrmGetNewCallLogs_CallLogSchema).describe("List of call logs").nullable().optional() }).passthrough().describe("Response model for getting new call logs.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { nethuntCrmGetNewCallLogs };
|
|
@@ -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}).describe(\"Call log information.\");\nexport const NethuntCrmGetNewCallLogsOutput = z.object({\n call_logs: z.array(NethuntCrmGetNewCallLogs_CallLogSchema).describe(\"List of call logs\").nullable().optional(),\n}).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":";;;AAIA,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,SAAS,uBAAuB;
|
|
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":";;;AAIA,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,2BAA2B,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,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,2CAOhB;AACV,CAAC"}
|
|
@@ -12,8 +12,8 @@ const NethuntCrmGetNewComments_CommentItemSchema = zod.z.object({
|
|
|
12
12
|
recordId: zod.z.string().describe("Record ID").nullable(),
|
|
13
13
|
commentId: zod.z.string().describe("Comment ID").nullable(),
|
|
14
14
|
createdAt: zod.z.string().describe("Time of comment creation in ISO 8601 format").nullable()
|
|
15
|
-
}).describe("Record comment object with ID, text, and metadata.");
|
|
16
|
-
const NethuntCrmGetNewCommentsOutput = zod.z.object({ comments: zod.z.array(NethuntCrmGetNewComments_CommentItemSchema).describe("List of record comments created after the specified time").nullable().optional() }).describe("Response model containing list of new record comments.");
|
|
15
|
+
}).passthrough().describe("Record comment object with ID, text, and metadata.");
|
|
16
|
+
const NethuntCrmGetNewCommentsOutput = zod.z.object({ comments: zod.z.array(NethuntCrmGetNewComments_CommentItemSchema).describe("List of record comments created after the specified time").nullable().optional() }).passthrough().describe("Response model containing list of new record comments.");
|
|
17
17
|
const nethuntCrmGetNewComments = require_action.action("NETHUNT_CRM_GET_NEW_COMMENTS", {
|
|
18
18
|
slug: "nethunt_crm-get-new-comments",
|
|
19
19
|
name: "Get New Comments",
|
|
@@ -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}).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}).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":";;;AAIA,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,SAAS,oDAAoD;
|
|
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":";;;AAIA,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,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,8 +13,8 @@ declare const NethuntCrmGetNewCommentsOutput: z.ZodObject<{
|
|
|
13
13
|
recordId: z.ZodNullable<z.ZodString>;
|
|
14
14
|
commentId: z.ZodNullable<z.ZodString>;
|
|
15
15
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const nethuntCrmGetNewComments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
folderId: string;
|
|
20
20
|
limit?: number | undefined;
|
|
@@ -13,8 +13,8 @@ declare const NethuntCrmGetNewCommentsOutput: z.ZodObject<{
|
|
|
13
13
|
recordId: z.ZodNullable<z.ZodString>;
|
|
14
14
|
commentId: z.ZodNullable<z.ZodString>;
|
|
15
15
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
17
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>>>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const nethuntCrmGetNewComments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
folderId: string;
|
|
20
20
|
limit?: number | undefined;
|
|
@@ -12,13 +12,13 @@ const NethuntCrmGetNewComments_CommentItemSchema = z.object({
|
|
|
12
12
|
recordId: z.string().describe("Record ID").nullable(),
|
|
13
13
|
commentId: z.string().describe("Comment ID").nullable(),
|
|
14
14
|
createdAt: z.string().describe("Time of comment creation in ISO 8601 format").nullable()
|
|
15
|
-
}).describe("Record comment object with ID, text, and metadata.");
|
|
15
|
+
}).passthrough().describe("Record comment object with ID, text, and metadata.");
|
|
16
16
|
const nethuntCrmGetNewComments = action("NETHUNT_CRM_GET_NEW_COMMENTS", {
|
|
17
17
|
slug: "nethunt_crm-get-new-comments",
|
|
18
18
|
name: "Get New Comments",
|
|
19
19
|
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).",
|
|
20
20
|
input: NethuntCrmGetNewCommentsInput,
|
|
21
|
-
output: z.object({ comments: z.array(NethuntCrmGetNewComments_CommentItemSchema).describe("List of record comments created after the specified time").nullable().optional() }).describe("Response model containing list of new record comments.")
|
|
21
|
+
output: z.object({ comments: z.array(NethuntCrmGetNewComments_CommentItemSchema).describe("List of record comments created after the specified time").nullable().optional() }).passthrough().describe("Response model containing list of new record comments.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { nethuntCrmGetNewComments };
|
|
@@ -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}).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}).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":";;;AAIA,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,SAAS,oDAAoD;
|
|
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":";;;AAIA,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,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,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,wDAOhB;AACV,CAAC"}
|
|
@@ -17,8 +17,8 @@ const NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema = zod.z.object({
|
|
|
17
17
|
recordId: zod.z.string().describe("Record ID that the file is linked to in NetHunt CRM.").nullable().optional(),
|
|
18
18
|
createdAt: zod.z.string().describe("Time Google Drive file was created. ISO 8601 date-time format.").nullable().optional(),
|
|
19
19
|
googleDriveFileId: zod.z.string().describe("File ID in Google Drive. Use this to access the file directly in Google Drive.").nullable().optional()
|
|
20
|
-
}).describe("Model for a single Google Drive file item.");
|
|
21
|
-
const NethuntCrmGetNewGdriveFilesOutput = zod.z.object({ files: zod.z.array(NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema).describe("Array of Google Drive file objects created after the specified time. Each object contains file metadata and links to both NetHunt CRM records and Google Drive.") }).describe("Response model for getting new Google Drive files.");
|
|
20
|
+
}).passthrough().describe("Model for a single Google Drive file item.");
|
|
21
|
+
const NethuntCrmGetNewGdriveFilesOutput = zod.z.object({ files: zod.z.array(NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema).describe("Array of Google Drive file objects created after the specified time. Each object contains file metadata and links to both NetHunt CRM records and Google Drive.") }).passthrough().describe("Response model for getting new Google Drive files.");
|
|
22
22
|
const nethuntCrmGetNewGdriveFiles = require_action.action("NETHUNT_CRM_GET_NEW_GDRIVE_FILES", {
|
|
23
23
|
slug: "nethunt_crm-get-new-gdrive-files",
|
|
24
24
|
name: "Get New Google Drive Files",
|
|
@@ -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}).describe(\"Model for a single Google Drive file item.\");\nexport const NethuntCrmGetNewGdriveFilesOutput = z.object({\n files: z.array(NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema).describe(\"Array of Google Drive file objects created after the specified time. Each object contains file metadata and links to both NetHunt CRM records and Google Drive.\"),\n}).describe(\"Response model for getting new Google Drive files.\");\n\nexport const nethuntCrmGetNewGdriveFiles = action(\"NETHUNT_CRM_GET_NEW_GDRIVE_FILES\", {\n slug: \"nethunt_crm-get-new-gdrive-files\",\n name: \"Get New Google Drive Files\",\n description: \"Tool to find recently created Google Drive files linked to NetHunt CRM records. Use when you need to retrieve files created after a specific time in a NetHunt folder. Returns file metadata including Google Drive links, MIME types, and associated record IDs. Useful for tracking new document uploads and file attachments.\",\n input: NethuntCrmGetNewGdriveFilesInput,\n output: NethuntCrmGetNewGdriveFilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,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,SAAS,4CAA4C;
|
|
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":";;;AAIA,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,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,8 +18,8 @@ declare const NethuntCrmGetNewGdriveFilesOutput: z.ZodObject<{
|
|
|
18
18
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
googleDriveFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const nethuntCrmGetNewGdriveFiles: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
folderId: string;
|
|
25
25
|
limit?: number | undefined;
|
|
@@ -18,8 +18,8 @@ declare const NethuntCrmGetNewGdriveFilesOutput: z.ZodObject<{
|
|
|
18
18
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
googleDriveFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
-
}, z.core.$
|
|
22
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const nethuntCrmGetNewGdriveFiles: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
folderId: string;
|
|
25
25
|
limit?: number | undefined;
|
|
@@ -17,13 +17,13 @@ const NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema = z.object({
|
|
|
17
17
|
recordId: z.string().describe("Record ID that the file is linked to in NetHunt CRM.").nullable().optional(),
|
|
18
18
|
createdAt: z.string().describe("Time Google Drive file was created. ISO 8601 date-time format.").nullable().optional(),
|
|
19
19
|
googleDriveFileId: z.string().describe("File ID in Google Drive. Use this to access the file directly in Google Drive.").nullable().optional()
|
|
20
|
-
}).describe("Model for a single Google Drive file item.");
|
|
20
|
+
}).passthrough().describe("Model for a single Google Drive file item.");
|
|
21
21
|
const nethuntCrmGetNewGdriveFiles = action("NETHUNT_CRM_GET_NEW_GDRIVE_FILES", {
|
|
22
22
|
slug: "nethunt_crm-get-new-gdrive-files",
|
|
23
23
|
name: "Get New Google Drive Files",
|
|
24
24
|
description: "Tool to find recently created Google Drive files linked to NetHunt CRM records. Use when you need to retrieve files created after a specific time in a NetHunt folder. Returns file metadata including Google Drive links, MIME types, and associated record IDs. Useful for tracking new document uploads and file attachments.",
|
|
25
25
|
input: NethuntCrmGetNewGdriveFilesInput,
|
|
26
|
-
output: z.object({ files: z.array(NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema).describe("Array of Google Drive file objects created after the specified time. Each object contains file metadata and links to both NetHunt CRM records and Google Drive.") }).describe("Response model for getting new Google Drive files.")
|
|
26
|
+
output: z.object({ files: z.array(NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema).describe("Array of Google Drive file objects created after the specified time. Each object contains file metadata and links to both NetHunt CRM records and Google Drive.") }).passthrough().describe("Response model for getting new Google Drive files.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { nethuntCrmGetNewGdriveFiles };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-gdrive-files.mjs","names":[],"sources":["../../src/actions/get-new-gdrive-files.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewGdriveFilesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of Google Drive files to return. Default: No limit. Use this to control pagination and response size.\").optional(),\n since: z.string().describe(\"Only Google Drive files created after this time are returned. Expected format: ISO 8601 date-time string. Default: 24 hours before time of request.\").optional(),\n folderId: z.string().describe(\"Folder ID to find new Google Drive files in. This is the NetHunt CRM folder identifier where files are tracked.\"),\n}).describe(\"Request model for getting new Google Drive files.\");\nconst NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema = z.object({\n id: z.string().describe(\"For internal use only. Internal identifier for the file record.\").nullable().optional(),\n url: z.string().describe(\"URL to view the file in Google Drive. Direct link to access the file.\").nullable().optional(),\n name: z.string().describe(\"File name as stored in Google Drive.\").nullable().optional(),\n fileId: z.string().describe(\"File ID in the NetHunt CRM system.\").nullable().optional(),\n iconUrl: z.string().describe(\"File icon URL pointing to the visual representation of the file type.\").nullable().optional(),\n folderId: z.string().describe(\"Folder ID where the file is located.\").nullable().optional(),\n mimeType: z.string().describe(\"File MIME type indicating the file format (e.g., 'application/pdf', 'image/jpeg').\").nullable().optional(),\n recordId: z.string().describe(\"Record ID that the file is linked to in NetHunt CRM.\").nullable().optional(),\n createdAt: z.string().describe(\"Time Google Drive file was created. ISO 8601 date-time format.\").nullable().optional(),\n googleDriveFileId: z.string().describe(\"File ID in Google Drive. Use this to access the file directly in Google Drive.\").nullable().optional(),\n}).describe(\"Model for a single Google Drive file item.\");\nexport const NethuntCrmGetNewGdriveFilesOutput = z.object({\n files: z.array(NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema).describe(\"Array of Google Drive file objects created after the specified time. Each object contains file metadata and links to both NetHunt CRM records and Google Drive.\"),\n}).describe(\"Response model for getting new Google Drive files.\");\n\nexport const nethuntCrmGetNewGdriveFiles = action(\"NETHUNT_CRM_GET_NEW_GDRIVE_FILES\", {\n slug: \"nethunt_crm-get-new-gdrive-files\",\n name: \"Get New Google Drive Files\",\n description: \"Tool to find recently created Google Drive files linked to NetHunt CRM records. Use when you need to retrieve files created after a specific time in a NetHunt folder. Returns file metadata including Google Drive links, MIME types, and associated record IDs. Useful for tracking new document uploads and file attachments.\",\n input: NethuntCrmGetNewGdriveFilesInput,\n output: NethuntCrmGetNewGdriveFilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAClK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CAC3L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACjJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"get-new-gdrive-files.mjs","names":[],"sources":["../../src/actions/get-new-gdrive-files.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewGdriveFilesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of Google Drive files to return. Default: No limit. Use this to control pagination and response size.\").optional(),\n since: z.string().describe(\"Only Google Drive files created after this time are returned. Expected format: ISO 8601 date-time string. Default: 24 hours before time of request.\").optional(),\n folderId: z.string().describe(\"Folder ID to find new Google Drive files in. This is the NetHunt CRM folder identifier where files are tracked.\"),\n}).describe(\"Request model for getting new Google Drive files.\");\nconst NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema = z.object({\n id: z.string().describe(\"For internal use only. Internal identifier for the file record.\").nullable().optional(),\n url: z.string().describe(\"URL to view the file in Google Drive. Direct link to access the file.\").nullable().optional(),\n name: z.string().describe(\"File name as stored in Google Drive.\").nullable().optional(),\n fileId: z.string().describe(\"File ID in the NetHunt CRM system.\").nullable().optional(),\n iconUrl: z.string().describe(\"File icon URL pointing to the visual representation of the file type.\").nullable().optional(),\n folderId: z.string().describe(\"Folder ID where the file is located.\").nullable().optional(),\n mimeType: z.string().describe(\"File MIME type indicating the file format (e.g., 'application/pdf', 'image/jpeg').\").nullable().optional(),\n recordId: z.string().describe(\"Record ID that the file is linked to in NetHunt CRM.\").nullable().optional(),\n createdAt: z.string().describe(\"Time Google Drive file was created. ISO 8601 date-time format.\").nullable().optional(),\n googleDriveFileId: z.string().describe(\"File ID in Google Drive. Use this to access the file directly in Google Drive.\").nullable().optional(),\n}).passthrough().describe(\"Model for a single Google Drive file item.\");\nexport const NethuntCrmGetNewGdriveFilesOutput = z.object({\n files: z.array(NethuntCrmGetNewGdriveFiles_GdriveFileItemSchema).describe(\"Array of Google Drive file objects created after the specified time. Each object contains file metadata and links to both NetHunt CRM records and Google Drive.\"),\n}).passthrough().describe(\"Response model for getting new Google Drive files.\");\n\nexport const nethuntCrmGetNewGdriveFiles = action(\"NETHUNT_CRM_GET_NEW_GDRIVE_FILES\", {\n slug: \"nethunt_crm-get-new-gdrive-files\",\n name: \"Get New Google Drive Files\",\n description: \"Tool to find recently created Google Drive files linked to NetHunt CRM records. Use when you need to retrieve files created after a specific time in a NetHunt folder. Returns file metadata including Google Drive links, MIME types, and associated record IDs. Useful for tracking new document uploads and file attachments.\",\n input: NethuntCrmGetNewGdriveFilesInput,\n output: NethuntCrmGetNewGdriveFilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAClK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CAC3L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH;AACjJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,iKAAiK,EAC7O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -8,11 +8,11 @@ const NethuntCrmGetNewRecordsInput = zod.z.object({
|
|
|
8
8
|
}).describe("Request model for getting new records.");
|
|
9
9
|
const NethuntCrmGetNewRecords_RecordSchema = zod.z.object({
|
|
10
10
|
id: zod.z.string().describe("For internal purposes only").nullable().optional(),
|
|
11
|
-
fields: zod.z.
|
|
11
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Field names and values. The structure varies based on folder configuration.").nullable().optional(),
|
|
12
12
|
recordId: zod.z.string().describe("Record ID").nullable().optional(),
|
|
13
13
|
createdAt: zod.z.string().describe("Time of record creation in ISO 8601 format").nullable().optional()
|
|
14
|
-
}).describe("Model for a single record.");
|
|
15
|
-
const NethuntCrmGetNewRecordsOutput = zod.z.object({ records: zod.z.array(NethuntCrmGetNewRecords_RecordSchema).describe("List of recently created records from the specified folder").nullable().optional() }).describe("Response model for getting new records.");
|
|
14
|
+
}).passthrough().describe("Model for a single record.");
|
|
15
|
+
const NethuntCrmGetNewRecordsOutput = zod.z.object({ records: zod.z.array(NethuntCrmGetNewRecords_RecordSchema).describe("List of recently created records from the specified folder").nullable().optional() }).passthrough().describe("Response model for getting new records.");
|
|
16
16
|
const nethuntCrmGetNewRecords = require_action.action("NETHUNT_CRM_GET_NEW_RECORDS", {
|
|
17
17
|
slug: "nethunt_crm-get-new-records",
|
|
18
18
|
name: "Get New Records",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-records.cjs","names":["z","action"],"sources":["../../src/actions/get-new-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. If not specified, no limit is applied.\").optional(),\n since: z.string().describe(\"Only records created after this time are returned. If not specified, defaults to 24 hours before time of request. Format: ISO 8601 datetime string.\").optional(),\n folderId: z.string().describe(\"Folder ID to find new records in. This is the unique identifier of the folder containing the records.\"),\n}).describe(\"Request model for getting new records.\");\nconst NethuntCrmGetNewRecords_RecordSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.
|
|
1
|
+
{"version":3,"file":"get-new-records.cjs","names":["z","action"],"sources":["../../src/actions/get-new-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. If not specified, no limit is applied.\").optional(),\n since: z.string().describe(\"Only records created after this time are returned. If not specified, defaults to 24 hours before time of request. Format: ISO 8601 datetime string.\").optional(),\n folderId: z.string().describe(\"Folder ID to find new records in. This is the unique identifier of the folder containing the records.\"),\n}).describe(\"Request model for getting new records.\");\nconst NethuntCrmGetNewRecords_RecordSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Field names and values. The structure varies based on folder configuration.\").nullable().optional(),\n recordId: z.string().describe(\"Record ID\").nullable().optional(),\n createdAt: z.string().describe(\"Time of record creation in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Model for a single record.\");\nexport const NethuntCrmGetNewRecordsOutput = z.object({\n records: z.array(NethuntCrmGetNewRecords_RecordSchema).describe(\"List of recently created records from the specified folder\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting new records.\");\n\nexport const nethuntCrmGetNewRecords = action(\"NETHUNT_CRM_GET_NEW_RECORDS\", {\n slug: \"nethunt_crm-get-new-records\",\n name: \"Get New Records\",\n description: \"Tool to find recently created records in NetHunt CRM. Use when you need to retrieve records that were created after a specific time in a given folder. Returns record details including ID, creation time, and field values. If no 'since' time is specified, returns records from the last 24 hours.\",\n input: NethuntCrmGetNewRecordsInput,\n output: NethuntCrmGetNewRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACzH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CAC3L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;AACvI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,11 +9,11 @@ declare const NethuntCrmGetNewRecordsInput: z.ZodObject<{
|
|
|
9
9
|
declare const NethuntCrmGetNewRecordsOutput: z.ZodObject<{
|
|
10
10
|
records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
11
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
fields: z.ZodOptional<z.ZodNullable<z.
|
|
12
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
13
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const nethuntCrmGetNewRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
folderId: string;
|
|
19
19
|
limit?: number | undefined;
|
|
@@ -9,11 +9,11 @@ declare const NethuntCrmGetNewRecordsInput: z.ZodObject<{
|
|
|
9
9
|
declare const NethuntCrmGetNewRecordsOutput: z.ZodObject<{
|
|
10
10
|
records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
11
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
fields: z.ZodOptional<z.ZodNullable<z.
|
|
12
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
13
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const nethuntCrmGetNewRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
folderId: string;
|
|
19
19
|
limit?: number | undefined;
|
|
@@ -8,16 +8,16 @@ const NethuntCrmGetNewRecordsInput = z.object({
|
|
|
8
8
|
}).describe("Request model for getting new records.");
|
|
9
9
|
const NethuntCrmGetNewRecords_RecordSchema = z.object({
|
|
10
10
|
id: z.string().describe("For internal purposes only").nullable().optional(),
|
|
11
|
-
fields: z.
|
|
11
|
+
fields: z.record(z.string(), z.unknown()).describe("Field names and values. The structure varies based on folder configuration.").nullable().optional(),
|
|
12
12
|
recordId: z.string().describe("Record ID").nullable().optional(),
|
|
13
13
|
createdAt: z.string().describe("Time of record creation in ISO 8601 format").nullable().optional()
|
|
14
|
-
}).describe("Model for a single record.");
|
|
14
|
+
}).passthrough().describe("Model for a single record.");
|
|
15
15
|
const nethuntCrmGetNewRecords = action("NETHUNT_CRM_GET_NEW_RECORDS", {
|
|
16
16
|
slug: "nethunt_crm-get-new-records",
|
|
17
17
|
name: "Get New Records",
|
|
18
18
|
description: "Tool to find recently created records in NetHunt CRM. Use when you need to retrieve records that were created after a specific time in a given folder. Returns record details including ID, creation time, and field values. If no 'since' time is specified, returns records from the last 24 hours.",
|
|
19
19
|
input: NethuntCrmGetNewRecordsInput,
|
|
20
|
-
output: z.object({ records: z.array(NethuntCrmGetNewRecords_RecordSchema).describe("List of recently created records from the specified folder").nullable().optional() }).describe("Response model for getting new records.")
|
|
20
|
+
output: z.object({ records: z.array(NethuntCrmGetNewRecords_RecordSchema).describe("List of recently created records from the specified folder").nullable().optional() }).passthrough().describe("Response model for getting new records.")
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { nethuntCrmGetNewRecords };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-new-records.mjs","names":[],"sources":["../../src/actions/get-new-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. If not specified, no limit is applied.\").optional(),\n since: z.string().describe(\"Only records created after this time are returned. If not specified, defaults to 24 hours before time of request. Format: ISO 8601 datetime string.\").optional(),\n folderId: z.string().describe(\"Folder ID to find new records in. This is the unique identifier of the folder containing the records.\"),\n}).describe(\"Request model for getting new records.\");\nconst NethuntCrmGetNewRecords_RecordSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.
|
|
1
|
+
{"version":3,"file":"get-new-records.mjs","names":[],"sources":["../../src/actions/get-new-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetNewRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. If not specified, no limit is applied.\").optional(),\n since: z.string().describe(\"Only records created after this time are returned. If not specified, defaults to 24 hours before time of request. Format: ISO 8601 datetime string.\").optional(),\n folderId: z.string().describe(\"Folder ID to find new records in. This is the unique identifier of the folder containing the records.\"),\n}).describe(\"Request model for getting new records.\");\nconst NethuntCrmGetNewRecords_RecordSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Field names and values. The structure varies based on folder configuration.\").nullable().optional(),\n recordId: z.string().describe(\"Record ID\").nullable().optional(),\n createdAt: z.string().describe(\"Time of record creation in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Model for a single record.\");\nexport const NethuntCrmGetNewRecordsOutput = z.object({\n records: z.array(NethuntCrmGetNewRecords_RecordSchema).describe(\"List of recently created records from the specified folder\").nullable().optional(),\n}).passthrough().describe(\"Response model for getting new records.\");\n\nexport const nethuntCrmGetNewRecords = action(\"NETHUNT_CRM_GET_NEW_RECORDS\", {\n slug: \"nethunt_crm-get-new-records\",\n name: \"Get New Records\",\n description: \"Tool to find recently created records in NetHunt CRM. Use when you need to retrieve records that were created after a specific time in a given folder. Returns record details including ID, creation time, and field values. If no 'since' time is specified, returns records from the last 24 hours.\",\n input: NethuntCrmGetNewRecordsInput,\n output: NethuntCrmGetNewRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACzH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;CAC3L,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;AACvI,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAKtD,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const NethuntCrmGetRecordChangesInput = zod.z.object({
|
|
|
11
11
|
const NethuntCrmGetRecordChanges_UserSchema = zod.z.object({
|
|
12
12
|
emailAddress: zod.z.string().describe("Email address of the user").nullable().optional(),
|
|
13
13
|
personalName: zod.z.string().describe("Name of the user").nullable().optional()
|
|
14
|
-
}).describe("User who made the change");
|
|
14
|
+
}).passthrough().describe("User who made the change");
|
|
15
15
|
const NethuntCrmGetRecordChanges_RecordChangeSchema = zod.z.object({
|
|
16
16
|
id: zod.z.string().describe("Internal identifier for the change event").nullable().optional(),
|
|
17
17
|
time: zod.z.string().describe("Timestamp when the change occurred (ISO8601 format)").nullable().optional(),
|
|
@@ -19,8 +19,8 @@ const NethuntCrmGetRecordChanges_RecordChangeSchema = zod.z.object({
|
|
|
19
19
|
recordId: zod.z.string().describe("ID of the record that changed").nullable().optional(),
|
|
20
20
|
fieldActions: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Names of record fields along with actual changes made to them").nullable().optional(),
|
|
21
21
|
recordAction: zod.z.string().describe("Type of action performed on the record: CREATE, UPDATE, or DELETE").nullable().optional()
|
|
22
|
-
}).describe("Represents a single record change event");
|
|
23
|
-
const NethuntCrmGetRecordChangesOutput = zod.z.object({ changes: zod.z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe("List of record changes in chronological order") }).describe("Response containing list of record changes");
|
|
22
|
+
}).passthrough().describe("Represents a single record change event");
|
|
23
|
+
const NethuntCrmGetRecordChangesOutput = zod.z.object({ changes: zod.z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe("List of record changes in chronological order") }).passthrough().describe("Response containing list of record changes");
|
|
24
24
|
const nethuntCrmGetRecordChanges = require_action.action("NETHUNT_CRM_GET_RECORD_CHANGES", {
|
|
25
25
|
slug: "nethunt_crm-get-record-changes",
|
|
26
26
|
name: "Get Record Changes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-record-changes.cjs","names":["z","action"],"sources":["../../src/actions/get-record-changes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetRecordChangesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of changes to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only changes made after this time are returned (ISO8601 format). Default: 24 hours before time of request\").optional(),\n folderId: z.string().describe(\"Folder ID to retrieve record changes from\"),\n recordId: z.string().describe(\"Record ID to look for single record changes. If missing, changes for all folder records are returned\").optional(),\n fieldName: z.array(z.string()).describe(\"Field name(s) to limit changes observed. Multiple field names can be provided to filter changes to specific fields\").optional(),\n}).describe(\"Parameters for retrieving record change history.\");\nconst NethuntCrmGetRecordChanges_UserSchema = z.object({\n emailAddress: z.string().describe(\"Email address of the user\").nullable().optional(),\n personalName: z.string().describe(\"Name of the user\").nullable().optional(),\n}).describe(\"User who made the change\");\nconst NethuntCrmGetRecordChanges_RecordChangeSchema = z.object({\n id: z.string().describe(\"Internal identifier for the change event\").nullable().optional(),\n time: z.string().describe(\"Timestamp when the change occurred (ISO8601 format)\").nullable().optional(),\n user: NethuntCrmGetRecordChanges_UserSchema.nullable().optional(),\n recordId: z.string().describe(\"ID of the record that changed\").nullable().optional(),\n fieldActions: z.record(z.string(), z.unknown()).describe(\"Names of record fields along with actual changes made to them\").nullable().optional(),\n recordAction: z.string().describe(\"Type of action performed on the record: CREATE, UPDATE, or DELETE\").nullable().optional(),\n}).describe(\"Represents a single record change event\");\nexport const NethuntCrmGetRecordChangesOutput = z.object({\n changes: z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe(\"List of record changes in chronological order\"),\n}).describe(\"Response containing list of record changes\");\n\nexport const nethuntCrmGetRecordChanges = action(\"NETHUNT_CRM_GET_RECORD_CHANGES\", {\n slug: \"nethunt_crm-get-record-changes\",\n name: \"Get Record Changes\",\n description: \"Tool to find recent record changes in a NetHunt CRM folder. Returns change history including CREATE, UPDATE, DELETE actions with field-level diffs. Use when you need to track modifications to records, audit changes, or sync data based on recent updates.\",\n input: NethuntCrmGetRecordChangesInput,\n output: NethuntCrmGetRecordChangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACjJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AACzK,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,0BAA0B;
|
|
1
|
+
{"version":3,"file":"get-record-changes.cjs","names":["z","action"],"sources":["../../src/actions/get-record-changes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetRecordChangesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of changes to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only changes made after this time are returned (ISO8601 format). Default: 24 hours before time of request\").optional(),\n folderId: z.string().describe(\"Folder ID to retrieve record changes from\"),\n recordId: z.string().describe(\"Record ID to look for single record changes. If missing, changes for all folder records are returned\").optional(),\n fieldName: z.array(z.string()).describe(\"Field name(s) to limit changes observed. Multiple field names can be provided to filter changes to specific fields\").optional(),\n}).describe(\"Parameters for retrieving record change history.\");\nconst NethuntCrmGetRecordChanges_UserSchema = z.object({\n emailAddress: z.string().describe(\"Email address of the user\").nullable().optional(),\n personalName: z.string().describe(\"Name of the user\").nullable().optional(),\n}).passthrough().describe(\"User who made the change\");\nconst NethuntCrmGetRecordChanges_RecordChangeSchema = z.object({\n id: z.string().describe(\"Internal identifier for the change event\").nullable().optional(),\n time: z.string().describe(\"Timestamp when the change occurred (ISO8601 format)\").nullable().optional(),\n user: NethuntCrmGetRecordChanges_UserSchema.nullable().optional(),\n recordId: z.string().describe(\"ID of the record that changed\").nullable().optional(),\n fieldActions: z.record(z.string(), z.unknown()).describe(\"Names of record fields along with actual changes made to them\").nullable().optional(),\n recordAction: z.string().describe(\"Type of action performed on the record: CREATE, UPDATE, or DELETE\").nullable().optional(),\n}).passthrough().describe(\"Represents a single record change event\");\nexport const NethuntCrmGetRecordChangesOutput = z.object({\n changes: z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe(\"List of record changes in chronological order\"),\n}).passthrough().describe(\"Response containing list of record changes\");\n\nexport const nethuntCrmGetRecordChanges = action(\"NETHUNT_CRM_GET_RECORD_CHANGES\", {\n slug: \"nethunt_crm-get-record-changes\",\n name: \"Get Record Changes\",\n description: \"Tool to find recent record changes in a NetHunt CRM folder. Returns change history including CREATE, UPDATE, DELETE actions with field-level diffs. Use when you need to track modifications to records, audit changes, or sync data based on recent updates.\",\n input: NethuntCrmGetRecordChangesInput,\n output: NethuntCrmGetRecordChangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACjJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AACzK,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AACpD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAM,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -15,12 +15,12 @@ declare const NethuntCrmGetRecordChangesOutput: z.ZodObject<{
|
|
|
15
15
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
emailAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
personalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
fieldActions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
21
|
recordAction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const nethuntCrmGetRecordChanges: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
folderId: string;
|
|
26
26
|
limit?: number | undefined;
|
|
@@ -15,12 +15,12 @@ declare const NethuntCrmGetRecordChangesOutput: z.ZodObject<{
|
|
|
15
15
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
16
16
|
emailAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
personalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
-
}, z.core.$
|
|
18
|
+
}, z.core.$loose>>>;
|
|
19
19
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
fieldActions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
21
21
|
recordAction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
23
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
24
|
declare const nethuntCrmGetRecordChanges: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
25
|
folderId: string;
|
|
26
26
|
limit?: number | undefined;
|
|
@@ -11,7 +11,7 @@ const NethuntCrmGetRecordChangesInput = z.object({
|
|
|
11
11
|
const NethuntCrmGetRecordChanges_UserSchema = z.object({
|
|
12
12
|
emailAddress: z.string().describe("Email address of the user").nullable().optional(),
|
|
13
13
|
personalName: z.string().describe("Name of the user").nullable().optional()
|
|
14
|
-
}).describe("User who made the change");
|
|
14
|
+
}).passthrough().describe("User who made the change");
|
|
15
15
|
const NethuntCrmGetRecordChanges_RecordChangeSchema = z.object({
|
|
16
16
|
id: z.string().describe("Internal identifier for the change event").nullable().optional(),
|
|
17
17
|
time: z.string().describe("Timestamp when the change occurred (ISO8601 format)").nullable().optional(),
|
|
@@ -19,13 +19,13 @@ const NethuntCrmGetRecordChanges_RecordChangeSchema = z.object({
|
|
|
19
19
|
recordId: z.string().describe("ID of the record that changed").nullable().optional(),
|
|
20
20
|
fieldActions: z.record(z.string(), z.unknown()).describe("Names of record fields along with actual changes made to them").nullable().optional(),
|
|
21
21
|
recordAction: z.string().describe("Type of action performed on the record: CREATE, UPDATE, or DELETE").nullable().optional()
|
|
22
|
-
}).describe("Represents a single record change event");
|
|
22
|
+
}).passthrough().describe("Represents a single record change event");
|
|
23
23
|
const nethuntCrmGetRecordChanges = action("NETHUNT_CRM_GET_RECORD_CHANGES", {
|
|
24
24
|
slug: "nethunt_crm-get-record-changes",
|
|
25
25
|
name: "Get Record Changes",
|
|
26
26
|
description: "Tool to find recent record changes in a NetHunt CRM folder. Returns change history including CREATE, UPDATE, DELETE actions with field-level diffs. Use when you need to track modifications to records, audit changes, or sync data based on recent updates.",
|
|
27
27
|
input: NethuntCrmGetRecordChangesInput,
|
|
28
|
-
output: z.object({ changes: z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe("List of record changes in chronological order") }).describe("Response containing list of record changes")
|
|
28
|
+
output: z.object({ changes: z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe("List of record changes in chronological order") }).passthrough().describe("Response containing list of record changes")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { nethuntCrmGetRecordChanges };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-record-changes.mjs","names":[],"sources":["../../src/actions/get-record-changes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetRecordChangesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of changes to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only changes made after this time are returned (ISO8601 format). Default: 24 hours before time of request\").optional(),\n folderId: z.string().describe(\"Folder ID to retrieve record changes from\"),\n recordId: z.string().describe(\"Record ID to look for single record changes. If missing, changes for all folder records are returned\").optional(),\n fieldName: z.array(z.string()).describe(\"Field name(s) to limit changes observed. Multiple field names can be provided to filter changes to specific fields\").optional(),\n}).describe(\"Parameters for retrieving record change history.\");\nconst NethuntCrmGetRecordChanges_UserSchema = z.object({\n emailAddress: z.string().describe(\"Email address of the user\").nullable().optional(),\n personalName: z.string().describe(\"Name of the user\").nullable().optional(),\n}).describe(\"User who made the change\");\nconst NethuntCrmGetRecordChanges_RecordChangeSchema = z.object({\n id: z.string().describe(\"Internal identifier for the change event\").nullable().optional(),\n time: z.string().describe(\"Timestamp when the change occurred (ISO8601 format)\").nullable().optional(),\n user: NethuntCrmGetRecordChanges_UserSchema.nullable().optional(),\n recordId: z.string().describe(\"ID of the record that changed\").nullable().optional(),\n fieldActions: z.record(z.string(), z.unknown()).describe(\"Names of record fields along with actual changes made to them\").nullable().optional(),\n recordAction: z.string().describe(\"Type of action performed on the record: CREATE, UPDATE, or DELETE\").nullable().optional(),\n}).describe(\"Represents a single record change event\");\nexport const NethuntCrmGetRecordChangesOutput = z.object({\n changes: z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe(\"List of record changes in chronological order\"),\n}).describe(\"Response containing list of record changes\");\n\nexport const nethuntCrmGetRecordChanges = action(\"NETHUNT_CRM_GET_RECORD_CHANGES\", {\n slug: \"nethunt_crm-get-record-changes\",\n name: \"Get Record Changes\",\n description: \"Tool to find recent record changes in a NetHunt CRM folder. Returns change history including CREATE, UPDATE, DELETE actions with field-level diffs. Use when you need to track modifications to records, audit changes, or sync data based on recent updates.\",\n input: NethuntCrmGetRecordChangesInput,\n output: NethuntCrmGetRecordChangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACjJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC/I,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AACzK,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,wCAAwC,EAAE,OAAO;CACrD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,0BAA0B;
|
|
1
|
+
{"version":3,"file":"get-record-changes.mjs","names":[],"sources":["../../src/actions/get-record-changes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetRecordChangesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of changes to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only changes made after this time are returned (ISO8601 format). Default: 24 hours before time of request\").optional(),\n folderId: z.string().describe(\"Folder ID to retrieve record changes from\"),\n recordId: z.string().describe(\"Record ID to look for single record changes. If missing, changes for all folder records are returned\").optional(),\n fieldName: z.array(z.string()).describe(\"Field name(s) to limit changes observed. Multiple field names can be provided to filter changes to specific fields\").optional(),\n}).describe(\"Parameters for retrieving record change history.\");\nconst NethuntCrmGetRecordChanges_UserSchema = z.object({\n emailAddress: z.string().describe(\"Email address of the user\").nullable().optional(),\n personalName: z.string().describe(\"Name of the user\").nullable().optional(),\n}).passthrough().describe(\"User who made the change\");\nconst NethuntCrmGetRecordChanges_RecordChangeSchema = z.object({\n id: z.string().describe(\"Internal identifier for the change event\").nullable().optional(),\n time: z.string().describe(\"Timestamp when the change occurred (ISO8601 format)\").nullable().optional(),\n user: NethuntCrmGetRecordChanges_UserSchema.nullable().optional(),\n recordId: z.string().describe(\"ID of the record that changed\").nullable().optional(),\n fieldActions: z.record(z.string(), z.unknown()).describe(\"Names of record fields along with actual changes made to them\").nullable().optional(),\n recordAction: z.string().describe(\"Type of action performed on the record: CREATE, UPDATE, or DELETE\").nullable().optional(),\n}).passthrough().describe(\"Represents a single record change event\");\nexport const NethuntCrmGetRecordChangesOutput = z.object({\n changes: z.array(NethuntCrmGetRecordChanges_RecordChangeSchema).describe(\"List of record changes in chronological order\"),\n}).passthrough().describe(\"Response containing list of record changes\");\n\nexport const nethuntCrmGetRecordChanges = action(\"NETHUNT_CRM_GET_RECORD_CHANGES\", {\n slug: \"nethunt_crm-get-record-changes\",\n name: \"Get Record Changes\",\n description: \"Tool to find recent record changes in a NetHunt CRM folder. Returns change history including CREATE, UPDATE, DELETE actions with field-level diffs. Use when you need to track modifications to records, audit changes, or sync data based on recent updates.\",\n input: NethuntCrmGetRecordChangesInput,\n output: NethuntCrmGetRecordChangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACjJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC/I,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AACzK,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,wCAAwC,EAAE,OAAO;CACrD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B;AACpD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAM,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAKnE,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,+CAA+C,EAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -9,12 +9,12 @@ const NethuntCrmGetUpdatedRecordsInput = zod.z.object({
|
|
|
9
9
|
}).describe("Request model for finding recently updated records in NetHunt CRM.");
|
|
10
10
|
const NethuntCrmGetUpdatedRecords_RecordItemSchema = zod.z.object({
|
|
11
11
|
id: zod.z.string().describe("For internal purposes only").nullable().optional(),
|
|
12
|
-
fields: zod.z.
|
|
12
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Field names and values as key-value pairs").nullable().optional(),
|
|
13
13
|
recordId: zod.z.string().describe("Record ID").nullable().optional(),
|
|
14
14
|
createdAt: zod.z.string().describe("Time of record creation in ISO 8601 format").nullable().optional(),
|
|
15
15
|
updatedAt: zod.z.string().describe("Time of last record update in ISO 8601 format").nullable().optional()
|
|
16
|
-
}).describe("Individual record returned by the NetHunt CRM API.");
|
|
17
|
-
const NethuntCrmGetUpdatedRecordsOutput = zod.z.object({ records: zod.z.array(NethuntCrmGetUpdatedRecords_RecordItemSchema).describe("List of updated records").nullable().optional() }).describe("Response model containing a list of updated records.");
|
|
16
|
+
}).passthrough().describe("Individual record returned by the NetHunt CRM API.");
|
|
17
|
+
const NethuntCrmGetUpdatedRecordsOutput = zod.z.object({ records: zod.z.array(NethuntCrmGetUpdatedRecords_RecordItemSchema).describe("List of updated records").nullable().optional() }).passthrough().describe("Response model containing a list of updated records.");
|
|
18
18
|
const nethuntCrmGetUpdatedRecords = require_action.action("NETHUNT_CRM_GET_UPDATED_RECORDS", {
|
|
19
19
|
slug: "nethunt_crm-get-updated-records",
|
|
20
20
|
name: "Get Updated Records",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-updated-records.cjs","names":["z","action"],"sources":["../../src/actions/get-updated-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetUpdatedRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only records updated after this time are returned. Default: 24 hours before time of request. Should be in ISO 8601 format.\").optional(),\n folderId: z.string().describe(\"Folder ID to find updated records in\"),\n fieldName: z.union([z.string(), z.array(z.string())]).optional(),\n}).describe(\"Request model for finding recently updated records in NetHunt CRM.\");\nconst NethuntCrmGetUpdatedRecords_RecordItemSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.
|
|
1
|
+
{"version":3,"file":"get-updated-records.cjs","names":["z","action"],"sources":["../../src/actions/get-updated-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetUpdatedRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only records updated after this time are returned. Default: 24 hours before time of request. Should be in ISO 8601 format.\").optional(),\n folderId: z.string().describe(\"Folder ID to find updated records in\"),\n fieldName: z.union([z.string(), z.array(z.string())]).optional(),\n}).describe(\"Request model for finding recently updated records in NetHunt CRM.\");\nconst NethuntCrmGetUpdatedRecords_RecordItemSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Field names and values as key-value pairs\").nullable().optional(),\n recordId: z.string().describe(\"Record ID\").nullable().optional(),\n createdAt: z.string().describe(\"Time of record creation in ISO 8601 format\").nullable().optional(),\n updatedAt: z.string().describe(\"Time of last record update in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Individual record returned by the NetHunt CRM API.\");\nexport const NethuntCrmGetUpdatedRecordsOutput = z.object({\n records: z.array(NethuntCrmGetUpdatedRecords_RecordItemSchema).describe(\"List of updated records\").nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of updated records.\");\n\nexport const nethuntCrmGetUpdatedRecords = action(\"NETHUNT_CRM_GET_UPDATED_RECORDS\", {\n slug: \"nethunt_crm-get-updated-records\",\n name: \"Get Updated Records\",\n description: \"Tool to find recently updated records in NetHunt CRM. Returns records updated after a specified time, optionally filtered by field names. Use when you need to track changes or sync records that have been modified.\",\n input: NethuntCrmGetUpdatedRecordsInput,\n output: NethuntCrmGetUpdatedRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAClK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACpE,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,12 +10,12 @@ declare const NethuntCrmGetUpdatedRecordsInput: z.ZodObject<{
|
|
|
10
10
|
declare const NethuntCrmGetUpdatedRecordsOutput: z.ZodObject<{
|
|
11
11
|
records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
12
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
fields: z.ZodOptional<z.ZodNullable<z.
|
|
13
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
14
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const nethuntCrmGetUpdatedRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
folderId: string;
|
|
21
21
|
limit?: number | undefined;
|
|
@@ -10,12 +10,12 @@ declare const NethuntCrmGetUpdatedRecordsInput: z.ZodObject<{
|
|
|
10
10
|
declare const NethuntCrmGetUpdatedRecordsOutput: z.ZodObject<{
|
|
11
11
|
records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12
12
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
fields: z.ZodOptional<z.ZodNullable<z.
|
|
13
|
+
fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
14
14
|
recordId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const nethuntCrmGetUpdatedRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
folderId: string;
|
|
21
21
|
limit?: number | undefined;
|
|
@@ -9,17 +9,17 @@ const NethuntCrmGetUpdatedRecordsInput = z.object({
|
|
|
9
9
|
}).describe("Request model for finding recently updated records in NetHunt CRM.");
|
|
10
10
|
const NethuntCrmGetUpdatedRecords_RecordItemSchema = z.object({
|
|
11
11
|
id: z.string().describe("For internal purposes only").nullable().optional(),
|
|
12
|
-
fields: z.
|
|
12
|
+
fields: z.record(z.string(), z.unknown()).describe("Field names and values as key-value pairs").nullable().optional(),
|
|
13
13
|
recordId: z.string().describe("Record ID").nullable().optional(),
|
|
14
14
|
createdAt: z.string().describe("Time of record creation in ISO 8601 format").nullable().optional(),
|
|
15
15
|
updatedAt: z.string().describe("Time of last record update in ISO 8601 format").nullable().optional()
|
|
16
|
-
}).describe("Individual record returned by the NetHunt CRM API.");
|
|
16
|
+
}).passthrough().describe("Individual record returned by the NetHunt CRM API.");
|
|
17
17
|
const nethuntCrmGetUpdatedRecords = action("NETHUNT_CRM_GET_UPDATED_RECORDS", {
|
|
18
18
|
slug: "nethunt_crm-get-updated-records",
|
|
19
19
|
name: "Get Updated Records",
|
|
20
20
|
description: "Tool to find recently updated records in NetHunt CRM. Returns records updated after a specified time, optionally filtered by field names. Use when you need to track changes or sync records that have been modified.",
|
|
21
21
|
input: NethuntCrmGetUpdatedRecordsInput,
|
|
22
|
-
output: z.object({ records: z.array(NethuntCrmGetUpdatedRecords_RecordItemSchema).describe("List of updated records").nullable().optional() }).describe("Response model containing a list of updated records.")
|
|
22
|
+
output: z.object({ records: z.array(NethuntCrmGetUpdatedRecords_RecordItemSchema).describe("List of updated records").nullable().optional() }).passthrough().describe("Response model containing a list of updated records.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { nethuntCrmGetUpdatedRecords };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-updated-records.mjs","names":[],"sources":["../../src/actions/get-updated-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetUpdatedRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only records updated after this time are returned. Default: 24 hours before time of request. Should be in ISO 8601 format.\").optional(),\n folderId: z.string().describe(\"Folder ID to find updated records in\"),\n fieldName: z.union([z.string(), z.array(z.string())]).optional(),\n}).describe(\"Request model for finding recently updated records in NetHunt CRM.\");\nconst NethuntCrmGetUpdatedRecords_RecordItemSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.
|
|
1
|
+
{"version":3,"file":"get-updated-records.mjs","names":[],"sources":["../../src/actions/get-updated-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmGetUpdatedRecordsInput = z.object({\n limit: z.number().int().describe(\"Maximum number of records to return. Default: No limit\").optional(),\n since: z.string().describe(\"Only records updated after this time are returned. Default: 24 hours before time of request. Should be in ISO 8601 format.\").optional(),\n folderId: z.string().describe(\"Folder ID to find updated records in\"),\n fieldName: z.union([z.string(), z.array(z.string())]).optional(),\n}).describe(\"Request model for finding recently updated records in NetHunt CRM.\");\nconst NethuntCrmGetUpdatedRecords_RecordItemSchema = z.object({\n id: z.string().describe(\"For internal purposes only\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Field names and values as key-value pairs\").nullable().optional(),\n recordId: z.string().describe(\"Record ID\").nullable().optional(),\n createdAt: z.string().describe(\"Time of record creation in ISO 8601 format\").nullable().optional(),\n updatedAt: z.string().describe(\"Time of last record update in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Individual record returned by the NetHunt CRM API.\");\nexport const NethuntCrmGetUpdatedRecordsOutput = z.object({\n records: z.array(NethuntCrmGetUpdatedRecords_RecordItemSchema).describe(\"List of updated records\").nullable().optional(),\n}).passthrough().describe(\"Response model containing a list of updated records.\");\n\nexport const nethuntCrmGetUpdatedRecords = action(\"NETHUNT_CRM_GET_UPDATED_RECORDS\", {\n slug: \"nethunt_crm-get-updated-records\",\n name: \"Get Updated Records\",\n description: \"Tool to find recently updated records in NetHunt CRM. Returns records updated after a specified time, optionally filtered by field names. Use when you need to track changes or sync records that have been modified.\",\n input: NethuntCrmGetUpdatedRecordsInput,\n output: NethuntCrmGetUpdatedRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAClK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACpE,WAAW,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAK9E,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -5,8 +5,8 @@ const NethuntCrmListReadableFoldersInput = zod.z.object({}).describe("Request mo
|
|
|
5
5
|
const NethuntCrmListReadableFolders_FolderSchema = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("Unique identifier of the folder").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Display name of the folder").nullable()
|
|
8
|
-
}).describe("Represents a single folder in NetHunt CRM.");
|
|
9
|
-
const NethuntCrmListReadableFoldersOutput = zod.z.object({ folders: zod.z.array(NethuntCrmListReadableFolders_FolderSchema).describe("Array of folders the user has read access to") }).describe("Response model for listing readable folders.");
|
|
8
|
+
}).passthrough().describe("Represents a single folder in NetHunt CRM.");
|
|
9
|
+
const NethuntCrmListReadableFoldersOutput = zod.z.object({ folders: zod.z.array(NethuntCrmListReadableFolders_FolderSchema).describe("Array of folders the user has read access to") }).passthrough().describe("Response model for listing readable folders.");
|
|
10
10
|
const nethuntCrmListReadableFolders = require_action.action("NETHUNT_CRM_LIST_READABLE_FOLDERS", {
|
|
11
11
|
slug: "nethunt_crm-list-readable-folders",
|
|
12
12
|
name: "List Readable Folders",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-readable-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-readable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListReadableFoldersInput = z.object({}).describe(\"Request model for listing readable folders. No parameters required.\");\nconst NethuntCrmListReadableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListReadableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe(\"Array of folders the user has read access to\"),\n}).describe(\"Response model for listing readable folders.\");\n\nexport const nethuntCrmListReadableFolders = action(\"NETHUNT_CRM_LIST_READABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-readable-folders\",\n name: \"List Readable Folders\",\n description: \"Tool to list all accessible folders in NetHunt CRM. Returns folders the user has read access to. Use when you need to retrieve available folders for organizing or accessing records.\",\n input: NethuntCrmListReadableFoldersInput,\n output: NethuntCrmListReadableFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"list-readable-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-readable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListReadableFoldersInput = z.object({}).describe(\"Request model for listing readable folders. No parameters required.\");\nconst NethuntCrmListReadableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).passthrough().describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListReadableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe(\"Array of folders the user has read access to\"),\n}).passthrough().describe(\"Response model for listing readable folders.\");\n\nexport const nethuntCrmListReadableFolders = action(\"NETHUNT_CRM_LIST_READABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-readable-folders\",\n name: \"List Readable Folders\",\n description: \"Tool to list all accessible folders in NetHunt CRM. Returns folders the user has read access to. Use when you need to retrieve available folders for organizing or accessing records.\",\n input: NethuntCrmListReadableFoldersInput,\n output: NethuntCrmListReadableFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8CAA8C,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ declare const NethuntCrmListReadableFoldersOutput: z.ZodObject<{
|
|
|
6
6
|
folders: z.ZodArray<z.ZodObject<{
|
|
7
7
|
id: z.ZodNullable<z.ZodString>;
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const nethuntCrmListReadableFolders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { nethuntCrmListReadableFolders };
|
|
@@ -6,8 +6,8 @@ declare const NethuntCrmListReadableFoldersOutput: z.ZodObject<{
|
|
|
6
6
|
folders: z.ZodArray<z.ZodObject<{
|
|
7
7
|
id: z.ZodNullable<z.ZodString>;
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const nethuntCrmListReadableFolders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { nethuntCrmListReadableFolders };
|
|
@@ -5,13 +5,13 @@ const NethuntCrmListReadableFoldersInput = z.object({}).describe("Request model
|
|
|
5
5
|
const NethuntCrmListReadableFolders_FolderSchema = z.object({
|
|
6
6
|
id: z.string().describe("Unique identifier of the folder").nullable(),
|
|
7
7
|
name: z.string().describe("Display name of the folder").nullable()
|
|
8
|
-
}).describe("Represents a single folder in NetHunt CRM.");
|
|
8
|
+
}).passthrough().describe("Represents a single folder in NetHunt CRM.");
|
|
9
9
|
const nethuntCrmListReadableFolders = action("NETHUNT_CRM_LIST_READABLE_FOLDERS", {
|
|
10
10
|
slug: "nethunt_crm-list-readable-folders",
|
|
11
11
|
name: "List Readable Folders",
|
|
12
12
|
description: "Tool to list all accessible folders in NetHunt CRM. Returns folders the user has read access to. Use when you need to retrieve available folders for organizing or accessing records.",
|
|
13
13
|
input: NethuntCrmListReadableFoldersInput,
|
|
14
|
-
output: z.object({ folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe("Array of folders the user has read access to") }).describe("Response model for listing readable folders.")
|
|
14
|
+
output: z.object({ folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe("Array of folders the user has read access to") }).passthrough().describe("Response model for listing readable folders.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { nethuntCrmListReadableFolders };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-readable-folders.mjs","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListReadableFoldersInput = z.object({}).describe(\"Request model for listing readable folders. No parameters required.\");\nconst NethuntCrmListReadableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListReadableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe(\"Array of folders the user has read access to\"),\n}).describe(\"Response model for listing readable folders.\");\n\nexport const nethuntCrmListReadableFolders = action(\"NETHUNT_CRM_LIST_READABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-readable-folders\",\n name: \"List Readable Folders\",\n description: \"Tool to list all accessible folders in NetHunt CRM. Returns folders the user has read access to. Use when you need to retrieve available folders for organizing or accessing records.\",\n input: NethuntCrmListReadableFoldersInput,\n output: NethuntCrmListReadableFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"list-readable-folders.mjs","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListReadableFoldersInput = z.object({}).describe(\"Request model for listing readable folders. No parameters required.\");\nconst NethuntCrmListReadableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).passthrough().describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListReadableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe(\"Array of folders the user has read access to\"),\n}).passthrough().describe(\"Response model for listing readable folders.\");\n\nexport const nethuntCrmListReadableFolders = action(\"NETHUNT_CRM_LIST_READABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-readable-folders\",\n name: \"List Readable Folders\",\n description: \"Tool to list all accessible folders in NetHunt CRM. Returns folders the user has read access to. Use when you need to retrieve available folders for organizing or accessing records.\",\n input: NethuntCrmListReadableFoldersInput,\n output: NethuntCrmListReadableFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8CAA8C,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -5,8 +5,8 @@ const NethuntCrmListWritableFoldersInput = zod.z.object({}).describe("Request mo
|
|
|
5
5
|
const NethuntCrmListWritableFolders_FolderSchema = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("Unique identifier of the folder").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Display name of the folder").nullable()
|
|
8
|
-
}).describe("Represents a single folder in NetHunt CRM.");
|
|
9
|
-
const NethuntCrmListWritableFoldersOutput = zod.z.object({ folders: zod.z.array(NethuntCrmListWritableFolders_FolderSchema).describe("Array of folders the user has write access to") }).describe("Response model for listing writable folders.");
|
|
8
|
+
}).passthrough().describe("Represents a single folder in NetHunt CRM.");
|
|
9
|
+
const NethuntCrmListWritableFoldersOutput = zod.z.object({ folders: zod.z.array(NethuntCrmListWritableFolders_FolderSchema).describe("Array of folders the user has write access to") }).passthrough().describe("Response model for listing writable folders.");
|
|
10
10
|
const nethuntCrmListWritableFolders = require_action.action("NETHUNT_CRM_LIST_WRITABLE_FOLDERS", {
|
|
11
11
|
slug: "nethunt_crm-list-writable-folders",
|
|
12
12
|
name: "List Writable Folders",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-writable-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-writable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListWritableFoldersInput = z.object({}).describe(\"Request model for listing writable folders. No parameters required.\");\nconst NethuntCrmListWritableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListWritableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListWritableFolders_FolderSchema).describe(\"Array of folders the user has write access to\"),\n}).describe(\"Response model for listing writable folders.\");\n\nexport const nethuntCrmListWritableFolders = action(\"NETHUNT_CRM_LIST_WRITABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-writable-folders\",\n name: \"List Writable Folders\",\n description: \"Tool to list folders the user can create records in. Returns folders the user has write access to. Use when you need to retrieve writable folders for creating new records.\",\n input: NethuntCrmListWritableFoldersInput,\n output: NethuntCrmListWritableFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"list-writable-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-writable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListWritableFoldersInput = z.object({}).describe(\"Request model for listing writable folders. No parameters required.\");\nconst NethuntCrmListWritableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).passthrough().describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListWritableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListWritableFolders_FolderSchema).describe(\"Array of folders the user has write access to\"),\n}).passthrough().describe(\"Response model for listing writable folders.\");\n\nexport const nethuntCrmListWritableFolders = action(\"NETHUNT_CRM_LIST_WRITABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-writable-folders\",\n name: \"List Writable Folders\",\n description: \"Tool to list folders the user can create records in. Returns folders the user has write access to. Use when you need to retrieve writable folders for creating new records.\",\n input: NethuntCrmListWritableFoldersInput,\n output: NethuntCrmListWritableFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+CAA+C,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ declare const NethuntCrmListWritableFoldersOutput: z.ZodObject<{
|
|
|
6
6
|
folders: z.ZodArray<z.ZodObject<{
|
|
7
7
|
id: z.ZodNullable<z.ZodString>;
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const nethuntCrmListWritableFolders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { nethuntCrmListWritableFolders };
|
|
@@ -6,8 +6,8 @@ declare const NethuntCrmListWritableFoldersOutput: z.ZodObject<{
|
|
|
6
6
|
folders: z.ZodArray<z.ZodObject<{
|
|
7
7
|
id: z.ZodNullable<z.ZodString>;
|
|
8
8
|
name: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const nethuntCrmListWritableFolders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { nethuntCrmListWritableFolders };
|
|
@@ -5,13 +5,13 @@ const NethuntCrmListWritableFoldersInput = z.object({}).describe("Request model
|
|
|
5
5
|
const NethuntCrmListWritableFolders_FolderSchema = z.object({
|
|
6
6
|
id: z.string().describe("Unique identifier of the folder").nullable(),
|
|
7
7
|
name: z.string().describe("Display name of the folder").nullable()
|
|
8
|
-
}).describe("Represents a single folder in NetHunt CRM.");
|
|
8
|
+
}).passthrough().describe("Represents a single folder in NetHunt CRM.");
|
|
9
9
|
const nethuntCrmListWritableFolders = action("NETHUNT_CRM_LIST_WRITABLE_FOLDERS", {
|
|
10
10
|
slug: "nethunt_crm-list-writable-folders",
|
|
11
11
|
name: "List Writable Folders",
|
|
12
12
|
description: "Tool to list folders the user can create records in. Returns folders the user has write access to. Use when you need to retrieve writable folders for creating new records.",
|
|
13
13
|
input: NethuntCrmListWritableFoldersInput,
|
|
14
|
-
output: z.object({ folders: z.array(NethuntCrmListWritableFolders_FolderSchema).describe("Array of folders the user has write access to") }).describe("Response model for listing writable folders.")
|
|
14
|
+
output: z.object({ folders: z.array(NethuntCrmListWritableFolders_FolderSchema).describe("Array of folders the user has write access to") }).passthrough().describe("Response model for listing writable folders.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { nethuntCrmListWritableFolders };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-writable-folders.mjs","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListWritableFoldersInput = z.object({}).describe(\"Request model for listing writable folders. No parameters required.\");\nconst NethuntCrmListWritableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListWritableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListWritableFolders_FolderSchema).describe(\"Array of folders the user has write access to\"),\n}).describe(\"Response model for listing writable folders.\");\n\nexport const nethuntCrmListWritableFolders = action(\"NETHUNT_CRM_LIST_WRITABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-writable-folders\",\n name: \"List Writable Folders\",\n description: \"Tool to list folders the user can create records in. Returns folders the user has write access to. Use when you need to retrieve writable folders for creating new records.\",\n input: NethuntCrmListWritableFoldersInput,\n output: NethuntCrmListWritableFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"list-writable-folders.mjs","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmListWritableFoldersInput = z.object({}).describe(\"Request model for listing writable folders. No parameters required.\");\nconst NethuntCrmListWritableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).passthrough().describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListWritableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListWritableFolders_FolderSchema).describe(\"Array of folders the user has write access to\"),\n}).passthrough().describe(\"Response model for listing writable folders.\");\n\nexport const nethuntCrmListWritableFolders = action(\"NETHUNT_CRM_LIST_WRITABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-writable-folders\",\n name: \"List Writable Folders\",\n description: \"Tool to list folders the user can create records in. Returns folders the user has write access to. Use when you need to retrieve writable folders for creating new records.\",\n input: NethuntCrmListWritableFoldersInput,\n output: NethuntCrmListWritableFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+CAA+C,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -5,8 +5,8 @@ const NethuntCrmTestAuthInput = zod.z.object({}).describe("No parameters require
|
|
|
5
5
|
const NethuntCrmTestAuth_UserInfoSchema = zod.z.object({
|
|
6
6
|
emailAddress: zod.z.string().describe("Email address of the authenticated user").nullable(),
|
|
7
7
|
personalName: zod.z.string().describe("Name of the authenticated user").nullable()
|
|
8
|
-
});
|
|
9
|
-
const NethuntCrmTestAuthOutput = zod.z.object({ user: NethuntCrmTestAuth_UserInfoSchema.nullable() });
|
|
8
|
+
}).passthrough();
|
|
9
|
+
const NethuntCrmTestAuthOutput = zod.z.object({ user: NethuntCrmTestAuth_UserInfoSchema.nullable() }).passthrough();
|
|
10
10
|
const nethuntCrmTestAuth = require_action.action("NETHUNT_CRM_TEST_AUTH", {
|
|
11
11
|
slug: "nethunt_crm-test-auth",
|
|
12
12
|
name: "Test NetHunt CRM Authentication",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-auth.cjs","names":["z","action"],"sources":["../../src/actions/test-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmTestAuthInput = z.object({}).describe(\"No parameters required for authentication testing.\");\nconst NethuntCrmTestAuth_UserInfoSchema = z.object({\n emailAddress: z.string().describe(\"Email address of the authenticated user\").nullable(),\n personalName: z.string().describe(\"Name of the authenticated user\").nullable(),\n});\nexport const NethuntCrmTestAuthOutput = z.object({\n user: NethuntCrmTestAuth_UserInfoSchema.nullable(),\n});\n\nexport const nethuntCrmTestAuth = action(\"NETHUNT_CRM_TEST_AUTH\", {\n slug: \"nethunt_crm-test-auth\",\n name: \"Test NetHunt CRM Authentication\",\n description: \"Tool to verify request credentials and test authentication. Returns information about the authenticated user including name and email. Use this action to confirm API credentials are valid before making other requests.\",\n input: NethuntCrmTestAuthInput,\n output: NethuntCrmTestAuthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACjH,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC/E,CAAC;
|
|
1
|
+
{"version":3,"file":"test-auth.cjs","names":["z","action"],"sources":["../../src/actions/test-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmTestAuthInput = z.object({}).describe(\"No parameters required for authentication testing.\");\nconst NethuntCrmTestAuth_UserInfoSchema = z.object({\n emailAddress: z.string().describe(\"Email address of the authenticated user\").nullable(),\n personalName: z.string().describe(\"Name of the authenticated user\").nullable(),\n}).passthrough();\nexport const NethuntCrmTestAuthOutput = z.object({\n user: NethuntCrmTestAuth_UserInfoSchema.nullable(),\n}).passthrough();\n\nexport const nethuntCrmTestAuth = action(\"NETHUNT_CRM_TEST_AUTH\", {\n slug: \"nethunt_crm-test-auth\",\n name: \"Test NetHunt CRM Authentication\",\n description: \"Tool to verify request credentials and test authentication. Returns information about the authenticated user including name and email. Use this action to confirm API credentials are valid before making other requests.\",\n input: NethuntCrmTestAuthInput,\n output: NethuntCrmTestAuthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACjH,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAM,kCAAkC,SAAS,EACnD,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ declare const NethuntCrmTestAuthOutput: z.ZodObject<{
|
|
|
6
6
|
user: z.ZodNullable<z.ZodObject<{
|
|
7
7
|
emailAddress: z.ZodNullable<z.ZodString>;
|
|
8
8
|
personalName: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const nethuntCrmTestAuth: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { nethuntCrmTestAuth };
|
|
@@ -6,8 +6,8 @@ declare const NethuntCrmTestAuthOutput: z.ZodObject<{
|
|
|
6
6
|
user: z.ZodNullable<z.ZodObject<{
|
|
7
7
|
emailAddress: z.ZodNullable<z.ZodString>;
|
|
8
8
|
personalName: z.ZodNullable<z.ZodString>;
|
|
9
|
-
}, z.core.$
|
|
10
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>;
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const nethuntCrmTestAuth: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { nethuntCrmTestAuth };
|
|
@@ -5,13 +5,13 @@ const NethuntCrmTestAuthInput = z.object({}).describe("No parameters required fo
|
|
|
5
5
|
const NethuntCrmTestAuth_UserInfoSchema = z.object({
|
|
6
6
|
emailAddress: z.string().describe("Email address of the authenticated user").nullable(),
|
|
7
7
|
personalName: z.string().describe("Name of the authenticated user").nullable()
|
|
8
|
-
});
|
|
8
|
+
}).passthrough();
|
|
9
9
|
const nethuntCrmTestAuth = action("NETHUNT_CRM_TEST_AUTH", {
|
|
10
10
|
slug: "nethunt_crm-test-auth",
|
|
11
11
|
name: "Test NetHunt CRM Authentication",
|
|
12
12
|
description: "Tool to verify request credentials and test authentication. Returns information about the authenticated user including name and email. Use this action to confirm API credentials are valid before making other requests.",
|
|
13
13
|
input: NethuntCrmTestAuthInput,
|
|
14
|
-
output: z.object({ user: NethuntCrmTestAuth_UserInfoSchema.nullable() })
|
|
14
|
+
output: z.object({ user: NethuntCrmTestAuth_UserInfoSchema.nullable() }).passthrough()
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { nethuntCrmTestAuth };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-auth.mjs","names":[],"sources":["../../src/actions/test-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmTestAuthInput = z.object({}).describe(\"No parameters required for authentication testing.\");\nconst NethuntCrmTestAuth_UserInfoSchema = z.object({\n emailAddress: z.string().describe(\"Email address of the authenticated user\").nullable(),\n personalName: z.string().describe(\"Name of the authenticated user\").nullable(),\n});\nexport const NethuntCrmTestAuthOutput = z.object({\n user: NethuntCrmTestAuth_UserInfoSchema.nullable(),\n});\n\nexport const nethuntCrmTestAuth = action(\"NETHUNT_CRM_TEST_AUTH\", {\n slug: \"nethunt_crm-test-auth\",\n name: \"Test NetHunt CRM Authentication\",\n description: \"Tool to verify request credentials and test authentication. Returns information about the authenticated user including name and email. Use this action to confirm API credentials are valid before making other requests.\",\n input: NethuntCrmTestAuthInput,\n output: NethuntCrmTestAuthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACjH,MAAM,oCAAoC,EAAE,OAAO;CACjD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC/E,CAAC;
|
|
1
|
+
{"version":3,"file":"test-auth.mjs","names":[],"sources":["../../src/actions/test-auth.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const NethuntCrmTestAuthInput = z.object({}).describe(\"No parameters required for authentication testing.\");\nconst NethuntCrmTestAuth_UserInfoSchema = z.object({\n emailAddress: z.string().describe(\"Email address of the authenticated user\").nullable(),\n personalName: z.string().describe(\"Name of the authenticated user\").nullable(),\n}).passthrough();\nexport const NethuntCrmTestAuthOutput = z.object({\n user: NethuntCrmTestAuth_UserInfoSchema.nullable(),\n}).passthrough();\n\nexport const nethuntCrmTestAuth = action(\"NETHUNT_CRM_TEST_AUTH\", {\n slug: \"nethunt_crm-test-auth\",\n name: \"Test NetHunt CRM Authentication\",\n description: \"Tool to verify request credentials and test authentication. Returns information about the authenticated user including name and email. Use this action to confirm API credentials are valid before making other requests.\",\n input: NethuntCrmTestAuthInput,\n output: NethuntCrmTestAuthOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD;AACjH,MAAM,oCAAoC,EAAE,OAAO;CACjD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,kCAAkC,SAAS,EACnD,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|