@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
@@ -10,11 +10,11 @@ const FolkListGroupCustomFieldsInput = z.object({
10
10
  const FolkListGroupCustomFields_NumericFieldConfigSchema = z.object({
11
11
  format: z.string().describe("Display format for numeric fields (e.g., 'currency').").nullable(),
12
12
  currency: z.string().describe("Currency code (e.g., 'USD') when format is 'currency'.").nullable().optional()
13
- });
13
+ }).passthrough();
14
14
  const FolkListGroupCustomFields_OptionSchema = z.object({
15
15
  color: z.string().describe("Hex color code associated with the option.").nullable(),
16
16
  label: z.string().describe("Display label of the option.").nullable()
17
- });
17
+ }).passthrough();
18
18
  const FolkListGroupCustomFields_CustomFieldItemSchema = z.object({
19
19
  name: z.string().describe("Name of the custom field.").nullable(),
20
20
  type: z.enum([
@@ -30,12 +30,12 @@ const FolkListGroupCustomFields_CustomFieldItemSchema = z.object({
30
30
  ]).describe("Type of the custom field.").nullable(),
31
31
  config: FolkListGroupCustomFields_NumericFieldConfigSchema.nullable().optional(),
32
32
  options: z.array(FolkListGroupCustomFields_OptionSchema).describe("Available choices for select-type fields, if applicable.").nullable().optional()
33
- });
34
- const FolkListGroupCustomFields_PaginationSchema = z.object({ nextLink: z.string().describe("URL to retrieve the next page of results, if any.").nullable().optional() });
33
+ }).passthrough();
34
+ const FolkListGroupCustomFields_PaginationSchema = z.object({ nextLink: z.string().describe("URL to retrieve the next page of results, if any.").nullable().optional() }).passthrough();
35
35
  const FolkListGroupCustomFields_ListGroupCustomFieldsDataSchema = z.object({
36
36
  items: z.array(FolkListGroupCustomFields_CustomFieldItemSchema).describe("List of custom fields for the group and entity type."),
37
37
  pagination: FolkListGroupCustomFields_PaginationSchema.nullable()
38
- });
38
+ }).passthrough();
39
39
  const folkListGroupCustomFields = action("FOLK_LIST_GROUP_CUSTOM_FIELDS", {
40
40
  slug: "folk-list-group-custom-fields",
41
41
  name: "List Group Custom Fields",
@@ -44,7 +44,7 @@ const folkListGroupCustomFields = action("FOLK_LIST_GROUP_CUSTOM_FIELDS", {
44
44
  output: z.object({
45
45
  data: FolkListGroupCustomFields_ListGroupCustomFieldsDataSchema.nullable(),
46
46
  deprecations: z.array(z.string()).describe("Deprecation warnings, if any.").nullable().optional()
47
- })
47
+ }).passthrough()
48
48
  });
49
49
  //#endregion
50
50
  export { folkListGroupCustomFields };
@@ -1 +1 @@
1
- {"version":3,"file":"list-group-custom-fields.mjs","names":[],"sources":["../../src/actions/list-group-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListGroupCustomFieldsInput = z.object({\n limit: z.number().int().default(20).describe(\"Number of items to return (1-100). Defaults to 20.\").optional(),\n cursor: z.string().describe(\"Pagination cursor. Omit on first call; use `data.pagination.nextLink` from previous response for subsequent pages.\").optional(),\n group_id: z.string().describe(\"ID of the group (exactly 40 characters). Obtain via the list-groups endpoint.\"),\n entity_type: z.enum([\"person\", \"company\"]).describe(\"Entity type whose custom fields to list. Must be 'person' or 'company'.\"),\n}).describe(\"Request schema for listing custom fields of a group and entity type.\");\nconst FolkListGroupCustomFields_NumericFieldConfigSchema = z.object({\n format: z.string().describe(\"Display format for numeric fields (e.g., 'currency').\").nullable(),\n currency: z.string().describe(\"Currency code (e.g., 'USD') when format is 'currency'.\").nullable().optional(),\n});\nconst FolkListGroupCustomFields_OptionSchema = z.object({\n color: z.string().describe(\"Hex color code associated with the option.\").nullable(),\n label: z.string().describe(\"Display label of the option.\").nullable(),\n});\nconst FolkListGroupCustomFields_CustomFieldItemSchema = z.object({\n name: z.string().describe(\"Name of the custom field.\").nullable(),\n type: z.enum([\"singleSelect\", \"multipleSelect\", \"numericField\", \"textField\", \"contactField\", \"dateField\", \"userField\", \"objectField\", \"magicField\"]).describe(\"Type of the custom field.\").nullable(),\n config: FolkListGroupCustomFields_NumericFieldConfigSchema.nullable().optional(),\n options: z.array(FolkListGroupCustomFields_OptionSchema).describe(\"Available choices for select-type fields, if applicable.\").nullable().optional(),\n});\nconst FolkListGroupCustomFields_PaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to retrieve the next page of results, if any.\").nullable().optional(),\n});\nconst FolkListGroupCustomFields_ListGroupCustomFieldsDataSchema = z.object({\n items: z.array(FolkListGroupCustomFields_CustomFieldItemSchema).describe(\"List of custom fields for the group and entity type.\"),\n pagination: FolkListGroupCustomFields_PaginationSchema.nullable(),\n});\nexport const FolkListGroupCustomFieldsOutput = z.object({\n data: FolkListGroupCustomFields_ListGroupCustomFieldsDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any.\").nullable().optional(),\n});\n\nexport const folkListGroupCustomFields = action(\"FOLK_LIST_GROUP_CUSTOM_FIELDS\", {\n slug: \"folk-list-group-custom-fields\",\n name: \"List Group Custom Fields\",\n description: \"Tool to list custom fields for a specific group and entity type. Use after selecting a group and entity type to inspect available custom fields.\",\n input: FolkListGroupCustomFieldsInput,\n output: FolkListGroupCustomFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC3J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC7G,aAAa,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAC/H,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,qDAAqD,EAAE,OAAO;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC9F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC;AACD,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACtE,CAAC;AACD,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,KAAK;EAAC;EAAgB;EAAkB;EAAgB;EAAa;EAAgB;EAAa;EAAa;EAAe;CAAY,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACpM,QAAQ,mDAAmD,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO,EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzG,CAAC;AACD,MAAM,4DAA4D,EAAE,OAAO;CACzE,OAAO,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,sDAAsD;CAC/H,YAAY,2CAA2C,SAAS;AAClE,CAAC;AAMD,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,0DAA0D,SAAS;EACzE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-group-custom-fields.mjs","names":[],"sources":["../../src/actions/list-group-custom-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListGroupCustomFieldsInput = z.object({\n limit: z.number().int().default(20).describe(\"Number of items to return (1-100). Defaults to 20.\").optional(),\n cursor: z.string().describe(\"Pagination cursor. Omit on first call; use `data.pagination.nextLink` from previous response for subsequent pages.\").optional(),\n group_id: z.string().describe(\"ID of the group (exactly 40 characters). Obtain via the list-groups endpoint.\"),\n entity_type: z.enum([\"person\", \"company\"]).describe(\"Entity type whose custom fields to list. Must be 'person' or 'company'.\"),\n}).describe(\"Request schema for listing custom fields of a group and entity type.\");\nconst FolkListGroupCustomFields_NumericFieldConfigSchema = z.object({\n format: z.string().describe(\"Display format for numeric fields (e.g., 'currency').\").nullable(),\n currency: z.string().describe(\"Currency code (e.g., 'USD') when format is 'currency'.\").nullable().optional(),\n}).passthrough();\nconst FolkListGroupCustomFields_OptionSchema = z.object({\n color: z.string().describe(\"Hex color code associated with the option.\").nullable(),\n label: z.string().describe(\"Display label of the option.\").nullable(),\n}).passthrough();\nconst FolkListGroupCustomFields_CustomFieldItemSchema = z.object({\n name: z.string().describe(\"Name of the custom field.\").nullable(),\n type: z.enum([\"singleSelect\", \"multipleSelect\", \"numericField\", \"textField\", \"contactField\", \"dateField\", \"userField\", \"objectField\", \"magicField\"]).describe(\"Type of the custom field.\").nullable(),\n config: FolkListGroupCustomFields_NumericFieldConfigSchema.nullable().optional(),\n options: z.array(FolkListGroupCustomFields_OptionSchema).describe(\"Available choices for select-type fields, if applicable.\").nullable().optional(),\n}).passthrough();\nconst FolkListGroupCustomFields_PaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to retrieve the next page of results, if any.\").nullable().optional(),\n}).passthrough();\nconst FolkListGroupCustomFields_ListGroupCustomFieldsDataSchema = z.object({\n items: z.array(FolkListGroupCustomFields_CustomFieldItemSchema).describe(\"List of custom fields for the group and entity type.\"),\n pagination: FolkListGroupCustomFields_PaginationSchema.nullable(),\n}).passthrough();\nexport const FolkListGroupCustomFieldsOutput = z.object({\n data: FolkListGroupCustomFields_ListGroupCustomFieldsDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings, if any.\").nullable().optional(),\n}).passthrough();\n\nexport const folkListGroupCustomFields = action(\"FOLK_LIST_GROUP_CUSTOM_FIELDS\", {\n slug: \"folk-list-group-custom-fields\",\n name: \"List Group Custom Fields\",\n description: \"Tool to list custom fields for a specific group and entity type. Use after selecting a group and entity type to inspect available custom fields.\",\n input: FolkListGroupCustomFieldsInput,\n output: FolkListGroupCustomFields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,YAAY;AACf,MAAM,6CAA6C,EAAE,OAAO,EAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,4DAA4D,EAAE,OAAO;CACzE,OAAO,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,sDAAsD;CAC/H,YAAY,2CAA2C,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,0DAA0D,SAAS;EACzE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -8,16 +8,16 @@ const FolkListGroupsInput = zod.z.object({
8
8
  const FolkListGroups_GroupItemSchema = zod.z.object({
9
9
  id: zod.z.string().describe("Unique identifier of the group.").nullable(),
10
10
  name: zod.z.string().describe("Name of the group.").nullable()
11
- }).describe("A group object in the workspace.");
12
- const FolkListGroups_PaginationSchema = zod.z.object({ nextLink: zod.z.string().describe("URL to the next page of results, if available.").nullable().optional() }).describe("Pagination information for list endpoints.");
11
+ }).passthrough().describe("A group object in the workspace.");
12
+ const FolkListGroups_PaginationSchema = zod.z.object({ nextLink: zod.z.string().describe("URL to the next page of results, if available.").nullable().optional() }).passthrough().describe("Pagination information for list endpoints.");
13
13
  const FolkListGroups_ListGroupsDataSchema = zod.z.object({
14
14
  items: zod.z.array(FolkListGroups_GroupItemSchema).describe("List of group objects."),
15
15
  pagination: FolkListGroups_PaginationSchema.nullable().optional()
16
- }).describe("The data envelope for list-groups response.");
16
+ }).passthrough().describe("The data envelope for list-groups response.");
17
17
  const FolkListGroupsOutput = zod.z.object({
18
18
  data: FolkListGroups_ListGroupsDataSchema.nullable(),
19
19
  deprecations: zod.z.array(zod.z.string()).describe("Array of deprecation warnings, if any.").nullable().optional()
20
- }).describe("Full response schema for list-groups.");
20
+ }).passthrough().describe("Full response schema for list-groups.");
21
21
  const folkListGroups = require_action.action("FOLK_LIST_GROUPS", {
22
22
  slug: "folk-list-groups",
23
23
  name: "List Groups",
@@ -1 +1 @@
1
- {"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListGroupsInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination across multiple pages. Omit on first call. Use the `pagination.nextLink` value from a previous response for subsequent pages.\").optional(),\n}).describe(\"Request parameters for listing workspace groups.\");\nconst FolkListGroups_GroupItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group.\").nullable(),\n name: z.string().describe(\"Name of the group.\").nullable(),\n}).describe(\"A group object in the workspace.\");\nconst FolkListGroups_PaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to the next page of results, if available.\").nullable().optional(),\n}).describe(\"Pagination information for list endpoints.\");\nconst FolkListGroups_ListGroupsDataSchema = z.object({\n items: z.array(FolkListGroups_GroupItemSchema).describe(\"List of group objects.\"),\n pagination: FolkListGroups_PaginationSchema.nullable().optional(),\n}).describe(\"The data envelope for list-groups response.\");\nexport const FolkListGroupsOutput = z.object({\n data: FolkListGroups_ListGroupsDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Array of deprecation warnings, if any.\").nullable().optional(),\n}).describe(\"Full response schema for list-groups.\");\n\nexport const folkListGroups = action(\"FOLK_LIST_GROUPS\", {\n slug: \"folk-list-groups\",\n name: \"List Groups\",\n description: \"Tool to list workspace groups. Use when you need to retrieve a paginated list of all workspace groups after authentication.\",\n input: FolkListGroupsInput,\n output: FolkListGroupsOutput,\n});\n"],"mappings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}
1
+ {"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListGroupsInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination across multiple pages. Omit on first call. Use the `pagination.nextLink` value from a previous response for subsequent pages.\").optional(),\n}).describe(\"Request parameters for listing workspace groups.\");\nconst FolkListGroups_GroupItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group.\").nullable(),\n name: z.string().describe(\"Name of the group.\").nullable(),\n}).passthrough().describe(\"A group object in the workspace.\");\nconst FolkListGroups_PaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to the next page of results, if available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for list endpoints.\");\nconst FolkListGroups_ListGroupsDataSchema = z.object({\n items: z.array(FolkListGroups_GroupItemSchema).describe(\"List of group objects.\"),\n pagination: FolkListGroups_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"The data envelope for list-groups response.\");\nexport const FolkListGroupsOutput = z.object({\n data: FolkListGroups_ListGroupsDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Array of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for list-groups.\");\n\nexport const folkListGroups = action(\"FOLK_LIST_GROUPS\", {\n slug: \"folk-list-groups\",\n name: \"List Groups\",\n description: \"Tool to list workspace groups. Use when you need to retrieve a paginated list of all workspace groups after authentication.\",\n input: FolkListGroupsInput,\n output: FolkListGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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
- }, z.core.$strip>>;
13
+ }, z.core.$loose>>;
14
14
  pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
15
  nextLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>>>;
17
- }, z.core.$strip>>;
16
+ }, z.core.$loose>>>;
17
+ }, z.core.$loose>>;
18
18
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
- }, z.core.$strip>;
19
+ }, z.core.$loose>;
20
20
  declare const folkListGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  limit?: number | undefined;
22
22
  cursor?: string | undefined;
@@ -10,13 +10,13 @@ declare const FolkListGroupsOutput: z.ZodObject<{
10
10
  items: z.ZodArray<z.ZodObject<{
11
11
  id: z.ZodNullable<z.ZodString>;
12
12
  name: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>>;
13
+ }, z.core.$loose>>;
14
14
  pagination: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
15
  nextLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>>>;
17
- }, z.core.$strip>>;
16
+ }, z.core.$loose>>>;
17
+ }, z.core.$loose>>;
18
18
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
- }, z.core.$strip>;
19
+ }, z.core.$loose>;
20
20
  declare const folkListGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  limit?: number | undefined;
22
22
  cursor?: string | undefined;
@@ -8,12 +8,12 @@ const FolkListGroupsInput = z.object({
8
8
  const FolkListGroups_GroupItemSchema = z.object({
9
9
  id: z.string().describe("Unique identifier of the group.").nullable(),
10
10
  name: z.string().describe("Name of the group.").nullable()
11
- }).describe("A group object in the workspace.");
12
- const FolkListGroups_PaginationSchema = z.object({ nextLink: z.string().describe("URL to the next page of results, if available.").nullable().optional() }).describe("Pagination information for list endpoints.");
11
+ }).passthrough().describe("A group object in the workspace.");
12
+ const FolkListGroups_PaginationSchema = z.object({ nextLink: z.string().describe("URL to the next page of results, if available.").nullable().optional() }).passthrough().describe("Pagination information for list endpoints.");
13
13
  const FolkListGroups_ListGroupsDataSchema = z.object({
14
14
  items: z.array(FolkListGroups_GroupItemSchema).describe("List of group objects."),
15
15
  pagination: FolkListGroups_PaginationSchema.nullable().optional()
16
- }).describe("The data envelope for list-groups response.");
16
+ }).passthrough().describe("The data envelope for list-groups response.");
17
17
  const folkListGroups = action("FOLK_LIST_GROUPS", {
18
18
  slug: "folk-list-groups",
19
19
  name: "List Groups",
@@ -22,7 +22,7 @@ const folkListGroups = action("FOLK_LIST_GROUPS", {
22
22
  output: z.object({
23
23
  data: FolkListGroups_ListGroupsDataSchema.nullable(),
24
24
  deprecations: z.array(z.string()).describe("Array of deprecation warnings, if any.").nullable().optional()
25
- }).describe("Full response schema for list-groups.")
25
+ }).passthrough().describe("Full response schema for list-groups.")
26
26
  });
27
27
  //#endregion
28
28
  export { folkListGroups };
@@ -1 +1 @@
1
- {"version":3,"file":"list-groups.mjs","names":[],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListGroupsInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination across multiple pages. Omit on first call. Use the `pagination.nextLink` value from a previous response for subsequent pages.\").optional(),\n}).describe(\"Request parameters for listing workspace groups.\");\nconst FolkListGroups_GroupItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group.\").nullable(),\n name: z.string().describe(\"Name of the group.\").nullable(),\n}).describe(\"A group object in the workspace.\");\nconst FolkListGroups_PaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to the next page of results, if available.\").nullable().optional(),\n}).describe(\"Pagination information for list endpoints.\");\nconst FolkListGroups_ListGroupsDataSchema = z.object({\n items: z.array(FolkListGroups_GroupItemSchema).describe(\"List of group objects.\"),\n pagination: FolkListGroups_PaginationSchema.nullable().optional(),\n}).describe(\"The data envelope for list-groups response.\");\nexport const FolkListGroupsOutput = z.object({\n data: FolkListGroups_ListGroupsDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Array of deprecation warnings, if any.\").nullable().optional(),\n}).describe(\"Full response schema for list-groups.\");\n\nexport const folkListGroups = action(\"FOLK_LIST_GROUPS\", {\n slug: \"folk-list-groups\",\n name: \"List Groups\",\n description: \"Tool to list workspace groups. Use when you need to retrieve a paginated list of all workspace groups after authentication.\",\n input: FolkListGroupsInput,\n output: FolkListGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qJAAqJ,CAAC,CAAC,SAAS;AAC9L,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AAC3D,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,kCAAkC,EAAE,OAAO,EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,sCAAsC,EAAE,OAAO;CACnD,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,wBAAwB;CAChF,YAAY,gCAAgC,SAAS,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAMzD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkC,EAAE,OAAO;EAC3C,MAAM,oCAAoC,SAAS;EACnD,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-groups.mjs","names":[],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListGroupsInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"Cursor for pagination across multiple pages. Omit on first call. Use the `pagination.nextLink` value from a previous response for subsequent pages.\").optional(),\n}).describe(\"Request parameters for listing workspace groups.\");\nconst FolkListGroups_GroupItemSchema = z.object({\n id: z.string().describe(\"Unique identifier of the group.\").nullable(),\n name: z.string().describe(\"Name of the group.\").nullable(),\n}).passthrough().describe(\"A group object in the workspace.\");\nconst FolkListGroups_PaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to the next page of results, if available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for list endpoints.\");\nconst FolkListGroups_ListGroupsDataSchema = z.object({\n items: z.array(FolkListGroups_GroupItemSchema).describe(\"List of group objects.\"),\n pagination: FolkListGroups_PaginationSchema.nullable().optional(),\n}).passthrough().describe(\"The data envelope for list-groups response.\");\nexport const FolkListGroupsOutput = z.object({\n data: FolkListGroups_ListGroupsDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Array of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for list-groups.\");\n\nexport const folkListGroups = action(\"FOLK_LIST_GROUPS\", {\n slug: \"folk-list-groups\",\n name: \"List Groups\",\n description: \"Tool to list workspace groups. Use when you need to retrieve a paginated list of all workspace groups after authentication.\",\n input: FolkListGroupsInput,\n output: FolkListGroupsOutput,\n});\n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11
11
  email: zod.z.string().describe("Email address of the user.").nullable(),
12
12
  deleted: zod.z.boolean().describe("User is not deleted.").nullable(),
13
13
  fullName: zod.z.string().describe("Full name of the user.").nullable()
14
- }).describe("Author information when the author is a user.");
14
+ }).passthrough().describe("Author information when the author is a user.");
15
15
  const FolkListNotes_NoteAuthorAssistantSchema = zod.z.object({
16
16
  type: zod.z.string().describe("Author type: assistant.").nullable(),
17
17
  fullName: zod.z.string().describe("Name of the assistant.").nullable()
18
- }).describe("Author information when the author is an assistant.");
18
+ }).passthrough().describe("Author information when the author is an assistant.");
19
19
  const FolkListNotes_NoteAuthorDeletedUserSchema = zod.z.object({
20
20
  id: zod.z.string().describe("User identifier.").nullable(),
21
21
  type: zod.z.string().describe("Author type: user.").nullable(),
22
22
  deleted: zod.z.boolean().describe("User has been deleted.").nullable()
23
- }).describe("Author information when the author is a deleted user.");
23
+ }).passthrough().describe("Author information when the author is a deleted user.");
24
24
  const FolkListNotes_NoteEntitySchema = zod.z.object({
25
25
  id: zod.z.string().describe("Unique identifier of the entity.").nullable(),
26
26
  fullName: zod.z.string().describe("Display name of the entity.").nullable(),
@@ -29,11 +29,11 @@ const FolkListNotes_NoteEntitySchema = zod.z.object({
29
29
  "company",
30
30
  "object"
31
31
  ]).describe("Type of entity: person, company, or object.").nullable()
32
- }).describe("Entity associated with the note (person, company, or object).");
32
+ }).passthrough().describe("Entity associated with the note (person, company, or object).");
33
33
  const FolkListNotes_ParentNoteSchema = zod.z.object({
34
34
  id: zod.z.string().describe("Unique identifier of the parent note.").nullable(),
35
35
  deleted: zod.z.boolean().describe("Whether the parent note has been deleted.").nullable().optional()
36
- }).describe("Information about the parent note if this note is a reply.");
36
+ }).passthrough().describe("Information about the parent note if this note is a reply.");
37
37
  const FolkListNotes_NoteSchema = zod.z.object({
38
38
  id: zod.z.string().describe("Unique note identifier.").nullable(),
39
39
  author: zod.z.union([
@@ -46,16 +46,16 @@ const FolkListNotes_NoteSchema = zod.z.object({
46
46
  createdAt: zod.z.string().describe("ISO 8601 timestamp when the note was created.").nullable().optional(),
47
47
  parentNote: FolkListNotes_ParentNoteSchema.nullable().optional(),
48
48
  visibility: zod.z.enum(["public", "private"]).describe("Visibility of the note: public or private.").nullable()
49
- }).describe("A note object in the workspace.");
50
- const FolkListNotes_ListNotesPaginationSchema = zod.z.object({ nextLink: zod.z.string().describe("URL to fetch the next page of results. Omit if no further pages.").nullable().optional() }).describe("Pagination information for list-notes endpoint.");
49
+ }).passthrough().describe("A note object in the workspace.");
50
+ const FolkListNotes_ListNotesPaginationSchema = zod.z.object({ nextLink: zod.z.string().describe("URL to fetch the next page of results. Omit if no further pages.").nullable().optional() }).passthrough().describe("Pagination information for list-notes endpoint.");
51
51
  const FolkListNotes_ListNotesDataSchema = zod.z.object({
52
52
  items: zod.z.array(FolkListNotes_NoteSchema).describe("List of retrieved notes."),
53
53
  pagination: FolkListNotes_ListNotesPaginationSchema.nullable()
54
- }).describe("Data envelope for list-notes response.");
54
+ }).passthrough().describe("Data envelope for list-notes response.");
55
55
  const FolkListNotesOutput = zod.z.object({
56
56
  data: FolkListNotes_ListNotesDataSchema.nullable(),
57
57
  deprecations: zod.z.array(zod.z.string()).describe("List of deprecation warnings, if any.").nullable().optional()
58
- }).describe("Full response schema for list-notes.");
58
+ }).passthrough().describe("Full response schema for list-notes.");
59
59
  const folkListNotes = require_action.action("FOLK_LIST_NOTES", {
60
60
  slug: "folk-list-notes",
61
61
  name: "List Notes",
@@ -1 +1 @@
1
- {"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListNotesInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from a previous response's `pagination.nextLink`. Omit on the first call.\").optional(),\n}).describe(\"Request parameters for listing notes in the workspace.\");\nconst FolkListNotes_NoteAuthorUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n deleted: z.boolean().describe(\"User is not deleted.\").nullable(),\n fullName: z.string().describe(\"Full name of the user.\").nullable(),\n}).describe(\"Author information when the author is a user.\");\nconst FolkListNotes_NoteAuthorAssistantSchema = z.object({\n type: z.string().describe(\"Author type: assistant.\").nullable(),\n fullName: z.string().describe(\"Name of the assistant.\").nullable(),\n}).describe(\"Author information when the author is an assistant.\");\nconst FolkListNotes_NoteAuthorDeletedUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n deleted: z.boolean().describe(\"User has been deleted.\").nullable(),\n}).describe(\"Author information when the author is a deleted user.\");\nconst FolkListNotes_NoteEntitySchema = z.object({\n id: z.string().describe(\"Unique identifier of the entity.\").nullable(),\n fullName: z.string().describe(\"Display name of the entity.\").nullable(),\n entityType: z.enum([\"person\", \"company\", \"object\"]).describe(\"Type of entity: person, company, or object.\").nullable(),\n}).describe(\"Entity associated with the note (person, company, or object).\");\nconst FolkListNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Unique identifier of the parent note.\").nullable(),\n deleted: z.boolean().describe(\"Whether the parent note has been deleted.\").nullable().optional(),\n}).describe(\"Information about the parent note if this note is a reply.\");\nconst FolkListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Unique note identifier.\").nullable(),\n author: z.union([FolkListNotes_NoteAuthorUserSchema, FolkListNotes_NoteAuthorAssistantSchema, FolkListNotes_NoteAuthorDeletedUserSchema]),\n entity: FolkListNotes_NoteEntitySchema.nullable(),\n content: z.string().describe(\"Note content text, supports markdown formatting.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable().optional(),\n parentNote: FolkListNotes_ParentNoteSchema.nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility of the note: public or private.\").nullable(),\n}).describe(\"A note object in the workspace.\");\nconst FolkListNotes_ListNotesPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").nullable().optional(),\n}).describe(\"Pagination information for list-notes endpoint.\");\nconst FolkListNotes_ListNotesDataSchema = z.object({\n items: z.array(FolkListNotes_NoteSchema).describe(\"List of retrieved notes.\"),\n pagination: FolkListNotes_ListNotesPaginationSchema.nullable(),\n}).describe(\"Data envelope for list-notes response.\");\nexport const FolkListNotesOutput = z.object({\n data: FolkListNotes_ListNotesDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any.\").nullable().optional(),\n}).describe(\"Full response schema for list-notes.\");\n\nexport const folkListNotes = action(\"FOLK_LIST_NOTES\", {\n slug: \"folk-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes in the workspace. Use when you need to retrieve notes with pagination support.\",\n input: FolkListNotesInput,\n output: FolkListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,UAAUA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AM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListNotesInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from a previous response's `pagination.nextLink`. Omit on the first call.\").optional(),\n}).describe(\"Request parameters for listing notes in the workspace.\");\nconst FolkListNotes_NoteAuthorUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n deleted: z.boolean().describe(\"User is not deleted.\").nullable(),\n fullName: z.string().describe(\"Full name of the user.\").nullable(),\n}).passthrough().describe(\"Author information when the author is a user.\");\nconst FolkListNotes_NoteAuthorAssistantSchema = z.object({\n type: z.string().describe(\"Author type: assistant.\").nullable(),\n fullName: z.string().describe(\"Name of the assistant.\").nullable(),\n}).passthrough().describe(\"Author information when the author is an assistant.\");\nconst FolkListNotes_NoteAuthorDeletedUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n deleted: z.boolean().describe(\"User has been deleted.\").nullable(),\n}).passthrough().describe(\"Author information when the author is a deleted user.\");\nconst FolkListNotes_NoteEntitySchema = z.object({\n id: z.string().describe(\"Unique identifier of the entity.\").nullable(),\n fullName: z.string().describe(\"Display name of the entity.\").nullable(),\n entityType: z.enum([\"person\", \"company\", \"object\"]).describe(\"Type of entity: person, company, or object.\").nullable(),\n}).passthrough().describe(\"Entity associated with the note (person, company, or object).\");\nconst FolkListNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Unique identifier of the parent note.\").nullable(),\n deleted: z.boolean().describe(\"Whether the parent note has been deleted.\").nullable().optional(),\n}).passthrough().describe(\"Information about the parent note if this note is a reply.\");\nconst FolkListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Unique note identifier.\").nullable(),\n author: z.union([FolkListNotes_NoteAuthorUserSchema, FolkListNotes_NoteAuthorAssistantSchema, FolkListNotes_NoteAuthorDeletedUserSchema]),\n entity: FolkListNotes_NoteEntitySchema.nullable(),\n content: z.string().describe(\"Note content text, supports markdown formatting.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable().optional(),\n parentNote: FolkListNotes_ParentNoteSchema.nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility of the note: public or private.\").nullable(),\n}).passthrough().describe(\"A note object in the workspace.\");\nconst FolkListNotes_ListNotesPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for list-notes endpoint.\");\nconst FolkListNotes_ListNotesDataSchema = z.object({\n items: z.array(FolkListNotes_NoteSchema).describe(\"List of retrieved notes.\"),\n pagination: FolkListNotes_ListNotesPaginationSchema.nullable(),\n}).passthrough().describe(\"Data envelope for list-notes response.\");\nexport const FolkListNotesOutput = z.object({\n data: FolkListNotes_ListNotesDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for list-notes.\");\n\nexport const folkListNotes = action(\"FOLK_LIST_NOTES\", {\n slug: \"folk-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes in the workspace. Use when you need to retrieve notes with pagination support.\",\n input: FolkListNotesInput,\n output: FolkListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+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S,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,OAAOA,IAAAA,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,0BAA0B;CAC5E,YAAY,wCAAwC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAM,kCAAkC,SAAS;CACjD,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,14 +15,14 @@ declare const FolkListNotesOutput: z.ZodObject<{
15
15
  email: z.ZodNullable<z.ZodString>;
16
16
  deleted: z.ZodNullable<z.ZodBoolean>;
17
17
  fullName: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>, z.ZodObject<{
18
+ }, z.core.$loose>, z.ZodObject<{
19
19
  type: z.ZodNullable<z.ZodString>;
20
20
  fullName: z.ZodNullable<z.ZodString>;
21
- }, z.core.$strip>, z.ZodObject<{
21
+ }, z.core.$loose>, z.ZodObject<{
22
22
  id: z.ZodNullable<z.ZodString>;
23
23
  type: z.ZodNullable<z.ZodString>;
24
24
  deleted: z.ZodNullable<z.ZodBoolean>;
25
- }, z.core.$strip>]>;
25
+ }, z.core.$loose>]>;
26
26
  entity: z.ZodNullable<z.ZodObject<{
27
27
  id: z.ZodNullable<z.ZodString>;
28
28
  fullName: z.ZodNullable<z.ZodString>;
@@ -31,24 +31,24 @@ declare const FolkListNotesOutput: z.ZodObject<{
31
31
  person: "person";
32
32
  company: "company";
33
33
  }>>;
34
- }, z.core.$strip>>;
34
+ }, z.core.$loose>>;
35
35
  content: z.ZodNullable<z.ZodString>;
36
36
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  parentNote: z.ZodOptional<z.ZodNullable<z.ZodObject<{
38
38
  id: z.ZodNullable<z.ZodString>;
39
39
  deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
40
- }, z.core.$strip>>>;
40
+ }, z.core.$loose>>>;
41
41
  visibility: z.ZodNullable<z.ZodEnum<{
42
42
  public: "public";
43
43
  private: "private";
44
44
  }>>;
45
- }, z.core.$strip>>;
45
+ }, z.core.$loose>>;
46
46
  pagination: z.ZodNullable<z.ZodObject<{
47
47
  nextLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- }, z.core.$strip>>;
49
- }, z.core.$strip>>;
48
+ }, z.core.$loose>>;
49
+ }, z.core.$loose>>;
50
50
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
51
- }, z.core.$strip>;
51
+ }, z.core.$loose>;
52
52
  declare const folkListNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
53
53
  limit?: number | undefined;
54
54
  cursor?: string | undefined;
@@ -15,14 +15,14 @@ declare const FolkListNotesOutput: z.ZodObject<{
15
15
  email: z.ZodNullable<z.ZodString>;
16
16
  deleted: z.ZodNullable<z.ZodBoolean>;
17
17
  fullName: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>, z.ZodObject<{
18
+ }, z.core.$loose>, z.ZodObject<{
19
19
  type: z.ZodNullable<z.ZodString>;
20
20
  fullName: z.ZodNullable<z.ZodString>;
21
- }, z.core.$strip>, z.ZodObject<{
21
+ }, z.core.$loose>, z.ZodObject<{
22
22
  id: z.ZodNullable<z.ZodString>;
23
23
  type: z.ZodNullable<z.ZodString>;
24
24
  deleted: z.ZodNullable<z.ZodBoolean>;
25
- }, z.core.$strip>]>;
25
+ }, z.core.$loose>]>;
26
26
  entity: z.ZodNullable<z.ZodObject<{
27
27
  id: z.ZodNullable<z.ZodString>;
28
28
  fullName: z.ZodNullable<z.ZodString>;
@@ -31,24 +31,24 @@ declare const FolkListNotesOutput: z.ZodObject<{
31
31
  person: "person";
32
32
  company: "company";
33
33
  }>>;
34
- }, z.core.$strip>>;
34
+ }, z.core.$loose>>;
35
35
  content: z.ZodNullable<z.ZodString>;
36
36
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  parentNote: z.ZodOptional<z.ZodNullable<z.ZodObject<{
38
38
  id: z.ZodNullable<z.ZodString>;
39
39
  deleted: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
40
- }, z.core.$strip>>>;
40
+ }, z.core.$loose>>>;
41
41
  visibility: z.ZodNullable<z.ZodEnum<{
42
42
  public: "public";
43
43
  private: "private";
44
44
  }>>;
45
- }, z.core.$strip>>;
45
+ }, z.core.$loose>>;
46
46
  pagination: z.ZodNullable<z.ZodObject<{
47
47
  nextLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- }, z.core.$strip>>;
49
- }, z.core.$strip>>;
48
+ }, z.core.$loose>>;
49
+ }, z.core.$loose>>;
50
50
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
51
- }, z.core.$strip>;
51
+ }, z.core.$loose>;
52
52
  declare const folkListNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
53
53
  limit?: number | undefined;
54
54
  cursor?: string | undefined;
@@ -11,16 +11,16 @@ const FolkListNotes_NoteAuthorUserSchema = z.object({
11
11
  email: z.string().describe("Email address of the user.").nullable(),
12
12
  deleted: z.boolean().describe("User is not deleted.").nullable(),
13
13
  fullName: z.string().describe("Full name of the user.").nullable()
14
- }).describe("Author information when the author is a user.");
14
+ }).passthrough().describe("Author information when the author is a user.");
15
15
  const FolkListNotes_NoteAuthorAssistantSchema = z.object({
16
16
  type: z.string().describe("Author type: assistant.").nullable(),
17
17
  fullName: z.string().describe("Name of the assistant.").nullable()
18
- }).describe("Author information when the author is an assistant.");
18
+ }).passthrough().describe("Author information when the author is an assistant.");
19
19
  const FolkListNotes_NoteAuthorDeletedUserSchema = z.object({
20
20
  id: z.string().describe("User identifier.").nullable(),
21
21
  type: z.string().describe("Author type: user.").nullable(),
22
22
  deleted: z.boolean().describe("User has been deleted.").nullable()
23
- }).describe("Author information when the author is a deleted user.");
23
+ }).passthrough().describe("Author information when the author is a deleted user.");
24
24
  const FolkListNotes_NoteEntitySchema = z.object({
25
25
  id: z.string().describe("Unique identifier of the entity.").nullable(),
26
26
  fullName: z.string().describe("Display name of the entity.").nullable(),
@@ -29,11 +29,11 @@ const FolkListNotes_NoteEntitySchema = z.object({
29
29
  "company",
30
30
  "object"
31
31
  ]).describe("Type of entity: person, company, or object.").nullable()
32
- }).describe("Entity associated with the note (person, company, or object).");
32
+ }).passthrough().describe("Entity associated with the note (person, company, or object).");
33
33
  const FolkListNotes_ParentNoteSchema = z.object({
34
34
  id: z.string().describe("Unique identifier of the parent note.").nullable(),
35
35
  deleted: z.boolean().describe("Whether the parent note has been deleted.").nullable().optional()
36
- }).describe("Information about the parent note if this note is a reply.");
36
+ }).passthrough().describe("Information about the parent note if this note is a reply.");
37
37
  const FolkListNotes_NoteSchema = z.object({
38
38
  id: z.string().describe("Unique note identifier.").nullable(),
39
39
  author: z.union([
@@ -46,12 +46,12 @@ const FolkListNotes_NoteSchema = z.object({
46
46
  createdAt: z.string().describe("ISO 8601 timestamp when the note was created.").nullable().optional(),
47
47
  parentNote: FolkListNotes_ParentNoteSchema.nullable().optional(),
48
48
  visibility: z.enum(["public", "private"]).describe("Visibility of the note: public or private.").nullable()
49
- }).describe("A note object in the workspace.");
50
- const FolkListNotes_ListNotesPaginationSchema = z.object({ nextLink: z.string().describe("URL to fetch the next page of results. Omit if no further pages.").nullable().optional() }).describe("Pagination information for list-notes endpoint.");
49
+ }).passthrough().describe("A note object in the workspace.");
50
+ const FolkListNotes_ListNotesPaginationSchema = z.object({ nextLink: z.string().describe("URL to fetch the next page of results. Omit if no further pages.").nullable().optional() }).passthrough().describe("Pagination information for list-notes endpoint.");
51
51
  const FolkListNotes_ListNotesDataSchema = z.object({
52
52
  items: z.array(FolkListNotes_NoteSchema).describe("List of retrieved notes."),
53
53
  pagination: FolkListNotes_ListNotesPaginationSchema.nullable()
54
- }).describe("Data envelope for list-notes response.");
54
+ }).passthrough().describe("Data envelope for list-notes response.");
55
55
  const folkListNotes = action("FOLK_LIST_NOTES", {
56
56
  slug: "folk-list-notes",
57
57
  name: "List Notes",
@@ -60,7 +60,7 @@ const folkListNotes = action("FOLK_LIST_NOTES", {
60
60
  output: z.object({
61
61
  data: FolkListNotes_ListNotesDataSchema.nullable(),
62
62
  deprecations: z.array(z.string()).describe("List of deprecation warnings, if any.").nullable().optional()
63
- }).describe("Full response schema for list-notes.")
63
+ }).passthrough().describe("Full response schema for list-notes.")
64
64
  });
65
65
  //#endregion
66
66
  export { folkListNotes };
@@ -1 +1 @@
1
- {"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListNotesInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from a previous response's `pagination.nextLink`. Omit on the first call.\").optional(),\n}).describe(\"Request parameters for listing notes in the workspace.\");\nconst FolkListNotes_NoteAuthorUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n deleted: z.boolean().describe(\"User is not deleted.\").nullable(),\n fullName: z.string().describe(\"Full name of the user.\").nullable(),\n}).describe(\"Author information when the author is a user.\");\nconst FolkListNotes_NoteAuthorAssistantSchema = z.object({\n type: z.string().describe(\"Author type: assistant.\").nullable(),\n fullName: z.string().describe(\"Name of the assistant.\").nullable(),\n}).describe(\"Author information when the author is an assistant.\");\nconst FolkListNotes_NoteAuthorDeletedUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n deleted: z.boolean().describe(\"User has been deleted.\").nullable(),\n}).describe(\"Author information when the author is a deleted user.\");\nconst FolkListNotes_NoteEntitySchema = z.object({\n id: z.string().describe(\"Unique identifier of the entity.\").nullable(),\n fullName: z.string().describe(\"Display name of the entity.\").nullable(),\n entityType: z.enum([\"person\", \"company\", \"object\"]).describe(\"Type of entity: person, company, or object.\").nullable(),\n}).describe(\"Entity associated with the note (person, company, or object).\");\nconst FolkListNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Unique identifier of the parent note.\").nullable(),\n deleted: z.boolean().describe(\"Whether the parent note has been deleted.\").nullable().optional(),\n}).describe(\"Information about the parent note if this note is a reply.\");\nconst FolkListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Unique note identifier.\").nullable(),\n author: z.union([FolkListNotes_NoteAuthorUserSchema, FolkListNotes_NoteAuthorAssistantSchema, FolkListNotes_NoteAuthorDeletedUserSchema]),\n entity: FolkListNotes_NoteEntitySchema.nullable(),\n content: z.string().describe(\"Note content text, supports markdown formatting.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable().optional(),\n parentNote: FolkListNotes_ParentNoteSchema.nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility of the note: public or private.\").nullable(),\n}).describe(\"A note object in the workspace.\");\nconst FolkListNotes_ListNotesPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").nullable().optional(),\n}).describe(\"Pagination information for list-notes endpoint.\");\nconst FolkListNotes_ListNotesDataSchema = z.object({\n items: z.array(FolkListNotes_NoteSchema).describe(\"List of retrieved notes.\"),\n pagination: FolkListNotes_ListNotesPaginationSchema.nullable(),\n}).describe(\"Data envelope for list-notes response.\");\nexport const FolkListNotesOutput = z.object({\n data: FolkListNotes_ListNotesDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any.\").nullable().optional(),\n}).describe(\"Full response schema for list-notes.\");\n\nexport const folkListNotes = action(\"FOLK_LIST_NOTES\", {\n slug: \"folk-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes in the workspace. Use when you need to retrieve notes with pagination support.\",\n input: FolkListNotesInput,\n output: FolkListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE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C,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,0CAA0C,EAAE,OAAO,EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,oCAAoC,EAAE,OAAO;CACjD,OAAO,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,0BAA0B;CAC5E,YAAY,wCAAwC,SAAS;AAC/D,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViC,EAAE,OAAO;EAC1C,MAAM,kCAAkC,SAAS;EACjD,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListNotesInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from a previous response's `pagination.nextLink`. Omit on the first call.\").optional(),\n}).describe(\"Request parameters for listing notes in the workspace.\");\nconst FolkListNotes_NoteAuthorUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n deleted: z.boolean().describe(\"User is not deleted.\").nullable(),\n fullName: z.string().describe(\"Full name of the user.\").nullable(),\n}).passthrough().describe(\"Author information when the author is a user.\");\nconst FolkListNotes_NoteAuthorAssistantSchema = z.object({\n type: z.string().describe(\"Author type: assistant.\").nullable(),\n fullName: z.string().describe(\"Name of the assistant.\").nullable(),\n}).passthrough().describe(\"Author information when the author is an assistant.\");\nconst FolkListNotes_NoteAuthorDeletedUserSchema = z.object({\n id: z.string().describe(\"User identifier.\").nullable(),\n type: z.string().describe(\"Author type: user.\").nullable(),\n deleted: z.boolean().describe(\"User has been deleted.\").nullable(),\n}).passthrough().describe(\"Author information when the author is a deleted user.\");\nconst FolkListNotes_NoteEntitySchema = z.object({\n id: z.string().describe(\"Unique identifier of the entity.\").nullable(),\n fullName: z.string().describe(\"Display name of the entity.\").nullable(),\n entityType: z.enum([\"person\", \"company\", \"object\"]).describe(\"Type of entity: person, company, or object.\").nullable(),\n}).passthrough().describe(\"Entity associated with the note (person, company, or object).\");\nconst FolkListNotes_ParentNoteSchema = z.object({\n id: z.string().describe(\"Unique identifier of the parent note.\").nullable(),\n deleted: z.boolean().describe(\"Whether the parent note has been deleted.\").nullable().optional(),\n}).passthrough().describe(\"Information about the parent note if this note is a reply.\");\nconst FolkListNotes_NoteSchema = z.object({\n id: z.string().describe(\"Unique note identifier.\").nullable(),\n author: z.union([FolkListNotes_NoteAuthorUserSchema, FolkListNotes_NoteAuthorAssistantSchema, FolkListNotes_NoteAuthorDeletedUserSchema]),\n entity: FolkListNotes_NoteEntitySchema.nullable(),\n content: z.string().describe(\"Note content text, supports markdown formatting.\").nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the note was created.\").nullable().optional(),\n parentNote: FolkListNotes_ParentNoteSchema.nullable().optional(),\n visibility: z.enum([\"public\", \"private\"]).describe(\"Visibility of the note: public or private.\").nullable(),\n}).passthrough().describe(\"A note object in the workspace.\");\nconst FolkListNotes_ListNotesPaginationSchema = z.object({\n nextLink: z.string().describe(\"URL to fetch the next page of results. Omit if no further pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for list-notes endpoint.\");\nconst FolkListNotes_ListNotesDataSchema = z.object({\n items: z.array(FolkListNotes_NoteSchema).describe(\"List of retrieved notes.\"),\n pagination: FolkListNotes_ListNotesPaginationSchema.nullable(),\n}).passthrough().describe(\"Data envelope for list-notes response.\");\nexport const FolkListNotesOutput = z.object({\n data: FolkListNotes_ListNotesDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"List of deprecation warnings, if any.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for list-notes.\");\n\nexport const folkListNotes = action(\"FOLK_LIST_NOTES\", {\n slug: \"folk-list-notes\",\n name: \"List Notes\",\n description: \"Tool to list notes in the workspace. Use when you need to retrieve notes with pagination support.\",\n input: FolkListNotesInput,\n output: FolkListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,0CAA0C,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB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AAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,+BAA+B,SAAS,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,0CAA0C,EAAE,OAAO,EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAM,oCAAoC,EAAE,OAAO;CACjD,OAAO,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,0BAA0B;CAC5E,YAAY,wCAAwC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViC,EAAE,OAAO;EAC1C,MAAM,kCAAkC,SAAS;EACjD,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
@@ -4,26 +4,26 @@ let zod = require("zod");
4
4
  const FolkListPeopleInput = zod.z.object({
5
5
  limit: zod.z.number().int().default(20).describe("The number of items to return. Must be between 1 and 100.").optional(),
6
6
  cursor: zod.z.string().describe("A pagination cursor from a previous response's `pagination.nextLink`. Omit on the first call.").optional(),
7
- filter: zod.z.object({}).describe("Filters to apply, following `filter[attribute][operator]=value` format. E.g., {'firstName': {'eq': 'John'}}.").optional(),
7
+ filter: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Filters to apply, following `filter[attribute][operator]=value` format. E.g., {'firstName': {'eq': 'John'}}.").optional(),
8
8
  combinator: zod.z.enum(["and", "or"]).default("and").describe("Logical operator to combine multiple filters.").optional()
9
9
  }).passthrough().describe("Request parameters for listing people in the workspace.");
10
10
  const FolkListPeople_GroupItemSchema = zod.z.object({
11
11
  id: zod.z.string().describe("Group ID for the person").nullable(),
12
12
  name: zod.z.string().describe("Group name for the person").nullable()
13
- });
13
+ }).passthrough();
14
14
  const FolkListPeople_CompanyItemSchema = zod.z.object({
15
15
  id: zod.z.string().describe("Company ID for the person").nullable(),
16
16
  name: zod.z.string().describe("Company name for the person").nullable()
17
- });
17
+ }).passthrough();
18
18
  const FolkListPeople_UserSchema = zod.z.object({
19
19
  id: zod.z.string().describe("User ID").nullable(),
20
20
  email: zod.z.string().describe("Email of the user").nullable(),
21
21
  fullName: zod.z.string().describe("Full name of the user").nullable()
22
- }).describe("User information model used across different contexts.");
22
+ }).passthrough().describe("User information model used across different contexts.");
23
23
  const FolkListPeople_InteractionMetadataSchema = zod.z.object({
24
24
  user: zod.z.record(zod.z.string(), zod.z.unknown()).describe("User-specific interaction metadata (approximate count, last interacted timestamp).").nullable().optional(),
25
25
  workspace: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Workspace-wide interaction metadata (approximate count, last interacted timestamp, last interacted by users).").nullable().optional()
26
- }).describe("Metadata about interactions with a person.");
26
+ }).passthrough().describe("Metadata about interactions with a person.");
27
27
  const FolkListPeople_PersonSchema = zod.z.object({
28
28
  id: zod.z.string().describe("Unique identifier of the person").nullable(),
29
29
  urls: zod.z.array(zod.z.string()).describe("URLs associated with the person"),
@@ -43,16 +43,16 @@ const FolkListPeople_PersonSchema = zod.z.object({
43
43
  customFieldValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom field values organized by group ID. Each group contains user-defined field names with dynamic values (can be strings, arrays, user objects, or relationship objects). Structure varies by workspace configuration."),
44
44
  interactionMetadata: FolkListPeople_InteractionMetadataSchema.nullable().optional(),
45
45
  strongestConnection: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Strongest connection to this person, mapping group IDs to User objects").nullable().optional()
46
- });
47
- const FolkListPeople_PaginationSchema = zod.z.object({ nextLink: zod.z.string().describe("Link to retrieve the next page of results").nullable().optional() });
46
+ }).passthrough();
47
+ const FolkListPeople_PaginationSchema = zod.z.object({ nextLink: zod.z.string().describe("Link to retrieve the next page of results").nullable().optional() }).passthrough();
48
48
  const FolkListPeople_ListPeopleDataSchema = zod.z.object({
49
49
  items: zod.z.array(FolkListPeople_PersonSchema).describe("List of people returned"),
50
50
  pagination: FolkListPeople_PaginationSchema.nullable()
51
- });
51
+ }).passthrough();
52
52
  const FolkListPeopleOutput = zod.z.object({
53
53
  data: FolkListPeople_ListPeopleDataSchema.nullable(),
54
54
  deprecations: zod.z.array(zod.z.string()).describe("Deprecation warnings returned by the API").nullable().optional()
55
- });
55
+ }).passthrough();
56
56
  const folkListPeople = require_action.action("FOLK_LIST_PEOPLE", {
57
57
  slug: "folk-list-people",
58
58
  name: "List People",
@@ -1 +1 @@
1
- {"version":3,"file":"list-people.cjs","names":["z","action"],"sources":["../../src/actions/list-people.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListPeopleInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from a previous response's `pagination.nextLink`. Omit on the first call.\").optional(),\n filter: z.object({}).describe(\"Filters to apply, following `filter[attribute][operator]=value` format. E.g., {'firstName': {'eq': 'John'}}.\").optional(),\n combinator: z.enum([\"and\", \"or\"]).default(\"and\").describe(\"Logical operator to combine multiple filters.\").optional(),\n}).passthrough().describe(\"Request parameters for listing people in the workspace.\");\nconst FolkListPeople_GroupItemSchema = z.object({\n id: z.string().describe(\"Group ID for the person\").nullable(),\n name: z.string().describe(\"Group name for the person\").nullable(),\n});\nconst FolkListPeople_CompanyItemSchema = z.object({\n id: z.string().describe(\"Company ID for the person\").nullable(),\n name: z.string().describe(\"Company name for the person\").nullable(),\n});\nconst FolkListPeople_UserSchema = z.object({\n id: z.string().describe(\"User ID\").nullable(),\n email: z.string().describe(\"Email of the user\").nullable(),\n fullName: z.string().describe(\"Full name of the user\").nullable(),\n}).describe(\"User information model used across different contexts.\");\nconst FolkListPeople_InteractionMetadataSchema = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"User-specific interaction metadata (approximate count, last interacted timestamp).\").nullable().optional(),\n workspace: z.record(z.string(), z.unknown()).describe(\"Workspace-wide interaction metadata (approximate count, last interacted timestamp, last interacted by users).\").nullable().optional(),\n}).describe(\"Metadata about interactions with a person.\");\nconst FolkListPeople_PersonSchema = z.object({\n id: z.string().describe(\"Unique identifier of the person\").nullable(),\n urls: z.array(z.string()).describe(\"URLs associated with the person\"),\n emails: z.array(z.string()).describe(\"Emails for the person\"),\n groups: z.array(FolkListPeople_GroupItemSchema).describe(\"Groups the person belongs to\"),\n phones: z.array(z.string()).describe(\"Phone numbers for the person\"),\n birthday: z.string().describe(\"Birthday in YYYY-MM-DD format\").nullable().optional(),\n fullName: z.string().describe(\"Person's full name\").nullable().optional(),\n jobTitle: z.string().describe(\"Current job title\").nullable().optional(),\n lastName: z.string().describe(\"Person's last name\").nullable().optional(),\n addresses: z.array(z.string()).describe(\"List of addresses for the person\"),\n companies: z.array(FolkListPeople_CompanyItemSchema).describe(\"Companies associated with the person\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when person was created\").nullable().optional(),\n createdBy: FolkListPeople_UserSchema.nullable().optional(),\n firstName: z.string().describe(\"Person's first name\").nullable().optional(),\n description: z.string().describe(\"Textual description of the person\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values organized by group ID. Each group contains user-defined field names with dynamic values (can be strings, arrays, user objects, or relationship objects). Structure varies by workspace configuration.\"),\n interactionMetadata: FolkListPeople_InteractionMetadataSchema.nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Strongest connection to this person, mapping group IDs to User objects\").nullable().optional(),\n});\nconst FolkListPeople_PaginationSchema = z.object({\n nextLink: z.string().describe(\"Link to retrieve the next page of results\").nullable().optional(),\n});\nconst FolkListPeople_ListPeopleDataSchema = z.object({\n items: z.array(FolkListPeople_PersonSchema).describe(\"List of people returned\"),\n pagination: FolkListPeople_PaginationSchema.nullable(),\n});\nexport const FolkListPeopleOutput = z.object({\n data: FolkListPeople_ListPeopleDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings returned by the API\").nullable().optional(),\n});\n\nexport const folkListPeople = action(\"FOLK_LIST_PEOPLE\", {\n slug: \"folk-list-people\",\n name: \"List People\",\n description: \"Tool to list people in the workspace. Use when you need to paginate through contacts after authentication.\",\n input: FolkListPeopleInput,\n output: FolkListPeopleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACvJ,YAAYA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2B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A,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC;AACD,MAAM,kCAAkCA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjG,CAAC;AACD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,yBAAyB;CAC9E,YAAY,gCAAgC,SAAS;AACvD,CAAC;AACD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAM,oCAAoC,SAAS;CACnD,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC;AAED,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-people.cjs","names":["z","action"],"sources":["../../src/actions/list-people.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkListPeopleInput = z.object({\n limit: z.number().int().default(20).describe(\"The number of items to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"A pagination cursor from a previous response's `pagination.nextLink`. Omit on the first call.\").optional(),\n filter: z.record(z.string(), z.unknown()).describe(\"Filters to apply, following `filter[attribute][operator]=value` format. E.g., {'firstName': {'eq': 'John'}}.\").optional(),\n combinator: z.enum([\"and\", \"or\"]).default(\"and\").describe(\"Logical operator to combine multiple filters.\").optional(),\n}).passthrough().describe(\"Request parameters for listing people in the workspace.\");\nconst FolkListPeople_GroupItemSchema = z.object({\n id: z.string().describe(\"Group ID for the person\").nullable(),\n name: z.string().describe(\"Group name for the person\").nullable(),\n}).passthrough();\nconst FolkListPeople_CompanyItemSchema = z.object({\n id: z.string().describe(\"Company ID for the person\").nullable(),\n name: z.string().describe(\"Company name for the person\").nullable(),\n}).passthrough();\nconst FolkListPeople_UserSchema = z.object({\n id: z.string().describe(\"User ID\").nullable(),\n email: z.string().describe(\"Email of the user\").nullable(),\n fullName: z.string().describe(\"Full name of the user\").nullable(),\n}).passthrough().describe(\"User information model used across different contexts.\");\nconst FolkListPeople_InteractionMetadataSchema = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"User-specific interaction metadata (approximate count, last interacted timestamp).\").nullable().optional(),\n workspace: z.record(z.string(), z.unknown()).describe(\"Workspace-wide interaction metadata (approximate count, last interacted timestamp, last interacted by users).\").nullable().optional(),\n}).passthrough().describe(\"Metadata about interactions with a person.\");\nconst FolkListPeople_PersonSchema = z.object({\n id: z.string().describe(\"Unique identifier of the person\").nullable(),\n urls: z.array(z.string()).describe(\"URLs associated with the person\"),\n emails: z.array(z.string()).describe(\"Emails for the person\"),\n groups: z.array(FolkListPeople_GroupItemSchema).describe(\"Groups the person belongs to\"),\n phones: z.array(z.string()).describe(\"Phone numbers for the person\"),\n birthday: z.string().describe(\"Birthday in YYYY-MM-DD format\").nullable().optional(),\n fullName: z.string().describe(\"Person's full name\").nullable().optional(),\n jobTitle: z.string().describe(\"Current job title\").nullable().optional(),\n lastName: z.string().describe(\"Person's last name\").nullable().optional(),\n addresses: z.array(z.string()).describe(\"List of addresses for the person\"),\n companies: z.array(FolkListPeople_CompanyItemSchema).describe(\"Companies associated with the person\"),\n createdAt: z.string().describe(\"ISO 8601 timestamp when person was created\").nullable().optional(),\n createdBy: FolkListPeople_UserSchema.nullable().optional(),\n firstName: z.string().describe(\"Person's first name\").nullable().optional(),\n description: z.string().describe(\"Textual description of the person\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values organized by group ID. Each group contains user-defined field names with dynamic values (can be strings, arrays, user objects, or relationship objects). Structure varies by workspace configuration.\"),\n interactionMetadata: FolkListPeople_InteractionMetadataSchema.nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Strongest connection to this person, mapping group IDs to User objects\").nullable().optional(),\n}).passthrough();\nconst FolkListPeople_PaginationSchema = z.object({\n nextLink: z.string().describe(\"Link to retrieve the next page of results\").nullable().optional(),\n}).passthrough();\nconst FolkListPeople_ListPeopleDataSchema = z.object({\n items: z.array(FolkListPeople_PersonSchema).describe(\"List of people returned\"),\n pagination: FolkListPeople_PaginationSchema.nullable(),\n}).passthrough();\nexport const FolkListPeopleOutput = z.object({\n data: FolkListPeople_ListPeopleDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Deprecation warnings returned by the API\").nullable().optional(),\n}).passthrough();\n\nexport const folkListPeople = action(\"FOLK_LIST_PEOPLE\", {\n slug: \"folk-list-people\",\n name: \"List People\",\n description: \"Tool to list people in the workspace. Use when you need to paginate through contacts after authentication.\",\n input: FolkListPeopleInput,\n output: FolkListPeopleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAC5K,YAAYA,IAAAA,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AACnF,MAAM,iCAAiCA,IA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