@keystrokehq/nethunt_crm 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/actions/delete-record.cjs +1 -1
  2. package/dist/actions/delete-record.cjs.map +1 -1
  3. package/dist/actions/delete-record.d.cts +16 -2
  4. package/dist/actions/delete-record.d.mts +16 -2
  5. package/dist/actions/delete-record.mjs +1 -1
  6. package/dist/actions/delete-record.mjs.map +1 -1
  7. package/dist/actions/find-records.cjs +2 -2
  8. package/dist/actions/find-records.cjs.map +1 -1
  9. package/dist/actions/find-records.d.cts +17 -3
  10. package/dist/actions/find-records.d.mts +17 -3
  11. package/dist/actions/find-records.mjs +2 -2
  12. package/dist/actions/find-records.mjs.map +1 -1
  13. package/dist/actions/get-new-call-logs.cjs +2 -2
  14. package/dist/actions/get-new-call-logs.cjs.map +1 -1
  15. package/dist/actions/get-new-call-logs.d.cts +17 -3
  16. package/dist/actions/get-new-call-logs.d.mts +17 -3
  17. package/dist/actions/get-new-call-logs.mjs +2 -2
  18. package/dist/actions/get-new-call-logs.mjs.map +1 -1
  19. package/dist/actions/get-new-comments.cjs +2 -2
  20. package/dist/actions/get-new-comments.cjs.map +1 -1
  21. package/dist/actions/get-new-comments.d.cts +17 -3
  22. package/dist/actions/get-new-comments.d.mts +17 -3
  23. package/dist/actions/get-new-comments.mjs +2 -2
  24. package/dist/actions/get-new-comments.mjs.map +1 -1
  25. package/dist/actions/get-new-gdrive-files.cjs +2 -2
  26. package/dist/actions/get-new-gdrive-files.cjs.map +1 -1
  27. package/dist/actions/get-new-gdrive-files.d.cts +17 -3
  28. package/dist/actions/get-new-gdrive-files.d.mts +17 -3
  29. package/dist/actions/get-new-gdrive-files.mjs +2 -2
  30. package/dist/actions/get-new-gdrive-files.mjs.map +1 -1
  31. package/dist/actions/get-new-records.cjs +3 -3
  32. package/dist/actions/get-new-records.cjs.map +1 -1
  33. package/dist/actions/get-new-records.d.cts +18 -4
  34. package/dist/actions/get-new-records.d.mts +18 -4
  35. package/dist/actions/get-new-records.mjs +3 -3
  36. package/dist/actions/get-new-records.mjs.map +1 -1
  37. package/dist/actions/get-record-changes.cjs +3 -3
  38. package/dist/actions/get-record-changes.cjs.map +1 -1
  39. package/dist/actions/get-record-changes.d.cts +18 -4
  40. package/dist/actions/get-record-changes.d.mts +18 -4
  41. package/dist/actions/get-record-changes.mjs +3 -3
  42. package/dist/actions/get-record-changes.mjs.map +1 -1
  43. package/dist/actions/get-updated-records.cjs +3 -3
  44. package/dist/actions/get-updated-records.cjs.map +1 -1
  45. package/dist/actions/get-updated-records.d.cts +18 -4
  46. package/dist/actions/get-updated-records.d.mts +18 -4
  47. package/dist/actions/get-updated-records.mjs +3 -3
  48. package/dist/actions/get-updated-records.mjs.map +1 -1
  49. package/dist/actions/list-folder-fields.d.cts +15 -1
  50. package/dist/actions/list-folder-fields.d.mts +15 -1
  51. package/dist/actions/list-readable-folders.cjs +2 -2
  52. package/dist/actions/list-readable-folders.cjs.map +1 -1
  53. package/dist/actions/list-readable-folders.d.cts +17 -3
  54. package/dist/actions/list-readable-folders.d.cts.map +1 -1
  55. package/dist/actions/list-readable-folders.d.mts +17 -3
  56. package/dist/actions/list-readable-folders.d.mts.map +1 -1
  57. package/dist/actions/list-readable-folders.mjs +2 -2
  58. package/dist/actions/list-readable-folders.mjs.map +1 -1
  59. package/dist/actions/list-writable-folders.cjs +2 -2
  60. package/dist/actions/list-writable-folders.cjs.map +1 -1
  61. package/dist/actions/list-writable-folders.d.cts +17 -3
  62. package/dist/actions/list-writable-folders.d.cts.map +1 -1
  63. package/dist/actions/list-writable-folders.d.mts +17 -3
  64. package/dist/actions/list-writable-folders.d.mts.map +1 -1
  65. package/dist/actions/list-writable-folders.mjs +2 -2
  66. package/dist/actions/list-writable-folders.mjs.map +1 -1
  67. package/dist/actions/test-auth.cjs +2 -2
  68. package/dist/actions/test-auth.cjs.map +1 -1
  69. package/dist/actions/test-auth.d.cts +17 -3
  70. package/dist/actions/test-auth.d.cts.map +1 -1
  71. package/dist/actions/test-auth.d.mts +17 -3
  72. package/dist/actions/test-auth.d.mts.map +1 -1
  73. package/dist/actions/test-auth.mjs +2 -2
  74. package/dist/actions/test-auth.mjs.map +1 -1
  75. package/dist/app.cjs +8 -2
  76. package/dist/app.cjs.map +1 -1
  77. package/dist/app.d.cts +10 -1
  78. package/dist/app.d.cts.map +1 -1
  79. package/dist/app.d.mts +10 -1
  80. package/dist/app.d.mts.map +1 -1
  81. package/dist/app.mjs +6 -1
  82. package/dist/app.mjs.map +1 -1
  83. package/package.json +1 -1
@@ -6,9 +6,23 @@ 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.$strip>>;
10
- }, z.core.$strip>;
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]>;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$loose>;
11
+ declare const nethuntCrmListReadableFolders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
12
+ connectionId: z.ZodString;
13
+ entityId: z.ZodString;
14
+ instanceId: z.ZodString;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ username: z.ZodString;
17
+ password: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ username: z.ZodString;
24
+ password: z.ZodString;
25
+ }, z.core.$strip>>]>;
12
26
  //#endregion
13
27
  export { nethuntCrmListReadableFolders };
14
28
  //# sourceMappingURL=list-readable-folders.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-readable-folders.d.cts","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-readable-folders.d.cts","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
@@ -6,9 +6,23 @@ 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.$strip>>;
10
- }, z.core.$strip>;
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]>;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$loose>;
11
+ declare const nethuntCrmListReadableFolders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
12
+ connectionId: z.ZodString;
13
+ entityId: z.ZodString;
14
+ instanceId: z.ZodString;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ username: z.ZodString;
17
+ password: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ username: z.ZodString;
24
+ password: z.ZodString;
25
+ }, z.core.$strip>>]>;
12
26
  //#endregion
13
27
  export { nethuntCrmListReadableFolders };
14
28
  //# sourceMappingURL=list-readable-folders.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-readable-folders.d.mts","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-readable-folders.d.mts","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
@@ -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;AAKxD,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,SAAS,8CAOF;AACV,CAAC"}
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;AACxD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+CAA+C,EACvH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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,9 +6,23 @@ 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.$strip>>;
10
- }, z.core.$strip>;
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]>;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$loose>;
11
+ declare const nethuntCrmListWritableFolders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
12
+ connectionId: z.ZodString;
13
+ entityId: z.ZodString;
14
+ instanceId: z.ZodString;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ username: z.ZodString;
17
+ password: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ username: z.ZodString;
24
+ password: z.ZodString;
25
+ }, z.core.$strip>>]>;
12
26
  //#endregion
13
27
  export { nethuntCrmListWritableFolders };
14
28
  //# sourceMappingURL=list-writable-folders.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-writable-folders.d.cts","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-writable-folders.d.cts","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
@@ -6,9 +6,23 @@ 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.$strip>>;
10
- }, z.core.$strip>;
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]>;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$loose>;
11
+ declare const nethuntCrmListWritableFolders: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
12
+ connectionId: z.ZodString;
13
+ entityId: z.ZodString;
14
+ instanceId: z.ZodString;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ username: z.ZodString;
17
+ password: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ username: z.ZodString;
24
+ password: z.ZodString;
25
+ }, z.core.$strip>>]>;
12
26
  //#endregion
13
27
  export { nethuntCrmListWritableFolders };
14
28
  //# sourceMappingURL=list-writable-folders.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-writable-folders.d.mts","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-writable-folders.d.mts","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
@@ -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;AAKxD,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,SAAS,8CAOF;AACV,CAAC"}
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;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAM,kCAAkC,SAAS,EACnD,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,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,9 +6,23 @@ 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.$strip>>;
10
- }, z.core.$strip>;
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]>;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$loose>;
11
+ declare const nethuntCrmTestAuth: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
12
+ connectionId: z.ZodString;
13
+ entityId: z.ZodString;
14
+ instanceId: z.ZodString;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ username: z.ZodString;
17
+ password: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ username: z.ZodString;
24
+ password: z.ZodString;
25
+ }, z.core.$strip>>]>;
12
26
  //#endregion
13
27
  export { nethuntCrmTestAuth };
14
28
  //# sourceMappingURL=test-auth.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"test-auth.d.cts","names":[],"sources":["../../src/actions/test-auth.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"test-auth.d.cts","names":[],"sources":["../../src/actions/test-auth.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
@@ -6,9 +6,23 @@ 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.$strip>>;
10
- }, z.core.$strip>;
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]>;
9
+ }, z.core.$loose>>;
10
+ }, z.core.$loose>;
11
+ declare const nethuntCrmTestAuth: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
12
+ connectionId: z.ZodString;
13
+ entityId: z.ZodString;
14
+ instanceId: z.ZodString;
15
+ }, z.core.$strip>, z.ZodObject<{
16
+ username: z.ZodString;
17
+ password: z.ZodString;
18
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ username: z.ZodString;
24
+ password: z.ZodString;
25
+ }, z.core.$strip>>]>;
12
26
  //#endregion
13
27
  export { nethuntCrmTestAuth };
14
28
  //# sourceMappingURL=test-auth.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"test-auth.d.mts","names":[],"sources":["../../src/actions/test-auth.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"test-auth.d.mts","names":[],"sources":["../../src/actions/test-auth.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAIxB,kBAAA,gCAAkB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
@@ -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;AAKD,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,kCAAkC,SAAS,EACnD,CAOU;AACV,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"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,13 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const nethuntCrm = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const nethuntCrm = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "nethunt_crm",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ username: zod.z.string(),
9
+ password: zod.z.string()
10
+ }
5
11
  });
6
12
  //#endregion
7
13
  exports.nethuntCrm = nethuntCrm;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const nethuntCrm = defineApp({\n slug: \"nethunt_crm\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,cAAA,uCAAA,CAAA,CAAA,UAAA,CAAuB;CAClC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const nethuntCrm = defineApp({\n slug: \"nethunt_crm\",\n auth: \"keystroke\",\n credential: {\n username: z.string(),\n password: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,cAAA,GAAA,2BAAA,UAAA,CAAuB;CAClC,MAAM;CACN,MAAM;CACN,YAAY;EACV,UAAUA,IAAAA,EAAE,OAAO;EACnB,UAAUA,IAAAA,EAAE,OAAO;CACrB;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const nethuntCrm: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const nethuntCrm: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ username: z.ZodString;
10
+ password: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { nethuntCrm };
5
14
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const nethuntCrm: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const nethuntCrm: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"nethunt_crm", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ username: z.ZodString;
10
+ password: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { nethuntCrm };
5
14
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,13 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const nethuntCrm = defineApp({
4
5
  slug: "nethunt_crm",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ username: z.string(),
9
+ password: z.string()
10
+ }
6
11
  });
7
12
  //#endregion
8
13
  export { nethuntCrm };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const nethuntCrm = defineApp({\n slug: \"nethunt_crm\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,aAAa,UAAU;CAClC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const nethuntCrm = defineApp({\n slug: \"nethunt_crm\",\n auth: \"keystroke\",\n credential: {\n username: z.string(),\n password: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAa,UAAU;CAClC,MAAM;CACN,MAAM;CACN,YAAY;EACV,UAAU,EAAE,OAAO;EACnB,UAAU,EAAE,OAAO;CACrB;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/nethunt_crm",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"