@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.
Files changed (151) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-company.cjs.map +1 -1
  4. package/dist/actions/create-company.d.cts +18 -3
  5. package/dist/actions/create-company.d.cts.map +1 -1
  6. package/dist/actions/create-company.d.mts +18 -3
  7. package/dist/actions/create-company.d.mts.map +1 -1
  8. package/dist/actions/create-company.mjs.map +1 -1
  9. package/dist/actions/create-conversation.cjs +5 -5
  10. package/dist/actions/create-conversation.cjs.map +1 -1
  11. package/dist/actions/create-conversation.d.cts +87 -3
  12. package/dist/actions/create-conversation.d.cts.map +1 -1
  13. package/dist/actions/create-conversation.d.mts +87 -3
  14. package/dist/actions/create-conversation.d.mts.map +1 -1
  15. package/dist/actions/create-conversation.mjs +5 -5
  16. package/dist/actions/create-conversation.mjs.map +1 -1
  17. package/dist/actions/create-or-update-company.cjs +4 -4
  18. package/dist/actions/create-or-update-company.cjs.map +1 -1
  19. package/dist/actions/create-or-update-company.d.cts +32 -3
  20. package/dist/actions/create-or-update-company.d.cts.map +1 -1
  21. package/dist/actions/create-or-update-company.d.mts +32 -3
  22. package/dist/actions/create-or-update-company.d.mts.map +1 -1
  23. package/dist/actions/create-or-update-company.mjs +4 -4
  24. package/dist/actions/create-or-update-company.mjs.map +1 -1
  25. package/dist/actions/create-or-update-user.cjs +4 -4
  26. package/dist/actions/create-or-update-user.cjs.map +1 -1
  27. package/dist/actions/create-or-update-user.d.cts +44 -3
  28. package/dist/actions/create-or-update-user.d.cts.map +1 -1
  29. package/dist/actions/create-or-update-user.d.mts +44 -3
  30. package/dist/actions/create-or-update-user.d.mts.map +1 -1
  31. package/dist/actions/create-or-update-user.mjs +4 -4
  32. package/dist/actions/create-or-update-user.mjs.map +1 -1
  33. package/dist/actions/create-user.cjs +1 -1
  34. package/dist/actions/create-user.cjs.map +1 -1
  35. package/dist/actions/create-user.d.cts +35 -3
  36. package/dist/actions/create-user.d.cts.map +1 -1
  37. package/dist/actions/create-user.d.mts +35 -3
  38. package/dist/actions/create-user.d.mts.map +1 -1
  39. package/dist/actions/create-user.mjs +1 -1
  40. package/dist/actions/create-user.mjs.map +1 -1
  41. package/dist/actions/delete-company-attributes.cjs +4 -4
  42. package/dist/actions/delete-company-attributes.cjs.map +1 -1
  43. package/dist/actions/delete-company-attributes.d.cts +14 -3
  44. package/dist/actions/delete-company-attributes.d.cts.map +1 -1
  45. package/dist/actions/delete-company-attributes.d.mts +14 -3
  46. package/dist/actions/delete-company-attributes.d.mts.map +1 -1
  47. package/dist/actions/delete-company-attributes.mjs +4 -4
  48. package/dist/actions/delete-company-attributes.mjs.map +1 -1
  49. package/dist/actions/delete-company.cjs +4 -4
  50. package/dist/actions/delete-company.cjs.map +1 -1
  51. package/dist/actions/delete-company.d.cts +12 -3
  52. package/dist/actions/delete-company.d.cts.map +1 -1
  53. package/dist/actions/delete-company.d.mts +12 -3
  54. package/dist/actions/delete-company.d.mts.map +1 -1
  55. package/dist/actions/delete-company.mjs +4 -4
  56. package/dist/actions/delete-company.mjs.map +1 -1
  57. package/dist/actions/delete-user-attributes.cjs +3 -3
  58. package/dist/actions/delete-user-attributes.cjs.map +1 -1
  59. package/dist/actions/delete-user-attributes.d.cts +32 -3
  60. package/dist/actions/delete-user-attributes.d.cts.map +1 -1
  61. package/dist/actions/delete-user-attributes.d.mts +32 -3
  62. package/dist/actions/delete-user-attributes.d.mts.map +1 -1
  63. package/dist/actions/delete-user-attributes.mjs +3 -3
  64. package/dist/actions/delete-user-attributes.mjs.map +1 -1
  65. package/dist/actions/delete-user.cjs +3 -3
  66. package/dist/actions/delete-user.cjs.map +1 -1
  67. package/dist/actions/delete-user.d.cts +18 -3
  68. package/dist/actions/delete-user.d.cts.map +1 -1
  69. package/dist/actions/delete-user.d.mts +18 -3
  70. package/dist/actions/delete-user.d.mts.map +1 -1
  71. package/dist/actions/delete-user.mjs +3 -3
  72. package/dist/actions/delete-user.mjs.map +1 -1
  73. package/dist/actions/get-my-workspace.cjs +2 -2
  74. package/dist/actions/get-my-workspace.cjs.map +1 -1
  75. package/dist/actions/get-my-workspace.d.cts +10 -3
  76. package/dist/actions/get-my-workspace.d.cts.map +1 -1
  77. package/dist/actions/get-my-workspace.d.mts +10 -3
  78. package/dist/actions/get-my-workspace.d.mts.map +1 -1
  79. package/dist/actions/get-my-workspace.mjs +2 -2
  80. package/dist/actions/get-my-workspace.mjs.map +1 -1
  81. package/dist/actions/list-companies.cjs +4 -4
  82. package/dist/actions/list-companies.cjs.map +1 -1
  83. package/dist/actions/list-companies.d.cts +76 -3
  84. package/dist/actions/list-companies.d.cts.map +1 -1
  85. package/dist/actions/list-companies.d.mts +76 -3
  86. package/dist/actions/list-companies.d.mts.map +1 -1
  87. package/dist/actions/list-companies.mjs +4 -4
  88. package/dist/actions/list-companies.mjs.map +1 -1
  89. package/dist/actions/list-conversations.cjs +14 -14
  90. package/dist/actions/list-conversations.cjs.map +1 -1
  91. package/dist/actions/list-conversations.d.cts +47 -3
  92. package/dist/actions/list-conversations.d.cts.map +1 -1
  93. package/dist/actions/list-conversations.d.mts +47 -3
  94. package/dist/actions/list-conversations.d.mts.map +1 -1
  95. package/dist/actions/list-conversations.mjs +14 -14
  96. package/dist/actions/list-conversations.mjs.map +1 -1
  97. package/dist/actions/list-custom-fields.cjs +3 -3
  98. package/dist/actions/list-custom-fields.cjs.map +1 -1
  99. package/dist/actions/list-custom-fields.d.cts +21 -3
  100. package/dist/actions/list-custom-fields.d.cts.map +1 -1
  101. package/dist/actions/list-custom-fields.d.mts +21 -3
  102. package/dist/actions/list-custom-fields.d.mts.map +1 -1
  103. package/dist/actions/list-custom-fields.mjs +3 -3
  104. package/dist/actions/list-custom-fields.mjs.map +1 -1
  105. package/dist/actions/list-sources.cjs +2 -2
  106. package/dist/actions/list-sources.cjs.map +1 -1
  107. package/dist/actions/list-sources.d.cts +10 -3
  108. package/dist/actions/list-sources.d.cts.map +1 -1
  109. package/dist/actions/list-sources.d.mts +10 -3
  110. package/dist/actions/list-sources.d.mts.map +1 -1
  111. package/dist/actions/list-sources.mjs +2 -2
  112. package/dist/actions/list-sources.mjs.map +1 -1
  113. package/dist/actions/list-surveys.cjs +12 -12
  114. package/dist/actions/list-surveys.cjs.map +1 -1
  115. package/dist/actions/list-surveys.d.cts +23 -3
  116. package/dist/actions/list-surveys.d.cts.map +1 -1
  117. package/dist/actions/list-surveys.d.mts +23 -3
  118. package/dist/actions/list-surveys.d.mts.map +1 -1
  119. package/dist/actions/list-surveys.mjs +12 -12
  120. package/dist/actions/list-surveys.mjs.map +1 -1
  121. package/dist/actions/list-users.cjs +7 -7
  122. package/dist/actions/list-users.cjs.map +1 -1
  123. package/dist/actions/list-users.d.cts +84 -3
  124. package/dist/actions/list-users.d.cts.map +1 -1
  125. package/dist/actions/list-users.d.mts +84 -3
  126. package/dist/actions/list-users.d.mts.map +1 -1
  127. package/dist/actions/list-users.mjs +7 -7
  128. package/dist/actions/list-users.mjs.map +1 -1
  129. package/dist/actions/update-company.cjs +4 -4
  130. package/dist/actions/update-company.cjs.map +1 -1
  131. package/dist/actions/update-company.d.cts +18 -3
  132. package/dist/actions/update-company.d.cts.map +1 -1
  133. package/dist/actions/update-company.d.mts +18 -3
  134. package/dist/actions/update-company.d.mts.map +1 -1
  135. package/dist/actions/update-company.mjs +4 -4
  136. package/dist/actions/update-company.mjs.map +1 -1
  137. package/dist/actions/update-user.cjs +4 -4
  138. package/dist/actions/update-user.cjs.map +1 -1
  139. package/dist/actions/update-user.d.cts +44 -3
  140. package/dist/actions/update-user.d.cts.map +1 -1
  141. package/dist/actions/update-user.d.mts +44 -3
  142. package/dist/actions/update-user.d.mts.map +1 -1
  143. package/dist/actions/update-user.mjs +4 -4
  144. package/dist/actions/update-user.mjs.map +1 -1
  145. package/dist/catalog.cjs +7 -1
  146. package/dist/catalog.cjs.map +1 -1
  147. package/dist/catalog.d.cts +8 -0
  148. package/dist/catalog.d.mts +8 -0
  149. package/dist/catalog.mjs +7 -1
  150. package/dist/catalog.mjs.map +1 -1
  151. package/package.json +2 -2
@@ -1,9 +1,90 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-users.d.ts
4
- declare const SpecificListUsersInput: z.ZodTypeAny;
5
- declare const SpecificListUsersOutput: z.ZodTypeAny;
6
- declare const specificListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificListUsersInput: 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
+ email: 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
+ attributes: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
37
+ }, z.core.$strip>>;
38
+ }, z.core.$strip>;
39
+ declare const SpecificListUsersOutput: z.ZodObject<{
40
+ users: z.ZodArray<z.ZodObject<{
41
+ id: z.ZodNullable<z.ZodString>;
42
+ name: z.ZodNullable<z.ZodString>;
43
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
45
+ id: z.ZodNullable<z.ZodString>;
46
+ name: z.ZodNullable<z.ZodString>;
47
+ visitorId: z.ZodNullable<z.ZodString>;
48
+ usersCount: z.ZodNullable<z.ZodNumber>;
49
+ }, z.core.$strip>>>;
50
+ visitorId: z.ZodNullable<z.ZodString>;
51
+ }, z.core.$strip>>;
52
+ }, z.core.$strip>;
53
+ declare const specificListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
54
+ where?: {
55
+ id?: {
56
+ gt?: string | undefined;
57
+ in?: string[] | undefined;
58
+ is?: string | undefined;
59
+ lt?: string | undefined;
60
+ gte?: string | undefined;
61
+ lte?: string | undefined;
62
+ not?: string | undefined;
63
+ isNot?: string | undefined;
64
+ notIn?: string[] | undefined;
65
+ equals?: string | undefined;
66
+ contains?: string | undefined;
67
+ endsWith?: string | undefined;
68
+ startsWith?: string | undefined;
69
+ } | undefined;
70
+ email?: {
71
+ gt?: string | undefined;
72
+ in?: string[] | undefined;
73
+ is?: string | undefined;
74
+ lt?: string | undefined;
75
+ gte?: string | undefined;
76
+ lte?: string | undefined;
77
+ not?: string | undefined;
78
+ isNot?: string | undefined;
79
+ notIn?: string[] | undefined;
80
+ equals?: string | undefined;
81
+ contains?: string | undefined;
82
+ endsWith?: string | undefined;
83
+ startsWith?: string | undefined;
84
+ } | undefined;
85
+ attributes?: Record<string, never> | undefined;
86
+ } | undefined;
87
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
88
  //#endregion
8
89
  export { specificListUsers };
9
90
  //# sourceMappingURL=list-users.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAkC+B;AAAA,cAczD,uBAAA,EAAyB,CAAA,CAAE,UAEQ;AAAA,cAEnC,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgDtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM5B,MAAA;EAAA;AAAA"}
@@ -35,17 +35,17 @@ const SpecificListUsersInput = z.object({ where: z.object({
35
35
  attributes: z.object({}).describe("Filter by contact's custom attributes as key-value pairs.").optional()
36
36
  }).describe("Filter for contact/user fields.").optional() }).describe("Request model for listing users from Specific platform.");
37
37
  const SpecificListUsers_CompanySchema = z.object({
38
- id: z.string().describe("Company's unique identifier."),
39
- name: z.string().describe("Company's name."),
40
- visitorId: z.string().describe("Internal Specific visitor ID for the company."),
41
- usersCount: z.number().int().describe("Number of users in the company.")
38
+ id: z.string().describe("Company's unique identifier.").nullable(),
39
+ name: z.string().describe("Company's name.").nullable(),
40
+ visitorId: z.string().describe("Internal Specific visitor ID for the company.").nullable(),
41
+ usersCount: z.number().int().describe("Number of users in the company.").nullable()
42
42
  }).describe("Company information associated with a user.");
43
43
  const SpecificListUsers_UserSchema = z.object({
44
- id: z.string().describe("Contact's unique identifier."),
45
- name: z.string().describe("Contact's full name."),
44
+ id: z.string().describe("Contact's unique identifier.").nullable(),
45
+ name: z.string().describe("Contact's full name.").nullable(),
46
46
  email: z.string().describe("Contact's email address.").nullable().optional(),
47
47
  company: SpecificListUsers_CompanySchema.nullable().optional(),
48
- visitorId: z.string().describe("Internal Specific visitor ID.")
48
+ visitorId: z.string().describe("Internal Specific visitor ID.").nullable()
49
49
  }).describe("User object from Specific platform.");
50
50
  const specificListUsers = action("SPECIFIC_LIST_USERS", {
51
51
  slug: "specific-list-users",
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListUsersInput: z.ZodTypeAny = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n email: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n attributes: z.object({}).describe(\"Filter by contact's custom attributes as key-value pairs.\").optional(),\n}).describe(\"Filter for contact/user fields.\").optional(),\n}).describe(\"Request model for listing users from Specific platform.\");\nconst SpecificListUsers_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company's unique identifier.\"),\n name: z.string().describe(\"Company's name.\"),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\"),\n usersCount: z.number().int().describe(\"Number of users in the company.\"),\n}).describe(\"Company information associated with a user.\");\nconst SpecificListUsers_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact's unique identifier.\"),\n name: z.string().describe(\"Contact's full name.\"),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListUsers_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\"),\n}).describe(\"User object from Specific platform.\");\nexport const SpecificListUsersOutput: z.ZodTypeAny = z.object({\n users: z.array(SpecificListUsers_UserSchema).describe(\"List of user accounts from the Specific platform.\"),\n}).describe(\"Response model for listing users.\");\n\nexport const specificListUsers = action(\"SPECIFIC_LIST_USERS\", {\n slug: \"specific-list-users\",\n name: \"List Users\",\n description: \"Tool to query user accounts from the Specific platform via GraphQL. Use when you need to retrieve user information, optionally filtering by ID, email, or custom attributes.\",\n input: SpecificListUsersInput,\n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AC,CAAC,SAAS,+CAA+C;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;AACzE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,+BAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAAS,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAChE,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,mDAAmD,EAC3G,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListUsersInput = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n email: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n attributes: z.object({}).describe(\"Filter by contact's custom attributes as key-value pairs.\").optional(),\n}).describe(\"Filter for contact/user fields.\").optional(),\n}).describe(\"Request model for listing users from Specific platform.\");\nconst SpecificListUsers_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).describe(\"Company information associated with a user.\");\nconst SpecificListUsers_UserSchema = z.object({\n id: z.string().describe(\"Contact's unique identifier.\").nullable(),\n name: z.string().describe(\"Contact's full name.\").nullable(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n company: SpecificListUsers_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n}).describe(\"User object from Specific platform.\");\nexport const SpecificListUsersOutput = z.object({\n users: z.array(SpecificListUsers_UserSchema).describe(\"List of user accounts from the Specific platform.\"),\n}).describe(\"Response model for listing users.\");\n\nexport const specificListUsers = action(\"SPECIFIC_LIST_USERS\", {\n slug: \"specific-list-users\",\n name: \"List Users\",\n description: \"Tool to query user accounts from the Specific platform via GraphQL. Use when you need to retrieve user information, optionally filtering by ID, email, or custom attributes.\",\n input: SpecificListUsersInput,\n output: SpecificListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,OAAO,EAAE,OAAO;CAChB,IAAI,EAAE,OAAO;EACb,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,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,YAA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,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EACxD,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACtD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,SAAS,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAKjD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,OAAO,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,mDAAmD,EAC3G,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
@@ -7,10 +7,10 @@ const SpecificUpdateCompanyInput = zod.z.object({
7
7
  attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values to update on the company. Merges with existing values.").optional()
8
8
  }).describe("Request model for updating a company in Specific.");
9
9
  const SpecificUpdateCompany_CompanySchema = zod.z.object({
10
- id: zod.z.string().describe("The unique ID of the company."),
11
- name: zod.z.string().describe("The name of the company."),
12
- visitorId: zod.z.string().describe("Internal Specific visitor ID."),
13
- usersCount: zod.z.number().int().describe("Number of users belonging to this company.")
10
+ id: zod.z.string().describe("The unique ID of the company.").nullable(),
11
+ name: zod.z.string().describe("The name of the company.").nullable(),
12
+ visitorId: zod.z.string().describe("Internal Specific visitor ID.").nullable(),
13
+ usersCount: zod.z.number().int().describe("Number of users belonging to this company.").nullable()
14
14
  }).describe("Represents a company object in Specific.");
15
15
  const SpecificUpdateCompanyOutput = zod.z.object({ companies: zod.z.array(SpecificUpdateCompany_CompanySchema).describe("List of updated company objects.") }).describe("Response model for updating a company in Specific.");
16
16
  const specificUpdateCompany = require_action.action("SPECIFIC_UPDATE_COMPANY", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-company.cjs","names":["z","action"],"sources":["../../src/actions/update-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateCompanyInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the company to update (e.g., 'specific_cGkw1X80bpo').\"),\n name: z.string().describe(\"New name for the company. If not provided, the name remains unchanged.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Custom field values to update on the company. Merges with existing values.\").optional(),\n}).describe(\"Request model for updating a company in Specific.\");\nconst SpecificUpdateCompany_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the company.\"),\n name: z.string().describe(\"The name of the company.\"),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\"),\n usersCount: z.number().int().describe(\"Number of users belonging to this company.\"),\n}).describe(\"Represents a company object in Specific.\");\nexport const SpecificUpdateCompanyOutput: z.ZodTypeAny = z.object({\n companies: z.array(SpecificUpdateCompany_CompanySchema).describe(\"List of updated company objects.\"),\n}).describe(\"Response model for updating a company in Specific.\");\n\nexport const specificUpdateCompany = action(\"SPECIFIC_UPDATE_COMPANY\", {\n slug: \"specific-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company record in the Specific platform. Use when modifying company name or custom attributes.\",\n input: SpecificUpdateCompanyInput,\n output: SpecificUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACpF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,WAAWA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,kCAAkC,EACrG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-company.cjs","names":["z","action"],"sources":["../../src/actions/update-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateCompanyInput = z.object({\n id: z.string().describe(\"The unique ID of the company to update (e.g., 'specific_cGkw1X80bpo').\"),\n name: z.string().describe(\"New name for the company. If not provided, the name remains unchanged.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Custom field values to update on the company. Merges with existing values.\").optional(),\n}).describe(\"Request model for updating a company in Specific.\");\nconst SpecificUpdateCompany_CompanySchema = z.object({\n id: z.string().describe(\"The unique ID of the company.\").nullable(),\n name: z.string().describe(\"The name of the company.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users belonging to this company.\").nullable(),\n}).describe(\"Represents a company object in Specific.\");\nexport const SpecificUpdateCompanyOutput = z.object({\n companies: z.array(SpecificUpdateCompany_CompanySchema).describe(\"List of updated company objects.\"),\n}).describe(\"Response model for updating a company in Specific.\");\n\nexport const specificUpdateCompany = action(\"SPECIFIC_UPDATE_COMPANY\", {\n slug: \"specific-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company record in the Specific platform. Use when modifying company name or custom attributes.\",\n input: SpecificUpdateCompanyInput,\n output: SpecificUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,WAAWA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,kCAAkC,EACrG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-company.d.ts
4
- declare const SpecificUpdateCompanyInput: z.ZodTypeAny;
5
- declare const SpecificUpdateCompanyOutput: z.ZodTypeAny;
6
- declare const specificUpdateCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificUpdateCompanyInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
+ }, z.core.$strip>;
9
+ declare const SpecificUpdateCompanyOutput: z.ZodObject<{
10
+ companies: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ visitorId: z.ZodNullable<z.ZodString>;
14
+ usersCount: z.ZodNullable<z.ZodNumber>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
17
+ declare const specificUpdateCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ id: string;
19
+ name?: string | undefined;
20
+ attributes?: Record<string, unknown> | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { specificUpdateCompany };
9
24
  //# sourceMappingURL=update-company.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-company.d.cts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAIqB;AAAA,cAOnD,2BAAA,EAA6B,CAAA,CAAE,UAEqB;AAAA,cAEpD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-company.d.cts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA;;;eAMhC,MAAA;AAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-company.d.ts
4
- declare const SpecificUpdateCompanyInput: z.ZodTypeAny;
5
- declare const SpecificUpdateCompanyOutput: z.ZodTypeAny;
6
- declare const specificUpdateCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificUpdateCompanyInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
+ }, z.core.$strip>;
9
+ declare const SpecificUpdateCompanyOutput: z.ZodObject<{
10
+ companies: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ visitorId: z.ZodNullable<z.ZodString>;
14
+ usersCount: z.ZodNullable<z.ZodNumber>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
17
+ declare const specificUpdateCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ id: string;
19
+ name?: string | undefined;
20
+ attributes?: Record<string, unknown> | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { specificUpdateCompany };
9
24
  //# sourceMappingURL=update-company.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-company.d.mts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAIqB;AAAA,cAOnD,2BAAA,EAA6B,CAAA,CAAE,UAEqB;AAAA,cAEpD,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-company.d.mts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAI3B,qBAAA,gCAAqB,wBAAA;;;eAMhC,MAAA;AAAA"}
@@ -7,10 +7,10 @@ const SpecificUpdateCompanyInput = z.object({
7
7
  attributes: z.record(z.string(), z.unknown()).describe("Custom field values to update on the company. Merges with existing values.").optional()
8
8
  }).describe("Request model for updating a company in Specific.");
9
9
  const SpecificUpdateCompany_CompanySchema = z.object({
10
- id: z.string().describe("The unique ID of the company."),
11
- name: z.string().describe("The name of the company."),
12
- visitorId: z.string().describe("Internal Specific visitor ID."),
13
- usersCount: z.number().int().describe("Number of users belonging to this company.")
10
+ id: z.string().describe("The unique ID of the company.").nullable(),
11
+ name: z.string().describe("The name of the company.").nullable(),
12
+ visitorId: z.string().describe("Internal Specific visitor ID.").nullable(),
13
+ usersCount: z.number().int().describe("Number of users belonging to this company.").nullable()
14
14
  }).describe("Represents a company object in Specific.");
15
15
  const specificUpdateCompany = action("SPECIFIC_UPDATE_COMPANY", {
16
16
  slug: "specific-update-company",
@@ -1 +1 @@
1
- {"version":3,"file":"update-company.mjs","names":[],"sources":["../../src/actions/update-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateCompanyInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the company to update (e.g., 'specific_cGkw1X80bpo').\"),\n name: z.string().describe(\"New name for the company. If not provided, the name remains unchanged.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Custom field values to update on the company. Merges with existing values.\").optional(),\n}).describe(\"Request model for updating a company in Specific.\");\nconst SpecificUpdateCompany_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the company.\"),\n name: z.string().describe(\"The name of the company.\"),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\"),\n usersCount: z.number().int().describe(\"Number of users belonging to this company.\"),\n}).describe(\"Represents a company object in Specific.\");\nexport const SpecificUpdateCompanyOutput: z.ZodTypeAny = z.object({\n companies: z.array(SpecificUpdateCompany_CompanySchema).describe(\"List of updated company objects.\"),\n}).describe(\"Response model for updating a company in Specific.\");\n\nexport const specificUpdateCompany = action(\"SPECIFIC_UPDATE_COMPANY\", {\n slug: \"specific-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company record in the Specific platform. Use when modifying company name or custom attributes.\",\n input: SpecificUpdateCompanyInput,\n output: SpecificUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACpF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuD,EAAE,OAAO,EAChE,WAAW,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,kCAAkC,EACrG,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-company.mjs","names":[],"sources":["../../src/actions/update-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateCompanyInput = z.object({\n id: z.string().describe(\"The unique ID of the company to update (e.g., 'specific_cGkw1X80bpo').\"),\n name: z.string().describe(\"New name for the company. If not provided, the name remains unchanged.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Custom field values to update on the company. Merges with existing values.\").optional(),\n}).describe(\"Request model for updating a company in Specific.\");\nconst SpecificUpdateCompany_CompanySchema = z.object({\n id: z.string().describe(\"The unique ID of the company.\").nullable(),\n name: z.string().describe(\"The name of the company.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users belonging to this company.\").nullable(),\n}).describe(\"Represents a company object in Specific.\");\nexport const SpecificUpdateCompanyOutput = z.object({\n companies: z.array(SpecificUpdateCompany_CompanySchema).describe(\"List of updated company objects.\"),\n}).describe(\"Response model for updating a company in Specific.\");\n\nexport const specificUpdateCompany = action(\"SPECIFIC_UPDATE_COMPANY\", {\n slug: \"specific-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company record in the Specific platform. Use when modifying company name or custom attributes.\",\n input: SpecificUpdateCompanyInput,\n output: SpecificUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyC,EAAE,OAAO,EAClD,WAAW,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,kCAAkC,EACrG,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -19,15 +19,15 @@ const SpecificUpdateUser_CompanySchema = zod.z.object({
19
19
  name: zod.z.string().describe("Company name").nullable().optional()
20
20
  }).describe("Company information.");
21
21
  const SpecificUpdateUser_UserSchema = zod.z.object({
22
- id: zod.z.string().describe("Contact's ID"),
23
- name: zod.z.string().describe("Contact's name"),
22
+ id: zod.z.string().describe("Contact's ID").nullable(),
23
+ name: zod.z.string().describe("Contact's name").nullable(),
24
24
  email: zod.z.string().describe("Contact's email").nullable().optional(),
25
25
  company: SpecificUpdateUser_CompanySchema.nullable().optional(),
26
- visitorId: zod.z.string().describe("Internal Specific ID")
26
+ visitorId: zod.z.string().describe("Internal Specific ID").nullable()
27
27
  }).describe("User/Contact information.");
28
28
  const SpecificUpdateUserOutput = zod.z.object({
29
29
  error: zod.z.string().describe("Error message if failed").nullable().optional(),
30
- success: zod.z.boolean().describe("Whether the update was successful"),
30
+ success: zod.z.boolean().describe("Whether the update was successful").nullable(),
31
31
  contacts: zod.z.array(SpecificUpdateUser_UserSchema).describe("Updated contacts if successful").nullable().optional()
32
32
  }).describe("Response model for updateUser mutation.");
33
33
  const specificUpdateUser = require_action.action("SPECIFIC_UPDATE_USER", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateUserInput: z.ZodTypeAny = z.object({\n data: z.object({\n id: z.string().describe(\"Contact's ID to update\").optional(),\n name: z.string().describe(\"Contact's name to update\").optional(),\n email: z.string().describe(\"Contact's email to update\").optional(),\n company: z.object({\n connect: z.string().describe(\"Company ID to connect to the contact\").optional(),\n}).describe(\"Input for establishing a relationship between contact and company.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Update custom field values. Will merge current values with new ones.\").optional(),\n}).describe(\"Data fields to update for the contact\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by\").optional(),\n email: z.string().describe(\"Contact email to filter by\").optional(),\n}).describe(\"Filter to identify which contact to update (by id or email)\"),\n}).describe(\"Request model for updating a user in Specific.\");\nconst SpecificUpdateUser_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company ID\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n}).describe(\"Company information.\");\nconst SpecificUpdateUser_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact's ID\"),\n name: z.string().describe(\"Contact's name\"),\n email: z.string().describe(\"Contact's email\").nullable().optional(),\n company: SpecificUpdateUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\"),\n}).describe(\"User/Contact information.\");\nexport const SpecificUpdateUserOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful\"),\n contacts: z.array(SpecificUpdateUser_UserSchema).describe(\"Updated contacts if successful\").nullable().optional(),\n}).describe(\"Response model for updateUser mutation.\");\n\nexport const specificUpdateUser = action(\"SPECIFIC_UPDATE_USER\", {\n slug: \"specific-update-user\",\n name: \"Update User\",\n description: \"Tool to modify an existing user record in the Specific platform via GraphQL mutation. Use when you need to update contact information such as name, email, company association, or custom attributes.\",\n input: SpecificUpdateUserInput,\n output: SpecificUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO;EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,SAASA,IAAAA,EAAE,OAAO,EAClB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACzF,YAA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1E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;CACjE,UAAUA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateUserInput = z.object({\n data: z.object({\n id: z.string().describe(\"Contact's ID to update\").optional(),\n name: z.string().describe(\"Contact's name to update\").optional(),\n email: z.string().describe(\"Contact's email to update\").optional(),\n company: z.object({\n connect: z.string().describe(\"Company ID to connect to the contact\").optional(),\n}).describe(\"Input for establishing a relationship between contact and company.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Update custom field values. Will merge current values with new ones.\").optional(),\n}).describe(\"Data fields to update for the contact\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by\").optional(),\n email: z.string().describe(\"Contact email to filter by\").optional(),\n}).describe(\"Filter to identify which contact to update (by id or email)\"),\n}).describe(\"Request model for updating a user in Specific.\");\nconst SpecificUpdateUser_CompanySchema = z.object({\n id: z.string().describe(\"Company ID\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n}).describe(\"Company information.\");\nconst SpecificUpdateUser_UserSchema = z.object({\n id: z.string().describe(\"Contact's ID\").nullable(),\n name: z.string().describe(\"Contact's name\").nullable(),\n email: z.string().describe(\"Contact's email\").nullable().optional(),\n company: SpecificUpdateUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\").nullable(),\n}).describe(\"User/Contact information.\");\nexport const SpecificUpdateUserOutput = z.object({\n error: z.string().describe(\"Error message if failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful\").nullable(),\n contacts: z.array(SpecificUpdateUser_UserSchema).describe(\"Updated contacts if successful\").nullable().optional(),\n}).describe(\"Response model for updateUser mutation.\");\n\nexport const specificUpdateUser = action(\"SPECIFIC_UPDATE_USER\", {\n slug: \"specific-update-user\",\n name: \"Update User\",\n description: \"Tool to modify an existing user record in the Specific platform via GraphQL mutation. Use when you need to update contact information such as name, email, company association, or custom attributes.\",\n input: SpecificUpdateUserInput,\n output: SpecificUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO;EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,SAASA,IAAAA,EAAE,OAAO,EAClB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACzF,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACjD,OAAOA,IAAAA,EAAE,OAAO;EAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACpE,CAAC,CAAC,CAAC,SAAS,6DAA6D;A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1,9 +1,50 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-user.d.ts
4
- declare const SpecificUpdateUserInput: z.ZodTypeAny;
5
- declare const SpecificUpdateUserOutput: z.ZodTypeAny;
6
- declare const specificUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificUpdateUserInput: z.ZodObject<{
5
+ data: z.ZodObject<{
6
+ id: z.ZodOptional<z.ZodString>;
7
+ name: z.ZodOptional<z.ZodString>;
8
+ email: z.ZodOptional<z.ZodString>;
9
+ company: z.ZodOptional<z.ZodObject<{
10
+ connect: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>>;
12
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13
+ }, z.core.$strip>;
14
+ where: z.ZodObject<{
15
+ id: z.ZodOptional<z.ZodString>;
16
+ email: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ }, z.core.$strip>;
19
+ declare const SpecificUpdateUserOutput: z.ZodObject<{
20
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ success: z.ZodNullable<z.ZodBoolean>;
22
+ contacts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
+ id: z.ZodNullable<z.ZodString>;
24
+ name: z.ZodNullable<z.ZodString>;
25
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$strip>>>;
30
+ visitorId: z.ZodNullable<z.ZodString>;
31
+ }, z.core.$strip>>>>;
32
+ }, z.core.$strip>;
33
+ declare const specificUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ data: {
35
+ id?: string | undefined;
36
+ name?: string | undefined;
37
+ email?: string | undefined;
38
+ company?: {
39
+ connect?: string | undefined;
40
+ } | undefined;
41
+ attributes?: Record<string, unknown> | undefined;
42
+ };
43
+ where: {
44
+ id?: string | undefined;
45
+ email?: string | undefined;
46
+ };
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
48
  //#endregion
8
49
  export { specificUpdateUser };
9
50
  //# sourceMappingURL=update-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAcqB;AAAA,cAYhD,wBAAA,EAA0B,CAAA,CAAE,UAIa;AAAA,cAEzC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cA0BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA;;;;;;;;iBAM7B,MAAA;EAAA"}
@@ -1,9 +1,50 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-user.d.ts
4
- declare const SpecificUpdateUserInput: z.ZodTypeAny;
5
- declare const SpecificUpdateUserOutput: z.ZodTypeAny;
6
- declare const specificUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificUpdateUserInput: z.ZodObject<{
5
+ data: z.ZodObject<{
6
+ id: z.ZodOptional<z.ZodString>;
7
+ name: z.ZodOptional<z.ZodString>;
8
+ email: z.ZodOptional<z.ZodString>;
9
+ company: z.ZodOptional<z.ZodObject<{
10
+ connect: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>>;
12
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
13
+ }, z.core.$strip>;
14
+ where: z.ZodObject<{
15
+ id: z.ZodOptional<z.ZodString>;
16
+ email: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ }, z.core.$strip>;
19
+ declare const SpecificUpdateUserOutput: z.ZodObject<{
20
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ success: z.ZodNullable<z.ZodBoolean>;
22
+ contacts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
+ id: z.ZodNullable<z.ZodString>;
24
+ name: z.ZodNullable<z.ZodString>;
25
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$strip>>>;
30
+ visitorId: z.ZodNullable<z.ZodString>;
31
+ }, z.core.$strip>>>>;
32
+ }, z.core.$strip>;
33
+ declare const specificUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ data: {
35
+ id?: string | undefined;
36
+ name?: string | undefined;
37
+ email?: string | undefined;
38
+ company?: {
39
+ connect?: string | undefined;
40
+ } | undefined;
41
+ attributes?: Record<string, unknown> | undefined;
42
+ };
43
+ where: {
44
+ id?: string | undefined;
45
+ email?: string | undefined;
46
+ };
47
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
48
  //#endregion
8
49
  export { specificUpdateUser };
9
50
  //# sourceMappingURL=update-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAcqB;AAAA,cAYhD,wBAAA,EAA0B,CAAA,CAAE,UAIa;AAAA,cAEzC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cA0BvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA;;;;;;;;iBAM7B,MAAA;EAAA"}
@@ -19,11 +19,11 @@ const SpecificUpdateUser_CompanySchema = z.object({
19
19
  name: z.string().describe("Company name").nullable().optional()
20
20
  }).describe("Company information.");
21
21
  const SpecificUpdateUser_UserSchema = z.object({
22
- id: z.string().describe("Contact's ID"),
23
- name: z.string().describe("Contact's name"),
22
+ id: z.string().describe("Contact's ID").nullable(),
23
+ name: z.string().describe("Contact's name").nullable(),
24
24
  email: z.string().describe("Contact's email").nullable().optional(),
25
25
  company: SpecificUpdateUser_CompanySchema.nullable().optional(),
26
- visitorId: z.string().describe("Internal Specific ID")
26
+ visitorId: z.string().describe("Internal Specific ID").nullable()
27
27
  }).describe("User/Contact information.");
28
28
  const specificUpdateUser = action("SPECIFIC_UPDATE_USER", {
29
29
  slug: "specific-update-user",
@@ -32,7 +32,7 @@ const specificUpdateUser = action("SPECIFIC_UPDATE_USER", {
32
32
  input: SpecificUpdateUserInput,
33
33
  output: z.object({
34
34
  error: z.string().describe("Error message if failed").nullable().optional(),
35
- success: z.boolean().describe("Whether the update was successful"),
35
+ success: z.boolean().describe("Whether the update was successful").nullable(),
36
36
  contacts: z.array(SpecificUpdateUser_UserSchema).describe("Updated contacts if successful").nullable().optional()
37
37
  }).describe("Response model for updateUser mutation.")
38
38
  });
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateUserInput: z.ZodTypeAny = z.object({\n data: z.object({\n id: z.string().describe(\"Contact's ID to update\").optional(),\n name: z.string().describe(\"Contact's name to update\").optional(),\n email: z.string().describe(\"Contact's email to update\").optional(),\n company: z.object({\n connect: z.string().describe(\"Company ID to connect to the contact\").optional(),\n}).describe(\"Input for establishing a relationship between contact and company.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Update custom field values. Will merge current values with new ones.\").optional(),\n}).describe(\"Data fields to update for the contact\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by\").optional(),\n email: z.string().describe(\"Contact email to filter by\").optional(),\n}).describe(\"Filter to identify which contact to update (by id or email)\"),\n}).describe(\"Request model for updating a user in Specific.\");\nconst SpecificUpdateUser_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company ID\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n}).describe(\"Company information.\");\nconst SpecificUpdateUser_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Contact's ID\"),\n name: z.string().describe(\"Contact's name\"),\n email: z.string().describe(\"Contact's email\").nullable().optional(),\n company: SpecificUpdateUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\"),\n}).describe(\"User/Contact information.\");\nexport const SpecificUpdateUserOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful\"),\n contacts: z.array(SpecificUpdateUser_UserSchema).describe(\"Updated contacts if successful\").nullable().optional(),\n}).describe(\"Response model for updateUser mutation.\");\n\nexport const specificUpdateUser = action(\"SPECIFIC_UPDATE_USER\", {\n slug: \"specific-update-user\",\n name: \"Update User\",\n description: \"Tool to modify an existing user record in the Specific platform via GraphQL mutation. Use when you need to update contact information such as name, email, company association, or custom attributes.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AgB;CAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACvD,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAOvC,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoD,EAAE,OAAO;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC;EACjE,UAAU,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificUpdateUserInput = z.object({\n data: z.object({\n id: z.string().describe(\"Contact's ID to update\").optional(),\n name: z.string().describe(\"Contact's name to update\").optional(),\n email: z.string().describe(\"Contact's email to update\").optional(),\n company: z.object({\n connect: z.string().describe(\"Company ID to connect to the contact\").optional(),\n}).describe(\"Input for establishing a relationship between contact and company.\").optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Update custom field values. Will merge current values with new ones.\").optional(),\n}).describe(\"Data fields to update for the contact\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by\").optional(),\n email: z.string().describe(\"Contact email to filter by\").optional(),\n}).describe(\"Filter to identify which contact to update (by id or email)\"),\n}).describe(\"Request model for updating a user in Specific.\");\nconst SpecificUpdateUser_CompanySchema = z.object({\n id: z.string().describe(\"Company ID\").nullable().optional(),\n name: z.string().describe(\"Company name\").nullable().optional(),\n}).describe(\"Company information.\");\nconst SpecificUpdateUser_UserSchema = z.object({\n id: z.string().describe(\"Contact's ID\").nullable(),\n name: z.string().describe(\"Contact's name\").nullable(),\n email: z.string().describe(\"Contact's email\").nullable().optional(),\n company: SpecificUpdateUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\").nullable(),\n}).describe(\"User/Contact information.\");\nexport const SpecificUpdateUserOutput = z.object({\n error: z.string().describe(\"Error message if failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the update was successful\").nullable(),\n contacts: z.array(SpecificUpdateUser_UserSchema).describe(\"Updated contacts if successful\").nullable().optional(),\n}).describe(\"Response model for updateUser mutation.\");\n\nexport const specificUpdateUser = action(\"SPECIFIC_UPDATE_USER\", {\n slug: \"specific-update-user\",\n name: \"Update User\",\n description: \"Tool to modify an existing user record in the Specific platform via GraphQL mutation. Use when you need to update contact information such as name, email, company association, or custom attributes.\",\n input: SpecificUpdateUserInput,\n output: SpecificUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO;EACf,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,SAAS,EAAE,OAAO,EAClB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EAChF,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EACzF,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,uCAAuC;CACjD,O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AAC,SAAS;CAClH,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const specificCatalog = {
7
7
  "category": "AI Sales Tools",
8
8
  "logo": "https://logos.composio.dev/api/specific",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Generate your API Key from Preferences → Administration → API in your Specific workspace"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.specificCatalog = specificCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const specificCatalog = {\n \"slug\": \"specific\",\n \"name\": \"Specific\",\n \"description\": \"Sales call analytics to drive revenue\",\n \"category\": \"AI Sales Tools\",\n \"logo\": \"https://logos.composio.dev/api/specific\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const specificCatalog = {\n \"slug\": \"specific\",\n \"name\": \"Specific\",\n \"description\": \"Sales call analytics to drive revenue\",\n \"category\": \"AI Sales Tools\",\n \"logo\": \"https://logos.composio.dev/api/specific\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Generate your API Key from Preferences → Administration → API in your Specific workspace\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const specificCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/specific";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Generate your API Key from Preferences → Administration → API in your Specific workspace";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { specificCatalog };
@@ -8,6 +8,14 @@ declare const specificCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/specific";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Generate your API Key from Preferences → Administration → API in your Specific workspace";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { specificCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const specificCatalog = {
7
7
  "category": "AI Sales Tools",
8
8
  "logo": "https://logos.composio.dev/api/specific",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Generate your API Key from Preferences → Administration → API in your Specific workspace"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { specificCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const specificCatalog = {\n \"slug\": \"specific\",\n \"name\": \"Specific\",\n \"description\": \"Sales call analytics to drive revenue\",\n \"category\": \"AI Sales Tools\",\n \"logo\": \"https://logos.composio.dev/api/specific\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const specificCatalog = {\n \"slug\": \"specific\",\n \"name\": \"Specific\",\n \"description\": \"Sales call analytics to drive revenue\",\n \"category\": \"AI Sales Tools\",\n \"logo\": \"https://logos.composio.dev/api/specific\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Generate your API Key from Preferences → Administration → API in your Specific workspace\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/specific",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {