@keystrokehq/specific 0.1.5 → 0.1.6

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 (157) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-company.cjs +1 -0
  4. package/dist/actions/create-company.cjs.map +1 -1
  5. package/dist/actions/create-company.d.cts +3 -17
  6. package/dist/actions/create-company.d.cts.map +1 -1
  7. package/dist/actions/create-company.d.mts +3 -17
  8. package/dist/actions/create-company.d.mts.map +1 -1
  9. package/dist/actions/create-company.mjs +1 -0
  10. package/dist/actions/create-company.mjs.map +1 -1
  11. package/dist/actions/create-conversation.cjs +1 -0
  12. package/dist/actions/create-conversation.cjs.map +1 -1
  13. package/dist/actions/create-conversation.d.cts +3 -50
  14. package/dist/actions/create-conversation.d.cts.map +1 -1
  15. package/dist/actions/create-conversation.d.mts +3 -50
  16. package/dist/actions/create-conversation.d.mts.map +1 -1
  17. package/dist/actions/create-conversation.mjs +1 -0
  18. package/dist/actions/create-conversation.mjs.map +1 -1
  19. package/dist/actions/create-or-update-company.cjs +1 -0
  20. package/dist/actions/create-or-update-company.cjs.map +1 -1
  21. package/dist/actions/create-or-update-company.d.cts +3 -23
  22. package/dist/actions/create-or-update-company.d.cts.map +1 -1
  23. package/dist/actions/create-or-update-company.d.mts +3 -23
  24. package/dist/actions/create-or-update-company.d.mts.map +1 -1
  25. package/dist/actions/create-or-update-company.mjs +1 -0
  26. package/dist/actions/create-or-update-company.mjs.map +1 -1
  27. package/dist/actions/create-or-update-user.cjs +1 -0
  28. package/dist/actions/create-or-update-user.cjs.map +1 -1
  29. package/dist/actions/create-or-update-user.d.cts +3 -27
  30. package/dist/actions/create-or-update-user.d.cts.map +1 -1
  31. package/dist/actions/create-or-update-user.d.mts +3 -27
  32. package/dist/actions/create-or-update-user.d.mts.map +1 -1
  33. package/dist/actions/create-or-update-user.mjs +1 -0
  34. package/dist/actions/create-or-update-user.mjs.map +1 -1
  35. package/dist/actions/create-user.cjs +1 -0
  36. package/dist/actions/create-user.cjs.map +1 -1
  37. package/dist/actions/create-user.d.cts +3 -23
  38. package/dist/actions/create-user.d.cts.map +1 -1
  39. package/dist/actions/create-user.d.mts +3 -23
  40. package/dist/actions/create-user.d.mts.map +1 -1
  41. package/dist/actions/create-user.mjs +1 -0
  42. package/dist/actions/create-user.mjs.map +1 -1
  43. package/dist/actions/delete-company-attributes.cjs +1 -0
  44. package/dist/actions/delete-company-attributes.cjs.map +1 -1
  45. package/dist/actions/delete-company-attributes.d.cts +3 -16
  46. package/dist/actions/delete-company-attributes.d.cts.map +1 -1
  47. package/dist/actions/delete-company-attributes.d.mts +3 -16
  48. package/dist/actions/delete-company-attributes.d.mts.map +1 -1
  49. package/dist/actions/delete-company-attributes.mjs +1 -0
  50. package/dist/actions/delete-company-attributes.mjs.map +1 -1
  51. package/dist/actions/delete-company.cjs +1 -0
  52. package/dist/actions/delete-company.cjs.map +1 -1
  53. package/dist/actions/delete-company.d.cts +3 -15
  54. package/dist/actions/delete-company.d.cts.map +1 -1
  55. package/dist/actions/delete-company.d.mts +3 -15
  56. package/dist/actions/delete-company.d.mts.map +1 -1
  57. package/dist/actions/delete-company.mjs +1 -0
  58. package/dist/actions/delete-company.mjs.map +1 -1
  59. package/dist/actions/delete-user-attributes.cjs +1 -0
  60. package/dist/actions/delete-user-attributes.cjs.map +1 -1
  61. package/dist/actions/delete-user-attributes.d.cts +3 -21
  62. package/dist/actions/delete-user-attributes.d.cts.map +1 -1
  63. package/dist/actions/delete-user-attributes.d.mts +3 -21
  64. package/dist/actions/delete-user-attributes.d.mts.map +1 -1
  65. package/dist/actions/delete-user-attributes.mjs +1 -0
  66. package/dist/actions/delete-user-attributes.mjs.map +1 -1
  67. package/dist/actions/delete-user.cjs +1 -0
  68. package/dist/actions/delete-user.cjs.map +1 -1
  69. package/dist/actions/delete-user.d.cts +3 -16
  70. package/dist/actions/delete-user.d.cts.map +1 -1
  71. package/dist/actions/delete-user.d.mts +3 -16
  72. package/dist/actions/delete-user.d.mts.map +1 -1
  73. package/dist/actions/delete-user.mjs +1 -0
  74. package/dist/actions/delete-user.mjs.map +1 -1
  75. package/dist/actions/get-my-workspace.cjs +1 -0
  76. package/dist/actions/get-my-workspace.cjs.map +1 -1
  77. package/dist/actions/get-my-workspace.d.cts +3 -13
  78. package/dist/actions/get-my-workspace.d.cts.map +1 -1
  79. package/dist/actions/get-my-workspace.d.mts +3 -13
  80. package/dist/actions/get-my-workspace.d.mts.map +1 -1
  81. package/dist/actions/get-my-workspace.mjs +1 -0
  82. package/dist/actions/get-my-workspace.mjs.map +1 -1
  83. package/dist/actions/list-companies.cjs +1 -0
  84. package/dist/actions/list-companies.cjs.map +1 -1
  85. package/dist/actions/list-companies.d.cts +3 -46
  86. package/dist/actions/list-companies.d.cts.map +1 -1
  87. package/dist/actions/list-companies.d.mts +3 -46
  88. package/dist/actions/list-companies.d.mts.map +1 -1
  89. package/dist/actions/list-companies.mjs +1 -0
  90. package/dist/actions/list-companies.mjs.map +1 -1
  91. package/dist/actions/list-conversations.cjs +1 -0
  92. package/dist/actions/list-conversations.cjs.map +1 -1
  93. package/dist/actions/list-conversations.d.cts +3 -17
  94. package/dist/actions/list-conversations.d.cts.map +1 -1
  95. package/dist/actions/list-conversations.d.mts +3 -17
  96. package/dist/actions/list-conversations.d.mts.map +1 -1
  97. package/dist/actions/list-conversations.mjs +1 -0
  98. package/dist/actions/list-conversations.mjs.map +1 -1
  99. package/dist/actions/list-custom-fields.cjs +1 -0
  100. package/dist/actions/list-custom-fields.cjs.map +1 -1
  101. package/dist/actions/list-custom-fields.d.cts +3 -15
  102. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  103. package/dist/actions/list-custom-fields.d.mts +3 -15
  104. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  105. package/dist/actions/list-custom-fields.mjs +1 -0
  106. package/dist/actions/list-custom-fields.mjs.map +1 -1
  107. package/dist/actions/list-sources.cjs +1 -0
  108. package/dist/actions/list-sources.cjs.map +1 -1
  109. package/dist/actions/list-sources.d.cts +3 -13
  110. package/dist/actions/list-sources.d.cts.map +1 -1
  111. package/dist/actions/list-sources.d.mts +3 -13
  112. package/dist/actions/list-sources.d.mts.map +1 -1
  113. package/dist/actions/list-sources.mjs +1 -0
  114. package/dist/actions/list-sources.mjs.map +1 -1
  115. package/dist/actions/list-surveys.cjs +1 -0
  116. package/dist/actions/list-surveys.cjs.map +1 -1
  117. package/dist/actions/list-surveys.d.cts +3 -13
  118. package/dist/actions/list-surveys.d.cts.map +1 -1
  119. package/dist/actions/list-surveys.d.mts +3 -13
  120. package/dist/actions/list-surveys.d.mts.map +1 -1
  121. package/dist/actions/list-surveys.mjs +1 -0
  122. package/dist/actions/list-surveys.mjs.map +1 -1
  123. package/dist/actions/list-users.cjs +1 -0
  124. package/dist/actions/list-users.cjs.map +1 -1
  125. package/dist/actions/list-users.d.cts +3 -47
  126. package/dist/actions/list-users.d.cts.map +1 -1
  127. package/dist/actions/list-users.d.mts +3 -47
  128. package/dist/actions/list-users.d.mts.map +1 -1
  129. package/dist/actions/list-users.mjs +1 -0
  130. package/dist/actions/list-users.mjs.map +1 -1
  131. package/dist/actions/update-company.cjs +1 -0
  132. package/dist/actions/update-company.cjs.map +1 -1
  133. package/dist/actions/update-company.d.cts +3 -17
  134. package/dist/actions/update-company.d.cts.map +1 -1
  135. package/dist/actions/update-company.d.mts +3 -17
  136. package/dist/actions/update-company.d.mts.map +1 -1
  137. package/dist/actions/update-company.mjs +1 -0
  138. package/dist/actions/update-company.mjs.map +1 -1
  139. package/dist/actions/update-user.cjs +1 -0
  140. package/dist/actions/update-user.cjs.map +1 -1
  141. package/dist/actions/update-user.d.cts +3 -27
  142. package/dist/actions/update-user.d.cts.map +1 -1
  143. package/dist/actions/update-user.d.mts +3 -27
  144. package/dist/actions/update-user.d.mts.map +1 -1
  145. package/dist/actions/update-user.mjs +1 -0
  146. package/dist/actions/update-user.mjs.map +1 -1
  147. package/dist/app.cjs +2 -2
  148. package/dist/app.cjs.map +1 -1
  149. package/dist/app.d.cts +4 -6
  150. package/dist/app.d.cts.map +1 -1
  151. package/dist/app.d.mts +4 -6
  152. package/dist/app.d.mts.map +1 -1
  153. package/dist/app.mjs +0 -1
  154. package/dist/app.mjs.map +1 -1
  155. package/dist/index.d.cts +1 -1
  156. package/dist/index.d.mts +1 -1
  157. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteUserInput = z.object({\n email: z.string().describe(\"The email address of the user to delete. Either user_id or email must be provided.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user to delete. Either user_id or email must be provided.\").optional(),\n}).describe(\"Request model for deleting a user from the Specific platform.\");\nconst SpecificDeleteUser_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n}).passthrough().describe(\"Company information associated with a user.\");\nexport const SpecificDeleteUserOutput = z.object({\n id: z.string().describe(\"The unique identifier of the deleted user.\").nullable(),\n name: z.string().describe(\"The name of the deleted user.\").nullable(),\n email: z.string().describe(\"The email address of the deleted user.\").nullable().optional(),\n company: SpecificDeleteUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID for the deleted user.\").nullable(),\n}).passthrough().describe(\"Response model containing the deleted user's information.\");\n\nexport const specificDeleteUser = action(\"SPECIFIC_DELETE_USER\", {\n slug: \"specific-delete-user\",\n name: \"Delete User\",\n description: \"Tool to remove a user record from the Specific platform. Use when you need to permanently delete a contact from the workspace.\",\n input: SpecificDeleteUserInput,\n output: SpecificDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificDeleteUserInput = z.object({\n email: z.string().describe(\"The email address of the user to delete. Either user_id or email must be provided.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user to delete. Either user_id or email must be provided.\").optional(),\n}).describe(\"Request model for deleting a user from the Specific platform.\");\nconst SpecificDeleteUser_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n}).passthrough().describe(\"Company information associated with a user.\");\nexport const SpecificDeleteUserOutput = z.object({\n id: z.string().describe(\"The unique identifier of the deleted user.\").nullable(),\n name: z.string().describe(\"The name of the deleted user.\").nullable(),\n email: z.string().describe(\"The email address of the deleted user.\").nullable().optional(),\n company: SpecificDeleteUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID for the deleted user.\").nullable(),\n}).passthrough().describe(\"Response model containing the deleted user's information.\");\n\nexport const specificDeleteUser: AppAction<\n typeof SpecificDeleteUserInput,\n typeof SpecificDeleteUserOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_DELETE_USER\", {\n slug: \"specific-delete-user\",\n name: \"Delete User\",\n description: \"Tool to remove a user record from the Specific platform. Use when you need to permanently delete a contact from the workspace.\",\n input: SpecificDeleteUserInput,\n output: SpecificDeleteUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { specific } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-user.d.ts
@@ -15,22 +17,7 @@ declare const SpecificDeleteUserOutput: z.ZodObject<{
15
17
  }, z.core.$loose>>>;
16
18
  visitorId: z.ZodNullable<z.ZodString>;
17
19
  }, z.core.$loose>;
18
- declare const specificDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- email?: string | undefined;
20
- user_id?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
20
+ declare const specificDeleteUser: AppAction<typeof SpecificDeleteUserInput, typeof SpecificDeleteUserOutput, typeof specific.credential>;
34
21
  //#endregion
35
22
  export { specificDeleteUser };
36
23
  //# sourceMappingURL=delete-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAQxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { specific } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/delete-user.d.ts
@@ -15,22 +17,7 @@ declare const SpecificDeleteUserOutput: z.ZodObject<{
15
17
  }, z.core.$loose>>>;
16
18
  visitorId: z.ZodNullable<z.ZodString>;
17
19
  }, z.core.$loose>;
18
- declare const specificDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- email?: string | undefined;
20
- user_id?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
20
+ declare const specificDeleteUser: AppAction<typeof SpecificDeleteUserInput, typeof SpecificDeleteUserOutput, typeof specific.credential>;
34
21
  //#endregion
35
22
  export { specificDeleteUser };
36
23
  //# sourceMappingURL=delete-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAQxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,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/delete-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteUserInput = z.object({\n email: z.string().describe(\"The email address of the user to delete. Either user_id or email must be provided.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user to delete. Either user_id or email must be provided.\").optional(),\n}).describe(\"Request model for deleting a user from the Specific platform.\");\nconst SpecificDeleteUser_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n}).passthrough().describe(\"Company information associated with a user.\");\nexport const SpecificDeleteUserOutput = z.object({\n id: z.string().describe(\"The unique identifier of the deleted user.\").nullable(),\n name: z.string().describe(\"The name of the deleted user.\").nullable(),\n email: z.string().describe(\"The email address of the deleted user.\").nullable().optional(),\n company: SpecificDeleteUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID for the deleted user.\").nullable(),\n}).passthrough().describe(\"Response model containing the deleted user's information.\");\n\nexport const specificDeleteUser = action(\"SPECIFIC_DELETE_USER\", {\n slug: \"specific-delete-user\",\n name: \"Delete User\",\n description: \"Tool to remove a user record from the Specific platform. Use when you need to permanently delete a contact from the workspace.\",\n input: SpecificDeleteUserInput,\n output: SpecificDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC1H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AASvE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificDeleteUserInput = z.object({\n email: z.string().describe(\"The email address of the user to delete. Either user_id or email must be provided.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user to delete. Either user_id or email must be provided.\").optional(),\n}).describe(\"Request model for deleting a user from the Specific platform.\");\nconst SpecificDeleteUser_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n}).passthrough().describe(\"Company information associated with a user.\");\nexport const SpecificDeleteUserOutput = z.object({\n id: z.string().describe(\"The unique identifier of the deleted user.\").nullable(),\n name: z.string().describe(\"The name of the deleted user.\").nullable(),\n email: z.string().describe(\"The email address of the deleted user.\").nullable().optional(),\n company: SpecificDeleteUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID for the deleted user.\").nullable(),\n}).passthrough().describe(\"Response model containing the deleted user's information.\");\n\nexport const specificDeleteUser: AppAction<\n typeof SpecificDeleteUserInput,\n typeof SpecificDeleteUserOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_DELETE_USER\", {\n slug: \"specific-delete-user\",\n name: \"Delete User\",\n description: \"Tool to remove a user record from the Specific platform. Use when you need to permanently delete a contact from the workspace.\",\n input: SpecificDeleteUserInput,\n output: SpecificDeleteUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC1H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AASvE,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;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/get-my-workspace.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-workspace.cjs","names":["z","action"],"sources":["../../src/actions/get-my-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificGetMyWorkspaceInput = z.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\").nullable(),\n name: z.string().describe(\"Display name of the workspace\").nullable(),\n}).passthrough().describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).passthrough().describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).passthrough().describe(\"Response model for the myWorkspace GraphQL query.\");\n\nexport const specificGetMyWorkspace = action(\"SPECIFIC_GET_MY_WORKSPACE\", {\n slug: \"specific-get-my-workspace\",\n name: \"Get My Workspace\",\n description: \"Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.\",\n input: SpecificGetMyWorkspaceInput,\n output: SpecificGetMyWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACnM,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-my-workspace.cjs","names":["z","action"],"sources":["../../src/actions/get-my-workspace.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificGetMyWorkspaceInput = z.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\").nullable(),\n name: z.string().describe(\"Display name of the workspace\").nullable(),\n}).passthrough().describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).passthrough().describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).passthrough().describe(\"Response model for the myWorkspace GraphQL query.\");\n\nexport const specificGetMyWorkspace: AppAction<\n typeof SpecificGetMyWorkspaceInput,\n typeof SpecificGetMyWorkspaceOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_GET_MY_WORKSPACE\", {\n slug: \"specific-get-my-workspace\",\n name: \"Get My Workspace\",\n description: \"Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.\",\n input: SpecificGetMyWorkspaceInput,\n output: SpecificGetMyWorkspaceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACnM,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { specific } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-my-workspace.d.ts
@@ -10,19 +12,7 @@ declare const SpecificGetMyWorkspaceOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>>;
12
14
  }, z.core.$loose>;
13
- declare const specificGetMyWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>;
15
+ declare const specificGetMyWorkspace: AppAction<typeof SpecificGetMyWorkspaceInput, typeof SpecificGetMyWorkspaceOutput, typeof specific.credential>;
26
16
  //#endregion
27
17
  export { specificGetMyWorkspace };
28
18
  //# sourceMappingURL=get-my-workspace.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-workspace.d.cts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-my-workspace.d.cts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { specific } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-my-workspace.d.ts
@@ -10,19 +12,7 @@ declare const SpecificGetMyWorkspaceOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>>;
12
14
  }, z.core.$loose>;
13
- declare const specificGetMyWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
14
- connectionId: z.ZodString;
15
- entityId: z.ZodString;
16
- instanceId: z.ZodString;
17
- }, z.core.$strip>, z.ZodObject<{
18
- generic_api_key: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- }, z.core.$strip>>]>;
15
+ declare const specificGetMyWorkspace: AppAction<typeof SpecificGetMyWorkspaceInput, typeof SpecificGetMyWorkspaceOutput, typeof specific.credential>;
26
16
  //#endregion
27
17
  export { specificGetMyWorkspace };
28
18
  //# sourceMappingURL=get-my-workspace.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-workspace.d.mts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"get-my-workspace.d.mts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,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/get-my-workspace.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-workspace.mjs","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificGetMyWorkspaceInput = z.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\").nullable(),\n name: z.string().describe(\"Display name of the workspace\").nullable(),\n}).passthrough().describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).passthrough().describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).passthrough().describe(\"Response model for the myWorkspace GraphQL query.\");\n\nexport const specificGetMyWorkspace = action(\"SPECIFIC_GET_MY_WORKSPACE\", {\n slug: \"specific-get-my-workspace\",\n name: \"Get My Workspace\",\n description: \"Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.\",\n input: SpecificGetMyWorkspaceInput,\n output: SpecificGetMyWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACnM,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,kDAAkD,EAAE,OAAO,EAC/D,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAK1E,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-my-workspace.mjs","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificGetMyWorkspaceInput = z.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\").nullable(),\n name: z.string().describe(\"Display name of the workspace\").nullable(),\n}).passthrough().describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).passthrough().describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).passthrough().describe(\"Response model for the myWorkspace GraphQL query.\");\n\nexport const specificGetMyWorkspace: AppAction<\n typeof SpecificGetMyWorkspaceInput,\n typeof SpecificGetMyWorkspaceOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_GET_MY_WORKSPACE\", {\n slug: \"specific-get-my-workspace\",\n name: \"Get My Workspace\",\n description: \"Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.\",\n input: SpecificGetMyWorkspaceInput,\n output: SpecificGetMyWorkspaceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACnM,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,kDAAkD,EAAE,OAAO,EAC/D,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAK1E,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;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-companies.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-companies.cjs","names":["z","action"],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListCompaniesInput = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n name: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n}).describe(\"Filter for company fields.\").optional(),\n}).describe(\"Request model for listing companies from Specific platform.\");\nconst SpecificListCompanies_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company object from Specific platform.\");\nexport const SpecificListCompaniesOutput = z.object({\n companies: z.array(SpecificListCompanies_CompanySchema).describe(\"List of companies from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing companies.\");\n\nexport const specificListCompanies = action(\"SPECIFIC_LIST_COMPANIES\", {\n slug: \"specific-list-companies\",\n name: \"List Companies\",\n description: \"Tool to query company records from the Specific platform via GraphQL. Use when you need to retrieve company information, optionally filtering by ID or name.\",\n input: SpecificListCompaniesInput,\n output: SpecificListCompaniesOutput,\n});\n"],"mappings":";;;AAIA,M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,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,+CAA+C,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-companies.cjs","names":["z","action"],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListCompaniesInput = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n name: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n}).describe(\"Filter for company fields.\").optional(),\n}).describe(\"Request model for listing companies from Specific platform.\");\nconst SpecificListCompanies_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company object from Specific platform.\");\nexport const SpecificListCompaniesOutput = z.object({\n companies: z.array(SpecificListCompanies_CompanySchema).describe(\"List of companies from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing companies.\");\n\nexport const specificListCompanies: AppAction<\n typeof SpecificListCompaniesInput,\n typeof SpecificListCompaniesOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_COMPANIES\", {\n slug: \"specific-list-companies\",\n name: \"List Companies\",\n description: \"Tool to query company records from the Specific platform via GraphQL. Use when you need to retrieve company information, optionally filtering by ID or name.\",\n input: SpecificListCompaniesInput,\n output: SpecificListCompaniesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,OAAOA,IAAAA,EAAE,OAAO;CAChB,IAAIA,IAAAA,EAAE,OAAO;EACb,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC7D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACtF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACpE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,YAAY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,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACnD,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,+CAA+C,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { specific } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-companies.d.ts
@@ -43,52 +45,7 @@ declare const SpecificListCompaniesOutput: z.ZodObject<{
43
45
  usersCount: z.ZodNullable<z.ZodNumber>;
44
46
  }, z.core.$loose>>;
45
47
  }, z.core.$loose>;
46
- declare const specificListCompanies: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- where?: {
48
- id?: {
49
- gt?: string | undefined;
50
- in?: string[] | undefined;
51
- is?: string | undefined;
52
- lt?: string | undefined;
53
- gte?: string | undefined;
54
- lte?: string | undefined;
55
- not?: string | undefined;
56
- isNot?: string | undefined;
57
- notIn?: string[] | undefined;
58
- equals?: string | undefined;
59
- contains?: string | undefined;
60
- endsWith?: string | undefined;
61
- startsWith?: string | undefined;
62
- } | undefined;
63
- name?: {
64
- gt?: string | undefined;
65
- in?: string[] | undefined;
66
- is?: string | undefined;
67
- lt?: string | undefined;
68
- gte?: string | undefined;
69
- lte?: string | undefined;
70
- not?: string | undefined;
71
- isNot?: string | undefined;
72
- notIn?: string[] | undefined;
73
- equals?: string | undefined;
74
- contains?: string | undefined;
75
- endsWith?: string | undefined;
76
- startsWith?: string | undefined;
77
- } | undefined;
78
- } | undefined;
79
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
80
- connectionId: z.ZodString;
81
- entityId: z.ZodString;
82
- instanceId: z.ZodString;
83
- }, z.core.$strip>, z.ZodObject<{
84
- generic_api_key: z.ZodString;
85
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
86
- connectionId: z.ZodString;
87
- entityId: z.ZodString;
88
- instanceId: z.ZodString;
89
- }, z.core.$strip>, z.ZodObject<{
90
- generic_api_key: z.ZodString;
91
- }, z.core.$strip>>]>;
48
+ declare const specificListCompanies: AppAction<typeof SpecificListCompaniesInput, typeof SpecificListCompaniesOutput, typeof specific.credential>;
92
49
  //#endregion
93
50
  export { specificListCompanies };
94
51
  //# sourceMappingURL=list-companies.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-companies.d.cts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-companies.d.cts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { specific } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-companies.d.ts
@@ -43,52 +45,7 @@ declare const SpecificListCompaniesOutput: z.ZodObject<{
43
45
  usersCount: z.ZodNullable<z.ZodNumber>;
44
46
  }, z.core.$loose>>;
45
47
  }, z.core.$loose>;
46
- declare const specificListCompanies: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- where?: {
48
- id?: {
49
- gt?: string | undefined;
50
- in?: string[] | undefined;
51
- is?: string | undefined;
52
- lt?: string | undefined;
53
- gte?: string | undefined;
54
- lte?: string | undefined;
55
- not?: string | undefined;
56
- isNot?: string | undefined;
57
- notIn?: string[] | undefined;
58
- equals?: string | undefined;
59
- contains?: string | undefined;
60
- endsWith?: string | undefined;
61
- startsWith?: string | undefined;
62
- } | undefined;
63
- name?: {
64
- gt?: string | undefined;
65
- in?: string[] | undefined;
66
- is?: string | undefined;
67
- lt?: string | undefined;
68
- gte?: string | undefined;
69
- lte?: string | undefined;
70
- not?: string | undefined;
71
- isNot?: string | undefined;
72
- notIn?: string[] | undefined;
73
- equals?: string | undefined;
74
- contains?: string | undefined;
75
- endsWith?: string | undefined;
76
- startsWith?: string | undefined;
77
- } | undefined;
78
- } | undefined;
79
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
80
- connectionId: z.ZodString;
81
- entityId: z.ZodString;
82
- instanceId: z.ZodString;
83
- }, z.core.$strip>, z.ZodObject<{
84
- generic_api_key: z.ZodString;
85
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
86
- connectionId: z.ZodString;
87
- entityId: z.ZodString;
88
- instanceId: z.ZodString;
89
- }, z.core.$strip>, z.ZodObject<{
90
- generic_api_key: z.ZodString;
91
- }, z.core.$strip>>]>;
48
+ declare const specificListCompanies: AppAction<typeof SpecificListCompaniesInput, typeof SpecificListCompaniesOutput, typeof specific.credential>;
92
49
  //#endregion
93
50
  export { specificListCompanies };
94
51
  //# sourceMappingURL=list-companies.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-companies.d.mts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"list-companies.d.mts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,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-companies.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-companies.mjs","names":[],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListCompaniesInput = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n name: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n}).describe(\"Filter for company fields.\").optional(),\n}).describe(\"Request model for listing companies from Specific platform.\");\nconst SpecificListCompanies_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company object from Specific platform.\");\nexport const SpecificListCompaniesOutput = z.object({\n companies: z.array(SpecificListCompanies_CompanySchema).describe(\"List of companies from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing companies.\");\n\nexport const specificListCompanies = action(\"SPECIFIC_LIST_COMPANIES\", {\n slug: \"specific-list-companies\",\n name: \"List Companies\",\n description: \"Tool to query company records from the Specific platform via GraphQL. Use when you need to retrieve company information, optionally filtering by ID or name.\",\n input: SpecificListCompaniesInput,\n output: SpecificListCompaniesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,OAAO,EAAE,OAAO;CAChB,IAAI,EAAE,OAAO;EACb,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACtF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,C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,CAAC,SAAS,6DAA6D;AACzE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,WAAW,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,+CAA+C,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-companies.mjs","names":[],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListCompaniesInput = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n name: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n}).describe(\"Filter for company fields.\").optional(),\n}).describe(\"Request model for listing companies from Specific platform.\");\nconst SpecificListCompanies_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company object from Specific platform.\");\nexport const SpecificListCompaniesOutput = z.object({\n companies: z.array(SpecificListCompanies_CompanySchema).describe(\"List of companies from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing companies.\");\n\nexport const specificListCompanies: AppAction<\n typeof SpecificListCompaniesInput,\n typeof SpecificListCompaniesOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_COMPANIES\", {\n slug: \"specific-list-companies\",\n name: \"List Companies\",\n description: \"Tool to query company records from the Specific platform via GraphQL. Use when you need to retrieve company information, optionally filtering by ID or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A+C,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,WAAW,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,+CAA+C,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;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-conversations.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-conversations.cjs","names":["z","action"],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListConversationsInput = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's name.\").nullable(),\n}).passthrough().describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema = z.object({\n id: z.string().describe(\"Contact's unique identifier.\").nullable(),\n name: z.string().describe(\"Contact's full name.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema = z.object({\n id: z.string().describe(\"User ID of the assignee.\").nullable(),\n email: z.string().describe(\"Email address of the assignee.\").nullable(),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).passthrough().describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n name: z.string().describe(\"Conversation name or title.\").nullable(),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\").nullable(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).passthrough().describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).passthrough().describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":";;;AAIA,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,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2HAA2H,EAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-conversations.cjs","names":["z","action"],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListConversationsInput = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's name.\").nullable(),\n}).passthrough().describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema = z.object({\n id: z.string().describe(\"Contact's unique identifier.\").nullable(),\n name: z.string().describe(\"Contact's full name.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema = z.object({\n id: z.string().describe(\"User ID of the assignee.\").nullable(),\n email: z.string().describe(\"Email address of the assignee.\").nullable(),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).passthrough().describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n name: z.string().describe(\"Conversation name or title.\").nullable(),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\").nullable(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).passthrough().describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).passthrough().describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations: AppAction<\n typeof SpecificListConversationsInput,\n typeof SpecificListConversationsOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,I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AC,CAAC,SAAS,oEAAoE;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2HAA2H,EAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { specific } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-conversations.d.ts
@@ -43,23 +45,7 @@ declare const SpecificListConversationsOutput: z.ZodObject<{
43
45
  customFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44
46
  }, z.core.$loose>>;
45
47
  }, z.core.$loose>;
46
- declare const specificListConversations: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- where?: {
48
- sources: string[];
49
- } | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- generic_api_key: z.ZodString;
56
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
57
- connectionId: z.ZodString;
58
- entityId: z.ZodString;
59
- instanceId: z.ZodString;
60
- }, z.core.$strip>, z.ZodObject<{
61
- generic_api_key: z.ZodString;
62
- }, z.core.$strip>>]>;
48
+ declare const specificListConversations: AppAction<typeof SpecificListConversationsInput, typeof SpecificListConversationsOutput, typeof specific.credential>;
63
49
  //#endregion
64
50
  export { specificListConversations };
65
51
  //# sourceMappingURL=list-conversations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-conversations.d.cts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAuC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-conversations.d.cts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAuC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { specific } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-conversations.d.ts
@@ -43,23 +45,7 @@ declare const SpecificListConversationsOutput: z.ZodObject<{
43
45
  customFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44
46
  }, z.core.$loose>>;
45
47
  }, z.core.$loose>;
46
- declare const specificListConversations: import("@keystrokehq/action").WorkflowActionDefinition<{
47
- where?: {
48
- sources: string[];
49
- } | undefined;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- generic_api_key: z.ZodString;
56
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
57
- connectionId: z.ZodString;
58
- entityId: z.ZodString;
59
- instanceId: z.ZodString;
60
- }, z.core.$strip>, z.ZodObject<{
61
- generic_api_key: z.ZodString;
62
- }, z.core.$strip>>]>;
48
+ declare const specificListConversations: AppAction<typeof SpecificListConversationsInput, typeof SpecificListConversationsOutput, typeof specific.credential>;
63
49
  //#endregion
64
50
  export { specificListConversations };
65
51
  //# sourceMappingURL=list-conversations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-conversations.d.mts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAuC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"list-conversations.d.mts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAuC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,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-conversations.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-conversations.mjs","names":[],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListConversationsInput = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's name.\").nullable(),\n}).passthrough().describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema = z.object({\n id: z.string().describe(\"Contact's unique identifier.\").nullable(),\n name: z.string().describe(\"Contact's full name.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema = z.object({\n id: z.string().describe(\"User ID of the assignee.\").nullable(),\n email: z.string().describe(\"Email address of the assignee.\").nullable(),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).passthrough().describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n name: z.string().describe(\"Conversation name or title.\").nullable(),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\").nullable(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).passthrough().describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).passthrough().describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,EACrJ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,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EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,eAAe,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2HAA2H,EAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-conversations.mjs","names":[],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListConversationsInput = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's name.\").nullable(),\n}).passthrough().describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema = z.object({\n id: z.string().describe(\"Contact's unique identifier.\").nullable(),\n name: z.string().describe(\"Contact's full name.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema = z.object({\n id: z.string().describe(\"User ID of the assignee.\").nullable(),\n email: z.string().describe(\"Email address of the assignee.\").nullable(),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).passthrough().describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n name: z.string().describe(\"Conversation name or title.\").nullable(),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\").nullable(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).passthrough().describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).passthrough().describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations: AppAction<\n typeof SpecificListConversationsInput,\n typeof SpecificListConversationsOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,EACrD,OAAO,EAAE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AC,CAAC,SAAS,2CAWhB;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-custom-fields.ts