@keystrokehq/specific 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-company.cjs +1 -0
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +3 -5
- package/dist/actions/create-company.d.cts.map +1 -1
- package/dist/actions/create-company.d.mts +3 -5
- package/dist/actions/create-company.d.mts.map +1 -1
- package/dist/actions/create-company.mjs +1 -0
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-conversation.cjs +1 -0
- package/dist/actions/create-conversation.cjs.map +1 -1
- package/dist/actions/create-conversation.d.cts +3 -38
- package/dist/actions/create-conversation.d.cts.map +1 -1
- package/dist/actions/create-conversation.d.mts +3 -38
- package/dist/actions/create-conversation.d.mts.map +1 -1
- package/dist/actions/create-conversation.mjs +1 -0
- package/dist/actions/create-conversation.mjs.map +1 -1
- package/dist/actions/create-or-update-company.cjs +1 -0
- package/dist/actions/create-or-update-company.cjs.map +1 -1
- package/dist/actions/create-or-update-company.d.cts +3 -11
- package/dist/actions/create-or-update-company.d.cts.map +1 -1
- package/dist/actions/create-or-update-company.d.mts +3 -11
- package/dist/actions/create-or-update-company.d.mts.map +1 -1
- package/dist/actions/create-or-update-company.mjs +1 -0
- package/dist/actions/create-or-update-company.mjs.map +1 -1
- package/dist/actions/create-or-update-user.cjs +1 -0
- package/dist/actions/create-or-update-user.cjs.map +1 -1
- package/dist/actions/create-or-update-user.d.cts +3 -15
- package/dist/actions/create-or-update-user.d.cts.map +1 -1
- package/dist/actions/create-or-update-user.d.mts +3 -15
- package/dist/actions/create-or-update-user.d.mts.map +1 -1
- package/dist/actions/create-or-update-user.mjs +1 -0
- package/dist/actions/create-or-update-user.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -0
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +3 -11
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -11
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -0
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-company-attributes.cjs +1 -0
- package/dist/actions/delete-company-attributes.cjs.map +1 -1
- package/dist/actions/delete-company-attributes.d.cts +3 -4
- package/dist/actions/delete-company-attributes.d.cts.map +1 -1
- package/dist/actions/delete-company-attributes.d.mts +3 -4
- package/dist/actions/delete-company-attributes.d.mts.map +1 -1
- package/dist/actions/delete-company-attributes.mjs +1 -0
- package/dist/actions/delete-company-attributes.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +1 -0
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +3 -3
- package/dist/actions/delete-company.d.cts.map +1 -1
- package/dist/actions/delete-company.d.mts +3 -3
- package/dist/actions/delete-company.d.mts.map +1 -1
- package/dist/actions/delete-company.mjs +1 -0
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-user-attributes.cjs +1 -0
- package/dist/actions/delete-user-attributes.cjs.map +1 -1
- package/dist/actions/delete-user-attributes.d.cts +3 -9
- package/dist/actions/delete-user-attributes.d.cts.map +1 -1
- package/dist/actions/delete-user-attributes.d.mts +3 -9
- package/dist/actions/delete-user-attributes.d.mts.map +1 -1
- package/dist/actions/delete-user-attributes.mjs +1 -0
- package/dist/actions/delete-user-attributes.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -4
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -4
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-my-workspace.cjs +1 -0
- package/dist/actions/get-my-workspace.cjs.map +1 -1
- package/dist/actions/get-my-workspace.d.cts +3 -1
- package/dist/actions/get-my-workspace.d.cts.map +1 -1
- package/dist/actions/get-my-workspace.d.mts +3 -1
- package/dist/actions/get-my-workspace.d.mts.map +1 -1
- package/dist/actions/get-my-workspace.mjs +1 -0
- package/dist/actions/get-my-workspace.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +1 -0
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +3 -34
- package/dist/actions/list-companies.d.cts.map +1 -1
- package/dist/actions/list-companies.d.mts +3 -34
- package/dist/actions/list-companies.d.mts.map +1 -1
- package/dist/actions/list-companies.mjs +1 -0
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-conversations.cjs +1 -0
- package/dist/actions/list-conversations.cjs.map +1 -1
- package/dist/actions/list-conversations.d.cts +3 -5
- package/dist/actions/list-conversations.d.cts.map +1 -1
- package/dist/actions/list-conversations.d.mts +3 -5
- package/dist/actions/list-conversations.d.mts.map +1 -1
- package/dist/actions/list-conversations.mjs +1 -0
- package/dist/actions/list-conversations.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +1 -0
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +3 -3
- package/dist/actions/list-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-custom-fields.d.mts +3 -3
- package/dist/actions/list-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-custom-fields.mjs +1 -0
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-sources.cjs +1 -0
- package/dist/actions/list-sources.cjs.map +1 -1
- package/dist/actions/list-sources.d.cts +3 -1
- package/dist/actions/list-sources.d.cts.map +1 -1
- package/dist/actions/list-sources.d.mts +3 -1
- package/dist/actions/list-sources.d.mts.map +1 -1
- package/dist/actions/list-sources.mjs +1 -0
- package/dist/actions/list-sources.mjs.map +1 -1
- package/dist/actions/list-surveys.cjs +1 -0
- package/dist/actions/list-surveys.cjs.map +1 -1
- package/dist/actions/list-surveys.d.cts +3 -1
- package/dist/actions/list-surveys.d.cts.map +1 -1
- package/dist/actions/list-surveys.d.mts +3 -1
- package/dist/actions/list-surveys.d.mts.map +1 -1
- package/dist/actions/list-surveys.mjs +1 -0
- package/dist/actions/list-surveys.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -35
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -35
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/update-company.cjs +1 -0
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +3 -5
- package/dist/actions/update-company.d.cts.map +1 -1
- package/dist/actions/update-company.d.mts +3 -5
- package/dist/actions/update-company.d.mts.map +1 -1
- package/dist/actions/update-company.mjs +1 -0
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -0
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +3 -15
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -15
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -0
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { specific } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-my-workspace.d.ts
|
|
@@ -10,7 +12,7 @@ declare const SpecificGetMyWorkspaceOutput: z.ZodObject<{
|
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const specificGetMyWorkspace:
|
|
15
|
+
declare const specificGetMyWorkspace: AppAction<typeof SpecificGetMyWorkspaceInput, typeof SpecificGetMyWorkspaceOutput, typeof specific.credential>;
|
|
14
16
|
//#endregion
|
|
15
17
|
export { specificGetMyWorkspace };
|
|
16
18
|
//# sourceMappingURL=get-my-workspace.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-my-workspace.d.mts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-my-workspace.d.mts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-my-workspace.mjs","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificGetMyWorkspaceInput = z.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\").nullable(),\n name: z.string().describe(\"Display name of the workspace\").nullable(),\n}).passthrough().describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).passthrough().describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).passthrough().describe(\"Response model for the myWorkspace GraphQL query.\");\n\nexport const specificGetMyWorkspace = action(\"SPECIFIC_GET_MY_WORKSPACE\", {\n slug: \"specific-get-my-workspace\",\n name: \"Get My Workspace\",\n description: \"Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.\",\n input: SpecificGetMyWorkspaceInput,\n output: SpecificGetMyWorkspaceOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-my-workspace.mjs","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificGetMyWorkspaceInput = z.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\").nullable(),\n name: z.string().describe(\"Display name of the workspace\").nullable(),\n}).passthrough().describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).passthrough().describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).passthrough().describe(\"Response model for the myWorkspace GraphQL query.\");\n\nexport const specificGetMyWorkspace: AppAction<\n typeof SpecificGetMyWorkspaceInput,\n typeof SpecificGetMyWorkspaceOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_GET_MY_WORKSPACE\", {\n slug: \"specific-get-my-workspace\",\n name: \"Get My Workspace\",\n description: \"Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.\",\n input: SpecificGetMyWorkspaceInput,\n output: SpecificGetMyWorkspaceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACnM,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,kDAAkD,EAAE,OAAO,EAC/D,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAK1E,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb0C,EAAE,OAAO,EACnD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-companies.cjs","names":["z","action"],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListCompaniesInput = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n name: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n}).describe(\"Filter for company fields.\").optional(),\n}).describe(\"Request model for listing companies from Specific platform.\");\nconst SpecificListCompanies_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company object from Specific platform.\");\nexport const SpecificListCompaniesOutput = z.object({\n companies: z.array(SpecificListCompanies_CompanySchema).describe(\"List of companies from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing companies.\");\n\nexport const specificListCompanies = action(\"SPECIFIC_LIST_COMPANIES\", {\n slug: \"specific-list-companies\",\n name: \"List Companies\",\n description: \"Tool to query company records from the Specific platform via GraphQL. Use when you need to retrieve company information, optionally filtering by ID or name.\",\n input: SpecificListCompaniesInput,\n output: SpecificListCompaniesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-companies.cjs","names":["z","action"],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListCompaniesInput = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n name: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n}).describe(\"Filter for company fields.\").optional(),\n}).describe(\"Request model for listing companies from Specific platform.\");\nconst SpecificListCompanies_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company object from Specific platform.\");\nexport const SpecificListCompaniesOutput = z.object({\n companies: z.array(SpecificListCompanies_CompanySchema).describe(\"List of companies from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing companies.\");\n\nexport const specificListCompanies: AppAction<\n typeof SpecificListCompaniesInput,\n typeof SpecificListCompaniesOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_COMPANIES\", {\n slug: \"specific-list-companies\",\n name: \"List Companies\",\n description: \"Tool to query company records from the Specific platform via GraphQL. Use when you need to retrieve company information, optionally filtering by ID or name.\",\n input: SpecificListCompaniesInput,\n output: SpecificListCompaniesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,OAAOA,IAAAA,EAAE,OAAO;CAChB,IAAIA,IAAAA,EAAE,OAAO;EACb,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC7D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACtF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC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AC,SAAS,wCAAwC;AAClE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,+CAA+C,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { specific } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-companies.d.ts
|
|
@@ -43,40 +45,7 @@ declare const SpecificListCompaniesOutput: z.ZodObject<{
|
|
|
43
45
|
usersCount: z.ZodNullable<z.ZodNumber>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const specificListCompanies:
|
|
47
|
-
where?: {
|
|
48
|
-
id?: {
|
|
49
|
-
gt?: string | undefined;
|
|
50
|
-
in?: string[] | undefined;
|
|
51
|
-
is?: string | undefined;
|
|
52
|
-
lt?: string | undefined;
|
|
53
|
-
gte?: string | undefined;
|
|
54
|
-
lte?: string | undefined;
|
|
55
|
-
not?: string | undefined;
|
|
56
|
-
isNot?: string | undefined;
|
|
57
|
-
notIn?: string[] | undefined;
|
|
58
|
-
equals?: string | undefined;
|
|
59
|
-
contains?: string | undefined;
|
|
60
|
-
endsWith?: string | undefined;
|
|
61
|
-
startsWith?: string | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
name?: {
|
|
64
|
-
gt?: string | undefined;
|
|
65
|
-
in?: string[] | undefined;
|
|
66
|
-
is?: string | undefined;
|
|
67
|
-
lt?: string | undefined;
|
|
68
|
-
gte?: string | undefined;
|
|
69
|
-
lte?: string | undefined;
|
|
70
|
-
not?: string | undefined;
|
|
71
|
-
isNot?: string | undefined;
|
|
72
|
-
notIn?: string[] | undefined;
|
|
73
|
-
equals?: string | undefined;
|
|
74
|
-
contains?: string | undefined;
|
|
75
|
-
endsWith?: string | undefined;
|
|
76
|
-
startsWith?: string | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
} | undefined;
|
|
79
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const specificListCompanies: AppAction<typeof SpecificListCompaniesInput, typeof SpecificListCompaniesOutput, typeof specific.credential>;
|
|
80
49
|
//#endregion
|
|
81
50
|
export { specificListCompanies };
|
|
82
51
|
//# sourceMappingURL=list-companies.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-companies.d.cts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-companies.d.cts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { specific } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-companies.d.ts
|
|
@@ -43,40 +45,7 @@ declare const SpecificListCompaniesOutput: z.ZodObject<{
|
|
|
43
45
|
usersCount: z.ZodNullable<z.ZodNumber>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const specificListCompanies:
|
|
47
|
-
where?: {
|
|
48
|
-
id?: {
|
|
49
|
-
gt?: string | undefined;
|
|
50
|
-
in?: string[] | undefined;
|
|
51
|
-
is?: string | undefined;
|
|
52
|
-
lt?: string | undefined;
|
|
53
|
-
gte?: string | undefined;
|
|
54
|
-
lte?: string | undefined;
|
|
55
|
-
not?: string | undefined;
|
|
56
|
-
isNot?: string | undefined;
|
|
57
|
-
notIn?: string[] | undefined;
|
|
58
|
-
equals?: string | undefined;
|
|
59
|
-
contains?: string | undefined;
|
|
60
|
-
endsWith?: string | undefined;
|
|
61
|
-
startsWith?: string | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
name?: {
|
|
64
|
-
gt?: string | undefined;
|
|
65
|
-
in?: string[] | undefined;
|
|
66
|
-
is?: string | undefined;
|
|
67
|
-
lt?: string | undefined;
|
|
68
|
-
gte?: string | undefined;
|
|
69
|
-
lte?: string | undefined;
|
|
70
|
-
not?: string | undefined;
|
|
71
|
-
isNot?: string | undefined;
|
|
72
|
-
notIn?: string[] | undefined;
|
|
73
|
-
equals?: string | undefined;
|
|
74
|
-
contains?: string | undefined;
|
|
75
|
-
endsWith?: string | undefined;
|
|
76
|
-
startsWith?: string | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
} | undefined;
|
|
79
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const specificListCompanies: AppAction<typeof SpecificListCompaniesInput, typeof SpecificListCompaniesOutput, typeof specific.credential>;
|
|
80
49
|
//#endregion
|
|
81
50
|
export { specificListCompanies };
|
|
82
51
|
//# sourceMappingURL=list-companies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-companies.d.mts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-companies.d.mts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-companies.mjs","names":[],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListCompaniesInput = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n name: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n}).describe(\"Filter for company fields.\").optional(),\n}).describe(\"Request model for listing companies from Specific platform.\");\nconst SpecificListCompanies_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company object from Specific platform.\");\nexport const SpecificListCompaniesOutput = z.object({\n companies: z.array(SpecificListCompanies_CompanySchema).describe(\"List of companies from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing companies.\");\n\nexport const specificListCompanies = action(\"SPECIFIC_LIST_COMPANIES\", {\n slug: \"specific-list-companies\",\n name: \"List Companies\",\n description: \"Tool to query company records from the Specific platform via GraphQL. Use when you need to retrieve company information, optionally filtering by ID or name.\",\n input: SpecificListCompaniesInput,\n output: SpecificListCompaniesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-companies.mjs","names":[],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListCompaniesInput = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n name: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n}).describe(\"Filter for company fields.\").optional(),\n}).describe(\"Request model for listing companies from Specific platform.\");\nconst SpecificListCompanies_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company object from Specific platform.\");\nexport const SpecificListCompaniesOutput = z.object({\n companies: z.array(SpecificListCompanies_CompanySchema).describe(\"List of companies from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing companies.\");\n\nexport const specificListCompanies: AppAction<\n typeof SpecificListCompaniesInput,\n typeof SpecificListCompaniesOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_COMPANIES\", {\n slug: \"specific-list-companies\",\n name: \"List Companies\",\n description: \"Tool to query company records from the Specific platform via GraphQL. Use when you need to retrieve company information, optionally filtering by ID or name.\",\n input: SpecificListCompaniesInput,\n output: SpecificListCompaniesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,EACjD,OAAO,EAAE,OAAO;CAChB,IAAI,EAAE,OAAO;EACb,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACtF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAA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AC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyC,EAAE,OAAO,EAClD,WAAW,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,+CAA+C,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversations.cjs","names":["z","action"],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListConversationsInput = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's name.\").nullable(),\n}).passthrough().describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema = z.object({\n id: z.string().describe(\"Contact's unique identifier.\").nullable(),\n name: z.string().describe(\"Contact's full name.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema = z.object({\n id: z.string().describe(\"User ID of the assignee.\").nullable(),\n email: z.string().describe(\"Email address of the assignee.\").nullable(),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).passthrough().describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n name: z.string().describe(\"Conversation name or title.\").nullable(),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\").nullable(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).passthrough().describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).passthrough().describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-conversations.cjs","names":["z","action"],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListConversationsInput = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's name.\").nullable(),\n}).passthrough().describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema = z.object({\n id: z.string().describe(\"Contact's unique identifier.\").nullable(),\n name: z.string().describe(\"Contact's full name.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema = z.object({\n id: z.string().describe(\"User ID of the assignee.\").nullable(),\n email: z.string().describe(\"Email address of the assignee.\").nullable(),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).passthrough().describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n name: z.string().describe(\"Conversation name or title.\").nullable(),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\").nullable(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).passthrough().describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).passthrough().describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations: AppAction<\n typeof SpecificListConversationsInput,\n typeof SpecificListConversationsOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,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,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;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { specific } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-conversations.d.ts
|
|
@@ -43,11 +45,7 @@ declare const SpecificListConversationsOutput: z.ZodObject<{
|
|
|
43
45
|
customFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const specificListConversations:
|
|
47
|
-
where?: {
|
|
48
|
-
sources: string[];
|
|
49
|
-
} | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const specificListConversations: AppAction<typeof SpecificListConversationsInput, typeof SpecificListConversationsOutput, typeof specific.credential>;
|
|
51
49
|
//#endregion
|
|
52
50
|
export { specificListConversations };
|
|
53
51
|
//# sourceMappingURL=list-conversations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversations.d.cts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-conversations.d.cts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAuC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { specific } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-conversations.d.ts
|
|
@@ -43,11 +45,7 @@ declare const SpecificListConversationsOutput: z.ZodObject<{
|
|
|
43
45
|
customFields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const specificListConversations:
|
|
47
|
-
where?: {
|
|
48
|
-
sources: string[];
|
|
49
|
-
} | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const specificListConversations: AppAction<typeof SpecificListConversationsInput, typeof SpecificListConversationsOutput, typeof specific.credential>;
|
|
51
49
|
//#endregion
|
|
52
50
|
export { specificListConversations };
|
|
53
51
|
//# sourceMappingURL=list-conversations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversations.d.mts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-conversations.d.mts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAuC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversations.mjs","names":[],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListConversationsInput = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's name.\").nullable(),\n}).passthrough().describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema = z.object({\n id: z.string().describe(\"Contact's unique identifier.\").nullable(),\n name: z.string().describe(\"Contact's full name.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema = z.object({\n id: z.string().describe(\"User ID of the assignee.\").nullable(),\n email: z.string().describe(\"Email address of the assignee.\").nullable(),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).passthrough().describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n name: z.string().describe(\"Conversation name or title.\").nullable(),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\").nullable(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).passthrough().describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).passthrough().describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-conversations.mjs","names":[],"sources":["../../src/actions/list-conversations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListConversationsInput = z.object({\n where: z.object({\n sources: z.array(z.string()).describe(\"List of source identifiers to filter conversations. Only conversations from these sources will be returned.\"),\n}).describe(\"Filter for conversations by source identifiers.\").optional(),\n}).describe(\"Request model for listing conversations from Specific platform.\");\nconst SpecificListConversations_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's name.\").nullable(),\n}).passthrough().describe(\"Source information associated with a conversation.\");\nconst SpecificListConversations_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).passthrough().describe(\"Company information associated with a conversation.\");\nconst SpecificListConversations_ContactSchema = z.object({\n id: z.string().describe(\"Contact's unique identifier.\").nullable(),\n name: z.string().describe(\"Contact's full name.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).passthrough().describe(\"Contact information associated with a conversation.\");\nconst SpecificListConversations_AssigneeSchema = z.object({\n id: z.string().describe(\"User ID of the assignee.\").nullable(),\n email: z.string().describe(\"Email address of the assignee.\").nullable(),\n fullName: z.string().describe(\"Full name of the assignee.\").nullable().optional(),\n}).passthrough().describe(\"Person assigned to the conversation.\");\nconst SpecificListConversations_ConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n name: z.string().describe(\"Conversation name or title.\").nullable(),\n source: SpecificListConversations_SourceSchema.nullable().optional(),\n company: SpecificListConversations_CompanySchema.nullable().optional(),\n contact: SpecificListConversations_ContactSchema.nullable().optional(),\n assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),\n plainText: z.string().describe(\"Conversation content in plain text format.\").nullable().optional(),\n sourceUrl: z.string().describe(\"Source URL where the conversation originated.\").nullable().optional(),\n insertedAt: z.string().describe(\"Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).\").nullable(),\n customFields: z.record(z.string(), z.unknown()).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).passthrough().describe(\"Conversation object from Specific platform.\");\nexport const SpecificListConversationsOutput = z.object({\n conversations: z.array(SpecificListConversations_ConversationSchema).describe(\"List of conversation records (survey responses) from the Specific platform. Returns maximum 20 most recent conversations.\"),\n}).passthrough().describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations: AppAction<\n typeof SpecificListConversationsInput,\n typeof SpecificListConversationsOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversation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MAAM,4CAA4C,CAAC,CAAC,SAAS,2HAA2H,EAC3M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListCustomFieldsInput = z.object({\n field_type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"Optional filter to retrieve only custom fields of a specific type. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes. If not provided, returns all custom fields across all types.\").optional(),\n}).describe(\"Request model for listing custom fields in the Specific platform.\");\nconst SpecificListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier of the custom field.\").nullable(),\n name: z.string().describe(\"The display name of the custom field.\").nullable(),\n type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"The type of the custom field indicating which entity it belongs to. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes.\").nullable(),\n}).passthrough().describe(\"Represents a single custom field definition.\");\nexport const SpecificListCustomFieldsOutput = z.object({\n attributes: z.array(SpecificListCustomFields_CustomFieldSchema).describe(\"List of custom field definitions (attributes).\"),\n}).passthrough().describe(\"Response model containing the list of custom fields from the GraphQL API.\");\n\nexport const specificListCustomFields = action(\"SPECIFIC_LIST_CUSTOM_FIELDS\", {\n slug: \"specific-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to query custom field definitions in the Specific platform. Use when you need to retrieve available custom fields that can be associated with companies, contacts, or conversations. Optionally filter by entity type.\",\n input: SpecificListCustomFieldsInput,\n output: SpecificListCustomFieldsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-custom-fields.cjs","names":["z","action"],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListCustomFieldsInput = z.object({\n field_type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"Optional filter to retrieve only custom fields of a specific type. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes. If not provided, returns all custom fields across all types.\").optional(),\n}).describe(\"Request model for listing custom fields in the Specific platform.\");\nconst SpecificListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier of the custom field.\").nullable(),\n name: z.string().describe(\"The display name of the custom field.\").nullable(),\n type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"The type of the custom field indicating which entity it belongs to. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes.\").nullable(),\n}).passthrough().describe(\"Represents a single custom field definition.\");\nexport const SpecificListCustomFieldsOutput = z.object({\n attributes: z.array(SpecificListCustomFields_CustomFieldSchema).describe(\"List of custom field definitions (attributes).\"),\n}).passthrough().describe(\"Response model containing the list of custom fields from the GraphQL API.\");\n\nexport const specificListCustomFields: AppAction<\n typeof SpecificListCustomFieldsInput,\n typeof SpecificListCustomFieldsOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_CUSTOM_FIELDS\", {\n slug: \"specific-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to query custom field definitions in the Specific platform. Use when you need to retrieve available custom fields that can be associated with companies, contacts, or conversations. Optionally filter by entity type.\",\n input: SpecificListCustomFieldsInput,\n output: SpecificListCustomFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,YAAYA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAS;AAAc,CAAC,CAAC,CAAC,SAAS,iPAAiP,CAAC,CAAC,SAAS,EAC7T,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;CAAc,CAAC,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;AAC3P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { specific } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-custom-fields.d.ts
|
|
@@ -19,9 +21,7 @@ declare const SpecificListCustomFieldsOutput: z.ZodObject<{
|
|
|
19
21
|
}>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const specificListCustomFields:
|
|
23
|
-
field_type?: "user" | "group" | "conversation" | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const specificListCustomFields: AppAction<typeof SpecificListCustomFieldsInput, typeof SpecificListCustomFieldsOutput, typeof specific.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { specificListCustomFields };
|
|
27
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":"
|
|
1
|
+
{"version":3,"file":"list-custom-fields.d.cts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { specific } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-custom-fields.d.ts
|
|
@@ -19,9 +21,7 @@ declare const SpecificListCustomFieldsOutput: z.ZodObject<{
|
|
|
19
21
|
}>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const specificListCustomFields:
|
|
23
|
-
field_type?: "user" | "group" | "conversation" | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const specificListCustomFields: AppAction<typeof SpecificListCustomFieldsInput, typeof SpecificListCustomFieldsOutput, typeof specific.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { specificListCustomFields };
|
|
27
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":"
|
|
1
|
+
{"version":3,"file":"list-custom-fields.d.mts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-fields.mjs","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListCustomFieldsInput = z.object({\n field_type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"Optional filter to retrieve only custom fields of a specific type. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes. If not provided, returns all custom fields across all types.\").optional(),\n}).describe(\"Request model for listing custom fields in the Specific platform.\");\nconst SpecificListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier of the custom field.\").nullable(),\n name: z.string().describe(\"The display name of the custom field.\").nullable(),\n type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"The type of the custom field indicating which entity it belongs to. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes.\").nullable(),\n}).passthrough().describe(\"Represents a single custom field definition.\");\nexport const SpecificListCustomFieldsOutput = z.object({\n attributes: z.array(SpecificListCustomFields_CustomFieldSchema).describe(\"List of custom field definitions (attributes).\"),\n}).passthrough().describe(\"Response model containing the list of custom fields from the GraphQL API.\");\n\nexport const specificListCustomFields = action(\"SPECIFIC_LIST_CUSTOM_FIELDS\", {\n slug: \"specific-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to query custom field definitions in the Specific platform. Use when you need to retrieve available custom fields that can be associated with companies, contacts, or conversations. Optionally filter by entity type.\",\n input: SpecificListCustomFieldsInput,\n output: SpecificListCustomFieldsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-custom-fields.mjs","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListCustomFieldsInput = z.object({\n field_type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"Optional filter to retrieve only custom fields of a specific type. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes. If not provided, returns all custom fields across all types.\").optional(),\n}).describe(\"Request model for listing custom fields in the Specific platform.\");\nconst SpecificListCustomFields_CustomFieldSchema = z.object({\n id: z.string().describe(\"The unique identifier of the custom field.\").nullable(),\n name: z.string().describe(\"The display name of the custom field.\").nullable(),\n type: z.enum([\"user\", \"group\", \"conversation\"]).describe(\"The type of the custom field indicating which entity it belongs to. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes.\").nullable(),\n}).passthrough().describe(\"Represents a single custom field definition.\");\nexport const SpecificListCustomFieldsOutput = z.object({\n attributes: z.array(SpecificListCustomFields_CustomFieldSchema).describe(\"List of custom field definitions (attributes).\"),\n}).passthrough().describe(\"Response model containing the list of custom fields from the GraphQL API.\");\n\nexport const specificListCustomFields: AppAction<\n typeof SpecificListCustomFieldsInput,\n typeof SpecificListCustomFieldsOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_CUSTOM_FIELDS\", {\n slug: \"specific-list-custom-fields\",\n name: \"List Custom Fields\",\n description: \"Tool to query custom field definitions in the Specific platform. Use when you need to retrieve available custom fields that can be associated with companies, contacts, or conversations. Optionally filter by entity type.\",\n input: SpecificListCustomFieldsInput,\n output: SpecificListCustomFieldsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,EACpD,YAAY,EAAE,KAAK;CAAC;CAAQ;CAAS;AAAc,CAAC,CAAC,CAAC,SAAS,iPAAiP,CAAC,CAAC,SAAS,EAC7T,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAS;CAAc,CAAC,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;AAC3P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,YAAY,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,EAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sources.cjs","names":["z","action"],"sources":["../../src/actions/list-sources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListSourcesInput = z.object({}).describe(\"Request model for listing sources from Specific platform.\\nNo parameters required as it returns all available sources.\");\nconst SpecificListSources_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's display name.\").nullable(),\n}).passthrough().describe(\"Source object from Specific platform.\");\nconst SpecificListSources_SourcesDataSchema = z.object({\n sources: z.array(SpecificListSources_SourceSchema).describe(\"List of source objects from the workspace.\"),\n}).passthrough().describe(\"Data wrapper containing the sources field.\");\nexport const SpecificListSourcesOutput = z.object({\n data: SpecificListSources_SourcesDataSchema.nullable(),\n}).passthrough().describe(\"Response model for the sources GraphQL query.\");\n\nexport const specificListSources = action(\"SPECIFIC_LIST_SOURCES\", {\n slug: \"specific-list-sources\",\n name: \"List Sources\",\n description: \"Tool to retrieve all data sources from the Specific platform. Use when you need to fetch available sources in the workspace.\",\n input: SpecificListSourcesInput,\n output: SpecificListSourcesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sources.cjs","names":["z","action"],"sources":["../../src/actions/list-sources.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListSourcesInput = z.object({}).describe(\"Request model for listing sources from Specific platform.\\nNo parameters required as it returns all available sources.\");\nconst SpecificListSources_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's display name.\").nullable(),\n}).passthrough().describe(\"Source object from Specific platform.\");\nconst SpecificListSources_SourcesDataSchema = z.object({\n sources: z.array(SpecificListSources_SourceSchema).describe(\"List of source objects from the workspace.\"),\n}).passthrough().describe(\"Data wrapper containing the sources field.\");\nexport const SpecificListSourcesOutput = z.object({\n data: SpecificListSources_SourcesDataSchema.nullable(),\n}).passthrough().describe(\"Response model for the sources GraphQL query.\");\n\nexport const specificListSources: AppAction<\n typeof SpecificListSourcesInput,\n typeof SpecificListSourcesOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_SOURCES\", {\n slug: \"specific-list-sources\",\n name: \"List Sources\",\n description: \"Tool to retrieve all data sources from the Specific platform. Use when you need to fetch available sources in the workspace.\",\n input: SpecificListSourcesInput,\n output: SpecificListSourcesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH;AACtL,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,4CAA4C,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { specific } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-sources.d.ts
|
|
@@ -10,7 +12,7 @@ declare const SpecificListSourcesOutput: z.ZodObject<{
|
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const specificListSources:
|
|
15
|
+
declare const specificListSources: AppAction<typeof SpecificListSourcesInput, typeof SpecificListSourcesOutput, typeof specific.credential>;
|
|
14
16
|
//#endregion
|
|
15
17
|
export { specificListSources };
|
|
16
18
|
//# sourceMappingURL=list-sources.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sources.d.cts","names":[],"sources":["../../src/actions/list-sources.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sources.d.cts","names":[],"sources":["../../src/actions/list-sources.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { specific } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-sources.d.ts
|
|
@@ -10,7 +12,7 @@ declare const SpecificListSourcesOutput: z.ZodObject<{
|
|
|
10
12
|
}, z.core.$loose>>;
|
|
11
13
|
}, z.core.$loose>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const specificListSources:
|
|
15
|
+
declare const specificListSources: AppAction<typeof SpecificListSourcesInput, typeof SpecificListSourcesOutput, typeof specific.credential>;
|
|
14
16
|
//#endregion
|
|
15
17
|
export { specificListSources };
|
|
16
18
|
//# sourceMappingURL=list-sources.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sources.d.mts","names":[],"sources":["../../src/actions/list-sources.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sources.d.mts","names":[],"sources":["../../src/actions/list-sources.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-sources.mjs","names":[],"sources":["../../src/actions/list-sources.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListSourcesInput = z.object({}).describe(\"Request model for listing sources from Specific platform.\\nNo parameters required as it returns all available sources.\");\nconst SpecificListSources_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's display name.\").nullable(),\n}).passthrough().describe(\"Source object from Specific platform.\");\nconst SpecificListSources_SourcesDataSchema = z.object({\n sources: z.array(SpecificListSources_SourceSchema).describe(\"List of source objects from the workspace.\"),\n}).passthrough().describe(\"Data wrapper containing the sources field.\");\nexport const SpecificListSourcesOutput = z.object({\n data: SpecificListSources_SourcesDataSchema.nullable(),\n}).passthrough().describe(\"Response model for the sources GraphQL query.\");\n\nexport const specificListSources = action(\"SPECIFIC_LIST_SOURCES\", {\n slug: \"specific-list-sources\",\n name: \"List Sources\",\n description: \"Tool to retrieve all data sources from the Specific platform. Use when you need to fetch available sources in the workspace.\",\n input: SpecificListSourcesInput,\n output: SpecificListSourcesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-sources.mjs","names":[],"sources":["../../src/actions/list-sources.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListSourcesInput = z.object({}).describe(\"Request model for listing sources from Specific platform.\\nNo parameters required as it returns all available sources.\");\nconst SpecificListSources_SourceSchema = z.object({\n id: z.string().describe(\"Source's unique identifier.\").nullable(),\n name: z.string().describe(\"Source's display name.\").nullable(),\n}).passthrough().describe(\"Source object from Specific platform.\");\nconst SpecificListSources_SourcesDataSchema = z.object({\n sources: z.array(SpecificListSources_SourceSchema).describe(\"List of source objects from the workspace.\"),\n}).passthrough().describe(\"Data wrapper containing the sources field.\");\nexport const SpecificListSourcesOutput = z.object({\n data: SpecificListSources_SourcesDataSchema.nullable(),\n}).passthrough().describe(\"Response model for the sources GraphQL query.\");\n\nexport const specificListSources: AppAction<\n typeof SpecificListSourcesInput,\n typeof SpecificListSourcesOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_SOURCES\", {\n slug: \"specific-list-sources\",\n name: \"List Sources\",\n description: \"Tool to retrieve all data sources from the Specific platform. Use when you need to fetch available sources in the workspace.\",\n input: SpecificListSourcesInput,\n output: SpecificListSourcesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wHAAwH;AACtL,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,wCAAwC,EAAE,OAAO,EACrD,SAAS,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,4CAA4C,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,MAAM,sCAAsC,SAAS,EACvD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-surveys.cjs","names":["z","action"],"sources":["../../src/actions/list-surveys.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListSurveysInput = z.object({}).describe(\"Request model for listing surveys from Specific platform.\");\nconst SpecificListSurveys_SurveyMessageSchema = z.object({\n id: z.string().describe(\"Unique identifier for the survey message.\").nullable(),\n text: z.string().describe(\"The textual content of the message.\").nullable(),\n answer: z.string().describe(\"The response provided to a survey question.\").nullable(),\n createdAt: z.string().describe(\"Timestamp indicating when the message was created in ISO 8601 format.\").nullable(),\n questionId: z.string().describe(\"Reference identifier linking to the associated survey question.\").nullable(),\n}).passthrough().describe(\"Individual message within a survey conversation.\");\nconst SpecificListSurveys_SurveyConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n chat: z.array(SpecificListSurveys_SurveyMessageSchema).describe(\"Array of survey messages in the conversation.\"),\n createdAt: z.string().describe(\"Timestamp when the conversation was created in ISO 8601 format.\").nullable(),\n finishedAt: z.string().describe(\"Timestamp when the conversation ended in ISO 8601 format.\").nullable().optional(),\n isCompleted: z.boolean().describe(\"Flag indicating completion status of the conversation.\").nullable(),\n}).passthrough().describe(\"Conversation associated with a survey.\");\nconst SpecificListSurveys_SurveySchema = z.object({\n id: z.string().describe(\"The unique identifier of the survey.\").nullable(),\n name: z.string().describe(\"The name of the survey.\").nullable(),\n tone: z.string().describe(\"The tone of the survey.\").nullable(),\n context: z.string().describe(\"The context of the survey.\").nullable(),\n conversations: z.array(SpecificListSurveys_SurveyConversationSchema).describe(\"Array of conversations associated with the survey.\"),\n}).passthrough().describe(\"Survey object with complete details.\");\nexport const SpecificListSurveysOutput = z.object({\n surveys: z.array(SpecificListSurveys_SurveySchema).describe(\"List of survey objects from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing surveys.\");\n\nexport const specificListSurveys = action(\"SPECIFIC_LIST_SURVEYS\", {\n slug: \"specific-list-surveys\",\n name: \"List Surveys\",\n description: \"Tool to retrieve multiple survey records from the Specific platform via GraphQL. Use when you need to fetch all available surveys with their metadata, including names, contexts, tones, and associated conversation data.\",\n input: SpecificListSurveysInput,\n output: SpecificListSurveysOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-surveys.cjs","names":["z","action"],"sources":["../../src/actions/list-surveys.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { specific } from \"../app\";\n\nexport const SpecificListSurveysInput = z.object({}).describe(\"Request model for listing surveys from Specific platform.\");\nconst SpecificListSurveys_SurveyMessageSchema = z.object({\n id: z.string().describe(\"Unique identifier for the survey message.\").nullable(),\n text: z.string().describe(\"The textual content of the message.\").nullable(),\n answer: z.string().describe(\"The response provided to a survey question.\").nullable(),\n createdAt: z.string().describe(\"Timestamp indicating when the message was created in ISO 8601 format.\").nullable(),\n questionId: z.string().describe(\"Reference identifier linking to the associated survey question.\").nullable(),\n}).passthrough().describe(\"Individual message within a survey conversation.\");\nconst SpecificListSurveys_SurveyConversationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the conversation.\").nullable(),\n chat: z.array(SpecificListSurveys_SurveyMessageSchema).describe(\"Array of survey messages in the conversation.\"),\n createdAt: z.string().describe(\"Timestamp when the conversation was created in ISO 8601 format.\").nullable(),\n finishedAt: z.string().describe(\"Timestamp when the conversation ended in ISO 8601 format.\").nullable().optional(),\n isCompleted: z.boolean().describe(\"Flag indicating completion status of the conversation.\").nullable(),\n}).passthrough().describe(\"Conversation associated with a survey.\");\nconst SpecificListSurveys_SurveySchema = z.object({\n id: z.string().describe(\"The unique identifier of the survey.\").nullable(),\n name: z.string().describe(\"The name of the survey.\").nullable(),\n tone: z.string().describe(\"The tone of the survey.\").nullable(),\n context: z.string().describe(\"The context of the survey.\").nullable(),\n conversations: z.array(SpecificListSurveys_SurveyConversationSchema).describe(\"Array of conversations associated with the survey.\"),\n}).passthrough().describe(\"Survey object with complete details.\");\nexport const SpecificListSurveysOutput = z.object({\n surveys: z.array(SpecificListSurveys_SurveySchema).describe(\"List of survey objects from the Specific platform.\"),\n}).passthrough().describe(\"Response model for listing surveys.\");\n\nexport const specificListSurveys: AppAction<\n typeof SpecificListSurveysInput,\n typeof SpecificListSurveysOutput,\n typeof specific.credential\n> = action(\"SPECIFIC_LIST_SURVEYS\", {\n slug: \"specific-list-surveys\",\n name: \"List Surveys\",\n description: \"Tool to retrieve multiple survey records from the Specific platform via GraphQL. Use when you need to fetch all available surveys with their metadata, including names, contexts, tones, and associated conversation data.\",\n input: SpecificListSurveysInput,\n output: SpecificListSurveysOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,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AAC,CAAC,SAAS;CACpE,eAAeA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,oDAAoD;AACpI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,oDAAoD,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { specific } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-surveys.d.ts
|
|
@@ -23,7 +25,7 @@ declare const SpecificListSurveysOutput: z.ZodObject<{
|
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const specificListSurveys:
|
|
28
|
+
declare const specificListSurveys: AppAction<typeof SpecificListSurveysInput, typeof SpecificListSurveysOutput, typeof specific.credential>;
|
|
27
29
|
//#endregion
|
|
28
30
|
export { specificListSurveys };
|
|
29
31
|
//# sourceMappingURL=list-surveys.d.cts.map
|