@keystrokehq/specific 0.1.2 → 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.
- package/dist/actions/create-company.cjs +3 -3
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +4 -4
- package/dist/actions/create-company.d.mts +4 -4
- package/dist/actions/create-company.mjs +3 -3
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-conversation.cjs +12 -12
- package/dist/actions/create-conversation.cjs.map +1 -1
- package/dist/actions/create-conversation.d.cts +20 -15
- package/dist/actions/create-conversation.d.mts +20 -15
- package/dist/actions/create-conversation.mjs +12 -12
- package/dist/actions/create-conversation.mjs.map +1 -1
- package/dist/actions/create-or-update-company.cjs +6 -6
- package/dist/actions/create-or-update-company.cjs.map +1 -1
- package/dist/actions/create-or-update-company.d.cts +7 -7
- package/dist/actions/create-or-update-company.d.mts +7 -7
- package/dist/actions/create-or-update-company.mjs +6 -6
- package/dist/actions/create-or-update-company.mjs.map +1 -1
- package/dist/actions/create-or-update-user.cjs +3 -3
- package/dist/actions/create-or-update-user.cjs.map +1 -1
- package/dist/actions/create-or-update-user.d.cts +3 -3
- package/dist/actions/create-or-update-user.d.mts +3 -3
- package/dist/actions/create-or-update-user.mjs +3 -3
- package/dist/actions/create-or-update-user.mjs.map +1 -1
- package/dist/actions/create-user.cjs +2 -2
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +2 -2
- package/dist/actions/create-user.d.mts +2 -2
- package/dist/actions/create-user.mjs +2 -2
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-company-attributes.cjs +1 -1
- package/dist/actions/delete-company-attributes.cjs.map +1 -1
- package/dist/actions/delete-company-attributes.d.cts +1 -1
- package/dist/actions/delete-company-attributes.d.mts +1 -1
- package/dist/actions/delete-company-attributes.mjs +1 -1
- package/dist/actions/delete-company-attributes.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +1 -1
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +1 -1
- package/dist/actions/delete-company.d.mts +1 -1
- package/dist/actions/delete-company.mjs +1 -1
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-user-attributes.cjs +4 -4
- package/dist/actions/delete-user-attributes.cjs.map +1 -1
- package/dist/actions/delete-user-attributes.d.cts +4 -4
- package/dist/actions/delete-user-attributes.d.mts +4 -4
- package/dist/actions/delete-user-attributes.mjs +4 -4
- package/dist/actions/delete-user-attributes.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +2 -2
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +2 -2
- package/dist/actions/delete-user.d.mts +2 -2
- package/dist/actions/delete-user.mjs +2 -2
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-my-workspace.cjs +3 -3
- package/dist/actions/get-my-workspace.cjs.map +1 -1
- package/dist/actions/get-my-workspace.d.cts +3 -3
- package/dist/actions/get-my-workspace.d.mts +3 -3
- package/dist/actions/get-my-workspace.mjs +3 -3
- package/dist/actions/get-my-workspace.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +2 -2
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +2 -2
- package/dist/actions/list-companies.d.mts +2 -2
- package/dist/actions/list-companies.mjs +2 -2
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-conversations.cjs +7 -7
- package/dist/actions/list-conversations.cjs.map +1 -1
- package/dist/actions/list-conversations.d.cts +8 -8
- package/dist/actions/list-conversations.d.mts +8 -8
- package/dist/actions/list-conversations.mjs +7 -7
- package/dist/actions/list-conversations.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +2 -2
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +2 -2
- package/dist/actions/list-custom-fields.d.mts +2 -2
- package/dist/actions/list-custom-fields.mjs +2 -2
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-sources.cjs +3 -3
- package/dist/actions/list-sources.cjs.map +1 -1
- package/dist/actions/list-sources.d.cts +3 -3
- package/dist/actions/list-sources.d.mts +3 -3
- package/dist/actions/list-sources.mjs +3 -3
- package/dist/actions/list-sources.mjs.map +1 -1
- package/dist/actions/list-surveys.cjs +4 -4
- package/dist/actions/list-surveys.cjs.map +1 -1
- package/dist/actions/list-surveys.d.cts +4 -4
- package/dist/actions/list-surveys.d.mts +4 -4
- package/dist/actions/list-surveys.mjs +4 -4
- package/dist/actions/list-surveys.mjs.map +1 -1
- package/dist/actions/list-users.cjs +4 -4
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +5 -5
- package/dist/actions/list-users.d.mts +5 -5
- package/dist/actions/list-users.mjs +4 -4
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/update-company.cjs +2 -2
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +2 -2
- package/dist/actions/update-company.d.mts +2 -2
- package/dist/actions/update-company.mjs +2 -2
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-user.cjs +3 -3
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +3 -3
- package/dist/actions/update-user.d.mts +3 -3
- package/dist/actions/update-user.mjs +3 -3
- package/dist/actions/update-user.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5,25 +5,25 @@ const SpecificListConversationsInput = z.object({ where: z.object({ sources: z.a
|
|
|
5
5
|
const SpecificListConversations_SourceSchema = z.object({
|
|
6
6
|
id: z.string().describe("Source's unique identifier.").nullable(),
|
|
7
7
|
name: z.string().describe("Source's name.").nullable()
|
|
8
|
-
}).describe("Source information associated with a conversation.");
|
|
8
|
+
}).passthrough().describe("Source information associated with a conversation.");
|
|
9
9
|
const SpecificListConversations_CompanySchema = z.object({
|
|
10
10
|
id: z.string().describe("Company's unique identifier.").nullable(),
|
|
11
11
|
name: z.string().describe("Company's name.").nullable(),
|
|
12
12
|
visitorId: z.string().describe("Internal Specific visitor ID for the company.").nullable(),
|
|
13
13
|
usersCount: z.number().int().describe("Number of users in the company.").nullable()
|
|
14
|
-
}).describe("Company information associated with a conversation.");
|
|
14
|
+
}).passthrough().describe("Company information associated with a conversation.");
|
|
15
15
|
const SpecificListConversations_ContactSchema = z.object({
|
|
16
16
|
id: z.string().describe("Contact's unique identifier.").nullable(),
|
|
17
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
20
|
visitorId: z.string().describe("Internal Specific visitor ID.").nullable()
|
|
21
|
-
}).describe("Contact information associated with a conversation.");
|
|
21
|
+
}).passthrough().describe("Contact information associated with a conversation.");
|
|
22
22
|
const SpecificListConversations_AssigneeSchema = z.object({
|
|
23
23
|
id: z.string().describe("User ID of the assignee.").nullable(),
|
|
24
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
28
|
id: z.string().describe("Unique identifier for the conversation.").nullable(),
|
|
29
29
|
name: z.string().describe("Conversation name or title.").nullable(),
|
|
@@ -34,14 +34,14 @@ const SpecificListConversations_ConversationSchema = z.object({
|
|
|
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
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.
|
|
38
|
-
}).describe("Conversation object from Specific platform.");
|
|
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.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}).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}).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}).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}).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.
|
|
1
|
+
{"version":3,"file":"list-conversations.mjs","names":[],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListConversationsInput = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's name.\").nullable(),\n}).passthrough().describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema = z.object({\n id: z.string().describe(\"Contact's unique identifier.\").nullable(),\n name: z.string().describe(\"Contact's full name.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema = z.object({\n id: z.string().describe(\"User ID of the assignee.\").nullable(),\n email: z.string().describe(\"Email address of the assignee.\").nullable(),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).passthrough().describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n name: z.string().describe(\"Conversation name or title.\").nullable(),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\").nullable(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).passthrough().describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).passthrough().describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6GAA6G,EACrJ,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAM,0CAA0C,E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AC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,eAAe,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2HAA2H,EAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -14,8 +14,8 @@ const SpecificListCustomFields_CustomFieldSchema = zod.z.object({
|
|
|
14
14
|
"group",
|
|
15
15
|
"conversation"
|
|
16
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
|
-
}).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.");
|
|
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.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}).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}).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,SAAS,8CAA8C;
|
|
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"}
|
|
@@ -17,8 +17,8 @@ declare const SpecificListCustomFieldsOutput: z.ZodObject<{
|
|
|
17
17
|
group: "group";
|
|
18
18
|
conversation: "conversation";
|
|
19
19
|
}>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const specificListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
field_type?: "user" | "group" | "conversation" | undefined;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -17,8 +17,8 @@ declare const SpecificListCustomFieldsOutput: z.ZodObject<{
|
|
|
17
17
|
group: "group";
|
|
18
18
|
conversation: "conversation";
|
|
19
19
|
}>>;
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const specificListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
field_type?: "user" | "group" | "conversation" | undefined;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -14,13 +14,13 @@ const SpecificListCustomFields_CustomFieldSchema = z.object({
|
|
|
14
14
|
"group",
|
|
15
15
|
"conversation"
|
|
16
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
|
-
}).describe("Represents a single custom field definition.");
|
|
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.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}).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}).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,SAAS,8CAA8C;
|
|
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"}
|
|
@@ -5,9 +5,9 @@ const SpecificListSourcesInput = zod.z.object({}).describe("Request model for li
|
|
|
5
5
|
const SpecificListSources_SourceSchema = zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("Source's unique identifier.").nullable(),
|
|
7
7
|
name: zod.z.string().describe("Source's display name.").nullable()
|
|
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.");
|
|
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.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}).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}).describe(\"Data wrapper containing the sources field.\");\nexport const SpecificListSourcesOutput = 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,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,SAAS,uCAAuC;
|
|
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"}
|
|
@@ -7,9 +7,9 @@ declare const SpecificListSourcesOutput: z.ZodObject<{
|
|
|
7
7
|
sources: z.ZodArray<z.ZodObject<{
|
|
8
8
|
id: z.ZodNullable<z.ZodString>;
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
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]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { specificListSources };
|
|
@@ -7,9 +7,9 @@ declare const SpecificListSourcesOutput: z.ZodObject<{
|
|
|
7
7
|
sources: z.ZodArray<z.ZodObject<{
|
|
8
8
|
id: z.ZodNullable<z.ZodString>;
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
}, z.core.$loose>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
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]>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { specificListSources };
|
|
@@ -5,14 +5,14 @@ const SpecificListSourcesInput = z.object({}).describe("Request model for listin
|
|
|
5
5
|
const SpecificListSources_SourceSchema = z.object({
|
|
6
6
|
id: z.string().describe("Source's unique identifier.").nullable(),
|
|
7
7
|
name: z.string().describe("Source's display name.").nullable()
|
|
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.");
|
|
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.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}).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}).describe(\"Data wrapper containing the sources field.\");\nexport const SpecificListSourcesOutput = 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,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,SAAS,uCAAuC;
|
|
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"}
|
|
@@ -8,22 +8,22 @@ const SpecificListSurveys_SurveyMessageSchema = zod.z.object({
|
|
|
8
8
|
answer: zod.z.string().describe("The response provided to a survey question.").nullable(),
|
|
9
9
|
createdAt: zod.z.string().describe("Timestamp indicating when the message was created in ISO 8601 format.").nullable(),
|
|
10
10
|
questionId: zod.z.string().describe("Reference identifier linking to the associated survey question.").nullable()
|
|
11
|
-
}).describe("Individual message within a survey conversation.");
|
|
11
|
+
}).passthrough().describe("Individual message within a survey conversation.");
|
|
12
12
|
const SpecificListSurveys_SurveyConversationSchema = zod.z.object({
|
|
13
13
|
id: zod.z.string().describe("Unique identifier for the conversation.").nullable(),
|
|
14
14
|
chat: zod.z.array(SpecificListSurveys_SurveyMessageSchema).describe("Array of survey messages in the conversation."),
|
|
15
15
|
createdAt: zod.z.string().describe("Timestamp when the conversation was created in ISO 8601 format.").nullable(),
|
|
16
16
|
finishedAt: zod.z.string().describe("Timestamp when the conversation ended in ISO 8601 format.").nullable().optional(),
|
|
17
17
|
isCompleted: zod.z.boolean().describe("Flag indicating completion status of the conversation.").nullable()
|
|
18
|
-
}).describe("Conversation associated with a survey.");
|
|
18
|
+
}).passthrough().describe("Conversation associated with a survey.");
|
|
19
19
|
const SpecificListSurveys_SurveySchema = zod.z.object({
|
|
20
20
|
id: zod.z.string().describe("The unique identifier of the survey.").nullable(),
|
|
21
21
|
name: zod.z.string().describe("The name of the survey.").nullable(),
|
|
22
22
|
tone: zod.z.string().describe("The tone of the survey.").nullable(),
|
|
23
23
|
context: zod.z.string().describe("The context of the survey.").nullable(),
|
|
24
24
|
conversations: zod.z.array(SpecificListSurveys_SurveyConversationSchema).describe("Array of conversations associated with the survey.")
|
|
25
|
-
}).describe("Survey object with complete details.");
|
|
26
|
-
const SpecificListSurveysOutput = zod.z.object({ surveys: zod.z.array(SpecificListSurveys_SurveySchema).describe("List of survey objects from the Specific platform.") }).describe("Response model for listing surveys.");
|
|
25
|
+
}).passthrough().describe("Survey object with complete details.");
|
|
26
|
+
const SpecificListSurveysOutput = zod.z.object({ surveys: zod.z.array(SpecificListSurveys_SurveySchema).describe("List of survey objects from the Specific platform.") }).passthrough().describe("Response model for listing surveys.");
|
|
27
27
|
const specificListSurveys = require_action.action("SPECIFIC_LIST_SURVEYS", {
|
|
28
28
|
slug: "specific-list-surveys",
|
|
29
29
|
name: "List Surveys",
|
|
@@ -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}).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}).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}).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}).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,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,SAAS,kDAAkD;
|
|
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,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,IA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SurveysOutput: z.ZodObject<{
|
|
|
16
16
|
answer: z.ZodNullable<z.ZodString>;
|
|
17
17
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
18
18
|
questionId: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
20
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
21
21
|
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
isCompleted: z.ZodNullable<z.ZodBoolean>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const specificListSurveys: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { specificListSurveys };
|
|
@@ -16,13 +16,13 @@ declare const SpecificListSurveysOutput: z.ZodObject<{
|
|
|
16
16
|
answer: z.ZodNullable<z.ZodString>;
|
|
17
17
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
18
18
|
questionId: z.ZodNullable<z.ZodString>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
20
|
createdAt: z.ZodNullable<z.ZodString>;
|
|
21
21
|
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
isCompleted: z.ZodNullable<z.ZodBoolean>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
25
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const specificListSurveys: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { specificListSurveys };
|
|
@@ -8,27 +8,27 @@ const SpecificListSurveys_SurveyMessageSchema = z.object({
|
|
|
8
8
|
answer: z.string().describe("The response provided to a survey question.").nullable(),
|
|
9
9
|
createdAt: z.string().describe("Timestamp indicating when the message was created in ISO 8601 format.").nullable(),
|
|
10
10
|
questionId: z.string().describe("Reference identifier linking to the associated survey question.").nullable()
|
|
11
|
-
}).describe("Individual message within a survey conversation.");
|
|
11
|
+
}).passthrough().describe("Individual message within a survey conversation.");
|
|
12
12
|
const SpecificListSurveys_SurveyConversationSchema = z.object({
|
|
13
13
|
id: z.string().describe("Unique identifier for the conversation.").nullable(),
|
|
14
14
|
chat: z.array(SpecificListSurveys_SurveyMessageSchema).describe("Array of survey messages in the conversation."),
|
|
15
15
|
createdAt: z.string().describe("Timestamp when the conversation was created in ISO 8601 format.").nullable(),
|
|
16
16
|
finishedAt: z.string().describe("Timestamp when the conversation ended in ISO 8601 format.").nullable().optional(),
|
|
17
17
|
isCompleted: z.boolean().describe("Flag indicating completion status of the conversation.").nullable()
|
|
18
|
-
}).describe("Conversation associated with a survey.");
|
|
18
|
+
}).passthrough().describe("Conversation associated with a survey.");
|
|
19
19
|
const SpecificListSurveys_SurveySchema = z.object({
|
|
20
20
|
id: z.string().describe("The unique identifier of the survey.").nullable(),
|
|
21
21
|
name: z.string().describe("The name of the survey.").nullable(),
|
|
22
22
|
tone: z.string().describe("The tone of the survey.").nullable(),
|
|
23
23
|
context: z.string().describe("The context of the survey.").nullable(),
|
|
24
24
|
conversations: z.array(SpecificListSurveys_SurveyConversationSchema).describe("Array of conversations associated with the survey.")
|
|
25
|
-
}).describe("Survey object with complete details.");
|
|
25
|
+
}).passthrough().describe("Survey object with complete details.");
|
|
26
26
|
const specificListSurveys = action("SPECIFIC_LIST_SURVEYS", {
|
|
27
27
|
slug: "specific-list-surveys",
|
|
28
28
|
name: "List Surveys",
|
|
29
29
|
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.",
|
|
30
30
|
input: SpecificListSurveysInput,
|
|
31
|
-
output: z.object({ surveys: z.array(SpecificListSurveys_SurveySchema).describe("List of survey objects from the Specific platform.") }).describe("Response model for listing surveys.")
|
|
31
|
+
output: z.object({ surveys: z.array(SpecificListSurveys_SurveySchema).describe("List of survey objects from the Specific platform.") }).passthrough().describe("Response model for listing surveys.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { specificListSurveys };
|
|
@@ -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}).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}).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}).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}).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,SAAS,kDAAkD;
|
|
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":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AC,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"}
|
|
@@ -32,22 +32,22 @@ const SpecificListUsersInput = zod.z.object({ where: zod.z.object({
|
|
|
32
32
|
endsWith: zod.z.string().describe("Suffix that the field should end with.").optional(),
|
|
33
33
|
startsWith: zod.z.string().describe("Prefix that the field should start with.").optional()
|
|
34
34
|
}).describe("Filter for string fields supporting various operators.").optional(),
|
|
35
|
-
attributes: zod.z.
|
|
35
|
+
attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Filter by contact's custom attributes as key-value pairs.").optional()
|
|
36
36
|
}).describe("Filter for contact/user fields.").optional() }).describe("Request model for listing users from Specific platform.");
|
|
37
37
|
const SpecificListUsers_CompanySchema = zod.z.object({
|
|
38
38
|
id: zod.z.string().describe("Company's unique identifier.").nullable(),
|
|
39
39
|
name: zod.z.string().describe("Company's name.").nullable(),
|
|
40
40
|
visitorId: zod.z.string().describe("Internal Specific visitor ID for the company.").nullable(),
|
|
41
41
|
usersCount: zod.z.number().int().describe("Number of users in the company.").nullable()
|
|
42
|
-
}).describe("Company information associated with a user.");
|
|
42
|
+
}).passthrough().describe("Company information associated with a user.");
|
|
43
43
|
const SpecificListUsers_UserSchema = zod.z.object({
|
|
44
44
|
id: zod.z.string().describe("Contact's unique identifier.").nullable(),
|
|
45
45
|
name: zod.z.string().describe("Contact's full name.").nullable(),
|
|
46
46
|
email: zod.z.string().describe("Contact's email address.").nullable().optional(),
|
|
47
47
|
company: SpecificListUsers_CompanySchema.nullable().optional(),
|
|
48
48
|
visitorId: zod.z.string().describe("Internal Specific visitor ID.").nullable()
|
|
49
|
-
}).describe("User object from Specific platform.");
|
|
50
|
-
const SpecificListUsersOutput = zod.z.object({ users: zod.z.array(SpecificListUsers_UserSchema).describe("List of user accounts from the Specific platform.") }).describe("Response model for listing users.");
|
|
49
|
+
}).passthrough().describe("User object from Specific platform.");
|
|
50
|
+
const SpecificListUsersOutput = zod.z.object({ users: zod.z.array(SpecificListUsers_UserSchema).describe("List of user accounts from the Specific platform.") }).passthrough().describe("Response model for listing users.");
|
|
51
51
|
const specificListUsers = require_action.action("SPECIFIC_LIST_USERS", {
|
|
52
52
|
slug: "specific-list-users",
|
|
53
53
|
name: "List Users",
|
|
@@ -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.
|
|
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,CAAC,CAAC,SAAS,0CAA0C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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"}
|
|
@@ -33,7 +33,7 @@ declare const SpecificListUsersInput: z.ZodObject<{
|
|
|
33
33
|
endsWith: z.ZodOptional<z.ZodString>;
|
|
34
34
|
startsWith: z.ZodOptional<z.ZodString>;
|
|
35
35
|
}, z.core.$strip>>;
|
|
36
|
-
attributes: z.ZodOptional<z.
|
|
36
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
37
37
|
}, z.core.$strip>>;
|
|
38
38
|
}, z.core.$strip>;
|
|
39
39
|
declare const SpecificListUsersOutput: z.ZodObject<{
|
|
@@ -46,10 +46,10 @@ declare const SpecificListUsersOutput: z.ZodObject<{
|
|
|
46
46
|
name: z.ZodNullable<z.ZodString>;
|
|
47
47
|
visitorId: z.ZodNullable<z.ZodString>;
|
|
48
48
|
usersCount: z.ZodNullable<z.ZodNumber>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
50
|
visitorId: z.ZodNullable<z.ZodString>;
|
|
51
|
-
}, z.core.$
|
|
52
|
-
}, z.core.$
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
|
+
}, z.core.$loose>;
|
|
53
53
|
declare const specificListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
54
54
|
where?: {
|
|
55
55
|
id?: {
|
|
@@ -82,7 +82,7 @@ declare const specificListUsers: import("@keystrokehq/action").WorkflowActionDef
|
|
|
82
82
|
endsWith?: string | undefined;
|
|
83
83
|
startsWith?: string | undefined;
|
|
84
84
|
} | undefined;
|
|
85
|
-
attributes?: Record<string,
|
|
85
|
+
attributes?: Record<string, unknown> | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
88
88
|
//#endregion
|
|
@@ -33,7 +33,7 @@ declare const SpecificListUsersInput: z.ZodObject<{
|
|
|
33
33
|
endsWith: z.ZodOptional<z.ZodString>;
|
|
34
34
|
startsWith: z.ZodOptional<z.ZodString>;
|
|
35
35
|
}, z.core.$strip>>;
|
|
36
|
-
attributes: z.ZodOptional<z.
|
|
36
|
+
attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
37
37
|
}, z.core.$strip>>;
|
|
38
38
|
}, z.core.$strip>;
|
|
39
39
|
declare const SpecificListUsersOutput: z.ZodObject<{
|
|
@@ -46,10 +46,10 @@ declare const SpecificListUsersOutput: z.ZodObject<{
|
|
|
46
46
|
name: z.ZodNullable<z.ZodString>;
|
|
47
47
|
visitorId: z.ZodNullable<z.ZodString>;
|
|
48
48
|
usersCount: z.ZodNullable<z.ZodNumber>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
50
|
visitorId: z.ZodNullable<z.ZodString>;
|
|
51
|
-
}, z.core.$
|
|
52
|
-
}, z.core.$
|
|
51
|
+
}, z.core.$loose>>;
|
|
52
|
+
}, z.core.$loose>;
|
|
53
53
|
declare const specificListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
54
54
|
where?: {
|
|
55
55
|
id?: {
|
|
@@ -82,7 +82,7 @@ declare const specificListUsers: import("@keystrokehq/action").WorkflowActionDef
|
|
|
82
82
|
endsWith?: string | undefined;
|
|
83
83
|
startsWith?: string | undefined;
|
|
84
84
|
} | undefined;
|
|
85
|
-
attributes?: Record<string,
|
|
85
|
+
attributes?: Record<string, unknown> | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
88
88
|
//#endregion
|
|
@@ -32,27 +32,27 @@ const SpecificListUsersInput = z.object({ where: z.object({
|
|
|
32
32
|
endsWith: z.string().describe("Suffix that the field should end with.").optional(),
|
|
33
33
|
startsWith: z.string().describe("Prefix that the field should start with.").optional()
|
|
34
34
|
}).describe("Filter for string fields supporting various operators.").optional(),
|
|
35
|
-
attributes: z.
|
|
35
|
+
attributes: z.record(z.string(), z.unknown()).describe("Filter by contact's custom attributes as key-value pairs.").optional()
|
|
36
36
|
}).describe("Filter for contact/user fields.").optional() }).describe("Request model for listing users from Specific platform.");
|
|
37
37
|
const SpecificListUsers_CompanySchema = z.object({
|
|
38
38
|
id: z.string().describe("Company's unique identifier.").nullable(),
|
|
39
39
|
name: z.string().describe("Company's name.").nullable(),
|
|
40
40
|
visitorId: z.string().describe("Internal Specific visitor ID for the company.").nullable(),
|
|
41
41
|
usersCount: z.number().int().describe("Number of users in the company.").nullable()
|
|
42
|
-
}).describe("Company information associated with a user.");
|
|
42
|
+
}).passthrough().describe("Company information associated with a user.");
|
|
43
43
|
const SpecificListUsers_UserSchema = z.object({
|
|
44
44
|
id: z.string().describe("Contact's unique identifier.").nullable(),
|
|
45
45
|
name: z.string().describe("Contact's full name.").nullable(),
|
|
46
46
|
email: z.string().describe("Contact's email address.").nullable().optional(),
|
|
47
47
|
company: SpecificListUsers_CompanySchema.nullable().optional(),
|
|
48
48
|
visitorId: z.string().describe("Internal Specific visitor ID.").nullable()
|
|
49
|
-
}).describe("User object from Specific platform.");
|
|
49
|
+
}).passthrough().describe("User object from Specific platform.");
|
|
50
50
|
const specificListUsers = action("SPECIFIC_LIST_USERS", {
|
|
51
51
|
slug: "specific-list-users",
|
|
52
52
|
name: "List Users",
|
|
53
53
|
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.",
|
|
54
54
|
input: SpecificListUsersInput,
|
|
55
|
-
output: z.object({ users: z.array(SpecificListUsers_UserSchema).describe("List of user accounts from the Specific platform.") }).describe("Response model for listing users.")
|
|
55
|
+
output: z.object({ users: z.array(SpecificListUsers_UserSchema).describe("List of user accounts from the Specific platform.") }).passthrough().describe("Response model for listing users.")
|
|
56
56
|
});
|
|
57
57
|
//#endregion
|
|
58
58
|
export { specificListUsers };
|