@keystrokehq/specific 0.1.4 → 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 -5
  6. package/dist/actions/create-company.d.cts.map +1 -1
  7. package/dist/actions/create-company.d.mts +3 -5
  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 -38
  14. package/dist/actions/create-conversation.d.cts.map +1 -1
  15. package/dist/actions/create-conversation.d.mts +3 -38
  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 -11
  22. package/dist/actions/create-or-update-company.d.cts.map +1 -1
  23. package/dist/actions/create-or-update-company.d.mts +3 -11
  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 -15
  30. package/dist/actions/create-or-update-user.d.cts.map +1 -1
  31. package/dist/actions/create-or-update-user.d.mts +3 -15
  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 -11
  38. package/dist/actions/create-user.d.cts.map +1 -1
  39. package/dist/actions/create-user.d.mts +3 -11
  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 -4
  46. package/dist/actions/delete-company-attributes.d.cts.map +1 -1
  47. package/dist/actions/delete-company-attributes.d.mts +3 -4
  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 -3
  54. package/dist/actions/delete-company.d.cts.map +1 -1
  55. package/dist/actions/delete-company.d.mts +3 -3
  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 -9
  62. package/dist/actions/delete-user-attributes.d.cts.map +1 -1
  63. package/dist/actions/delete-user-attributes.d.mts +3 -9
  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 -4
  70. package/dist/actions/delete-user.d.cts.map +1 -1
  71. package/dist/actions/delete-user.d.mts +3 -4
  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 -1
  78. package/dist/actions/get-my-workspace.d.cts.map +1 -1
  79. package/dist/actions/get-my-workspace.d.mts +3 -1
  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 -34
  86. package/dist/actions/list-companies.d.cts.map +1 -1
  87. package/dist/actions/list-companies.d.mts +3 -34
  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 -5
  94. package/dist/actions/list-conversations.d.cts.map +1 -1
  95. package/dist/actions/list-conversations.d.mts +3 -5
  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 -3
  102. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  103. package/dist/actions/list-custom-fields.d.mts +3 -3
  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 -1
  110. package/dist/actions/list-sources.d.cts.map +1 -1
  111. package/dist/actions/list-sources.d.mts +3 -1
  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 -1
  118. package/dist/actions/list-surveys.d.cts.map +1 -1
  119. package/dist/actions/list-surveys.d.mts +3 -1
  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 -35
  126. package/dist/actions/list-users.d.cts.map +1 -1
  127. package/dist/actions/list-users.d.mts +3 -35
  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 -5
  134. package/dist/actions/update-company.d.cts.map +1 -1
  135. package/dist/actions/update-company.d.mts +3 -5
  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 -15
  142. package/dist/actions/update-user.d.cts.map +1 -1
  143. package/dist/actions/update-user.d.mts +3 -15
  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 +5 -2
  148. package/dist/app.cjs.map +1 -1
  149. package/dist/app.d.cts +7 -1
  150. package/dist/app.d.cts.map +1 -1
  151. package/dist/app.d.mts +7 -1
  152. package/dist/app.d.mts.map +1 -1
  153. package/dist/app.mjs +3 -2
  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":"list-surveys.d.cts","names":[],"sources":["../../src/actions/list-surveys.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAsBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-surveys.d.cts","names":[],"sources":["../../src/actions/list-surveys.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAsBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,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-surveys.d.ts
@@ -23,7 +25,7 @@ declare const SpecificListSurveysOutput: z.ZodObject<{
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>>;
25
27
  }, z.core.$loose>;
26
- declare const specificListSurveys: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const specificListSurveys: AppAction<typeof SpecificListSurveysInput, typeof SpecificListSurveysOutput, typeof specific.credential>;
27
29
  //#endregion
28
30
  export { specificListSurveys };
29
31
  //# sourceMappingURL=list-surveys.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-surveys.d.mts","names":[],"sources":["../../src/actions/list-surveys.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAsBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-surveys.d.mts","names":[],"sources":["../../src/actions/list-surveys.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAsBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,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-surveys.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-surveys.mjs","names":[],"sources":["../../src/actions/list-surveys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListSurveysInput = z.object({}).describe(\"Request model for listing surveys from Specific platform.\");\nconst SpecificListSurveys_SurveyMessageSchema = z.object({\n id: z.string().describe(\"Unique identifier for the survey message.\").nullable(),\n text: z.string().describe(\"The textual content of the message.\").nullable(),\n answer: z.string().describe(\"The response provided to a survey question.\").nullable(),\n createdAt: z.string().describe(\"Timestamp indicating when the message was created in ISO 8601 format.\").nullable(),\n questionId: z.string().describe(\"Reference identifier linking to the associated survey question.\").nullable(),\n}).passthrough().describe(\"Individual message within a survey conversation.\");\nconst SpecificListSurveys_SurveyConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n chat: z.array(SpecificListSurveys_SurveyMessageSchema).describe(\"Array of survey messages in the conversation.\"),\n createdAt: z.string().describe(\"Timestamp when the conversation was created in ISO 8601 format.\").nullable(),\n finishedAt: z.string().describe(\"Timestamp when the conversation ended in ISO 8601 format.\").nullable().optional(),\n isCompleted: z.boolean().describe(\"Flag indicating completion status of the conversation.\").nullable(),\n}).passthrough().describe(\"Conversation associated with a survey.\");\nconst SpecificListSurveys_SurveySchema = z.object({\n id: z.string().describe(\"The unique identifier of the survey.\").nullable(),\n name: z.string().describe(\"The name of the survey.\").nullable(),\n tone: z.string().describe(\"The tone of the survey.\").nullable(),\n context: z.string().describe(\"The context of the survey.\").nullable(),\n conversations: z.array(SpecificListSurveys_SurveyConversationSchema).describe(\"Array of conversations associated with the survey.\"),\n}).passthrough().describe(\"Survey object with complete details.\");\nexport const SpecificListSurveysOutput = z.object({\n surveys: z.array(SpecificListSurveys_SurveySchema).describe(\"List of survey objects from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing surveys.\");\n\nexport const specificListSurveys = action(\"SPECIFIC_LIST_SURVEYS\", {\n slug: \"specific-list-surveys\",\n name: \"List Surveys\",\n description: \"Tool to retrieve multiple survey records from the Specific platform via GraphQL. Use when you need to fetch all available surveys with their metadata, including names, contexts, tones, and associated conversation data.\",\n input: SpecificListSurveysInput,\n output: SpecificListSurveysOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAA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OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,oDAAoD,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-surveys.mjs","names":[],"sources":["../../src/actions/list-surveys.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 SpecificListSurveysInput = z.object({}).describe(\"Request model for listing surveys from Specific platform.\");\nconst SpecificListSurveys_SurveyMessageSchema = z.object({\n id: z.string().describe(\"Unique identifier for the survey message.\").nullable(),\n text: z.string().describe(\"The textual content of the message.\").nullable(),\n answer: z.string().describe(\"The response provided to a survey question.\").nullable(),\n createdAt: z.string().describe(\"Timestamp indicating when the message was created in ISO 8601 format.\").nullable(),\n questionId: z.string().describe(\"Reference identifier linking to the associated survey question.\").nullable(),\n}).passthrough().describe(\"Individual message within a survey conversation.\");\nconst SpecificListSurveys_SurveyConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n chat: z.array(SpecificListSurveys_SurveyMessageSchema).describe(\"Array of survey messages in the conversation.\"),\n createdAt: z.string().describe(\"Timestamp when the conversation was created in ISO 8601 format.\").nullable(),\n finishedAt: z.string().describe(\"Timestamp when the conversation ended in ISO 8601 format.\").nullable().optional(),\n isCompleted: z.boolean().describe(\"Flag indicating completion status of the conversation.\").nullable(),\n}).passthrough().describe(\"Conversation associated with a survey.\");\nconst SpecificListSurveys_SurveySchema = z.object({\n id: z.string().describe(\"The unique identifier of the survey.\").nullable(),\n name: z.string().describe(\"The name of the survey.\").nullable(),\n tone: z.string().describe(\"The tone of the survey.\").nullable(),\n context: z.string().describe(\"The context of the survey.\").nullable(),\n conversations: z.array(SpecificListSurveys_SurveyConversationSchema).describe(\"Array of conversations associated with the survey.\"),\n}).passthrough().describe(\"Survey object with complete details.\");\nexport const SpecificListSurveysOutput = z.object({\n surveys: z.array(SpecificListSurveys_SurveySchema).describe(\"List of survey objects from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing surveys.\");\n\nexport const specificListSurveys: AppAction<\n typeof SpecificListSurveysInput,\n typeof SpecificListSurveysOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_SURVEYS\", {\n slug: \"specific-list-surveys\",\n name: \"List Surveys\",\n description: \"Tool to retrieve multiple survey records from the Specific platform via GraphQL. Use when you need to fetch all available surveys with their metadata, including names, contexts, tones, and associated conversation data.\",\n input: SpecificListSurveysInput,\n output: SpecificListSurveysOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,+CAA+C;CAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpE,eAAe,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oDAAoD;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,SAAS,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,oDAAoD,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;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-users.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListUsersInput = 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 email: 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 attributes: z.record(z.string(), z.unknown()).describe(\"Filter by contact's custom attributes as key-value pairs.\").optional(),\n}).describe(\"Filter for contact/user fields.\").optional(),\n}).describe(\"Request model for listing users from Specific platform.\");\nconst SpecificListUsers_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 user.\");\nconst SpecificListUsers_UserSchema = 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: SpecificListUsers_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"User object from Specific platform.\");\nexport const SpecificListUsersOutput = z.object({\n users: z.array(SpecificListUsers_UserSchema).describe(\"List of user accounts from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing users.\");\n\nexport const specificListUsers = action(\"SPECIFIC_LIST_USERS\", {\n slug: \"specific-list-users\",\n name: \"List Users\",\n description: \"Tool to query user accounts from the Specific platform via GraphQL. Use when you need to retrieve user information, optionally filtering by ID, email, or custom attributes.\",\n input: SpecificListUsersInput,\n output: SpecificListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,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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BAA8B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAAS,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,OAAOA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,mDAAmD,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.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 SpecificListUsersInput = 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 email: 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 attributes: z.record(z.string(), z.unknown()).describe(\"Filter by contact's custom attributes as key-value pairs.\").optional(),\n}).describe(\"Filter for contact/user fields.\").optional(),\n}).describe(\"Request model for listing users from Specific platform.\");\nconst SpecificListUsers_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 user.\");\nconst SpecificListUsers_UserSchema = 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: SpecificListUsers_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"User object from Specific platform.\");\nexport const SpecificListUsersOutput = z.object({\n users: z.array(SpecificListUsers_UserSchema).describe(\"List of user accounts from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing users.\");\n\nexport const specificListUsers: AppAction<\n typeof SpecificListUsersInput,\n typeof SpecificListUsersOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_USERS\", {\n slug: \"specific-list-users\",\n name: \"List Users\",\n description: \"Tool to query user accounts from the Specific platform via GraphQL. Use when you need to retrieve user information, optionally filtering by ID, email, or custom attributes.\",\n input: SpecificListUsersInput,\n output: SpecificListUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,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,C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C,SAAS;CAC3E,SAAS,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,OAAOA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,mDAAmD,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,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-users.d.ts
@@ -50,41 +52,7 @@ declare const SpecificListUsersOutput: z.ZodObject<{
50
52
  visitorId: z.ZodNullable<z.ZodString>;
51
53
  }, z.core.$loose>>;
52
54
  }, z.core.$loose>;
53
- declare const specificListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
54
- where?: {
55
- id?: {
56
- gt?: string | undefined;
57
- in?: string[] | undefined;
58
- is?: string | undefined;
59
- lt?: string | undefined;
60
- gte?: string | undefined;
61
- lte?: string | undefined;
62
- not?: string | undefined;
63
- isNot?: string | undefined;
64
- notIn?: string[] | undefined;
65
- equals?: string | undefined;
66
- contains?: string | undefined;
67
- endsWith?: string | undefined;
68
- startsWith?: string | undefined;
69
- } | undefined;
70
- email?: {
71
- gt?: string | undefined;
72
- in?: string[] | undefined;
73
- is?: string | undefined;
74
- lt?: string | undefined;
75
- gte?: string | undefined;
76
- lte?: string | undefined;
77
- not?: string | undefined;
78
- isNot?: string | undefined;
79
- notIn?: string[] | undefined;
80
- equals?: string | undefined;
81
- contains?: string | undefined;
82
- endsWith?: string | undefined;
83
- startsWith?: string | undefined;
84
- } | undefined;
85
- attributes?: Record<string, unknown> | undefined;
86
- } | undefined;
87
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ declare const specificListUsers: AppAction<typeof SpecificListUsersInput, typeof SpecificListUsersOutput, typeof specific.credential>;
88
56
  //#endregion
89
57
  export { specificListUsers };
90
58
  //# sourceMappingURL=list-users.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgDtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM5B,MAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgDtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,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-users.d.ts
@@ -50,41 +52,7 @@ declare const SpecificListUsersOutput: z.ZodObject<{
50
52
  visitorId: z.ZodNullable<z.ZodString>;
51
53
  }, z.core.$loose>>;
52
54
  }, z.core.$loose>;
53
- declare const specificListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
54
- where?: {
55
- id?: {
56
- gt?: string | undefined;
57
- in?: string[] | undefined;
58
- is?: string | undefined;
59
- lt?: string | undefined;
60
- gte?: string | undefined;
61
- lte?: string | undefined;
62
- not?: string | undefined;
63
- isNot?: string | undefined;
64
- notIn?: string[] | undefined;
65
- equals?: string | undefined;
66
- contains?: string | undefined;
67
- endsWith?: string | undefined;
68
- startsWith?: string | undefined;
69
- } | undefined;
70
- email?: {
71
- gt?: string | undefined;
72
- in?: string[] | undefined;
73
- is?: string | undefined;
74
- lt?: string | undefined;
75
- gte?: string | undefined;
76
- lte?: string | undefined;
77
- not?: string | undefined;
78
- isNot?: string | undefined;
79
- notIn?: string[] | undefined;
80
- equals?: string | undefined;
81
- contains?: string | undefined;
82
- endsWith?: string | undefined;
83
- startsWith?: string | undefined;
84
- } | undefined;
85
- attributes?: Record<string, unknown> | undefined;
86
- } | undefined;
87
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ declare const specificListUsers: AppAction<typeof SpecificListUsersInput, typeof SpecificListUsersOutput, typeof specific.credential>;
88
56
  //#endregion
89
57
  export { specificListUsers };
90
58
  //# sourceMappingURL=list-users.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgDtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM5B,MAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgDtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,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-users.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListUsersInput = 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 email: 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 attributes: z.record(z.string(), z.unknown()).describe(\"Filter by contact's custom attributes as key-value pairs.\").optional(),\n}).describe(\"Filter for contact/user fields.\").optional(),\n}).describe(\"Request model for listing users from Specific platform.\");\nconst SpecificListUsers_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 user.\");\nconst SpecificListUsers_UserSchema = 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: SpecificListUsers_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"User object from Specific platform.\");\nexport const SpecificListUsersOutput = z.object({\n users: z.array(SpecificListUsers_UserSchema).describe(\"List of user accounts from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing users.\");\n\nexport const specificListUsers = action(\"SPECIFIC_LIST_USERS\", {\n slug: \"specific-list-users\",\n name: \"List Users\",\n description: \"Tool to query user accounts from the Specific platform via GraphQL. Use when you need to retrieve user information, optionally filtering by ID, email, or custom attributes.\",\n input: SpecificListUsersInput,\n output: SpecificListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,OAAO,EAAE,OAAO;CAChB,IAAI,EAAE,OAAO;EACb,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE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AAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAAS,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAK/D,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,mDAAmD,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.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 SpecificListUsersInput = 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 email: 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 attributes: z.record(z.string(), z.unknown()).describe(\"Filter by contact's custom attributes as key-value pairs.\").optional(),\n}).describe(\"Filter for contact/user fields.\").optional(),\n}).describe(\"Request model for listing users from Specific platform.\");\nconst SpecificListUsers_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 user.\");\nconst SpecificListUsers_UserSchema = 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: SpecificListUsers_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"User object from Specific platform.\");\nexport const SpecificListUsersOutput = z.object({\n users: z.array(SpecificListUsers_UserSchema).describe(\"List of user accounts from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing users.\");\n\nexport const specificListUsers: AppAction<\n typeof SpecificListUsersInput,\n typeof SpecificListUsersOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_USERS\", {\n slug: \"specific-list-users\",\n name: \"List Users\",\n description: \"Tool to query user accounts from the Specific platform via GraphQL. Use when you need to retrieve user information, optionally filtering by ID, email, or custom attributes.\",\n input: SpecificListUsersInput,\n output: SpecificListUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,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,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D,EAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;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/update-company.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-company.cjs","names":["z","action"],"sources":["../../src/actions/update-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateCompanyInput = z.object({\n id: z.string().describe(\"The unique ID of the company to update (e.g., 'specific_cGkw1X80bpo').\"),\n name: z.string().describe(\"New name for the company. If not provided, the name remains unchanged.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Custom field values to update on the company. Merges with existing values.\").optional(),\n}).describe(\"Request model for updating a company in Specific.\");\nconst SpecificUpdateCompany_CompanySchema = z.object({\n id: z.string().describe(\"The unique ID of the company.\").nullable(),\n name: z.string().describe(\"The name of the company.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users belonging to this company.\").nullable(),\n}).passthrough().describe(\"Represents a company object in Specific.\");\nexport const SpecificUpdateCompanyOutput = z.object({\n companies: z.array(SpecificUpdateCompany_CompanySchema).describe(\"List of updated company objects.\"),\n}).passthrough().describe(\"Response model for updating a company in Specific.\");\n\nexport const specificUpdateCompany = action(\"SPECIFIC_UPDATE_COMPANY\", {\n slug: \"specific-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company record in the Specific platform. Use when modifying company name or custom attributes.\",\n input: SpecificUpdateCompanyInput,\n output: SpecificUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,kCAAkC,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-company.cjs","names":["z","action"],"sources":["../../src/actions/update-company.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 SpecificUpdateCompanyInput = z.object({\n id: z.string().describe(\"The unique ID of the company to update (e.g., 'specific_cGkw1X80bpo').\"),\n name: z.string().describe(\"New name for the company. If not provided, the name remains unchanged.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Custom field values to update on the company. Merges with existing values.\").optional(),\n}).describe(\"Request model for updating a company in Specific.\");\nconst SpecificUpdateCompany_CompanySchema = z.object({\n id: z.string().describe(\"The unique ID of the company.\").nullable(),\n name: z.string().describe(\"The name of the company.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users belonging to this company.\").nullable(),\n}).passthrough().describe(\"Represents a company object in Specific.\");\nexport const SpecificUpdateCompanyOutput = z.object({\n companies: z.array(SpecificUpdateCompany_CompanySchema).describe(\"List of updated company objects.\"),\n}).passthrough().describe(\"Response model for updating a company in Specific.\");\n\nexport const specificUpdateCompany: AppAction<\n typeof SpecificUpdateCompanyInput,\n typeof SpecificUpdateCompanyOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_UPDATE_COMPANY\", {\n slug: \"specific-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company record in the Specific platform. Use when modifying company name or custom attributes.\",\n input: SpecificUpdateCompanyInput,\n output: SpecificUpdateCompanyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,kCAAkC,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,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/update-company.d.ts
@@ -14,11 +16,7 @@ declare const SpecificUpdateCompanyOutput: z.ZodObject<{
14
16
  usersCount: z.ZodNullable<z.ZodNumber>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const specificUpdateCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- id: string;
19
- name?: string | undefined;
20
- attributes?: Record<string, unknown> | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const specificUpdateCompany: AppAction<typeof SpecificUpdateCompanyInput, typeof SpecificUpdateCompanyOutput, typeof specific.credential>;
22
20
  //#endregion
23
21
  export { specificUpdateCompany };
24
22
  //# sourceMappingURL=update-company.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-company.d.cts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA;;;eAMhC,MAAA;AAAA"}
1
+ {"version":3,"file":"update-company.d.cts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAW1B,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/update-company.d.ts
@@ -14,11 +16,7 @@ declare const SpecificUpdateCompanyOutput: z.ZodObject<{
14
16
  usersCount: z.ZodNullable<z.ZodNumber>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const specificUpdateCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- id: string;
19
- name?: string | undefined;
20
- attributes?: Record<string, unknown> | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const specificUpdateCompany: AppAction<typeof SpecificUpdateCompanyInput, typeof SpecificUpdateCompanyOutput, typeof specific.credential>;
22
20
  //#endregion
23
21
  export { specificUpdateCompany };
24
22
  //# sourceMappingURL=update-company.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-company.d.mts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA;;;eAMhC,MAAA;AAAA"}
1
+ {"version":3,"file":"update-company.d.mts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAW1B,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/update-company.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-company.mjs","names":[],"sources":["../../src/actions/update-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateCompanyInput = z.object({\n id: z.string().describe(\"The unique ID of the company to update (e.g., 'specific_cGkw1X80bpo').\"),\n name: z.string().describe(\"New name for the company. If not provided, the name remains unchanged.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Custom field values to update on the company. Merges with existing values.\").optional(),\n}).describe(\"Request model for updating a company in Specific.\");\nconst SpecificUpdateCompany_CompanySchema = z.object({\n id: z.string().describe(\"The unique ID of the company.\").nullable(),\n name: z.string().describe(\"The name of the company.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users belonging to this company.\").nullable(),\n}).passthrough().describe(\"Represents a company object in Specific.\");\nexport const SpecificUpdateCompanyOutput = z.object({\n companies: z.array(SpecificUpdateCompany_CompanySchema).describe(\"List of updated company objects.\"),\n}).passthrough().describe(\"Response model for updating a company in Specific.\");\n\nexport const specificUpdateCompany = action(\"SPECIFIC_UPDATE_COMPANY\", {\n slug: \"specific-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company record in the Specific platform. Use when modifying company name or custom attributes.\",\n input: SpecificUpdateCompanyInput,\n output: SpecificUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,WAAW,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,kCAAkC,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-company.mjs","names":[],"sources":["../../src/actions/update-company.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 SpecificUpdateCompanyInput = z.object({\n id: z.string().describe(\"The unique ID of the company to update (e.g., 'specific_cGkw1X80bpo').\"),\n name: z.string().describe(\"New name for the company. If not provided, the name remains unchanged.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Custom field values to update on the company. Merges with existing values.\").optional(),\n}).describe(\"Request model for updating a company in Specific.\");\nconst SpecificUpdateCompany_CompanySchema = z.object({\n id: z.string().describe(\"The unique ID of the company.\").nullable(),\n name: z.string().describe(\"The name of the company.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users belonging to this company.\").nullable(),\n}).passthrough().describe(\"Represents a company object in Specific.\");\nexport const SpecificUpdateCompanyOutput = z.object({\n companies: z.array(SpecificUpdateCompany_CompanySchema).describe(\"List of updated company objects.\"),\n}).passthrough().describe(\"Response model for updating a company in Specific.\");\n\nexport const specificUpdateCompany: AppAction<\n typeof SpecificUpdateCompanyInput,\n typeof SpecificUpdateCompanyOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_UPDATE_COMPANY\", {\n slug: \"specific-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company record in the Specific platform. Use when modifying company name or custom attributes.\",\n input: SpecificUpdateCompanyInput,\n output: SpecificUpdateCompanyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,WAAW,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,kCAAkC,EACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;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/update-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateUserInput = z.object({\n data: z.object({\n id: z.string().describe(\"Contact's ID to update\").optional(),\n name: z.string().describe(\"Contact's name to update\").optional(),\n email: z.string().describe(\"Contact's email to update\").optional(),\n company: z.object({\n connect: z.string().describe(\"Company ID to connect to the contact\").optional(),\n}).describe(\"Input for establishing a relationship between contact and company.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Update custom field values. Will merge current values with new ones.\").optional(),\n}).describe(\"Data fields to update for the contact\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by\").optional(),\n email: z.string().describe(\"Contact email to filter by\").optional(),\n}).describe(\"Filter to identify which contact to update (by id or email)\"),\n}).describe(\"Request model for updating a user in Specific.\");\nconst SpecificUpdateUser_CompanySchema = z.object({\n id: z.string().describe(\"Company ID\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n}).passthrough().describe(\"Company information.\");\nconst SpecificUpdateUser_UserSchema = z.object({\n id: z.string().describe(\"Contact's ID\").nullable(),\n name: z.string().describe(\"Contact's name\").nullable(),\n email: z.string().describe(\"Contact's email\").nullable().optional(),\n company: SpecificUpdateUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\").nullable(),\n}).passthrough().describe(\"User/Contact information.\");\nexport const SpecificUpdateUserOutput = z.object({\n error: z.string().describe(\"Error message if failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful\").nullable(),\n contacts: z.array(SpecificUpdateUser_UserSchema).describe(\"Updated contacts if successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for updateUser mutation.\");\n\nexport const specificUpdateUser = action(\"SPECIFIC_UPDATE_USER\", {\n slug: \"specific-update-user\",\n name: \"Update User\",\n description: \"Tool to modify an existing user record in the Specific platform via GraphQL mutation. Use when you need to update contact information such as name, email, company association, or custom attributes.\",\n input: SpecificUpdateUserInput,\n output: SpecificUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO;EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,SAASA,IAAAA,EAAE,OAAO,EAClB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACzF,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACjD,OAAOA,IAAAA,EAAE,OAAO;EAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAA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a,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-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 SpecificUpdateUserInput = z.object({\n data: z.object({\n id: z.string().describe(\"Contact's ID to update\").optional(),\n name: z.string().describe(\"Contact's name to update\").optional(),\n email: z.string().describe(\"Contact's email to update\").optional(),\n company: z.object({\n connect: z.string().describe(\"Company ID to connect to the contact\").optional(),\n}).describe(\"Input for establishing a relationship between contact and company.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Update custom field values. Will merge current values with new ones.\").optional(),\n}).describe(\"Data fields to update for the contact\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by\").optional(),\n email: z.string().describe(\"Contact email to filter by\").optional(),\n}).describe(\"Filter to identify which contact to update (by id or email)\"),\n}).describe(\"Request model for updating a user in Specific.\");\nconst SpecificUpdateUser_CompanySchema = z.object({\n id: z.string().describe(\"Company ID\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n}).passthrough().describe(\"Company information.\");\nconst SpecificUpdateUser_UserSchema = z.object({\n id: z.string().describe(\"Contact's ID\").nullable(),\n name: z.string().describe(\"Contact's name\").nullable(),\n email: z.string().describe(\"Contact's email\").nullable().optional(),\n company: SpecificUpdateUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\").nullable(),\n}).passthrough().describe(\"User/Contact information.\");\nexport const SpecificUpdateUserOutput = z.object({\n error: z.string().describe(\"Error message if failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful\").nullable(),\n contacts: z.array(SpecificUpdateUser_UserSchema).describe(\"Updated contacts if successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for updateUser mutation.\");\n\nexport const specificUpdateUser: AppAction<\n typeof SpecificUpdateUserInput,\n typeof SpecificUpdateUserOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_UPDATE_USER\", {\n slug: \"specific-update-user\",\n name: \"Update User\",\n description: \"Tool to modify an existing user record in the Specific platform via GraphQL mutation. Use when you need to update contact information such as name, email, company association, or custom attributes.\",\n input: SpecificUpdateUserInput,\n output: SpecificUpdateUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO;EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,SAASA,IAAAA,EAAE,OAAO,EAClB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACzF,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACjD,OAAOA,IAAAA,EAAE,OAAO;EAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,mCAAmCA,IAAAA,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
+ 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/update-user.d.ts
@@ -30,21 +32,7 @@ declare const SpecificUpdateUserOutput: z.ZodObject<{
30
32
  visitorId: z.ZodNullable<z.ZodString>;
31
33
  }, z.core.$loose>>>>;
32
34
  }, z.core.$loose>;
33
- declare const specificUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
34
- data: {
35
- id?: string | undefined;
36
- name?: string | undefined;
37
- email?: string | undefined;
38
- company?: {
39
- connect?: string | undefined;
40
- } | undefined;
41
- attributes?: Record<string, unknown> | undefined;
42
- };
43
- where: {
44
- id?: string | undefined;
45
- email?: string | undefined;
46
- };
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ declare const specificUpdateUser: AppAction<typeof SpecificUpdateUserInput, typeof SpecificUpdateUserOutput, typeof specific.credential>;
48
36
  //#endregion
49
37
  export { specificUpdateUser };
50
38
  //# sourceMappingURL=update-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cA0BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA;;;;;;;;iBAM7B,MAAA;EAAA"}
1
+ {"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cA0BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMxB,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/update-user.d.ts
@@ -30,21 +32,7 @@ declare const SpecificUpdateUserOutput: z.ZodObject<{
30
32
  visitorId: z.ZodNullable<z.ZodString>;
31
33
  }, z.core.$loose>>>>;
32
34
  }, z.core.$loose>;
33
- declare const specificUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
34
- data: {
35
- id?: string | undefined;
36
- name?: string | undefined;
37
- email?: string | undefined;
38
- company?: {
39
- connect?: string | undefined;
40
- } | undefined;
41
- attributes?: Record<string, unknown> | undefined;
42
- };
43
- where: {
44
- id?: string | undefined;
45
- email?: string | undefined;
46
- };
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ declare const specificUpdateUser: AppAction<typeof SpecificUpdateUserInput, typeof SpecificUpdateUserOutput, typeof specific.credential>;
48
36
  //#endregion
49
37
  export { specificUpdateUser };
50
38
  //# sourceMappingURL=update-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cA0BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA;;;;;;;;iBAM7B,MAAA;EAAA"}
1
+ {"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cA0BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMxB,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/update-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateUserInput = z.object({\n data: z.object({\n id: z.string().describe(\"Contact's ID to update\").optional(),\n name: z.string().describe(\"Contact's name to update\").optional(),\n email: z.string().describe(\"Contact's email to update\").optional(),\n company: z.object({\n connect: z.string().describe(\"Company ID to connect to the contact\").optional(),\n}).describe(\"Input for establishing a relationship between contact and company.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Update custom field values. Will merge current values with new ones.\").optional(),\n}).describe(\"Data fields to update for the contact\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by\").optional(),\n email: z.string().describe(\"Contact email to filter by\").optional(),\n}).describe(\"Filter to identify which contact to update (by id or email)\"),\n}).describe(\"Request model for updating a user in Specific.\");\nconst SpecificUpdateUser_CompanySchema = z.object({\n id: z.string().describe(\"Company ID\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n}).passthrough().describe(\"Company information.\");\nconst SpecificUpdateUser_UserSchema = z.object({\n id: z.string().describe(\"Contact's ID\").nullable(),\n name: z.string().describe(\"Contact's name\").nullable(),\n email: z.string().describe(\"Contact's email\").nullable().optional(),\n company: SpecificUpdateUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\").nullable(),\n}).passthrough().describe(\"User/Contact information.\");\nexport const SpecificUpdateUserOutput = z.object({\n error: z.string().describe(\"Error message if failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful\").nullable(),\n contacts: z.array(SpecificUpdateUser_UserSchema).describe(\"Updated contacts if successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for updateUser mutation.\");\n\nexport const specificUpdateUser = action(\"SPECIFIC_UPDATE_USER\", {\n slug: \"specific-update-user\",\n name: \"Update User\",\n description: \"Tool to modify an existing user record in the Specific platform via GraphQL mutation. Use when you need to update contact information such as name, email, company association, or custom attributes.\",\n input: SpecificUpdateUserInput,\n output: SpecificUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO;EACf,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACjD,OAAO,EAAE,OAAO;EAChB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAOrD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-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 SpecificUpdateUserInput = z.object({\n data: z.object({\n id: z.string().describe(\"Contact's ID to update\").optional(),\n name: z.string().describe(\"Contact's name to update\").optional(),\n email: z.string().describe(\"Contact's email to update\").optional(),\n company: z.object({\n connect: z.string().describe(\"Company ID to connect to the contact\").optional(),\n}).describe(\"Input for establishing a relationship between contact and company.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Update custom field values. Will merge current values with new ones.\").optional(),\n}).describe(\"Data fields to update for the contact\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by\").optional(),\n email: z.string().describe(\"Contact email to filter by\").optional(),\n}).describe(\"Filter to identify which contact to update (by id or email)\"),\n}).describe(\"Request model for updating a user in Specific.\");\nconst SpecificUpdateUser_CompanySchema = z.object({\n id: z.string().describe(\"Company ID\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n}).passthrough().describe(\"Company information.\");\nconst SpecificUpdateUser_UserSchema = z.object({\n id: z.string().describe(\"Contact's ID\").nullable(),\n name: z.string().describe(\"Contact's name\").nullable(),\n email: z.string().describe(\"Contact's email\").nullable().optional(),\n company: SpecificUpdateUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\").nullable(),\n}).passthrough().describe(\"User/Contact information.\");\nexport const SpecificUpdateUserOutput = z.object({\n error: z.string().describe(\"Error message if failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful\").nullable(),\n contacts: z.array(SpecificUpdateUser_UserSchema).describe(\"Updated contacts if successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for updateUser mutation.\");\n\nexport const specificUpdateUser: AppAction<\n typeof SpecificUpdateUserInput,\n typeof SpecificUpdateUserOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_UPDATE_USER\", {\n slug: \"specific-update-user\",\n name: \"Update User\",\n description: \"Tool to modify an existing user record in the Specific platform via GraphQL mutation. Use when you need to update contact information such as name, email, company association, or custom attributes.\",\n input: SpecificUpdateUserInput,\n output: SpecificUpdateUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO;EACf,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OA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AC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAOrD,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC5E,UAAU,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const specific = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const specific = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "specific",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.specific = specific;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const specific = defineApp({\n slug: \"specific\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,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 generic_api_key: z.string(),\n};\n\nexport const specific: KeystrokeApp<\"specific\", typeof credential> = defineApp({\n slug: \"specific\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const specific: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const specific: KeystrokeApp<"specific", typeof credential>;
3
9
  //#endregion
4
10
  export { specific };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const specific: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const specific: KeystrokeApp<"specific", typeof credential>;
3
9
  //#endregion
4
10
  export { specific };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const specific = defineApp({
4
4
  slug: "specific",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { specific };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const specific = defineApp({\n slug: \"specific\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,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 generic_api_key: z.string(),\n};\n\nexport const specific: KeystrokeApp<\"specific\", typeof credential> = defineApp({\n slug: \"specific\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { specific } from "./app.cjs";
1
2
  import { specificCreateCompany } from "./actions/create-company.cjs";
2
3
  import { specificCreateConversation } from "./actions/create-conversation.cjs";
3
4
  import { specificCreateOrUpdateCompany } from "./actions/create-or-update-company.cjs";
@@ -16,6 +17,5 @@ import { specificListSurveys } from "./actions/list-surveys.cjs";
16
17
  import { specificListUsers } from "./actions/list-users.cjs";
17
18
  import { specificUpdateCompany } from "./actions/update-company.cjs";
18
19
  import { specificUpdateUser } from "./actions/update-user.cjs";
19
- import { specific } from "./app.cjs";
20
20
  import { specificCatalog } from "./catalog.cjs";
21
21
  export { specific, specificCatalog, specificCreateCompany, specificCreateConversation, specificCreateOrUpdateCompany, specificCreateOrUpdateUser, specificCreateUser, specificDeleteCompany, specificDeleteCompanyAttributes, specificDeleteUser, specificDeleteUserAttributes, specificGetMyWorkspace, specificListCompanies, specificListConversations, specificListCustomFields, specificListSources, specificListSurveys, specificListUsers, specificUpdateCompany, specificUpdateUser };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { specific } from "./app.mjs";
1
2
  import { specificCreateCompany } from "./actions/create-company.mjs";
2
3
  import { specificCreateConversation } from "./actions/create-conversation.mjs";
3
4
  import { specificCreateOrUpdateCompany } from "./actions/create-or-update-company.mjs";
@@ -16,6 +17,5 @@ import { specificListSurveys } from "./actions/list-surveys.mjs";
16
17
  import { specificListUsers } from "./actions/list-users.mjs";
17
18
  import { specificUpdateCompany } from "./actions/update-company.mjs";
18
19
  import { specificUpdateUser } from "./actions/update-user.mjs";
19
- import { specific } from "./app.mjs";
20
20
  import { specificCatalog } from "./catalog.mjs";
21
21
  export { specific, specificCatalog, specificCreateCompany, specificCreateConversation, specificCreateOrUpdateCompany, specificCreateOrUpdateUser, specificCreateUser, specificDeleteCompany, specificDeleteCompanyAttributes, specificDeleteUser, specificDeleteUserAttributes, specificGetMyWorkspace, specificListCompanies, specificListConversations, specificListCustomFields, specificListSources, specificListSurveys, specificListUsers, specificUpdateCompany, specificUpdateUser };