@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":"list-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListCustomFieldsInput = z.object({\n field_type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"Optional filter to retrieve only custom fields of a specific type. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes. If not provided, returns all custom fields across all types.\").optional(),\n}).describe(\"Request model for listing custom fields in the Specific platform.\");\nconst SpecificListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier of the custom field.\").nullable(),\n name: z.string().describe(\"The display name of the custom field.\").nullable(),\n type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"The type of the custom field indicating which entity it belongs to. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes.\").nullable(),\n}).passthrough().describe(\"Represents a single custom field definition.\");\nexport const SpecificListCustomFieldsOutput = z.object({\n attributes: z.array(SpecificListCustomFields_CustomFieldSchema).describe(\"List of custom field definitions (attributes).\"),\n}).passthrough().describe(\"Response model containing the list of custom fields from the GraphQL API.\");\n\nexport const specificListCustomFields = action(\"SPECIFIC_LIST_CUSTOM_FIELDS\", {\n slug: \"specific-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to query custom field definitions in the Specific platform. Use when you need to retrieve available custom fields that can be associated with companies, contacts, or conversations. Optionally filter by entity type.\",\n input: SpecificListCustomFieldsInput,\n output: SpecificListCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAS;AAAc,CAAC,CAAC,CAAC,SAAS,iPAAiP,CAAC,CAAC,SAAS,EAC7T,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;CAAc,CAAC,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;AAC3P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-fields.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 SpecificListCustomFieldsInput = z.object({\n field_type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"Optional filter to retrieve only custom fields of a specific type. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes. If not provided, returns all custom fields across all types.\").optional(),\n}).describe(\"Request model for listing custom fields in the Specific platform.\");\nconst SpecificListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier of the custom field.\").nullable(),\n name: z.string().describe(\"The display name of the custom field.\").nullable(),\n type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"The type of the custom field indicating which entity it belongs to. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes.\").nullable(),\n}).passthrough().describe(\"Represents a single custom field definition.\");\nexport const SpecificListCustomFieldsOutput = z.object({\n attributes: z.array(SpecificListCustomFields_CustomFieldSchema).describe(\"List of custom field definitions (attributes).\"),\n}).passthrough().describe(\"Response model containing the list of custom fields from the GraphQL API.\");\n\nexport const specificListCustomFields: AppAction<\n typeof SpecificListCustomFieldsInput,\n typeof SpecificListCustomFieldsOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_CUSTOM_FIELDS\", {\n slug: \"specific-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to query custom field definitions in the Specific platform. Use when you need to retrieve available custom fields that can be associated with companies, contacts, or conversations. Optionally filter by entity type.\",\n input: SpecificListCustomFieldsInput,\n output: SpecificListCustomFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAS;AAAc,CAAC,CAAC,CAAC,SAAS,iPAAiP,CAAC,CAAC,SAAS,EAC7T,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;CAAc,CAAC,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;AAC3P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,2BAITC,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-custom-fields.d.ts
@@ -19,21 +21,7 @@ declare const SpecificListCustomFieldsOutput: z.ZodObject<{
19
21
  }>>;
20
22
  }, z.core.$loose>>;
21
23
  }, z.core.$loose>;
22
- declare const specificListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- field_type?: "user" | "group" | "conversation" | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- generic_api_key: z.ZodString;
36
- }, z.core.$strip>>]>;
24
+ declare const specificListCustomFields: AppAction<typeof SpecificListCustomFieldsInput, typeof SpecificListCustomFieldsOutput, typeof specific.credential>;
37
25
  //#endregion
38
26
  export { specificListCustomFields };
39
27
  //# sourceMappingURL=list-custom-fields.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-custom-fields.d.cts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"list-custom-fields.d.cts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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-custom-fields.d.ts
@@ -19,21 +21,7 @@ declare const SpecificListCustomFieldsOutput: z.ZodObject<{
19
21
  }>>;
20
22
  }, z.core.$loose>>;
21
23
  }, z.core.$loose>;
22
- declare const specificListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- field_type?: "user" | "group" | "conversation" | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- generic_api_key: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- generic_api_key: z.ZodString;
36
- }, z.core.$strip>>]>;
24
+ declare const specificListCustomFields: AppAction<typeof SpecificListCustomFieldsInput, typeof SpecificListCustomFieldsOutput, typeof specific.credential>;
37
25
  //#endregion
38
26
  export { specificListCustomFields };
39
27
  //# sourceMappingURL=list-custom-fields.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-custom-fields.d.mts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"list-custom-fields.d.mts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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-custom-fields.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-custom-fields.mjs","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListCustomFieldsInput = z.object({\n field_type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"Optional filter to retrieve only custom fields of a specific type. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes. If not provided, returns all custom fields across all types.\").optional(),\n}).describe(\"Request model for listing custom fields in the Specific platform.\");\nconst SpecificListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier of the custom field.\").nullable(),\n name: z.string().describe(\"The display name of the custom field.\").nullable(),\n type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"The type of the custom field indicating which entity it belongs to. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes.\").nullable(),\n}).passthrough().describe(\"Represents a single custom field definition.\");\nexport const SpecificListCustomFieldsOutput = z.object({\n attributes: z.array(SpecificListCustomFields_CustomFieldSchema).describe(\"List of custom field definitions (attributes).\"),\n}).passthrough().describe(\"Response model containing the list of custom fields from the GraphQL API.\");\n\nexport const specificListCustomFields = action(\"SPECIFIC_LIST_CUSTOM_FIELDS\", {\n slug: \"specific-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to query custom field definitions in the Specific platform. Use when you need to retrieve available custom fields that can be associated with companies, contacts, or conversations. Optionally filter by entity type.\",\n input: SpecificListCustomFieldsInput,\n output: SpecificListCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,KAAK;CAAC;CAAQ;CAAS;AAAc,CAAC,CAAC,CAAC,SAAS,iPAAiP,CAAC,CAAC,SAAS,EAC7T,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAS;CAAc,CAAC,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;AAC3P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,YAAY,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-custom-fields.mjs","names":[],"sources":["../../src/actions/list-custom-fields.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 SpecificListCustomFieldsInput = z.object({\n field_type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"Optional filter to retrieve only custom fields of a specific type. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes. If not provided, returns all custom fields across all types.\").optional(),\n}).describe(\"Request model for listing custom fields in the Specific platform.\");\nconst SpecificListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier of the custom field.\").nullable(),\n name: z.string().describe(\"The display name of the custom field.\").nullable(),\n type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"The type of the custom field indicating which entity it belongs to. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes.\").nullable(),\n}).passthrough().describe(\"Represents a single custom field definition.\");\nexport const SpecificListCustomFieldsOutput = z.object({\n attributes: z.array(SpecificListCustomFields_CustomFieldSchema).describe(\"List of custom field definitions (attributes).\"),\n}).passthrough().describe(\"Response model containing the list of custom fields from the GraphQL API.\");\n\nexport const specificListCustomFields: AppAction<\n typeof SpecificListCustomFieldsInput,\n typeof SpecificListCustomFieldsOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_CUSTOM_FIELDS\", {\n slug: \"specific-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to query custom field definitions in the Specific platform. Use when you need to retrieve available custom fields that can be associated with companies, contacts, or conversations. Optionally filter by entity type.\",\n input: SpecificListCustomFieldsInput,\n output: SpecificListCustomFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,KAAK;CAAC;CAAQ;CAAS;AAAc,CAAC,CAAC,CAAC,SAAS,iPAAiP,CAAC,CAAC,SAAS,EAC7T,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAS;CAAc,CAAC,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;AAC3P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,YAAY,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAWhB;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-sources.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-sources.cjs","names":["z","action"],"sources":["../../src/actions/list-sources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListSourcesInput = z.object({}).describe(\"Request model for listing sources from Specific platform.\\nNo parameters required as it returns all available sources.\");\nconst SpecificListSources_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's display name.\").nullable(),\n}).passthrough().describe(\"Source object from Specific platform.\");\nconst SpecificListSources_SourcesDataSchema = z.object({\n sources: z.array(SpecificListSources_SourceSchema).describe(\"List of source objects from the workspace.\"),\n}).passthrough().describe(\"Data wrapper containing the sources field.\");\nexport const SpecificListSourcesOutput = z.object({\n data: SpecificListSources_SourcesDataSchema.nullable(),\n}).passthrough().describe(\"Response model for the sources GraphQL query.\");\n\nexport const specificListSources = action(\"SPECIFIC_LIST_SOURCES\", {\n slug: \"specific-list-sources\",\n name: \"List Sources\",\n description: \"Tool to retrieve all data sources from the Specific platform. Use when you need to fetch available sources in the workspace.\",\n input: SpecificListSourcesInput,\n output: SpecificListSourcesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH;AACtL,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,4CAA4C,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-sources.cjs","names":["z","action"],"sources":["../../src/actions/list-sources.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 SpecificListSourcesInput = z.object({}).describe(\"Request model for listing sources from Specific platform.\\nNo parameters required as it returns all available sources.\");\nconst SpecificListSources_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's display name.\").nullable(),\n}).passthrough().describe(\"Source object from Specific platform.\");\nconst SpecificListSources_SourcesDataSchema = z.object({\n sources: z.array(SpecificListSources_SourceSchema).describe(\"List of source objects from the workspace.\"),\n}).passthrough().describe(\"Data wrapper containing the sources field.\");\nexport const SpecificListSourcesOutput = z.object({\n data: SpecificListSources_SourcesDataSchema.nullable(),\n}).passthrough().describe(\"Response model for the sources GraphQL query.\");\n\nexport const specificListSources: AppAction<\n typeof SpecificListSourcesInput,\n typeof SpecificListSourcesOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_SOURCES\", {\n slug: \"specific-list-sources\",\n name: \"List Sources\",\n description: \"Tool to retrieve all data sources from the Specific platform. Use when you need to fetch available sources in the workspace.\",\n input: SpecificListSourcesInput,\n output: SpecificListSourcesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH;AACtL,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,4CAA4C,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,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-sources.d.ts
@@ -10,19 +12,7 @@ declare const SpecificListSourcesOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>>;
12
14
  }, z.core.$loose>;
13
- declare const specificListSources: 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 specificListSources: AppAction<typeof SpecificListSourcesInput, typeof SpecificListSourcesOutput, typeof specific.credential>;
26
16
  //#endregion
27
17
  export { specificListSources };
28
18
  //# sourceMappingURL=list-sources.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-sources.d.cts","names":[],"sources":["../../src/actions/list-sources.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-sources.d.cts","names":[],"sources":["../../src/actions/list-sources.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQxB,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-sources.d.ts
@@ -10,19 +12,7 @@ declare const SpecificListSourcesOutput: z.ZodObject<{
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>>;
12
14
  }, z.core.$loose>;
13
- declare const specificListSources: 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 specificListSources: AppAction<typeof SpecificListSourcesInput, typeof SpecificListSourcesOutput, typeof specific.credential>;
26
16
  //#endregion
27
17
  export { specificListSources };
28
18
  //# sourceMappingURL=list-sources.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-sources.d.mts","names":[],"sources":["../../src/actions/list-sources.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-sources.d.mts","names":[],"sources":["../../src/actions/list-sources.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQxB,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-sources.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-sources.mjs","names":[],"sources":["../../src/actions/list-sources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListSourcesInput = z.object({}).describe(\"Request model for listing sources from Specific platform.\\nNo parameters required as it returns all available sources.\");\nconst SpecificListSources_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's display name.\").nullable(),\n}).passthrough().describe(\"Source object from Specific platform.\");\nconst SpecificListSources_SourcesDataSchema = z.object({\n sources: z.array(SpecificListSources_SourceSchema).describe(\"List of source objects from the workspace.\"),\n}).passthrough().describe(\"Data wrapper containing the sources field.\");\nexport const SpecificListSourcesOutput = z.object({\n data: SpecificListSources_SourcesDataSchema.nullable(),\n}).passthrough().describe(\"Response model for the sources GraphQL query.\");\n\nexport const specificListSources = action(\"SPECIFIC_LIST_SOURCES\", {\n slug: \"specific-list-sources\",\n name: \"List Sources\",\n description: \"Tool to retrieve all data sources from the Specific platform. Use when you need to fetch available sources in the workspace.\",\n input: SpecificListSourcesInput,\n output: SpecificListSourcesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH;AACtL,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,wCAAwC,EAAE,OAAO,EACrD,SAAS,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,4CAA4C,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-sources.mjs","names":[],"sources":["../../src/actions/list-sources.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 SpecificListSourcesInput = z.object({}).describe(\"Request model for listing sources from Specific platform.\\nNo parameters required as it returns all available sources.\");\nconst SpecificListSources_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's display name.\").nullable(),\n}).passthrough().describe(\"Source object from Specific platform.\");\nconst SpecificListSources_SourcesDataSchema = z.object({\n sources: z.array(SpecificListSources_SourceSchema).describe(\"List of source objects from the workspace.\"),\n}).passthrough().describe(\"Data wrapper containing the sources field.\");\nexport const SpecificListSourcesOutput = z.object({\n data: SpecificListSources_SourcesDataSchema.nullable(),\n}).passthrough().describe(\"Response model for the sources GraphQL query.\");\n\nexport const specificListSources: AppAction<\n typeof SpecificListSourcesInput,\n typeof SpecificListSourcesOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_SOURCES\", {\n slug: \"specific-list-sources\",\n name: \"List Sources\",\n description: \"Tool to retrieve all data sources from the Specific platform. Use when you need to fetch available sources in the workspace.\",\n input: SpecificListSourcesInput,\n output: SpecificListSourcesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH;AACtL,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,wCAAwC,EAAE,OAAO,EACrD,SAAS,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,4CAA4C,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;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-surveys.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-surveys.cjs","names":["z","action"],"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,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,Q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,CAAC,SAAS,sCAAsC;AAChE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,oDAAoD,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-surveys.cjs","names":["z","action"],"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,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACjH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yC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
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-surveys.d.ts
@@ -23,19 +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<"specific", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
28
+ declare const specificListSurveys: AppAction<typeof SpecificListSurveysInput, typeof SpecificListSurveysOutput, typeof specific.credential>;
39
29
  //#endregion
40
30
  export { specificListSurveys };
41
31
  //# sourceMappingURL=list-surveys.d.cts.map
@@ -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,aAAA,CAAA,CAAA,SAAA"}
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,19 +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<"specific", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- generic_api_key: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>;
28
+ declare const specificListSurveys: AppAction<typeof SpecificListSurveysInput, typeof SpecificListSurveysOutput, typeof specific.credential>;
39
29
  //#endregion
40
30
  export { specificListSurveys };
41
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,aAAA,CAAA,CAAA,SAAA"}
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,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,sBAAsB,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"],"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AC,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,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,YAAYA,IAAAA,EAAE,OAAO,C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AC,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,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"}
@@ -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,53 +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<"specific", z.ZodObject<{
88
- connectionId: z.ZodString;
89
- entityId: z.ZodString;
90
- instanceId: z.ZodString;
91
- }, z.core.$strip>, z.ZodObject<{
92
- generic_api_key: z.ZodString;
93
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
94
- connectionId: z.ZodString;
95
- entityId: z.ZodString;
96
- instanceId: z.ZodString;
97
- }, z.core.$strip>, z.ZodObject<{
98
- generic_api_key: z.ZodString;
99
- }, z.core.$strip>>]>;
55
+ declare const specificListUsers: AppAction<typeof SpecificListUsersInput, typeof SpecificListUsersOutput, typeof specific.credential>;
100
56
  //#endregion
101
57
  export { specificListUsers };
102
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"}
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,53 +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<"specific", z.ZodObject<{
88
- connectionId: z.ZodString;
89
- entityId: z.ZodString;
90
- instanceId: z.ZodString;
91
- }, z.core.$strip>, z.ZodObject<{
92
- generic_api_key: z.ZodString;
93
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"specific", z.ZodObject<{
94
- connectionId: z.ZodString;
95
- entityId: z.ZodString;
96
- instanceId: z.ZodString;
97
- }, z.core.$strip>, z.ZodObject<{
98
- generic_api_key: z.ZodString;
99
- }, z.core.$strip>>]>;
55
+ declare const specificListUsers: AppAction<typeof SpecificListUsersInput, typeof SpecificListUsersOutput, typeof specific.credential>;
100
56
  //#endregion
101
57
  export { specificListUsers };
102
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"}
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,MAAM,EAAE,OAAO,CAAC,C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C,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,SAAS;EACzE,UAAU,EAAE,OA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,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"}