@keystrokehq/specific 0.1.0 → 0.1.3

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 (153) 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 +3 -3
  4. package/dist/actions/create-company.cjs.map +1 -1
  5. package/dist/actions/create-company.d.cts +18 -3
  6. package/dist/actions/create-company.d.cts.map +1 -1
  7. package/dist/actions/create-company.d.mts +18 -3
  8. package/dist/actions/create-company.d.mts.map +1 -1
  9. package/dist/actions/create-company.mjs +3 -3
  10. package/dist/actions/create-company.mjs.map +1 -1
  11. package/dist/actions/create-conversation.cjs +16 -16
  12. package/dist/actions/create-conversation.cjs.map +1 -1
  13. package/dist/actions/create-conversation.d.cts +92 -3
  14. package/dist/actions/create-conversation.d.cts.map +1 -1
  15. package/dist/actions/create-conversation.d.mts +92 -3
  16. package/dist/actions/create-conversation.d.mts.map +1 -1
  17. package/dist/actions/create-conversation.mjs +16 -16
  18. package/dist/actions/create-conversation.mjs.map +1 -1
  19. package/dist/actions/create-or-update-company.cjs +10 -10
  20. package/dist/actions/create-or-update-company.cjs.map +1 -1
  21. package/dist/actions/create-or-update-company.d.cts +32 -3
  22. package/dist/actions/create-or-update-company.d.cts.map +1 -1
  23. package/dist/actions/create-or-update-company.d.mts +32 -3
  24. package/dist/actions/create-or-update-company.d.mts.map +1 -1
  25. package/dist/actions/create-or-update-company.mjs +10 -10
  26. package/dist/actions/create-or-update-company.mjs.map +1 -1
  27. package/dist/actions/create-or-update-user.cjs +7 -7
  28. package/dist/actions/create-or-update-user.cjs.map +1 -1
  29. package/dist/actions/create-or-update-user.d.cts +44 -3
  30. package/dist/actions/create-or-update-user.d.cts.map +1 -1
  31. package/dist/actions/create-or-update-user.d.mts +44 -3
  32. package/dist/actions/create-or-update-user.d.mts.map +1 -1
  33. package/dist/actions/create-or-update-user.mjs +7 -7
  34. package/dist/actions/create-or-update-user.mjs.map +1 -1
  35. package/dist/actions/create-user.cjs +3 -3
  36. package/dist/actions/create-user.cjs.map +1 -1
  37. package/dist/actions/create-user.d.cts +35 -3
  38. package/dist/actions/create-user.d.cts.map +1 -1
  39. package/dist/actions/create-user.d.mts +35 -3
  40. package/dist/actions/create-user.d.mts.map +1 -1
  41. package/dist/actions/create-user.mjs +3 -3
  42. package/dist/actions/create-user.mjs.map +1 -1
  43. package/dist/actions/delete-company-attributes.cjs +5 -5
  44. package/dist/actions/delete-company-attributes.cjs.map +1 -1
  45. package/dist/actions/delete-company-attributes.d.cts +14 -3
  46. package/dist/actions/delete-company-attributes.d.cts.map +1 -1
  47. package/dist/actions/delete-company-attributes.d.mts +14 -3
  48. package/dist/actions/delete-company-attributes.d.mts.map +1 -1
  49. package/dist/actions/delete-company-attributes.mjs +5 -5
  50. package/dist/actions/delete-company-attributes.mjs.map +1 -1
  51. package/dist/actions/delete-company.cjs +5 -5
  52. package/dist/actions/delete-company.cjs.map +1 -1
  53. package/dist/actions/delete-company.d.cts +12 -3
  54. package/dist/actions/delete-company.d.cts.map +1 -1
  55. package/dist/actions/delete-company.d.mts +12 -3
  56. package/dist/actions/delete-company.d.mts.map +1 -1
  57. package/dist/actions/delete-company.mjs +5 -5
  58. package/dist/actions/delete-company.mjs.map +1 -1
  59. package/dist/actions/delete-user-attributes.cjs +7 -7
  60. package/dist/actions/delete-user-attributes.cjs.map +1 -1
  61. package/dist/actions/delete-user-attributes.d.cts +32 -3
  62. package/dist/actions/delete-user-attributes.d.cts.map +1 -1
  63. package/dist/actions/delete-user-attributes.d.mts +32 -3
  64. package/dist/actions/delete-user-attributes.d.mts.map +1 -1
  65. package/dist/actions/delete-user-attributes.mjs +7 -7
  66. package/dist/actions/delete-user-attributes.mjs.map +1 -1
  67. package/dist/actions/delete-user.cjs +5 -5
  68. package/dist/actions/delete-user.cjs.map +1 -1
  69. package/dist/actions/delete-user.d.cts +18 -3
  70. package/dist/actions/delete-user.d.cts.map +1 -1
  71. package/dist/actions/delete-user.d.mts +18 -3
  72. package/dist/actions/delete-user.d.mts.map +1 -1
  73. package/dist/actions/delete-user.mjs +5 -5
  74. package/dist/actions/delete-user.mjs.map +1 -1
  75. package/dist/actions/get-my-workspace.cjs +5 -5
  76. package/dist/actions/get-my-workspace.cjs.map +1 -1
  77. package/dist/actions/get-my-workspace.d.cts +10 -3
  78. package/dist/actions/get-my-workspace.d.cts.map +1 -1
  79. package/dist/actions/get-my-workspace.d.mts +10 -3
  80. package/dist/actions/get-my-workspace.d.mts.map +1 -1
  81. package/dist/actions/get-my-workspace.mjs +5 -5
  82. package/dist/actions/get-my-workspace.mjs.map +1 -1
  83. package/dist/actions/list-companies.cjs +6 -6
  84. package/dist/actions/list-companies.cjs.map +1 -1
  85. package/dist/actions/list-companies.d.cts +76 -3
  86. package/dist/actions/list-companies.d.cts.map +1 -1
  87. package/dist/actions/list-companies.d.mts +76 -3
  88. package/dist/actions/list-companies.d.mts.map +1 -1
  89. package/dist/actions/list-companies.mjs +6 -6
  90. package/dist/actions/list-companies.mjs.map +1 -1
  91. package/dist/actions/list-conversations.cjs +21 -21
  92. package/dist/actions/list-conversations.cjs.map +1 -1
  93. package/dist/actions/list-conversations.d.cts +47 -3
  94. package/dist/actions/list-conversations.d.cts.map +1 -1
  95. package/dist/actions/list-conversations.d.mts +47 -3
  96. package/dist/actions/list-conversations.d.mts.map +1 -1
  97. package/dist/actions/list-conversations.mjs +21 -21
  98. package/dist/actions/list-conversations.mjs.map +1 -1
  99. package/dist/actions/list-custom-fields.cjs +5 -5
  100. package/dist/actions/list-custom-fields.cjs.map +1 -1
  101. package/dist/actions/list-custom-fields.d.cts +21 -3
  102. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  103. package/dist/actions/list-custom-fields.d.mts +21 -3
  104. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  105. package/dist/actions/list-custom-fields.mjs +5 -5
  106. package/dist/actions/list-custom-fields.mjs.map +1 -1
  107. package/dist/actions/list-sources.cjs +5 -5
  108. package/dist/actions/list-sources.cjs.map +1 -1
  109. package/dist/actions/list-sources.d.cts +10 -3
  110. package/dist/actions/list-sources.d.cts.map +1 -1
  111. package/dist/actions/list-sources.d.mts +10 -3
  112. package/dist/actions/list-sources.d.mts.map +1 -1
  113. package/dist/actions/list-sources.mjs +5 -5
  114. package/dist/actions/list-sources.mjs.map +1 -1
  115. package/dist/actions/list-surveys.cjs +16 -16
  116. package/dist/actions/list-surveys.cjs.map +1 -1
  117. package/dist/actions/list-surveys.d.cts +23 -3
  118. package/dist/actions/list-surveys.d.cts.map +1 -1
  119. package/dist/actions/list-surveys.d.mts +23 -3
  120. package/dist/actions/list-surveys.d.mts.map +1 -1
  121. package/dist/actions/list-surveys.mjs +16 -16
  122. package/dist/actions/list-surveys.mjs.map +1 -1
  123. package/dist/actions/list-users.cjs +11 -11
  124. package/dist/actions/list-users.cjs.map +1 -1
  125. package/dist/actions/list-users.d.cts +84 -3
  126. package/dist/actions/list-users.d.cts.map +1 -1
  127. package/dist/actions/list-users.d.mts +84 -3
  128. package/dist/actions/list-users.d.mts.map +1 -1
  129. package/dist/actions/list-users.mjs +11 -11
  130. package/dist/actions/list-users.mjs.map +1 -1
  131. package/dist/actions/update-company.cjs +6 -6
  132. package/dist/actions/update-company.cjs.map +1 -1
  133. package/dist/actions/update-company.d.cts +18 -3
  134. package/dist/actions/update-company.d.cts.map +1 -1
  135. package/dist/actions/update-company.d.mts +18 -3
  136. package/dist/actions/update-company.d.mts.map +1 -1
  137. package/dist/actions/update-company.mjs +6 -6
  138. package/dist/actions/update-company.mjs.map +1 -1
  139. package/dist/actions/update-user.cjs +7 -7
  140. package/dist/actions/update-user.cjs.map +1 -1
  141. package/dist/actions/update-user.d.cts +44 -3
  142. package/dist/actions/update-user.d.cts.map +1 -1
  143. package/dist/actions/update-user.d.mts +44 -3
  144. package/dist/actions/update-user.d.mts.map +1 -1
  145. package/dist/actions/update-user.mjs +7 -7
  146. package/dist/actions/update-user.mjs.map +1 -1
  147. package/dist/catalog.cjs +7 -1
  148. package/dist/catalog.cjs.map +1 -1
  149. package/dist/catalog.d.cts +8 -0
  150. package/dist/catalog.d.mts +8 -0
  151. package/dist/catalog.mjs +7 -1
  152. package/dist/catalog.mjs.map +1 -1
  153. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"list-conversations.cjs","names":["z","action"],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListConversationsInput: z.ZodTypeAny = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Source's unique identifier.\"),\n name: z.string().describe(\"Source's name.\"),\n}).describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company's unique identifier.\"),\n name: z.string().describe(\"Company's name.\"),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\"),\n usersCount: z.number().int().describe(\"Number of users in the company.\"),\n}).describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact's unique identifier.\"),\n name: z.string().describe(\"Contact's full name.\"),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\"),\n}).describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User ID of the assignee.\"),\n email: z.string().describe(\"Email address of the assignee.\"),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\"),\n name: z.string().describe(\"Conversation name or title.\"),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\"),\n customFields: z.object({}).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput: z.ZodTypeAny = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"list-conversations.cjs","names":["z","action"],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListConversationsInput = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's name.\").nullable(),\n}).passthrough().describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema = z.object({\n id: z.string().describe(\"Contact's unique identifier.\").nullable(),\n name: z.string().describe(\"Contact's full name.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema = z.object({\n id: z.string().describe(\"User ID of the assignee.\").nullable(),\n email: z.string().describe(\"Email address of the assignee.\").nullable(),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).passthrough().describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n name: z.string().describe(\"Conversation name or title.\").nullable(),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\").nullable(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).passthrough().describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).passthrough().describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,OAAO,EAChB,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,EACrJ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,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,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQ,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACnE,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2HAA2H,EAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,53 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-conversations.d.ts
4
- declare const SpecificListConversationsInput: z.ZodTypeAny;
5
- declare const SpecificListConversationsOutput: z.ZodTypeAny;
6
- declare const specificListConversations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificListConversationsInput: z.ZodObject<{
5
+ where: z.ZodOptional<z.ZodObject<{
6
+ sources: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>>;
8
+ }, z.core.$strip>;
9
+ declare const SpecificListConversationsOutput: z.ZodObject<{
10
+ conversations: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ name: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$loose>>>;
17
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodString>;
19
+ name: z.ZodNullable<z.ZodString>;
20
+ visitorId: z.ZodNullable<z.ZodString>;
21
+ usersCount: z.ZodNullable<z.ZodNumber>;
22
+ }, z.core.$loose>>>;
23
+ contact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ id: z.ZodNullable<z.ZodString>;
25
+ name: z.ZodNullable<z.ZodString>;
26
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
+ id: z.ZodNullable<z.ZodString>;
29
+ name: z.ZodNullable<z.ZodString>;
30
+ visitorId: z.ZodNullable<z.ZodString>;
31
+ usersCount: z.ZodNullable<z.ZodNumber>;
32
+ }, z.core.$loose>>>;
33
+ visitorId: z.ZodNullable<z.ZodString>;
34
+ }, z.core.$loose>>>;
35
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36
+ id: z.ZodNullable<z.ZodString>;
37
+ email: z.ZodNullable<z.ZodString>;
38
+ fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ }, z.core.$loose>>>;
40
+ plainText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ insertedAt: z.ZodNullable<z.ZodString>;
43
+ customFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44
+ }, z.core.$loose>>;
45
+ }, z.core.$loose>;
46
+ declare const specificListConversations: import("@keystrokehq/action").WorkflowActionDefinition<{
47
+ where?: {
48
+ sources: string[];
49
+ } | undefined;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
51
  //#endregion
8
52
  export { specificListConversations };
9
53
  //# sourceMappingURL=list-conversations.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-conversations.d.cts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAI+B;AAAA,cAmCjE,+BAAA,EAAiC,CAAA,CAAE,UAEQ;AAAA,cAE3C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-conversations.d.cts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAuC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,53 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-conversations.d.ts
4
- declare const SpecificListConversationsInput: z.ZodTypeAny;
5
- declare const SpecificListConversationsOutput: z.ZodTypeAny;
6
- declare const specificListConversations: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificListConversationsInput: z.ZodObject<{
5
+ where: z.ZodOptional<z.ZodObject<{
6
+ sources: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>>;
8
+ }, z.core.$strip>;
9
+ declare const SpecificListConversationsOutput: z.ZodObject<{
10
+ conversations: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ id: z.ZodNullable<z.ZodString>;
15
+ name: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$loose>>>;
17
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
+ id: z.ZodNullable<z.ZodString>;
19
+ name: z.ZodNullable<z.ZodString>;
20
+ visitorId: z.ZodNullable<z.ZodString>;
21
+ usersCount: z.ZodNullable<z.ZodNumber>;
22
+ }, z.core.$loose>>>;
23
+ contact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ id: z.ZodNullable<z.ZodString>;
25
+ name: z.ZodNullable<z.ZodString>;
26
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
+ id: z.ZodNullable<z.ZodString>;
29
+ name: z.ZodNullable<z.ZodString>;
30
+ visitorId: z.ZodNullable<z.ZodString>;
31
+ usersCount: z.ZodNullable<z.ZodNumber>;
32
+ }, z.core.$loose>>>;
33
+ visitorId: z.ZodNullable<z.ZodString>;
34
+ }, z.core.$loose>>>;
35
+ assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36
+ id: z.ZodNullable<z.ZodString>;
37
+ email: z.ZodNullable<z.ZodString>;
38
+ fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ }, z.core.$loose>>>;
40
+ plainText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ insertedAt: z.ZodNullable<z.ZodString>;
43
+ customFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44
+ }, z.core.$loose>>;
45
+ }, z.core.$loose>;
46
+ declare const specificListConversations: import("@keystrokehq/action").WorkflowActionDefinition<{
47
+ where?: {
48
+ sources: string[];
49
+ } | undefined;
50
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
51
  //#endregion
8
52
  export { specificListConversations };
9
53
  //# sourceMappingURL=list-conversations.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-conversations.d.mts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAI+B;AAAA,cAmCjE,+BAAA,EAAiC,CAAA,CAAE,UAEQ;AAAA,cAE3C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-conversations.d.mts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAuC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -3,45 +3,45 @@ import { z } from "zod";
3
3
  //#region src/actions/list-conversations.ts
4
4
  const SpecificListConversationsInput = z.object({ where: z.object({ sources: z.array(z.string()).describe("List of source identifiers to filter conversations. Only conversations from these sources will be returned.") }).describe("Filter for conversations by source identifiers.").optional() }).describe("Request model for listing conversations from Specific platform.");
5
5
  const SpecificListConversations_SourceSchema = z.object({
6
- id: z.string().describe("Source's unique identifier."),
7
- name: z.string().describe("Source's name.")
8
- }).describe("Source information associated with a conversation.");
6
+ id: z.string().describe("Source's unique identifier.").nullable(),
7
+ name: z.string().describe("Source's name.").nullable()
8
+ }).passthrough().describe("Source information associated with a conversation.");
9
9
  const SpecificListConversations_CompanySchema = z.object({
10
- id: z.string().describe("Company's unique identifier."),
11
- name: z.string().describe("Company's name."),
12
- visitorId: z.string().describe("Internal Specific visitor ID for the company."),
13
- usersCount: z.number().int().describe("Number of users in the company.")
14
- }).describe("Company information associated with a conversation.");
10
+ id: z.string().describe("Company's unique identifier.").nullable(),
11
+ name: z.string().describe("Company's name.").nullable(),
12
+ visitorId: z.string().describe("Internal Specific visitor ID for the company.").nullable(),
13
+ usersCount: z.number().int().describe("Number of users in the company.").nullable()
14
+ }).passthrough().describe("Company information associated with a conversation.");
15
15
  const SpecificListConversations_ContactSchema = z.object({
16
- id: z.string().describe("Contact's unique identifier."),
17
- name: z.string().describe("Contact's full name."),
16
+ id: z.string().describe("Contact's unique identifier.").nullable(),
17
+ name: z.string().describe("Contact's full name.").nullable(),
18
18
  email: z.string().describe("Contact's email address.").nullable().optional(),
19
19
  company: SpecificListConversations_CompanySchema.nullable().optional(),
20
- visitorId: z.string().describe("Internal Specific visitor ID.")
21
- }).describe("Contact information associated with a conversation.");
20
+ visitorId: z.string().describe("Internal Specific visitor ID.").nullable()
21
+ }).passthrough().describe("Contact information associated with a conversation.");
22
22
  const SpecificListConversations_AssigneeSchema = z.object({
23
- id: z.string().describe("User ID of the assignee."),
24
- email: z.string().describe("Email address of the assignee."),
23
+ id: z.string().describe("User ID of the assignee.").nullable(),
24
+ email: z.string().describe("Email address of the assignee.").nullable(),
25
25
  fullName: z.string().describe("Full name of the assignee.").nullable().optional()
26
- }).describe("Person assigned to the conversation.");
26
+ }).passthrough().describe("Person assigned to the conversation.");
27
27
  const SpecificListConversations_ConversationSchema = z.object({
28
- id: z.string().describe("Unique identifier for the conversation."),
29
- name: z.string().describe("Conversation name or title."),
28
+ id: z.string().describe("Unique identifier for the conversation.").nullable(),
29
+ name: z.string().describe("Conversation name or title.").nullable(),
30
30
  source: SpecificListConversations_SourceSchema.nullable().optional(),
31
31
  company: SpecificListConversations_CompanySchema.nullable().optional(),
32
32
  contact: SpecificListConversations_ContactSchema.nullable().optional(),
33
33
  assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),
34
34
  plainText: z.string().describe("Conversation content in plain text format.").nullable().optional(),
35
35
  sourceUrl: z.string().describe("Source URL where the conversation originated.").nullable().optional(),
36
- insertedAt: z.string().describe("Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ)."),
37
- customFields: z.object({}).describe("Custom fields associated with the conversation as key-value pairs.")
38
- }).describe("Conversation object from Specific platform.");
36
+ insertedAt: z.string().describe("Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).").nullable(),
37
+ customFields: z.record(z.string(), z.unknown()).describe("Custom fields associated with the conversation as key-value pairs.")
38
+ }).passthrough().describe("Conversation object from Specific platform.");
39
39
  const specificListConversations = action("SPECIFIC_LIST_CONVERSATIONS", {
40
40
  slug: "specific-list-conversations",
41
41
  name: "List Conversations",
42
42
  description: "Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.",
43
43
  input: SpecificListConversationsInput,
44
- output: z.object({ conversations: z.array(SpecificListConversations_ConversationSchema).describe("List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.") }).describe("Response model for listing conversations.")
44
+ output: z.object({ conversations: z.array(SpecificListConversations_ConversationSchema).describe("List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.") }).passthrough().describe("Response model for listing conversations.")
45
45
  });
46
46
  //#endregion
47
47
  export { specificListConversations };
@@ -1 +1 @@
1
- {"version":3,"file":"list-conversations.mjs","names":[],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListConversationsInput: z.ZodTypeAny = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Source's unique identifier.\"),\n name: z.string().describe(\"Source's name.\"),\n}).describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company's unique identifier.\"),\n name: z.string().describe(\"Company's name.\"),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\"),\n usersCount: z.number().int().describe(\"Number of users in the company.\"),\n}).describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact's unique identifier.\"),\n name: z.string().describe(\"Contact's full name.\"),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\"),\n}).describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"User ID of the assignee.\"),\n email: z.string().describe(\"Email address of the assignee.\"),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\"),\n name: z.string().describe(\"Conversation name or title.\"),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\"),\n customFields: z.object({}).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput: z.ZodTypeAny = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO,EACnE,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,EACrJ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,yCAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;AAC5C,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;AACzE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAChE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,QAAQ,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACnE,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CACjI,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC1G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,eAAe,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2HAA2H,EAC3M,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-conversations.mjs","names":[],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListConversationsInput = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's name.\").nullable(),\n}).passthrough().describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema = z.object({\n id: z.string().describe(\"Contact's unique identifier.\").nullable(),\n name: z.string().describe(\"Contact's full name.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema = z.object({\n id: z.string().describe(\"User ID of the assignee.\").nullable(),\n email: z.string().describe(\"Email address of the assignee.\").nullable(),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).passthrough().describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n name: z.string().describe(\"Conversation name or title.\").nullable(),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\").nullable(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).passthrough().describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).passthrough().describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":"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"}
@@ -7,15 +7,15 @@ const SpecificListCustomFieldsInput = zod.z.object({ field_type: zod.z.enum([
7
7
  "conversation"
8
8
  ]).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() }).describe("Request model for listing custom fields in the Specific platform.");
9
9
  const SpecificListCustomFields_CustomFieldSchema = zod.z.object({
10
- id: zod.z.string().describe("The unique identifier of the custom field."),
11
- name: zod.z.string().describe("The display name of the custom field."),
10
+ id: zod.z.string().describe("The unique identifier of the custom field.").nullable(),
11
+ name: zod.z.string().describe("The display name of the custom field.").nullable(),
12
12
  type: zod.z.enum([
13
13
  "user",
14
14
  "group",
15
15
  "conversation"
16
- ]).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.")
17
- }).describe("Represents a single custom field definition.");
18
- const SpecificListCustomFieldsOutput = zod.z.object({ attributes: zod.z.array(SpecificListCustomFields_CustomFieldSchema).describe("List of custom field definitions (attributes).") }).describe("Response model containing the list of custom fields from the GraphQL API.");
16
+ ]).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()
17
+ }).passthrough().describe("Represents a single custom field definition.");
18
+ const SpecificListCustomFieldsOutput = zod.z.object({ attributes: zod.z.array(SpecificListCustomFields_CustomFieldSchema).describe("List of custom field definitions (attributes).") }).passthrough().describe("Response model containing the list of custom fields from the GraphQL API.");
19
19
  const specificListCustomFields = require_action.action("SPECIFIC_LIST_CUSTOM_FIELDS", {
20
20
  slug: "specific-list-custom-fields",
21
21
  name: "List Custom Fields",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the custom field.\"),\n name: z.string().describe(\"The display name of the custom field.\"),\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.\"),\n}).describe(\"Represents a single custom field definition.\");\nexport const SpecificListCustomFieldsOutput: z.ZodTypeAny = z.object({\n attributes: z.array(SpecificListCustomFields_CustomFieldSchema).describe(\"List of custom field definitions (attributes).\"),\n}).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,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,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,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;CAAc,CAAC,CAAC,CAAC,SAAS,qLAAqL;AAChP,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,YAAYA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,EAC3H,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAEvF,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 { 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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-custom-fields.d.ts
4
- declare const SpecificListCustomFieldsInput: z.ZodTypeAny;
5
- declare const SpecificListCustomFieldsOutput: z.ZodTypeAny;
6
- declare const specificListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificListCustomFieldsInput: z.ZodObject<{
5
+ field_type: z.ZodOptional<z.ZodEnum<{
6
+ user: "user";
7
+ group: "group";
8
+ conversation: "conversation";
9
+ }>>;
10
+ }, z.core.$strip>;
11
+ declare const SpecificListCustomFieldsOutput: z.ZodObject<{
12
+ attributes: z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ type: z.ZodNullable<z.ZodEnum<{
16
+ user: "user";
17
+ group: "group";
18
+ conversation: "conversation";
19
+ }>>;
20
+ }, z.core.$loose>>;
21
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { specificListCustomFields };
9
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,EAA+B,CAAA,CAAE,UAEkC;AAAA,cAMnE,8BAAA,EAAgC,CAAA,CAAE,UAEyC;AAAA,cAE3E,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-custom-fields.d.ts
4
- declare const SpecificListCustomFieldsInput: z.ZodTypeAny;
5
- declare const SpecificListCustomFieldsOutput: z.ZodTypeAny;
6
- declare const specificListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificListCustomFieldsInput: z.ZodObject<{
5
+ field_type: z.ZodOptional<z.ZodEnum<{
6
+ user: "user";
7
+ group: "group";
8
+ conversation: "conversation";
9
+ }>>;
10
+ }, z.core.$strip>;
11
+ declare const SpecificListCustomFieldsOutput: z.ZodObject<{
12
+ attributes: z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ type: z.ZodNullable<z.ZodEnum<{
16
+ user: "user";
17
+ group: "group";
18
+ conversation: "conversation";
19
+ }>>;
20
+ }, z.core.$loose>>;
21
+ }, 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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { specificListCustomFields };
9
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,EAA+B,CAAA,CAAE,UAEkC;AAAA,cAMnE,8BAAA,EAAgC,CAAA,CAAE,UAEyC;AAAA,cAE3E,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -7,20 +7,20 @@ const SpecificListCustomFieldsInput = z.object({ field_type: z.enum([
7
7
  "conversation"
8
8
  ]).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() }).describe("Request model for listing custom fields in the Specific platform.");
9
9
  const SpecificListCustomFields_CustomFieldSchema = z.object({
10
- id: z.string().describe("The unique identifier of the custom field."),
11
- name: z.string().describe("The display name of the custom field."),
10
+ id: z.string().describe("The unique identifier of the custom field.").nullable(),
11
+ name: z.string().describe("The display name of the custom field.").nullable(),
12
12
  type: z.enum([
13
13
  "user",
14
14
  "group",
15
15
  "conversation"
16
- ]).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.")
17
- }).describe("Represents a single custom field definition.");
16
+ ]).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()
17
+ }).passthrough().describe("Represents a single custom field definition.");
18
18
  const specificListCustomFields = action("SPECIFIC_LIST_CUSTOM_FIELDS", {
19
19
  slug: "specific-list-custom-fields",
20
20
  name: "List Custom Fields",
21
21
  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.",
22
22
  input: SpecificListCustomFieldsInput,
23
- output: z.object({ attributes: z.array(SpecificListCustomFields_CustomFieldSchema).describe("List of custom field definitions (attributes).") }).describe("Response model containing the list of custom fields from the GraphQL API.")
23
+ output: z.object({ attributes: z.array(SpecificListCustomFields_CustomFieldSchema).describe("List of custom field definitions (attributes).") }).passthrough().describe("Response model containing the list of custom fields from the GraphQL API.")
24
24
  });
25
25
  //#endregion
26
26
  export { specificListCustomFields };
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the custom field.\"),\n name: z.string().describe(\"The display name of the custom field.\"),\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.\"),\n}).describe(\"Represents a single custom field definition.\");\nexport const SpecificListCustomFieldsOutput: z.ZodTypeAny = z.object({\n attributes: z.array(SpecificListCustomFields_CustomFieldSchema).describe(\"List of custom field definitions (attributes).\"),\n}).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,gCAA8C,EAAE,OAAO,EAClE,YAAY,EAAE,KAAK;CAAC;CAAQ;CAAS;AAAc,CAAC,CAAC,CAAC,SAAS,iPAAiP,CAAC,CAAC,SAAS,EAC7T,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,6CAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAS;CAAc,CAAC,CAAC,CAAC,SAAS,qLAAqL;AAChP,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAK1D,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,YAAY,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,EAC3H,CAAC,CAAC,CAAC,SAAS,2EAOF;AACV,CAAC"}
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"}
@@ -3,11 +3,11 @@ let zod = require("zod");
3
3
  //#region src/actions/list-sources.ts
4
4
  const SpecificListSourcesInput = zod.z.object({}).describe("Request model for listing sources from Specific platform.\nNo parameters required as it returns all available sources.");
5
5
  const SpecificListSources_SourceSchema = zod.z.object({
6
- id: zod.z.string().describe("Source's unique identifier."),
7
- name: zod.z.string().describe("Source's display name.")
8
- }).describe("Source object from Specific platform.");
9
- const SpecificListSources_SourcesDataSchema = zod.z.object({ sources: zod.z.array(SpecificListSources_SourceSchema).describe("List of source objects from the workspace.") }).describe("Data wrapper containing the sources field.");
10
- const SpecificListSourcesOutput = zod.z.object({ data: SpecificListSources_SourcesDataSchema.nullable() }).describe("Response model for the sources GraphQL query.");
6
+ id: zod.z.string().describe("Source's unique identifier.").nullable(),
7
+ name: zod.z.string().describe("Source's display name.").nullable()
8
+ }).passthrough().describe("Source object from Specific platform.");
9
+ const SpecificListSources_SourcesDataSchema = zod.z.object({ sources: zod.z.array(SpecificListSources_SourceSchema).describe("List of source objects from the workspace.") }).passthrough().describe("Data wrapper containing the sources field.");
10
+ const SpecificListSourcesOutput = zod.z.object({ data: SpecificListSources_SourcesDataSchema.nullable() }).passthrough().describe("Response model for the sources GraphQL query.");
11
11
  const specificListSources = require_action.action("SPECIFIC_LIST_SOURCES", {
12
12
  slug: "specific-list-sources",
13
13
  name: "List Sources",
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing sources from Specific platform.\\nNo parameters required as it returns all available sources.\");\nconst SpecificListSources_SourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Source's unique identifier.\"),\n name: z.string().describe(\"Source's display name.\"),\n}).describe(\"Source object from Specific platform.\");\nconst SpecificListSources_SourcesDataSchema: z.ZodTypeAny = z.object({\n sources: z.array(SpecificListSources_SourceSchema).describe(\"List of source objects from the workspace.\"),\n}).describe(\"Data wrapper containing the sources field.\");\nexport const SpecificListSourcesOutput: z.ZodTypeAny = z.object({\n data: SpecificListSources_SourcesDataSchema.nullable(),\n}).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,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH;AACpM,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACpD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,wCAAsDA,IAAAA,EAAE,OAAO,EACnE,SAASA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,4CAA4C,EAC1G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,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 { 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,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-sources.d.ts
4
- declare const SpecificListSourcesInput: z.ZodTypeAny;
5
- declare const SpecificListSourcesOutput: z.ZodTypeAny;
6
- declare const specificListSources: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificListSourcesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SpecificListSourcesOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ sources: z.ZodArray<z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const specificListSources: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { specificListSources };
9
16
  //# 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,EAA0B,CAAA,CAAE,UAA4J;AAAA,cAQxL,yBAAA,EAA2B,CAAA,CAAE,UAEkB;AAAA,cAE/C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,4CAAA,UAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-sources.d.ts
4
- declare const SpecificListSourcesInput: z.ZodTypeAny;
5
- declare const SpecificListSourcesOutput: z.ZodTypeAny;
6
- declare const specificListSources: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificListSourcesInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SpecificListSourcesOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ sources: z.ZodArray<z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$loose>>;
11
+ }, z.core.$loose>>;
12
+ }, z.core.$loose>;
13
+ declare const specificListSources: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { specificListSources };
9
16
  //# 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,EAA0B,CAAA,CAAE,UAA4J;AAAA,cAQxL,yBAAA,EAA2B,CAAA,CAAE,UAEkB;AAAA,cAE/C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,4CAAA,UAAA"}
@@ -3,16 +3,16 @@ import { z } from "zod";
3
3
  //#region src/actions/list-sources.ts
4
4
  const SpecificListSourcesInput = z.object({}).describe("Request model for listing sources from Specific platform.\nNo parameters required as it returns all available sources.");
5
5
  const SpecificListSources_SourceSchema = z.object({
6
- id: z.string().describe("Source's unique identifier."),
7
- name: z.string().describe("Source's display name.")
8
- }).describe("Source object from Specific platform.");
9
- const SpecificListSources_SourcesDataSchema = z.object({ sources: z.array(SpecificListSources_SourceSchema).describe("List of source objects from the workspace.") }).describe("Data wrapper containing the sources field.");
6
+ id: z.string().describe("Source's unique identifier.").nullable(),
7
+ name: z.string().describe("Source's display name.").nullable()
8
+ }).passthrough().describe("Source object from Specific platform.");
9
+ const SpecificListSources_SourcesDataSchema = z.object({ sources: z.array(SpecificListSources_SourceSchema).describe("List of source objects from the workspace.") }).passthrough().describe("Data wrapper containing the sources field.");
10
10
  const specificListSources = action("SPECIFIC_LIST_SOURCES", {
11
11
  slug: "specific-list-sources",
12
12
  name: "List Sources",
13
13
  description: "Tool to retrieve all data sources from the Specific platform. Use when you need to fetch available sources in the workspace.",
14
14
  input: SpecificListSourcesInput,
15
- output: z.object({ data: SpecificListSources_SourcesDataSchema.nullable() }).describe("Response model for the sources GraphQL query.")
15
+ output: z.object({ data: SpecificListSources_SourcesDataSchema.nullable() }).passthrough().describe("Response model for the sources GraphQL query.")
16
16
  });
17
17
  //#endregion
18
18
  export { specificListSources };
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing sources from Specific platform.\\nNo parameters required as it returns all available sources.\");\nconst SpecificListSources_SourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Source's unique identifier.\"),\n name: z.string().describe(\"Source's display name.\"),\n}).describe(\"Source object from Specific platform.\");\nconst SpecificListSources_SourcesDataSchema: z.ZodTypeAny = z.object({\n sources: z.array(SpecificListSources_SourceSchema).describe(\"List of source objects from the workspace.\"),\n}).describe(\"Data wrapper containing the sources field.\");\nexport const SpecificListSourcesOutput: z.ZodTypeAny = z.object({\n data: SpecificListSources_SourcesDataSchema.nullable(),\n}).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,2BAAyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH;AACpM,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACpD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,wCAAsD,EAAE,OAAO,EACnE,SAAS,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,4CAA4C,EAC1G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
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"}