@keystrokehq/folk 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/dist/actions/create-company.cjs +5 -5
  2. package/dist/actions/create-company.cjs.map +1 -1
  3. package/dist/actions/create-company.d.cts +6 -5
  4. package/dist/actions/create-company.d.cts.map +1 -1
  5. package/dist/actions/create-company.d.mts +6 -5
  6. package/dist/actions/create-company.d.mts.map +1 -1
  7. package/dist/actions/create-company.mjs +5 -5
  8. package/dist/actions/create-company.mjs.map +1 -1
  9. package/dist/actions/create-note.cjs +5 -5
  10. package/dist/actions/create-note.cjs.map +1 -1
  11. package/dist/actions/create-note.d.cts +5 -5
  12. package/dist/actions/create-note.d.mts +5 -5
  13. package/dist/actions/create-note.mjs +5 -5
  14. package/dist/actions/create-note.mjs.map +1 -1
  15. package/dist/actions/create-person.cjs +9 -9
  16. package/dist/actions/create-person.cjs.map +1 -1
  17. package/dist/actions/create-person.d.cts +11 -10
  18. package/dist/actions/create-person.d.cts.map +1 -1
  19. package/dist/actions/create-person.d.mts +11 -10
  20. package/dist/actions/create-person.d.mts.map +1 -1
  21. package/dist/actions/create-person.mjs +9 -9
  22. package/dist/actions/create-person.mjs.map +1 -1
  23. package/dist/actions/delete-company.cjs +2 -2
  24. package/dist/actions/delete-company.cjs.map +1 -1
  25. package/dist/actions/delete-company.d.cts +2 -2
  26. package/dist/actions/delete-company.d.mts +2 -2
  27. package/dist/actions/delete-company.mjs +2 -2
  28. package/dist/actions/delete-company.mjs.map +1 -1
  29. package/dist/actions/delete-note.cjs +2 -2
  30. package/dist/actions/delete-note.cjs.map +1 -1
  31. package/dist/actions/delete-note.d.cts +2 -2
  32. package/dist/actions/delete-note.d.mts +2 -2
  33. package/dist/actions/delete-note.mjs +2 -2
  34. package/dist/actions/delete-note.mjs.map +1 -1
  35. package/dist/actions/delete-person.cjs +2 -2
  36. package/dist/actions/delete-person.cjs.map +1 -1
  37. package/dist/actions/delete-person.d.cts +2 -2
  38. package/dist/actions/delete-person.d.mts +2 -2
  39. package/dist/actions/delete-person.mjs +2 -2
  40. package/dist/actions/delete-person.mjs.map +1 -1
  41. package/dist/actions/delete-reminder.cjs +2 -2
  42. package/dist/actions/delete-reminder.cjs.map +1 -1
  43. package/dist/actions/delete-reminder.d.cts +2 -2
  44. package/dist/actions/delete-reminder.d.mts +2 -2
  45. package/dist/actions/delete-reminder.mjs +2 -2
  46. package/dist/actions/delete-reminder.mjs.map +1 -1
  47. package/dist/actions/get-company.cjs +3 -3
  48. package/dist/actions/get-company.cjs.map +1 -1
  49. package/dist/actions/get-company.d.cts +3 -3
  50. package/dist/actions/get-company.d.mts +3 -3
  51. package/dist/actions/get-company.mjs +3 -3
  52. package/dist/actions/get-company.mjs.map +1 -1
  53. package/dist/actions/get-current-workspace-user.cjs +2 -2
  54. package/dist/actions/get-current-workspace-user.cjs.map +1 -1
  55. package/dist/actions/get-current-workspace-user.d.cts +2 -2
  56. package/dist/actions/get-current-workspace-user.d.mts +2 -2
  57. package/dist/actions/get-current-workspace-user.mjs +2 -2
  58. package/dist/actions/get-current-workspace-user.mjs.map +1 -1
  59. package/dist/actions/get-note.cjs +7 -7
  60. package/dist/actions/get-note.cjs.map +1 -1
  61. package/dist/actions/get-note.d.cts +11 -11
  62. package/dist/actions/get-note.d.mts +11 -11
  63. package/dist/actions/get-note.mjs +7 -7
  64. package/dist/actions/get-note.mjs.map +1 -1
  65. package/dist/actions/get-person.cjs +4 -4
  66. package/dist/actions/get-person.cjs.map +1 -1
  67. package/dist/actions/get-person.d.cts +4 -4
  68. package/dist/actions/get-person.d.mts +4 -4
  69. package/dist/actions/get-person.mjs +4 -4
  70. package/dist/actions/get-person.mjs.map +1 -1
  71. package/dist/actions/get-user.cjs +2 -2
  72. package/dist/actions/get-user.cjs.map +1 -1
  73. package/dist/actions/get-user.d.cts +2 -2
  74. package/dist/actions/get-user.d.mts +2 -2
  75. package/dist/actions/get-user.mjs +2 -2
  76. package/dist/actions/get-user.mjs.map +1 -1
  77. package/dist/actions/list-companies.cjs +7 -7
  78. package/dist/actions/list-companies.cjs.map +1 -1
  79. package/dist/actions/list-companies.d.cts +8 -8
  80. package/dist/actions/list-companies.d.mts +8 -8
  81. package/dist/actions/list-companies.mjs +7 -7
  82. package/dist/actions/list-companies.mjs.map +1 -1
  83. package/dist/actions/list-group-custom-fields.cjs +6 -6
  84. package/dist/actions/list-group-custom-fields.cjs.map +1 -1
  85. package/dist/actions/list-group-custom-fields.d.cts +6 -6
  86. package/dist/actions/list-group-custom-fields.d.mts +6 -6
  87. package/dist/actions/list-group-custom-fields.mjs +6 -6
  88. package/dist/actions/list-group-custom-fields.mjs.map +1 -1
  89. package/dist/actions/list-groups.cjs +4 -4
  90. package/dist/actions/list-groups.cjs.map +1 -1
  91. package/dist/actions/list-groups.d.cts +4 -4
  92. package/dist/actions/list-groups.d.mts +4 -4
  93. package/dist/actions/list-groups.mjs +4 -4
  94. package/dist/actions/list-groups.mjs.map +1 -1
  95. package/dist/actions/list-notes.cjs +9 -9
  96. package/dist/actions/list-notes.cjs.map +1 -1
  97. package/dist/actions/list-notes.d.cts +9 -9
  98. package/dist/actions/list-notes.d.mts +9 -9
  99. package/dist/actions/list-notes.mjs +9 -9
  100. package/dist/actions/list-notes.mjs.map +1 -1
  101. package/dist/actions/list-people.cjs +9 -9
  102. package/dist/actions/list-people.cjs.map +1 -1
  103. package/dist/actions/list-people.d.cts +10 -10
  104. package/dist/actions/list-people.d.mts +10 -10
  105. package/dist/actions/list-people.mjs +9 -9
  106. package/dist/actions/list-people.mjs.map +1 -1
  107. package/dist/actions/list-reminders.cjs +6 -6
  108. package/dist/actions/list-reminders.cjs.map +1 -1
  109. package/dist/actions/list-reminders.d.cts +7 -7
  110. package/dist/actions/list-reminders.d.mts +7 -7
  111. package/dist/actions/list-reminders.mjs +6 -6
  112. package/dist/actions/list-reminders.mjs.map +1 -1
  113. package/dist/actions/list-users.cjs +4 -4
  114. package/dist/actions/list-users.cjs.map +1 -1
  115. package/dist/actions/list-users.d.cts +4 -4
  116. package/dist/actions/list-users.d.mts +4 -4
  117. package/dist/actions/list-users.mjs +4 -4
  118. package/dist/actions/list-users.mjs.map +1 -1
  119. package/dist/actions/list-webhooks.cjs +6 -6
  120. package/dist/actions/list-webhooks.cjs.map +1 -1
  121. package/dist/actions/list-webhooks.d.cts +6 -6
  122. package/dist/actions/list-webhooks.d.mts +6 -6
  123. package/dist/actions/list-webhooks.mjs +6 -6
  124. package/dist/actions/list-webhooks.mjs.map +1 -1
  125. package/dist/actions/update-company.cjs +4 -4
  126. package/dist/actions/update-company.cjs.map +1 -1
  127. package/dist/actions/update-company.d.cts +5 -4
  128. package/dist/actions/update-company.d.cts.map +1 -1
  129. package/dist/actions/update-company.d.mts +5 -4
  130. package/dist/actions/update-company.d.mts.map +1 -1
  131. package/dist/actions/update-company.mjs +4 -4
  132. package/dist/actions/update-company.mjs.map +1 -1
  133. package/dist/actions/update-note.cjs +5 -5
  134. package/dist/actions/update-note.cjs.map +1 -1
  135. package/dist/actions/update-note.d.cts +5 -5
  136. package/dist/actions/update-note.d.mts +5 -5
  137. package/dist/actions/update-note.mjs +5 -5
  138. package/dist/actions/update-note.mjs.map +1 -1
  139. package/dist/actions/update-person.cjs +7 -7
  140. package/dist/actions/update-person.cjs.map +1 -1
  141. package/dist/actions/update-person.d.cts +9 -7
  142. package/dist/actions/update-person.d.cts.map +1 -1
  143. package/dist/actions/update-person.d.mts +9 -7
  144. package/dist/actions/update-person.d.mts.map +1 -1
  145. package/dist/actions/update-person.mjs +7 -7
  146. package/dist/actions/update-person.mjs.map +1 -1
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListWebhooksInput = z.object({\n limit: z.number().int().default(20).describe(\"Number of webhooks to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from previous response's `nextLink`. Omit on first call.\").optional(),\n}).describe(\"Request parameters for listing webhooks in the workspace.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema = z.object({\n path: z.array(z.string()).describe(\"Filter by path (max 3 items).\").nullable().optional(),\n value: z.string().describe(\"Filter by value.\").nullable().optional(),\n groupId: z.string().describe(\"Filter by group ID.\").nullable().optional(),\n objectType: z.string().describe(\"Filter by object type.\").nullable().optional(),\n}).describe(\"Filter criteria for a webhook event.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema = z.object({\n filter: FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema.nullable().optional(),\n eventType: z.string().describe(\"Type of event the webhook subscribes to.\").nullable(),\n}).describe(\"A subscribed event for a webhook.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n name: z.string().describe(\"Name of the webhook.\").nullable(),\n status: z.string().describe(\"Status of the webhook (active or inactive).\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when webhook was created.\").nullable(),\n targetUrl: z.string().describe(\"Target URL where webhook events are sent.\").nullable(),\n subscribedEvents: z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema).describe(\"List of events the webhook subscribes to (max 20).\"),\n redactedSigningSecret: z.string().describe(\"Redacted signing secret for webhook verification.\").nullable(),\n}).describe(\"A webhook object in the workspace.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n}).describe(\"Pagination metadata.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema = z.object({\n items: z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema).describe(\"List of webhook objects.\"),\n pagination: FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema.nullable(),\n}).describe(\"Paginated list of webhooks.\");\nexport const FolkListWebhooksOutput = z.object({\n data: FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any.\").nullable().optional(),\n}).describe(\"Response schema for listing webhooks.\");\n\nexport const folkListWebhooks = action(\"FOLK_LIST_WEBHOOKS\", {\n slug: \"folk-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list webhooks in the workspace. Use when you need to retrieve configured webhooks with pagination support.\",\n input: FolkListWebhooksInput,\n output: FolkListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE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AA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListWebhooksInput = z.object({\n limit: z.number().int().default(20).describe(\"Number of webhooks to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from previous response's `nextLink`. Omit on first call.\").optional(),\n}).describe(\"Request parameters for listing webhooks in the workspace.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema = z.object({\n path: z.array(z.string()).describe(\"Filter by path (max 3 items).\").nullable().optional(),\n value: z.string().describe(\"Filter by value.\").nullable().optional(),\n groupId: z.string().describe(\"Filter by group ID.\").nullable().optional(),\n objectType: z.string().describe(\"Filter by object type.\").nullable().optional(),\n}).passthrough().describe(\"Filter criteria for a webhook event.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema = z.object({\n filter: FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema.nullable().optional(),\n eventType: z.string().describe(\"Type of event the webhook subscribes to.\").nullable(),\n}).passthrough().describe(\"A subscribed event for a webhook.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n name: z.string().describe(\"Name of the webhook.\").nullable(),\n status: z.string().describe(\"Status of the webhook (active or inactive).\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when webhook was created.\").nullable(),\n targetUrl: z.string().describe(\"Target URL where webhook events are sent.\").nullable(),\n subscribedEvents: z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema).describe(\"List of events the webhook subscribes to (max 20).\"),\n redactedSigningSecret: z.string().describe(\"Redacted signing secret for webhook verification.\").nullable(),\n}).passthrough().describe(\"A webhook object in the workspace.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema = z.object({\n items: z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema).describe(\"List of webhook objects.\"),\n pagination: FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema.nullable(),\n}).passthrough().describe(\"Paginated list of webhooks.\");\nexport const FolkListWebhooksOutput = z.object({\n data: FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing webhooks.\");\n\nexport const folkListWebhooks = action(\"FOLK_LIST_WEBHOOKS\", {\n slug: \"folk-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list webhooks in the workspace. Use when you need to retrieve configured webhooks with pagination support.\",\n input: FolkListWebhooksInput,\n output: FolkListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,8DAA8DA,IAAAA,EAAE,OAAO;CAC3E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,E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CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,0BAA0B;CACpG,YAAY,oDAAoD,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAM,8CAA8C,SAAS;CAC7D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -19,17 +19,17 @@ declare const FolkListWebhooksOutput: z.ZodObject<{
19
19
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  objectType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
23
  eventType: z.ZodNullable<z.ZodString>;
24
- }, z.core.$strip>>;
24
+ }, z.core.$loose>>;
25
25
  redactedSigningSecret: z.ZodNullable<z.ZodString>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  pagination: z.ZodNullable<z.ZodObject<{
28
28
  nextLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>;
30
- }, z.core.$strip>>;
29
+ }, z.core.$loose>>;
30
+ }, z.core.$loose>>;
31
31
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const folkListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  limit?: number | undefined;
35
35
  cursor?: string | undefined;
@@ -19,17 +19,17 @@ declare const FolkListWebhooksOutput: z.ZodObject<{
19
19
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  groupId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  objectType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>;
22
+ }, z.core.$loose>>>;
23
23
  eventType: z.ZodNullable<z.ZodString>;
24
- }, z.core.$strip>>;
24
+ }, z.core.$loose>>;
25
25
  redactedSigningSecret: z.ZodNullable<z.ZodString>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  pagination: z.ZodNullable<z.ZodObject<{
28
28
  nextLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>;
30
- }, z.core.$strip>>;
29
+ }, z.core.$loose>>;
30
+ }, z.core.$loose>>;
31
31
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const folkListWebhooks: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  limit?: number | undefined;
35
35
  cursor?: string | undefined;
@@ -10,11 +10,11 @@ const FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema = z.object({
10
10
  value: z.string().describe("Filter by value.").nullable().optional(),
11
11
  groupId: z.string().describe("Filter by group ID.").nullable().optional(),
12
12
  objectType: z.string().describe("Filter by object type.").nullable().optional()
13
- }).describe("Filter criteria for a webhook event.");
13
+ }).passthrough().describe("Filter criteria for a webhook event.");
14
14
  const FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema = z.object({
15
15
  filter: FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema.nullable().optional(),
16
16
  eventType: z.string().describe("Type of event the webhook subscribes to.").nullable()
17
- }).describe("A subscribed event for a webhook.");
17
+ }).passthrough().describe("A subscribed event for a webhook.");
18
18
  const FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema = z.object({
19
19
  id: z.string().describe("Unique identifier for the webhook.").nullable(),
20
20
  name: z.string().describe("Name of the webhook.").nullable(),
@@ -23,12 +23,12 @@ const FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema = z.object({
23
23
  targetUrl: z.string().describe("Target URL where webhook events are sent.").nullable(),
24
24
  subscribedEvents: z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema).describe("List of events the webhook subscribes to (max 20)."),
25
25
  redactedSigningSecret: z.string().describe("Redacted signing secret for webhook verification.").nullable()
26
- }).describe("A webhook object in the workspace.");
27
- const FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema = z.object({ nextLink: z.string().describe("URL for the next page of results.").nullable().optional() }).describe("Pagination metadata.");
26
+ }).passthrough().describe("A webhook object in the workspace.");
27
+ const FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema = z.object({ nextLink: z.string().describe("URL for the next page of results.").nullable().optional() }).passthrough().describe("Pagination metadata.");
28
28
  const FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema = z.object({
29
29
  items: z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema).describe("List of webhook objects."),
30
30
  pagination: FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema.nullable()
31
- }).describe("Paginated list of webhooks.");
31
+ }).passthrough().describe("Paginated list of webhooks.");
32
32
  const folkListWebhooks = action("FOLK_LIST_WEBHOOKS", {
33
33
  slug: "folk-list-webhooks",
34
34
  name: "List Webhooks",
@@ -37,7 +37,7 @@ const folkListWebhooks = action("FOLK_LIST_WEBHOOKS", {
37
37
  output: z.object({
38
38
  data: FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema.nullable(),
39
39
  deprecations: z.array(z.string()).describe("Deprecation warnings, if any.").nullable().optional()
40
- }).describe("Response schema for listing webhooks.")
40
+ }).passthrough().describe("Response schema for listing webhooks.")
41
41
  });
42
42
  //#endregion
43
43
  export { folkListWebhooks };
@@ -1 +1 @@
1
- {"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListWebhooksInput = z.object({\n limit: z.number().int().default(20).describe(\"Number of webhooks to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from previous response's `nextLink`. Omit on first call.\").optional(),\n}).describe(\"Request parameters for listing webhooks in the workspace.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema = z.object({\n path: z.array(z.string()).describe(\"Filter by path (max 3 items).\").nullable().optional(),\n value: z.string().describe(\"Filter by value.\").nullable().optional(),\n groupId: z.string().describe(\"Filter by group ID.\").nullable().optional(),\n objectType: z.string().describe(\"Filter by object type.\").nullable().optional(),\n}).describe(\"Filter criteria for a webhook event.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema = z.object({\n filter: FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema.nullable().optional(),\n eventType: z.string().describe(\"Type of event the webhook subscribes to.\").nullable(),\n}).describe(\"A subscribed event for a webhook.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n name: z.string().describe(\"Name of the webhook.\").nullable(),\n status: z.string().describe(\"Status of the webhook (active or inactive).\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when webhook was created.\").nullable(),\n targetUrl: z.string().describe(\"Target URL where webhook events are sent.\").nullable(),\n subscribedEvents: z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema).describe(\"List of events the webhook subscribes to (max 20).\"),\n redactedSigningSecret: z.string().describe(\"Redacted signing secret for webhook verification.\").nullable(),\n}).describe(\"A webhook object in the workspace.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n}).describe(\"Pagination metadata.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema = z.object({\n items: z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema).describe(\"List of webhook objects.\"),\n pagination: FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema.nullable(),\n}).describe(\"Paginated list of webhooks.\");\nexport const FolkListWebhooksOutput = z.object({\n data: FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any.\").nullable().optional(),\n}).describe(\"Response schema for listing webhooks.\");\n\nexport const folkListWebhooks = action(\"FOLK_LIST_WEBHOOKS\", {\n slug: \"folk-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list webhooks in the workspace. Use when you need to retrieve configured webhooks with pagination support.\",\n input: FolkListWebhooksInput,\n output: FolkListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAClH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,8DAA8D,EAAE,OAAO;CAC3E,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,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AC,CAAC,SAAS,sBAAsB;AAClC,MAAM,gDAAgD,EAAE,OAAO;CAC7D,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,0BAA0B;CACpG,YAAY,oDAAoD,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAMzC,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,MAAM,8CAA8C,SAAS;EAC7D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListWebhooksInput = z.object({\n limit: z.number().int().default(20).describe(\"Number of webhooks to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from previous response's `nextLink`. Omit on first call.\").optional(),\n}).describe(\"Request parameters for listing webhooks in the workspace.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema = z.object({\n path: z.array(z.string()).describe(\"Filter by path (max 3 items).\").nullable().optional(),\n value: z.string().describe(\"Filter by value.\").nullable().optional(),\n groupId: z.string().describe(\"Filter by group ID.\").nullable().optional(),\n objectType: z.string().describe(\"Filter by object type.\").nullable().optional(),\n}).passthrough().describe(\"Filter criteria for a webhook event.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema = z.object({\n filter: FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookEventFilterSchema.nullable().optional(),\n eventType: z.string().describe(\"Type of event the webhook subscribes to.\").nullable(),\n}).passthrough().describe(\"A subscribed event for a webhook.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema = z.object({\n id: z.string().describe(\"Unique identifier for the webhook.\").nullable(),\n name: z.string().describe(\"Name of the webhook.\").nullable(),\n status: z.string().describe(\"Status of the webhook (active or inactive).\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when webhook was created.\").nullable(),\n targetUrl: z.string().describe(\"Target URL where webhook events are sent.\").nullable(),\n subscribedEvents: z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSSubscribedEventSchema).describe(\"List of events the webhook subscribes to (max 20).\"),\n redactedSigningSecret: z.string().describe(\"Redacted signing secret for webhook verification.\").nullable(),\n}).passthrough().describe(\"A webhook object in the workspace.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata.\");\nconst FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema = z.object({\n items: z.array(FolkListWebhooks_FOLK_LIST_WEBHOOKSWebhookSchema).describe(\"List of webhook objects.\"),\n pagination: FolkListWebhooks_FOLK_LIST_WEBHOOKSPaginationSchema.nullable(),\n}).passthrough().describe(\"Paginated list of webhooks.\");\nexport const FolkListWebhooksOutput = z.object({\n data: FolkListWebhooks_FOLK_LIST_WEBHOOKSDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing webhooks.\");\n\nexport const folkListWebhooks = action(\"FOLK_LIST_WEBHOOKS\", {\n slug: \"folk-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Tool to list webhooks in the workspace. Use when you need to retrieve configured webhooks with pagination support.\",\n input: FolkListWebhooksInput,\n output: FolkListWebhooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0DAA0D,CAAC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uB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,sDAAsD,EAAE,OAAO,EACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sBAAsB;AAChD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,0BAA0B;CACpG,YAAY,oDAAoD,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAMvD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,MAAM,8CAA8C,SAAS;EAC7D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const FolkUpdateCompanyInput = zod.z.object({
5
5
  name: zod.z.string().describe("The name of the company.").optional(),
6
6
  urls: zod.z.array(zod.z.string()).describe("List of URLs associated with the company; replaces existing URLs.").optional(),
7
7
  emails: zod.z.array(zod.z.string()).describe("List of email addresses associated with the company; replaces existing emails.").optional(),
8
- groups: zod.z.array(zod.z.object({ id: zod.z.string().describe("ID of the group to add the company to.") }).describe("Reference to a group by its ID.")).describe("Groups to associate with the company; list values replace existing groups.").optional(),
8
+ groups: zod.z.array(zod.z.object({ id: zod.z.string().describe("ID of the group to add the company to.") }).passthrough().describe("Reference to a group by its ID.")).describe("Groups to associate with the company; list values replace existing groups.").optional(),
9
9
  phones: zod.z.array(zod.z.string()).describe("List of phone numbers associated with the company; replaces existing phones.").optional(),
10
10
  addresses: zod.z.array(zod.z.string()).describe("List of addresses associated with the company; replaces existing addresses.").optional(),
11
11
  companyId: zod.z.string().describe("The ID of the company to update. Must be exactly 40 characters long."),
@@ -15,7 +15,7 @@ const FolkUpdateCompanyInput = zod.z.object({
15
15
  const FolkUpdateCompany_UpdateCompanyGroupSchema = zod.z.object({
16
16
  id: zod.z.string().describe("Group ID.").nullable(),
17
17
  name: zod.z.string().describe("Group name.").nullable()
18
- }).describe("A group associated with the company in the response.");
18
+ }).passthrough().describe("A group associated with the company in the response.");
19
19
  const FolkUpdateCompany_UpdateCompanyResponseDataSchema = zod.z.object({
20
20
  id: zod.z.string().describe("Unique ID of the company.").nullable(),
21
21
  name: zod.z.string().describe("Name of the company.").nullable(),
@@ -26,11 +26,11 @@ const FolkUpdateCompany_UpdateCompanyResponseDataSchema = zod.z.object({
26
26
  addresses: zod.z.array(zod.z.string()).describe("Addresses associated with the company."),
27
27
  description: zod.z.string().describe("Description of the company.").nullable().optional(),
28
28
  customFieldValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values keyed by group ID.")
29
- }).describe("Data returned after updating a company.");
29
+ }).passthrough().describe("Data returned after updating a company.");
30
30
  const FolkUpdateCompanyOutput = zod.z.object({
31
31
  data: FolkUpdateCompany_UpdateCompanyResponseDataSchema.nullable(),
32
32
  deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
33
- }).describe("Full response schema for updating a company.");
33
+ }).passthrough().describe("Full response schema for updating a company.");
34
34
  const folkUpdateCompany = require_action.action("FOLK_UPDATE_COMPANY", {
35
35
  slug: "folk-update-company",
36
36
  name: "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 FolkUpdateCompanyInput = z.object({\n name: z.string().describe(\"The name of the company.\").optional(),\n urls: z.array(z.string()).describe(\"List of URLs associated with the company; replaces existing URLs.\").optional(),\n emails: z.array(z.string()).describe(\"List of email addresses associated with the company; replaces existing emails.\").optional(),\n groups: z.array(z.object({\n id: z.string().describe(\"ID of the group to add the company to.\"),\n}).describe(\"Reference to a group by its ID.\")).describe(\"Groups to associate with the company; list values replace existing groups.\").optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers associated with the company; replaces existing phones.\").optional(),\n addresses: z.array(z.string()).describe(\"List of addresses associated with the company; replaces existing addresses.\").optional(),\n companyId: z.string().describe(\"The ID of the company to update. Must be exactly 40 characters long.\"),\n description: z.string().describe(\"A short description of the company.\").optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values grouped by group ID. Values depend on field type: text, number, date, select, contact, user, etc.\").optional(),\n}).describe(\"Request schema for updating an existing company. Only provided fields will be updated; list fields replace existing values entirely.\");\nconst FolkUpdateCompany_UpdateCompanyGroupSchema = z.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).describe(\"A group associated with the company in the response.\");\nconst FolkUpdateCompany_UpdateCompanyResponseDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the company.\").nullable(),\n name: z.string().describe(\"Name of the company.\").nullable(),\n urls: z.array(z.string()).describe(\"URLs associated with the company.\"),\n emails: z.array(z.string()).describe(\"Email addresses associated with the company.\"),\n groups: z.array(FolkUpdateCompany_UpdateCompanyGroupSchema).describe(\"Groups associated with the company.\"),\n phones: z.array(z.string()).describe(\"Phone numbers associated with the company.\"),\n addresses: z.array(z.string()).describe(\"Addresses associated with the company.\"),\n description: z.string().describe(\"Description of the company.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by group ID.\"),\n}).describe(\"Data returned after updating a company.\");\nexport const FolkUpdateCompanyOutput = z.object({\n data: FolkUpdateCompany_UpdateCompanyResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Full response schema for updating a company.\");\n\nexport const folkUpdateCompany = action(\"FOLK_UPDATE_COMPANY\", {\n slug: \"folk-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company in the workspace. Use after confirming the company ID; only provided fields are updated and list fields replace existing values.\",\n input: FolkUpdateCompanyInput,\n output: FolkUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EAClE,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC9I,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC9H,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAChI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CA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SAAS;CACjE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,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 FolkUpdateCompanyInput = z.object({\n name: z.string().describe(\"The name of the company.\").optional(),\n urls: z.array(z.string()).describe(\"List of URLs associated with the company; replaces existing URLs.\").optional(),\n emails: z.array(z.string()).describe(\"List of email addresses associated with the company; replaces existing emails.\").optional(),\n groups: z.array(z.object({\n id: z.string().describe(\"ID of the group to add the company to.\"),\n}).passthrough().describe(\"Reference to a group by its ID.\")).describe(\"Groups to associate with the company; list values replace existing groups.\").optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers associated with the company; replaces existing phones.\").optional(),\n addresses: z.array(z.string()).describe(\"List of addresses associated with the company; replaces existing addresses.\").optional(),\n companyId: z.string().describe(\"The ID of the company to update. Must be exactly 40 characters long.\"),\n description: z.string().describe(\"A short description of the company.\").optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values grouped by group ID. Values depend on field type: text, number, date, select, contact, user, etc.\").optional(),\n}).describe(\"Request schema for updating an existing company. Only provided fields will be updated; list fields replace existing values entirely.\");\nconst FolkUpdateCompany_UpdateCompanyGroupSchema = z.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).passthrough().describe(\"A group associated with the company in the response.\");\nconst FolkUpdateCompany_UpdateCompanyResponseDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the company.\").nullable(),\n name: z.string().describe(\"Name of the company.\").nullable(),\n urls: z.array(z.string()).describe(\"URLs associated with the company.\"),\n emails: z.array(z.string()).describe(\"Email addresses associated with the company.\"),\n groups: z.array(FolkUpdateCompany_UpdateCompanyGroupSchema).describe(\"Groups associated with the company.\"),\n phones: z.array(z.string()).describe(\"Phone numbers associated with the company.\"),\n addresses: z.array(z.string()).describe(\"Addresses associated with the company.\"),\n description: z.string().describe(\"Description of the company.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by group ID.\"),\n}).passthrough().describe(\"Data returned after updating a company.\");\nexport const FolkUpdateCompanyOutput = z.object({\n data: FolkUpdateCompany_UpdateCompanyResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for updating a company.\");\n\nexport const folkUpdateCompany = action(\"FOLK_UPDATE_COMPANY\", {\n slug: \"folk-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company in the workspace. Use after confirming the company ID; only provided fields are updated and list fields replace existing values.\",\n input: FolkUpdateCompanyInput,\n output: FolkUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAChI,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,CA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CAAqC;CAC1G,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACjF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAM,kDAAkD,SAAS;CACjE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const FolkUpdateCompanyInput: z.ZodObject<{
7
7
  emails: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
8
  groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
9
  id: z.ZodString;
10
- }, z.core.$strip>>>;
10
+ }, z.core.$loose>>>;
11
11
  phones: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
12
  addresses: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
13
  companyId: z.ZodString;
@@ -23,20 +23,21 @@ declare const FolkUpdateCompanyOutput: z.ZodObject<{
23
23
  groups: z.ZodArray<z.ZodObject<{
24
24
  id: z.ZodNullable<z.ZodString>;
25
25
  name: z.ZodNullable<z.ZodString>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  phones: z.ZodArray<z.ZodString>;
28
28
  addresses: z.ZodArray<z.ZodString>;
29
29
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  customFieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
33
- }, z.core.$strip>;
33
+ }, z.core.$loose>;
34
34
  declare const folkUpdateCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  companyId: string;
36
36
  name?: string | undefined;
37
37
  urls?: string[] | undefined;
38
38
  emails?: string[] | undefined;
39
39
  groups?: {
40
+ [x: string]: unknown;
40
41
  id: string;
41
42
  }[] | undefined;
42
43
  phones?: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"update-company.d.cts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA4BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA;;;;;;;;;;;sBAM5B,MAAA;AAAA"}
1
+ {"version":3,"file":"update-company.d.cts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA4BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA;;;;;;;;;;;;sBAM5B,MAAA;AAAA"}
@@ -7,7 +7,7 @@ declare const FolkUpdateCompanyInput: z.ZodObject<{
7
7
  emails: z.ZodOptional<z.ZodArray<z.ZodString>>;
8
8
  groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
9
9
  id: z.ZodString;
10
- }, z.core.$strip>>>;
10
+ }, z.core.$loose>>>;
11
11
  phones: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
12
  addresses: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
13
  companyId: z.ZodString;
@@ -23,20 +23,21 @@ declare const FolkUpdateCompanyOutput: z.ZodObject<{
23
23
  groups: z.ZodArray<z.ZodObject<{
24
24
  id: z.ZodNullable<z.ZodString>;
25
25
  name: z.ZodNullable<z.ZodString>;
26
- }, z.core.$strip>>;
26
+ }, z.core.$loose>>;
27
27
  phones: z.ZodArray<z.ZodString>;
28
28
  addresses: z.ZodArray<z.ZodString>;
29
29
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  customFieldValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
33
- }, z.core.$strip>;
33
+ }, z.core.$loose>;
34
34
  declare const folkUpdateCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  companyId: string;
36
36
  name?: string | undefined;
37
37
  urls?: string[] | undefined;
38
38
  emails?: string[] | undefined;
39
39
  groups?: {
40
+ [x: string]: unknown;
40
41
  id: string;
41
42
  }[] | undefined;
42
43
  phones?: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"update-company.d.mts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA4BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA;;;;;;;;;;;sBAM5B,MAAA;AAAA"}
1
+ {"version":3,"file":"update-company.d.mts","names":[],"sources":["../../src/actions/update-company.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cA4BtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKvB,iBAAA,gCAAiB,wBAAA;;;;;;;;;;;;sBAM5B,MAAA;AAAA"}
@@ -5,7 +5,7 @@ const FolkUpdateCompanyInput = z.object({
5
5
  name: z.string().describe("The name of the company.").optional(),
6
6
  urls: z.array(z.string()).describe("List of URLs associated with the company; replaces existing URLs.").optional(),
7
7
  emails: z.array(z.string()).describe("List of email addresses associated with the company; replaces existing emails.").optional(),
8
- groups: z.array(z.object({ id: z.string().describe("ID of the group to add the company to.") }).describe("Reference to a group by its ID.")).describe("Groups to associate with the company; list values replace existing groups.").optional(),
8
+ groups: z.array(z.object({ id: z.string().describe("ID of the group to add the company to.") }).passthrough().describe("Reference to a group by its ID.")).describe("Groups to associate with the company; list values replace existing groups.").optional(),
9
9
  phones: z.array(z.string()).describe("List of phone numbers associated with the company; replaces existing phones.").optional(),
10
10
  addresses: z.array(z.string()).describe("List of addresses associated with the company; replaces existing addresses.").optional(),
11
11
  companyId: z.string().describe("The ID of the company to update. Must be exactly 40 characters long."),
@@ -15,7 +15,7 @@ const FolkUpdateCompanyInput = z.object({
15
15
  const FolkUpdateCompany_UpdateCompanyGroupSchema = z.object({
16
16
  id: z.string().describe("Group ID.").nullable(),
17
17
  name: z.string().describe("Group name.").nullable()
18
- }).describe("A group associated with the company in the response.");
18
+ }).passthrough().describe("A group associated with the company in the response.");
19
19
  const FolkUpdateCompany_UpdateCompanyResponseDataSchema = z.object({
20
20
  id: z.string().describe("Unique ID of the company.").nullable(),
21
21
  name: z.string().describe("Name of the company.").nullable(),
@@ -26,7 +26,7 @@ const FolkUpdateCompany_UpdateCompanyResponseDataSchema = z.object({
26
26
  addresses: z.array(z.string()).describe("Addresses associated with the company."),
27
27
  description: z.string().describe("Description of the company.").nullable().optional(),
28
28
  customFieldValues: z.record(z.string(), z.unknown()).describe("Custom field values keyed by group ID.")
29
- }).describe("Data returned after updating a company.");
29
+ }).passthrough().describe("Data returned after updating a company.");
30
30
  const folkUpdateCompany = action("FOLK_UPDATE_COMPANY", {
31
31
  slug: "folk-update-company",
32
32
  name: "Update Company",
@@ -35,7 +35,7 @@ const folkUpdateCompany = action("FOLK_UPDATE_COMPANY", {
35
35
  output: z.object({
36
36
  data: FolkUpdateCompany_UpdateCompanyResponseDataSchema.nullable(),
37
37
  deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
38
- }).describe("Full response schema for updating a company.")
38
+ }).passthrough().describe("Full response schema for updating a company.")
39
39
  });
40
40
  //#endregion
41
41
  export { folkUpdateCompany };
@@ -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 FolkUpdateCompanyInput = z.object({\n name: z.string().describe(\"The name of the company.\").optional(),\n urls: z.array(z.string()).describe(\"List of URLs associated with the company; replaces existing URLs.\").optional(),\n emails: z.array(z.string()).describe(\"List of email addresses associated with the company; replaces existing emails.\").optional(),\n groups: z.array(z.object({\n id: z.string().describe(\"ID of the group to add the company to.\"),\n}).describe(\"Reference to a group by its ID.\")).describe(\"Groups to associate with the company; list values replace existing groups.\").optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers associated with the company; replaces existing phones.\").optional(),\n addresses: z.array(z.string()).describe(\"List of addresses associated with the company; replaces existing addresses.\").optional(),\n companyId: z.string().describe(\"The ID of the company to update. Must be exactly 40 characters long.\"),\n description: z.string().describe(\"A short description of the company.\").optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values grouped by group ID. Values depend on field type: text, number, date, select, contact, user, etc.\").optional(),\n}).describe(\"Request schema for updating an existing company. Only provided fields will be updated; list fields replace existing values entirely.\");\nconst FolkUpdateCompany_UpdateCompanyGroupSchema = z.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).describe(\"A group associated with the company in the response.\");\nconst FolkUpdateCompany_UpdateCompanyResponseDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the company.\").nullable(),\n name: z.string().describe(\"Name of the company.\").nullable(),\n urls: z.array(z.string()).describe(\"URLs associated with the company.\"),\n emails: z.array(z.string()).describe(\"Email addresses associated with the company.\"),\n groups: z.array(FolkUpdateCompany_UpdateCompanyGroupSchema).describe(\"Groups associated with the company.\"),\n phones: z.array(z.string()).describe(\"Phone numbers associated with the company.\"),\n addresses: z.array(z.string()).describe(\"Addresses associated with the company.\"),\n description: z.string().describe(\"Description of the company.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by group ID.\"),\n}).describe(\"Data returned after updating a company.\");\nexport const FolkUpdateCompanyOutput = z.object({\n data: FolkUpdateCompany_UpdateCompanyResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Full response schema for updating a company.\");\n\nexport const folkUpdateCompany = action(\"FOLK_UPDATE_COMPANY\", {\n slug: \"folk-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company in the workspace. Use after confirming the company ID; only provided fields are updated and list fields replace existing values.\",\n input: FolkUpdateCompanyInput,\n output: FolkUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAChI,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EAClE,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAC9I,QAAQ,EAAE,MAAM,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B,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACxG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAMrD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,kDAAkD,SAAS;EACjE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,8CAOF;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 FolkUpdateCompanyInput = z.object({\n name: z.string().describe(\"The name of the company.\").optional(),\n urls: z.array(z.string()).describe(\"List of URLs associated with the company; replaces existing URLs.\").optional(),\n emails: z.array(z.string()).describe(\"List of email addresses associated with the company; replaces existing emails.\").optional(),\n groups: z.array(z.object({\n id: z.string().describe(\"ID of the group to add the company to.\"),\n}).passthrough().describe(\"Reference to a group by its ID.\")).describe(\"Groups to associate with the company; list values replace existing groups.\").optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers associated with the company; replaces existing phones.\").optional(),\n addresses: z.array(z.string()).describe(\"List of addresses associated with the company; replaces existing addresses.\").optional(),\n companyId: z.string().describe(\"The ID of the company to update. Must be exactly 40 characters long.\"),\n description: z.string().describe(\"A short description of the company.\").optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values grouped by group ID. Values depend on field type: text, number, date, select, contact, user, etc.\").optional(),\n}).describe(\"Request schema for updating an existing company. Only provided fields will be updated; list fields replace existing values entirely.\");\nconst FolkUpdateCompany_UpdateCompanyGroupSchema = z.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).passthrough().describe(\"A group associated with the company in the response.\");\nconst FolkUpdateCompany_UpdateCompanyResponseDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the company.\").nullable(),\n name: z.string().describe(\"Name of the company.\").nullable(),\n urls: z.array(z.string()).describe(\"URLs associated with the company.\"),\n emails: z.array(z.string()).describe(\"Email addresses associated with the company.\"),\n groups: z.array(FolkUpdateCompany_UpdateCompanyGroupSchema).describe(\"Groups associated with the company.\"),\n phones: z.array(z.string()).describe(\"Phone numbers associated with the company.\"),\n addresses: z.array(z.string()).describe(\"Addresses associated with the company.\"),\n description: z.string().describe(\"Description of the company.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by group ID.\"),\n}).passthrough().describe(\"Data returned after updating a company.\");\nexport const FolkUpdateCompanyOutput = z.object({\n data: FolkUpdateCompany_UpdateCompanyResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for updating a company.\");\n\nexport const folkUpdateCompany = action(\"FOLK_UPDATE_COMPANY\", {\n slug: \"folk-update-company\",\n name: \"Update Company\",\n description: \"Tool to update an existing company in the workspace. Use after confirming the company ID; only provided fields are updated and list fields replace existing values.\",\n input: FolkUpdateCompanyInput,\n output: FolkUpdateCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAChI,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EAClE,CAAC,CAAC,CAAC,Y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,CAAC,CAAC,SAAS,wCAAwC;CAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAMnE,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,kDAAkD,SAAS;EACjE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -10,16 +10,16 @@ const FolkUpdateNote_UpdateNoteAuthorSchema = zod.z.object({
10
10
  id: zod.z.string().describe("Author ID if available.").nullable().optional(),
11
11
  email: zod.z.string().describe("Email of the author.").nullable().optional(),
12
12
  fullName: zod.z.string().describe("Full name of the author.").nullable().optional()
13
- }).describe("Author information for the note (user, assistant, or deleted).");
13
+ }).passthrough().describe("Author information for the note (user, assistant, or deleted).");
14
14
  const FolkUpdateNote_UpdateNoteEntitySchema = zod.z.object({
15
15
  id: zod.z.string().describe("Entity ID.").nullable(),
16
16
  fullName: zod.z.string().describe("Full name of the entity.").nullable().optional(),
17
17
  entityType: zod.z.string().describe("Type of entity (person, company, etc).").nullable()
18
- }).describe("Entity (person, company, or object) connected to the note.");
18
+ }).passthrough().describe("Entity (person, company, or object) connected to the note.");
19
19
  const FolkUpdateNote_UpdateNoteParentNoteSchema = zod.z.object({
20
20
  id: zod.z.string().describe("Parent note ID.").nullable(),
21
21
  content: zod.z.string().describe("Parent note content.").nullable().optional()
22
- }).describe("Parent note reference if this note is a reply.");
22
+ }).passthrough().describe("Parent note reference if this note is a reply.");
23
23
  const FolkUpdateNote_UpdateNoteResponseDataSchema = zod.z.object({
24
24
  id: zod.z.string().describe("Unique ID of the note.").nullable(),
25
25
  author: FolkUpdateNote_UpdateNoteAuthorSchema.nullable().optional(),
@@ -28,8 +28,8 @@ const FolkUpdateNote_UpdateNoteResponseDataSchema = zod.z.object({
28
28
  createdAt: zod.z.string().describe("ISO 8601 timestamp when the note was created.").nullable().optional(),
29
29
  parentNote: FolkUpdateNote_UpdateNoteParentNoteSchema.nullable().optional(),
30
30
  visibility: zod.z.string().describe("Visibility of the note (public or private).").nullable()
31
- }).describe("Data returned after updating a note.");
32
- const FolkUpdateNoteOutput = zod.z.object({ data: FolkUpdateNote_UpdateNoteResponseDataSchema.nullable() }).describe("Full response schema for updating a note.");
31
+ }).passthrough().describe("Data returned after updating a note.");
32
+ const FolkUpdateNoteOutput = zod.z.object({ data: FolkUpdateNote_UpdateNoteResponseDataSchema.nullable() }).passthrough().describe("Full response schema for updating a note.");
33
33
  const folkUpdateNote = require_action.action("FOLK_UPDATE_NOTE", {
34
34
  slug: "folk-update-note",
35
35
  name: "Update Note",
@@ -1 +1 @@
1
- {"version":3,"file":"update-note.cjs","names":["z","action"],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkUpdateNoteInput = z.object({\n content: z.string().describe(\"The content of the note in plain text or markdown format.\").optional(),\n note_id: z.string().describe(\"The ID of the note to update.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility level for a note.\").optional(),\n}).describe(\"Request schema for updating an existing note. Only provided fields will be updated.\");\nconst FolkUpdateNote_UpdateNoteAuthorSchema = z.object({\n id: z.string().describe(\"Author ID if available.\").nullable().optional(),\n email: z.string().describe(\"Email of the author.\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the author.\").nullable().optional(),\n}).describe(\"Author information for the note (user, assistant, or deleted).\");\nconst FolkUpdateNote_UpdateNoteEntitySchema = z.object({\n id: z.string().describe(\"Entity ID.\").nullable(),\n fullName: z.string().describe(\"Full name of the entity.\").nullable().optional(),\n entityType: z.string().describe(\"Type of entity (person, company, etc).\").nullable(),\n}).describe(\"Entity (person, company, or object) connected to the note.\");\nconst FolkUpdateNote_UpdateNoteParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID.\").nullable(),\n content: z.string().describe(\"Parent note content.\").nullable().optional(),\n}).describe(\"Parent note reference if this note is a reply.\");\nconst FolkUpdateNote_UpdateNoteResponseDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the note.\").nullable(),\n author: FolkUpdateNote_UpdateNoteAuthorSchema.nullable().optional(),\n entity: FolkUpdateNote_UpdateNoteEntitySchema.nullable().optional(),\n content: z.string().describe(\"Content of the note.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable().optional(),\n parentNote: FolkUpdateNote_UpdateNoteParentNoteSchema.nullable().optional(),\n visibility: z.string().describe(\"Visibility of the note (public or private).\").nullable(),\n}).describe(\"Data returned after updating a note.\");\nexport const FolkUpdateNoteOutput = z.object({\n data: FolkUpdateNote_UpdateNoteResponseDataSchema.nullable(),\n}).describe(\"Full response schema for updating a note.\");\n\nexport const folkUpdateNote = action(\"FOLK_UPDATE_NOTE\", {\n slug: \"folk-update-note\",\n name: \"Update Note\",\n description: \"Tool to update an existing note in the workspace. Use after confirming the note ID; only provided fields are updated.\",\n input: FolkUpdateNoteInput,\n output: FolkUpdateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC5D,YAAYA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC9F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AC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-note.cjs","names":["z","action"],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkUpdateNoteInput = z.object({\n content: z.string().describe(\"The content of the note in plain text or markdown format.\").optional(),\n note_id: z.string().describe(\"The ID of the note to update.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility level for a note.\").optional(),\n}).describe(\"Request schema for updating an existing note. Only provided fields will be updated.\");\nconst FolkUpdateNote_UpdateNoteAuthorSchema = z.object({\n id: z.string().describe(\"Author ID if available.\").nullable().optional(),\n email: z.string().describe(\"Email of the author.\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the author.\").nullable().optional(),\n}).passthrough().describe(\"Author information for the note (user, assistant, or deleted).\");\nconst FolkUpdateNote_UpdateNoteEntitySchema = z.object({\n id: z.string().describe(\"Entity ID.\").nullable(),\n fullName: z.string().describe(\"Full name of the entity.\").nullable().optional(),\n entityType: z.string().describe(\"Type of entity (person, company, etc).\").nullable(),\n}).passthrough().describe(\"Entity (person, company, or object) connected to the note.\");\nconst FolkUpdateNote_UpdateNoteParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID.\").nullable(),\n content: z.string().describe(\"Parent note content.\").nullable().optional(),\n}).passthrough().describe(\"Parent note reference if this note is a reply.\");\nconst FolkUpdateNote_UpdateNoteResponseDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the note.\").nullable(),\n author: FolkUpdateNote_UpdateNoteAuthorSchema.nullable().optional(),\n entity: FolkUpdateNote_UpdateNoteEntitySchema.nullable().optional(),\n content: z.string().describe(\"Content of the note.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable().optional(),\n parentNote: FolkUpdateNote_UpdateNoteParentNoteSchema.nullable().optional(),\n visibility: z.string().describe(\"Visibility of the note (public or private).\").nullable(),\n}).passthrough().describe(\"Data returned after updating a note.\");\nexport const FolkUpdateNoteOutput = z.object({\n data: FolkUpdateNote_UpdateNoteResponseDataSchema.nullable(),\n}).passthrough().describe(\"Full response schema for updating a note.\");\n\nexport const folkUpdateNote = action(\"FOLK_UPDATE_NOTE\", {\n slug: \"folk-update-note\",\n name: \"Update Note\",\n description: \"Tool to update an existing note in the workspace. Use after confirming the note ID; only provided fields are updated.\",\n input: FolkUpdateNoteInput,\n output: FolkUpdateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC5D,YAAYA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,O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AC,SAAS;CACpG,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,21 +16,21 @@ declare const FolkUpdateNoteOutput: z.ZodObject<{
16
16
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>>;
19
+ }, z.core.$loose>>>;
20
20
  entity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
21
21
  id: z.ZodNullable<z.ZodString>;
22
22
  fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  entityType: z.ZodNullable<z.ZodString>;
24
- }, z.core.$strip>>>;
24
+ }, z.core.$loose>>>;
25
25
  content: z.ZodNullable<z.ZodString>;
26
26
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  parentNote: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
28
  id: z.ZodNullable<z.ZodString>;
29
29
  content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>>;
30
+ }, z.core.$loose>>>;
31
31
  visibility: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>>;
33
- }, z.core.$strip>;
32
+ }, z.core.$loose>>;
33
+ }, z.core.$loose>;
34
34
  declare const folkUpdateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  note_id: string;
36
36
  content?: string | undefined;
@@ -16,21 +16,21 @@ declare const FolkUpdateNoteOutput: z.ZodObject<{
16
16
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>>;
19
+ }, z.core.$loose>>>;
20
20
  entity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
21
21
  id: z.ZodNullable<z.ZodString>;
22
22
  fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  entityType: z.ZodNullable<z.ZodString>;
24
- }, z.core.$strip>>>;
24
+ }, z.core.$loose>>>;
25
25
  content: z.ZodNullable<z.ZodString>;
26
26
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  parentNote: z.ZodOptional<z.ZodNullable<z.ZodObject<{
28
28
  id: z.ZodNullable<z.ZodString>;
29
29
  content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>>;
30
+ }, z.core.$loose>>>;
31
31
  visibility: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>>;
33
- }, z.core.$strip>;
32
+ }, z.core.$loose>>;
33
+ }, z.core.$loose>;
34
34
  declare const folkUpdateNote: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  note_id: string;
36
36
  content?: string | undefined;
@@ -10,16 +10,16 @@ const FolkUpdateNote_UpdateNoteAuthorSchema = z.object({
10
10
  id: z.string().describe("Author ID if available.").nullable().optional(),
11
11
  email: z.string().describe("Email of the author.").nullable().optional(),
12
12
  fullName: z.string().describe("Full name of the author.").nullable().optional()
13
- }).describe("Author information for the note (user, assistant, or deleted).");
13
+ }).passthrough().describe("Author information for the note (user, assistant, or deleted).");
14
14
  const FolkUpdateNote_UpdateNoteEntitySchema = z.object({
15
15
  id: z.string().describe("Entity ID.").nullable(),
16
16
  fullName: z.string().describe("Full name of the entity.").nullable().optional(),
17
17
  entityType: z.string().describe("Type of entity (person, company, etc).").nullable()
18
- }).describe("Entity (person, company, or object) connected to the note.");
18
+ }).passthrough().describe("Entity (person, company, or object) connected to the note.");
19
19
  const FolkUpdateNote_UpdateNoteParentNoteSchema = z.object({
20
20
  id: z.string().describe("Parent note ID.").nullable(),
21
21
  content: z.string().describe("Parent note content.").nullable().optional()
22
- }).describe("Parent note reference if this note is a reply.");
22
+ }).passthrough().describe("Parent note reference if this note is a reply.");
23
23
  const FolkUpdateNote_UpdateNoteResponseDataSchema = z.object({
24
24
  id: z.string().describe("Unique ID of the note.").nullable(),
25
25
  author: FolkUpdateNote_UpdateNoteAuthorSchema.nullable().optional(),
@@ -28,13 +28,13 @@ const FolkUpdateNote_UpdateNoteResponseDataSchema = z.object({
28
28
  createdAt: z.string().describe("ISO 8601 timestamp when the note was created.").nullable().optional(),
29
29
  parentNote: FolkUpdateNote_UpdateNoteParentNoteSchema.nullable().optional(),
30
30
  visibility: z.string().describe("Visibility of the note (public or private).").nullable()
31
- }).describe("Data returned after updating a note.");
31
+ }).passthrough().describe("Data returned after updating a note.");
32
32
  const folkUpdateNote = action("FOLK_UPDATE_NOTE", {
33
33
  slug: "folk-update-note",
34
34
  name: "Update Note",
35
35
  description: "Tool to update an existing note in the workspace. Use after confirming the note ID; only provided fields are updated.",
36
36
  input: FolkUpdateNoteInput,
37
- output: z.object({ data: FolkUpdateNote_UpdateNoteResponseDataSchema.nullable() }).describe("Full response schema for updating a note.")
37
+ output: z.object({ data: FolkUpdateNote_UpdateNoteResponseDataSchema.nullable() }).passthrough().describe("Full response schema for updating a note.")
38
38
  });
39
39
  //#endregion
40
40
  export { folkUpdateNote };
@@ -1 +1 @@
1
- {"version":3,"file":"update-note.mjs","names":[],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkUpdateNoteInput = z.object({\n content: z.string().describe(\"The content of the note in plain text or markdown format.\").optional(),\n note_id: z.string().describe(\"The ID of the note to update.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility level for a note.\").optional(),\n}).describe(\"Request schema for updating an existing note. Only provided fields will be updated.\");\nconst FolkUpdateNote_UpdateNoteAuthorSchema = z.object({\n id: z.string().describe(\"Author ID if available.\").nullable().optional(),\n email: z.string().describe(\"Email of the author.\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the author.\").nullable().optional(),\n}).describe(\"Author information for the note (user, assistant, or deleted).\");\nconst FolkUpdateNote_UpdateNoteEntitySchema = z.object({\n id: z.string().describe(\"Entity ID.\").nullable(),\n fullName: z.string().describe(\"Full name of the entity.\").nullable().optional(),\n entityType: z.string().describe(\"Type of entity (person, company, etc).\").nullable(),\n}).describe(\"Entity (person, company, or object) connected to the note.\");\nconst FolkUpdateNote_UpdateNoteParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID.\").nullable(),\n content: z.string().describe(\"Parent note content.\").nullable().optional(),\n}).describe(\"Parent note reference if this note is a reply.\");\nconst FolkUpdateNote_UpdateNoteResponseDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the note.\").nullable(),\n author: FolkUpdateNote_UpdateNoteAuthorSchema.nullable().optional(),\n entity: FolkUpdateNote_UpdateNoteEntitySchema.nullable().optional(),\n content: z.string().describe(\"Content of the note.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable().optional(),\n parentNote: FolkUpdateNote_UpdateNoteParentNoteSchema.nullable().optional(),\n visibility: z.string().describe(\"Visibility of the note (public or private).\").nullable(),\n}).describe(\"Data returned after updating a note.\");\nexport const FolkUpdateNoteOutput = z.object({\n data: FolkUpdateNote_UpdateNoteResponseDataSchema.nullable(),\n}).describe(\"Full response schema for updating a note.\");\n\nexport const folkUpdateNote = action(\"FOLK_UPDATE_NOTE\", {\n slug: \"folk-update-note\",\n name: \"Update Note\",\n description: \"Tool to update an existing note in the workspace. Use after confirming the note ID; only provided fields are updated.\",\n input: FolkUp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AAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,QAAQ,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAClE,QAAQ,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAKlD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-note.mjs","names":[],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkUpdateNoteInput = z.object({\n content: z.string().describe(\"The content of the note in plain text or markdown format.\").optional(),\n note_id: z.string().describe(\"The ID of the note to update.\"),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility level for a note.\").optional(),\n}).describe(\"Request schema for updating an existing note. Only provided fields will be updated.\");\nconst FolkUpdateNote_UpdateNoteAuthorSchema = z.object({\n id: z.string().describe(\"Author ID if available.\").nullable().optional(),\n email: z.string().describe(\"Email of the author.\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the author.\").nullable().optional(),\n}).passthrough().describe(\"Author information for the note (user, assistant, or deleted).\");\nconst FolkUpdateNote_UpdateNoteEntitySchema = z.object({\n id: z.string().describe(\"Entity ID.\").nullable(),\n fullName: z.string().describe(\"Full name of the entity.\").nullable().optional(),\n entityType: z.string().describe(\"Type of entity (person, company, etc).\").nullable(),\n}).passthrough().describe(\"Entity (person, company, or object) connected to the note.\");\nconst FolkUpdateNote_UpdateNoteParentNoteSchema = z.object({\n id: z.string().describe(\"Parent note ID.\").nullable(),\n content: z.string().describe(\"Parent note content.\").nullable().optional(),\n}).passthrough().describe(\"Parent note reference if this note is a reply.\");\nconst FolkUpdateNote_UpdateNoteResponseDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the note.\").nullable(),\n author: FolkUpdateNote_UpdateNoteAuthorSchema.nullable().optional(),\n entity: FolkUpdateNote_UpdateNoteEntitySchema.nullable().optional(),\n content: z.string().describe(\"Content of the note.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable().optional(),\n parentNote: FolkUpdateNote_UpdateNoteParentNoteSchema.nullable().optional(),\n visibility: z.string().describe(\"Visibility of the note (public or private).\").nullable(),\n}).passthrough().describe(\"Data returned after updating a note.\");\nexport const FolkUpdateNoteOutput = z.object({\n data: FolkUpdateNote_UpdateNoteResponseDataSchema.nullable(),\n}).passthrough().describe(\"Full response schema for updating a note.\");\n\nexport const folkUpdateNote = action(\"FOLK_UPDATE_NOTE\", {\n slug: \"folk-update-note\",\n name: \"Update Note\",\n description: \"Tool to update an existing note in the workspace. Use after confirming the note ID; only provided fields are updated.\",\n input: FolkUpdateNoteInput,\n output: FolkUpdateNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC5D,YAAY,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE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SAAS,CAAC,CAAC,SAAS;CAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -4,7 +4,7 @@ let zod = require("zod");
4
4
  const FolkUpdatePersonInput = zod.z.object({
5
5
  urls: zod.z.array(zod.z.string()).describe("List of URLs associated with the person; replaces existing URLs.").optional(),
6
6
  emails: zod.z.array(zod.z.string()).describe("List of email addresses associated with the person; replaces existing emails.").optional(),
7
- groups: zod.z.array(zod.z.object({ id: zod.z.string().describe("ID of the group to add the person to.") }).describe("Reference to a group by its ID.")).describe("Groups to associate with the person; list values replace existing groups. When removing a person from a group, their custom field values for that group are also removed.").optional(),
7
+ groups: zod.z.array(zod.z.object({ id: zod.z.string().describe("ID of the group to add the person to.") }).passthrough().describe("Reference to a group by its ID.")).describe("Groups to associate with the person; list values replace existing groups. When removing a person from a group, their custom field values for that group are also removed.").optional(),
8
8
  phones: zod.z.array(zod.z.string()).describe("List of phone numbers associated with the person; replaces existing phones.").optional(),
9
9
  birthday: zod.z.string().describe("The person's birthday in ISO 8601 date format (YYYY-MM-DD). Set to null to remove.").optional(),
10
10
  fullName: zod.z.string().describe("The full name of the person.").optional(),
@@ -15,7 +15,7 @@ const FolkUpdatePersonInput = zod.z.object({
15
15
  companies: zod.z.array(zod.z.object({
16
16
  id: zod.z.string().describe("ID of an existing company. Use this to reference an existing company.").optional(),
17
17
  name: zod.z.string().describe("Name of the company. Use this to create a new company or reference by name.").optional()
18
- }).describe("Reference to a company by name or ID.")).describe("Companies to associate with the person; list values replace existing companies.").optional(),
18
+ }).passthrough().describe("Reference to a company by name or ID.")).describe("Companies to associate with the person; list values replace existing companies.").optional(),
19
19
  firstName: zod.z.string().describe("The first name of the person.").optional(),
20
20
  description: zod.z.string().describe("A short description of the person.").optional(),
21
21
  customFieldValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values grouped by group ID. Values depend on field type: text, number, date, select, contact, user, etc.").optional()
@@ -23,16 +23,16 @@ const FolkUpdatePersonInput = zod.z.object({
23
23
  const FolkUpdatePerson_UpdatePersonGroupSchema = zod.z.object({
24
24
  id: zod.z.string().describe("Group ID.").nullable(),
25
25
  name: zod.z.string().describe("Group name.").nullable()
26
- }).describe("A group associated with the person in the response.");
26
+ }).passthrough().describe("A group associated with the person in the response.");
27
27
  const FolkUpdatePerson_UpdatePersonCompanySchema = zod.z.object({
28
28
  id: zod.z.string().describe("Company ID.").nullable(),
29
29
  name: zod.z.string().describe("Company name.").nullable()
30
- }).describe("A company associated with the person in the response.");
30
+ }).passthrough().describe("A company associated with the person in the response.");
31
31
  const FolkUpdatePerson_UpdatePersonCreatedBySchema = zod.z.object({
32
32
  id: zod.z.string().describe("The user's unique identifier").nullable(),
33
33
  email: zod.z.string().describe("The user's email address").nullable(),
34
34
  fullName: zod.z.string().describe("The user's full name").nullable()
35
- }).describe("User information for the person who created this record.");
35
+ }).passthrough().describe("User information for the person who created this record.");
36
36
  const FolkUpdatePerson_UpdatePersonResponseDataSchema = zod.z.object({
37
37
  id: zod.z.string().describe("Unique ID of the person.").nullable(),
38
38
  urls: zod.z.array(zod.z.string()).describe("URLs associated with the person.").nullable().optional(),
@@ -52,11 +52,11 @@ const FolkUpdatePerson_UpdatePersonResponseDataSchema = zod.z.object({
52
52
  customFieldValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values keyed by group ID.").nullable().optional(),
53
53
  interactionMetadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Metadata about interactions with this person, including counts and timestamps.").nullable().optional(),
54
54
  strongestConnection: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Information about the strongest connection to this person.").nullable().optional()
55
- }).describe("Data returned after updating a person.");
55
+ }).passthrough().describe("Data returned after updating a person.");
56
56
  const FolkUpdatePersonOutput = zod.z.object({
57
57
  data: FolkUpdatePerson_UpdatePersonResponseDataSchema.nullable(),
58
58
  deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
59
- }).describe("Full response schema for updating a person.");
59
+ }).passthrough().describe("Full response schema for updating a person.");
60
60
  const folkUpdatePerson = require_action.action("FOLK_UPDATE_PERSON", {
61
61
  slug: "folk-update-person",
62
62
  name: "Update Person",