@keystrokehq/simplero 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-tag-to-contact.cjs.map +1 -1
  4. package/dist/actions/add-tag-to-contact.d.cts +30 -3
  5. package/dist/actions/add-tag-to-contact.d.cts.map +1 -1
  6. package/dist/actions/add-tag-to-contact.d.mts +30 -3
  7. package/dist/actions/add-tag-to-contact.d.mts.map +1 -1
  8. package/dist/actions/add-tag-to-contact.mjs.map +1 -1
  9. package/dist/actions/bulk-subscribe-to-list.cjs.map +1 -1
  10. package/dist/actions/bulk-subscribe-to-list.d.cts +39 -3
  11. package/dist/actions/bulk-subscribe-to-list.d.cts.map +1 -1
  12. package/dist/actions/bulk-subscribe-to-list.d.mts +39 -3
  13. package/dist/actions/bulk-subscribe-to-list.d.mts.map +1 -1
  14. package/dist/actions/bulk-subscribe-to-list.mjs.map +1 -1
  15. package/dist/actions/create-or-update-administrator.cjs.map +1 -1
  16. package/dist/actions/create-or-update-administrator.d.cts +49 -3
  17. package/dist/actions/create-or-update-administrator.d.cts.map +1 -1
  18. package/dist/actions/create-or-update-administrator.d.mts +49 -3
  19. package/dist/actions/create-or-update-administrator.d.mts.map +1 -1
  20. package/dist/actions/create-or-update-administrator.mjs.map +1 -1
  21. package/dist/actions/create-or-update-contact.cjs.map +1 -1
  22. package/dist/actions/create-or-update-contact.d.cts +46 -3
  23. package/dist/actions/create-or-update-contact.d.cts.map +1 -1
  24. package/dist/actions/create-or-update-contact.d.mts +46 -3
  25. package/dist/actions/create-or-update-contact.d.mts.map +1 -1
  26. package/dist/actions/create-or-update-contact.mjs.map +1 -1
  27. package/dist/actions/find-contact-by-email.cjs.map +1 -1
  28. package/dist/actions/find-contact-by-email.d.cts +25 -3
  29. package/dist/actions/find-contact-by-email.d.cts.map +1 -1
  30. package/dist/actions/find-contact-by-email.d.mts +25 -3
  31. package/dist/actions/find-contact-by-email.d.mts.map +1 -1
  32. package/dist/actions/find-contact-by-email.mjs.map +1 -1
  33. package/dist/actions/find-subscription-by-email.cjs.map +1 -1
  34. package/dist/actions/find-subscription-by-email.d.cts +57 -3
  35. package/dist/actions/find-subscription-by-email.d.cts.map +1 -1
  36. package/dist/actions/find-subscription-by-email.d.mts +57 -3
  37. package/dist/actions/find-subscription-by-email.d.mts.map +1 -1
  38. package/dist/actions/find-subscription-by-email.mjs.map +1 -1
  39. package/dist/actions/get-admin-roles.cjs.map +1 -1
  40. package/dist/actions/get-admin-roles.d.cts +8 -3
  41. package/dist/actions/get-admin-roles.d.cts.map +1 -1
  42. package/dist/actions/get-admin-roles.d.mts +8 -3
  43. package/dist/actions/get-admin-roles.d.mts.map +1 -1
  44. package/dist/actions/get-admin-roles.mjs.map +1 -1
  45. package/dist/actions/get-administrator-by-id.cjs +10 -10
  46. package/dist/actions/get-administrator-by-id.cjs.map +1 -1
  47. package/dist/actions/get-administrator-by-id.d.cts +33 -3
  48. package/dist/actions/get-administrator-by-id.d.cts.map +1 -1
  49. package/dist/actions/get-administrator-by-id.d.mts +33 -3
  50. package/dist/actions/get-administrator-by-id.d.mts.map +1 -1
  51. package/dist/actions/get-administrator-by-id.mjs +10 -10
  52. package/dist/actions/get-administrator-by-id.mjs.map +1 -1
  53. package/dist/actions/get-administrators.cjs.map +1 -1
  54. package/dist/actions/get-administrators.d.cts +33 -3
  55. package/dist/actions/get-administrators.d.cts.map +1 -1
  56. package/dist/actions/get-administrators.d.mts +33 -3
  57. package/dist/actions/get-administrators.d.mts.map +1 -1
  58. package/dist/actions/get-administrators.mjs.map +1 -1
  59. package/dist/actions/get-async-request-status.cjs +3 -3
  60. package/dist/actions/get-async-request-status.cjs.map +1 -1
  61. package/dist/actions/get-async-request-status.d.cts +15 -3
  62. package/dist/actions/get-async-request-status.d.cts.map +1 -1
  63. package/dist/actions/get-async-request-status.d.mts +15 -3
  64. package/dist/actions/get-async-request-status.d.mts.map +1 -1
  65. package/dist/actions/get-async-request-status.mjs +3 -3
  66. package/dist/actions/get-async-request-status.mjs.map +1 -1
  67. package/dist/actions/get-contact-by-id.cjs +4 -4
  68. package/dist/actions/get-contact-by-id.cjs.map +1 -1
  69. package/dist/actions/get-contact-by-id.d.cts +21 -3
  70. package/dist/actions/get-contact-by-id.d.cts.map +1 -1
  71. package/dist/actions/get-contact-by-id.d.mts +21 -3
  72. package/dist/actions/get-contact-by-id.d.mts.map +1 -1
  73. package/dist/actions/get-contact-by-id.mjs +4 -4
  74. package/dist/actions/get-contact-by-id.mjs.map +1 -1
  75. package/dist/actions/get-invoices.cjs.map +1 -1
  76. package/dist/actions/get-invoices.d.cts +29 -3
  77. package/dist/actions/get-invoices.d.cts.map +1 -1
  78. package/dist/actions/get-invoices.d.mts +29 -3
  79. package/dist/actions/get-invoices.d.mts.map +1 -1
  80. package/dist/actions/get-invoices.mjs.map +1 -1
  81. package/dist/actions/get-lists.cjs.map +1 -1
  82. package/dist/actions/get-lists.d.cts +18 -3
  83. package/dist/actions/get-lists.d.cts.map +1 -1
  84. package/dist/actions/get-lists.d.mts +18 -3
  85. package/dist/actions/get-lists.d.mts.map +1 -1
  86. package/dist/actions/get-lists.mjs.map +1 -1
  87. package/dist/actions/get-products.cjs.map +1 -1
  88. package/dist/actions/get-products.d.cts +13 -3
  89. package/dist/actions/get-products.d.cts.map +1 -1
  90. package/dist/actions/get-products.d.mts +13 -3
  91. package/dist/actions/get-products.d.mts.map +1 -1
  92. package/dist/actions/get-products.mjs.map +1 -1
  93. package/dist/actions/remove-administrator.cjs.map +1 -1
  94. package/dist/actions/remove-administrator.d.cts +10 -3
  95. package/dist/actions/remove-administrator.d.cts.map +1 -1
  96. package/dist/actions/remove-administrator.d.mts +10 -3
  97. package/dist/actions/remove-administrator.d.mts.map +1 -1
  98. package/dist/actions/remove-administrator.mjs.map +1 -1
  99. package/dist/actions/remove-tag-from-contact.cjs.map +1 -1
  100. package/dist/actions/remove-tag-from-contact.d.cts +13 -3
  101. package/dist/actions/remove-tag-from-contact.d.cts.map +1 -1
  102. package/dist/actions/remove-tag-from-contact.d.mts +13 -3
  103. package/dist/actions/remove-tag-from-contact.d.mts.map +1 -1
  104. package/dist/actions/remove-tag-from-contact.mjs.map +1 -1
  105. package/dist/actions/subscribe-to-list.cjs.map +1 -1
  106. package/dist/actions/subscribe-to-list.d.cts +49 -3
  107. package/dist/actions/subscribe-to-list.d.cts.map +1 -1
  108. package/dist/actions/subscribe-to-list.d.mts +49 -3
  109. package/dist/actions/subscribe-to-list.d.mts.map +1 -1
  110. package/dist/actions/subscribe-to-list.mjs.map +1 -1
  111. package/dist/actions/unsubscribe-from-list.cjs +1 -1
  112. package/dist/actions/unsubscribe-from-list.cjs.map +1 -1
  113. package/dist/actions/unsubscribe-from-list.d.cts +11 -3
  114. package/dist/actions/unsubscribe-from-list.d.cts.map +1 -1
  115. package/dist/actions/unsubscribe-from-list.d.mts +11 -3
  116. package/dist/actions/unsubscribe-from-list.d.mts.map +1 -1
  117. package/dist/actions/unsubscribe-from-list.mjs +1 -1
  118. package/dist/actions/unsubscribe-from-list.mjs.map +1 -1
  119. package/dist/actions/update-contact-credentials.cjs.map +1 -1
  120. package/dist/actions/update-contact-credentials.d.cts +37 -3
  121. package/dist/actions/update-contact-credentials.d.cts.map +1 -1
  122. package/dist/actions/update-contact-credentials.d.mts +37 -3
  123. package/dist/actions/update-contact-credentials.d.mts.map +1 -1
  124. package/dist/actions/update-contact-credentials.mjs.map +1 -1
  125. package/dist/catalog.cjs +7 -1
  126. package/dist/catalog.cjs.map +1 -1
  127. package/dist/catalog.d.cts +8 -0
  128. package/dist/catalog.d.mts +8 -0
  129. package/dist/catalog.mjs +7 -1
  130. package/dist/catalog.mjs.map +1 -1
  131. package/package.json +2 -2
@@ -1 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\"),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\"),\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\"),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\"),\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}).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,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,EAC1H,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CA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
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}).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,EAC1H,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,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CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-contact-by-id.d.ts
4
- declare const SimpleroGetContactByIdInput: z.ZodTypeAny;
5
- declare const SimpleroGetContactByIdOutput: z.ZodTypeAny;
6
- declare const simpleroGetContactById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroGetContactByIdInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SimpleroGetContactByIdOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ email: z.ZodNullable<z.ZodString>;
11
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ referrer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ tag_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ updated_at: z.ZodNullable<z.ZodString>;
18
+ first_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ contact_since: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ do_not_contact: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ }, z.core.$strip>;
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]>;
7
25
  //#endregion
8
26
  export { simpleroGetContactById };
9
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,EAA6B,CAAA,CAAE,UAEyB;AAAA,cACxD,4BAAA,EAA8B,CAAA,CAAE,UAcK;AAAA,cAErC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-contact-by-id.d.ts
4
- declare const SimpleroGetContactByIdInput: z.ZodTypeAny;
5
- declare const SimpleroGetContactByIdOutput: z.ZodTypeAny;
6
- declare const simpleroGetContactById: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroGetContactByIdInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SimpleroGetContactByIdOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ email: z.ZodNullable<z.ZodString>;
11
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ referrer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ tag_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ updated_at: z.ZodNullable<z.ZodString>;
18
+ first_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ contact_since: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ do_not_contact: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ }, z.core.$strip>;
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]>;
7
25
  //#endregion
8
26
  export { simpleroGetContactById };
9
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,EAA6B,CAAA,CAAE,UAEyB;AAAA,cACxD,4BAAA,EAA8B,CAAA,CAAE,UAcK;AAAA,cAErC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -6,16 +6,16 @@ const simpleroGetContactById = action("SIMPLERO_GET_CONTACT_BY_ID", {
6
6
  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.",
7
7
  input: z.object({ id: z.number().int().describe("The internal ID of the contact to retrieve. This ID is obtained from previous API calls.") }).describe("Request model for retrieving a contact by internal ID."),
8
8
  output: z.object({
9
- id: z.number().int().describe("Contact's internal identifier"),
9
+ id: z.number().int().describe("Contact's internal identifier").nullable(),
10
10
  name: z.string().describe("Full name of the contact").nullable().optional(),
11
- email: z.string().describe("Contact's email address"),
11
+ email: z.string().describe("Contact's email address").nullable(),
12
12
  phone: z.string().describe("Sanitized phone number with country code").nullable().optional(),
13
13
  referrer: z.string().describe("Referring URL").nullable().optional(),
14
14
  last_name: z.string().describe("Contact's surname").nullable().optional(),
15
15
  tag_names: z.string().describe("Comma-separated list of tags").nullable().optional(),
16
- created_at: z.string().describe("Timestamp of creation in ISO 8601 format"),
16
+ created_at: z.string().describe("Timestamp of creation in ISO 8601 format").nullable(),
17
17
  ip_address: z.string().describe("IP address").nullable().optional(),
18
- updated_at: z.string().describe("Timestamp of last update in ISO 8601 format"),
18
+ updated_at: z.string().describe("Timestamp of last update in ISO 8601 format").nullable(),
19
19
  first_names: z.string().describe("Contact's first name(s)").nullable().optional(),
20
20
  contact_since: z.string().describe("Human-readable contact duration").nullable().optional(),
21
21
  do_not_contact: z.boolean().describe("Flag indicating do not contact preference").nullable().optional()
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\"),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\"),\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\"),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\"),\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}).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,OAvBuD,EAAE,OAAO,EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,EAC1H,CAAC,CAAC,CAAC,SAAS,wDAqBH;CACP,QArBwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACpD,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;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC7E,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,SAAS,qCAOF;AACV,CAAC"}
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}).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,SAAS,qCAOF;AACV,CAAC"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Model representing an invoice object.\");\nexport const SimpleroGetInvoicesOutput: z.ZodTypeAny = 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}).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,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,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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SAAS,+HAA+H,EAC/L,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,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 { 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}).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}).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,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,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,UAAUA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,+HAA+H,EAC/L,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-invoices.d.ts
4
- declare const SimpleroGetInvoicesInput: z.ZodTypeAny;
5
- declare const SimpleroGetInvoicesOutput: z.ZodTypeAny;
6
- declare const simpleroGetInvoices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroGetInvoicesInput: z.ZodObject<{
5
+ dir: z.ZodOptional<z.ZodString>;
6
+ page: z.ZodOptional<z.ZodNumber>;
7
+ created_at_to: z.ZodOptional<z.ZodString>;
8
+ created_at_from: z.ZodOptional<z.ZodString>;
9
+ invoice_number_to: z.ZodOptional<z.ZodString>;
10
+ invoice_number_from: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const SimpleroGetInvoicesOutput: z.ZodObject<{
13
+ invoices: z.ZodArray<z.ZodObject<{
14
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ paid_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ customer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ amount_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ invoice_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$strip>>;
24
+ }, z.core.$strip>;
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]>;
7
33
  //#endregion
8
34
  export { simpleroGetInvoices };
9
35
  //# 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,EAA0B,CAAA,CAAE,UAOoC;AAAA,cAYhE,yBAAA,EAA2B,CAAA,CAAE,UAEkB;AAAA,cAE/C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-invoices.d.ts
4
- declare const SimpleroGetInvoicesInput: z.ZodTypeAny;
5
- declare const SimpleroGetInvoicesOutput: z.ZodTypeAny;
6
- declare const simpleroGetInvoices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroGetInvoicesInput: z.ZodObject<{
5
+ dir: z.ZodOptional<z.ZodString>;
6
+ page: z.ZodOptional<z.ZodNumber>;
7
+ created_at_to: z.ZodOptional<z.ZodString>;
8
+ created_at_from: z.ZodOptional<z.ZodString>;
9
+ invoice_number_to: z.ZodOptional<z.ZodString>;
10
+ invoice_number_from: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const SimpleroGetInvoicesOutput: z.ZodObject<{
13
+ invoices: z.ZodArray<z.ZodObject<{
14
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ paid_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ customer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ amount_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ invoice_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$strip>>;
24
+ }, z.core.$strip>;
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]>;
7
33
  //#endregion
8
34
  export { simpleroGetInvoices };
9
35
  //# 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,EAA0B,CAAA,CAAE,UAOoC;AAAA,cAYhE,yBAAA,EAA2B,CAAA,CAAE,UAEkB;AAAA,cAE/C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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 +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.ZodTypeAny = 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.ZodTypeAny = 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}).describe(\"Model representing an invoice object.\");\nexport const SimpleroGetInvoicesOutput: z.ZodTypeAny = 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}).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: SimpleroGetInv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AC,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,SAAS,uCAAuC;AAKnD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,UAAU,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,+HAA+H,EAC/L,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
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}).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}).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,SAAS,uCAAuC;AAKnD,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,SAAS,+CAOF;AACV,CAAC"}
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for getting all lists. No parameters required.\");\nconst SimpleroGetLists_ListItemSchema: z.ZodTypeAny = 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}).describe(\"Model representing a single mailing list.\");\nexport const SimpleroGetListsOutput: z.ZodTypeAny = z.object({\n lists: z.array(SimpleroGetLists_ListItemSchema).describe(\"Array of list objects with metadata for managing subscriptions\").nullable().optional(),\n}).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,wBAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACvI,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,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AAC,SAAS,8CAA8C;AAE1D,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 { 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}).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}).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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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,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,SAAS,8CAA8C;AAE1D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-lists.d.ts
4
- declare const SimpleroGetListsInput: z.ZodTypeAny;
5
- declare const SimpleroGetListsOutput: z.ZodTypeAny;
6
- declare const simpleroGetLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroGetListsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SimpleroGetListsOutput: z.ZodObject<{
6
+ lists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ reply_to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ return_to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ sender_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ internal_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ email_field_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ unsubscribed_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ confirm_pending_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ require_confirmation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ }, z.core.$strip>>>>;
20
+ }, z.core.$strip>;
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]>;
7
22
  //#endregion
8
23
  export { simpleroGetLists };
9
24
  //# 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,EAAuB,CAAA,CAAE,UAAkG;AAAA,cAe3H,sBAAA,EAAwB,CAAA,CAAE,UAEoB;AAAA,cAE9C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-lists.d.ts
4
- declare const SimpleroGetListsInput: z.ZodTypeAny;
5
- declare const SimpleroGetListsOutput: z.ZodTypeAny;
6
- declare const simpleroGetLists: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroGetListsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SimpleroGetListsOutput: z.ZodObject<{
6
+ lists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ reply_to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ return_to: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ sender_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ sender_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ internal_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ email_field_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ unsubscribed_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ confirm_pending_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ require_confirmation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ }, z.core.$strip>>>>;
20
+ }, z.core.$strip>;
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]>;
7
22
  //#endregion
8
23
  export { simpleroGetLists };
9
24
  //# 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,EAAuB,CAAA,CAAE,UAAkG;AAAA,cAe3H,sBAAA,EAAwB,CAAA,CAAE,UAEoB;AAAA,cAE9C,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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 +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.ZodTypeAny = z.object({}).describe(\"Request model for getting all lists. No parameters required.\");\nconst SimpleroGetLists_ListItemSchema: z.ZodTypeAny = 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}).describe(\"Model representing a single mailing list.\");\nexport const SimpleroGetListsOutput: z.ZodTypeAny = z.object({\n lists: z.array(SimpleroGetLists_ListItemSchema).describe(\"Array of list objects with metadata for managing subscriptions\").nullable().optional(),\n}).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,wBAAsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACvI,MAAM,kCAAgD,EAAE,OAAO;CAC7D,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,SAAS,2CAA2C;AAKvD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,OAAO,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
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}).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}).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,SAAS,2CAA2C;AAKvD,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,SAAS,8CAOF;AACV,CAAC"}
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing all products.\");\nconst SimpleroGetProducts_ProductItemSchema: z.ZodTypeAny = 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}).describe(\"Model representing a single product.\");\nexport const SimpleroGetProductsOutput: z.ZodTypeAny = z.object({\n products: z.array(SimpleroGetProducts_ProductItemSchema).describe(\"Array of product objects\").nullable().optional(),\n}).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: SimpleroGetProductsOut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{"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}).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}).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,SAAS,sCAAsC;AAClD,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,SAAS,6CAA6C;AAEzD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-products.d.ts
4
- declare const SimpleroGetProductsInput: z.ZodTypeAny;
5
- declare const SimpleroGetProductsOutput: z.ZodTypeAny;
6
- declare const simpleroGetProducts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroGetProductsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SimpleroGetProductsOutput: z.ZodObject<{
6
+ products: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ sales_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ sales_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ incoming_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ received_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ }, z.core.$strip>>>>;
15
+ }, z.core.$strip>;
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]>;
7
17
  //#endregion
8
18
  export { simpleroGetProducts };
9
19
  //# 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,EAA0B,CAAA,CAAE,UAA6E;AAAA,cAUzG,yBAAA,EAA2B,CAAA,CAAE,UAEgB;AAAA,cAE7C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-products.d.ts
4
- declare const SimpleroGetProductsInput: z.ZodTypeAny;
5
- declare const SimpleroGetProductsOutput: z.ZodTypeAny;
6
- declare const simpleroGetProducts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroGetProductsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SimpleroGetProductsOutput: z.ZodObject<{
6
+ products: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
7
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ handle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ sales_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ sales_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ incoming_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ received_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ }, z.core.$strip>>>>;
15
+ }, z.core.$strip>;
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]>;
7
17
  //#endregion
8
18
  export { simpleroGetProducts };
9
19
  //# 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,EAA0B,CAAA,CAAE,UAA6E;AAAA,cAUzG,yBAAA,EAA2B,CAAA,CAAE,UAEgB;AAAA,cAE7C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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 +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.ZodTypeAny = z.object({}).describe(\"Request model for listing all products.\");\nconst SimpleroGetProducts_ProductItemSchema: z.ZodTypeAny = 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}).describe(\"Model representing a single product.\");\nexport const SimpleroGetProductsOutput: z.ZodTypeAny = z.object({\n products: z.array(SimpleroGetProducts_ProductItemSchema).describe(\"Array of product objects\").nullable().optional(),\n}).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,2BAAyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrH,MAAM,wCAAsD,EAAE,OAAO;CACnE,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,SAAS,sCAAsC;AAKlD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
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}).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}).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,SAAS,sCAAsC;AAKlD,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,SAAS,6CAOF;AACV,CAAC"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n message: z.string().describe(\"Additional message from the API response\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).describe(\"Response model for administrator removal operation.\");\n\nexport const simpleroRemoveAdministrator = action(\"SIMPLERO_REMOVE_ADMINISTRATOR\", {\n slug: \"simplero-remove-administrator\",\n name: \"Remove Administrator\",\n description: \"Tool to delete an administratorship by ID. Use when you need to remove an administrator relationship from the system.\",\n input: SimpleroRemoveAdministratorInput,\n output: SimpleroRemoveAdministratorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,EACzH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,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,SAAS,qDAAqD;AAEjE,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 { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveAdministratorInput = z.object({\n id: z.number().int().describe(\"The internal administratorship ID to remove. Must be obtained from a previous API call.\"),\n}).describe(\"Request model for removing an administrator.\");\nexport const SimpleroRemoveAdministratorOutput = z.object({\n message: z.string().describe(\"Additional message from the API response\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).describe(\"Response model for administrator removal operation.\");\n\nexport const simpleroRemoveAdministrator = action(\"SIMPLERO_REMOVE_ADMINISTRATOR\", {\n slug: \"simplero-remove-administrator\",\n name: \"Remove Administrator\",\n description: \"Tool to delete an administratorship by ID. Use when you need to remove an administrator relationship from the system.\",\n input: SimpleroRemoveAdministratorInput,\n output: SimpleroRemoveAdministratorOutput,\n});\n"],"mappings":";;;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,SAAS,qDAAqD;AAEjE,MAAa,8BAA8BC,eAAAA,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/remove-administrator.d.ts
4
- declare const SimpleroRemoveAdministratorInput: z.ZodTypeAny;
5
- declare const SimpleroRemoveAdministratorOutput: z.ZodTypeAny;
6
- declare const simpleroRemoveAdministrator: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroRemoveAdministratorInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SimpleroRemoveAdministratorOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ }, z.core.$strip>;
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]>;
7
14
  //#endregion
8
15
  export { simpleroRemoveAdministrator };
9
16
  //# sourceMappingURL=remove-administrator.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-administrator.d.cts","names":[],"sources":["../../src/actions/remove-administrator.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEU;AAAA,cAC9C,iCAAA,EAAmC,CAAA,CAAE,UAGgB;AAAA,cAErD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"remove-administrator.d.cts","names":[],"sources":["../../src/actions/remove-administrator.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/remove-administrator.d.ts
4
- declare const SimpleroRemoveAdministratorInput: z.ZodTypeAny;
5
- declare const SimpleroRemoveAdministratorOutput: z.ZodTypeAny;
6
- declare const simpleroRemoveAdministrator: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SimpleroRemoveAdministratorInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ }, z.core.$strip>;
7
+ declare const SimpleroRemoveAdministratorOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ }, z.core.$strip>;
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]>;
7
14
  //#endregion
8
15
  export { simpleroRemoveAdministrator };
9
16
  //# sourceMappingURL=remove-administrator.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-administrator.d.mts","names":[],"sources":["../../src/actions/remove-administrator.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEU;AAAA,cAC9C,iCAAA,EAAmC,CAAA,CAAE,UAGgB;AAAA,cAErD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"remove-administrator.d.mts","names":[],"sources":["../../src/actions/remove-administrator.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"remove-administrator.mjs","names":[],"sources":["../../src/actions/remove-administrator.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveAdministratorInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n message: z.string().describe(\"Additional message from the API response\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).describe(\"Response model for administrator removal operation.\");\n\nexport const simpleroRemoveAdministrator = action(\"SIMPLERO_REMOVE_ADMINISTRATOR\", {\n slug: \"simplero-remove-administrator\",\n name: \"Remove Administrator\",\n description: \"Tool to delete an administratorship by ID. Use when you need to remove an administrator relationship from the system.\",\n input: SimpleroRemoveAdministratorInput,\n output: SimpleroRemoveAdministratorOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4D,EAAE,OAAO,EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,EACzH,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAV6D,EAAE,OAAO;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-administrator.mjs","names":[],"sources":["../../src/actions/remove-administrator.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveAdministratorInput = z.object({\n id: z.number().int().describe(\"The internal administratorship ID to remove. Must be obtained from a previous API call.\"),\n}).describe(\"Request model for removing an administrator.\");\nexport const SimpleroRemoveAdministratorOutput = z.object({\n message: z.string().describe(\"Additional message from the API response\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).describe(\"Response model for administrator removal operation.\");\n\nexport const simpleroRemoveAdministrator = action(\"SIMPLERO_REMOVE_ADMINISTRATOR\", {\n slug: \"simplero-remove-administrator\",\n name: \"Remove Administrator\",\n description: \"Tool to delete an administratorship by ID. Use when you need to remove an administrator relationship from the system.\",\n input: SimpleroRemoveAdministratorInput,\n output: SimpleroRemoveAdministratorOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO,EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,EACzH,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAV+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"remove-tag-from-contact.cjs","names":["z","action"],"sources":["../../src/actions/remove-tag-from-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveTagFromContactInput: z.ZodTypeAny = z.object({\n tag: z.string().describe(\"The tag name to remove from the contact\"),\n email: z.string().describe(\"The contact's email address\"),\n}).describe(\"Request model for removing a tag from a contact.\");\nexport const SimpleroRemoveTagFromContactOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated string of remaining tags\").nullable().optional(),\n}).describe(\"Response model for contact information after tag removal.\");\n\nexport const simpleroRemoveTagFromContact = action(\"SIMPLERO_REMOVE_TAG_FROM_CONTACT\", {\n slug: \"simplero-remove-tag-from-contact\",\n name: \"Remove Tag from Contact\",\n description: \"Tool to remove a tag from a contact identified by email address. Use when you need to remove a specific tag from a contact's profile.\",\n input: SimpleroRemoveTagFromContactInput,\n output: SimpleroRemoveTagFromContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC1D,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-tag-from-contact.cjs","names":["z","action"],"sources":["../../src/actions/remove-tag-from-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveTagFromContactInput = z.object({\n tag: z.string().describe(\"The tag name to remove from the contact\"),\n email: z.string().describe(\"The contact's email address\"),\n}).describe(\"Request model for removing a tag from a contact.\");\nexport const SimpleroRemoveTagFromContactOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated string of remaining tags\").nullable().optional(),\n}).describe(\"Response model for contact information after tag removal.\");\n\nexport const simpleroRemoveTagFromContact = action(\"SIMPLERO_REMOVE_TAG_FROM_CONTACT\", {\n slug: \"simplero-remove-tag-from-contact\",\n name: \"Remove Tag from Contact\",\n description: \"Tool to remove a tag from a contact identified by email address. Use when you need to remove a specific tag from a contact's profile.\",\n input: SimpleroRemoveTagFromContactInput,\n output: SimpleroRemoveTagFromContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC1D,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}