@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
@@ -5,7 +5,7 @@ declare const FolkCreatePersonInput: z.ZodObject<{
5
5
  emails: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
6
  groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
7
  id: z.ZodString;
8
- }, z.core.$strip>>>;
8
+ }, z.core.$loose>>>;
9
9
  phones: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
10
  lastName: z.ZodOptional<z.ZodString>;
11
11
  firstName: z.ZodOptional<z.ZodString>;
@@ -19,7 +19,7 @@ declare const FolkCreatePersonOutput: z.ZodObject<{
19
19
  groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
20
  id: z.ZodNullable<z.ZodString>;
21
21
  name: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>>>>;
22
+ }, z.core.$loose>>>>;
23
23
  phones: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
24
  birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -29,13 +29,13 @@ declare const FolkCreatePersonOutput: z.ZodObject<{
29
29
  companies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
30
30
  id: z.ZodNullable<z.ZodString>;
31
31
  name: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>>>>;
32
+ }, z.core.$loose>>>>;
33
33
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  createdBy: z.ZodNullable<z.ZodObject<{
35
35
  id: z.ZodNullable<z.ZodString>;
36
36
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>>;
38
+ }, z.core.$loose>>;
39
39
  firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -43,7 +43,7 @@ declare const FolkCreatePersonOutput: z.ZodObject<{
43
43
  user: z.ZodNullable<z.ZodObject<{
44
44
  approximateCount: z.ZodNullable<z.ZodNumber>;
45
45
  lastInteractedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
- }, z.core.$strip>>;
46
+ }, z.core.$loose>>;
47
47
  workspace: z.ZodNullable<z.ZodObject<{
48
48
  approximateCount: z.ZodNullable<z.ZodNumber>;
49
49
  lastInteractedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -51,16 +51,17 @@ declare const FolkCreatePersonOutput: z.ZodObject<{
51
51
  id: z.ZodNullable<z.ZodString>;
52
52
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
53
  fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
- }, z.core.$strip>>>>;
55
- }, z.core.$strip>>;
56
- }, z.core.$strip>>;
54
+ }, z.core.$loose>>>>;
55
+ }, z.core.$loose>>;
56
+ }, z.core.$loose>>;
57
57
  strongestConnection: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
58
- }, z.core.$strip>>;
58
+ }, z.core.$loose>>;
59
59
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
60
- }, z.core.$strip>;
60
+ }, z.core.$loose>;
61
61
  declare const folkCreatePerson: import("@keystrokehq/action").WorkflowActionDefinition<{
62
62
  emails?: string[] | undefined;
63
63
  groups?: {
64
+ [x: string]: unknown;
64
65
  id: string;
65
66
  }[] | undefined;
66
67
  phones?: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"create-person.d.cts","names":[],"sources":["../../src/actions/create-person.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAwDrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA;;;;;;;;sBAM3B,MAAA;AAAA"}
1
+ {"version":3,"file":"create-person.d.cts","names":[],"sources":["../../src/actions/create-person.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAwDrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA;;;;;;;;;sBAM3B,MAAA;AAAA"}
@@ -5,7 +5,7 @@ declare const FolkCreatePersonInput: z.ZodObject<{
5
5
  emails: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
6
  groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
7
7
  id: z.ZodString;
8
- }, z.core.$strip>>>;
8
+ }, z.core.$loose>>>;
9
9
  phones: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
10
  lastName: z.ZodOptional<z.ZodString>;
11
11
  firstName: z.ZodOptional<z.ZodString>;
@@ -19,7 +19,7 @@ declare const FolkCreatePersonOutput: z.ZodObject<{
19
19
  groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
20
  id: z.ZodNullable<z.ZodString>;
21
21
  name: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>>>>;
22
+ }, z.core.$loose>>>>;
23
23
  phones: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
24
24
  birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -29,13 +29,13 @@ declare const FolkCreatePersonOutput: z.ZodObject<{
29
29
  companies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
30
30
  id: z.ZodNullable<z.ZodString>;
31
31
  name: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>>>>;
32
+ }, z.core.$loose>>>>;
33
33
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  createdBy: z.ZodNullable<z.ZodObject<{
35
35
  id: z.ZodNullable<z.ZodString>;
36
36
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>>;
38
+ }, z.core.$loose>>;
39
39
  firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -43,7 +43,7 @@ declare const FolkCreatePersonOutput: z.ZodObject<{
43
43
  user: z.ZodNullable<z.ZodObject<{
44
44
  approximateCount: z.ZodNullable<z.ZodNumber>;
45
45
  lastInteractedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
- }, z.core.$strip>>;
46
+ }, z.core.$loose>>;
47
47
  workspace: z.ZodNullable<z.ZodObject<{
48
48
  approximateCount: z.ZodNullable<z.ZodNumber>;
49
49
  lastInteractedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -51,16 +51,17 @@ declare const FolkCreatePersonOutput: z.ZodObject<{
51
51
  id: z.ZodNullable<z.ZodString>;
52
52
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
53
  fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
- }, z.core.$strip>>>>;
55
- }, z.core.$strip>>;
56
- }, z.core.$strip>>;
54
+ }, z.core.$loose>>>>;
55
+ }, z.core.$loose>>;
56
+ }, z.core.$loose>>;
57
57
  strongestConnection: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
58
- }, z.core.$strip>>;
58
+ }, z.core.$loose>>;
59
59
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
60
- }, z.core.$strip>;
60
+ }, z.core.$loose>;
61
61
  declare const folkCreatePerson: import("@keystrokehq/action").WorkflowActionDefinition<{
62
62
  emails?: string[] | undefined;
63
63
  groups?: {
64
+ [x: string]: unknown;
64
65
  id: string;
65
66
  }[] | undefined;
66
67
  phones?: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"create-person.d.mts","names":[],"sources":["../../src/actions/create-person.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAwDrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA;;;;;;;;sBAM3B,MAAA;AAAA"}
1
+ {"version":3,"file":"create-person.d.mts","names":[],"sources":["../../src/actions/create-person.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAwDrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA;;;;;;;;;sBAM3B,MAAA;AAAA"}
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  //#region src/actions/create-person.ts
4
4
  const FolkCreatePersonInput = z.object({
5
5
  emails: z.array(z.string()).describe("List of email addresses for the person. The first email is considered the primary email.").optional(),
6
- groups: z.array(z.object({ id: z.string().describe("ID of the group to add the person to.") }).describe("Reference to a group by its ID.")).describe("The groups to add the person to. Provide group IDs.").optional(),
6
+ groups: z.array(z.object({ id: z.string().describe("ID of the group to add the person to.") }).passthrough().describe("Reference to a group by its ID.")).describe("The groups to add the person to. Provide group IDs.").optional(),
7
7
  phones: z.array(z.string()).describe("List of phone numbers for the person. The first phone is considered the primary phone.").optional(),
8
8
  lastName: z.string().describe("Last name of the person.").optional(),
9
9
  firstName: z.string().describe("First name of the person.").optional(),
@@ -12,29 +12,29 @@ const FolkCreatePersonInput = z.object({
12
12
  const FolkCreatePerson_GroupLinkResponseSchema = z.object({
13
13
  id: z.string().describe("ID of the group.").nullable(),
14
14
  name: z.string().describe("Name of the group.").nullable()
15
- }).describe("Group information returned in API responses, including ID and name.");
15
+ }).passthrough().describe("Group information returned in API responses, including ID and name.");
16
16
  const FolkCreatePerson_CompanyItemSchema = z.object({
17
17
  id: z.string().describe("The company's unique identifier.").nullable(),
18
18
  name: z.string().describe("The company's name.").nullable()
19
- }).describe("A company associated with the person.");
19
+ }).passthrough().describe("A company associated with the person.");
20
20
  const FolkCreatePerson_UserInfoSchema = z.object({
21
21
  id: z.string().describe("Unique identifier of the user.").nullable(),
22
22
  email: z.string().describe("Email address of the user.").nullable().optional(),
23
23
  fullName: z.string().describe("Full name of the user.").nullable().optional()
24
- }).describe("User information with ID, full name, and email.");
24
+ }).passthrough().describe("User information with ID, full name, and email.");
25
25
  const FolkCreatePerson_UserMetadataSchema = z.object({
26
26
  approximateCount: z.number().int().describe("Number of interactions between current user and contact.").nullable(),
27
27
  lastInteractedAt: z.string().describe("Most recent interaction timestamp in ISO 8601 date-time format.").nullable().optional()
28
- }).describe("User-specific interaction metadata.");
28
+ }).passthrough().describe("User-specific interaction metadata.");
29
29
  const FolkCreatePerson_WorkspaceMetadataSchema = z.object({
30
30
  approximateCount: z.number().int().describe("Total number of workspace interactions with contact.").nullable(),
31
31
  lastInteractedAt: z.string().describe("Most recent workspace interaction timestamp in ISO 8601 date-time format.").nullable().optional(),
32
32
  lastInteractedBy: z.array(FolkCreatePerson_UserInfoSchema).describe("Users who last interacted with the contact.").nullable().optional()
33
- }).describe("Workspace-wide interaction metadata.");
33
+ }).passthrough().describe("Workspace-wide interaction metadata.");
34
34
  const FolkCreatePerson_InteractionMetadataSchema = z.object({
35
35
  user: FolkCreatePerson_UserMetadataSchema.nullable(),
36
36
  workspace: FolkCreatePerson_WorkspaceMetadataSchema.nullable()
37
- }).describe("Metadata about interactions with the person.");
37
+ }).passthrough().describe("Metadata about interactions with the person.");
38
38
  const FolkCreatePerson_CreatePersonResponseDataSchema = z.object({
39
39
  id: z.string().describe("ID of the created person.").nullable(),
40
40
  urls: z.array(z.string()).describe("URLs associated with the person.").nullable().optional(),
@@ -54,7 +54,7 @@ const FolkCreatePerson_CreatePersonResponseDataSchema = z.object({
54
54
  customFieldValues: z.record(z.string(), z.unknown()).describe("Map of group IDs to custom field values. Value types depend on field type (text, number, date, select, contact, user, relationship, etc.).").nullable().optional(),
55
55
  interactionMetadata: FolkCreatePerson_InteractionMetadataSchema.nullable(),
56
56
  strongestConnection: z.record(z.string(), z.unknown()).describe("Map of group IDs to workspace members with the strongest connection to this person.").nullable().optional()
57
- }).describe("Data returned after a successful person creation.");
57
+ }).passthrough().describe("Data returned after a successful person creation.");
58
58
  const folkCreatePerson = action("FOLK_CREATE_PERSON", {
59
59
  slug: "folk-create-person",
60
60
  name: "Create Person",
@@ -63,7 +63,7 @@ const folkCreatePerson = action("FOLK_CREATE_PERSON", {
63
63
  output: z.object({
64
64
  data: FolkCreatePerson_CreatePersonResponseDataSchema.nullable(),
65
65
  deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
66
- }).describe("Response schema for creating a new person.")
66
+ }).passthrough().describe("Response schema for creating a new person.")
67
67
  });
68
68
  //#endregion
69
69
  export { folkCreatePerson };
@@ -1 +1 @@
1
- {"version":3,"file":"create-person.mjs","names":[],"sources":["../../src/actions/create-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkCreatePersonInput = z.object({\n emails: z.array(z.string()).describe(\"List of email addresses for the person. The first email is considered the primary email.\").optional(),\n groups: z.array(z.object({\n id: z.string().describe(\"ID of the group to add the person to.\"),\n}).describe(\"Reference to a group by its ID.\")).describe(\"The groups to add the person to. Provide group IDs.\").optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers for the person. The first phone is considered the primary phone.\").optional(),\n lastName: z.string().describe(\"Last name of the person.\").optional(),\n firstName: z.string().describe(\"First name of the person.\").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 creating a new person in the workspace.\");\nconst FolkCreatePerson_GroupLinkResponseSchema = z.object({\n id: z.string().describe(\"ID of the group.\").nullable(),\n name: z.string().describe(\"Name of the group.\").nullable(),\n}).describe(\"Group information returned in API responses, including ID and name.\");\nconst FolkCreatePerson_CompanyItemSchema = z.object({\n id: z.string().describe(\"The company's unique identifier.\").nullable(),\n name: z.string().describe(\"The company's name.\").nullable(),\n}).describe(\"A company associated with the person.\");\nconst FolkCreatePerson_UserInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the user.\").nullable().optional(),\n}).describe(\"User information with ID, full name, and email.\");\nconst FolkCreatePerson_UserMetadataSchema = z.object({\n approximateCount: z.number().int().describe(\"Number of interactions between current user and contact.\").nullable(),\n lastInteractedAt: z.string().describe(\"Most recent interaction timestamp in ISO 8601 date-time format.\").nullable().optional(),\n}).describe(\"User-specific interaction metadata.\");\nconst FolkCreatePerson_WorkspaceMetadataSchema = z.object({\n approximateCount: z.number().int().describe(\"Total number of workspace interactions with contact.\").nullable(),\n lastInteractedAt: z.string().describe(\"Most recent workspace interaction timestamp in ISO 8601 date-time format.\").nullable().optional(),\n lastInteractedBy: z.array(FolkCreatePerson_UserInfoSchema).describe(\"Users who last interacted with the contact.\").nullable().optional(),\n}).describe(\"Workspace-wide interaction metadata.\");\nconst FolkCreatePerson_InteractionMetadataSchema = z.object({\n user: FolkCreatePerson_UserMetadataSchema.nullable(),\n workspace: FolkCreatePerson_WorkspaceMetadataSchema.nullable(),\n}).describe(\"Metadata about interactions with the person.\");\nconst FolkCreatePerson_CreatePersonResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the created person.\").nullable(),\n urls: z.array(z.string()).describe(\"URLs associated with the person.\").nullable().optional(),\n emails: z.array(z.string()).describe(\"Email addresses associated with the person.\").nullable().optional(),\n groups: z.array(FolkCreatePerson_GroupLinkResponseSchema).describe(\"Groups the person belongs to with ID and name.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"Phone numbers associated with the person.\").nullable().optional(),\n birthday: z.string().describe(\"Birthday of the person in ISO date format (YYYY-MM-DD).\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the person.\").nullable().optional(),\n jobTitle: z.string().describe(\"Job title of the person.\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the person.\").nullable().optional(),\n addresses: z.array(z.string()).describe(\"Addresses associated with the person.\").nullable().optional(),\n companies: z.array(FolkCreatePerson_CompanyItemSchema).describe(\"Companies associated with the person.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the person was created.\").nullable().optional(),\n createdBy: FolkCreatePerson_UserInfoSchema.nullable(),\n firstName: z.string().describe(\"First name of the person.\").nullable().optional(),\n description: z.string().describe(\"Description of the person.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Map of group IDs to custom field values. Value types depend on field type (text, number, date, select, contact, user, relationship, etc.).\").nullable().optional(),\n interactionMetadata: FolkCreatePerson_InteractionMetadataSchema.nullable(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Map of group IDs to workspace members with the strongest connection to this person.\").nullable().optional(),\n}).describe(\"Data returned after a successful person creation.\");\nexport const FolkCreatePersonOutput = z.object({\n data: FolkCreatePerson_CreatePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for creating a new person.\");\n\nexport const folkCreatePerson = action(\"FOLK_CREATE_PERSON\", {\n slug: \"folk-create-person\",\n name: \"Create Person\",\n description: \"Creates a new person in the Folk workspace with the specified details. Optional fields include: first name, last name, emails, phones, group assignments, and custom field values. The first email/phone in the list is treated as the primary contact. Returns the created person with a unique ID, all provided fields, timestamps, and creator information.\",\n input: FolkCreatePersonInput,\n output: FolkCreatePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC1I,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,IAAI,EAAE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N,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,MAAM,gDAAgD,SAAS;EAC/D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-person.mjs","names":[],"sources":["../../src/actions/create-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkCreatePersonInput = z.object({\n emails: z.array(z.string()).describe(\"List of email addresses for the person. The first email is considered the primary email.\").optional(),\n groups: z.array(z.object({\n id: z.string().describe(\"ID of the group to add the person to.\"),\n}).passthrough().describe(\"Reference to a group by its ID.\")).describe(\"The groups to add the person to. Provide group IDs.\").optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers for the person. The first phone is considered the primary phone.\").optional(),\n lastName: z.string().describe(\"Last name of the person.\").optional(),\n firstName: z.string().describe(\"First name of the person.\").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 creating a new person in the workspace.\");\nconst FolkCreatePerson_GroupLinkResponseSchema = z.object({\n id: z.string().describe(\"ID of the group.\").nullable(),\n name: z.string().describe(\"Name of the group.\").nullable(),\n}).passthrough().describe(\"Group information returned in API responses, including ID and name.\");\nconst FolkCreatePerson_CompanyItemSchema = z.object({\n id: z.string().describe(\"The company's unique identifier.\").nullable(),\n name: z.string().describe(\"The company's name.\").nullable(),\n}).passthrough().describe(\"A company associated with the person.\");\nconst FolkCreatePerson_UserInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the user.\").nullable().optional(),\n}).passthrough().describe(\"User information with ID, full name, and email.\");\nconst FolkCreatePerson_UserMetadataSchema = z.object({\n approximateCount: z.number().int().describe(\"Number of interactions between current user and contact.\").nullable(),\n lastInteractedAt: z.string().describe(\"Most recent interaction timestamp in ISO 8601 date-time format.\").nullable().optional(),\n}).passthrough().describe(\"User-specific interaction metadata.\");\nconst FolkCreatePerson_WorkspaceMetadataSchema = z.object({\n approximateCount: z.number().int().describe(\"Total number of workspace interactions with contact.\").nullable(),\n lastInteractedAt: z.string().describe(\"Most recent workspace interaction timestamp in ISO 8601 date-time format.\").nullable().optional(),\n lastInteractedBy: z.array(FolkCreatePerson_UserInfoSchema).describe(\"Users who last interacted with the contact.\").nullable().optional(),\n}).passthrough().describe(\"Workspace-wide interaction metadata.\");\nconst FolkCreatePerson_InteractionMetadataSchema = z.object({\n user: FolkCreatePerson_UserMetadataSchema.nullable(),\n workspace: FolkCreatePerson_WorkspaceMetadataSchema.nullable(),\n}).passthrough().describe(\"Metadata about interactions with the person.\");\nconst FolkCreatePerson_CreatePersonResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the created person.\").nullable(),\n urls: z.array(z.string()).describe(\"URLs associated with the person.\").nullable().optional(),\n emails: z.array(z.string()).describe(\"Email addresses associated with the person.\").nullable().optional(),\n groups: z.array(FolkCreatePerson_GroupLinkResponseSchema).describe(\"Groups the person belongs to with ID and name.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"Phone numbers associated with the person.\").nullable().optional(),\n birthday: z.string().describe(\"Birthday of the person in ISO date format (YYYY-MM-DD).\").nullable().optional(),\n fullName: z.string().describe(\"Full name of the person.\").nullable().optional(),\n jobTitle: z.string().describe(\"Job title of the person.\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the person.\").nullable().optional(),\n addresses: z.array(z.string()).describe(\"Addresses associated with the person.\").nullable().optional(),\n companies: z.array(FolkCreatePerson_CompanyItemSchema).describe(\"Companies associated with the person.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the person was created.\").nullable().optional(),\n createdBy: FolkCreatePerson_UserInfoSchema.nullable(),\n firstName: z.string().describe(\"First name of the person.\").nullable().optional(),\n description: z.string().describe(\"Description of the person.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Map of group IDs to custom field values. Value types depend on field type (text, number, date, select, contact, user, relationship, etc.).\").nullable().optional(),\n interactionMetadata: FolkCreatePerson_InteractionMetadataSchema.nullable(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Map of group IDs to workspace members with the strongest connection to this person.\").nullable().optional(),\n}).passthrough().describe(\"Data returned after a successful person creation.\");\nexport const FolkCreatePersonOutput = z.object({\n data: FolkCreatePerson_CreatePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a new person.\");\n\nexport const folkCreatePerson = action(\"FOLK_CREATE_PERSON\", {\n slug: \"folk-create-person\",\n name: \"Create Person\",\n description: \"Creates a new person in the Folk workspace with the specified details. Optional fields include: first name, last name, emails, phones, group assignments, and custom field values. The first email/phone in the list is treated as the primary contact. Returns the created person with a unique ID, all provided fields, timestamps, and creator information.\",\n input: FolkCreatePersonInput,\n output: FolkCreatePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC1I,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACrI,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACxI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,WA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AAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -2,11 +2,11 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-company.ts
4
4
  const FolkDeleteCompanyInput = zod.z.object({ company_id: zod.z.string().describe("The ID of the company to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a company.");
5
- const FolkDeleteCompany_DeleteCompanyResponseDataSchema = zod.z.object({ id: zod.z.string().describe("ID of the deleted company.").nullable() }).describe("Data returned after a successful delete.");
5
+ const FolkDeleteCompany_DeleteCompanyResponseDataSchema = zod.z.object({ id: zod.z.string().describe("ID of the deleted company.").nullable() }).passthrough().describe("Data returned after a successful delete.");
6
6
  const FolkDeleteCompanyOutput = zod.z.object({
7
7
  data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.nullable(),
8
8
  deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
9
- }).describe("Response schema for deleting a company.");
9
+ }).passthrough().describe("Response schema for deleting a company.");
10
10
  const folkDeleteCompany = require_action.action("FOLK_DELETE_COMPANY", {
11
11
  slug: "folk-delete-company",
12
12
  name: "Delete Company",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-company.cjs","names":["z","action"],"sources":["../../src/actions/delete-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteCompanyInput = z.object({\n company_id: z.string().describe(\"The ID of the company to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a company.\");\nconst FolkDeleteCompany_DeleteCompanyResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted company.\").nullable(),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteCompanyOutput = z.object({\n data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a company.\");\n\nexport const folkDeleteCompany = action(\"FOLK_DELETE_COMPANY\", {\n slug: \"folk-delete-company\",\n name: \"Delete Company\",\n description: \"Tool to delete a company from the workspace (irreversible). Use after confirming this company should be removed.\",\n input: FolkDeleteCompanyInput,\n output: FolkDeleteCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,EACnG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,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,SAAS,yCAAyC;AAErD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-company.cjs","names":["z","action"],"sources":["../../src/actions/delete-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteCompanyInput = z.object({\n company_id: z.string().describe(\"The ID of the company to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a company.\");\nconst FolkDeleteCompany_DeleteCompanyResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted company.\").nullable(),\n}).passthrough().describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteCompanyOutput = z.object({\n data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a company.\");\n\nexport const folkDeleteCompany = action(\"FOLK_DELETE_COMPANY\", {\n slug: \"folk-delete-company\",\n name: \"Delete Company\",\n description: \"Tool to delete a company from the workspace (irreversible). Use after confirming this company should be removed.\",\n input: FolkDeleteCompanyInput,\n output: FolkDeleteCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,EACnG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,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,yCAAyC;AAEnE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,9 +7,9 @@ declare const FolkDeleteCompanyInput: z.ZodObject<{
7
7
  declare const FolkDeleteCompanyOutput: z.ZodObject<{
8
8
  data: z.ZodNullable<z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const folkDeleteCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  company_id: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,9 +7,9 @@ declare const FolkDeleteCompanyInput: z.ZodObject<{
7
7
  declare const FolkDeleteCompanyOutput: z.ZodObject<{
8
8
  data: z.ZodNullable<z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const folkDeleteCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  company_id: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/delete-company.ts
4
4
  const FolkDeleteCompanyInput = z.object({ company_id: z.string().describe("The ID of the company to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a company.");
5
- const FolkDeleteCompany_DeleteCompanyResponseDataSchema = z.object({ id: z.string().describe("ID of the deleted company.").nullable() }).describe("Data returned after a successful delete.");
5
+ const FolkDeleteCompany_DeleteCompanyResponseDataSchema = z.object({ id: z.string().describe("ID of the deleted company.").nullable() }).passthrough().describe("Data returned after a successful delete.");
6
6
  const folkDeleteCompany = action("FOLK_DELETE_COMPANY", {
7
7
  slug: "folk-delete-company",
8
8
  name: "Delete Company",
@@ -11,7 +11,7 @@ const folkDeleteCompany = action("FOLK_DELETE_COMPANY", {
11
11
  output: z.object({
12
12
  data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.nullable(),
13
13
  deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
14
- }).describe("Response schema for deleting a company.")
14
+ }).passthrough().describe("Response schema for deleting a company.")
15
15
  });
16
16
  //#endregion
17
17
  export { folkDeleteCompany };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-company.mjs","names":[],"sources":["../../src/actions/delete-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteCompanyInput = z.object({\n company_id: z.string().describe(\"The ID of the company to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a company.\");\nconst FolkDeleteCompany_DeleteCompanyResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted company.\").nullable(),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteCompanyOutput = z.object({\n data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a company.\");\n\nexport const folkDeleteCompany = action(\"FOLK_DELETE_COMPANY\", {\n slug: \"folk-delete-company\",\n name: \"Delete Company\",\n description: \"Tool to delete a company from the workspace (irreversible). Use after confirming this company should be removed.\",\n input: FolkDeleteCompanyInput,\n output: FolkDeleteCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,EACnG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oDAAoD,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,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,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-company.mjs","names":[],"sources":["../../src/actions/delete-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteCompanyInput = z.object({\n company_id: z.string().describe(\"The ID of the company to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a company.\");\nconst FolkDeleteCompany_DeleteCompanyResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted company.\").nullable(),\n}).passthrough().describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteCompanyOutput = z.object({\n data: FolkDeleteCompany_DeleteCompanyResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a company.\");\n\nexport const folkDeleteCompany = action(\"FOLK_DELETE_COMPANY\", {\n slug: \"folk-delete-company\",\n name: \"Delete Company\",\n description: \"Tool to delete a company from the workspace (irreversible). Use after confirming this company should be removed.\",\n input: FolkDeleteCompanyInput,\n output: FolkDeleteCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,EACnG,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,oDAAoD,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,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,yCAOhB;AACV,CAAC"}
@@ -2,11 +2,11 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-note.ts
4
4
  const FolkDeleteNoteInput = zod.z.object({ note_id: zod.z.string().describe("The ID of the note to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a note.");
5
- const FolkDeleteNote_DeleteNoteResponseDataSchema = zod.z.object({ id: zod.z.string().describe("ID of the deleted note.").nullable() }).describe("Data returned after a successful delete.");
5
+ const FolkDeleteNote_DeleteNoteResponseDataSchema = zod.z.object({ id: zod.z.string().describe("ID of the deleted note.").nullable() }).passthrough().describe("Data returned after a successful delete.");
6
6
  const FolkDeleteNoteOutput = zod.z.object({
7
7
  data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),
8
8
  deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
9
- }).describe("Response schema for deleting a note.");
9
+ }).passthrough().describe("Response schema for deleting a note.");
10
10
  const folkDeleteNote = require_action.action("FOLK_DELETE_NOTE", {
11
11
  slug: "folk-delete-note",
12
12
  name: "Delete Note",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-note.cjs","names":["z","action"],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted note.\").nullable(),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a note.\");\n\nexport const folkDeleteNote = action(\"FOLK_DELETE_NOTE\", {\n slug: \"folk-delete-note\",\n name: \"Delete Note\",\n description: \"Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.\",\n input: FolkDeleteNoteInput,\n output: FolkDeleteNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,EAC9D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAM,4CAA4C,SAAS;CAC3D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-note.cjs","names":["z","action"],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted note.\").nullable(),\n}).passthrough().describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a note.\");\n\nexport const folkDeleteNote = action(\"FOLK_DELETE_NOTE\", {\n slug: \"folk-delete-note\",\n name: \"Delete Note\",\n description: \"Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.\",\n input: FolkDeleteNoteInput,\n output: FolkDeleteNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,EAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAM,4CAA4C,SAAS;CAC3D,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,sCAAsC;AAEhE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,9 +7,9 @@ declare const FolkDeleteNoteInput: z.ZodObject<{
7
7
  declare const FolkDeleteNoteOutput: z.ZodObject<{
8
8
  data: z.ZodNullable<z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const folkDeleteNote: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  note_id: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,9 +7,9 @@ declare const FolkDeleteNoteInput: z.ZodObject<{
7
7
  declare const FolkDeleteNoteOutput: z.ZodObject<{
8
8
  data: z.ZodNullable<z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const folkDeleteNote: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  note_id: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/delete-note.ts
4
4
  const FolkDeleteNoteInput = z.object({ note_id: z.string().describe("The ID of the note to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a note.");
5
- const FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({ id: z.string().describe("ID of the deleted note.").nullable() }).describe("Data returned after a successful delete.");
5
+ const FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({ id: z.string().describe("ID of the deleted note.").nullable() }).passthrough().describe("Data returned after a successful delete.");
6
6
  const folkDeleteNote = action("FOLK_DELETE_NOTE", {
7
7
  slug: "folk-delete-note",
8
8
  name: "Delete Note",
@@ -11,7 +11,7 @@ const folkDeleteNote = action("FOLK_DELETE_NOTE", {
11
11
  output: z.object({
12
12
  data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),
13
13
  deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
14
- }).describe("Response schema for deleting a note.")
14
+ }).passthrough().describe("Response schema for deleting a note.")
15
15
  });
16
16
  //#endregion
17
17
  export { folkDeleteNote };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-note.mjs","names":[],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted note.\").nullable(),\n}).describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a note.\");\n\nexport const folkDeleteNote = action(\"FOLK_DELETE_NOTE\", {\n slug: \"folk-delete-note\",\n name: \"Delete Note\",\n description: \"Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.\",\n input: FolkDeleteNoteInput,\n output: FolkDeleteNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA8C,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,EAC9D,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkC,EAAE,OAAO;EAC3C,MAAM,4CAA4C,SAAS;EAC3D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-note.mjs","names":[],"sources":["../../src/actions/delete-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteNoteInput = z.object({\n note_id: z.string().describe(\"The ID of the note to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a note.\");\nconst FolkDeleteNote_DeleteNoteResponseDataSchema = z.object({\n id: z.string().describe(\"ID of the deleted note.\").nullable(),\n}).passthrough().describe(\"Data returned after a successful delete.\");\nexport const FolkDeleteNoteOutput = z.object({\n data: FolkDeleteNote_DeleteNoteResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a note.\");\n\nexport const folkDeleteNote = action(\"FOLK_DELETE_NOTE\", {\n slug: \"folk-delete-note\",\n name: \"Delete Note\",\n description: \"Tool to delete an existing note in the workspace (irreversible). Use after confirming this note should be permanently removed.\",\n input: FolkDeleteNoteInput,\n output: FolkDeleteNoteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,EAC7F,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,8CAA8C,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,EAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkC,EAAE,OAAO;EAC3C,MAAM,4CAA4C,SAAS;EAC3D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
@@ -2,11 +2,11 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-person.ts
4
4
  const FolkDeletePersonInput = zod.z.object({ person_id: zod.z.string().describe("The ID of the person to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a person.");
5
- const FolkDeletePerson_DeletePersonResponseDataSchema = zod.z.object({ id: zod.z.string().describe("The ID of the deleted person.").nullable() }).describe("Data returned after deleting a person.");
5
+ const FolkDeletePerson_DeletePersonResponseDataSchema = zod.z.object({ id: zod.z.string().describe("The ID of the deleted person.").nullable() }).passthrough().describe("Data returned after deleting a person.");
6
6
  const FolkDeletePersonOutput = zod.z.object({
7
7
  data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),
8
8
  deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
9
- }).describe("Response schema for deleting a person.");
9
+ }).passthrough().describe("Response schema for deleting a person.");
10
10
  const folkDeletePerson = require_action.action("FOLK_DELETE_PERSON", {
11
11
  slug: "folk-delete-person",
12
12
  name: "Delete Person",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-person.cjs","names":["z","action"],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeletePersonInput = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted person.\").nullable(),\n}).describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a person.\");\n\nexport const folkDeletePerson = action(\"FOLK_DELETE_PERSON\", {\n slug: \"folk-delete-person\",\n name: \"Delete Person\",\n description: \"Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.\",\n input: FolkDeletePersonInput,\n output: FolkDeletePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAM,gDAAgD,SAAS;CAC/D,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAEpD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-person.cjs","names":["z","action"],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeletePersonInput = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted person.\").nullable(),\n}).passthrough().describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a person.\");\n\nexport const folkDeletePerson = action(\"FOLK_DELETE_PERSON\", {\n slug: \"folk-delete-person\",\n name: \"Delete Person\",\n description: \"Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.\",\n input: FolkDeletePersonInput,\n output: FolkDeletePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAM,gDAAgD,SAAS;CAC/D,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,wCAAwC;AAElE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,9 +7,9 @@ declare const FolkDeletePersonInput: z.ZodObject<{
7
7
  declare const FolkDeletePersonOutput: z.ZodObject<{
8
8
  data: z.ZodNullable<z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const folkDeletePerson: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  person_id: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,9 +7,9 @@ declare const FolkDeletePersonInput: z.ZodObject<{
7
7
  declare const FolkDeletePersonOutput: z.ZodObject<{
8
8
  data: z.ZodNullable<z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const folkDeletePerson: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  person_id: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/delete-person.ts
4
4
  const FolkDeletePersonInput = z.object({ person_id: z.string().describe("The ID of the person to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a person.");
5
- const FolkDeletePerson_DeletePersonResponseDataSchema = z.object({ id: z.string().describe("The ID of the deleted person.").nullable() }).describe("Data returned after deleting a person.");
5
+ const FolkDeletePerson_DeletePersonResponseDataSchema = z.object({ id: z.string().describe("The ID of the deleted person.").nullable() }).passthrough().describe("Data returned after deleting a person.");
6
6
  const folkDeletePerson = action("FOLK_DELETE_PERSON", {
7
7
  slug: "folk-delete-person",
8
8
  name: "Delete Person",
@@ -11,7 +11,7 @@ const folkDeletePerson = action("FOLK_DELETE_PERSON", {
11
11
  output: z.object({
12
12
  data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),
13
13
  deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
14
- }).describe("Response schema for deleting a person.")
14
+ }).passthrough().describe("Response schema for deleting a person.")
15
15
  });
16
16
  //#endregion
17
17
  export { folkDeletePerson };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-person.mjs","names":[],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeletePersonInput = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted person.\").nullable(),\n}).describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a person.\");\n\nexport const folkDeletePerson = action(\"FOLK_DELETE_PERSON\", {\n slug: \"folk-delete-person\",\n name: \"Delete Person\",\n description: \"Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.\",\n input: FolkDeletePersonInput,\n output: FolkDeletePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAkD,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAMpD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,MAAM,gDAAgD,SAAS;EAC/D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-person.mjs","names":[],"sources":["../../src/actions/delete-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeletePersonInput = z.object({\n person_id: z.string().describe(\"The ID of the person to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a person.\");\nconst FolkDeletePerson_DeletePersonResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted person.\").nullable(),\n}).passthrough().describe(\"Data returned after deleting a person.\");\nexport const FolkDeletePersonOutput = z.object({\n data: FolkDeletePerson_DeletePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a person.\");\n\nexport const folkDeletePerson = action(\"FOLK_DELETE_PERSON\", {\n slug: \"folk-delete-person\",\n name: \"Delete Person\",\n description: \"Tool to delete an existing person in the workspace (irreversible). Use after confirming this person should be permanently removed.\",\n input: FolkDeletePersonInput,\n output: FolkDeletePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACjG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,kDAAkD,EAAE,OAAO,EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,MAAM,gDAAgD,SAAS;EAC/D,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -2,11 +2,11 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-reminder.ts
4
4
  const FolkDeleteReminderInput = zod.z.object({ reminder_id: zod.z.string().describe("The ID of the reminder to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a reminder.");
5
- const FolkDeleteReminder_DeleteReminderResponseDataSchema = zod.z.object({ id: zod.z.string().describe("The ID of the deleted reminder.").nullable() }).describe("Data returned after deleting a reminder.");
5
+ const FolkDeleteReminder_DeleteReminderResponseDataSchema = zod.z.object({ id: zod.z.string().describe("The ID of the deleted reminder.").nullable() }).passthrough().describe("Data returned after deleting a reminder.");
6
6
  const FolkDeleteReminderOutput = zod.z.object({
7
7
  data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),
8
8
  deprecations: zod.z.array(zod.z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
9
- }).describe("Response schema for deleting a reminder.");
9
+ }).passthrough().describe("Response schema for deleting a reminder.");
10
10
  const folkDeleteReminder = require_action.action("FOLK_DELETE_REMINDER", {
11
11
  slug: "folk-delete-reminder",
12
12
  name: "Delete Reminder",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-reminder.cjs","names":["z","action"],"sources":["../../src/actions/delete-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteReminderInput = z.object({\n reminder_id: z.string().describe(\"The ID of the reminder to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a reminder.\");\nconst FolkDeleteReminder_DeleteReminderResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted reminder.\").nullable(),\n}).describe(\"Data returned after deleting a reminder.\");\nexport const FolkDeleteReminderOutput = z.object({\n data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Response schema for deleting a reminder.\");\n\nexport const folkDeleteReminder = action(\"FOLK_DELETE_REMINDER\", {\n slug: \"folk-delete-reminder\",\n name: \"Delete Reminder\",\n description: \"Tool to delete an existing reminder in the workspace (irreversible). Use after confirming this reminder should be permanently removed.\",\n input: FolkDeleteReminderInput,\n output: FolkDeleteReminderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,oDAAoD,SAAS;CACnE,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-reminder.cjs","names":["z","action"],"sources":["../../src/actions/delete-reminder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkDeleteReminderInput = z.object({\n reminder_id: z.string().describe(\"The ID of the reminder to delete. Must be exactly 40 characters.\"),\n}).describe(\"Request schema for deleting a reminder.\");\nconst FolkDeleteReminder_DeleteReminderResponseDataSchema = z.object({\n id: z.string().describe(\"The ID of the deleted reminder.\").nullable(),\n}).passthrough().describe(\"Data returned after deleting a reminder.\");\nexport const FolkDeleteReminderOutput = z.object({\n data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for deleting a reminder.\");\n\nexport const folkDeleteReminder = action(\"FOLK_DELETE_REMINDER\", {\n slug: \"folk-delete-reminder\",\n name: \"Delete Reminder\",\n description: \"Tool to delete an existing reminder in the workspace (irreversible). Use after confirming this reminder should be permanently removed.\",\n input: FolkDeleteReminderInput,\n output: FolkDeleteReminderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,oDAAoD,SAAS;CACnE,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,0CAA0C;AAEpE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,9 +7,9 @@ declare const FolkDeleteReminderInput: z.ZodObject<{
7
7
  declare const FolkDeleteReminderOutput: z.ZodObject<{
8
8
  data: z.ZodNullable<z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const folkDeleteReminder: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  reminder_id: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -7,9 +7,9 @@ declare const FolkDeleteReminderInput: z.ZodObject<{
7
7
  declare const FolkDeleteReminderOutput: z.ZodObject<{
8
8
  data: z.ZodNullable<z.ZodObject<{
9
9
  id: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const folkDeleteReminder: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  reminder_id: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/delete-reminder.ts
4
4
  const FolkDeleteReminderInput = z.object({ reminder_id: z.string().describe("The ID of the reminder to delete. Must be exactly 40 characters.") }).describe("Request schema for deleting a reminder.");
5
- const FolkDeleteReminder_DeleteReminderResponseDataSchema = z.object({ id: z.string().describe("The ID of the deleted reminder.").nullable() }).describe("Data returned after deleting a reminder.");
5
+ const FolkDeleteReminder_DeleteReminderResponseDataSchema = z.object({ id: z.string().describe("The ID of the deleted reminder.").nullable() }).passthrough().describe("Data returned after deleting a reminder.");
6
6
  const folkDeleteReminder = action("FOLK_DELETE_REMINDER", {
7
7
  slug: "folk-delete-reminder",
8
8
  name: "Delete Reminder",
@@ -11,7 +11,7 @@ const folkDeleteReminder = action("FOLK_DELETE_REMINDER", {
11
11
  output: z.object({
12
12
  data: FolkDeleteReminder_DeleteReminderResponseDataSchema.nullable(),
13
13
  deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
14
- }).describe("Response schema for deleting a reminder.")
14
+ }).passthrough().describe("Response schema for deleting a reminder.")
15
15
  });
16
16
  //#endregion
17
17
  export { folkDeleteReminder };