@keystrokehq/nethunt_crm 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/delete-record.cjs +1 -0
  4. package/dist/actions/delete-record.cjs.map +1 -1
  5. package/dist/actions/delete-record.d.cts +3 -17
  6. package/dist/actions/delete-record.d.cts.map +1 -1
  7. package/dist/actions/delete-record.d.mts +3 -17
  8. package/dist/actions/delete-record.d.mts.map +1 -1
  9. package/dist/actions/delete-record.mjs +1 -0
  10. package/dist/actions/delete-record.mjs.map +1 -1
  11. package/dist/actions/find-records.cjs +1 -0
  12. package/dist/actions/find-records.cjs.map +1 -1
  13. package/dist/actions/find-records.d.cts +3 -20
  14. package/dist/actions/find-records.d.cts.map +1 -1
  15. package/dist/actions/find-records.d.mts +3 -20
  16. package/dist/actions/find-records.d.mts.map +1 -1
  17. package/dist/actions/find-records.mjs +1 -0
  18. package/dist/actions/find-records.mjs.map +1 -1
  19. package/dist/actions/get-new-call-logs.cjs +1 -0
  20. package/dist/actions/get-new-call-logs.cjs.map +1 -1
  21. package/dist/actions/get-new-call-logs.d.cts +3 -19
  22. package/dist/actions/get-new-call-logs.d.cts.map +1 -1
  23. package/dist/actions/get-new-call-logs.d.mts +3 -19
  24. package/dist/actions/get-new-call-logs.d.mts.map +1 -1
  25. package/dist/actions/get-new-call-logs.mjs +1 -0
  26. package/dist/actions/get-new-call-logs.mjs.map +1 -1
  27. package/dist/actions/get-new-comments.cjs +1 -0
  28. package/dist/actions/get-new-comments.cjs.map +1 -1
  29. package/dist/actions/get-new-comments.d.cts +3 -19
  30. package/dist/actions/get-new-comments.d.cts.map +1 -1
  31. package/dist/actions/get-new-comments.d.mts +3 -19
  32. package/dist/actions/get-new-comments.d.mts.map +1 -1
  33. package/dist/actions/get-new-comments.mjs +1 -0
  34. package/dist/actions/get-new-comments.mjs.map +1 -1
  35. package/dist/actions/get-new-gdrive-files.cjs +1 -0
  36. package/dist/actions/get-new-gdrive-files.cjs.map +1 -1
  37. package/dist/actions/get-new-gdrive-files.d.cts +3 -19
  38. package/dist/actions/get-new-gdrive-files.d.cts.map +1 -1
  39. package/dist/actions/get-new-gdrive-files.d.mts +3 -19
  40. package/dist/actions/get-new-gdrive-files.d.mts.map +1 -1
  41. package/dist/actions/get-new-gdrive-files.mjs +1 -0
  42. package/dist/actions/get-new-gdrive-files.mjs.map +1 -1
  43. package/dist/actions/get-new-records.cjs +1 -0
  44. package/dist/actions/get-new-records.cjs.map +1 -1
  45. package/dist/actions/get-new-records.d.cts +3 -19
  46. package/dist/actions/get-new-records.d.cts.map +1 -1
  47. package/dist/actions/get-new-records.d.mts +3 -19
  48. package/dist/actions/get-new-records.d.mts.map +1 -1
  49. package/dist/actions/get-new-records.mjs +1 -0
  50. package/dist/actions/get-new-records.mjs.map +1 -1
  51. package/dist/actions/get-record-changes.cjs +1 -0
  52. package/dist/actions/get-record-changes.cjs.map +1 -1
  53. package/dist/actions/get-record-changes.d.cts +3 -21
  54. package/dist/actions/get-record-changes.d.cts.map +1 -1
  55. package/dist/actions/get-record-changes.d.mts +3 -21
  56. package/dist/actions/get-record-changes.d.mts.map +1 -1
  57. package/dist/actions/get-record-changes.mjs +1 -0
  58. package/dist/actions/get-record-changes.mjs.map +1 -1
  59. package/dist/actions/get-updated-records.cjs +1 -0
  60. package/dist/actions/get-updated-records.cjs.map +1 -1
  61. package/dist/actions/get-updated-records.d.cts +3 -20
  62. package/dist/actions/get-updated-records.d.cts.map +1 -1
  63. package/dist/actions/get-updated-records.d.mts +3 -20
  64. package/dist/actions/get-updated-records.d.mts.map +1 -1
  65. package/dist/actions/get-updated-records.mjs +1 -0
  66. package/dist/actions/get-updated-records.mjs.map +1 -1
  67. package/dist/actions/list-folder-fields.cjs +1 -0
  68. package/dist/actions/list-folder-fields.cjs.map +1 -1
  69. package/dist/actions/list-folder-fields.d.cts +3 -17
  70. package/dist/actions/list-folder-fields.d.cts.map +1 -1
  71. package/dist/actions/list-folder-fields.d.mts +3 -17
  72. package/dist/actions/list-folder-fields.d.mts.map +1 -1
  73. package/dist/actions/list-folder-fields.mjs +1 -0
  74. package/dist/actions/list-folder-fields.mjs.map +1 -1
  75. package/dist/actions/list-readable-folders.cjs +1 -0
  76. package/dist/actions/list-readable-folders.cjs.map +1 -1
  77. package/dist/actions/list-readable-folders.d.cts +3 -15
  78. package/dist/actions/list-readable-folders.d.cts.map +1 -1
  79. package/dist/actions/list-readable-folders.d.mts +3 -15
  80. package/dist/actions/list-readable-folders.d.mts.map +1 -1
  81. package/dist/actions/list-readable-folders.mjs +1 -0
  82. package/dist/actions/list-readable-folders.mjs.map +1 -1
  83. package/dist/actions/list-writable-folders.cjs +1 -0
  84. package/dist/actions/list-writable-folders.cjs.map +1 -1
  85. package/dist/actions/list-writable-folders.d.cts +3 -15
  86. package/dist/actions/list-writable-folders.d.cts.map +1 -1
  87. package/dist/actions/list-writable-folders.d.mts +3 -15
  88. package/dist/actions/list-writable-folders.d.mts.map +1 -1
  89. package/dist/actions/list-writable-folders.mjs +1 -0
  90. package/dist/actions/list-writable-folders.mjs.map +1 -1
  91. package/dist/actions/test-auth.cjs +1 -0
  92. package/dist/actions/test-auth.cjs.map +1 -1
  93. package/dist/actions/test-auth.d.cts +3 -15
  94. package/dist/actions/test-auth.d.cts.map +1 -1
  95. package/dist/actions/test-auth.d.mts +3 -15
  96. package/dist/actions/test-auth.d.mts.map +1 -1
  97. package/dist/actions/test-auth.mjs +1 -0
  98. package/dist/actions/test-auth.mjs.map +1 -1
  99. package/dist/app.cjs +5 -4
  100. package/dist/app.cjs.map +1 -1
  101. package/dist/app.d.cts +4 -6
  102. package/dist/app.d.cts.map +1 -1
  103. package/dist/app.d.mts +4 -6
  104. package/dist/app.d.mts.map +1 -1
  105. package/dist/app.mjs +0 -1
  106. package/dist/app.mjs.map +1 -1
  107. package/dist/index.d.cts +1 -1
  108. package/dist/index.d.mts +1 -1
  109. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { nethuntCrm } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-readable-folders.d.ts
@@ -8,21 +10,7 @@ declare const NethuntCrmListReadableFoldersOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, 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>>]>;
13
+ declare const nethuntCrmListReadableFolders: AppAction<typeof NethuntCrmListReadableFoldersInput, typeof NethuntCrmListReadableFoldersOutput, typeof nethuntCrm.credential>;
26
14
  //#endregion
27
15
  export { nethuntCrmListReadableFolders };
28
16
  //# 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,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-readable-folders.d.cts","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { nethuntCrm } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-readable-folders.d.ts
@@ -8,21 +10,7 @@ declare const NethuntCrmListReadableFoldersOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, 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>>]>;
13
+ declare const nethuntCrmListReadableFolders: AppAction<typeof NethuntCrmListReadableFoldersInput, typeof NethuntCrmListReadableFoldersOutput, typeof nethuntCrm.credential>;
26
14
  //#endregion
27
15
  export { nethuntCrmListReadableFolders };
28
16
  //# 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,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-readable-folders.d.mts","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-readable-folders.ts
@@ -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}).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"}
1
+ {"version":3,"file":"list-readable-folders.mjs","names":[],"sources":["../../src/actions/list-readable-folders.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\n\nexport const NethuntCrmListReadableFoldersInput = z.object({}).describe(\"Request model for listing readable folders. No parameters required.\");\nconst NethuntCrmListReadableFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Display name of the folder\").nullable(),\n}).passthrough().describe(\"Represents a single folder in NetHunt CRM.\");\nexport const NethuntCrmListReadableFoldersOutput = z.object({\n folders: z.array(NethuntCrmListReadableFolders_FolderSchema).describe(\"Array of folders the user has read access to\"),\n}).passthrough().describe(\"Response model for listing readable folders.\");\n\nexport const nethuntCrmListReadableFolders: AppAction<\n typeof NethuntCrmListReadableFoldersInput,\n typeof NethuntCrmListReadableFoldersOutput,\n typeof nethuntCrm.credential\n> = action(\"NETHUNT_CRM_LIST_READABLE_FOLDERS\", {\n slug: \"nethunt_crm-list-readable-folders\",\n name: \"List Readable Folders\",\n description: \"Tool to list all accessible folders in NetHunt CRM. Returns folders the user has read access to. Use when you need to retrieve available folders for organizing or accessing records.\",\n input: NethuntCrmListReadableFoldersInput,\n output: NethuntCrmListReadableFoldersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,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,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiD,EAAE,OAAO,EAC1D,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,8CAA8C,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-writable-folders.ts
@@ -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}).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"}
1
+ {"version":3,"file":"list-writable-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-writable-folders.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\n\nexport const 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: AppAction<\n typeof NethuntCrmListWritableFoldersInput,\n typeof NethuntCrmListWritableFoldersOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAC7I,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+CAA+C,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { nethuntCrm } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-writable-folders.d.ts
@@ -8,21 +10,7 @@ declare const NethuntCrmListWritableFoldersOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, 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>>]>;
13
+ declare const nethuntCrmListWritableFolders: AppAction<typeof NethuntCrmListWritableFoldersInput, typeof NethuntCrmListWritableFoldersOutput, typeof nethuntCrm.credential>;
26
14
  //#endregion
27
15
  export { nethuntCrmListWritableFolders };
28
16
  //# 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,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-writable-folders.d.cts","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { nethuntCrm } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-writable-folders.d.ts
@@ -8,21 +10,7 @@ declare const NethuntCrmListWritableFoldersOutput: z.ZodObject<{
8
10
  name: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, 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>>]>;
13
+ declare const nethuntCrmListWritableFolders: AppAction<typeof NethuntCrmListWritableFoldersInput, typeof NethuntCrmListWritableFoldersOutput, typeof nethuntCrm.credential>;
26
14
  //#endregion
27
15
  export { nethuntCrmListWritableFolders };
28
16
  //# 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,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-writable-folders.d.mts","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-writable-folders.ts
@@ -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}).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"}
1
+ {"version":3,"file":"list-writable-folders.mjs","names":[],"sources":["../../src/actions/list-writable-folders.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\n\nexport const 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: AppAction<\n typeof NethuntCrmListWritableFoldersInput,\n typeof NethuntCrmListWritableFoldersOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,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,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiD,EAAE,OAAO,EAC1D,SAAS,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,+CAA+C,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/test-auth.ts
@@ -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}).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"}
1
+ {"version":3,"file":"test-auth.cjs","names":["z","action"],"sources":["../../src/actions/test-auth.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\n\nexport const 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: AppAction<\n typeof NethuntCrmTestAuthInput,\n typeof NethuntCrmTestAuthOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,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,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { nethuntCrm } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/test-auth.d.ts
@@ -8,21 +10,7 @@ declare const NethuntCrmTestAuthOutput: z.ZodObject<{
8
10
  personalName: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, 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>>]>;
13
+ declare const nethuntCrmTestAuth: AppAction<typeof NethuntCrmTestAuthInput, typeof NethuntCrmTestAuthOutput, typeof nethuntCrm.credential>;
26
14
  //#endregion
27
15
  export { nethuntCrmTestAuth };
28
16
  //# 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,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"test-auth.d.cts","names":[],"sources":["../../src/actions/test-auth.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { nethuntCrm } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/test-auth.d.ts
@@ -8,21 +10,7 @@ declare const NethuntCrmTestAuthOutput: z.ZodObject<{
8
10
  personalName: z.ZodNullable<z.ZodString>;
9
11
  }, z.core.$loose>>;
10
12
  }, 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>>]>;
13
+ declare const nethuntCrmTestAuth: AppAction<typeof NethuntCrmTestAuthInput, typeof NethuntCrmTestAuthOutput, typeof nethuntCrm.credential>;
26
14
  //#endregion
27
15
  export { nethuntCrmTestAuth };
28
16
  //# 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,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"test-auth.d.mts","names":[],"sources":["../../src/actions/test-auth.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAKvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/test-auth.ts
@@ -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}).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"}
1
+ {"version":3,"file":"test-auth.mjs","names":[],"sources":["../../src/actions/test-auth.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { nethuntCrm } from \"../app\";\n\nexport const 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: AppAction<\n typeof NethuntCrmTestAuthInput,\n typeof NethuntCrmTestAuthOutput,\n typeof nethuntCrm.credential\n> = 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":";;;;AAMA,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,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,MAAM,kCAAkC,SAAS,EACnD,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,13 +1,14 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
2
  let zod = require("zod");
3
3
  //#region src/app.ts
4
+ const credential = {
5
+ username: zod.z.string(),
6
+ password: zod.z.string()
7
+ };
4
8
  const nethuntCrm = (0, _keystrokehq_keystroke_app.defineApp)({
5
9
  slug: "nethunt_crm",
6
10
  auth: "keystroke",
7
- credential: {
8
- username: zod.z.string(),
9
- password: zod.z.string()
10
- }
11
+ credential
11
12
  });
12
13
  //#endregion
13
14
  exports.nethuntCrm = nethuntCrm;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n username: z.string(),\n password: z.string(),\n};\n\nexport const nethuntCrm: KeystrokeApp<\"nethunt_crm\", typeof credential> = defineApp({\n slug: \"nethunt_crm\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,UAAUA,IAAAA,EAAE,OAAO;CACnB,UAAUA,IAAAA,EAAE,OAAO;AACrB;AAEA,MAAa,cAAA,GAAA,2BAAA,UAAA,CAAuE;CAClF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,14 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
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<{
5
+ declare const credential: {
9
6
  username: z.ZodString;
10
7
  password: z.ZodString;
11
- }, z.core.$strip>>>;
8
+ };
9
+ declare const nethuntCrm: KeystrokeApp<"nethunt_crm", typeof credential>;
12
10
  //#endregion
13
11
  export { nethuntCrm };
14
12
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;YAGL,CAAA,CAAA,SAAA;YAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,UAAA,EAAY,YAAY,uBAAuB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,14 +1,12 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
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<{
5
+ declare const credential: {
9
6
  username: z.ZodString;
10
7
  password: z.ZodString;
11
- }, z.core.$strip>>>;
8
+ };
9
+ declare const nethuntCrm: KeystrokeApp<"nethunt_crm", typeof credential>;
12
10
  //#endregion
13
11
  export { nethuntCrm };
14
12
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,gBAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;YAGL,CAAA,CAAA,SAAA;YAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,UAAA,EAAY,YAAY,uBAAuB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const nethuntCrm = defineApp({
5
4
  slug: "nethunt_crm",
6
5
  auth: "keystroke",
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\";\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"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n username: z.string(),\n password: z.string(),\n};\n\nexport const nethuntCrm: KeystrokeApp<\"nethunt_crm\", typeof credential> = defineApp({\n slug: \"nethunt_crm\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,aAA6D,UAAU;CAClF,MAAM;CACN,MAAM;CACN;EAPA,UAAU,EAAE,OAAO;EACnB,UAAU,EAAE,OAAO;CAMnB;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { nethuntCrm } from "./app.cjs";
1
2
  import { nethuntCrmDeleteRecord } from "./actions/delete-record.cjs";
2
3
  import { nethuntCrmFindRecords } from "./actions/find-records.cjs";
3
4
  import { nethuntCrmGetNewCallLogs } from "./actions/get-new-call-logs.cjs";
@@ -10,6 +11,5 @@ import { nethuntCrmListFolderFields } from "./actions/list-folder-fields.cjs";
10
11
  import { nethuntCrmListReadableFolders } from "./actions/list-readable-folders.cjs";
11
12
  import { nethuntCrmListWritableFolders } from "./actions/list-writable-folders.cjs";
12
13
  import { nethuntCrmTestAuth } from "./actions/test-auth.cjs";
13
- import { nethuntCrm } from "./app.cjs";
14
14
  import { nethuntCrmCatalog } from "./catalog.cjs";
15
15
  export { nethuntCrm, nethuntCrmCatalog, nethuntCrmDeleteRecord, nethuntCrmFindRecords, nethuntCrmGetNewCallLogs, nethuntCrmGetNewComments, nethuntCrmGetNewGdriveFiles, nethuntCrmGetNewRecords, nethuntCrmGetRecordChanges, nethuntCrmGetUpdatedRecords, nethuntCrmListFolderFields, nethuntCrmListReadableFolders, nethuntCrmListWritableFolders, nethuntCrmTestAuth };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { nethuntCrm } from "./app.mjs";
1
2
  import { nethuntCrmDeleteRecord } from "./actions/delete-record.mjs";
2
3
  import { nethuntCrmFindRecords } from "./actions/find-records.mjs";
3
4
  import { nethuntCrmGetNewCallLogs } from "./actions/get-new-call-logs.mjs";
@@ -10,6 +11,5 @@ import { nethuntCrmListFolderFields } from "./actions/list-folder-fields.mjs";
10
11
  import { nethuntCrmListReadableFolders } from "./actions/list-readable-folders.mjs";
11
12
  import { nethuntCrmListWritableFolders } from "./actions/list-writable-folders.mjs";
12
13
  import { nethuntCrmTestAuth } from "./actions/test-auth.mjs";
13
- import { nethuntCrm } from "./app.mjs";
14
14
  import { nethuntCrmCatalog } from "./catalog.mjs";
15
15
  export { nethuntCrm, nethuntCrmCatalog, nethuntCrmDeleteRecord, nethuntCrmFindRecords, nethuntCrmGetNewCallLogs, nethuntCrmGetNewComments, nethuntCrmGetNewGdriveFiles, nethuntCrmGetNewRecords, nethuntCrmGetRecordChanges, nethuntCrmGetUpdatedRecords, nethuntCrmListFolderFields, nethuntCrmListReadableFolders, nethuntCrmListWritableFolders, nethuntCrmTestAuth };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/nethunt_crm",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {