@keystrokehq/simplero 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.
Files changed (121) hide show
  1. package/dist/actions/add-tag-to-contact.cjs +1 -1
  2. package/dist/actions/add-tag-to-contact.cjs.map +1 -1
  3. package/dist/actions/add-tag-to-contact.d.cts +1 -1
  4. package/dist/actions/add-tag-to-contact.d.mts +1 -1
  5. package/dist/actions/add-tag-to-contact.mjs +1 -1
  6. package/dist/actions/add-tag-to-contact.mjs.map +1 -1
  7. package/dist/actions/bulk-subscribe-to-list.cjs +2 -2
  8. package/dist/actions/bulk-subscribe-to-list.cjs.map +1 -1
  9. package/dist/actions/bulk-subscribe-to-list.d.cts +3 -2
  10. package/dist/actions/bulk-subscribe-to-list.d.mts +3 -2
  11. package/dist/actions/bulk-subscribe-to-list.mjs +2 -2
  12. package/dist/actions/bulk-subscribe-to-list.mjs.map +1 -1
  13. package/dist/actions/create-or-update-administrator.cjs +3 -3
  14. package/dist/actions/create-or-update-administrator.cjs.map +1 -1
  15. package/dist/actions/create-or-update-administrator.d.cts +3 -3
  16. package/dist/actions/create-or-update-administrator.d.mts +3 -3
  17. package/dist/actions/create-or-update-administrator.mjs +3 -3
  18. package/dist/actions/create-or-update-administrator.mjs.map +1 -1
  19. package/dist/actions/create-or-update-contact.cjs +1 -1
  20. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  21. package/dist/actions/create-or-update-contact.d.cts +1 -1
  22. package/dist/actions/create-or-update-contact.d.mts +1 -1
  23. package/dist/actions/create-or-update-contact.mjs +1 -1
  24. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  25. package/dist/actions/find-contact-by-email.cjs +1 -1
  26. package/dist/actions/find-contact-by-email.cjs.map +1 -1
  27. package/dist/actions/find-contact-by-email.d.cts +1 -1
  28. package/dist/actions/find-contact-by-email.d.mts +1 -1
  29. package/dist/actions/find-contact-by-email.mjs +1 -1
  30. package/dist/actions/find-contact-by-email.mjs.map +1 -1
  31. package/dist/actions/find-subscription-by-email.cjs +3 -3
  32. package/dist/actions/find-subscription-by-email.cjs.map +1 -1
  33. package/dist/actions/find-subscription-by-email.d.cts +3 -3
  34. package/dist/actions/find-subscription-by-email.d.mts +3 -3
  35. package/dist/actions/find-subscription-by-email.mjs +3 -3
  36. package/dist/actions/find-subscription-by-email.mjs.map +1 -1
  37. package/dist/actions/get-admin-roles.cjs +2 -2
  38. package/dist/actions/get-admin-roles.cjs.map +1 -1
  39. package/dist/actions/get-admin-roles.d.cts +2 -2
  40. package/dist/actions/get-admin-roles.d.mts +2 -2
  41. package/dist/actions/get-admin-roles.mjs +2 -2
  42. package/dist/actions/get-admin-roles.mjs.map +1 -1
  43. package/dist/actions/get-administrator-by-id.cjs +4 -4
  44. package/dist/actions/get-administrator-by-id.cjs.map +1 -1
  45. package/dist/actions/get-administrator-by-id.d.cts +4 -4
  46. package/dist/actions/get-administrator-by-id.d.mts +4 -4
  47. package/dist/actions/get-administrator-by-id.mjs +4 -4
  48. package/dist/actions/get-administrator-by-id.mjs.map +1 -1
  49. package/dist/actions/get-administrators.cjs +4 -4
  50. package/dist/actions/get-administrators.cjs.map +1 -1
  51. package/dist/actions/get-administrators.d.cts +4 -4
  52. package/dist/actions/get-administrators.d.mts +4 -4
  53. package/dist/actions/get-administrators.mjs +4 -4
  54. package/dist/actions/get-administrators.mjs.map +1 -1
  55. package/dist/actions/get-async-request-status.cjs +1 -1
  56. package/dist/actions/get-async-request-status.cjs.map +1 -1
  57. package/dist/actions/get-async-request-status.d.cts +1 -1
  58. package/dist/actions/get-async-request-status.d.mts +1 -1
  59. package/dist/actions/get-async-request-status.mjs +1 -1
  60. package/dist/actions/get-async-request-status.mjs.map +1 -1
  61. package/dist/actions/get-contact-by-id.cjs +1 -1
  62. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  63. package/dist/actions/get-contact-by-id.d.cts +1 -1
  64. package/dist/actions/get-contact-by-id.d.mts +1 -1
  65. package/dist/actions/get-contact-by-id.mjs +1 -1
  66. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  67. package/dist/actions/get-invoices.cjs +2 -2
  68. package/dist/actions/get-invoices.cjs.map +1 -1
  69. package/dist/actions/get-invoices.d.cts +2 -2
  70. package/dist/actions/get-invoices.d.mts +2 -2
  71. package/dist/actions/get-invoices.mjs +2 -2
  72. package/dist/actions/get-invoices.mjs.map +1 -1
  73. package/dist/actions/get-lists.cjs +2 -2
  74. package/dist/actions/get-lists.cjs.map +1 -1
  75. package/dist/actions/get-lists.d.cts +2 -2
  76. package/dist/actions/get-lists.d.mts +2 -2
  77. package/dist/actions/get-lists.mjs +2 -2
  78. package/dist/actions/get-lists.mjs.map +1 -1
  79. package/dist/actions/get-products.cjs +2 -2
  80. package/dist/actions/get-products.cjs.map +1 -1
  81. package/dist/actions/get-products.d.cts +2 -2
  82. package/dist/actions/get-products.d.mts +2 -2
  83. package/dist/actions/get-products.mjs +2 -2
  84. package/dist/actions/get-products.mjs.map +1 -1
  85. package/dist/actions/remove-administrator.cjs +1 -1
  86. package/dist/actions/remove-administrator.cjs.map +1 -1
  87. package/dist/actions/remove-administrator.d.cts +1 -1
  88. package/dist/actions/remove-administrator.d.mts +1 -1
  89. package/dist/actions/remove-administrator.mjs +1 -1
  90. package/dist/actions/remove-administrator.mjs.map +1 -1
  91. package/dist/actions/remove-tag-from-contact.cjs +1 -1
  92. package/dist/actions/remove-tag-from-contact.cjs.map +1 -1
  93. package/dist/actions/remove-tag-from-contact.d.cts +1 -1
  94. package/dist/actions/remove-tag-from-contact.d.mts +1 -1
  95. package/dist/actions/remove-tag-from-contact.mjs +1 -1
  96. package/dist/actions/remove-tag-from-contact.mjs.map +1 -1
  97. package/dist/actions/subscribe-to-list.cjs +2 -2
  98. package/dist/actions/subscribe-to-list.cjs.map +1 -1
  99. package/dist/actions/subscribe-to-list.d.cts +2 -2
  100. package/dist/actions/subscribe-to-list.d.mts +2 -2
  101. package/dist/actions/subscribe-to-list.mjs +2 -2
  102. package/dist/actions/subscribe-to-list.mjs.map +1 -1
  103. package/dist/actions/unsubscribe-from-list.cjs +1 -1
  104. package/dist/actions/unsubscribe-from-list.cjs.map +1 -1
  105. package/dist/actions/unsubscribe-from-list.d.cts +1 -1
  106. package/dist/actions/unsubscribe-from-list.d.mts +1 -1
  107. package/dist/actions/unsubscribe-from-list.mjs +1 -1
  108. package/dist/actions/unsubscribe-from-list.mjs.map +1 -1
  109. package/dist/actions/update-contact-credentials.cjs +1 -1
  110. package/dist/actions/update-contact-credentials.cjs.map +1 -1
  111. package/dist/actions/update-contact-credentials.d.cts +1 -1
  112. package/dist/actions/update-contact-credentials.d.mts +1 -1
  113. package/dist/actions/update-contact-credentials.mjs +1 -1
  114. package/dist/actions/update-contact-credentials.mjs.map +1 -1
  115. package/dist/catalog.cjs +1 -1
  116. package/dist/catalog.cjs.map +1 -1
  117. package/dist/catalog.d.cts +1 -1
  118. package/dist/catalog.d.mts +1 -1
  119. package/dist/catalog.mjs +1 -1
  120. package/dist/catalog.mjs.map +1 -1
  121. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"remove-administrator.mjs","names":[],"sources":["../../src/actions/remove-administrator.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveAdministratorInput = z.object({\n id: z.number().int().describe(\"The internal administratorship ID to remove. Must be obtained from a previous API call.\"),\n}).describe(\"Request model for removing an administrator.\");\nexport const SimpleroRemoveAdministratorOutput = z.object({\n message: z.string().describe(\"Additional message from the API response\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).describe(\"Response model for administrator removal operation.\");\n\nexport const simpleroRemoveAdministrator = action(\"SIMPLERO_REMOVE_ADMINISTRATOR\", {\n slug: \"simplero-remove-administrator\",\n name: \"Remove Administrator\",\n description: \"Tool to delete an administratorship by ID. Use when you need to remove an administrator relationship from the system.\",\n input: SimpleroRemoveAdministratorInput,\n output: SimpleroRemoveAdministratorOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO,EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,EACzH,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAV+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-administrator.mjs","names":[],"sources":["../../src/actions/remove-administrator.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveAdministratorInput = z.object({\n id: z.number().int().describe(\"The internal administratorship ID to remove. Must be obtained from a previous API call.\"),\n}).describe(\"Request model for removing an administrator.\");\nexport const SimpleroRemoveAdministratorOutput = z.object({\n message: z.string().describe(\"Additional message from the API response\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for administrator removal operation.\");\n\nexport const simpleroRemoveAdministrator = action(\"SIMPLERO_REMOVE_ADMINISTRATOR\", {\n slug: \"simplero-remove-administrator\",\n name: \"Remove Administrator\",\n description: \"Tool to delete an administratorship by ID. Use when you need to remove an administrator relationship from the system.\",\n input: SimpleroRemoveAdministratorInput,\n output: SimpleroRemoveAdministratorOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO,EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,EACzH,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAV+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const SimpleroRemoveTagFromContactOutput = zod.z.object({
9
9
  id: zod.z.number().int().describe("Contact's internal identifier").nullable().optional(),
10
10
  email: zod.z.string().describe("Contact's email address").nullable().optional(),
11
11
  tag_names: zod.z.string().describe("Comma-separated string of remaining tags").nullable().optional()
12
- }).describe("Response model for contact information after tag removal.");
12
+ }).passthrough().describe("Response model for contact information after tag removal.");
13
13
  const simpleroRemoveTagFromContact = require_action.action("SIMPLERO_REMOVE_TAG_FROM_CONTACT", {
14
14
  slug: "simplero-remove-tag-from-contact",
15
15
  name: "Remove Tag from Contact",
@@ -1 +1 @@
1
- {"version":3,"file":"remove-tag-from-contact.cjs","names":["z","action"],"sources":["../../src/actions/remove-tag-from-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveTagFromContactInput = z.object({\n tag: z.string().describe(\"The tag name to remove from the contact\"),\n email: z.string().describe(\"The contact's email address\"),\n}).describe(\"Request model for removing a tag from a contact.\");\nexport const SimpleroRemoveTagFromContactOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated string of remaining tags\").nullable().optional(),\n}).describe(\"Response model for contact information after tag removal.\");\n\nexport const simpleroRemoveTagFromContact = action(\"SIMPLERO_REMOVE_TAG_FROM_CONTACT\", {\n slug: \"simplero-remove-tag-from-contact\",\n name: \"Remove Tag from Contact\",\n description: \"Tool to remove a tag from a contact identified by email address. Use when you need to remove a specific tag from a contact's profile.\",\n input: SimpleroRemoveTagFromContactInput,\n output: SimpleroRemoveTagFromContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC1D,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-tag-from-contact.cjs","names":["z","action"],"sources":["../../src/actions/remove-tag-from-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveTagFromContactInput = z.object({\n tag: z.string().describe(\"The tag name to remove from the contact\"),\n email: z.string().describe(\"The contact's email address\"),\n}).describe(\"Request model for removing a tag from a contact.\");\nexport const SimpleroRemoveTagFromContactOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated string of remaining tags\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact information after tag removal.\");\n\nexport const simpleroRemoveTagFromContact = action(\"SIMPLERO_REMOVE_TAG_FROM_CONTACT\", {\n slug: \"simplero-remove-tag-from-contact\",\n name: \"Remove Tag from Contact\",\n description: \"Tool to remove a tag from a contact identified by email address. Use when you need to remove a specific tag from a contact's profile.\",\n input: SimpleroRemoveTagFromContactInput,\n output: SimpleroRemoveTagFromContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC1D,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,7 +9,7 @@ declare const SimpleroRemoveTagFromContactOutput: z.ZodObject<{
9
9
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
10
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  tag_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const simpleroRemoveTagFromContact: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  tag: string;
15
15
  email: string;
@@ -9,7 +9,7 @@ declare const SimpleroRemoveTagFromContactOutput: z.ZodObject<{
9
9
  id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
10
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  tag_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const simpleroRemoveTagFromContact: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  tag: string;
15
15
  email: string;
@@ -12,7 +12,7 @@ const simpleroRemoveTagFromContact = action("SIMPLERO_REMOVE_TAG_FROM_CONTACT",
12
12
  id: z.number().int().describe("Contact's internal identifier").nullable().optional(),
13
13
  email: z.string().describe("Contact's email address").nullable().optional(),
14
14
  tag_names: z.string().describe("Comma-separated string of remaining tags").nullable().optional()
15
- }).describe("Response model for contact information after tag removal.")
15
+ }).passthrough().describe("Response model for contact information after tag removal.")
16
16
  });
17
17
  //#endregion
18
18
  export { simpleroRemoveTagFromContact };
@@ -1 +1 @@
1
- {"version":3,"file":"remove-tag-from-contact.mjs","names":[],"sources":["../../src/actions/remove-tag-from-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveTagFromContactInput = z.object({\n tag: z.string().describe(\"The tag name to remove from the contact\"),\n email: z.string().describe(\"The contact's email address\"),\n}).describe(\"Request model for removing a tag from a contact.\");\nexport const SimpleroRemoveTagFromContactOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated string of remaining tags\").nullable().optional(),\n}).describe(\"Response model for contact information after tag removal.\");\n\nexport const simpleroRemoveTagFromContact = action(\"SIMPLERO_REMOVE_TAG_FROM_CONTACT\", {\n slug: \"simplero-remove-tag-from-contact\",\n name: \"Remove Tag from Contact\",\n description: \"Tool to remove a tag from a contact identified by email address. Use when you need to remove a specific tag from a contact's profile.\",\n input: SimpleroRemoveTagFromContactInput,\n output: SimpleroRemoveTagFromContactOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC1D,CAAC,CAAC,CAAC,SAAS,kDAWH;CACP,QAXgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-tag-from-contact.mjs","names":[],"sources":["../../src/actions/remove-tag-from-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveTagFromContactInput = z.object({\n tag: z.string().describe(\"The tag name to remove from the contact\"),\n email: z.string().describe(\"The contact's email address\"),\n}).describe(\"Request model for removing a tag from a contact.\");\nexport const SimpleroRemoveTagFromContactOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated string of remaining tags\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact information after tag removal.\");\n\nexport const simpleroRemoveTagFromContact = action(\"SIMPLERO_REMOVE_TAG_FROM_CONTACT\", {\n slug: \"simplero-remove-tag-from-contact\",\n name: \"Remove Tag from Contact\",\n description: \"Tool to remove a tag from a contact identified by email address. Use when you need to remove a specific tag from a contact's profile.\",\n input: SimpleroRemoveTagFromContactInput,\n output: SimpleroRemoveTagFromContactOutput,\n});\n"],"mappings":";;AAcA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC1D,CAAC,CAAC,CAAC,SAAS,kDAWH;CACP,QAXgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
@@ -24,7 +24,7 @@ const SimpleroSubscribeToList_CustomerObjectSchema = zod.z.object({
24
24
  phone: zod.z.string().describe("Contact's phone number.").nullable().optional(),
25
25
  last_name: zod.z.string().describe("Contact's surname.").nullable().optional(),
26
26
  first_name: zod.z.string().describe("Contact's given name.").nullable().optional()
27
- }).describe("Contact information for the subscriber.");
27
+ }).passthrough().describe("Contact information for the subscriber.");
28
28
  const SimpleroSubscribeToListOutput = zod.z.object({
29
29
  id: zod.z.number().int().describe("Subscription record ID.").nullable().optional(),
30
30
  active: zod.z.boolean().describe("Subscription status.").nullable().optional(),
@@ -34,7 +34,7 @@ const SimpleroSubscribeToListOutput = zod.z.object({
34
34
  created_at: zod.z.string().describe("Creation timestamp in ISO 8601 format.").nullable().optional(),
35
35
  updated_at: zod.z.string().describe("Last update timestamp in ISO 8601 format.").nullable().optional(),
36
36
  customer_id: zod.z.number().int().describe("Contact identifier.").nullable().optional()
37
- }).describe("Response schema for list subscription.");
37
+ }).passthrough().describe("Response schema for list subscription.");
38
38
  const simpleroSubscribeToList = require_action.action("SIMPLERO_SUBSCRIBE_TO_LIST", {
39
39
  slug: "simplero-subscribe-to-list",
40
40
  name: "Subscribe to List",
@@ -1 +1 @@
1
- {"version":3,"file":"subscribe-to-list.cjs","names":["z","action"],"sources":["../../src/actions/subscribe-to-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroSubscribeToListInput = z.object({\n ref: z.number().int().describe(\"Affiliate reference for conversion attribution.\").optional(),\n tags: z.string().describe(\"Comma-separated tag list (tags are trimmed of leading/trailing whitespace automatically).\").optional(),\n email: z.string().describe(\"Contact's email address (required).\"),\n phone: z.string().describe(\"Sanitized phone number with country code first (e.g., '15551231234').\").optional(),\n track: z.string().describe(\"Tracking keyword to identify subscription source.\").optional(),\n list_id: z.number().int().describe(\"The ID of the mailing list to subscribe to.\"),\n referrer: z.string().describe(\"Last external URL visited before subscription.\").optional(),\n last_name: z.string().describe(\"Contact's surname.\").optional(),\n first_name: z.string().describe(\"Contact's given name.\").optional(),\n ip_address: z.string().describe(\"Actual IP address that the customer used to subscribe.\").optional(),\n gdpr_consent: z.boolean().describe(\"GDPR consent indicator.\").optional(),\n landing_page_id: z.number().int().describe(\"Landing page ID for conversion tracking.\").optional(),\n first_activated_at: z.string().describe(\"Initial activation timestamp in ISO 8601 format.\").optional(),\n auto_responder_start_at: z.string().describe(\"Automation sequence start date in ISO 8601 format.\").optional(),\n}).describe(\"Request parameters for subscribing a contact to a mailing list.\");\nconst SimpleroSubscribeToList_CustomerObjectSchema = z.object({\n id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n tags: z.string().describe(\"Comma-separated tag list.\").nullable().optional(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n}).describe(\"Contact information for the subscriber.\");\nexport const SimpleroSubscribeToListOutput = z.object({\n id: z.number().int().describe(\"Subscription record ID.\").nullable().optional(),\n active: z.boolean().describe(\"Subscription status.\").nullable().optional(),\n list_id: z.number().int().describe(\"Associated list identifier.\").nullable().optional(),\n customer: SimpleroSubscribeToList_CustomerObjectSchema.nullable().optional(),\n confirmed: z.boolean().describe(\"Email confirmation status.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n customer_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n}).describe(\"Response schema for list subscription.\");\n\nexport const simpleroSubscribeToList = action(\"SIMPLERO_SUBSCRIBE_TO_LIST\", {\n slug: \"simplero-subscribe-to-list\",\n name: \"Subscribe to List\",\n description: \"Tool to add a new subscriber to a specific mailing list. Use when you need to subscribe a contact with their email address to a list.\",\n input: SimpleroSubscribeToListInput,\n output: SimpleroSubscribeToListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SA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z","action"],"sources":["../../src/actions/subscribe-to-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroSubscribeToListInput = z.object({\n ref: z.number().int().describe(\"Affiliate reference for conversion attribution.\").optional(),\n tags: z.string().describe(\"Comma-separated tag list (tags are trimmed of leading/trailing whitespace automatically).\").optional(),\n email: z.string().describe(\"Contact's email address (required).\"),\n phone: z.string().describe(\"Sanitized phone number with country code first (e.g., '15551231234').\").optional(),\n track: z.string().describe(\"Tracking keyword to identify subscription source.\").optional(),\n list_id: z.number().int().describe(\"The ID of the mailing list to subscribe to.\"),\n referrer: z.string().describe(\"Last external URL visited before subscription.\").optional(),\n last_name: z.string().describe(\"Contact's surname.\").optional(),\n first_name: z.string().describe(\"Contact's given name.\").optional(),\n ip_address: z.string().describe(\"Actual IP address that the customer used to subscribe.\").optional(),\n gdpr_consent: z.boolean().describe(\"GDPR consent indicator.\").optional(),\n landing_page_id: z.number().int().describe(\"Landing page ID for conversion tracking.\").optional(),\n first_activated_at: z.string().describe(\"Initial activation timestamp in ISO 8601 format.\").optional(),\n auto_responder_start_at: z.string().describe(\"Automation sequence start date in ISO 8601 format.\").optional(),\n}).describe(\"Request parameters for subscribing a contact to a mailing list.\");\nconst SimpleroSubscribeToList_CustomerObjectSchema = z.object({\n id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n tags: z.string().describe(\"Comma-separated tag list.\").nullable().optional(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the subscriber.\");\nexport const SimpleroSubscribeToListOutput = z.object({\n id: z.number().int().describe(\"Subscription record ID.\").nullable().optional(),\n active: z.boolean().describe(\"Subscription status.\").nullable().optional(),\n list_id: z.number().int().describe(\"Associated list identifier.\").nullable().optional(),\n customer: SimpleroSubscribeToList_CustomerObjectSchema.nullable().optional(),\n confirmed: z.boolean().describe(\"Email confirmation status.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n customer_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for list subscription.\");\n\nexport const simpleroSubscribeToList = action(\"SIMPLERO_SUBSCRIBE_TO_LIST\", {\n slug: \"simplero-subscribe-to-list\",\n name: \"Subscribe to List\",\n description: \"Tool to add a new subscriber to a specific mailing list. Use when you need to subscribe a contact with their email address to a list.\",\n input: SimpleroSubscribeToListInput,\n output: SimpleroSubscribeToListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAClE,YAAYA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AC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -28,12 +28,12 @@ declare const SimpleroSubscribeToListOutput: z.ZodObject<{
28
28
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>>;
31
+ }, z.core.$loose>>>;
32
32
  confirmed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
33
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  customer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const simpleroSubscribeToList: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  email: string;
39
39
  list_id: number;
@@ -28,12 +28,12 @@ declare const SimpleroSubscribeToListOutput: z.ZodObject<{
28
28
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>>;
31
+ }, z.core.$loose>>>;
32
32
  confirmed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
33
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  customer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const simpleroSubscribeToList: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  email: string;
39
39
  list_id: number;
@@ -24,7 +24,7 @@ const SimpleroSubscribeToList_CustomerObjectSchema = z.object({
24
24
  phone: z.string().describe("Contact's phone number.").nullable().optional(),
25
25
  last_name: z.string().describe("Contact's surname.").nullable().optional(),
26
26
  first_name: z.string().describe("Contact's given name.").nullable().optional()
27
- }).describe("Contact information for the subscriber.");
27
+ }).passthrough().describe("Contact information for the subscriber.");
28
28
  const simpleroSubscribeToList = action("SIMPLERO_SUBSCRIBE_TO_LIST", {
29
29
  slug: "simplero-subscribe-to-list",
30
30
  name: "Subscribe to List",
@@ -39,7 +39,7 @@ const simpleroSubscribeToList = action("SIMPLERO_SUBSCRIBE_TO_LIST", {
39
39
  created_at: z.string().describe("Creation timestamp in ISO 8601 format.").nullable().optional(),
40
40
  updated_at: z.string().describe("Last update timestamp in ISO 8601 format.").nullable().optional(),
41
41
  customer_id: z.number().int().describe("Contact identifier.").nullable().optional()
42
- }).describe("Response schema for list subscription.")
42
+ }).passthrough().describe("Response schema for list subscription.")
43
43
  });
44
44
  //#endregion
45
45
  export { simpleroSubscribeToList };
@@ -1 +1 @@
1
- {"version":3,"file":"subscribe-to-list.mjs","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroSubscribeToListInput = z.object({\n ref: z.number().int().describe(\"Affiliate reference for conversion attribution.\").optional(),\n tags: z.string().describe(\"Comma-separated tag list (tags are trimmed of leading/trailing whitespace automatically).\").optional(),\n email: z.string().describe(\"Contact's email address (required).\"),\n phone: z.string().describe(\"Sanitized phone number with country code first (e.g., '15551231234').\").optional(),\n track: z.string().describe(\"Tracking keyword to identify subscription source.\").optional(),\n list_id: z.number().int().describe(\"The ID of the mailing list to subscribe to.\"),\n referrer: z.string().describe(\"Last external URL visited before subscription.\").optional(),\n last_name: z.string().describe(\"Contact's surname.\").optional(),\n first_name: z.string().describe(\"Contact's given name.\").optional(),\n ip_address: z.string().describe(\"Actual IP address that the customer used to subscribe.\").optional(),\n gdpr_consent: z.boolean().describe(\"GDPR consent indicator.\").optional(),\n landing_page_id: z.number().int().describe(\"Landing page ID for conversion tracking.\").optional(),\n first_activated_at: z.string().describe(\"Initial activation timestamp in ISO 8601 format.\").optional(),\n auto_responder_start_at: z.string().describe(\"Automation sequence start date in ISO 8601 format.\").optional(),\n}).describe(\"Request parameters for subscribing a contact to a mailing list.\");\nconst SimpleroSubscribeToList_CustomerObjectSchema = z.object({\n id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n tags: z.string().describe(\"Comma-separated tag list.\").nullable().optional(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n}).describe(\"Contact information for the subscriber.\");\nexport const SimpleroSubscribeToListOutput = z.object({\n id: z.number().int().describe(\"Subscription record ID.\").nullable().optional(),\n active: z.boolean().describe(\"Subscription status.\").nullable().optional(),\n list_id: z.number().int().describe(\"Associated list identifier.\").nullable().optional(),\n customer: SimpleroSubscribeToList_CustomerObjectSchema.nullable().optional(),\n confirmed: z.boolean().describe(\"Email confirmation status.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n customer_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n}).describe(\"Response schema for list subscription.\");\n\nexport const simpleroSubscribeToList = action(\"SIMPLERO_SUBSCRIBE_TO_LIST\", {\n slug: \"simplero-subscribe-to-list\",\n name: \"Subscribe to List\",\n description: \"Tool to add a new subscriber to a specific mailing list. Use when you need to subscribe a contact with their email address to a list.\",\n input: SimpleroSubscribeToListInput,\n output: SimpleroSubscribeToListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAChI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAA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O,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,UAAU,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,SAAS,wCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"subscribe-to-list.mjs","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroSubscribeToListInput = z.object({\n ref: z.number().int().describe(\"Affiliate reference for conversion attribution.\").optional(),\n tags: z.string().describe(\"Comma-separated tag list (tags are trimmed of leading/trailing whitespace automatically).\").optional(),\n email: z.string().describe(\"Contact's email address (required).\"),\n phone: z.string().describe(\"Sanitized phone number with country code first (e.g., '15551231234').\").optional(),\n track: z.string().describe(\"Tracking keyword to identify subscription source.\").optional(),\n list_id: z.number().int().describe(\"The ID of the mailing list to subscribe to.\"),\n referrer: z.string().describe(\"Last external URL visited before subscription.\").optional(),\n last_name: z.string().describe(\"Contact's surname.\").optional(),\n first_name: z.string().describe(\"Contact's given name.\").optional(),\n ip_address: z.string().describe(\"Actual IP address that the customer used to subscribe.\").optional(),\n gdpr_consent: z.boolean().describe(\"GDPR consent indicator.\").optional(),\n landing_page_id: z.number().int().describe(\"Landing page ID for conversion tracking.\").optional(),\n first_activated_at: z.string().describe(\"Initial activation timestamp in ISO 8601 format.\").optional(),\n auto_responder_start_at: z.string().describe(\"Automation sequence start date in ISO 8601 format.\").optional(),\n}).describe(\"Request parameters for subscribing a contact to a mailing list.\");\nconst SimpleroSubscribeToList_CustomerObjectSchema = z.object({\n id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n tags: z.string().describe(\"Comma-separated tag list.\").nullable().optional(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the subscriber.\");\nexport const SimpleroSubscribeToListOutput = z.object({\n id: z.number().int().describe(\"Subscription record ID.\").nullable().optional(),\n active: z.boolean().describe(\"Subscription status.\").nullable().optional(),\n list_id: z.number().int().describe(\"Associated list identifier.\").nullable().optional(),\n customer: SimpleroSubscribeToList_CustomerObjectSchema.nullable().optional(),\n confirmed: z.boolean().describe(\"Email confirmation status.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n customer_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for list subscription.\");\n\nexport const simpleroSubscribeToList = action(\"SIMPLERO_SUBSCRIBE_TO_LIST\", {\n slug: \"simplero-subscribe-to-list\",\n name: \"Subscribe to List\",\n description: \"Tool to add a new subscriber to a specific mailing list. Use when you need to subscribe a contact with their email address to a list.\",\n input: SimpleroSubscribeToListInput,\n output: SimpleroSubscribeTo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,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const SimpleroUnsubscribeFromListInput = zod.z.object({
5
5
  email: zod.z.string().describe("The email address of the contact to remove from the list."),
6
6
  list_id: zod.z.number().int().describe("The unique identifier of the list from which to unsubscribe the contact.")
7
7
  }).describe("Request model for unsubscribing a customer from a list.");
8
- const SimpleroUnsubscribeFromListOutput = zod.z.object({ success: zod.z.boolean().describe("True if subscriber was removed from the list, false if contact cannot be located.").nullable() }).describe("Response model for unsubscribe operation.");
8
+ const SimpleroUnsubscribeFromListOutput = zod.z.object({ success: zod.z.boolean().describe("True if subscriber was removed from the list, false if contact cannot be located.").nullable() }).passthrough().describe("Response model for unsubscribe operation.");
9
9
  const simpleroUnsubscribeFromList = require_action.action("SIMPLERO_UNSUBSCRIBE_FROM_LIST", {
10
10
  slug: "simplero-unsubscribe-from-list",
11
11
  name: "Unsubscribe From List",
@@ -1 +1 @@
1
- {"version":3,"file":"unsubscribe-from-list.cjs","names":["z","action"],"sources":["../../src/actions/unsubscribe-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUnsubscribeFromListInput = z.object({\n email: z.string().describe(\"The email address of the contact to remove from the list.\"),\n list_id: z.number().int().describe(\"The unique identifier of the list from which to unsubscribe the contact.\"),\n}).describe(\"Request model for unsubscribing a customer from a list.\");\nexport const SimpleroUnsubscribeFromListOutput = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\").nullable(),\n}).describe(\"Response model for unsubscribe operation.\");\n\nexport const simpleroUnsubscribeFromList = action(\"SIMPLERO_UNSUBSCRIBE_FROM_LIST\", {\n slug: \"simplero-unsubscribe-from-list\",\n name: \"Unsubscribe From List\",\n description: \"Tool to unsubscribe a customer from a specific mailing list. Use when you need to remove a contact from a list by their email address.\",\n input: SimpleroUnsubscribeFromListInput,\n output: SimpleroUnsubscribeFromListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;AAC/G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"unsubscribe-from-list.cjs","names":["z","action"],"sources":["../../src/actions/unsubscribe-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUnsubscribeFromListInput = z.object({\n email: z.string().describe(\"The email address of the contact to remove from the list.\"),\n list_id: z.number().int().describe(\"The unique identifier of the list from which to unsubscribe the contact.\"),\n}).describe(\"Request model for unsubscribing a customer from a list.\");\nexport const SimpleroUnsubscribeFromListOutput = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\").nullable(),\n}).passthrough().describe(\"Response model for unsubscribe operation.\");\n\nexport const simpleroUnsubscribeFromList = action(\"SIMPLERO_UNSUBSCRIBE_FROM_LIST\", {\n slug: \"simplero-unsubscribe-from-list\",\n name: \"Unsubscribe From List\",\n description: \"Tool to unsubscribe a customer from a specific mailing list. Use when you need to remove a contact from a list by their email address.\",\n input: SimpleroUnsubscribeFromListInput,\n output: SimpleroUnsubscribeFromListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;AAC/G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const SimpleroUnsubscribeFromListInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const SimpleroUnsubscribeFromListOutput: z.ZodObject<{
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const simpleroUnsubscribeFromList: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  email: string;
13
13
  list_id: number;
@@ -7,7 +7,7 @@ declare const SimpleroUnsubscribeFromListInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const SimpleroUnsubscribeFromListOutput: z.ZodObject<{
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const simpleroUnsubscribeFromList: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  email: string;
13
13
  list_id: number;
@@ -8,7 +8,7 @@ const simpleroUnsubscribeFromList = action("SIMPLERO_UNSUBSCRIBE_FROM_LIST", {
8
8
  email: z.string().describe("The email address of the contact to remove from the list."),
9
9
  list_id: z.number().int().describe("The unique identifier of the list from which to unsubscribe the contact.")
10
10
  }).describe("Request model for unsubscribing a customer from a list."),
11
- output: z.object({ success: z.boolean().describe("True if subscriber was removed from the list, false if contact cannot be located.").nullable() }).describe("Response model for unsubscribe operation.")
11
+ output: z.object({ success: z.boolean().describe("True if subscriber was removed from the list, false if contact cannot be located.").nullable() }).passthrough().describe("Response model for unsubscribe operation.")
12
12
  });
13
13
  //#endregion
14
14
  export { simpleroUnsubscribeFromList };
@@ -1 +1 @@
1
- {"version":3,"file":"unsubscribe-from-list.mjs","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUnsubscribeFromListInput = z.object({\n email: z.string().describe(\"The email address of the contact to remove from the list.\"),\n list_id: z.number().int().describe(\"The unique identifier of the list from which to unsubscribe the contact.\"),\n}).describe(\"Request model for unsubscribing a customer from a list.\");\nexport const SimpleroUnsubscribeFromListOutput = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\").nullable(),\n}).describe(\"Response model for unsubscribe operation.\");\n\nexport const simpleroUnsubscribeFromList = action(\"SIMPLERO_UNSUBSCRIBE_FROM_LIST\", {\n slug: \"simplero-unsubscribe-from-list\",\n name: \"Unsubscribe From List\",\n description: \"Tool to unsubscribe a customer from a specific mailing list. Use when you need to remove a contact from a list by their email address.\",\n input: SimpleroUnsubscribeFromListInput,\n output: SimpleroUnsubscribeFromListOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CAC/G,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"unsubscribe-from-list.mjs","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUnsubscribeFromListInput = z.object({\n email: z.string().describe(\"The email address of the contact to remove from the list.\"),\n list_id: z.number().int().describe(\"The unique identifier of the list from which to unsubscribe the contact.\"),\n}).describe(\"Request model for unsubscribing a customer from a list.\");\nexport const SimpleroUnsubscribeFromListOutput = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\").nullable(),\n}).passthrough().describe(\"Response model for unsubscribe operation.\");\n\nexport const simpleroUnsubscribeFromList = action(\"SIMPLERO_UNSUBSCRIBE_FROM_LIST\", {\n slug: \"simplero-unsubscribe-from-list\",\n name: \"Unsubscribe From List\",\n description: \"Tool to unsubscribe a customer from a specific mailing list. Use when you need to remove a contact from a list by their email address.\",\n input: SimpleroUnsubscribeFromListInput,\n output: SimpleroUnsubscribeFromListOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CAC/G,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -29,7 +29,7 @@ const SimpleroUpdateContactCredentialsOutput = zod.z.object({
29
29
  lifetime_value_cents_excl_tax: zod.z.number().int().describe("Customer lifetime value in cents excluding tax").nullable().optional(),
30
30
  lead_acquisition_cost_cents_excl_tax: zod.z.number().int().describe("Lead acquisition cost in cents excluding tax").nullable().optional(),
31
31
  customer_acquisition_cost_cents_excl_tax: zod.z.number().int().describe("Customer acquisition cost in cents excluding tax").nullable().optional()
32
- }).describe("Response model containing updated contact details.");
32
+ }).passthrough().describe("Response model containing updated contact details.");
33
33
  const simpleroUpdateContactCredentials = require_action.action("SIMPLERO_UPDATE_CONTACT_CREDENTIALS", {
34
34
  slug: "simplero-update-contact-credentials",
35
35
  name: "Update Contact Credentials",
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-credentials.cjs","names":["z","action"],"sources":["../../src/actions/update-contact-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUpdateContactCredentialsInput = z.object({\n id: z.number().int().describe(\"Contact's internal ID. At least one of email, id, or token is required to identify the contact.\").optional(),\n email: z.string().describe(\"Contact's email address. At least one of email, id, or token is required to identify the contact.\").optional(),\n token: z.string().describe(\"Contact's token. At least one of email, id, or token is required to identify the contact.\").optional(),\n last_name: z.string().describe(\"Contact's last name to update.\").optional(),\n first_name: z.string().describe(\"Contact's first name to update.\").optional(),\n update_login_email: z.boolean().describe(\"Set to true to update the contact's login email address. Use this with the email parameter to change the login email.\").optional(),\n}).describe(\"Request model for updating a contact's login credentials.\");\nexport const SimpleroUpdateContactCredentialsOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n ref: z.string().describe(\"Reference value\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n track: z.string().describe(\"Tracking parameter\").nullable().optional(),\n referrer: z.string().describe(\"Referrer URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable().optional(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable().optional(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n affiliate_id: z.number().int().describe(\"Affiliate identifier\").nullable().optional(),\n contact_since: z.string().describe(\"Relative time string since contact creation\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Do not contact flag\").nullable().optional(),\n lifetime_value_cents_excl_tax: z.number().int().describe(\"Customer lifetime value in cents excluding tax\").nullable().optional(),\n lead_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Lead acquisition cost in cents excluding tax\").nullable().optional(),\n customer_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Customer acquisition cost in cents excluding tax\").nullable().optional(),\n}).describe(\"Response model containing updated contact details.\");\n\nexport const simpleroUpdateContactCredentials = action(\"SIMPLERO_UPDATE_CONTACT_CREDENTIALS\", {\n slug: \"simplero-update-contact-credentials\",\n name: \"Update Contact Credentials\",\n description: \"Tool to update a contact's login credentials including email, first name, and last name. Use only with the consent of the contact. At least one identification parameter (email, id, or token) is required.\",\n input: SimpleroUpdateContactCredentialsInput,\n output: SimpleroUpdateContactCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;C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YA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact-credentials.cjs","names":["z","action"],"sources":["../../src/actions/update-contact-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUpdateContactCredentialsInput = z.object({\n id: z.number().int().describe(\"Contact's internal ID. At least one of email, id, or token is required to identify the contact.\").optional(),\n email: z.string().describe(\"Contact's email address. At least one of email, id, or token is required to identify the contact.\").optional(),\n token: z.string().describe(\"Contact's token. At least one of email, id, or token is required to identify the contact.\").optional(),\n last_name: z.string().describe(\"Contact's last name to update.\").optional(),\n first_name: z.string().describe(\"Contact's first name to update.\").optional(),\n update_login_email: z.boolean().describe(\"Set to true to update the contact's login email address. Use this with the email parameter to change the login email.\").optional(),\n}).describe(\"Request model for updating a contact's login credentials.\");\nexport const SimpleroUpdateContactCredentialsOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n ref: z.string().describe(\"Reference value\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n track: z.string().describe(\"Tracking parameter\").nullable().optional(),\n referrer: z.string().describe(\"Referrer URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable().optional(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable().optional(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n affiliate_id: z.number().int().describe(\"Affiliate identifier\").nullable().optional(),\n contact_since: z.string().describe(\"Relative time string since contact creation\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Do not contact flag\").nullable().optional(),\n lifetime_value_cents_excl_tax: z.number().int().describe(\"Customer lifetime value in cents excluding tax\").nullable().optional(),\n lead_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Lead acquisition cost in cents excluding tax\").nullable().optional(),\n customer_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Customer acquisition cost in cents excluding tax\").nullable().optional(),\n}).passthrough().describe(\"Response model containing updated contact details.\");\n\nexport const simpleroUpdateContactCredentials = action(\"SIMPLERO_UPDATE_CONTACT_CREDENTIALS\", {\n slug: \"simplero-update-contact-credentials\",\n name: \"Update Contact Credentials\",\n description: \"Tool to update a contact's login credentials including email, first name, and last name. Use only with the consent of the contact. At least one identification parameter (email, id, or token) is required.\",\n input: SimpleroUpdateContactCredentialsInput,\n output: SimpleroUpdateContactCredentialsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC7K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,E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CAAC,CAAC,SAAS;CAC/H,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -29,7 +29,7 @@ declare const SimpleroUpdateContactCredentialsOutput: z.ZodObject<{
29
29
  lifetime_value_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
30
  lead_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
31
  customer_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const simpleroUpdateContactCredentials: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  id?: number | undefined;
35
35
  email?: string | undefined;
@@ -29,7 +29,7 @@ declare const SimpleroUpdateContactCredentialsOutput: z.ZodObject<{
29
29
  lifetime_value_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
30
  lead_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
31
  customer_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const simpleroUpdateContactCredentials: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  id?: number | undefined;
35
35
  email?: string | undefined;
@@ -32,7 +32,7 @@ const simpleroUpdateContactCredentials = action("SIMPLERO_UPDATE_CONTACT_CREDENT
32
32
  lifetime_value_cents_excl_tax: z.number().int().describe("Customer lifetime value in cents excluding tax").nullable().optional(),
33
33
  lead_acquisition_cost_cents_excl_tax: z.number().int().describe("Lead acquisition cost in cents excluding tax").nullable().optional(),
34
34
  customer_acquisition_cost_cents_excl_tax: z.number().int().describe("Customer acquisition cost in cents excluding tax").nullable().optional()
35
- }).describe("Response model containing updated contact details.")
35
+ }).passthrough().describe("Response model containing updated contact details.")
36
36
  });
37
37
  //#endregion
38
38
  export { simpleroUpdateContactCredentials };
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-credentials.mjs","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUpdateContactCredentialsInput = z.object({\n id: z.number().int().describe(\"Contact's internal ID. At least one of email, id, or token is required to identify the contact.\").optional(),\n email: z.string().describe(\"Contact's email address. At least one of email, id, or token is required to identify the contact.\").optional(),\n token: z.string().describe(\"Contact's token. At least one of email, id, or token is required to identify the contact.\").optional(),\n last_name: z.string().describe(\"Contact's last name to update.\").optional(),\n first_name: z.string().describe(\"Contact's first name to update.\").optional(),\n update_login_email: z.boolean().describe(\"Set to true to update the contact's login email address. Use this with the email parameter to change the login email.\").optional(),\n}).describe(\"Request model for updating a contact's login credentials.\");\nexport const SimpleroUpdateContactCredentialsOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n ref: z.string().describe(\"Reference value\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n track: z.string().describe(\"Tracking parameter\").nullable().optional(),\n referrer: z.string().describe(\"Referrer URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable().optional(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable().optional(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n affiliate_id: z.number().int().describe(\"Affiliate identifier\").nullable().optional(),\n contact_since: z.string().describe(\"Relative time string since contact creation\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Do not contact flag\").nullable().optional(),\n lifetime_value_cents_excl_tax: z.number().int().describe(\"Customer lifetime value in cents excluding tax\").nullable().optional(),\n lead_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Lead acquisition cost in cents excluding tax\").nullable().optional(),\n customer_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Customer acquisition cost in cents excluding tax\").nullable().optional(),\n}).describe(\"Response model containing updated contact details.\");\n\nexport const simpleroUpdateContactCredentials = action(\"SIMPLERO_UPDATE_CONTACT_CREDENTIALS\", {\n slug: \"simplero-update-contact-credentials\",\n name: \"Update Contact Credentials\",\n description: \"Tool to update a contact's login credentials including email, first name, and last name. Use only with the consent of the contact. At least one identification parameter (email, id, or token) is required.\",\n input: SimpleroUpdateContactCredentialsInput,\n output: SimpleroUpdateContactCredentialsOutput,\n});\n"],"mappings":";;AAkCA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlCmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACzI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iC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AE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,+BAA+B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,sCAAsC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,0CAA0C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact-credentials.mjs","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUpdateContactCredentialsInput = z.object({\n id: z.number().int().describe(\"Contact's internal ID. At least one of email, id, or token is required to identify the contact.\").optional(),\n email: z.string().describe(\"Contact's email address. At least one of email, id, or token is required to identify the contact.\").optional(),\n token: z.string().describe(\"Contact's token. At least one of email, id, or token is required to identify the contact.\").optional(),\n last_name: z.string().describe(\"Contact's last name to update.\").optional(),\n first_name: z.string().describe(\"Contact's first name to update.\").optional(),\n update_login_email: z.boolean().describe(\"Set to true to update the contact's login email address. Use this with the email parameter to change the login email.\").optional(),\n}).describe(\"Request model for updating a contact's login credentials.\");\nexport const SimpleroUpdateContactCredentialsOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n ref: z.string().describe(\"Reference value\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n track: z.string().describe(\"Tracking parameter\").nullable().optional(),\n referrer: z.string().describe(\"Referrer URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable().optional(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable().optional(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n affiliate_id: z.number().int().describe(\"Affiliate identifier\").nullable().optional(),\n contact_since: z.string().describe(\"Relative time string since contact creation\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Do not contact flag\").nullable().optional(),\n lifetime_value_cents_excl_tax: z.number().int().describe(\"Customer lifetime value in cents excluding tax\").nullable().optional(),\n lead_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Lead acquisition cost in cents excluding tax\").nullable().optional(),\n customer_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Customer acquisition cost in cents excluding tax\").nullable().optional(),\n}).passthrough().describe(\"Response model containing updated contact details.\");\n\nexport const simpleroUpdateContactCredentials = action(\"SIMPLERO_UPDATE_CONTACT_CREDENTIALS\", {\n slug: \"simplero-update-contact-credentials\",\n name: \"Update Contact Credentials\",\n description: \"Tool to update a contact's login credentials including email, first name, and last name. Use only with the consent of the contact. At least one identification parameter (email, id, or token) is required.\",\n input: SimpleroUpdateContactCredentialsInput,\n output: SimpleroUpdateContactCredentialsOutput,\n});\n"],"mappings":";;AAkCA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa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authScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Key",
13
13
  "secret": true,
14
14
  "description": "Go to Settings > Integrations in your Simplero Dashboard and click \"+ Create new API Key\""
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const simpleroCatalog = {\n \"slug\": \"simplero\",\n \"name\": \"Simplero\",\n \"description\": \"All-in-one marketing software for course creators, coaches and online marketers.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/simplero\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Go to Settings > Integrations in your Simplero Dashboard and click \\\"+ Create new API Key\\\"\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const simpleroCatalog = {\n \"slug\": \"simplero\",\n \"name\": \"Simplero\",\n \"description\": \"All-in-one marketing software for course creators, coaches and online marketers.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/simplero\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Go to Settings > Integrations in your Simplero Dashboard and click \\\"+ Create new API Key\\\"\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,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"}
@@ -9,7 +9,7 @@ declare const simpleroCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Go to Settings > Integrations in your Simplero Dashboard and click \"+ Create new API Key\"";
@@ -9,7 +9,7 @@ declare const simpleroCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "API Key";
14
14
  readonly secret: true;
15
15
  readonly description: "Go to Settings > Integrations in your Simplero Dashboard and click \"+ Create new API Key\"";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const simpleroCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/simplero",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "API Key",
13
13
  "secret": true,
14
14
  "description": "Go to Settings > Integrations in your Simplero Dashboard and click \"+ Create new API Key\""
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const simpleroCatalog = {\n \"slug\": \"simplero\",\n \"name\": \"Simplero\",\n \"description\": \"All-in-one marketing software for course creators, coaches and online marketers.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/simplero\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Go to Settings > Integrations in your Simplero Dashboard and click \\\"+ Create new API Key\\\"\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const simpleroCatalog = {\n \"slug\": \"simplero\",\n \"name\": \"Simplero\",\n \"description\": \"All-in-one marketing software for course creators, coaches and online marketers.\",\n \"category\": \"Marketing Automation\",\n \"logo\": \"https://logos.composio.dev/api/simplero\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Go to Settings > Integrations in your Simplero Dashboard and click \\\"+ Create new API Key\\\"\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/simplero",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"