@keystrokehq/folk 0.1.2 → 0.1.4
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.
- package/dist/actions/create-company.cjs +5 -5
- package/dist/actions/create-company.cjs.map +1 -1
- package/dist/actions/create-company.d.cts +6 -5
- package/dist/actions/create-company.d.cts.map +1 -1
- package/dist/actions/create-company.d.mts +6 -5
- package/dist/actions/create-company.d.mts.map +1 -1
- package/dist/actions/create-company.mjs +5 -5
- package/dist/actions/create-company.mjs.map +1 -1
- package/dist/actions/create-note.cjs +5 -5
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +5 -5
- package/dist/actions/create-note.d.mts +5 -5
- package/dist/actions/create-note.mjs +5 -5
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-person.cjs +9 -9
- package/dist/actions/create-person.cjs.map +1 -1
- package/dist/actions/create-person.d.cts +11 -10
- package/dist/actions/create-person.d.cts.map +1 -1
- package/dist/actions/create-person.d.mts +11 -10
- package/dist/actions/create-person.d.mts.map +1 -1
- package/dist/actions/create-person.mjs +9 -9
- package/dist/actions/create-person.mjs.map +1 -1
- package/dist/actions/delete-company.cjs +2 -2
- package/dist/actions/delete-company.cjs.map +1 -1
- package/dist/actions/delete-company.d.cts +2 -2
- package/dist/actions/delete-company.d.mts +2 -2
- package/dist/actions/delete-company.mjs +2 -2
- package/dist/actions/delete-company.mjs.map +1 -1
- package/dist/actions/delete-note.cjs +2 -2
- package/dist/actions/delete-note.cjs.map +1 -1
- package/dist/actions/delete-note.d.cts +2 -2
- package/dist/actions/delete-note.d.mts +2 -2
- package/dist/actions/delete-note.mjs +2 -2
- package/dist/actions/delete-note.mjs.map +1 -1
- package/dist/actions/delete-person.cjs +2 -2
- package/dist/actions/delete-person.cjs.map +1 -1
- package/dist/actions/delete-person.d.cts +2 -2
- package/dist/actions/delete-person.d.mts +2 -2
- package/dist/actions/delete-person.mjs +2 -2
- package/dist/actions/delete-person.mjs.map +1 -1
- package/dist/actions/delete-reminder.cjs +2 -2
- package/dist/actions/delete-reminder.cjs.map +1 -1
- package/dist/actions/delete-reminder.d.cts +2 -2
- package/dist/actions/delete-reminder.d.mts +2 -2
- package/dist/actions/delete-reminder.mjs +2 -2
- package/dist/actions/delete-reminder.mjs.map +1 -1
- package/dist/actions/get-company.cjs +3 -3
- package/dist/actions/get-company.cjs.map +1 -1
- package/dist/actions/get-company.d.cts +3 -3
- package/dist/actions/get-company.d.mts +3 -3
- package/dist/actions/get-company.mjs +3 -3
- package/dist/actions/get-company.mjs.map +1 -1
- package/dist/actions/get-current-workspace-user.cjs +2 -2
- package/dist/actions/get-current-workspace-user.cjs.map +1 -1
- package/dist/actions/get-current-workspace-user.d.cts +2 -2
- package/dist/actions/get-current-workspace-user.d.mts +2 -2
- package/dist/actions/get-current-workspace-user.mjs +2 -2
- package/dist/actions/get-current-workspace-user.mjs.map +1 -1
- package/dist/actions/get-note.cjs +7 -7
- package/dist/actions/get-note.cjs.map +1 -1
- package/dist/actions/get-note.d.cts +11 -11
- package/dist/actions/get-note.d.mts +11 -11
- package/dist/actions/get-note.mjs +7 -7
- package/dist/actions/get-note.mjs.map +1 -1
- package/dist/actions/get-person.cjs +4 -4
- package/dist/actions/get-person.cjs.map +1 -1
- package/dist/actions/get-person.d.cts +4 -4
- package/dist/actions/get-person.d.mts +4 -4
- package/dist/actions/get-person.mjs +4 -4
- package/dist/actions/get-person.mjs.map +1 -1
- package/dist/actions/get-user.cjs +2 -2
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +2 -2
- package/dist/actions/get-user.d.mts +2 -2
- package/dist/actions/get-user.mjs +2 -2
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-companies.cjs +7 -7
- package/dist/actions/list-companies.cjs.map +1 -1
- package/dist/actions/list-companies.d.cts +8 -8
- package/dist/actions/list-companies.d.mts +8 -8
- package/dist/actions/list-companies.mjs +7 -7
- package/dist/actions/list-companies.mjs.map +1 -1
- package/dist/actions/list-group-custom-fields.cjs +6 -6
- package/dist/actions/list-group-custom-fields.cjs.map +1 -1
- package/dist/actions/list-group-custom-fields.d.cts +6 -6
- package/dist/actions/list-group-custom-fields.d.mts +6 -6
- package/dist/actions/list-group-custom-fields.mjs +6 -6
- package/dist/actions/list-group-custom-fields.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +4 -4
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +4 -4
- package/dist/actions/list-groups.d.mts +4 -4
- package/dist/actions/list-groups.mjs +4 -4
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-notes.cjs +9 -9
- package/dist/actions/list-notes.cjs.map +1 -1
- package/dist/actions/list-notes.d.cts +9 -9
- package/dist/actions/list-notes.d.mts +9 -9
- package/dist/actions/list-notes.mjs +9 -9
- package/dist/actions/list-notes.mjs.map +1 -1
- package/dist/actions/list-people.cjs +9 -9
- package/dist/actions/list-people.cjs.map +1 -1
- package/dist/actions/list-people.d.cts +10 -10
- package/dist/actions/list-people.d.mts +10 -10
- package/dist/actions/list-people.mjs +9 -9
- package/dist/actions/list-people.mjs.map +1 -1
- package/dist/actions/list-reminders.cjs +6 -6
- package/dist/actions/list-reminders.cjs.map +1 -1
- package/dist/actions/list-reminders.d.cts +7 -7
- package/dist/actions/list-reminders.d.mts +7 -7
- package/dist/actions/list-reminders.mjs +6 -6
- package/dist/actions/list-reminders.mjs.map +1 -1
- package/dist/actions/list-users.cjs +4 -4
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +4 -4
- package/dist/actions/list-users.d.mts +4 -4
- package/dist/actions/list-users.mjs +4 -4
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +6 -6
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +6 -6
- package/dist/actions/list-webhooks.d.mts +6 -6
- package/dist/actions/list-webhooks.mjs +6 -6
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/update-company.cjs +4 -4
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +5 -4
- package/dist/actions/update-company.d.cts.map +1 -1
- package/dist/actions/update-company.d.mts +5 -4
- package/dist/actions/update-company.d.mts.map +1 -1
- package/dist/actions/update-company.mjs +4 -4
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-note.cjs +5 -5
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +5 -5
- package/dist/actions/update-note.d.mts +5 -5
- package/dist/actions/update-note.mjs +5 -5
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-person.cjs +7 -7
- package/dist/actions/update-person.cjs.map +1 -1
- package/dist/actions/update-person.d.cts +9 -7
- package/dist/actions/update-person.d.cts.map +1 -1
- package/dist/actions/update-person.d.mts +9 -7
- package/dist/actions/update-person.d.mts.map +1 -1
- package/dist/actions/update-person.mjs +7 -7
- package/dist/actions/update-person.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-person.cjs","names":["z","action"],"sources":["../../src/actions/update-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkUpdatePersonInput = z.object({\n urls: z.array(z.string()).describe(\"List of URLs associated with the person; replaces existing URLs.\").optional(),\n emails: z.array(z.string()).describe(\"List of email addresses associated with the person; replaces existing emails.\").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(\"Groups to associate with the person; list values replace existing groups. When removing a person from a group, their custom field values for that group are also removed.\").optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers associated with the person; replaces existing phones.\").optional(),\n birthday: z.string().describe(\"The person's birthday in ISO 8601 date format (YYYY-MM-DD). Set to null to remove.\").optional(),\n fullName: z.string().describe(\"The full name of the person.\").optional(),\n jobTitle: z.string().describe(\"The job title of the person.\").optional(),\n lastName: z.string().describe(\"The last name of the person.\").optional(),\n personId: z.string().describe(\"The ID of the person to update. Must be exactly 40 characters long.\"),\n addresses: z.array(z.string()).describe(\"List of addresses associated with the person; replaces existing addresses.\").optional(),\n companies: z.array(z.object({\n id: z.string().describe(\"ID of an existing company. Use this to reference an existing company.\").optional(),\n name: z.string().describe(\"Name of the company. Use this to create a new company or reference by name.\").optional(),\n}).describe(\"Reference to a company by name or ID.\")).describe(\"Companies to associate with the person; list values replace existing companies.\").optional(),\n firstName: z.string().describe(\"The first name of the person.\").optional(),\n description: z.string().describe(\"A short description 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 updating an existing person. Only provided fields will be updated; list fields replace existing values entirely.\");\nconst FolkUpdatePerson_UpdatePersonGroupSchema = z.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).describe(\"A group associated with the person in the response.\");\nconst FolkUpdatePerson_UpdatePersonCompanySchema = z.object({\n id: z.string().describe(\"Company ID.\").nullable(),\n name: z.string().describe(\"Company name.\").nullable(),\n}).describe(\"A company associated with the person in the response.\");\nconst FolkUpdatePerson_UpdatePersonCreatedBySchema = z.object({\n id: z.string().describe(\"The user's unique identifier\").nullable(),\n email: z.string().describe(\"The user's email address\").nullable(),\n fullName: z.string().describe(\"The user's full name\").nullable(),\n}).describe(\"User information for the person who created this record.\");\nconst FolkUpdatePerson_UpdatePersonResponseDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the 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(FolkUpdatePerson_UpdatePersonGroupSchema).describe(\"Groups associated with the person.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"Phone numbers associated with the person.\").nullable().optional(),\n birthday: z.string().describe(\"The person's birthday as an ISO8601 date string (YYYY-MM-DD), or null if not set.\").nullable().optional(),\n fullName: z.string().describe(\"The person's full name.\").nullable().optional(),\n jobTitle: z.string().describe(\"The person's job title.\").nullable().optional(),\n lastName: z.string().describe(\"The person's last name.\").nullable().optional(),\n addresses: z.array(z.string()).describe(\"Addresses associated with the person.\").nullable().optional(),\n companies: z.array(FolkUpdatePerson_UpdatePersonCompanySchema).describe(\"Companies associated with the person.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp of when this person record was created.\").nullable().optional(),\n createdBy: FolkUpdatePerson_UpdatePersonCreatedBySchema.nullable().optional(),\n firstName: z.string().describe(\"The person's first name.\").nullable().optional(),\n description: z.string().describe(\"Description of the person.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by group ID.\").nullable().optional(),\n interactionMetadata: z.record(z.string(), z.unknown()).describe(\"Metadata about interactions with this person, including counts and timestamps.\").nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Information about the strongest connection to this person.\").nullable().optional(),\n}).describe(\"Data returned after updating a person.\");\nexport const FolkUpdatePersonOutput = z.object({\n data: FolkUpdatePerson_UpdatePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Full response schema for updating a person.\");\n\nexport const folkUpdatePerson = action(\"FOLK_UPDATE_PERSON\", {\n slug: \"folk-update-person\",\n name: \"Update Person\",\n description: \"Tool to update an existing person in the workspace. Use after confirming the person ID; only provided fields are updated and list fields replace existing values.\",\n input: FolkUpdatePersonInput,\n output: FolkUpdatePersonOutput,\n});\n"],"m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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAW,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,qBAAqBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtK,qBAAqBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,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,6CAA6C;AAEzD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"update-person.cjs","names":["z","action"],"sources":["../../src/actions/update-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkUpdatePersonInput = z.object({\n urls: z.array(z.string()).describe(\"List of URLs associated with the person; replaces existing URLs.\").optional(),\n emails: z.array(z.string()).describe(\"List of email addresses associated with the person; replaces existing emails.\").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(\"Groups to associate with the person; list values replace existing groups. When removing a person from a group, their custom field values for that group are also removed.\").optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers associated with the person; replaces existing phones.\").optional(),\n birthday: z.string().describe(\"The person's birthday in ISO 8601 date format (YYYY-MM-DD). Set to null to remove.\").optional(),\n fullName: z.string().describe(\"The full name of the person.\").optional(),\n jobTitle: z.string().describe(\"The job title of the person.\").optional(),\n lastName: z.string().describe(\"The last name of the person.\").optional(),\n personId: z.string().describe(\"The ID of the person to update. Must be exactly 40 characters long.\"),\n addresses: z.array(z.string()).describe(\"List of addresses associated with the person; replaces existing addresses.\").optional(),\n companies: z.array(z.object({\n id: z.string().describe(\"ID of an existing company. Use this to reference an existing company.\").optional(),\n name: z.string().describe(\"Name of the company. Use this to create a new company or reference by name.\").optional(),\n}).passthrough().describe(\"Reference to a company by name or ID.\")).describe(\"Companies to associate with the person; list values replace existing companies.\").optional(),\n firstName: z.string().describe(\"The first name of the person.\").optional(),\n description: z.string().describe(\"A short description 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 updating an existing person. Only provided fields will be updated; list fields replace existing values entirely.\");\nconst FolkUpdatePerson_UpdatePersonGroupSchema = z.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).passthrough().describe(\"A group associated with the person in the response.\");\nconst FolkUpdatePerson_UpdatePersonCompanySchema = z.object({\n id: z.string().describe(\"Company ID.\").nullable(),\n name: z.string().describe(\"Company name.\").nullable(),\n}).passthrough().describe(\"A company associated with the person in the response.\");\nconst FolkUpdatePerson_UpdatePersonCreatedBySchema = z.object({\n id: z.string().describe(\"The user's unique identifier\").nullable(),\n email: z.string().describe(\"The user's email address\").nullable(),\n fullName: z.string().describe(\"The user's full name\").nullable(),\n}).passthrough().describe(\"User information for the person who created this record.\");\nconst FolkUpdatePerson_UpdatePersonResponseDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the 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(FolkUpdatePerson_UpdatePersonGroupSchema).describe(\"Groups associated with the person.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"Phone numbers associated with the person.\").nullable().optional(),\n birthday: z.string().describe(\"The person's birthday as an ISO8601 date string (YYYY-MM-DD), or null if not set.\").nullable().optional(),\n fullName: z.string().describe(\"The person's full name.\").nullable().optional(),\n jobTitle: z.string().describe(\"The person's job title.\").nullable().optional(),\n lastName: z.string().describe(\"The person's last name.\").nullable().optional(),\n addresses: z.array(z.string()).describe(\"Addresses associated with the person.\").nullable().optional(),\n companies: z.array(FolkUpdatePerson_UpdatePersonCompanySchema).describe(\"Companies associated with the person.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp of when this person record was created.\").nullable().optional(),\n createdBy: FolkUpdatePerson_UpdatePersonCreatedBySchema.nullable().optional(),\n firstName: z.string().describe(\"The person's first name.\").nullable().optional(),\n description: z.string().describe(\"Description of the person.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by group ID.\").nullable().optional(),\n interactionMetadata: z.record(z.string(), z.unknown()).describe(\"Metadata about interactions with this person, including counts and timestamps.\").nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Information about the strongest connection to this person.\").nullable().optional(),\n}).passthrough().describe(\"Data returned after updating a person.\");\nexport const FolkUpdatePersonOutput = z.object({\n data: FolkUpdatePerson_UpdatePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for updating a person.\");\n\nexport const folkUpdatePerson = action(\"FOLK_UPDATE_PERSON\", {\n slug: \"folk-update-person\",\n name: \"Update Person\",\n description: \"Tool to update an existing person in the workspace. Use after confirming the person ID; only provided fields are updated and list fields replace existing values.\",\n input: FolkUpdatePersonInput,\n output: FolkUpdatePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC/H,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,EACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CAC3P,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OA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C,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,6CAA6C;AAEvE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const FolkUpdatePersonInput: z.ZodObject<{
|
|
|
6
6
|
emails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
7
|
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8
8
|
id: z.ZodString;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>>;
|
|
10
10
|
phones: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
11
|
birthday: z.ZodOptional<z.ZodString>;
|
|
12
12
|
fullName: z.ZodOptional<z.ZodString>;
|
|
@@ -17,7 +17,7 @@ declare const FolkUpdatePersonInput: z.ZodObject<{
|
|
|
17
17
|
companies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18
18
|
id: z.ZodOptional<z.ZodString>;
|
|
19
19
|
name: z.ZodOptional<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
firstName: z.ZodOptional<z.ZodString>;
|
|
22
22
|
description: z.ZodOptional<z.ZodString>;
|
|
23
23
|
customFieldValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -30,7 +30,7 @@ declare const FolkUpdatePersonOutput: z.ZodObject<{
|
|
|
30
30
|
groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
31
31
|
id: z.ZodNullable<z.ZodString>;
|
|
32
32
|
name: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
34
|
phones: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
35
35
|
birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -40,26 +40,27 @@ declare const FolkUpdatePersonOutput: z.ZodObject<{
|
|
|
40
40
|
companies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
41
41
|
id: z.ZodNullable<z.ZodString>;
|
|
42
42
|
name: z.ZodNullable<z.ZodString>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>>;
|
|
44
44
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
46
|
id: z.ZodNullable<z.ZodString>;
|
|
47
47
|
email: z.ZodNullable<z.ZodString>;
|
|
48
48
|
fullName: z.ZodNullable<z.ZodString>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
50
|
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
53
53
|
interactionMetadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
54
54
|
strongestConnection: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
55
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
56
|
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$loose>;
|
|
58
58
|
declare const folkUpdatePerson: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
59
59
|
personId: string;
|
|
60
60
|
urls?: string[] | undefined;
|
|
61
61
|
emails?: string[] | undefined;
|
|
62
62
|
groups?: {
|
|
63
|
+
[x: string]: unknown;
|
|
63
64
|
id: string;
|
|
64
65
|
}[] | undefined;
|
|
65
66
|
phones?: string[] | undefined;
|
|
@@ -69,6 +70,7 @@ declare const folkUpdatePerson: import("@keystrokehq/action").WorkflowActionDefi
|
|
|
69
70
|
lastName?: string | undefined;
|
|
70
71
|
addresses?: string[] | undefined;
|
|
71
72
|
companies?: {
|
|
73
|
+
[x: string]: unknown;
|
|
72
74
|
id?: string | undefined;
|
|
73
75
|
name?: string | undefined;
|
|
74
76
|
}[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-person.d.cts","names":[],"sources":["../../src/actions/update-person.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsDrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-person.d.cts","names":[],"sources":["../../src/actions/update-person.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsDrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA;;;;;;;;;;;;;;;;;;;;;sBAM3B,MAAA;AAAA"}
|
|
@@ -6,7 +6,7 @@ declare const FolkUpdatePersonInput: z.ZodObject<{
|
|
|
6
6
|
emails: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
7
|
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8
8
|
id: z.ZodString;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>>>;
|
|
10
10
|
phones: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
11
|
birthday: z.ZodOptional<z.ZodString>;
|
|
12
12
|
fullName: z.ZodOptional<z.ZodString>;
|
|
@@ -17,7 +17,7 @@ declare const FolkUpdatePersonInput: z.ZodObject<{
|
|
|
17
17
|
companies: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18
18
|
id: z.ZodOptional<z.ZodString>;
|
|
19
19
|
name: z.ZodOptional<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
firstName: z.ZodOptional<z.ZodString>;
|
|
22
22
|
description: z.ZodOptional<z.ZodString>;
|
|
23
23
|
customFieldValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -30,7 +30,7 @@ declare const FolkUpdatePersonOutput: z.ZodObject<{
|
|
|
30
30
|
groups: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
31
31
|
id: z.ZodNullable<z.ZodString>;
|
|
32
32
|
name: z.ZodNullable<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
34
|
phones: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
35
35
|
birthday: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
fullName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -40,26 +40,27 @@ declare const FolkUpdatePersonOutput: z.ZodObject<{
|
|
|
40
40
|
companies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
41
41
|
id: z.ZodNullable<z.ZodString>;
|
|
42
42
|
name: z.ZodNullable<z.ZodString>;
|
|
43
|
-
}, z.core.$
|
|
43
|
+
}, z.core.$loose>>>>;
|
|
44
44
|
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
createdBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
46
|
id: z.ZodNullable<z.ZodString>;
|
|
47
47
|
email: z.ZodNullable<z.ZodString>;
|
|
48
48
|
fullName: z.ZodNullable<z.ZodString>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
50
|
firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
customFieldValues: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
53
53
|
interactionMetadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
54
54
|
strongestConnection: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
55
|
-
}, z.core.$
|
|
55
|
+
}, z.core.$loose>>;
|
|
56
56
|
deprecations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
57
|
-
}, z.core.$
|
|
57
|
+
}, z.core.$loose>;
|
|
58
58
|
declare const folkUpdatePerson: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
59
59
|
personId: string;
|
|
60
60
|
urls?: string[] | undefined;
|
|
61
61
|
emails?: string[] | undefined;
|
|
62
62
|
groups?: {
|
|
63
|
+
[x: string]: unknown;
|
|
63
64
|
id: string;
|
|
64
65
|
}[] | undefined;
|
|
65
66
|
phones?: string[] | undefined;
|
|
@@ -69,6 +70,7 @@ declare const folkUpdatePerson: import("@keystrokehq/action").WorkflowActionDefi
|
|
|
69
70
|
lastName?: string | undefined;
|
|
70
71
|
addresses?: string[] | undefined;
|
|
71
72
|
companies?: {
|
|
73
|
+
[x: string]: unknown;
|
|
72
74
|
id?: string | undefined;
|
|
73
75
|
name?: string | undefined;
|
|
74
76
|
}[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-person.d.mts","names":[],"sources":["../../src/actions/update-person.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsDrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA
|
|
1
|
+
{"version":3,"file":"update-person.d.mts","names":[],"sources":["../../src/actions/update-person.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsDrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA;;;;;;;;;;;;;;;;;;;;;sBAM3B,MAAA;AAAA"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
const FolkUpdatePersonInput = z.object({
|
|
5
5
|
urls: z.array(z.string()).describe("List of URLs associated with the person; replaces existing URLs.").optional(),
|
|
6
6
|
emails: z.array(z.string()).describe("List of email addresses associated with the person; replaces existing emails.").optional(),
|
|
7
|
-
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("Groups to associate with the person; list values replace existing groups. When removing a person from a group, their custom field values for that group are also removed.").optional(),
|
|
7
|
+
groups: 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("Groups to associate with the person; list values replace existing groups. When removing a person from a group, their custom field values for that group are also removed.").optional(),
|
|
8
8
|
phones: z.array(z.string()).describe("List of phone numbers associated with the person; replaces existing phones.").optional(),
|
|
9
9
|
birthday: z.string().describe("The person's birthday in ISO 8601 date format (YYYY-MM-DD). Set to null to remove.").optional(),
|
|
10
10
|
fullName: z.string().describe("The full name of the person.").optional(),
|
|
@@ -15,7 +15,7 @@ const FolkUpdatePersonInput = z.object({
|
|
|
15
15
|
companies: z.array(z.object({
|
|
16
16
|
id: z.string().describe("ID of an existing company. Use this to reference an existing company.").optional(),
|
|
17
17
|
name: z.string().describe("Name of the company. Use this to create a new company or reference by name.").optional()
|
|
18
|
-
}).describe("Reference to a company by name or ID.")).describe("Companies to associate with the person; list values replace existing companies.").optional(),
|
|
18
|
+
}).passthrough().describe("Reference to a company by name or ID.")).describe("Companies to associate with the person; list values replace existing companies.").optional(),
|
|
19
19
|
firstName: z.string().describe("The first name of the person.").optional(),
|
|
20
20
|
description: z.string().describe("A short description of the person.").optional(),
|
|
21
21
|
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()
|
|
@@ -23,16 +23,16 @@ const FolkUpdatePersonInput = z.object({
|
|
|
23
23
|
const FolkUpdatePerson_UpdatePersonGroupSchema = z.object({
|
|
24
24
|
id: z.string().describe("Group ID.").nullable(),
|
|
25
25
|
name: z.string().describe("Group name.").nullable()
|
|
26
|
-
}).describe("A group associated with the person in the response.");
|
|
26
|
+
}).passthrough().describe("A group associated with the person in the response.");
|
|
27
27
|
const FolkUpdatePerson_UpdatePersonCompanySchema = z.object({
|
|
28
28
|
id: z.string().describe("Company ID.").nullable(),
|
|
29
29
|
name: z.string().describe("Company name.").nullable()
|
|
30
|
-
}).describe("A company associated with the person in the response.");
|
|
30
|
+
}).passthrough().describe("A company associated with the person in the response.");
|
|
31
31
|
const FolkUpdatePerson_UpdatePersonCreatedBySchema = z.object({
|
|
32
32
|
id: z.string().describe("The user's unique identifier").nullable(),
|
|
33
33
|
email: z.string().describe("The user's email address").nullable(),
|
|
34
34
|
fullName: z.string().describe("The user's full name").nullable()
|
|
35
|
-
}).describe("User information for the person who created this record.");
|
|
35
|
+
}).passthrough().describe("User information for the person who created this record.");
|
|
36
36
|
const FolkUpdatePerson_UpdatePersonResponseDataSchema = z.object({
|
|
37
37
|
id: z.string().describe("Unique ID of the person.").nullable(),
|
|
38
38
|
urls: z.array(z.string()).describe("URLs associated with the person.").nullable().optional(),
|
|
@@ -52,7 +52,7 @@ const FolkUpdatePerson_UpdatePersonResponseDataSchema = z.object({
|
|
|
52
52
|
customFieldValues: z.record(z.string(), z.unknown()).describe("Custom field values keyed by group ID.").nullable().optional(),
|
|
53
53
|
interactionMetadata: z.record(z.string(), z.unknown()).describe("Metadata about interactions with this person, including counts and timestamps.").nullable().optional(),
|
|
54
54
|
strongestConnection: z.record(z.string(), z.unknown()).describe("Information about the strongest connection to this person.").nullable().optional()
|
|
55
|
-
}).describe("Data returned after updating a person.");
|
|
55
|
+
}).passthrough().describe("Data returned after updating a person.");
|
|
56
56
|
const folkUpdatePerson = action("FOLK_UPDATE_PERSON", {
|
|
57
57
|
slug: "folk-update-person",
|
|
58
58
|
name: "Update Person",
|
|
@@ -61,7 +61,7 @@ const folkUpdatePerson = action("FOLK_UPDATE_PERSON", {
|
|
|
61
61
|
output: z.object({
|
|
62
62
|
data: FolkUpdatePerson_UpdatePersonResponseDataSchema.nullable(),
|
|
63
63
|
deprecations: z.array(z.string()).describe("Any deprecation notices returned by the API.").nullable().optional()
|
|
64
|
-
}).describe("Full response schema for updating a person.")
|
|
64
|
+
}).passthrough().describe("Full response schema for updating a person.")
|
|
65
65
|
});
|
|
66
66
|
//#endregion
|
|
67
67
|
export { folkUpdatePerson };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-person.mjs","names":[],"sources":["../../src/actions/update-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkUpdatePersonInput = z.object({\n urls: z.array(z.string()).describe(\"List of URLs associated with the person; replaces existing URLs.\").optional(),\n emails: z.array(z.string()).describe(\"List of email addresses associated with the person; replaces existing emails.\").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(\"Groups to associate with the person; list values replace existing groups. When removing a person from a group, their custom field values for that group are also removed.\").optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers associated with the person; replaces existing phones.\").optional(),\n birthday: z.string().describe(\"The person's birthday in ISO 8601 date format (YYYY-MM-DD). Set to null to remove.\").optional(),\n fullName: z.string().describe(\"The full name of the person.\").optional(),\n jobTitle: z.string().describe(\"The job title of the person.\").optional(),\n lastName: z.string().describe(\"The last name of the person.\").optional(),\n personId: z.string().describe(\"The ID of the person to update. Must be exactly 40 characters long.\"),\n addresses: z.array(z.string()).describe(\"List of addresses associated with the person; replaces existing addresses.\").optional(),\n companies: z.array(z.object({\n id: z.string().describe(\"ID of an existing company. Use this to reference an existing company.\").optional(),\n name: z.string().describe(\"Name of the company. Use this to create a new company or reference by name.\").optional(),\n}).describe(\"Reference to a company by name or ID.\")).describe(\"Companies to associate with the person; list values replace existing companies.\").optional(),\n firstName: z.string().describe(\"The first name of the person.\").optional(),\n description: z.string().describe(\"A short description 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 updating an existing person. Only provided fields will be updated; list fields replace existing values entirely.\");\nconst FolkUpdatePerson_UpdatePersonGroupSchema = z.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).describe(\"A group associated with the person in the response.\");\nconst FolkUpdatePerson_UpdatePersonCompanySchema = z.object({\n id: z.string().describe(\"Company ID.\").nullable(),\n name: z.string().describe(\"Company name.\").nullable(),\n}).describe(\"A company associated with the person in the response.\");\nconst FolkUpdatePerson_UpdatePersonCreatedBySchema = z.object({\n id: z.string().describe(\"The user's unique identifier\").nullable(),\n email: z.string().describe(\"The user's email address\").nullable(),\n fullName: z.string().describe(\"The user's full name\").nullable(),\n}).describe(\"User information for the person who created this record.\");\nconst FolkUpdatePerson_UpdatePersonResponseDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the 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(FolkUpdatePerson_UpdatePersonGroupSchema).describe(\"Groups associated with the person.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"Phone numbers associated with the person.\").nullable().optional(),\n birthday: z.string().describe(\"The person's birthday as an ISO8601 date string (YYYY-MM-DD), or null if not set.\").nullable().optional(),\n fullName: z.string().describe(\"The person's full name.\").nullable().optional(),\n jobTitle: z.string().describe(\"The person's job title.\").nullable().optional(),\n lastName: z.string().describe(\"The person's last name.\").nullable().optional(),\n addresses: z.array(z.string()).describe(\"Addresses associated with the person.\").nullable().optional(),\n companies: z.array(FolkUpdatePerson_UpdatePersonCompanySchema).describe(\"Companies associated with the person.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp of when this person record was created.\").nullable().optional(),\n createdBy: FolkUpdatePerson_UpdatePersonCreatedBySchema.nullable().optional(),\n firstName: z.string().describe(\"The person's first name.\").nullable().optional(),\n description: z.string().describe(\"Description of the person.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by group ID.\").nullable().optional(),\n interactionMetadata: z.record(z.string(), z.unknown()).describe(\"Metadata about interactions with this person, including counts and timestamps.\").nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Information about the strongest connection to this person.\").nullable().optional(),\n}).describe(\"Data returned after updating a person.\");\nexport const FolkUpdatePersonOutput = z.object({\n data: FolkUpdatePerson_UpdatePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).describe(\"Full response schema for updating a person.\");\n\nexport const folkUpdatePerson = action(\"FOLK_UPDATE_PERSON\", {\n slug: \"folk-update-person\",\n name: \"Update Person\",\n description: \"Tool to update an existing person in the workspace. Use after confirming the person ID; only provided fields are updated and list fields replace existing values.\",\n input: FolkUpdatePersonInput,\n output: FolkUpdatePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC/H,QAAQ,EAAE,MAAM,EAAE,OAAO,EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"update-person.mjs","names":[],"sources":["../../src/actions/update-person.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FolkUpdatePersonInput = z.object({\n urls: z.array(z.string()).describe(\"List of URLs associated with the person; replaces existing URLs.\").optional(),\n emails: z.array(z.string()).describe(\"List of email addresses associated with the person; replaces existing emails.\").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(\"Groups to associate with the person; list values replace existing groups. When removing a person from a group, their custom field values for that group are also removed.\").optional(),\n phones: z.array(z.string()).describe(\"List of phone numbers associated with the person; replaces existing phones.\").optional(),\n birthday: z.string().describe(\"The person's birthday in ISO 8601 date format (YYYY-MM-DD). Set to null to remove.\").optional(),\n fullName: z.string().describe(\"The full name of the person.\").optional(),\n jobTitle: z.string().describe(\"The job title of the person.\").optional(),\n lastName: z.string().describe(\"The last name of the person.\").optional(),\n personId: z.string().describe(\"The ID of the person to update. Must be exactly 40 characters long.\"),\n addresses: z.array(z.string()).describe(\"List of addresses associated with the person; replaces existing addresses.\").optional(),\n companies: z.array(z.object({\n id: z.string().describe(\"ID of an existing company. Use this to reference an existing company.\").optional(),\n name: z.string().describe(\"Name of the company. Use this to create a new company or reference by name.\").optional(),\n}).passthrough().describe(\"Reference to a company by name or ID.\")).describe(\"Companies to associate with the person; list values replace existing companies.\").optional(),\n firstName: z.string().describe(\"The first name of the person.\").optional(),\n description: z.string().describe(\"A short description 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 updating an existing person. Only provided fields will be updated; list fields replace existing values entirely.\");\nconst FolkUpdatePerson_UpdatePersonGroupSchema = z.object({\n id: z.string().describe(\"Group ID.\").nullable(),\n name: z.string().describe(\"Group name.\").nullable(),\n}).passthrough().describe(\"A group associated with the person in the response.\");\nconst FolkUpdatePerson_UpdatePersonCompanySchema = z.object({\n id: z.string().describe(\"Company ID.\").nullable(),\n name: z.string().describe(\"Company name.\").nullable(),\n}).passthrough().describe(\"A company associated with the person in the response.\");\nconst FolkUpdatePerson_UpdatePersonCreatedBySchema = z.object({\n id: z.string().describe(\"The user's unique identifier\").nullable(),\n email: z.string().describe(\"The user's email address\").nullable(),\n fullName: z.string().describe(\"The user's full name\").nullable(),\n}).passthrough().describe(\"User information for the person who created this record.\");\nconst FolkUpdatePerson_UpdatePersonResponseDataSchema = z.object({\n id: z.string().describe(\"Unique ID of the 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(FolkUpdatePerson_UpdatePersonGroupSchema).describe(\"Groups associated with the person.\").nullable().optional(),\n phones: z.array(z.string()).describe(\"Phone numbers associated with the person.\").nullable().optional(),\n birthday: z.string().describe(\"The person's birthday as an ISO8601 date string (YYYY-MM-DD), or null if not set.\").nullable().optional(),\n fullName: z.string().describe(\"The person's full name.\").nullable().optional(),\n jobTitle: z.string().describe(\"The person's job title.\").nullable().optional(),\n lastName: z.string().describe(\"The person's last name.\").nullable().optional(),\n addresses: z.array(z.string()).describe(\"Addresses associated with the person.\").nullable().optional(),\n companies: z.array(FolkUpdatePerson_UpdatePersonCompanySchema).describe(\"Companies associated with the person.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO8601 timestamp of when this person record was created.\").nullable().optional(),\n createdBy: FolkUpdatePerson_UpdatePersonCreatedBySchema.nullable().optional(),\n firstName: z.string().describe(\"The person's first name.\").nullable().optional(),\n description: z.string().describe(\"Description of the person.\").nullable().optional(),\n customFieldValues: z.record(z.string(), z.unknown()).describe(\"Custom field values keyed by group ID.\").nullable().optional(),\n interactionMetadata: z.record(z.string(), z.unknown()).describe(\"Metadata about interactions with this person, including counts and timestamps.\").nullable().optional(),\n strongestConnection: z.record(z.string(), z.unknown()).describe(\"Information about the strongest connection to this person.\").nullable().optional(),\n}).passthrough().describe(\"Data returned after updating a person.\");\nexport const FolkUpdatePersonOutput = z.object({\n data: FolkUpdatePerson_UpdatePersonResponseDataSchema.nullable(),\n deprecations: z.array(z.string()).describe(\"Any deprecation notices returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Full response schema for updating a person.\");\n\nexport const folkUpdatePerson = action(\"FOLK_UPDATE_PERSON\", {\n slug: \"folk-update-person\",\n name: \"Update Person\",\n description: \"Tool to update an existing person in the workspace. Use after confirming the person ID; only provided fields are updated and list fields replace existing values.\",\n input: FolkUpdatePersonInput,\n output: FolkUpdatePersonOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC/H,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,2KAA2K,CAAC,CAAC,SAAS;CAC3P,QAAQ,EAAE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AVoC,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,6CAOhB;AACV,CAAC"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const folkCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/folk",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "folk API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Your secret folk API key, used to access contacts in your workspace. In folk, go to Settings → API, click 'New API key', and paste it here."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const folkCatalog = {\n \"slug\": \"folk\",\n \"name\": \"Folk\",\n \"description\": \"folk is a next-generation CRM designed for teams to manage and nurture their relationships efficiently.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/folk\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const folkCatalog = {\n \"slug\": \"folk\",\n \"name\": \"Folk\",\n \"description\": \"folk is a next-generation CRM designed for teams to manage and nurture their relationships efficiently.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/folk\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"folk API Key\",\n \"secret\": true,\n \"description\": \"Your secret folk API key, used to access contacts in your workspace. In folk, go to Settings → API, click 'New API key', and paste it here.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,cAAc;CACzB,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const folkCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "folk API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Your secret folk API key, used to access contacts in your workspace. In folk, go to Settings → API, click 'New API key', and paste it here.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const folkCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "folk API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Your secret folk API key, used to access contacts in your workspace. In folk, go to Settings → API, click 'New API key', and paste it here.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const folkCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/folk",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "folk API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Your secret folk API key, used to access contacts in your workspace. In folk, go to Settings → API, click 'New API key', and paste it here."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const folkCatalog = {\n \"slug\": \"folk\",\n \"name\": \"Folk\",\n \"description\": \"folk is a next-generation CRM designed for teams to manage and nurture their relationships efficiently.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/folk\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const folkCatalog = {\n \"slug\": \"folk\",\n \"name\": \"Folk\",\n \"description\": \"folk is a next-generation CRM designed for teams to manage and nurture their relationships efficiently.\",\n \"category\": \"CRM\",\n \"logo\": \"https://logos.composio.dev/api/folk\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"folk API Key\",\n \"secret\": true,\n \"description\": \"Your secret folk API key, used to access contacts in your workspace. In folk, go to Settings → API, click 'New API key', and paste it here.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,cAAc;CACzB,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|