@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,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-company.d.ts
4
- declare const SpecificDeleteCompanyInput: z.ZodTypeAny;
5
- declare const SpecificDeleteCompanyOutput: z.ZodTypeAny;
6
- declare const specificDeleteCompany: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificDeleteCompanyInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SpecificDeleteCompanyOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ visitorId: z.ZodNullable<z.ZodString>;
11
+ usersCount: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$strip>;
13
+ declare const specificDeleteCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ id: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { specificDeleteCompany };
9
18
  //# sourceMappingURL=delete-company.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-company.d.mts","names":[],"sources":["../../src/actions/delete-company.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cACW,2BAAA,EAA6B,CAAA,CAAE,UAK1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-company.d.mts","names":[],"sources":["../../src/actions/delete-company.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAO3B,qBAAA,gCAAqB,wBAAA"}
@@ -6,10 +6,10 @@ const specificDeleteCompany = action("SPECIFIC_DELETE_COMPANY", {
6
6
  description: "Tool to delete a company record from the Specific platform. Use when you need to remove a company by its ID. The operation is permanent and returns the deleted company's details.",
7
7
  input: z.object({ id: z.string().describe("The unique identifier of the company to delete.") }),
8
8
  output: z.object({
9
- id: z.string().describe("The unique identifier of the deleted company."),
10
- name: z.string().describe("The name of the deleted company."),
11
- visitorId: z.string().describe("Internal Specific ID of the deleted company."),
12
- usersCount: z.number().int().describe("Number of users who belonged to the deleted company.")
9
+ id: z.string().describe("The unique identifier of the deleted company.").nullable(),
10
+ name: z.string().describe("The name of the deleted company.").nullable(),
11
+ visitorId: z.string().describe("Internal Specific ID of the deleted company.").nullable(),
12
+ usersCount: z.number().int().describe("Number of users who belonged to the deleted company.").nullable()
13
13
  })
14
14
  });
15
15
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"delete-company.mjs","names":[],"sources":["../../src/actions/delete-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteCompanyInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the company to delete.\"),\n});\nexport const SpecificDeleteCompanyOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the deleted company.\"),\n name: z.string().describe(\"The name of the deleted company.\"),\n visitorId: z.string().describe(\"Internal Specific ID of the deleted company.\"),\n usersCount: z.number().int().describe(\"Number of users who belonged to the deleted company.\"),\n});\n\nexport const specificDeleteCompany = action(\"SPECIFIC_DELETE_COMPANY\", {\n slug: \"specific-delete-company\",\n name: \"Delete Company\",\n description: \"Tool to delete a company record from the Specific platform. Use when you need to remove a company by its ID. The operation is permanent and returns the deleted company's details.\",\n input: SpecificDeleteCompanyInput,\n output: SpecificDeleteCompanyOutput,\n});\n"],"mappings":";;AAcA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsD,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAYS;CACP,QAZuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CAC9F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"delete-company.mjs","names":[],"sources":["../../src/actions/delete-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteCompanyInput = z.object({\n id: z.string().describe(\"The unique identifier of the company to delete.\"),\n});\nexport const SpecificDeleteCompanyOutput = z.object({\n id: z.string().describe(\"The unique identifier of the deleted company.\").nullable(),\n name: z.string().describe(\"The name of the deleted company.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific ID of the deleted company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users who belonged to the deleted company.\").nullable(),\n});\n\nexport const specificDeleteCompany = action(\"SPECIFIC_DELETE_COMPANY\", {\n slug: \"specific-delete-company\",\n name: \"Delete Company\",\n description: \"Tool to delete a company record from the Specific platform. Use when you need to remove a company by its ID. The operation is permanent and returns the deleted company's details.\",\n input: SpecificDeleteCompanyInput,\n output: SpecificDeleteCompanyOutput,\n});\n"],"mappings":";;AAcA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAYS;CACP,QAZyC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzG,CAOU;AACV,CAAC"}
@@ -13,11 +13,11 @@ const SpecificDeleteUserAttributes_CompanySchema = zod.z.object({
13
13
  name: zod.z.string().describe("Company name").nullable().optional()
14
14
  }).describe("Company information.");
15
15
  const SpecificDeleteUserAttributes_UserSchema = zod.z.object({
16
- id: zod.z.string().describe("Contact's ID"),
17
- name: zod.z.string().describe("Contact's name"),
16
+ id: zod.z.string().describe("Contact's ID").nullable(),
17
+ name: zod.z.string().describe("Contact's name").nullable(),
18
18
  email: zod.z.string().describe("Contact's email").nullable().optional(),
19
19
  company: SpecificDeleteUserAttributes_CompanySchema.nullable().optional(),
20
- visitorId: zod.z.string().describe("Internal Specific ID")
20
+ visitorId: zod.z.string().describe("Internal Specific ID").nullable()
21
21
  }).describe("User/Contact information returned after deleting attributes.");
22
22
  const SpecificDeleteUserAttributes_DeleteUserAttributesDataSchema = zod.z.object({ deleteUserAttributes: SpecificDeleteUserAttributes_UserSchema.nullable() }).describe("Wrapper for the deleteUserAttributes data response.");
23
23
  const SpecificDeleteUserAttributesOutput = zod.z.object({ data: SpecificDeleteUserAttributes_DeleteUserAttributesDataSchema.nullable() }).describe("Response model for deleteUserAttributes mutation.");
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user-attributes.cjs","names":["z","action"],"sources":["../../src/actions/delete-user-attributes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteUserAttributesInput: z.ZodTypeAny = z.object({\n data: z.object({\n keys: z.array(z.string()).describe(\"A non-empty array of strings representing the custom field keys to be removed from the user record.\"),\n}).describe(\"Specifies which custom field attributes to delete from the user record.\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by. At least one of id or email must be provided.\").optional(),\n email: z.string().describe(\"Contact email to filter by. At least one of id or email must be provided.\").optional(),\n}).describe(\"Filter to identify which contact to delete attributes from (by id or email).\"),\n}).describe(\"Request model for deleting user attributes in Specific.\");\nconst SpecificDeleteUserAttributes_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 SpecificDeleteUserAttributes_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: SpecificDeleteUserAttributes_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\"),\n}).describe(\"User/Contact information returned after deleting attributes.\");\nconst SpecificDeleteUserAttributes_DeleteUserAttributesDataSchema: z.ZodTypeAny = z.object({\n deleteUserAttributes: SpecificDeleteUserAttributes_UserSchema.nullable(),\n}).describe(\"Wrapper for the deleteUserAttributes data response.\");\nexport const SpecificDeleteUserAttributesOutput: z.ZodTypeAny = z.object({\n data: SpecificDeleteUserAttributes_DeleteUserAttributesDataSchema.nullable(),\n}).describe(\"Response model for deleteUserAttributes mutation.\");\n\nexport const specificDeleteUserAttributes = action(\"SPECIFIC_DELETE_USER_ATTRIBUTES\", {\n slug: \"specific-delete-user-attributes\",\n name: \"Delete User Attributes\",\n description: \"Tool to delete specific custom field attributes from a user record in the Specific platform. Use when you need to remove custom field values from a contact without deleting the contact itself.\",\n input: SpecificDeleteUserAttributesInput,\n output: SpecificDeleteUserAttributesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,EACf,MAAMA,IAAAA,EAA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AS,mDAAmD;AAE/D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user-attributes.cjs","names":["z","action"],"sources":["../../src/actions/delete-user-attributes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteUserAttributesInput = z.object({\n data: z.object({\n keys: z.array(z.string()).describe(\"A non-empty array of strings representing the custom field keys to be removed from the user record.\"),\n}).describe(\"Specifies which custom field attributes to delete from the user record.\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by. At least one of id or email must be provided.\").optional(),\n email: z.string().describe(\"Contact email to filter by. At least one of id or email must be provided.\").optional(),\n}).describe(\"Filter to identify which contact to delete attributes from (by id or email).\"),\n}).describe(\"Request model for deleting user attributes in Specific.\");\nconst SpecificDeleteUserAttributes_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 SpecificDeleteUserAttributes_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: SpecificDeleteUserAttributes_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\").nullable(),\n}).describe(\"User/Contact information returned after deleting attributes.\");\nconst SpecificDeleteUserAttributes_DeleteUserAttributesDataSchema = z.object({\n deleteUserAttributes: SpecificDeleteUserAttributes_UserSchema.nullable(),\n}).describe(\"Wrapper for the deleteUserAttributes data response.\");\nexport const SpecificDeleteUserAttributesOutput = z.object({\n data: SpecificDeleteUserAttributes_DeleteUserAttributesDataSchema.nullable(),\n}).describe(\"Response model for deleteUserAttributes mutation.\");\n\nexport const specificDeleteUserAttributes = action(\"SPECIFIC_DELETE_USER_ATTRIBUTES\", {\n slug: \"specific-delete-user-attributes\",\n name: \"Delete User Attributes\",\n description: \"Tool to delete specific custom field attributes from a user record in the Specific platform. Use when you need to remove custom field values from a contact without deleting the contact itself.\",\n input: SpecificDeleteUserAttributesInput,\n output: SpecificDeleteUserAttributesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,EACf,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,EAC1I,CAAC,CAAC,CAAC,SAAS,yEAAyE;CACnF,OAAOA,IAAAA,EAAE,OAAO;EAChB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC3G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAClC,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,8DAA8DA,IAAAA,EAAE,OAAO,EAC3E,sBAAsB,wCAAwC,SAAS,EACzE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAM,4DAA4D,SAAS,EAC7E,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-user-attributes.d.ts
4
- declare const SpecificDeleteUserAttributesInput: z.ZodTypeAny;
5
- declare const SpecificDeleteUserAttributesOutput: z.ZodTypeAny;
6
- declare const specificDeleteUserAttributes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificDeleteUserAttributesInput: z.ZodObject<{
5
+ data: z.ZodObject<{
6
+ keys: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ where: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodString>;
10
+ email: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ }, z.core.$strip>;
13
+ declare const SpecificDeleteUserAttributesOutput: z.ZodObject<{
14
+ data: z.ZodNullable<z.ZodObject<{
15
+ deleteUserAttributes: z.ZodNullable<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodString>;
17
+ name: z.ZodNullable<z.ZodString>;
18
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>>;
23
+ visitorId: z.ZodNullable<z.ZodString>;
24
+ }, z.core.$strip>>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>;
27
+ declare const specificDeleteUserAttributes: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ data: {
29
+ keys: string[];
30
+ };
31
+ where: {
32
+ id?: string | undefined;
33
+ email?: string | undefined;
34
+ };
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { specificDeleteUserAttributes };
9
38
  //# sourceMappingURL=delete-user-attributes.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user-attributes.d.cts","names":[],"sources":["../../src/actions/delete-user-attributes.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAQoB;AAAA,cAezD,kCAAA,EAAoC,CAAA,CAAE,UAEa;AAAA,cAEnD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-user-attributes.d.cts","names":[],"sources":["../../src/actions/delete-user-attributes.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cAuBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-user-attributes.d.ts
4
- declare const SpecificDeleteUserAttributesInput: z.ZodTypeAny;
5
- declare const SpecificDeleteUserAttributesOutput: z.ZodTypeAny;
6
- declare const specificDeleteUserAttributes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificDeleteUserAttributesInput: z.ZodObject<{
5
+ data: z.ZodObject<{
6
+ keys: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ where: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodString>;
10
+ email: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ }, z.core.$strip>;
13
+ declare const SpecificDeleteUserAttributesOutput: z.ZodObject<{
14
+ data: z.ZodNullable<z.ZodObject<{
15
+ deleteUserAttributes: z.ZodNullable<z.ZodObject<{
16
+ id: z.ZodNullable<z.ZodString>;
17
+ name: z.ZodNullable<z.ZodString>;
18
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>>>;
23
+ visitorId: z.ZodNullable<z.ZodString>;
24
+ }, z.core.$strip>>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>;
27
+ declare const specificDeleteUserAttributes: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ data: {
29
+ keys: string[];
30
+ };
31
+ where: {
32
+ id?: string | undefined;
33
+ email?: string | undefined;
34
+ };
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { specificDeleteUserAttributes };
9
38
  //# sourceMappingURL=delete-user-attributes.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user-attributes.d.mts","names":[],"sources":["../../src/actions/delete-user-attributes.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAQoB;AAAA,cAezD,kCAAA,EAAoC,CAAA,CAAE,UAEa;AAAA,cAEnD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-user-attributes.d.mts","names":[],"sources":["../../src/actions/delete-user-attributes.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;cAuBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -13,11 +13,11 @@ const SpecificDeleteUserAttributes_CompanySchema = z.object({
13
13
  name: z.string().describe("Company name").nullable().optional()
14
14
  }).describe("Company information.");
15
15
  const SpecificDeleteUserAttributes_UserSchema = z.object({
16
- id: z.string().describe("Contact's ID"),
17
- name: z.string().describe("Contact's name"),
16
+ id: z.string().describe("Contact's ID").nullable(),
17
+ name: z.string().describe("Contact's name").nullable(),
18
18
  email: z.string().describe("Contact's email").nullable().optional(),
19
19
  company: SpecificDeleteUserAttributes_CompanySchema.nullable().optional(),
20
- visitorId: z.string().describe("Internal Specific ID")
20
+ visitorId: z.string().describe("Internal Specific ID").nullable()
21
21
  }).describe("User/Contact information returned after deleting attributes.");
22
22
  const SpecificDeleteUserAttributes_DeleteUserAttributesDataSchema = z.object({ deleteUserAttributes: SpecificDeleteUserAttributes_UserSchema.nullable() }).describe("Wrapper for the deleteUserAttributes data response.");
23
23
  const specificDeleteUserAttributes = action("SPECIFIC_DELETE_USER_ATTRIBUTES", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user-attributes.mjs","names":[],"sources":["../../src/actions/delete-user-attributes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteUserAttributesInput: z.ZodTypeAny = z.object({\n data: z.object({\n keys: z.array(z.string()).describe(\"A non-empty array of strings representing the custom field keys to be removed from the user record.\"),\n}).describe(\"Specifies which custom field attributes to delete from the user record.\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by. At least one of id or email must be provided.\").optional(),\n email: z.string().describe(\"Contact email to filter by. At least one of id or email must be provided.\").optional(),\n}).describe(\"Filter to identify which contact to delete attributes from (by id or email).\"),\n}).describe(\"Request model for deleting user attributes in Specific.\");\nconst SpecificDeleteUserAttributes_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 SpecificDeleteUserAttributes_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: SpecificDeleteUserAttributes_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\"),\n}).describe(\"User/Contact information returned after deleting attributes.\");\nconst SpecificDeleteUserAttributes_DeleteUserAttributesDataSchema: z.ZodTypeAny = z.object({\n deleteUserAttributes: SpecificDeleteUserAttributes_UserSchema.nullable(),\n}).describe(\"Wrapper for the deleteUserAttributes data response.\");\nexport const SpecificDeleteUserAttributesOutput: z.ZodTypeAny = z.object({\n data: SpecificDeleteUserAttributes_DeleteUserAttributesDataSchema.nullable(),\n}).describe(\"Response model for deleteUserAttributes mutation.\");\n\nexport const specificDeleteUserAttributes = action(\"SPECIFIC_DELETE_USER_ATTRIBUTES\", {\n slug: \"specific-delete-user-attributes\",\n name: \"Delete User Attributes\",\n description: \"Tool to delete specific custom field attributes from a user record in the Specific platform. Use when you need to remove custom field values from a contact without deleting the contact itself.\",\n input: SpecificDeleteUserAttributesInput,\n output: SpecificDeleteUserAttributesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,EAC1I,CAAC,CAAC,CAAC,SAAS,yEAAyE;CACnF,OAAO,EAAE,OAAO;EAChB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC3G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,6CAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,SAAS,sBAAsB;AAClC,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACtC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACvD,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,8DAA4E,EAAE,OAAO,EACzF,sBAAsB,wCAAwC,SAAS,EACzE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAKjE,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,MAAM,4DAA4D,SAAS,EAC7E,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user-attributes.mjs","names":[],"sources":["../../src/actions/delete-user-attributes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteUserAttributesInput = z.object({\n data: z.object({\n keys: z.array(z.string()).describe(\"A non-empty array of strings representing the custom field keys to be removed from the user record.\"),\n}).describe(\"Specifies which custom field attributes to delete from the user record.\"),\n where: z.object({\n id: z.string().describe(\"Contact ID to filter by. At least one of id or email must be provided.\").optional(),\n email: z.string().describe(\"Contact email to filter by. At least one of id or email must be provided.\").optional(),\n}).describe(\"Filter to identify which contact to delete attributes from (by id or email).\"),\n}).describe(\"Request model for deleting user attributes in Specific.\");\nconst SpecificDeleteUserAttributes_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 SpecificDeleteUserAttributes_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: SpecificDeleteUserAttributes_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID\").nullable(),\n}).describe(\"User/Contact information returned after deleting attributes.\");\nconst SpecificDeleteUserAttributes_DeleteUserAttributesDataSchema = z.object({\n deleteUserAttributes: SpecificDeleteUserAttributes_UserSchema.nullable(),\n}).describe(\"Wrapper for the deleteUserAttributes data response.\");\nexport const SpecificDeleteUserAttributesOutput = z.object({\n data: SpecificDeleteUserAttributes_DeleteUserAttributesDataSchema.nullable(),\n}).describe(\"Response model for deleteUserAttributes mutation.\");\n\nexport const specificDeleteUserAttributes = action(\"SPECIFIC_DELETE_USER_ATTRIBUTES\", {\n slug: \"specific-delete-user-attributes\",\n name: \"Delete User Attributes\",\n description: \"Tool to delete specific custom field attributes from a user record in the Specific platform. Use when you need to remove custom field values from a contact without deleting the contact itself.\",\n input: SpecificDeleteUserAttributesInput,\n output: SpecificDeleteUserAttributesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,EACf,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qGAAqG,EAC1I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eleteUser_CompanySchema = zod.z.object({
10
10
  name: zod.z.string().describe("Company name.").nullable().optional()
11
11
  }).describe("Company information associated with a user.");
12
12
  const SpecificDeleteUserOutput = zod.z.object({
13
- id: zod.z.string().describe("The unique identifier of the deleted user."),
14
- name: zod.z.string().describe("The name of the deleted user."),
13
+ id: zod.z.string().describe("The unique identifier of the deleted user.").nullable(),
14
+ name: zod.z.string().describe("The name of the deleted user.").nullable(),
15
15
  email: zod.z.string().describe("The email address of the deleted user.").nullable().optional(),
16
16
  company: SpecificDeleteUser_CompanySchema.nullable().optional(),
17
- visitorId: zod.z.string().describe("Internal Specific ID for the deleted user.")
17
+ visitorId: zod.z.string().describe("Internal Specific ID for the deleted user.").nullable()
18
18
  }).describe("Response model containing the deleted user's information.");
19
19
  const specificDeleteUser = require_action.action("SPECIFIC_DELETE_USER", {
20
20
  slug: "specific-delete-user",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteUserInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the user to delete. Either user_id or email must be provided.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user to delete. Either user_id or email must be provided.\").optional(),\n}).describe(\"Request model for deleting a user from the Specific platform.\");\nconst SpecificDeleteUser_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n}).describe(\"Company information associated with a user.\");\nexport const SpecificDeleteUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the deleted user.\"),\n name: z.string().describe(\"The name of the deleted user.\"),\n email: z.string().describe(\"The email address of the deleted user.\").nullable().optional(),\n company: SpecificDeleteUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID for the deleted user.\"),\n}).describe(\"Response model containing the deleted user's information.\");\n\nexport const specificDeleteUser = action(\"SPECIFIC_DELETE_USER\", {\n slug: \"specific-delete-user\",\n name: \"Delete User\",\n description: \"Tool to remove a user record from the Specific platform. Use when you need to permanently delete a contact from the workspace.\",\n input: SpecificDeleteUserInput,\n output: SpecificDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AAC7E,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteUserInput = z.object({\n email: z.string().describe(\"The email address of the user to delete. Either user_id or email must be provided.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user to delete. Either user_id or email must be provided.\").optional(),\n}).describe(\"Request model for deleting a user from the Specific platform.\");\nconst SpecificDeleteUser_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n}).describe(\"Company information associated with a user.\");\nexport const SpecificDeleteUserOutput = z.object({\n id: z.string().describe(\"The unique identifier of the deleted user.\").nullable(),\n name: z.string().describe(\"The name of the deleted user.\").nullable(),\n email: z.string().describe(\"The email address of the deleted user.\").nullable().optional(),\n company: SpecificDeleteUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID for the deleted user.\").nullable(),\n}).describe(\"Response model containing the deleted user's information.\");\n\nexport const specificDeleteUser = action(\"SPECIFIC_DELETE_USER\", {\n slug: \"specific-delete-user\",\n name: \"Delete User\",\n description: \"Tool to remove a user record from the Specific platform. Use when you need to permanently delete a contact from the workspace.\",\n input: SpecificDeleteUserInput,\n output: SpecificDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,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/delete-user.d.ts
4
- declare const SpecificDeleteUserInput: z.ZodTypeAny;
5
- declare const SpecificDeleteUserOutput: z.ZodTypeAny;
6
- declare const specificDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificDeleteUserInput: z.ZodObject<{
5
+ email: z.ZodOptional<z.ZodString>;
6
+ user_id: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SpecificDeleteUserOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$strip>>>;
16
+ visitorId: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const specificDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ email?: string | undefined;
20
+ user_id?: string | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { specificDeleteUser };
9
24
  //# sourceMappingURL=delete-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGoC;AAAA,cAK/D,wBAAA,EAA0B,CAAA,CAAE,UAM+B;AAAA,cAE3D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-user.d.ts
4
- declare const SpecificDeleteUserInput: z.ZodTypeAny;
5
- declare const SpecificDeleteUserOutput: z.ZodTypeAny;
6
- declare const specificDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificDeleteUserInput: z.ZodObject<{
5
+ email: z.ZodOptional<z.ZodString>;
6
+ user_id: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SpecificDeleteUserOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$strip>>>;
16
+ visitorId: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const specificDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ email?: string | undefined;
20
+ user_id?: string | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { specificDeleteUser };
9
24
  //# sourceMappingURL=delete-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGoC;AAAA,cAK/D,wBAAA,EAA0B,CAAA,CAAE,UAM+B;AAAA,cAE3D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAQvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAQxB,kBAAA,gCAAkB,wBAAA"}
@@ -15,11 +15,11 @@ const specificDeleteUser = action("SPECIFIC_DELETE_USER", {
15
15
  description: "Tool to remove a user record from the Specific platform. Use when you need to permanently delete a contact from the workspace.",
16
16
  input: SpecificDeleteUserInput,
17
17
  output: z.object({
18
- id: z.string().describe("The unique identifier of the deleted user."),
19
- name: z.string().describe("The name of the deleted user."),
18
+ id: z.string().describe("The unique identifier of the deleted user.").nullable(),
19
+ name: z.string().describe("The name of the deleted user.").nullable(),
20
20
  email: z.string().describe("The email address of the deleted user.").nullable().optional(),
21
21
  company: SpecificDeleteUser_CompanySchema.nullable().optional(),
22
- visitorId: z.string().describe("Internal Specific ID for the deleted user.")
22
+ visitorId: z.string().describe("Internal Specific ID for the deleted user.").nullable()
23
23
  }).describe("Response model containing the deleted user's information.")
24
24
  });
25
25
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteUserInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the user to delete. Either user_id or email must be provided.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user to delete. Either user_id or email must be provided.\").optional(),\n}).describe(\"Request model for deleting a user from the Specific platform.\");\nconst SpecificDeleteUser_CompanySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n}).describe(\"Company information associated with a user.\");\nexport const SpecificDeleteUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the deleted user.\"),\n name: z.string().describe(\"The name of the deleted user.\"),\n email: z.string().describe(\"The email address of the deleted user.\").nullable().optional(),\n company: SpecificDeleteUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID for the deleted user.\"),\n}).describe(\"Response model containing the deleted user's information.\");\n\nexport const specificDeleteUser = action(\"SPECIFIC_DELETE_USER\", {\n slug: \"specific-delete-user\",\n name: \"Delete User\",\n description: \"Tool to remove a user record from the Specific platform. Use when you need to permanently delete a contact from the workspace.\",\n input: SpecificDeleteUserInput,\n output: SpecificDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC1H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AASzD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC7E,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificDeleteUserInput = z.object({\n email: z.string().describe(\"The email address of the user to delete. Either user_id or email must be provided.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user to delete. Either user_id or email must be provided.\").optional(),\n}).describe(\"Request model for deleting a user from the Specific platform.\");\nconst SpecificDeleteUser_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable().optional(),\n name: z.string().describe(\"Company name.\").nullable().optional(),\n}).describe(\"Company information associated with a user.\");\nexport const SpecificDeleteUserOutput = z.object({\n id: z.string().describe(\"The unique identifier of the deleted user.\").nullable(),\n name: z.string().describe(\"The name of the deleted user.\").nullable(),\n email: z.string().describe(\"The email address of the deleted user.\").nullable().optional(),\n company: SpecificDeleteUser_CompanySchema.nullable().optional(),\n visitorId: z.string().describe(\"Internal Specific ID for the deleted user.\").nullable(),\n}).describe(\"Response model containing the deleted user's information.\");\n\nexport const specificDeleteUser = action(\"SPECIFIC_DELETE_USER\", {\n slug: \"specific-delete-user\",\n name: \"Delete User\",\n description: \"Tool to remove a user record from the Specific platform. Use when you need to permanently delete a contact from the workspace.\",\n input: SpecificDeleteUserInput,\n output: SpecificDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC1H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AASzD,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,iCAAiC,SAAS,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
@@ -3,8 +3,8 @@ let zod = require("zod");
3
3
  //#region src/actions/get-my-workspace.ts
4
4
  const SpecificGetMyWorkspaceInput = zod.z.object({}).describe("Request model for retrieving current workspace information.\nNo parameters required as it uses the authenticated user's context.");
5
5
  const SpecificGetMyWorkspace_MyWorkspaceDataSchema = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier for the workspace"),
7
- name: zod.z.string().describe("Display name of the workspace")
6
+ id: zod.z.string().describe("Unique identifier for the workspace").nullable(),
7
+ name: zod.z.string().describe("Display name of the workspace").nullable()
8
8
  }).describe("Workspace information returned by the myWorkspace query.");
9
9
  const SpecificGetMyWorkspace_GraphQLDataWrapperSchema = zod.z.object({ myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable() }).describe("Data wrapper containing the myWorkspace field.");
10
10
  const SpecificGetMyWorkspaceOutput = zod.z.object({ data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable() }).describe("Response model for the myWorkspace GraphQL query.");
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-workspace.cjs","names":["z","action"],"sources":["../../src/actions/get-my-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificGetMyWorkspaceInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\"),\n name: z.string().describe(\"Display name of the workspace\"),\n}).describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema: z.ZodTypeAny = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput: z.ZodTypeAny = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).describe(\"Response model for the myWorkspace GraphQL query.\");\n\nexport const specificGetMyWorkspace = action(\"SPECIFIC_GET_MY_WORKSPACE\", {\n slug: \"specific-get-my-workspace\",\n name: \"Get My Workspace\",\n description: \"Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.\",\n input: SpecificGetMyWorkspaceInput,\n output: SpecificGetMyWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACjN,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC3D,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,kDAAgEA,IAAAA,EAAE,OAAO,EAC7E,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-my-workspace.cjs","names":["z","action"],"sources":["../../src/actions/get-my-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificGetMyWorkspaceInput = z.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\").nullable(),\n name: z.string().describe(\"Display name of the workspace\").nullable(),\n}).describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).describe(\"Response model for the myWorkspace GraphQL query.\");\n\nexport const specificGetMyWorkspace = action(\"SPECIFIC_GET_MY_WORKSPACE\", {\n slug: \"specific-get-my-workspace\",\n name: \"Get My Workspace\",\n description: \"Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.\",\n input: SpecificGetMyWorkspaceInput,\n output: SpecificGetMyWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACnM,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-my-workspace.d.ts
4
- declare const SpecificGetMyWorkspaceInput: z.ZodTypeAny;
5
- declare const SpecificGetMyWorkspaceOutput: z.ZodTypeAny;
6
- declare const specificGetMyWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificGetMyWorkspaceInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SpecificGetMyWorkspaceOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ myWorkspace: z.ZodNullable<z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ }, z.core.$strip>>;
12
+ }, z.core.$strip>;
13
+ declare const specificGetMyWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { specificGetMyWorkspace };
9
16
  //# sourceMappingURL=get-my-workspace.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-workspace.d.cts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAsK;AAAA,cAQrM,4BAAA,EAA8B,CAAA,CAAE,UAEmB;AAAA,cAEnD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-my-workspace.d.cts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-my-workspace.d.ts
4
- declare const SpecificGetMyWorkspaceInput: z.ZodTypeAny;
5
- declare const SpecificGetMyWorkspaceOutput: z.ZodTypeAny;
6
- declare const specificGetMyWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpecificGetMyWorkspaceInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SpecificGetMyWorkspaceOutput: z.ZodObject<{
6
+ data: z.ZodNullable<z.ZodObject<{
7
+ myWorkspace: z.ZodNullable<z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ }, z.core.$strip>>;
12
+ }, z.core.$strip>;
13
+ declare const specificGetMyWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { specificGetMyWorkspace };
9
16
  //# sourceMappingURL=get-my-workspace.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-workspace.d.mts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAAsK;AAAA,cAQrM,4BAAA,EAA8B,CAAA,CAAE,UAEmB;AAAA,cAEnD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-my-workspace.d.mts","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;cAI5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,8 +3,8 @@ import { z } from "zod";
3
3
  //#region src/actions/get-my-workspace.ts
4
4
  const SpecificGetMyWorkspaceInput = z.object({}).describe("Request model for retrieving current workspace information.\nNo parameters required as it uses the authenticated user's context.");
5
5
  const SpecificGetMyWorkspace_MyWorkspaceDataSchema = z.object({
6
- id: z.string().describe("Unique identifier for the workspace"),
7
- name: z.string().describe("Display name of the workspace")
6
+ id: z.string().describe("Unique identifier for the workspace").nullable(),
7
+ name: z.string().describe("Display name of the workspace").nullable()
8
8
  }).describe("Workspace information returned by the myWorkspace query.");
9
9
  const SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({ myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable() }).describe("Data wrapper containing the myWorkspace field.");
10
10
  const specificGetMyWorkspace = action("SPECIFIC_GET_MY_WORKSPACE", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-my-workspace.mjs","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificGetMyWorkspaceInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\"),\n name: z.string().describe(\"Display name of the workspace\"),\n}).describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema: z.ZodTypeAny = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput: z.ZodTypeAny = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).describe(\"Response model for the myWorkspace GraphQL query.\");\n\nexport const specificGetMyWorkspace = action(\"SPECIFIC_GET_MY_WORKSPACE\", {\n slug: \"specific-get-my-workspace\",\n name: \"Get My Workspace\",\n description: \"Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.\",\n input: SpecificGetMyWorkspaceInput,\n output: SpecificGetMyWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACjN,MAAM,+CAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC3D,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,kDAAgE,EAAE,OAAO,EAC7E,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAK5D,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-my-workspace.mjs","names":[],"sources":["../../src/actions/get-my-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificGetMyWorkspaceInput = z.object({}).describe(\"Request model for retrieving current workspace information.\\nNo parameters required as it uses the authenticated user's context.\");\nconst SpecificGetMyWorkspace_MyWorkspaceDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the workspace\").nullable(),\n name: z.string().describe(\"Display name of the workspace\").nullable(),\n}).describe(\"Workspace information returned by the myWorkspace query.\");\nconst SpecificGetMyWorkspace_GraphQLDataWrapperSchema = z.object({\n myWorkspace: SpecificGetMyWorkspace_MyWorkspaceDataSchema.nullable(),\n}).describe(\"Data wrapper containing the myWorkspace field.\");\nexport const SpecificGetMyWorkspaceOutput = z.object({\n data: SpecificGetMyWorkspace_GraphQLDataWrapperSchema.nullable(),\n}).describe(\"Response model for the myWorkspace GraphQL query.\");\n\nexport const specificGetMyWorkspace = action(\"SPECIFIC_GET_MY_WORKSPACE\", {\n slug: \"specific-get-my-workspace\",\n name: \"Get My Workspace\",\n description: \"Tool to get current workspace information for the authenticated user. Use when you need to retrieve the workspace ID and name for the authenticated API key.\",\n input: SpecificGetMyWorkspaceInput,\n output: SpecificGetMyWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kIAAkI;AACnM,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,kDAAkD,EAAE,OAAO,EAC/D,aAAa,6CAA6C,SAAS,EACrE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAK5D,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0C,EAAE,OAAO,EACnD,MAAM,gDAAgD,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -34,10 +34,10 @@ const SpecificListCompaniesInput = zod.z.object({ where: zod.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 = zod.z.object({
37
- id: zod.z.string().describe("Company's unique identifier."),
38
- name: zod.z.string().describe("Company's name."),
39
- visitorId: zod.z.string().describe("Internal Specific visitor ID for the company."),
40
- usersCount: zod.z.number().int().describe("Number of users in the company.")
37
+ id: zod.z.string().describe("Company's unique identifier.").nullable(),
38
+ name: zod.z.string().describe("Company's name.").nullable(),
39
+ visitorId: zod.z.string().describe("Internal Specific visitor ID for the company.").nullable(),
40
+ usersCount: zod.z.number().int().describe("Number of users in the company.").nullable()
41
41
  }).describe("Company object from Specific platform.");
42
42
  const SpecificListCompaniesOutput = zod.z.object({ companies: zod.z.array(SpecificListCompanies_CompanySchema).describe("List of companies from the Specific platform.") }).describe("Response model for listing companies.");
43
43
  const specificListCompanies = require_action.action("SPECIFIC_LIST_COMPANIES", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-companies.cjs","names":["z","action"],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListCompaniesInput: z.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 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.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 object from Specific platform.\");\nexport const SpecificListCompaniesOutput: z.ZodTypeAny = 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,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,OAAOA,IAAAA,EAAE,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E,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CAC3C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;AACzE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,WAAWA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,+CAA+C,EAClH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-companies.cjs","names":["z","action"],"sources":["../../src/actions/list-companies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpecificListCompaniesInput = z.object({\n where: z.object({\n id: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n name: z.object({\n gt: z.string().describe(\"Greater than comparison.\").optional(),\n \"in\": z.array(z.string()).describe(\"List of values the field should match.\").optional(),\n is: z.string().describe(\"Type check for the field.\").optional(),\n lt: z.string().describe(\"Less than comparison.\").optional(),\n gte: z.string().describe(\"Greater than or equal comparison.\").optional(),\n lte: z.string().describe(\"Less than or equal comparison.\").optional(),\n not: z.string().describe(\"Value that the field should not equal.\").optional(),\n isNot: z.string().describe(\"Negated type check for the field.\").optional(),\n notIn: z.array(z.string()).describe(\"List of values the field should not match.\").optional(),\n equals: z.string().describe(\"Exact match for the field value.\").optional(),\n contains: z.string().describe(\"Substring that the field should contain.\").optional(),\n endsWith: z.string().describe(\"Suffix that the field should end with.\").optional(),\n startsWith: z.string().describe(\"Prefix that the field should start with.\").optional(),\n}).describe(\"Filter for string fields supporting various operators.\").optional(),\n}).describe(\"Filter for company fields.\").optional(),\n}).describe(\"Request model for listing companies from Specific platform.\");\nconst SpecificListCompanies_CompanySchema = z.object({\n id: z.string().describe(\"Company's unique identifier.\").nullable(),\n name: z.string().describe(\"Company's name.\").nullable(),\n visitorId: z.string().describe(\"Internal Specific visitor ID for the company.\").nullable(),\n usersCount: z.number().int().describe(\"Number of users in the company.\").nullable(),\n}).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,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,OAAOA,IAAAA,EAAE,OAAO;CAChB,IAAIA,IAAAA,EAAE,OAAO;EACb,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAA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