@keystrokehq/simplero 0.1.0 → 0.1.2

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 (131) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-tag-to-contact.cjs.map +1 -1
  4. package/dist/actions/add-tag-to-contact.d.cts +30 -3
  5. package/dist/actions/add-tag-to-contact.d.cts.map +1 -1
  6. package/dist/actions/add-tag-to-contact.d.mts +30 -3
  7. package/dist/actions/add-tag-to-contact.d.mts.map +1 -1
  8. package/dist/actions/add-tag-to-contact.mjs.map +1 -1
  9. package/dist/actions/bulk-subscribe-to-list.cjs.map +1 -1
  10. package/dist/actions/bulk-subscribe-to-list.d.cts +39 -3
  11. package/dist/actions/bulk-subscribe-to-list.d.cts.map +1 -1
  12. package/dist/actions/bulk-subscribe-to-list.d.mts +39 -3
  13. package/dist/actions/bulk-subscribe-to-list.d.mts.map +1 -1
  14. package/dist/actions/bulk-subscribe-to-list.mjs.map +1 -1
  15. package/dist/actions/create-or-update-administrator.cjs.map +1 -1
  16. package/dist/actions/create-or-update-administrator.d.cts +49 -3
  17. package/dist/actions/create-or-update-administrator.d.cts.map +1 -1
  18. package/dist/actions/create-or-update-administrator.d.mts +49 -3
  19. package/dist/actions/create-or-update-administrator.d.mts.map +1 -1
  20. package/dist/actions/create-or-update-administrator.mjs.map +1 -1
  21. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  22. package/dist/actions/create-or-update-contact.d.cts +46 -3
  23. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  24. package/dist/actions/create-or-update-contact.d.mts +46 -3
  25. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  26. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  27. package/dist/actions/find-contact-by-email.cjs.map +1 -1
  28. package/dist/actions/find-contact-by-email.d.cts +25 -3
  29. package/dist/actions/find-contact-by-email.d.cts.map +1 -1
  30. package/dist/actions/find-contact-by-email.d.mts +25 -3
  31. package/dist/actions/find-contact-by-email.d.mts.map +1 -1
  32. package/dist/actions/find-contact-by-email.mjs.map +1 -1
  33. package/dist/actions/find-subscription-by-email.cjs.map +1 -1
  34. package/dist/actions/find-subscription-by-email.d.cts +57 -3
  35. package/dist/actions/find-subscription-by-email.d.cts.map +1 -1
  36. package/dist/actions/find-subscription-by-email.d.mts +57 -3
  37. package/dist/actions/find-subscription-by-email.d.mts.map +1 -1
  38. package/dist/actions/find-subscription-by-email.mjs.map +1 -1
  39. package/dist/actions/get-admin-roles.cjs.map +1 -1
  40. package/dist/actions/get-admin-roles.d.cts +8 -3
  41. package/dist/actions/get-admin-roles.d.cts.map +1 -1
  42. package/dist/actions/get-admin-roles.d.mts +8 -3
  43. package/dist/actions/get-admin-roles.d.mts.map +1 -1
  44. package/dist/actions/get-admin-roles.mjs.map +1 -1
  45. package/dist/actions/get-administrator-by-id.cjs +10 -10
  46. package/dist/actions/get-administrator-by-id.cjs.map +1 -1
  47. package/dist/actions/get-administrator-by-id.d.cts +33 -3
  48. package/dist/actions/get-administrator-by-id.d.cts.map +1 -1
  49. package/dist/actions/get-administrator-by-id.d.mts +33 -3
  50. package/dist/actions/get-administrator-by-id.d.mts.map +1 -1
  51. package/dist/actions/get-administrator-by-id.mjs +10 -10
  52. package/dist/actions/get-administrator-by-id.mjs.map +1 -1
  53. package/dist/actions/get-administrators.cjs.map +1 -1
  54. package/dist/actions/get-administrators.d.cts +33 -3
  55. package/dist/actions/get-administrators.d.cts.map +1 -1
  56. package/dist/actions/get-administrators.d.mts +33 -3
  57. package/dist/actions/get-administrators.d.mts.map +1 -1
  58. package/dist/actions/get-administrators.mjs.map +1 -1
  59. package/dist/actions/get-async-request-status.cjs +3 -3
  60. package/dist/actions/get-async-request-status.cjs.map +1 -1
  61. package/dist/actions/get-async-request-status.d.cts +15 -3
  62. package/dist/actions/get-async-request-status.d.cts.map +1 -1
  63. package/dist/actions/get-async-request-status.d.mts +15 -3
  64. package/dist/actions/get-async-request-status.d.mts.map +1 -1
  65. package/dist/actions/get-async-request-status.mjs +3 -3
  66. package/dist/actions/get-async-request-status.mjs.map +1 -1
  67. package/dist/actions/get-contact-by-id.cjs +4 -4
  68. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  69. package/dist/actions/get-contact-by-id.d.cts +21 -3
  70. package/dist/actions/get-contact-by-id.d.cts.map +1 -1
  71. package/dist/actions/get-contact-by-id.d.mts +21 -3
  72. package/dist/actions/get-contact-by-id.d.mts.map +1 -1
  73. package/dist/actions/get-contact-by-id.mjs +4 -4
  74. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  75. package/dist/actions/get-invoices.cjs.map +1 -1
  76. package/dist/actions/get-invoices.d.cts +29 -3
  77. package/dist/actions/get-invoices.d.cts.map +1 -1
  78. package/dist/actions/get-invoices.d.mts +29 -3
  79. package/dist/actions/get-invoices.d.mts.map +1 -1
  80. package/dist/actions/get-invoices.mjs.map +1 -1
  81. package/dist/actions/get-lists.cjs.map +1 -1
  82. package/dist/actions/get-lists.d.cts +18 -3
  83. package/dist/actions/get-lists.d.cts.map +1 -1
  84. package/dist/actions/get-lists.d.mts +18 -3
  85. package/dist/actions/get-lists.d.mts.map +1 -1
  86. package/dist/actions/get-lists.mjs.map +1 -1
  87. package/dist/actions/get-products.cjs.map +1 -1
  88. package/dist/actions/get-products.d.cts +13 -3
  89. package/dist/actions/get-products.d.cts.map +1 -1
  90. package/dist/actions/get-products.d.mts +13 -3
  91. package/dist/actions/get-products.d.mts.map +1 -1
  92. package/dist/actions/get-products.mjs.map +1 -1
  93. package/dist/actions/remove-administrator.cjs.map +1 -1
  94. package/dist/actions/remove-administrator.d.cts +10 -3
  95. package/dist/actions/remove-administrator.d.cts.map +1 -1
  96. package/dist/actions/remove-administrator.d.mts +10 -3
  97. package/dist/actions/remove-administrator.d.mts.map +1 -1
  98. package/dist/actions/remove-administrator.mjs.map +1 -1
  99. package/dist/actions/remove-tag-from-contact.cjs.map +1 -1
  100. package/dist/actions/remove-tag-from-contact.d.cts +13 -3
  101. package/dist/actions/remove-tag-from-contact.d.cts.map +1 -1
  102. package/dist/actions/remove-tag-from-contact.d.mts +13 -3
  103. package/dist/actions/remove-tag-from-contact.d.mts.map +1 -1
  104. package/dist/actions/remove-tag-from-contact.mjs.map +1 -1
  105. package/dist/actions/subscribe-to-list.cjs.map +1 -1
  106. package/dist/actions/subscribe-to-list.d.cts +49 -3
  107. package/dist/actions/subscribe-to-list.d.cts.map +1 -1
  108. package/dist/actions/subscribe-to-list.d.mts +49 -3
  109. package/dist/actions/subscribe-to-list.d.mts.map +1 -1
  110. package/dist/actions/subscribe-to-list.mjs.map +1 -1
  111. package/dist/actions/unsubscribe-from-list.cjs +1 -1
  112. package/dist/actions/unsubscribe-from-list.cjs.map +1 -1
  113. package/dist/actions/unsubscribe-from-list.d.cts +11 -3
  114. package/dist/actions/unsubscribe-from-list.d.cts.map +1 -1
  115. package/dist/actions/unsubscribe-from-list.d.mts +11 -3
  116. package/dist/actions/unsubscribe-from-list.d.mts.map +1 -1
  117. package/dist/actions/unsubscribe-from-list.mjs +1 -1
  118. package/dist/actions/unsubscribe-from-list.mjs.map +1 -1
  119. package/dist/actions/update-contact-credentials.cjs.map +1 -1
  120. package/dist/actions/update-contact-credentials.d.cts +37 -3
  121. package/dist/actions/update-contact-credentials.d.cts.map +1 -1
  122. package/dist/actions/update-contact-credentials.d.mts +37 -3
  123. package/dist/actions/update-contact-credentials.d.mts.map +1 -1
  124. package/dist/actions/update-contact-credentials.mjs.map +1 -1
  125. package/dist/catalog.cjs +7 -1
  126. package/dist/catalog.cjs.map +1 -1
  127. package/dist/catalog.d.cts +8 -0
  128. package/dist/catalog.d.mts +8 -0
  129. package/dist/catalog.mjs +7 -1
  130. package/dist/catalog.mjs.map +1 -1
  131. package/package.json +2 -2
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/remove-tag-from-contact.d.ts
4
- declare const SimpleroRemoveTagFromContactInput: z.ZodTypeAny;
5
- declare const SimpleroRemoveTagFromContactOutput: z.ZodTypeAny;
6
- declare const simpleroRemoveTagFromContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroRemoveTagFromContactInput: z.ZodObject<{
5
+ tag: z.ZodString;
6
+ email: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SimpleroRemoveTagFromContactOutput: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ tag_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ declare const simpleroRemoveTagFromContact: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ tag: string;
15
+ email: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { simpleroRemoveTagFromContact };
9
19
  //# sourceMappingURL=remove-tag-from-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-tag-from-contact.d.cts","names":[],"sources":["../../src/actions/remove-tag-from-contact.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGa;AAAA,cAClD,kCAAA,EAAoC,CAAA,CAAE,UAIqB;AAAA,cAE3D,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"remove-tag-from-contact.d.cts","names":[],"sources":["../../src/actions/remove-tag-from-contact.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/remove-tag-from-contact.d.ts
4
- declare const SimpleroRemoveTagFromContactInput: z.ZodTypeAny;
5
- declare const SimpleroRemoveTagFromContactOutput: z.ZodTypeAny;
6
- declare const simpleroRemoveTagFromContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroRemoveTagFromContactInput: z.ZodObject<{
5
+ tag: z.ZodString;
6
+ email: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SimpleroRemoveTagFromContactOutput: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ tag_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ declare const simpleroRemoveTagFromContact: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ tag: string;
15
+ email: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { simpleroRemoveTagFromContact };
9
19
  //# sourceMappingURL=remove-tag-from-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-tag-from-contact.d.mts","names":[],"sources":["../../src/actions/remove-tag-from-contact.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGa;AAAA,cAClD,kCAAA,EAAoC,CAAA,CAAE,UAIqB;AAAA,cAE3D,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"remove-tag-from-contact.d.mts","names":[],"sources":["../../src/actions/remove-tag-from-contact.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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,OAd6D,EAAE,OAAO;EACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC1D,CAAC,CAAC,CAAC,SAAS,kDAWH;CACP,QAX8D,EAAE,OAAO;EACvE,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}).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 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,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,CAA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C,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,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,SAAS,wCAAwC;AAEpD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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,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,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,QAAQ,CA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C,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,SAAS,wCAAwC;AAEpD,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,55 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/subscribe-to-list.d.ts
4
- declare const SimpleroSubscribeToListInput: z.ZodTypeAny;
5
- declare const SimpleroSubscribeToListOutput: z.ZodTypeAny;
6
- declare const simpleroSubscribeToList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroSubscribeToListInput: z.ZodObject<{
5
+ ref: z.ZodOptional<z.ZodNumber>;
6
+ tags: z.ZodOptional<z.ZodString>;
7
+ email: z.ZodString;
8
+ phone: z.ZodOptional<z.ZodString>;
9
+ track: z.ZodOptional<z.ZodString>;
10
+ list_id: z.ZodNumber;
11
+ referrer: z.ZodOptional<z.ZodString>;
12
+ last_name: z.ZodOptional<z.ZodString>;
13
+ first_name: z.ZodOptional<z.ZodString>;
14
+ ip_address: z.ZodOptional<z.ZodString>;
15
+ gdpr_consent: z.ZodOptional<z.ZodBoolean>;
16
+ landing_page_id: z.ZodOptional<z.ZodNumber>;
17
+ first_activated_at: z.ZodOptional<z.ZodString>;
18
+ auto_responder_start_at: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>;
20
+ declare const SimpleroSubscribeToListOutput: z.ZodObject<{
21
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ list_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ tags: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$strip>>>;
32
+ confirmed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ customer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ }, z.core.$strip>;
37
+ declare const simpleroSubscribeToList: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ email: string;
39
+ list_id: number;
40
+ ref?: number | undefined;
41
+ tags?: string | undefined;
42
+ phone?: string | undefined;
43
+ track?: string | undefined;
44
+ referrer?: string | undefined;
45
+ last_name?: string | undefined;
46
+ first_name?: string | undefined;
47
+ ip_address?: string | undefined;
48
+ gdpr_consent?: boolean | undefined;
49
+ landing_page_id?: number | undefined;
50
+ first_activated_at?: string | undefined;
51
+ auto_responder_start_at?: string | undefined;
52
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
53
  //#endregion
8
54
  export { simpleroSubscribeToList };
9
55
  //# sourceMappingURL=subscribe-to-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscribe-to-list.d.cts","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAeiC;AAAA,cASjE,6BAAA,EAA+B,CAAA,CAAE,UASO;AAAA,cAExC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"subscribe-to-list.d.cts","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAwB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAW7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,55 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/subscribe-to-list.d.ts
4
- declare const SimpleroSubscribeToListInput: z.ZodTypeAny;
5
- declare const SimpleroSubscribeToListOutput: z.ZodTypeAny;
6
- declare const simpleroSubscribeToList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroSubscribeToListInput: z.ZodObject<{
5
+ ref: z.ZodOptional<z.ZodNumber>;
6
+ tags: z.ZodOptional<z.ZodString>;
7
+ email: z.ZodString;
8
+ phone: z.ZodOptional<z.ZodString>;
9
+ track: z.ZodOptional<z.ZodString>;
10
+ list_id: z.ZodNumber;
11
+ referrer: z.ZodOptional<z.ZodString>;
12
+ last_name: z.ZodOptional<z.ZodString>;
13
+ first_name: z.ZodOptional<z.ZodString>;
14
+ ip_address: z.ZodOptional<z.ZodString>;
15
+ gdpr_consent: z.ZodOptional<z.ZodBoolean>;
16
+ landing_page_id: z.ZodOptional<z.ZodNumber>;
17
+ first_activated_at: z.ZodOptional<z.ZodString>;
18
+ auto_responder_start_at: z.ZodOptional<z.ZodString>;
19
+ }, z.core.$strip>;
20
+ declare const SimpleroSubscribeToListOutput: z.ZodObject<{
21
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ list_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ customer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ tags: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ }, z.core.$strip>>>;
32
+ confirmed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ customer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
+ }, z.core.$strip>;
37
+ declare const simpleroSubscribeToList: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ email: string;
39
+ list_id: number;
40
+ ref?: number | undefined;
41
+ tags?: string | undefined;
42
+ phone?: string | undefined;
43
+ track?: string | undefined;
44
+ referrer?: string | undefined;
45
+ last_name?: string | undefined;
46
+ first_name?: string | undefined;
47
+ ip_address?: string | undefined;
48
+ gdpr_consent?: boolean | undefined;
49
+ landing_page_id?: number | undefined;
50
+ first_activated_at?: string | undefined;
51
+ auto_responder_start_at?: string | undefined;
52
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
53
  //#endregion
8
54
  export { simpleroSubscribeToList };
9
55
  //# sourceMappingURL=subscribe-to-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscribe-to-list.d.mts","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAeiC;AAAA,cASjE,6BAAA,EAA+B,CAAA,CAAE,UASO;AAAA,cAExC,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"subscribe-to-list.d.mts","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAwB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAW7B,uBAAA,gCAAuB,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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 cont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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}).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,CA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AE,OAAO,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"}
@@ -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.") }).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() }).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.ZodTypeAny = 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.ZodTypeAny = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\"),\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,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,EACnH,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}).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,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/unsubscribe-from-list.d.ts
4
- declare const SimpleroUnsubscribeFromListInput: z.ZodTypeAny;
5
- declare const SimpleroUnsubscribeFromListOutput: z.ZodTypeAny;
6
- declare const simpleroUnsubscribeFromList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroUnsubscribeFromListInput: z.ZodObject<{
5
+ email: z.ZodString;
6
+ list_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SimpleroUnsubscribeFromListOutput: z.ZodObject<{
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ declare const simpleroUnsubscribeFromList: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ email: string;
13
+ list_id: number;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { simpleroUnsubscribeFromList };
9
17
  //# sourceMappingURL=unsubscribe-from-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unsubscribe-from-list.d.cts","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGqB;AAAA,cACzD,iCAAA,EAAmC,CAAA,CAAE,UAEM;AAAA,cAE3C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"unsubscribe-from-list.d.cts","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/unsubscribe-from-list.d.ts
4
- declare const SimpleroUnsubscribeFromListInput: z.ZodTypeAny;
5
- declare const SimpleroUnsubscribeFromListOutput: z.ZodTypeAny;
6
- declare const simpleroUnsubscribeFromList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroUnsubscribeFromListInput: z.ZodObject<{
5
+ email: z.ZodString;
6
+ list_id: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ declare const SimpleroUnsubscribeFromListOutput: z.ZodObject<{
9
+ success: z.ZodNullable<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ declare const simpleroUnsubscribeFromList: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ email: string;
13
+ list_id: number;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { simpleroUnsubscribeFromList };
9
17
  //# sourceMappingURL=unsubscribe-from-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unsubscribe-from-list.d.mts","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGqB;AAAA,cACzD,iCAAA,EAAmC,CAAA,CAAE,UAEM;AAAA,cAE3C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"unsubscribe-from-list.d.mts","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -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.") }).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() }).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.ZodTypeAny = 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.ZodTypeAny = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\"),\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,OAZ4D,EAAE,OAAO;EACrE,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,QAT6D,EAAE,OAAO,EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,EACnH,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}).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 +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.ZodTypeAny = 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.ZodTypeAny = 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,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,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,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,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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AAC,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}).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,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region src/actions/update-contact-credentials.d.ts
4
- declare const SimpleroUpdateContactCredentialsInput: z.ZodTypeAny;
5
- declare const SimpleroUpdateContactCredentialsOutput: z.ZodTypeAny;
6
- declare const simpleroUpdateContactCredentials: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroUpdateContactCredentialsInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodNumber>;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ token: z.ZodOptional<z.ZodString>;
8
+ last_name: z.ZodOptional<z.ZodString>;
9
+ first_name: z.ZodOptional<z.ZodString>;
10
+ update_login_email: z.ZodOptional<z.ZodBoolean>;
11
+ }, z.core.$strip>;
12
+ declare const SimpleroUpdateContactCredentialsOutput: z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ track: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ referrer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ tag_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ first_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ affiliate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ contact_since: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ do_not_contact: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ lifetime_value_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ lead_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ customer_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ }, z.core.$strip>;
33
+ declare const simpleroUpdateContactCredentials: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ id?: number | undefined;
35
+ email?: string | undefined;
36
+ token?: string | undefined;
37
+ last_name?: string | undefined;
38
+ first_name?: string | undefined;
39
+ update_login_email?: boolean | undefined;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { simpleroUpdateContactCredentials };
9
43
  //# sourceMappingURL=update-contact-credentials.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-credentials.d.cts","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAOkB;AAAA,cAC3D,sCAAA,EAAwC,CAAA,CAAE,UAoBU;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-contact-credentials.d.cts","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsBtC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,43 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-contact-credentials.d.ts
4
- declare const SimpleroUpdateContactCredentialsInput: z.ZodTypeAny;
5
- declare const SimpleroUpdateContactCredentialsOutput: z.ZodTypeAny;
6
- declare const simpleroUpdateContactCredentials: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroUpdateContactCredentialsInput: z.ZodObject<{
5
+ id: z.ZodOptional<z.ZodNumber>;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ token: z.ZodOptional<z.ZodString>;
8
+ last_name: z.ZodOptional<z.ZodString>;
9
+ first_name: z.ZodOptional<z.ZodString>;
10
+ update_login_email: z.ZodOptional<z.ZodBoolean>;
11
+ }, z.core.$strip>;
12
+ declare const SimpleroUpdateContactCredentialsOutput: z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ track: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ referrer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ tag_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ first_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ affiliate_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ contact_since: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ do_not_contact: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ lifetime_value_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ lead_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ customer_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ }, z.core.$strip>;
33
+ declare const simpleroUpdateContactCredentials: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ id?: number | undefined;
35
+ email?: string | undefined;
36
+ token?: string | undefined;
37
+ last_name?: string | undefined;
38
+ first_name?: string | undefined;
39
+ update_login_email?: boolean | undefined;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
41
  //#endregion
8
42
  export { simpleroUpdateContactCredentials };
9
43
  //# sourceMappingURL=update-contact-credentials.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact-credentials.d.mts","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAOkB;AAAA,cAC3D,sCAAA,EAAwC,CAAA,CAAE,UAoBU;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-contact-credentials.d.mts","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsBtC,gCAAA,gCAAgC,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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,OAlCiE,EAAE,OAAO;EAC1E,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,iCAAiC,CAAC,CAAC,SAAS;EAC5E,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC7K,CAAC,CAAC,CAAC,SAAS,2DA2BH;CACP,QA3BkE,EAAE,OAAO;EAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SA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I,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}).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,iCAAiC,CAAC,CAAC,SAAS;EAC5E,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC7K,CAAC,CAAC,CAAC,SAAS,2DA2BH;CACP,QA3BoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,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,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"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const simpleroCatalog = {
7
7
  "category": "Marketing Automation",
8
8
  "logo": "https://logos.composio.dev/api/simplero",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Go to Settings > Integrations in your Simplero Dashboard and click \"+ Create new API Key\""
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.simpleroCatalog = simpleroCatalog;
@@ -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} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
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"}
@@ -8,6 +8,14 @@ declare const simpleroCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/simplero";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Go to Settings > Integrations in your Simplero Dashboard and click \"+ Create new API Key\"";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { simpleroCatalog };
@@ -8,6 +8,14 @@ declare const simpleroCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/simplero";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Go to Settings > Integrations in your Simplero Dashboard and click \"+ Create new API Key\"";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { simpleroCatalog };