@keystrokehq/specific 0.1.0 → 0.1.2
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.map +1 -1
- package/dist/actions/create-company.d.cts +18 -3
- package/dist/actions/create-company.d.cts.map +1 -1
- package/dist/actions/create-company.d.mts +18 -3
- package/dist/actions/create-company.d.mts.map +1 -1
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-conversation.cjs +5 -5
- package/dist/actions/create-conversation.cjs.map +1 -1
- package/dist/actions/create-conversation.d.cts +87 -3
- package/dist/actions/create-conversation.d.cts.map +1 -1
- package/dist/actions/create-conversation.d.mts +87 -3
- package/dist/actions/create-conversation.d.mts.map +1 -1
- package/dist/actions/create-conversation.mjs +5 -5
- package/dist/actions/create-conversation.mjs.map +1 -1
- package/dist/actions/create-or-update-company.cjs +4 -4
- package/dist/actions/create-or-update-company.cjs.map +1 -1
- package/dist/actions/create-or-update-company.d.cts +32 -3
- package/dist/actions/create-or-update-company.d.cts.map +1 -1
- package/dist/actions/create-or-update-company.d.mts +32 -3
- package/dist/actions/create-or-update-company.d.mts.map +1 -1
- package/dist/actions/create-or-update-company.mjs +4 -4
- package/dist/actions/create-or-update-company.mjs.map +1 -1
- package/dist/actions/create-or-update-user.cjs +4 -4
- package/dist/actions/create-or-update-user.cjs.map +1 -1
- package/dist/actions/create-or-update-user.d.cts +44 -3
- package/dist/actions/create-or-update-user.d.cts.map +1 -1
- package/dist/actions/create-or-update-user.d.mts +44 -3
- package/dist/actions/create-or-update-user.d.mts.map +1 -1
- package/dist/actions/create-or-update-user.mjs +4 -4
- package/dist/actions/create-or-update-user.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -1
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +35 -3
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +35 -3
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -1
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-company-attributes.cjs +4 -4
- package/dist/actions/delete-company-attributes.cjs.map +1 -1
- package/dist/actions/delete-company-attributes.d.cts +14 -3
- package/dist/actions/delete-company-attributes.d.cts.map +1 -1
- package/dist/actions/delete-company-attributes.d.mts +14 -3
- package/dist/actions/delete-company-attributes.d.mts.map +1 -1
- package/dist/actions/delete-company-attributes.mjs +4 -4
- package/dist/actions/delete-company-attributes.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +4 -4
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +12 -3
- package/dist/actions/delete-company.d.cts.map +1 -1
- package/dist/actions/delete-company.d.mts +12 -3
- package/dist/actions/delete-company.d.mts.map +1 -1
- package/dist/actions/delete-company.mjs +4 -4
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-user-attributes.cjs +3 -3
- package/dist/actions/delete-user-attributes.cjs.map +1 -1
- package/dist/actions/delete-user-attributes.d.cts +32 -3
- package/dist/actions/delete-user-attributes.d.cts.map +1 -1
- package/dist/actions/delete-user-attributes.d.mts +32 -3
- package/dist/actions/delete-user-attributes.d.mts.map +1 -1
- package/dist/actions/delete-user-attributes.mjs +3 -3
- package/dist/actions/delete-user-attributes.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +3 -3
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +18 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +18 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +3 -3
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-my-workspace.cjs +2 -2
- package/dist/actions/get-my-workspace.cjs.map +1 -1
- package/dist/actions/get-my-workspace.d.cts +10 -3
- package/dist/actions/get-my-workspace.d.cts.map +1 -1
- package/dist/actions/get-my-workspace.d.mts +10 -3
- package/dist/actions/get-my-workspace.d.mts.map +1 -1
- package/dist/actions/get-my-workspace.mjs +2 -2
- package/dist/actions/get-my-workspace.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +4 -4
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +76 -3
- package/dist/actions/list-companies.d.cts.map +1 -1
- package/dist/actions/list-companies.d.mts +76 -3
- package/dist/actions/list-companies.d.mts.map +1 -1
- package/dist/actions/list-companies.mjs +4 -4
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-conversations.cjs +14 -14
- package/dist/actions/list-conversations.cjs.map +1 -1
- package/dist/actions/list-conversations.d.cts +47 -3
- package/dist/actions/list-conversations.d.cts.map +1 -1
- package/dist/actions/list-conversations.d.mts +47 -3
- package/dist/actions/list-conversations.d.mts.map +1 -1
- package/dist/actions/list-conversations.mjs +14 -14
- package/dist/actions/list-conversations.mjs.map +1 -1
- package/dist/actions/list-custom-fields.cjs +3 -3
- package/dist/actions/list-custom-fields.cjs.map +1 -1
- package/dist/actions/list-custom-fields.d.cts +21 -3
- package/dist/actions/list-custom-fields.d.cts.map +1 -1
- package/dist/actions/list-custom-fields.d.mts +21 -3
- package/dist/actions/list-custom-fields.d.mts.map +1 -1
- package/dist/actions/list-custom-fields.mjs +3 -3
- package/dist/actions/list-custom-fields.mjs.map +1 -1
- package/dist/actions/list-sources.cjs +2 -2
- package/dist/actions/list-sources.cjs.map +1 -1
- package/dist/actions/list-sources.d.cts +10 -3
- package/dist/actions/list-sources.d.cts.map +1 -1
- package/dist/actions/list-sources.d.mts +10 -3
- package/dist/actions/list-sources.d.mts.map +1 -1
- package/dist/actions/list-sources.mjs +2 -2
- package/dist/actions/list-sources.mjs.map +1 -1
- package/dist/actions/list-surveys.cjs +12 -12
- package/dist/actions/list-surveys.cjs.map +1 -1
- package/dist/actions/list-surveys.d.cts +23 -3
- package/dist/actions/list-surveys.d.cts.map +1 -1
- package/dist/actions/list-surveys.d.mts +23 -3
- package/dist/actions/list-surveys.d.mts.map +1 -1
- package/dist/actions/list-surveys.mjs +12 -12
- package/dist/actions/list-surveys.mjs.map +1 -1
- package/dist/actions/list-users.cjs +7 -7
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +84 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +84 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +7 -7
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/update-company.cjs +4 -4
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +18 -3
- package/dist/actions/update-company.d.cts.map +1 -1
- package/dist/actions/update-company.d.mts +18 -3
- package/dist/actions/update-company.d.mts.map +1 -1
- package/dist/actions/update-company.mjs +4 -4
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-user.cjs +4 -4
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +44 -3
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +44 -3
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +4 -4
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,82 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-companies.d.ts
|
|
4
|
-
declare const SpecificListCompaniesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpecificListCompaniesInput: z.ZodObject<{
|
|
5
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
8
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
is: z.ZodOptional<z.ZodString>;
|
|
10
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
11
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
12
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
13
|
+
not: z.ZodOptional<z.ZodString>;
|
|
14
|
+
isNot: z.ZodOptional<z.ZodString>;
|
|
15
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
17
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
18
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
19
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
name: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
23
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
+
is: z.ZodOptional<z.ZodString>;
|
|
25
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
26
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
27
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
28
|
+
not: z.ZodOptional<z.ZodString>;
|
|
29
|
+
isNot: z.ZodOptional<z.ZodString>;
|
|
30
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
32
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
33
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
34
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const SpecificListCompaniesOutput: z.ZodObject<{
|
|
39
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
40
|
+
id: z.ZodNullable<z.ZodString>;
|
|
41
|
+
name: z.ZodNullable<z.ZodString>;
|
|
42
|
+
visitorId: z.ZodNullable<z.ZodString>;
|
|
43
|
+
usersCount: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const specificListCompanies: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
80
|
//#endregion
|
|
8
81
|
export { specificListCompanies };
|
|
9
82
|
//# sourceMappingURL=list-companies.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-companies.d.cts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-companies.d.cts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -1,9 +1,82 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-companies.d.ts
|
|
4
|
-
declare const SpecificListCompaniesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpecificListCompaniesInput: z.ZodObject<{
|
|
5
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
id: z.ZodOptional<z.ZodObject<{
|
|
7
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
8
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
+
is: z.ZodOptional<z.ZodString>;
|
|
10
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
11
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
12
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
13
|
+
not: z.ZodOptional<z.ZodString>;
|
|
14
|
+
isNot: z.ZodOptional<z.ZodString>;
|
|
15
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
17
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
18
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
19
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
name: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
gt: z.ZodOptional<z.ZodString>;
|
|
23
|
+
in: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
+
is: z.ZodOptional<z.ZodString>;
|
|
25
|
+
lt: z.ZodOptional<z.ZodString>;
|
|
26
|
+
gte: z.ZodOptional<z.ZodString>;
|
|
27
|
+
lte: z.ZodOptional<z.ZodString>;
|
|
28
|
+
not: z.ZodOptional<z.ZodString>;
|
|
29
|
+
isNot: z.ZodOptional<z.ZodString>;
|
|
30
|
+
notIn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
equals: z.ZodOptional<z.ZodString>;
|
|
32
|
+
contains: z.ZodOptional<z.ZodString>;
|
|
33
|
+
endsWith: z.ZodOptional<z.ZodString>;
|
|
34
|
+
startsWith: z.ZodOptional<z.ZodString>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const SpecificListCompaniesOutput: z.ZodObject<{
|
|
39
|
+
companies: z.ZodArray<z.ZodObject<{
|
|
40
|
+
id: z.ZodNullable<z.ZodString>;
|
|
41
|
+
name: z.ZodNullable<z.ZodString>;
|
|
42
|
+
visitorId: z.ZodNullable<z.ZodString>;
|
|
43
|
+
usersCount: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const specificListCompanies: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
80
|
//#endregion
|
|
8
81
|
export { specificListCompanies };
|
|
9
82
|
//# sourceMappingURL=list-companies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-companies.d.mts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,0BAAA,
|
|
1
|
+
{"version":3,"file":"list-companies.d.mts","names":[],"sources":["../../src/actions/list-companies.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -34,10 +34,10 @@ const SpecificListCompaniesInput = z.object({ where: z.object({
|
|
|
34
34
|
}).describe("Filter for string fields supporting various operators.").optional()
|
|
35
35
|
}).describe("Filter for company fields.").optional() }).describe("Request model for listing companies from Specific platform.");
|
|
36
36
|
const SpecificListCompanies_CompanySchema = z.object({
|
|
37
|
-
id: z.string().describe("Company's unique identifier."),
|
|
38
|
-
name: z.string().describe("Company's name."),
|
|
39
|
-
visitorId: z.string().describe("Internal Specific visitor ID for the company."),
|
|
40
|
-
usersCount: z.number().int().describe("Number of users in the company.")
|
|
37
|
+
id: z.string().describe("Company's unique identifier.").nullable(),
|
|
38
|
+
name: z.string().describe("Company's name.").nullable(),
|
|
39
|
+
visitorId: z.string().describe("Internal Specific visitor ID for the company.").nullable(),
|
|
40
|
+
usersCount: z.number().int().describe("Number of users in the company.").nullable()
|
|
41
41
|
}).describe("Company object from Specific platform.");
|
|
42
42
|
const specificListCompanies = action("SPECIFIC_LIST_COMPANIES", {
|
|
43
43
|
slug: "specific-list-companies",
|
|
@@ -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
|
|
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}).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}).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":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO,EACjD,OAAO,EAAE,OAAO;CAChB,IAAI,EAAE,OAAO;EACb,I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D,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,WAAW,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,+CAA+C,EAClH,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
|
|
@@ -3,37 +3,37 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-conversations.ts
|
|
4
4
|
const SpecificListConversationsInput = zod.z.object({ where: zod.z.object({ sources: zod.z.array(zod.z.string()).describe("List of source identifiers to filter conversations. Only conversations from these sources will be returned.") }).describe("Filter for conversations by source identifiers.").optional() }).describe("Request model for listing conversations from Specific platform.");
|
|
5
5
|
const SpecificListConversations_SourceSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Source's unique identifier."),
|
|
7
|
-
name: zod.z.string().describe("Source's name.")
|
|
6
|
+
id: zod.z.string().describe("Source's unique identifier.").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Source's name.").nullable()
|
|
8
8
|
}).describe("Source information associated with a conversation.");
|
|
9
9
|
const SpecificListConversations_CompanySchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("Company's unique identifier."),
|
|
11
|
-
name: zod.z.string().describe("Company's name."),
|
|
12
|
-
visitorId: zod.z.string().describe("Internal Specific visitor ID for the company."),
|
|
13
|
-
usersCount: zod.z.number().int().describe("Number of users in the company.")
|
|
10
|
+
id: zod.z.string().describe("Company's unique identifier.").nullable(),
|
|
11
|
+
name: zod.z.string().describe("Company's name.").nullable(),
|
|
12
|
+
visitorId: zod.z.string().describe("Internal Specific visitor ID for the company.").nullable(),
|
|
13
|
+
usersCount: zod.z.number().int().describe("Number of users in the company.").nullable()
|
|
14
14
|
}).describe("Company information associated with a conversation.");
|
|
15
15
|
const SpecificListConversations_ContactSchema = zod.z.object({
|
|
16
|
-
id: zod.z.string().describe("Contact's unique identifier."),
|
|
17
|
-
name: zod.z.string().describe("Contact's full name."),
|
|
16
|
+
id: zod.z.string().describe("Contact's unique identifier.").nullable(),
|
|
17
|
+
name: zod.z.string().describe("Contact's full name.").nullable(),
|
|
18
18
|
email: zod.z.string().describe("Contact's email address.").nullable().optional(),
|
|
19
19
|
company: SpecificListConversations_CompanySchema.nullable().optional(),
|
|
20
|
-
visitorId: zod.z.string().describe("Internal Specific visitor ID.")
|
|
20
|
+
visitorId: zod.z.string().describe("Internal Specific visitor ID.").nullable()
|
|
21
21
|
}).describe("Contact information associated with a conversation.");
|
|
22
22
|
const SpecificListConversations_AssigneeSchema = zod.z.object({
|
|
23
|
-
id: zod.z.string().describe("User ID of the assignee."),
|
|
24
|
-
email: zod.z.string().describe("Email address of the assignee."),
|
|
23
|
+
id: zod.z.string().describe("User ID of the assignee.").nullable(),
|
|
24
|
+
email: zod.z.string().describe("Email address of the assignee.").nullable(),
|
|
25
25
|
fullName: zod.z.string().describe("Full name of the assignee.").nullable().optional()
|
|
26
26
|
}).describe("Person assigned to the conversation.");
|
|
27
27
|
const SpecificListConversations_ConversationSchema = zod.z.object({
|
|
28
|
-
id: zod.z.string().describe("Unique identifier for the conversation."),
|
|
29
|
-
name: zod.z.string().describe("Conversation name or title."),
|
|
28
|
+
id: zod.z.string().describe("Unique identifier for the conversation.").nullable(),
|
|
29
|
+
name: zod.z.string().describe("Conversation name or title.").nullable(),
|
|
30
30
|
source: SpecificListConversations_SourceSchema.nullable().optional(),
|
|
31
31
|
company: SpecificListConversations_CompanySchema.nullable().optional(),
|
|
32
32
|
contact: SpecificListConversations_ContactSchema.nullable().optional(),
|
|
33
33
|
assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),
|
|
34
34
|
plainText: zod.z.string().describe("Conversation content in plain text format.").nullable().optional(),
|
|
35
35
|
sourceUrl: zod.z.string().describe("Source URL where the conversation originated.").nullable().optional(),
|
|
36
|
-
insertedAt: zod.z.string().describe("Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ)."),
|
|
36
|
+
insertedAt: zod.z.string().describe("Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ).").nullable(),
|
|
37
37
|
customFields: zod.z.object({}).describe("Custom fields associated with the conversation as key-value pairs.")
|
|
38
38
|
}).describe("Conversation object from Specific platform.");
|
|
39
39
|
const SpecificListConversationsOutput = zod.z.object({ conversations: zod.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.");
|
|
@@ -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
|
|
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}).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.object({}).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).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}).describe(\"Response model for listing conversations.\");\n\nexport const specificListConversations = action(\"SPECIFIC_LIST_CONVERSATIONS\", {\n slug: \"specific-list-conversations\",\n name: \"List Conversations\",\n description: \"Tool to query conversation records (survey responses) from the Specific platform via GraphQL. Use when you need to retrieve customer feedback, survey responses, or conversation history. Returns up to 20 most recent conversations, optionally filtered by source identifiers.\",\n input: SpecificListConversationsInput,\n output: SpecificListConversationsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,OAAO,E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H,EAC3M,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,53 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-conversations.d.ts
|
|
4
|
-
declare const SpecificListConversationsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpecificListConversationsInput: z.ZodObject<{
|
|
5
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
sources: z.ZodArray<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SpecificListConversationsOutput: z.ZodObject<{
|
|
10
|
+
conversations: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodString>;
|
|
19
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20
|
+
visitorId: z.ZodNullable<z.ZodString>;
|
|
21
|
+
usersCount: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
contact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
|
+
id: z.ZodNullable<z.ZodString>;
|
|
25
|
+
name: z.ZodNullable<z.ZodString>;
|
|
26
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
|
+
id: z.ZodNullable<z.ZodString>;
|
|
29
|
+
name: z.ZodNullable<z.ZodString>;
|
|
30
|
+
visitorId: z.ZodNullable<z.ZodString>;
|
|
31
|
+
usersCount: z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
}, z.core.$strip>>>;
|
|
33
|
+
visitorId: z.ZodNullable<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>>>;
|
|
35
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
|
+
id: z.ZodNullable<z.ZodString>;
|
|
37
|
+
email: z.ZodNullable<z.ZodString>;
|
|
38
|
+
fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
}, z.core.$strip>>>;
|
|
40
|
+
plainText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
insertedAt: z.ZodNullable<z.ZodString>;
|
|
43
|
+
customFields: z.ZodObject<{}, z.core.$strip>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const specificListConversations: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
+
where?: {
|
|
48
|
+
sources: string[];
|
|
49
|
+
} | undefined;
|
|
50
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
51
|
//#endregion
|
|
8
52
|
export { specificListConversations };
|
|
9
53
|
//# sourceMappingURL=list-conversations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversations.d.cts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"list-conversations.d.cts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAuC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,53 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-conversations.d.ts
|
|
4
|
-
declare const SpecificListConversationsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpecificListConversationsInput: z.ZodObject<{
|
|
5
|
+
where: z.ZodOptional<z.ZodObject<{
|
|
6
|
+
sources: z.ZodArray<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const SpecificListConversationsOutput: z.ZodObject<{
|
|
10
|
+
conversations: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
+
id: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
18
|
+
id: z.ZodNullable<z.ZodString>;
|
|
19
|
+
name: z.ZodNullable<z.ZodString>;
|
|
20
|
+
visitorId: z.ZodNullable<z.ZodString>;
|
|
21
|
+
usersCount: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
contact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
24
|
+
id: z.ZodNullable<z.ZodString>;
|
|
25
|
+
name: z.ZodNullable<z.ZodString>;
|
|
26
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
|
+
id: z.ZodNullable<z.ZodString>;
|
|
29
|
+
name: z.ZodNullable<z.ZodString>;
|
|
30
|
+
visitorId: z.ZodNullable<z.ZodString>;
|
|
31
|
+
usersCount: z.ZodNullable<z.ZodNumber>;
|
|
32
|
+
}, z.core.$strip>>>;
|
|
33
|
+
visitorId: z.ZodNullable<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>>>;
|
|
35
|
+
assignee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
|
+
id: z.ZodNullable<z.ZodString>;
|
|
37
|
+
email: z.ZodNullable<z.ZodString>;
|
|
38
|
+
fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
}, z.core.$strip>>>;
|
|
40
|
+
plainText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
insertedAt: z.ZodNullable<z.ZodString>;
|
|
43
|
+
customFields: z.ZodObject<{}, z.core.$strip>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const specificListConversations: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
+
where?: {
|
|
48
|
+
sources: string[];
|
|
49
|
+
} | undefined;
|
|
50
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
51
|
//#endregion
|
|
8
52
|
export { specificListConversations };
|
|
9
53
|
//# sourceMappingURL=list-conversations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-conversations.d.mts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"list-conversations.d.mts","names":[],"sources":["../../src/actions/list-conversations.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAuC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -3,37 +3,37 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-conversations.ts
|
|
4
4
|
const SpecificListConversationsInput = z.object({ where: z.object({ sources: z.array(z.string()).describe("List of source identifiers to filter conversations. Only conversations from these sources will be returned.") }).describe("Filter for conversations by source identifiers.").optional() }).describe("Request model for listing conversations from Specific platform.");
|
|
5
5
|
const SpecificListConversations_SourceSchema = z.object({
|
|
6
|
-
id: z.string().describe("Source's unique identifier."),
|
|
7
|
-
name: z.string().describe("Source's name.")
|
|
6
|
+
id: z.string().describe("Source's unique identifier.").nullable(),
|
|
7
|
+
name: z.string().describe("Source's name.").nullable()
|
|
8
8
|
}).describe("Source information associated with a conversation.");
|
|
9
9
|
const SpecificListConversations_CompanySchema = z.object({
|
|
10
|
-
id: z.string().describe("Company's unique identifier."),
|
|
11
|
-
name: z.string().describe("Company's name."),
|
|
12
|
-
visitorId: z.string().describe("Internal Specific visitor ID for the company."),
|
|
13
|
-
usersCount: z.number().int().describe("Number of users in the company.")
|
|
10
|
+
id: z.string().describe("Company's unique identifier.").nullable(),
|
|
11
|
+
name: z.string().describe("Company's name.").nullable(),
|
|
12
|
+
visitorId: z.string().describe("Internal Specific visitor ID for the company.").nullable(),
|
|
13
|
+
usersCount: z.number().int().describe("Number of users in the company.").nullable()
|
|
14
14
|
}).describe("Company information associated with a conversation.");
|
|
15
15
|
const SpecificListConversations_ContactSchema = z.object({
|
|
16
|
-
id: z.string().describe("Contact's unique identifier."),
|
|
17
|
-
name: z.string().describe("Contact's full name."),
|
|
16
|
+
id: z.string().describe("Contact's unique identifier.").nullable(),
|
|
17
|
+
name: z.string().describe("Contact's full name.").nullable(),
|
|
18
18
|
email: z.string().describe("Contact's email address.").nullable().optional(),
|
|
19
19
|
company: SpecificListConversations_CompanySchema.nullable().optional(),
|
|
20
|
-
visitorId: z.string().describe("Internal Specific visitor ID.")
|
|
20
|
+
visitorId: z.string().describe("Internal Specific visitor ID.").nullable()
|
|
21
21
|
}).describe("Contact information associated with a conversation.");
|
|
22
22
|
const SpecificListConversations_AssigneeSchema = z.object({
|
|
23
|
-
id: z.string().describe("User ID of the assignee."),
|
|
24
|
-
email: z.string().describe("Email address of the assignee."),
|
|
23
|
+
id: z.string().describe("User ID of the assignee.").nullable(),
|
|
24
|
+
email: z.string().describe("Email address of the assignee.").nullable(),
|
|
25
25
|
fullName: z.string().describe("Full name of the assignee.").nullable().optional()
|
|
26
26
|
}).describe("Person assigned to the conversation.");
|
|
27
27
|
const SpecificListConversations_ConversationSchema = z.object({
|
|
28
|
-
id: z.string().describe("Unique identifier for the conversation."),
|
|
29
|
-
name: z.string().describe("Conversation name or title."),
|
|
28
|
+
id: z.string().describe("Unique identifier for the conversation.").nullable(),
|
|
29
|
+
name: z.string().describe("Conversation name or title.").nullable(),
|
|
30
30
|
source: SpecificListConversations_SourceSchema.nullable().optional(),
|
|
31
31
|
company: SpecificListConversations_CompanySchema.nullable().optional(),
|
|
32
32
|
contact: SpecificListConversations_ContactSchema.nullable().optional(),
|
|
33
33
|
assignee: SpecificListConversations_AssigneeSchema.nullable().optional(),
|
|
34
34
|
plainText: z.string().describe("Conversation content in plain text format.").nullable().optional(),
|
|
35
35
|
sourceUrl: z.string().describe("Source URL where the conversation originated.").nullable().optional(),
|
|
36
|
-
insertedAt: z.string().describe("Date and time when the conversation was inserted in ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ)."),
|
|
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
37
|
customFields: z.object({}).describe("Custom fields associated with the conversation as key-value pairs.")
|
|
38
38
|
}).describe("Conversation object from Specific platform.");
|
|
39
39
|
const specificListConversations = action("SPECIFIC_LIST_CONVERSATIONS", {
|
|
@@ -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
|
|
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.object({}).describe(\"Custom fields associated with the conversation as key-value pairs.\"),\n}).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}).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,SAAS,oDAAoD;AAChE,MAAM,0CAA0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AAQ,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACnE,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,SAAS,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACrE,UAAU,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC5I,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAC1G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,eAAe,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2HAA2H,EAC3M,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -7,13 +7,13 @@ const SpecificListCustomFieldsInput = zod.z.object({ field_type: zod.z.enum([
|
|
|
7
7
|
"conversation"
|
|
8
8
|
]).describe("Optional filter to retrieve only custom fields of a specific type. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes. If not provided, returns all custom fields across all types.").optional() }).describe("Request model for listing custom fields in the Specific platform.");
|
|
9
9
|
const SpecificListCustomFields_CustomFieldSchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("The unique identifier of the custom field."),
|
|
11
|
-
name: zod.z.string().describe("The display name of the custom field."),
|
|
10
|
+
id: zod.z.string().describe("The unique identifier of the custom field.").nullable(),
|
|
11
|
+
name: zod.z.string().describe("The display name of the custom field.").nullable(),
|
|
12
12
|
type: zod.z.enum([
|
|
13
13
|
"user",
|
|
14
14
|
"group",
|
|
15
15
|
"conversation"
|
|
16
|
-
]).describe("The type of the custom field indicating which entity it belongs to. 'user' for contact/user attributes, 'group' for company attributes, 'conversation' for conversation attributes.")
|
|
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
17
|
}).describe("Represents a single custom field definition.");
|
|
18
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.");
|
|
19
19
|
const specificListCustomFields = require_action.action("SPECIFIC_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
|
|
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;AAC1D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,YAAYA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gDAAgD,EAC3H,CAAC,CAAC,CAAC,SAAS,2EAA2E;AAEvF,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-custom-fields.d.ts
|
|
4
|
-
declare const SpecificListCustomFieldsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const SpecificListCustomFieldsInput: z.ZodObject<{
|
|
5
|
+
field_type: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
user: "user";
|
|
7
|
+
group: "group";
|
|
8
|
+
conversation: "conversation";
|
|
9
|
+
}>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const SpecificListCustomFieldsOutput: z.ZodObject<{
|
|
12
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodString>;
|
|
14
|
+
name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
type: z.ZodNullable<z.ZodEnum<{
|
|
16
|
+
user: "user";
|
|
17
|
+
group: "group";
|
|
18
|
+
conversation: "conversation";
|
|
19
|
+
}>>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const specificListCustomFields: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
field_type?: "user" | "group" | "conversation" | undefined;
|
|
24
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
25
|
//#endregion
|
|
8
26
|
export { specificListCustomFields };
|
|
9
27
|
//# sourceMappingURL=list-custom-fields.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-custom-fields.d.cts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"list-custom-fields.d.cts","names":[],"sources":["../../src/actions/list-custom-fields.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
|