@keystrokehq/simplero 0.1.4 → 0.1.6

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 (165) 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 +1 -0
  4. package/dist/actions/add-tag-to-contact.cjs.map +1 -1
  5. package/dist/actions/add-tag-to-contact.d.cts +3 -4
  6. package/dist/actions/add-tag-to-contact.d.cts.map +1 -1
  7. package/dist/actions/add-tag-to-contact.d.mts +3 -4
  8. package/dist/actions/add-tag-to-contact.d.mts.map +1 -1
  9. package/dist/actions/add-tag-to-contact.mjs +1 -0
  10. package/dist/actions/add-tag-to-contact.mjs.map +1 -1
  11. package/dist/actions/bulk-subscribe-to-list.cjs +1 -0
  12. package/dist/actions/bulk-subscribe-to-list.cjs.map +1 -1
  13. package/dist/actions/bulk-subscribe-to-list.d.cts +3 -19
  14. package/dist/actions/bulk-subscribe-to-list.d.cts.map +1 -1
  15. package/dist/actions/bulk-subscribe-to-list.d.mts +3 -19
  16. package/dist/actions/bulk-subscribe-to-list.d.mts.map +1 -1
  17. package/dist/actions/bulk-subscribe-to-list.mjs +1 -0
  18. package/dist/actions/bulk-subscribe-to-list.mjs.map +1 -1
  19. package/dist/actions/create-or-update-administrator.cjs +1 -0
  20. package/dist/actions/create-or-update-administrator.cjs.map +1 -1
  21. package/dist/actions/create-or-update-administrator.d.cts +3 -10
  22. package/dist/actions/create-or-update-administrator.d.cts.map +1 -1
  23. package/dist/actions/create-or-update-administrator.d.mts +3 -10
  24. package/dist/actions/create-or-update-administrator.d.mts.map +1 -1
  25. package/dist/actions/create-or-update-administrator.mjs +1 -0
  26. package/dist/actions/create-or-update-administrator.mjs.map +1 -1
  27. package/dist/actions/create-or-update-contact.cjs +1 -0
  28. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  29. package/dist/actions/create-or-update-contact.d.cts +3 -18
  30. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  31. package/dist/actions/create-or-update-contact.d.mts +3 -18
  32. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  33. package/dist/actions/create-or-update-contact.mjs +1 -0
  34. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  35. package/dist/actions/find-contact-by-email.cjs +1 -0
  36. package/dist/actions/find-contact-by-email.cjs.map +1 -1
  37. package/dist/actions/find-contact-by-email.d.cts +3 -3
  38. package/dist/actions/find-contact-by-email.d.cts.map +1 -1
  39. package/dist/actions/find-contact-by-email.d.mts +3 -3
  40. package/dist/actions/find-contact-by-email.d.mts.map +1 -1
  41. package/dist/actions/find-contact-by-email.mjs +1 -0
  42. package/dist/actions/find-contact-by-email.mjs.map +1 -1
  43. package/dist/actions/find-subscription-by-email.cjs +1 -0
  44. package/dist/actions/find-subscription-by-email.cjs.map +1 -1
  45. package/dist/actions/find-subscription-by-email.d.cts +3 -4
  46. package/dist/actions/find-subscription-by-email.d.cts.map +1 -1
  47. package/dist/actions/find-subscription-by-email.d.mts +3 -4
  48. package/dist/actions/find-subscription-by-email.d.mts.map +1 -1
  49. package/dist/actions/find-subscription-by-email.mjs +1 -0
  50. package/dist/actions/find-subscription-by-email.mjs.map +1 -1
  51. package/dist/actions/get-admin-roles.cjs +1 -0
  52. package/dist/actions/get-admin-roles.cjs.map +1 -1
  53. package/dist/actions/get-admin-roles.d.cts +3 -1
  54. package/dist/actions/get-admin-roles.d.cts.map +1 -1
  55. package/dist/actions/get-admin-roles.d.mts +3 -1
  56. package/dist/actions/get-admin-roles.d.mts.map +1 -1
  57. package/dist/actions/get-admin-roles.mjs +1 -0
  58. package/dist/actions/get-admin-roles.mjs.map +1 -1
  59. package/dist/actions/get-administrator-by-id.cjs +1 -0
  60. package/dist/actions/get-administrator-by-id.cjs.map +1 -1
  61. package/dist/actions/get-administrator-by-id.d.cts +3 -3
  62. package/dist/actions/get-administrator-by-id.d.cts.map +1 -1
  63. package/dist/actions/get-administrator-by-id.d.mts +3 -3
  64. package/dist/actions/get-administrator-by-id.d.mts.map +1 -1
  65. package/dist/actions/get-administrator-by-id.mjs +1 -0
  66. package/dist/actions/get-administrator-by-id.mjs.map +1 -1
  67. package/dist/actions/get-administrators.cjs +1 -0
  68. package/dist/actions/get-administrators.cjs.map +1 -1
  69. package/dist/actions/get-administrators.d.cts +3 -1
  70. package/dist/actions/get-administrators.d.cts.map +1 -1
  71. package/dist/actions/get-administrators.d.mts +3 -1
  72. package/dist/actions/get-administrators.d.mts.map +1 -1
  73. package/dist/actions/get-administrators.mjs +1 -0
  74. package/dist/actions/get-administrators.mjs.map +1 -1
  75. package/dist/actions/get-async-request-status.cjs +1 -0
  76. package/dist/actions/get-async-request-status.cjs.map +1 -1
  77. package/dist/actions/get-async-request-status.d.cts +3 -3
  78. package/dist/actions/get-async-request-status.d.cts.map +1 -1
  79. package/dist/actions/get-async-request-status.d.mts +3 -3
  80. package/dist/actions/get-async-request-status.d.mts.map +1 -1
  81. package/dist/actions/get-async-request-status.mjs +1 -0
  82. package/dist/actions/get-async-request-status.mjs.map +1 -1
  83. package/dist/actions/get-contact-by-id.cjs +1 -0
  84. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  85. package/dist/actions/get-contact-by-id.d.cts +3 -3
  86. package/dist/actions/get-contact-by-id.d.cts.map +1 -1
  87. package/dist/actions/get-contact-by-id.d.mts +3 -3
  88. package/dist/actions/get-contact-by-id.d.mts.map +1 -1
  89. package/dist/actions/get-contact-by-id.mjs +1 -0
  90. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  91. package/dist/actions/get-invoices.cjs +1 -0
  92. package/dist/actions/get-invoices.cjs.map +1 -1
  93. package/dist/actions/get-invoices.d.cts +3 -8
  94. package/dist/actions/get-invoices.d.cts.map +1 -1
  95. package/dist/actions/get-invoices.d.mts +3 -8
  96. package/dist/actions/get-invoices.d.mts.map +1 -1
  97. package/dist/actions/get-invoices.mjs +1 -0
  98. package/dist/actions/get-invoices.mjs.map +1 -1
  99. package/dist/actions/get-lists.cjs +1 -0
  100. package/dist/actions/get-lists.cjs.map +1 -1
  101. package/dist/actions/get-lists.d.cts +3 -1
  102. package/dist/actions/get-lists.d.cts.map +1 -1
  103. package/dist/actions/get-lists.d.mts +3 -1
  104. package/dist/actions/get-lists.d.mts.map +1 -1
  105. package/dist/actions/get-lists.mjs +1 -0
  106. package/dist/actions/get-lists.mjs.map +1 -1
  107. package/dist/actions/get-products.cjs +1 -0
  108. package/dist/actions/get-products.cjs.map +1 -1
  109. package/dist/actions/get-products.d.cts +3 -1
  110. package/dist/actions/get-products.d.cts.map +1 -1
  111. package/dist/actions/get-products.d.mts +3 -1
  112. package/dist/actions/get-products.d.mts.map +1 -1
  113. package/dist/actions/get-products.mjs +1 -0
  114. package/dist/actions/get-products.mjs.map +1 -1
  115. package/dist/actions/remove-administrator.cjs +1 -0
  116. package/dist/actions/remove-administrator.cjs.map +1 -1
  117. package/dist/actions/remove-administrator.d.cts +3 -3
  118. package/dist/actions/remove-administrator.d.cts.map +1 -1
  119. package/dist/actions/remove-administrator.d.mts +3 -3
  120. package/dist/actions/remove-administrator.d.mts.map +1 -1
  121. package/dist/actions/remove-administrator.mjs +1 -0
  122. package/dist/actions/remove-administrator.mjs.map +1 -1
  123. package/dist/actions/remove-tag-from-contact.cjs +1 -0
  124. package/dist/actions/remove-tag-from-contact.cjs.map +1 -1
  125. package/dist/actions/remove-tag-from-contact.d.cts +3 -4
  126. package/dist/actions/remove-tag-from-contact.d.cts.map +1 -1
  127. package/dist/actions/remove-tag-from-contact.d.mts +3 -4
  128. package/dist/actions/remove-tag-from-contact.d.mts.map +1 -1
  129. package/dist/actions/remove-tag-from-contact.mjs +1 -0
  130. package/dist/actions/remove-tag-from-contact.mjs.map +1 -1
  131. package/dist/actions/subscribe-to-list.cjs +1 -0
  132. package/dist/actions/subscribe-to-list.cjs.map +1 -1
  133. package/dist/actions/subscribe-to-list.d.cts +3 -16
  134. package/dist/actions/subscribe-to-list.d.cts.map +1 -1
  135. package/dist/actions/subscribe-to-list.d.mts +3 -16
  136. package/dist/actions/subscribe-to-list.d.mts.map +1 -1
  137. package/dist/actions/subscribe-to-list.mjs +1 -0
  138. package/dist/actions/subscribe-to-list.mjs.map +1 -1
  139. package/dist/actions/unsubscribe-from-list.cjs +1 -0
  140. package/dist/actions/unsubscribe-from-list.cjs.map +1 -1
  141. package/dist/actions/unsubscribe-from-list.d.cts +3 -4
  142. package/dist/actions/unsubscribe-from-list.d.cts.map +1 -1
  143. package/dist/actions/unsubscribe-from-list.d.mts +3 -4
  144. package/dist/actions/unsubscribe-from-list.d.mts.map +1 -1
  145. package/dist/actions/unsubscribe-from-list.mjs +1 -0
  146. package/dist/actions/unsubscribe-from-list.mjs.map +1 -1
  147. package/dist/actions/update-contact-credentials.cjs +1 -0
  148. package/dist/actions/update-contact-credentials.cjs.map +1 -1
  149. package/dist/actions/update-contact-credentials.d.cts +3 -8
  150. package/dist/actions/update-contact-credentials.d.cts.map +1 -1
  151. package/dist/actions/update-contact-credentials.d.mts +3 -8
  152. package/dist/actions/update-contact-credentials.d.mts.map +1 -1
  153. package/dist/actions/update-contact-credentials.mjs +1 -0
  154. package/dist/actions/update-contact-credentials.mjs.map +1 -1
  155. package/dist/app.cjs +5 -2
  156. package/dist/app.cjs.map +1 -1
  157. package/dist/app.d.cts +7 -1
  158. package/dist/app.d.cts.map +1 -1
  159. package/dist/app.d.mts +7 -1
  160. package/dist/app.d.mts.map +1 -1
  161. package/dist/app.mjs +3 -2
  162. package/dist/app.mjs.map +1 -1
  163. package/dist/index.d.cts +1 -1
  164. package/dist/index.d.mts +1 -1
  165. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"get-administrators.mjs","names":[],"sources":["../../src/actions/get-administrators.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetAdministratorsInput = z.object({}).describe(\"Request model for retrieving administratorships. No parameters are required.\");\nconst SimpleroGetAdministrators_AdminRoleSchema = z.object({\n name: z.string().describe(\"The name of the admin role.\").nullable().optional(),\n}).passthrough().describe(\"Admin role information.\");\nconst SimpleroGetAdministrators_AccessibleObjectIdsSchema = z.object({\n site: z.array(z.number().int()).describe(\"List of accessible site IDs.\").nullable().optional(),\n course: z.array(z.number().int()).describe(\"List of accessible course IDs.\").nullable().optional(),\n product: z.array(z.number().int()).describe(\"List of accessible product IDs.\").nullable().optional(),\n worksheet: z.array(z.number().int()).describe(\"List of accessible worksheet IDs.\").nullable().optional(),\n landing_page: z.array(z.number().int()).describe(\"List of accessible landing page IDs.\").nullable().optional(),\n affiliate_program: z.array(z.number().int()).describe(\"List of accessible affiliate program IDs.\").nullable().optional(),\n}).passthrough().describe(\"Permission scope for different object types.\");\nconst SimpleroGetAdministrators_AdministratorshipSchema = z.object({\n id: z.number().int().describe(\"Unique administratorship identifier.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the administratorship is active.\").nullable().optional(),\n user_id: z.number().int().describe(\"Associated user ID.\").nullable().optional(),\n account_id: z.number().int().describe(\"Associated account ID.\").nullable().optional(),\n admin_role: SimpleroGetAdministrators_AdminRoleSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO-8601 timestamp when the administratorship was created.\").nullable().optional(),\n num_logins: z.number().int().describe(\"Total number of logins.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO-8601 timestamp when the administratorship was last updated.\").nullable().optional(),\n admin_role_id: z.number().int().describe(\"Role identifier.\").nullable().optional(),\n invitation_id: z.number().int().describe(\"Invitation reference if applicable.\").nullable().optional(),\n last_login_at: z.string().describe(\"ISO-8601 timestamp of the most recent login.\").nullable().optional(),\n show_on_ticket: z.boolean().describe(\"Whether the admin is listed as a support team member.\").nullable().optional(),\n ticket_assignee: z.boolean().describe(\"Whether the admin can be assigned support tickets.\").nullable().optional(),\n ticket_sms_alerts: z.boolean().describe(\"Whether the admin receives SMS alerts for tickets.\").nullable().optional(),\n notifications_seen: z.array(z.unknown()).describe(\"Array tracking notification visibility.\").nullable().optional(),\n accessible_object_ids: SimpleroGetAdministrators_AccessibleObjectIdsSchema.nullable().optional(),\n second_to_last_login_at: z.string().describe(\"ISO-8601 timestamp of the second most recent login.\").nullable().optional(),\n can_self_grant_super_admin: z.boolean().describe(\"Whether the admin can elevate their own permissions.\").nullable().optional(),\n}).passthrough().describe(\"Administratorship object representing the relationship between a user and an account.\");\nexport const SimpleroGetAdministratorsOutput = z.object({\n administratorships: z.array(SimpleroGetAdministrators_AdministratorshipSchema).describe(\"List of administratorship objects.\"),\n}).passthrough().describe(\"Response model containing all administratorships for the account.\");\n\nexport const simpleroGetAdministrators = action(\"SIMPLERO_GET_ADMINISTRATORS\", {\n slug: \"simplero-get-administrators\",\n name: \"Get Administrators\",\n description: \"Tool to retrieve all administratorships for the account. Use when you need to get information about account administrators, their roles, and permissions.\",\n input: SimpleroGetAdministratorsInput,\n output: SimpleroGetAdministratorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAClJ,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC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":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroGetAdministratorsInput = z.object({}).describe(\"Request model for retrieving administratorships. No parameters are required.\");\nconst SimpleroGetAdministrators_AdminRoleSchema = z.object({\n name: z.string().describe(\"The name of the admin role.\").nullable().optional(),\n}).passthrough().describe(\"Admin role information.\");\nconst SimpleroGetAdministrators_AccessibleObjectIdsSchema = z.object({\n site: z.array(z.number().int()).describe(\"List of accessible site IDs.\").nullable().optional(),\n course: z.array(z.number().int()).describe(\"List of accessible course IDs.\").nullable().optional(),\n product: z.array(z.number().int()).describe(\"List of accessible product IDs.\").nullable().optional(),\n worksheet: z.array(z.number().int()).describe(\"List of accessible worksheet IDs.\").nullable().optional(),\n landing_page: z.array(z.number().int()).describe(\"List of accessible landing page IDs.\").nullable().optional(),\n affiliate_program: z.array(z.number().int()).describe(\"List of accessible affiliate program IDs.\").nullable().optional(),\n}).passthrough().describe(\"Permission scope for different object types.\");\nconst SimpleroGetAdministrators_AdministratorshipSchema = z.object({\n id: z.number().int().describe(\"Unique administratorship identifier.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the administratorship is active.\").nullable().optional(),\n user_id: z.number().int().describe(\"Associated user ID.\").nullable().optional(),\n account_id: z.number().int().describe(\"Associated account ID.\").nullable().optional(),\n admin_role: SimpleroGetAdministrators_AdminRoleSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO-8601 timestamp when the administratorship was created.\").nullable().optional(),\n num_logins: z.number().int().describe(\"Total number of logins.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO-8601 timestamp when the administratorship was last updated.\").nullable().optional(),\n admin_role_id: z.number().int().describe(\"Role identifier.\").nullable().optional(),\n invitation_id: z.number().int().describe(\"Invitation reference if applicable.\").nullable().optional(),\n last_login_at: z.string().describe(\"ISO-8601 timestamp of the most recent login.\").nullable().optional(),\n show_on_ticket: z.boolean().describe(\"Whether the admin is listed as a support team member.\").nullable().optional(),\n ticket_assignee: z.boolean().describe(\"Whether the admin can be assigned support tickets.\").nullable().optional(),\n ticket_sms_alerts: z.boolean().describe(\"Whether the admin receives SMS alerts for tickets.\").nullable().optional(),\n notifications_seen: z.array(z.unknown()).describe(\"Array tracking notification visibility.\").nullable().optional(),\n accessible_object_ids: SimpleroGetAdministrators_AccessibleObjectIdsSchema.nullable().optional(),\n second_to_last_login_at: z.string().describe(\"ISO-8601 timestamp of the second most recent login.\").nullable().optional(),\n can_self_grant_super_admin: z.boolean().describe(\"Whether the admin can elevate their own permissions.\").nullable().optional(),\n}).passthrough().describe(\"Administratorship object representing the relationship between a user and an account.\");\nexport const SimpleroGetAdministratorsOutput = z.object({\n administratorships: z.array(SimpleroGetAdministrators_AdministratorshipSchema).describe(\"List of administratorship objects.\"),\n}).passthrough().describe(\"Response model containing all administratorships for the account.\");\n\nexport const simpleroGetAdministrators: AppAction<\n typeof SimpleroGetAdministratorsInput,\n typeof SimpleroGetAdministratorsOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_GET_ADMINISTRATORS\", {\n slug: \"simplero-get-administrators\",\n name: \"Get Administrators\",\n description: \"Tool to retrieve all administratorships for the account. Use when you need to get information about account administrators, their roles, and permissions.\",\n input: SimpleroGetAdministratorsInput,\n output: SimpleroGetAdministratorsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAClJ,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS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CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,oBAAoB,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,oCAAoC,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-async-request-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-async-request-status.cjs","names":["z","action"],"sources":["../../src/actions/get-async-request-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetAsyncRequestStatusInput = z.object({\n token: z.string().describe(\"Request identifier received from the initial asynchronous request. This token is used to identify which async request status to retrieve.\"),\n}).describe(\"Request model for checking the status of an asynchronous API request.\");\nexport const SimpleroGetAsyncRequestStatusOutput = z.object({\n token: z.string().describe(\"Request identifier\").nullable(),\n action: z.string().describe(\"Type of async operation being performed (e.g., 'bulk_subscribe')\").nullable(),\n result: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'pending' (not started), 'running' (being processed), 'success' (completed successfully), 'failure' (failed)\").nullable(),\n enqueued_at: z.string().describe(\"ISO-8601 timestamp when the request was queued\").nullable().optional(),\n completed_at: z.string().describe(\"ISO-8601 timestamp when processing finished\").nullable().optional(),\n processing_started_at: z.string().describe(\"ISO-8601 timestamp when processing began\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the status and details of an asynchronous request.\");\n\nexport const simpleroGetAsyncRequestStatus = action(\"SIMPLERO_GET_ASYNC_REQUEST_STATUS\", {\n slug: \"simplero-get-async-request-status\",\n name: \"Get Async Request Status\",\n description: \"Tool to check the status of an asynchronous API request. Use when you need to monitor the progress of a previously initiated async operation using its token.\",\n input: SimpleroGetAsyncRequestStatusInput,\n output: Simp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/get-async-request-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroGetAsyncRequestStatusInput = z.object({\n token: z.string().describe(\"Request identifier received from the initial asynchronous request. This token is used to identify which async request status to retrieve.\"),\n}).describe(\"Request model for checking the status of an asynchronous API request.\");\nexport const SimpleroGetAsyncRequestStatusOutput = z.object({\n token: z.string().describe(\"Request identifier\").nullable(),\n action: z.string().describe(\"Type of async operation being performed (e.g., 'bulk_subscribe')\").nullable(),\n result: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'pending' (not started), 'running' (being processed), 'success' (completed successfully), 'failure' (failed)\").nullable(),\n enqueued_at: z.string().describe(\"ISO-8601 timestamp when the request was queued\").nullable().optional(),\n completed_at: z.string().describe(\"ISO-8601 timestamp when processing finished\").nullable().optional(),\n processing_started_at: z.string().describe(\"ISO-8601 timestamp when processing began\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the status and details of an asynchronous request.\");\n\nexport const simpleroGetAsyncRequestStatus: AppAction<\n typeof SimpleroGetAsyncRequestStatusInput,\n typeof SimpleroGetAsyncRequestStatusOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_GET_ASYNC_REQUEST_STATUS\", {\n slug: \"simplero-get-async-request-status\",\n name: \"Get Async Request Status\",\n description: \"Tool to check the status of an asynchronous API request. Use when you need to monitor the progress of a previously initiated async operation using its token.\",\n input: SimpleroGetAsyncRequestStatusInput,\n output: SimpleroGetAsyncRequestStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EACxK,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACrM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-async-request-status.d.ts
@@ -13,9 +15,7 @@ declare const SimpleroGetAsyncRequestStatusOutput: z.ZodObject<{
13
15
  completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  processing_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const simpleroGetAsyncRequestStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- token: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const simpleroGetAsyncRequestStatus: AppAction<typeof SimpleroGetAsyncRequestStatusInput, typeof SimpleroGetAsyncRequestStatusOutput, typeof simplero.credential>;
19
19
  //#endregion
20
20
  export { simpleroGetAsyncRequestStatus };
21
21
  //# sourceMappingURL=get-async-request-status.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-async-request-status.d.cts","names":[],"sources":["../../src/actions/get-async-request-status.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAUnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"get-async-request-status.d.cts","names":[],"sources":["../../src/actions/get-async-request-status.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAUnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-async-request-status.d.ts
@@ -13,9 +15,7 @@ declare const SimpleroGetAsyncRequestStatusOutput: z.ZodObject<{
13
15
  completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  processing_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  }, z.core.$loose>;
16
- declare const simpleroGetAsyncRequestStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- token: string;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const simpleroGetAsyncRequestStatus: AppAction<typeof SimpleroGetAsyncRequestStatusInput, typeof SimpleroGetAsyncRequestStatusOutput, typeof simplero.credential>;
19
19
  //#endregion
20
20
  export { simpleroGetAsyncRequestStatus };
21
21
  //# sourceMappingURL=get-async-request-status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-async-request-status.d.mts","names":[],"sources":["../../src/actions/get-async-request-status.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAUnC,6BAAA,gCAA6B,wBAAA"}
1
+ {"version":3,"file":"get-async-request-status.d.mts","names":[],"sources":["../../src/actions/get-async-request-status.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAGlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;cAUnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simpleroGetAsyncRequestStatus = action("SIMPLERO_GET_ASYNC_REQUEST_STATUS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-async-request-status.mjs","names":[],"sources":["../../src/actions/get-async-request-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetAsyncRequestStatusInput = z.object({\n token: z.string().describe(\"Request identifier received from the initial asynchronous request. This token is used to identify which async request status to retrieve.\"),\n}).describe(\"Request model for checking the status of an asynchronous API request.\");\nexport const SimpleroGetAsyncRequestStatusOutput = z.object({\n token: z.string().describe(\"Request identifier\").nullable(),\n action: z.string().describe(\"Type of async operation being performed (e.g., 'bulk_subscribe')\").nullable(),\n result: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'pending' (not started), 'running' (being processed), 'success' (completed successfully), 'failure' (failed)\").nullable(),\n enqueued_at: z.string().describe(\"ISO-8601 timestamp when the request was queued\").nullable().optional(),\n completed_at: z.string().describe(\"ISO-8601 timestamp when processing finished\").nullable().optional(),\n processing_started_at: z.string().describe(\"ISO-8601 timestamp when processing began\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the status and details of an asynchronous request.\");\n\nexport const simpleroGetAsyncRequestStatus = action(\"SIMPLERO_GET_ASYNC_REQUEST_STATUS\", {\n slug: \"simplero-get-async-request-status\",\n name: \"Get Async Request Status\",\n description: \"Tool to check the status of an asynchronous API request. Use when you need to monitor the progress of a previously initiated async operation using its token.\",\n input: SimpleroGetAsyncRequestStatusInput,\n output: SimpleroGetAsyncRequestStatusOutput,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO,EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EACxK,CAAC,CAAC,CAAC,SAAS,uEAeH;CACP,QAfiD,EAAE,OAAO;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;EACrM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-async-request-status.mjs","names":[],"sources":["../../src/actions/get-async-request-status.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroGetAsyncRequestStatusInput = z.object({\n token: z.string().describe(\"Request identifier received from the initial asynchronous request. This token is used to identify which async request status to retrieve.\"),\n}).describe(\"Request model for checking the status of an asynchronous API request.\");\nexport const SimpleroGetAsyncRequestStatusOutput = z.object({\n token: z.string().describe(\"Request identifier\").nullable(),\n action: z.string().describe(\"Type of async operation being performed (e.g., 'bulk_subscribe')\").nullable(),\n result: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'pending' (not started), 'running' (being processed), 'success' (completed successfully), 'failure' (failed)\").nullable(),\n enqueued_at: z.string().describe(\"ISO-8601 timestamp when the request was queued\").nullable().optional(),\n completed_at: z.string().describe(\"ISO-8601 timestamp when processing finished\").nullable().optional(),\n processing_started_at: z.string().describe(\"ISO-8601 timestamp when processing began\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the status and details of an asynchronous request.\");\n\nexport const simpleroGetAsyncRequestStatus: AppAction<\n typeof SimpleroGetAsyncRequestStatusInput,\n typeof SimpleroGetAsyncRequestStatusOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_GET_ASYNC_REQUEST_STATUS\", {\n slug: \"simplero-get-async-request-status\",\n name: \"Get Async Request Status\",\n description: \"Tool to check the status of an asynchronous API request. Use when you need to monitor the progress of a previously initiated async operation using its token.\",\n input: SimpleroGetAsyncRequestStatusInput,\n output: SimpleroGetAsyncRequestStatusOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBgD,EAAE,OAAO,EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EACxK,CAAC,CAAC,CAAC,SAAS,uEAmBH;CACP,QAnBiD,EAAE,OAAO;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;EACrM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-contact-by-id.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetContactByIdInput = z.object({\n id: z.number().int().describe(\"The internal ID of the contact to retrieve. This ID is obtained from previous API calls.\"),\n}).describe(\"Request model for retrieving a contact by internal ID.\");\nexport const SimpleroGetContactByIdOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n phone: z.string().describe(\"Sanitized phone number with country code\").nullable().optional(),\n referrer: z.string().describe(\"Referring 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(),\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(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n contact_since: z.string().describe(\"Human-readable contact duration\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Flag indicating do not contact preference\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact details.\");\n\nexport const simpleroGetContactById = action(\"SIMPLERO_GET_CONTACT_BY_ID\", {\n slug: \"simplero-get-contact-by-id\",\n name: \"Get Contact By ID\",\n description: \"Tool to retrieve a JSON representation of a contact by internal ID. Use when you need to fetch detailed information about a specific contact. Returns 404 if no contact exists with the provided ID.\",\n input: SimpleroGetContactByIdInput,\n output: SimpleroGetContactByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,EA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,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroGetContactByIdInput = z.object({\n id: z.number().int().describe(\"The internal ID of the contact to retrieve. This ID is obtained from previous API calls.\"),\n}).describe(\"Request model for retrieving a contact by internal ID.\");\nexport const SimpleroGetContactByIdOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n phone: z.string().describe(\"Sanitized phone number with country code\").nullable().optional(),\n referrer: z.string().describe(\"Referring 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(),\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(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n contact_since: z.string().describe(\"Human-readable contact duration\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Flag indicating do not contact preference\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact details.\");\n\nexport const simpleroGetContactById: AppAction<\n typeof SimpleroGetContactByIdInput,\n typeof SimpleroGetContactByIdOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_GET_CONTACT_BY_ID\", {\n slug: \"simplero-get-contact-by-id\",\n name: \"Get Contact By ID\",\n description: \"Tool to retrieve a JSON representation of a contact by internal ID. Use when you need to fetch detailed information about a specific contact. Returns 404 if no contact exists with the provided ID.\",\n input: SimpleroGetContactByIdInput,\n output: SimpleroGetContactByIdOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,EAC1H,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,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;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,yBAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-contact-by-id.d.ts
@@ -19,9 +21,7 @@ declare const SimpleroGetContactByIdOutput: z.ZodObject<{
19
21
  contact_since: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  do_not_contact: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
23
  }, z.core.$loose>;
22
- declare const simpleroGetContactById: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- id: number;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const simpleroGetContactById: AppAction<typeof SimpleroGetContactByIdInput, typeof SimpleroGetContactByIdOutput, typeof simplero.credential>;
25
25
  //#endregion
26
26
  export { simpleroGetContactById };
27
27
  //# sourceMappingURL=get-contact-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-by-id.d.cts","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-contact-by-id.d.cts","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-contact-by-id.d.ts
@@ -19,9 +21,7 @@ declare const SimpleroGetContactByIdOutput: z.ZodObject<{
19
21
  contact_since: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  do_not_contact: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
23
  }, z.core.$loose>;
22
- declare const simpleroGetContactById: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- id: number;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const simpleroGetContactById: AppAction<typeof SimpleroGetContactByIdInput, typeof SimpleroGetContactByIdOutput, typeof simplero.credential>;
25
25
  //#endregion
26
26
  export { simpleroGetContactById };
27
27
  //# sourceMappingURL=get-contact-by-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-by-id.d.mts","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"get-contact-by-id.d.mts","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const simpleroGetContactById = action("SIMPLERO_GET_CONTACT_BY_ID", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-contact-by-id.mjs","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetContactByIdInput = z.object({\n id: z.number().int().describe(\"The internal ID of the contact to retrieve. This ID is obtained from previous API calls.\"),\n}).describe(\"Request model for retrieving a contact by internal ID.\");\nexport const SimpleroGetContactByIdOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n phone: z.string().describe(\"Sanitized phone number with country code\").nullable().optional(),\n referrer: z.string().describe(\"Referring 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(),\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(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n contact_since: z.string().describe(\"Human-readable contact duration\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Flag indicating do not contact preference\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact details.\");\n\nexport const simpleroGetContactById = action(\"SIMPLERO_GET_CONTACT_BY_ID\", {\n slug: \"simplero-get-contact-by-id\",\n name: \"Get Contact By ID\",\n description: \"Tool to retrieve a JSON representation of a contact by internal ID. Use when you need to fetch detailed information about a specific contact. Returns 404 if no contact exists with the provided ID.\",\n input: SimpleroGetContactByIdInput,\n output: SimpleroGetContactByIdOutput,\n});\n"],"mappings":";;AAuBA,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvByC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,EAC1H,CAAC,CAAC,CAAC,SAAS,wDAqBH;CACP,QArB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-contact-by-id.mjs","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroGetContactByIdInput = z.object({\n id: z.number().int().describe(\"The internal ID of the contact to retrieve. This ID is obtained from previous API calls.\"),\n}).describe(\"Request model for retrieving a contact by internal ID.\");\nexport const SimpleroGetContactByIdOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n phone: z.string().describe(\"Sanitized phone number with country code\").nullable().optional(),\n referrer: z.string().describe(\"Referring 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(),\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(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n contact_since: z.string().describe(\"Human-readable contact duration\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Flag indicating do not contact preference\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact details.\");\n\nexport const simpleroGetContactById: AppAction<\n typeof SimpleroGetContactByIdInput,\n typeof SimpleroGetContactByIdOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_GET_CONTACT_BY_ID\", {\n slug: \"simplero-get-contact-by-id\",\n name: \"Get Contact By ID\",\n description: \"Tool to retrieve a JSON representation of a contact by internal ID. Use when you need to fetch detailed information about a specific contact. Returns 404 if no contact exists with the provided ID.\",\n input: SimpleroGetContactByIdInput,\n output: SimpleroGetContactByIdOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,yBAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3ByC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,EAC1H,CAAC,CAAC,CAAC,SAAS,wDAyBH;CACP,QAzB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-invoices.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-invoices.cjs","names":["z","action"],"sources":["../../src/actions/get-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetInvoicesInput = z.object({\n dir: z.string().describe(\"Sort direction for results. Use 'asc' for ascending or 'desc' for descending (case-insensitive). Defaults to 'asc' if not specified.\").optional(),\n page: z.number().int().describe(\"Page number for pagination. Returns 20 invoices per page. Defaults to 1 if not specified.\").optional(),\n created_at_to: z.string().describe(\"Return invoices created before this time. Must be an ISO-8601 datetime string (e.g., '2024-12-31T23:59:59Z').\").optional(),\n created_at_from: z.string().describe(\"Return invoices created at or after this time. Must be an ISO-8601 datetime string (e.g., '2024-01-01T00:00:00Z').\").optional(),\n invoice_number_to: z.string().describe(\"Return invoices with an invoice number alphabetically less than this value.\").optional(),\n invoice_number_from: z.string().describe(\"Return invoices with an invoice number alphabetically equal to or greater than this value.\").optional(),\n}).describe(\"Request model for retrieving invoices with optional filtering.\");\nconst SimpleroGetInvoices_InvoiceSchema = z.object({\n id: z.number().int().describe(\"Invoice identifier\").nullable().optional(),\n status: z.string().describe(\"Invoice status\").nullable().optional(),\n paid_at: z.string().describe(\"ISO 8601 timestamp when invoice was paid\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of invoice creation\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n customer_id: z.number().int().describe(\"Associated customer ID\").nullable().optional(),\n amount_cents: z.number().int().describe(\"Invoice amount in cents\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number\").nullable().optional(),\n}).passthrough().describe(\"Model representing an invoice object.\");\nexport const SimpleroGetInvoicesOutput = z.object({\n invoices: z.array(SimpleroGetInvoices_InvoiceSchema).describe(\"List of invoice objects. Each invoice contains invoice details. Returns up to 20 invoices per page ordered by invoice number.\"),\n}).passthrough().describe(\"Response model containing a list of invoices.\");\n\nexport const simpleroGetInvoices = action(\"SIMPLERO_GET_INVOICES\", {\n slug: \"simplero-get-invoices\",\n name: \"Get Invoices\",\n description: \"Tool to get invoice information with optional filtering by date and invoice number. Use when you need to retrieve invoices from Simplero. Returns 20 invoices per page ordered by invoice number.\",\n input: SimpleroGetInvoicesInput,\n output: SimpleroGetInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC1K,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACtI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC7J,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACpK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EA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iC,CAAC,CAAC,SAAS,+HAA+H,EAC/L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-invoices.cjs","names":["z","action"],"sources":["../../src/actions/get-invoices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroGetInvoicesInput = z.object({\n dir: z.string().describe(\"Sort direction for results. Use 'asc' for ascending or 'desc' for descending (case-insensitive). Defaults to 'asc' if not specified.\").optional(),\n page: z.number().int().describe(\"Page number for pagination. Returns 20 invoices per page. Defaults to 1 if not specified.\").optional(),\n created_at_to: z.string().describe(\"Return invoices created before this time. Must be an ISO-8601 datetime string (e.g., '2024-12-31T23:59:59Z').\").optional(),\n created_at_from: z.string().describe(\"Return invoices created at or after this time. Must be an ISO-8601 datetime string (e.g., '2024-01-01T00:00:00Z').\").optional(),\n invoice_number_to: z.string().describe(\"Return invoices with an invoice number alphabetically less than this value.\").optional(),\n invoice_number_from: z.string().describe(\"Return invoices with an invoice number alphabetically equal to or greater than this value.\").optional(),\n}).describe(\"Request model for retrieving invoices with optional filtering.\");\nconst SimpleroGetInvoices_InvoiceSchema = z.object({\n id: z.number().int().describe(\"Invoice identifier\").nullable().optional(),\n status: z.string().describe(\"Invoice status\").nullable().optional(),\n paid_at: z.string().describe(\"ISO 8601 timestamp when invoice was paid\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of invoice creation\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n customer_id: z.number().int().describe(\"Associated customer ID\").nullable().optional(),\n amount_cents: z.number().int().describe(\"Invoice amount in cents\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number\").nullable().optional(),\n}).passthrough().describe(\"Model representing an invoice object.\");\nexport const SimpleroGetInvoicesOutput = z.object({\n invoices: z.array(SimpleroGetInvoices_InvoiceSchema).describe(\"List of invoice objects. Each invoice contains invoice details. Returns up to 20 invoices per page ordered by invoice number.\"),\n}).passthrough().describe(\"Response model containing a list of invoices.\");\n\nexport const simpleroGetInvoices: AppAction<\n typeof SimpleroGetInvoicesInput,\n typeof SimpleroGetInvoicesOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_GET_INVOICES\", {\n slug: \"simplero-get-invoices\",\n name: \"Get Invoices\",\n description: \"Tool to get invoice information with optional filtering by date and invoice number. Use when you need to retrieve invoices from Simplero. Returns 20 invoices per page ordered by invoice number.\",\n input: SimpleroGetInvoicesInput,\n output: SimpleroGetInvoicesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC1K,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACtI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC7J,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACpK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/H,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CA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
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-invoices.d.ts
@@ -22,14 +24,7 @@ declare const SimpleroGetInvoicesOutput: z.ZodObject<{
22
24
  invoice_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const simpleroGetInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- dir?: string | undefined;
27
- page?: number | undefined;
28
- created_at_to?: string | undefined;
29
- created_at_from?: string | undefined;
30
- invoice_number_to?: string | undefined;
31
- invoice_number_from?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const simpleroGetInvoices: AppAction<typeof SimpleroGetInvoicesInput, typeof SimpleroGetInvoicesOutput, typeof simplero.credential>;
33
28
  //#endregion
34
29
  export { simpleroGetInvoices };
35
30
  //# sourceMappingURL=get-invoices.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-invoices.d.cts","names":[],"sources":["../../src/actions/get-invoices.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAmBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-invoices.d.cts","names":[],"sources":["../../src/actions/get-invoices.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAmBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-invoices.d.ts
@@ -22,14 +24,7 @@ declare const SimpleroGetInvoicesOutput: z.ZodObject<{
22
24
  invoice_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>>;
24
26
  }, z.core.$loose>;
25
- declare const simpleroGetInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- dir?: string | undefined;
27
- page?: number | undefined;
28
- created_at_to?: string | undefined;
29
- created_at_from?: string | undefined;
30
- invoice_number_to?: string | undefined;
31
- invoice_number_from?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ declare const simpleroGetInvoices: AppAction<typeof SimpleroGetInvoicesInput, typeof SimpleroGetInvoicesOutput, typeof simplero.credential>;
33
28
  //#endregion
34
29
  export { simpleroGetInvoices };
35
30
  //# sourceMappingURL=get-invoices.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-invoices.d.mts","names":[],"sources":["../../src/actions/get-invoices.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAmBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-invoices.d.mts","names":[],"sources":["../../src/actions/get-invoices.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAmBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-invoices.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-invoices.mjs","names":[],"sources":["../../src/actions/get-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetInvoicesInput = z.object({\n dir: z.string().describe(\"Sort direction for results. Use 'asc' for ascending or 'desc' for descending (case-insensitive). Defaults to 'asc' if not specified.\").optional(),\n page: z.number().int().describe(\"Page number for pagination. Returns 20 invoices per page. Defaults to 1 if not specified.\").optional(),\n created_at_to: z.string().describe(\"Return invoices created before this time. Must be an ISO-8601 datetime string (e.g., '2024-12-31T23:59:59Z').\").optional(),\n created_at_from: z.string().describe(\"Return invoices created at or after this time. Must be an ISO-8601 datetime string (e.g., '2024-01-01T00:00:00Z').\").optional(),\n invoice_number_to: z.string().describe(\"Return invoices with an invoice number alphabetically less than this value.\").optional(),\n invoice_number_from: z.string().describe(\"Return invoices with an invoice number alphabetically equal to or greater than this value.\").optional(),\n}).describe(\"Request model for retrieving invoices with optional filtering.\");\nconst SimpleroGetInvoices_InvoiceSchema = z.object({\n id: z.number().int().describe(\"Invoice identifier\").nullable().optional(),\n status: z.string().describe(\"Invoice status\").nullable().optional(),\n paid_at: z.string().describe(\"ISO 8601 timestamp when invoice was paid\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of invoice creation\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n customer_id: z.number().int().describe(\"Associated customer ID\").nullable().optional(),\n amount_cents: z.number().int().describe(\"Invoice amount in cents\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number\").nullable().optional(),\n}).passthrough().describe(\"Model representing an invoice object.\");\nexport const SimpleroGetInvoicesOutput = z.object({\n invoices: z.array(SimpleroGetInvoices_InvoiceSchema).describe(\"List of invoice objects. Each invoice contains invoice details. Returns up to 20 invoices per page ordered by invoice number.\"),\n}).passthrough().describe(\"Response model containing a list of invoices.\");\n\nexport const simpleroGetInvoices = action(\"SIMPLERO_GET_INVOICES\", {\n slug: \"simplero-get-invoices\",\n name: \"Get Invoices\",\n description: \"Tool to get invoice information with optional filtering by date and invoice number. Use when you need to retrieve invoices from Simplero. Returns 20 invoices per page ordered by invoice number.\",\n input: SimpleroGetInvoicesInput,\n output: SimpleroGetInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC1K,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACtI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC7J,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACpK,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC/H,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AAClJ,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,+HAA+H,EAC/L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-invoices.mjs","names":[],"sources":["../../src/actions/get-invoices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroGetInvoicesInput = z.object({\n dir: z.string().describe(\"Sort direction for results. Use 'asc' for ascending or 'desc' for descending (case-insensitive). Defaults to 'asc' if not specified.\").optional(),\n page: z.number().int().describe(\"Page number for pagination. Returns 20 invoices per page. Defaults to 1 if not specified.\").optional(),\n created_at_to: z.string().describe(\"Return invoices created before this time. Must be an ISO-8601 datetime string (e.g., '2024-12-31T23:59:59Z').\").optional(),\n created_at_from: z.string().describe(\"Return invoices created at or after this time. Must be an ISO-8601 datetime string (e.g., '2024-01-01T00:00:00Z').\").optional(),\n invoice_number_to: z.string().describe(\"Return invoices with an invoice number alphabetically less than this value.\").optional(),\n invoice_number_from: z.string().describe(\"Return invoices with an invoice number alphabetically equal to or greater than this value.\").optional(),\n}).describe(\"Request model for retrieving invoices with optional filtering.\");\nconst SimpleroGetInvoices_InvoiceSchema = z.object({\n id: z.number().int().describe(\"Invoice identifier\").nullable().optional(),\n status: z.string().describe(\"Invoice status\").nullable().optional(),\n paid_at: z.string().describe(\"ISO 8601 timestamp when invoice was paid\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of invoice creation\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n customer_id: z.number().int().describe(\"Associated customer ID\").nullable().optional(),\n amount_cents: z.number().int().describe(\"Invoice amount in cents\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number\").nullable().optional(),\n}).passthrough().describe(\"Model representing an invoice object.\");\nexport const SimpleroGetInvoicesOutput = z.object({\n invoices: z.array(SimpleroGetInvoices_InvoiceSchema).describe(\"List of invoice objects. Each invoice contains invoice details. Returns up to 20 invoices per page ordered by invoice number.\"),\n}).passthrough().describe(\"Response model containing a list of invoices.\");\n\nexport const simpleroGetInvoices: AppAction<\n typeof SimpleroGetInvoicesInput,\n typeof SimpleroGetInvoicesOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_GET_INVOICES\", {\n slug: \"simplero-get-invoices\",\n name: \"Get Invoices\",\n description: \"Tool to get invoice information with optional filtering by date and invoice number. Use when you need to retrieve invoices from Simplero. Returns 20 invoices per page ordered by invoice number.\",\n input: SimpleroGetInvoicesInput,\n output: SimpleroGetInvoicesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC1K,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACtI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC7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AAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,+HAA+H,EAC/L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-lists.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetListsInput = z.object({}).describe(\"Request model for getting all lists. No parameters required.\");\nconst SimpleroGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the list\").nullable().optional(),\n name: z.string().describe(\"Public name of the list\").nullable().optional(),\n reply_to: z.string().describe(\"Reply-to email address\").nullable().optional(),\n return_to: z.string().describe(\"Redirect URL after subscription\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n sender_name: z.string().describe(\"Display name for the sender\").nullable().optional(),\n sender_email: z.string().describe(\"Email address used for sending messages\").nullable().optional(),\n internal_name: z.string().describe(\"Internal reference name for the list\").nullable().optional(),\n email_field_name: z.string().describe(\"Internal field identifier\").nullable().optional(),\n unsubscribed_url: z.string().describe(\"Unsubscribe page URL\").nullable().optional(),\n confirm_pending_url: z.string().describe(\"Confirmation page URL\").nullable().optional(),\n require_confirmation: z.boolean().describe(\"Whether double opt-in is enabled\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single mailing list.\");\nexport const SimpleroGetListsOutput = z.object({\n lists: z.array(SimpleroGetLists_ListItemSchema).describe(\"Array of list objects with metadata for managing subscriptions\").nullable().optional(),\n}).passthrough().describe(\"Response model containing all mailing lists.\");\n\nexport const simpleroGetLists = action(\"SIMPLERO_GET_LISTS\", {\n slug: \"simplero-get-lists\",\n name: \"Get All Lists\",\n description: \"Tool to retrieve all mailing lists configured in the account. Use when you need to view all available lists for managing subscriptions and email campaigns.\",\n input: SimpleroGetListsInput,\n output: SimpleroGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,OAAOA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroGetListsInput = z.object({}).describe(\"Request model for getting all lists. No parameters required.\");\nconst SimpleroGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the list\").nullable().optional(),\n name: z.string().describe(\"Public name of the list\").nullable().optional(),\n reply_to: z.string().describe(\"Reply-to email address\").nullable().optional(),\n return_to: z.string().describe(\"Redirect URL after subscription\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n sender_name: z.string().describe(\"Display name for the sender\").nullable().optional(),\n sender_email: z.string().describe(\"Email address used for sending messages\").nullable().optional(),\n internal_name: z.string().describe(\"Internal reference name for the list\").nullable().optional(),\n email_field_name: z.string().describe(\"Internal field identifier\").nullable().optional(),\n unsubscribed_url: z.string().describe(\"Unsubscribe page URL\").nullable().optional(),\n confirm_pending_url: z.string().describe(\"Confirmation page URL\").nullable().optional(),\n require_confirmation: z.boolean().describe(\"Whether double opt-in is enabled\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single mailing list.\");\nexport const SimpleroGetListsOutput = z.object({\n lists: z.array(SimpleroGetLists_ListItemSchema).describe(\"Array of list objects with metadata for managing subscriptions\").nullable().optional(),\n}).passthrough().describe(\"Response model containing all mailing lists.\");\n\nexport const simpleroGetLists: AppAction<\n typeof SimpleroGetListsInput,\n typeof SimpleroGetListsOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_GET_LISTS\", {\n slug: \"simplero-get-lists\",\n name: \"Get All Lists\",\n description: \"Tool to retrieve all mailing lists configured in the account. Use when you need to view all available lists for managing subscriptions and email campaigns.\",\n input: SimpleroGetListsInput,\n output: SimpleroGetListsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,OAAOA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-lists.d.ts
@@ -18,7 +20,7 @@ declare const SimpleroGetListsOutput: z.ZodObject<{
18
20
  require_confirmation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
21
  }, z.core.$loose>>>>;
20
22
  }, z.core.$loose>;
21
- declare const simpleroGetLists: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const simpleroGetLists: AppAction<typeof SimpleroGetListsInput, typeof SimpleroGetListsOutput, typeof simplero.credential>;
22
24
  //#endregion
23
25
  export { simpleroGetLists };
24
26
  //# sourceMappingURL=get-lists.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-lists.d.cts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAerB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-lists.d.cts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAerB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-lists.d.ts
@@ -18,7 +20,7 @@ declare const SimpleroGetListsOutput: z.ZodObject<{
18
20
  require_confirmation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
21
  }, z.core.$loose>>>>;
20
22
  }, z.core.$loose>;
21
- declare const simpleroGetLists: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const simpleroGetLists: AppAction<typeof SimpleroGetListsInput, typeof SimpleroGetListsOutput, typeof simplero.credential>;
22
24
  //#endregion
23
25
  export { simpleroGetLists };
24
26
  //# sourceMappingURL=get-lists.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-lists.d.mts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAerB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-lists.d.mts","names":[],"sources":["../../src/actions/get-lists.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAerB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-lists.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetListsInput = z.object({}).describe(\"Request model for getting all lists. No parameters required.\");\nconst SimpleroGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the list\").nullable().optional(),\n name: z.string().describe(\"Public name of the list\").nullable().optional(),\n reply_to: z.string().describe(\"Reply-to email address\").nullable().optional(),\n return_to: z.string().describe(\"Redirect URL after subscription\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n sender_name: z.string().describe(\"Display name for the sender\").nullable().optional(),\n sender_email: z.string().describe(\"Email address used for sending messages\").nullable().optional(),\n internal_name: z.string().describe(\"Internal reference name for the list\").nullable().optional(),\n email_field_name: z.string().describe(\"Internal field identifier\").nullable().optional(),\n unsubscribed_url: z.string().describe(\"Unsubscribe page URL\").nullable().optional(),\n confirm_pending_url: z.string().describe(\"Confirmation page URL\").nullable().optional(),\n require_confirmation: z.boolean().describe(\"Whether double opt-in is enabled\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single mailing list.\");\nexport const SimpleroGetListsOutput = z.object({\n lists: z.array(SimpleroGetLists_ListItemSchema).describe(\"Array of list objects with metadata for managing subscriptions\").nullable().optional(),\n}).passthrough().describe(\"Response model containing all mailing lists.\");\n\nexport const simpleroGetLists = action(\"SIMPLERO_GET_LISTS\", {\n slug: \"simplero-get-lists\",\n name: \"Get All Lists\",\n description: \"Tool to retrieve all mailing lists configured in the account. Use when you need to view all available lists for managing subscriptions and email campaigns.\",\n input: SimpleroGetListsInput,\n output: SimpleroGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,OAAO,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroGetListsInput = z.object({}).describe(\"Request model for getting all lists. No parameters required.\");\nconst SimpleroGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the list\").nullable().optional(),\n name: z.string().describe(\"Public name of the list\").nullable().optional(),\n reply_to: z.string().describe(\"Reply-to email address\").nullable().optional(),\n return_to: z.string().describe(\"Redirect URL after subscription\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n sender_name: z.string().describe(\"Display name for the sender\").nullable().optional(),\n sender_email: z.string().describe(\"Email address used for sending messages\").nullable().optional(),\n internal_name: z.string().describe(\"Internal reference name for the list\").nullable().optional(),\n email_field_name: z.string().describe(\"Internal field identifier\").nullable().optional(),\n unsubscribed_url: z.string().describe(\"Unsubscribe page URL\").nullable().optional(),\n confirm_pending_url: z.string().describe(\"Confirmation page URL\").nullable().optional(),\n require_confirmation: z.boolean().describe(\"Whether double opt-in is enabled\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single mailing list.\");\nexport const SimpleroGetListsOutput = z.object({\n lists: z.array(SimpleroGetLists_ListItemSchema).describe(\"Array of list objects with metadata for managing subscriptions\").nullable().optional(),\n}).passthrough().describe(\"Response model containing all mailing lists.\");\n\nexport const simpleroGetLists: AppAction<\n typeof SimpleroGetListsInput,\n typeof SimpleroGetListsOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_GET_LISTS\", {\n slug: \"simplero-get-lists\",\n name: \"Get All Lists\",\n description: \"Tool to retrieve all mailing lists configured in the account. Use when you need to view all available lists for managing subscriptions and email campaigns.\",\n input: SimpleroGetListsInput,\n output: SimpleroGetListsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,C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C,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-products.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-products.cjs","names":["z","action"],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetProductsInput = z.object({}).describe(\"Request model for listing all products.\");\nconst SimpleroGetProducts_ProductItemSchema = z.object({\n id: z.number().int().describe(\"Unique product identifier\").nullable().optional(),\n name: z.string().describe(\"Product display name\").nullable().optional(),\n handle: z.string().describe(\"URL-friendly product identifier\").nullable().optional(),\n sales_page_url: z.string().describe(\"Product sales page URL (can be null)\").nullable().optional(),\n sales_price_cents: z.number().int().describe(\"Sales price in cents\").nullable().optional(),\n incoming_price_cents: z.number().int().describe(\"Incoming price in cents\").nullable().optional(),\n received_price_cents: z.number().int().describe(\"Price received in cents\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single product.\");\nexport const SimpleroGetProductsOutput = z.object({\n products: z.array(SimpleroGetProducts_ProductItemSchema).describe(\"Array of product objects\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of products.\");\n\nexport const simpleroGetProducts = action(\"SIMPLERO_GET_PRODUCTS\", {\n slug: \"simplero-get-products\",\n name: \"Get Products\",\n description: \"Tool to list all products in the account. Use when you need to retrieve information about all available products including their pricing.\",\n input: SimpleroGetProductsInput,\n output: SimpleroGetProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACvG,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-products.cjs","names":["z","action"],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroGetProductsInput = z.object({}).describe(\"Request model for listing all products.\");\nconst SimpleroGetProducts_ProductItemSchema = z.object({\n id: z.number().int().describe(\"Unique product identifier\").nullable().optional(),\n name: z.string().describe(\"Product display name\").nullable().optional(),\n handle: z.string().describe(\"URL-friendly product identifier\").nullable().optional(),\n sales_page_url: z.string().describe(\"Product sales page URL (can be null)\").nullable().optional(),\n sales_price_cents: z.number().int().describe(\"Sales price in cents\").nullable().optional(),\n incoming_price_cents: z.number().int().describe(\"Incoming price in cents\").nullable().optional(),\n received_price_cents: z.number().int().describe(\"Price received in cents\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single product.\");\nexport const SimpleroGetProductsOutput = z.object({\n products: z.array(SimpleroGetProducts_ProductItemSchema).describe(\"Array of product objects\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of products.\");\n\nexport const simpleroGetProducts: AppAction<\n typeof SimpleroGetProductsInput,\n typeof SimpleroGetProductsOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_GET_PRODUCTS\", {\n slug: \"simplero-get-products\",\n name: \"Get Products\",\n description: \"Tool to list all products in the account. Use when you need to retrieve information about all available products including their pricing.\",\n input: SimpleroGetProductsInput,\n output: SimpleroGetProductsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACvG,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-products.d.ts
@@ -13,7 +15,7 @@ declare const SimpleroGetProductsOutput: z.ZodObject<{
13
15
  received_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  }, z.core.$loose>>>>;
15
17
  }, z.core.$loose>;
16
- declare const simpleroGetProducts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const simpleroGetProducts: AppAction<typeof SimpleroGetProductsInput, typeof SimpleroGetProductsOutput, typeof simplero.credential>;
17
19
  //#endregion
18
20
  export { simpleroGetProducts };
19
21
  //# sourceMappingURL=get-products.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-products.d.cts","names":[],"sources":["../../src/actions/get-products.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-products.d.cts","names":[],"sources":["../../src/actions/get-products.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-products.d.ts
@@ -13,7 +15,7 @@ declare const SimpleroGetProductsOutput: z.ZodObject<{
13
15
  received_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
16
  }, z.core.$loose>>>>;
15
17
  }, z.core.$loose>;
16
- declare const simpleroGetProducts: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const simpleroGetProducts: AppAction<typeof SimpleroGetProductsInput, typeof SimpleroGetProductsOutput, typeof simplero.credential>;
17
19
  //#endregion
18
20
  export { simpleroGetProducts };
19
21
  //# sourceMappingURL=get-products.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-products.d.mts","names":[],"sources":["../../src/actions/get-products.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-products.d.mts","names":[],"sources":["../../src/actions/get-products.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-products.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-products.mjs","names":[],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetProductsInput = z.object({}).describe(\"Request model for listing all products.\");\nconst SimpleroGetProducts_ProductItemSchema = z.object({\n id: z.number().int().describe(\"Unique product identifier\").nullable().optional(),\n name: z.string().describe(\"Product display name\").nullable().optional(),\n handle: z.string().describe(\"URL-friendly product identifier\").nullable().optional(),\n sales_page_url: z.string().describe(\"Product sales page URL (can be null)\").nullable().optional(),\n sales_price_cents: z.number().int().describe(\"Sales price in cents\").nullable().optional(),\n incoming_price_cents: z.number().int().describe(\"Incoming price in cents\").nullable().optional(),\n received_price_cents: z.number().int().describe(\"Price received in cents\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single product.\");\nexport const SimpleroGetProductsOutput = z.object({\n products: z.array(SimpleroGetProducts_ProductItemSchema).describe(\"Array of product objects\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of products.\");\n\nexport const simpleroGetProducts = action(\"SIMPLERO_GET_PRODUCTS\", {\n slug: \"simplero-get-products\",\n name: \"Get Products\",\n description: \"Tool to list all products in the account. Use when you need to retrieve information about all available products including their pricing.\",\n input: SimpleroGetProductsInput,\n output: SimpleroGetProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACvG,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-products.mjs","names":[],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroGetProductsInput = z.object({}).describe(\"Request model for listing all products.\");\nconst SimpleroGetProducts_ProductItemSchema = z.object({\n id: z.number().int().describe(\"Unique product identifier\").nullable().optional(),\n name: z.string().describe(\"Product display name\").nullable().optional(),\n handle: z.string().describe(\"URL-friendly product identifier\").nullable().optional(),\n sales_page_url: z.string().describe(\"Product sales page URL (can be null)\").nullable().optional(),\n sales_price_cents: z.number().int().describe(\"Sales price in cents\").nullable().optional(),\n incoming_price_cents: z.number().int().describe(\"Incoming price in cents\").nullable().optional(),\n received_price_cents: z.number().int().describe(\"Price received in cents\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single product.\");\nexport const SimpleroGetProductsOutput = z.object({\n products: z.array(SimpleroGetProducts_ProductItemSchema).describe(\"Array of product objects\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of products.\");\n\nexport const simpleroGetProducts: AppAction<\n typeof SimpleroGetProductsInput,\n typeof SimpleroGetProductsOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_GET_PRODUCTS\", {\n slug: \"simplero-get-products\",\n name: \"Get Products\",\n description: \"Tool to list all products in the account. Use when you need to retrieve information about all available products including their pricing.\",\n input: SimpleroGetProductsInput,\n output: SimpleroGetProductsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACvG,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/remove-administrator.ts
@@ -1 +1 @@
1
- {"version":3,"file":"remove-administrator.cjs","names":["z","action"],"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":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,EACzH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,8BAA8BC,eAAAA,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-administrator.cjs","names":["z","action"],"sources":["../../src/actions/remove-administrator.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\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: AppAction<\n typeof SimpleroRemoveAdministratorInput,\n typeof SimpleroRemoveAdministratorOutput,\n typeof simplero.credential\n> = 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":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,EACzH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,8BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { simplero } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/remove-administrator.d.ts
@@ -8,9 +10,7 @@ declare const SimpleroRemoveAdministratorOutput: z.ZodObject<{
8
10
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
12
  }, z.core.$loose>;
11
- declare const simpleroRemoveAdministrator: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: number;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const simpleroRemoveAdministrator: AppAction<typeof SimpleroRemoveAdministratorInput, typeof SimpleroRemoveAdministratorOutput, typeof simplero.credential>;
14
14
  //#endregion
15
15
  export { simpleroRemoveAdministrator };
16
16
  //# sourceMappingURL=remove-administrator.d.cts.map