@keystrokehq/simplero 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-tag-to-contact.cjs +1 -1
- package/dist/actions/add-tag-to-contact.cjs.map +1 -1
- package/dist/actions/add-tag-to-contact.d.cts +1 -1
- package/dist/actions/add-tag-to-contact.d.mts +1 -1
- package/dist/actions/add-tag-to-contact.mjs +1 -1
- package/dist/actions/add-tag-to-contact.mjs.map +1 -1
- package/dist/actions/bulk-subscribe-to-list.cjs +2 -2
- package/dist/actions/bulk-subscribe-to-list.cjs.map +1 -1
- package/dist/actions/bulk-subscribe-to-list.d.cts +3 -2
- package/dist/actions/bulk-subscribe-to-list.d.mts +3 -2
- package/dist/actions/bulk-subscribe-to-list.mjs +2 -2
- package/dist/actions/bulk-subscribe-to-list.mjs.map +1 -1
- package/dist/actions/create-or-update-administrator.cjs +3 -3
- package/dist/actions/create-or-update-administrator.cjs.map +1 -1
- package/dist/actions/create-or-update-administrator.d.cts +3 -3
- package/dist/actions/create-or-update-administrator.d.mts +3 -3
- package/dist/actions/create-or-update-administrator.mjs +3 -3
- package/dist/actions/create-or-update-administrator.mjs.map +1 -1
- package/dist/actions/create-or-update-contact.cjs +1 -1
- package/dist/actions/create-or-update-contact.cjs.map +1 -1
- package/dist/actions/create-or-update-contact.d.cts +1 -1
- package/dist/actions/create-or-update-contact.d.mts +1 -1
- package/dist/actions/create-or-update-contact.mjs +1 -1
- package/dist/actions/create-or-update-contact.mjs.map +1 -1
- package/dist/actions/find-contact-by-email.cjs +1 -1
- package/dist/actions/find-contact-by-email.cjs.map +1 -1
- package/dist/actions/find-contact-by-email.d.cts +1 -1
- package/dist/actions/find-contact-by-email.d.mts +1 -1
- package/dist/actions/find-contact-by-email.mjs +1 -1
- package/dist/actions/find-contact-by-email.mjs.map +1 -1
- package/dist/actions/find-subscription-by-email.cjs +3 -3
- package/dist/actions/find-subscription-by-email.cjs.map +1 -1
- package/dist/actions/find-subscription-by-email.d.cts +3 -3
- package/dist/actions/find-subscription-by-email.d.mts +3 -3
- package/dist/actions/find-subscription-by-email.mjs +3 -3
- package/dist/actions/find-subscription-by-email.mjs.map +1 -1
- package/dist/actions/get-admin-roles.cjs +2 -2
- package/dist/actions/get-admin-roles.cjs.map +1 -1
- package/dist/actions/get-admin-roles.d.cts +2 -2
- package/dist/actions/get-admin-roles.d.mts +2 -2
- package/dist/actions/get-admin-roles.mjs +2 -2
- package/dist/actions/get-admin-roles.mjs.map +1 -1
- package/dist/actions/get-administrator-by-id.cjs +4 -4
- package/dist/actions/get-administrator-by-id.cjs.map +1 -1
- package/dist/actions/get-administrator-by-id.d.cts +4 -4
- package/dist/actions/get-administrator-by-id.d.mts +4 -4
- package/dist/actions/get-administrator-by-id.mjs +4 -4
- package/dist/actions/get-administrator-by-id.mjs.map +1 -1
- package/dist/actions/get-administrators.cjs +4 -4
- package/dist/actions/get-administrators.cjs.map +1 -1
- package/dist/actions/get-administrators.d.cts +4 -4
- package/dist/actions/get-administrators.d.mts +4 -4
- package/dist/actions/get-administrators.mjs +4 -4
- package/dist/actions/get-administrators.mjs.map +1 -1
- package/dist/actions/get-async-request-status.cjs +1 -1
- package/dist/actions/get-async-request-status.cjs.map +1 -1
- package/dist/actions/get-async-request-status.d.cts +1 -1
- package/dist/actions/get-async-request-status.d.mts +1 -1
- package/dist/actions/get-async-request-status.mjs +1 -1
- package/dist/actions/get-async-request-status.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +1 -1
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +1 -1
- package/dist/actions/get-contact-by-id.d.mts +1 -1
- package/dist/actions/get-contact-by-id.mjs +1 -1
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-invoices.cjs +2 -2
- package/dist/actions/get-invoices.cjs.map +1 -1
- package/dist/actions/get-invoices.d.cts +2 -2
- package/dist/actions/get-invoices.d.mts +2 -2
- package/dist/actions/get-invoices.mjs +2 -2
- package/dist/actions/get-invoices.mjs.map +1 -1
- package/dist/actions/get-lists.cjs +2 -2
- package/dist/actions/get-lists.cjs.map +1 -1
- package/dist/actions/get-lists.d.cts +2 -2
- package/dist/actions/get-lists.d.mts +2 -2
- package/dist/actions/get-lists.mjs +2 -2
- package/dist/actions/get-lists.mjs.map +1 -1
- package/dist/actions/get-products.cjs +2 -2
- package/dist/actions/get-products.cjs.map +1 -1
- package/dist/actions/get-products.d.cts +2 -2
- package/dist/actions/get-products.d.mts +2 -2
- package/dist/actions/get-products.mjs +2 -2
- package/dist/actions/get-products.mjs.map +1 -1
- package/dist/actions/remove-administrator.cjs +1 -1
- package/dist/actions/remove-administrator.cjs.map +1 -1
- package/dist/actions/remove-administrator.d.cts +1 -1
- package/dist/actions/remove-administrator.d.mts +1 -1
- package/dist/actions/remove-administrator.mjs +1 -1
- package/dist/actions/remove-administrator.mjs.map +1 -1
- package/dist/actions/remove-tag-from-contact.cjs +1 -1
- package/dist/actions/remove-tag-from-contact.cjs.map +1 -1
- package/dist/actions/remove-tag-from-contact.d.cts +1 -1
- package/dist/actions/remove-tag-from-contact.d.mts +1 -1
- package/dist/actions/remove-tag-from-contact.mjs +1 -1
- package/dist/actions/remove-tag-from-contact.mjs.map +1 -1
- package/dist/actions/subscribe-to-list.cjs +2 -2
- package/dist/actions/subscribe-to-list.cjs.map +1 -1
- package/dist/actions/subscribe-to-list.d.cts +2 -2
- package/dist/actions/subscribe-to-list.d.mts +2 -2
- package/dist/actions/subscribe-to-list.mjs +2 -2
- package/dist/actions/subscribe-to-list.mjs.map +1 -1
- package/dist/actions/unsubscribe-from-list.cjs +1 -1
- package/dist/actions/unsubscribe-from-list.cjs.map +1 -1
- package/dist/actions/unsubscribe-from-list.d.cts +1 -1
- package/dist/actions/unsubscribe-from-list.d.mts +1 -1
- package/dist/actions/unsubscribe-from-list.mjs +1 -1
- package/dist/actions/unsubscribe-from-list.mjs.map +1 -1
- package/dist/actions/update-contact-credentials.cjs +1 -1
- package/dist/actions/update-contact-credentials.cjs.map +1 -1
- package/dist/actions/update-contact-credentials.d.cts +1 -1
- package/dist/actions/update-contact-credentials.d.mts +1 -1
- package/dist/actions/update-contact-credentials.mjs +1 -1
- package/dist/actions/update-contact-credentials.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/get-administrators.ts
|
|
4
4
|
const SimpleroGetAdministratorsInput = z.object({}).describe("Request model for retrieving administratorships. No parameters are required.");
|
|
5
|
-
const SimpleroGetAdministrators_AdminRoleSchema = z.object({ name: z.string().describe("The name of the admin role.").nullable().optional() }).describe("Admin role information.");
|
|
5
|
+
const SimpleroGetAdministrators_AdminRoleSchema = z.object({ name: z.string().describe("The name of the admin role.").nullable().optional() }).passthrough().describe("Admin role information.");
|
|
6
6
|
const SimpleroGetAdministrators_AccessibleObjectIdsSchema = z.object({
|
|
7
7
|
site: z.array(z.number().int()).describe("List of accessible site IDs.").nullable().optional(),
|
|
8
8
|
course: z.array(z.number().int()).describe("List of accessible course IDs.").nullable().optional(),
|
|
@@ -10,7 +10,7 @@ const SimpleroGetAdministrators_AccessibleObjectIdsSchema = z.object({
|
|
|
10
10
|
worksheet: z.array(z.number().int()).describe("List of accessible worksheet IDs.").nullable().optional(),
|
|
11
11
|
landing_page: z.array(z.number().int()).describe("List of accessible landing page IDs.").nullable().optional(),
|
|
12
12
|
affiliate_program: z.array(z.number().int()).describe("List of accessible affiliate program IDs.").nullable().optional()
|
|
13
|
-
}).describe("Permission scope for different object types.");
|
|
13
|
+
}).passthrough().describe("Permission scope for different object types.");
|
|
14
14
|
const SimpleroGetAdministrators_AdministratorshipSchema = z.object({
|
|
15
15
|
id: z.number().int().describe("Unique administratorship identifier.").nullable().optional(),
|
|
16
16
|
enabled: z.boolean().describe("Whether the administratorship is active.").nullable().optional(),
|
|
@@ -30,13 +30,13 @@ const SimpleroGetAdministrators_AdministratorshipSchema = z.object({
|
|
|
30
30
|
accessible_object_ids: SimpleroGetAdministrators_AccessibleObjectIdsSchema.nullable().optional(),
|
|
31
31
|
second_to_last_login_at: z.string().describe("ISO-8601 timestamp of the second most recent login.").nullable().optional(),
|
|
32
32
|
can_self_grant_super_admin: z.boolean().describe("Whether the admin can elevate their own permissions.").nullable().optional()
|
|
33
|
-
}).describe("Administratorship object representing the relationship between a user and an account.");
|
|
33
|
+
}).passthrough().describe("Administratorship object representing the relationship between a user and an account.");
|
|
34
34
|
const simpleroGetAdministrators = action("SIMPLERO_GET_ADMINISTRATORS", {
|
|
35
35
|
slug: "simplero-get-administrators",
|
|
36
36
|
name: "Get Administrators",
|
|
37
37
|
description: "Tool to retrieve all administratorships for the account. Use when you need to get information about account administrators, their roles, and permissions.",
|
|
38
38
|
input: SimpleroGetAdministratorsInput,
|
|
39
|
-
output: z.object({ administratorships: z.array(SimpleroGetAdministrators_AdministratorshipSchema).describe("List of administratorship objects.") }).describe("Response model containing all administratorships for the account.")
|
|
39
|
+
output: z.object({ administratorships: z.array(SimpleroGetAdministrators_AdministratorshipSchema).describe("List of administratorship objects.") }).passthrough().describe("Response model containing all administratorships for the account.")
|
|
40
40
|
});
|
|
41
41
|
//#endregion
|
|
42
42
|
export { simpleroGetAdministrators };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-administrators.mjs","names":[],"sources":["../../src/actions/get-administrators.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetAdministratorsInput = z.object({}).describe(\"Request model for retrieving administratorships. No parameters are required.\");\nconst SimpleroGetAdministrators_AdminRoleSchema = z.object({\n name: z.string().describe(\"The name of the admin role.\").nullable().optional(),\n}).describe(\"Admin role information.\");\nconst SimpleroGetAdministrators_AccessibleObjectIdsSchema = z.object({\n site: z.array(z.number().int()).describe(\"List of accessible site IDs.\").nullable().optional(),\n course: z.array(z.number().int()).describe(\"List of accessible course IDs.\").nullable().optional(),\n product: z.array(z.number().int()).describe(\"List of accessible product IDs.\").nullable().optional(),\n worksheet: z.array(z.number().int()).describe(\"List of accessible worksheet IDs.\").nullable().optional(),\n landing_page: z.array(z.number().int()).describe(\"List of accessible landing page IDs.\").nullable().optional(),\n affiliate_program: z.array(z.number().int()).describe(\"List of accessible affiliate program IDs.\").nullable().optional(),\n}).describe(\"Permission scope for different object types.\");\nconst SimpleroGetAdministrators_AdministratorshipSchema = z.object({\n id: z.number().int().describe(\"Unique administratorship identifier.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the administratorship is active.\").nullable().optional(),\n user_id: z.number().int().describe(\"Associated user ID.\").nullable().optional(),\n account_id: z.number().int().describe(\"Associated account ID.\").nullable().optional(),\n admin_role: SimpleroGetAdministrators_AdminRoleSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO-8601 timestamp when the administratorship was created.\").nullable().optional(),\n num_logins: z.number().int().describe(\"Total number of logins.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO-8601 timestamp when the administratorship was last updated.\").nullable().optional(),\n admin_role_id: z.number().int().describe(\"Role identifier.\").nullable().optional(),\n invitation_id: z.number().int().describe(\"Invitation reference if applicable.\").nullable().optional(),\n last_login_at: z.string().describe(\"ISO-8601 timestamp of the most recent login.\").nullable().optional(),\n show_on_ticket: z.boolean().describe(\"Whether the admin is listed as a support team member.\").nullable().optional(),\n ticket_assignee: z.boolean().describe(\"Whether the admin can be assigned support tickets.\").nullable().optional(),\n ticket_sms_alerts: z.boolean().describe(\"Whether the admin receives SMS alerts for tickets.\").nullable().optional(),\n notifications_seen: z.array(z.unknown()).describe(\"Array tracking notification visibility.\").nullable().optional(),\n accessible_object_ids: SimpleroGetAdministrators_AccessibleObjectIdsSchema.nullable().optional(),\n second_to_last_login_at: z.string().describe(\"ISO-8601 timestamp of the second most recent login.\").nullable().optional(),\n can_self_grant_super_admin: z.boolean().describe(\"Whether the admin can elevate their own permissions.\").nullable().optional(),\n}).describe(\"Administratorship object representing the relationship between a user and an account.\");\nexport const SimpleroGetAdministratorsOutput = z.object({\n administratorships: z.array(SimpleroGetAdministrators_AdministratorshipSchema).describe(\"List of administratorship objects.\"),\n}).describe(\"Response model containing all administratorships for the account.\");\n\nexport const simpleroGetAdministrators = action(\"SIMPLERO_GET_ADMINISTRATORS\", {\n slug: \"simplero-get-administrators\",\n name: \"Get Administrators\",\n description: \"Tool to retrieve all administratorships for the account. Use when you need to get information about account administrators, their roles, and permissions.\",\n input: SimpleroGetAdministratorsInput,\n output: SimpleroGetAdministratorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAClJ,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,SAAS,yBAAyB;
|
|
1
|
+
{"version":3,"file":"get-administrators.mjs","names":[],"sources":["../../src/actions/get-administrators.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetAdministratorsInput = z.object({}).describe(\"Request model for retrieving administratorships. No parameters are required.\");\nconst SimpleroGetAdministrators_AdminRoleSchema = z.object({\n name: z.string().describe(\"The name of the admin role.\").nullable().optional(),\n}).passthrough().describe(\"Admin role information.\");\nconst SimpleroGetAdministrators_AccessibleObjectIdsSchema = z.object({\n site: z.array(z.number().int()).describe(\"List of accessible site IDs.\").nullable().optional(),\n course: z.array(z.number().int()).describe(\"List of accessible course IDs.\").nullable().optional(),\n product: z.array(z.number().int()).describe(\"List of accessible product IDs.\").nullable().optional(),\n worksheet: z.array(z.number().int()).describe(\"List of accessible worksheet IDs.\").nullable().optional(),\n landing_page: z.array(z.number().int()).describe(\"List of accessible landing page IDs.\").nullable().optional(),\n affiliate_program: z.array(z.number().int()).describe(\"List of accessible affiliate program IDs.\").nullable().optional(),\n}).passthrough().describe(\"Permission scope for different object types.\");\nconst SimpleroGetAdministrators_AdministratorshipSchema = z.object({\n id: z.number().int().describe(\"Unique administratorship identifier.\").nullable().optional(),\n enabled: z.boolean().describe(\"Whether the administratorship is active.\").nullable().optional(),\n user_id: z.number().int().describe(\"Associated user ID.\").nullable().optional(),\n account_id: z.number().int().describe(\"Associated account ID.\").nullable().optional(),\n admin_role: SimpleroGetAdministrators_AdminRoleSchema.nullable().optional(),\n created_at: z.string().describe(\"ISO-8601 timestamp when the administratorship was created.\").nullable().optional(),\n num_logins: z.number().int().describe(\"Total number of logins.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO-8601 timestamp when the administratorship was last updated.\").nullable().optional(),\n admin_role_id: z.number().int().describe(\"Role identifier.\").nullable().optional(),\n invitation_id: z.number().int().describe(\"Invitation reference if applicable.\").nullable().optional(),\n last_login_at: z.string().describe(\"ISO-8601 timestamp of the most recent login.\").nullable().optional(),\n show_on_ticket: z.boolean().describe(\"Whether the admin is listed as a support team member.\").nullable().optional(),\n ticket_assignee: z.boolean().describe(\"Whether the admin can be assigned support tickets.\").nullable().optional(),\n ticket_sms_alerts: z.boolean().describe(\"Whether the admin receives SMS alerts for tickets.\").nullable().optional(),\n notifications_seen: z.array(z.unknown()).describe(\"Array tracking notification visibility.\").nullable().optional(),\n accessible_object_ids: SimpleroGetAdministrators_AccessibleObjectIdsSchema.nullable().optional(),\n second_to_last_login_at: z.string().describe(\"ISO-8601 timestamp of the second most recent login.\").nullable().optional(),\n can_self_grant_super_admin: z.boolean().describe(\"Whether the admin can elevate their own permissions.\").nullable().optional(),\n}).passthrough().describe(\"Administratorship object representing the relationship between a user and an account.\");\nexport const SimpleroGetAdministratorsOutput = z.object({\n administratorships: z.array(SimpleroGetAdministrators_AdministratorshipSchema).describe(\"List of administratorship objects.\"),\n}).passthrough().describe(\"Response model containing all administratorships for the account.\");\n\nexport const simpleroGetAdministrators = action(\"SIMPLERO_GET_ADMINISTRATORS\", {\n slug: \"simplero-get-administrators\",\n name: \"Get Administrators\",\n description: \"Tool to retrieve all administratorships for the account. Use when you need to get information about account administrators, their roles, and permissions.\",\n input: SimpleroGetAdministratorsInput,\n output: SimpleroGetAdministratorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAClJ,MAAM,4CAA4C,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yBAAyB;AACnD,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,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;CACvG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,oBAAoB,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,uBAAuB,oDAAoD,SAAS,CAAC,CAAC,SAAS;CAC/F,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,4BAA4B,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAAuF;AAKjH,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,oBAAoB,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,oCAAoC,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const SimpleroGetAsyncRequestStatusOutput = zod.z.object({
|
|
|
10
10
|
enqueued_at: zod.z.string().describe("ISO-8601 timestamp when the request was queued").nullable().optional(),
|
|
11
11
|
completed_at: zod.z.string().describe("ISO-8601 timestamp when processing finished").nullable().optional(),
|
|
12
12
|
processing_started_at: zod.z.string().describe("ISO-8601 timestamp when processing began").nullable().optional()
|
|
13
|
-
}).describe("Response model containing the status and details of an asynchronous request.");
|
|
13
|
+
}).passthrough().describe("Response model containing the status and details of an asynchronous request.");
|
|
14
14
|
const simpleroGetAsyncRequestStatus = require_action.action("SIMPLERO_GET_ASYNC_REQUEST_STATUS", {
|
|
15
15
|
slug: "simplero-get-async-request-status",
|
|
16
16
|
name: "Get Async Request Status",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-async-request-status.cjs","names":["z","action"],"sources":["../../src/actions/get-async-request-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetAsyncRequestStatusInput = z.object({\n token: z.string().describe(\"Request identifier received from the initial asynchronous request. This token is used to identify which async request status to retrieve.\"),\n}).describe(\"Request model for checking the status of an asynchronous API request.\");\nexport const SimpleroGetAsyncRequestStatusOutput = z.object({\n token: z.string().describe(\"Request identifier\").nullable(),\n action: z.string().describe(\"Type of async operation being performed (e.g., 'bulk_subscribe')\").nullable(),\n result: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'pending' (not started), 'running' (being processed), 'success' (completed successfully), 'failure' (failed)\").nullable(),\n enqueued_at: z.string().describe(\"ISO-8601 timestamp when the request was queued\").nullable().optional(),\n completed_at: z.string().describe(\"ISO-8601 timestamp when processing finished\").nullable().optional(),\n processing_started_at: z.string().describe(\"ISO-8601 timestamp when processing began\").nullable().optional(),\n}).describe(\"Response model containing the status and details of an asynchronous request.\");\n\nexport const simpleroGetAsyncRequestStatus = action(\"SIMPLERO_GET_ASYNC_REQUEST_STATUS\", {\n slug: \"simplero-get-async-request-status\",\n name: \"Get Async Request Status\",\n description: \"Tool to check the status of an asynchronous API request. Use when you need to monitor the progress of a previously initiated async operation using its token.\",\n input: SimpleroGetAsyncRequestStatusInput,\n output: SimpleroGetAsyncRequestStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EACxK,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACrM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,8EAA8E;
|
|
1
|
+
{"version":3,"file":"get-async-request-status.cjs","names":["z","action"],"sources":["../../src/actions/get-async-request-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetAsyncRequestStatusInput = z.object({\n token: z.string().describe(\"Request identifier received from the initial asynchronous request. This token is used to identify which async request status to retrieve.\"),\n}).describe(\"Request model for checking the status of an asynchronous API request.\");\nexport const SimpleroGetAsyncRequestStatusOutput = z.object({\n token: z.string().describe(\"Request identifier\").nullable(),\n action: z.string().describe(\"Type of async operation being performed (e.g., 'bulk_subscribe')\").nullable(),\n result: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'pending' (not started), 'running' (being processed), 'success' (completed successfully), 'failure' (failed)\").nullable(),\n enqueued_at: z.string().describe(\"ISO-8601 timestamp when the request was queued\").nullable().optional(),\n completed_at: z.string().describe(\"ISO-8601 timestamp when processing finished\").nullable().optional(),\n processing_started_at: z.string().describe(\"ISO-8601 timestamp when processing began\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the status and details of an asynchronous request.\");\n\nexport const simpleroGetAsyncRequestStatus = action(\"SIMPLERO_GET_ASYNC_REQUEST_STATUS\", {\n slug: \"simplero-get-async-request-status\",\n name: \"Get Async Request Status\",\n description: \"Tool to check the status of an asynchronous API request. Use when you need to monitor the progress of a previously initiated async operation using its token.\",\n input: SimpleroGetAsyncRequestStatusInput,\n output: SimpleroGetAsyncRequestStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EACxK,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACrM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ declare const SimpleroGetAsyncRequestStatusOutput: z.ZodObject<{
|
|
|
12
12
|
enqueued_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
processing_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const simpleroGetAsyncRequestStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
token: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,7 +12,7 @@ declare const SimpleroGetAsyncRequestStatusOutput: z.ZodObject<{
|
|
|
12
12
|
enqueued_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
processing_started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const simpleroGetAsyncRequestStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
token: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -13,7 +13,7 @@ const simpleroGetAsyncRequestStatus = action("SIMPLERO_GET_ASYNC_REQUEST_STATUS"
|
|
|
13
13
|
enqueued_at: z.string().describe("ISO-8601 timestamp when the request was queued").nullable().optional(),
|
|
14
14
|
completed_at: z.string().describe("ISO-8601 timestamp when processing finished").nullable().optional(),
|
|
15
15
|
processing_started_at: z.string().describe("ISO-8601 timestamp when processing began").nullable().optional()
|
|
16
|
-
}).describe("Response model containing the status and details of an asynchronous request.")
|
|
16
|
+
}).passthrough().describe("Response model containing the status and details of an asynchronous request.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { simpleroGetAsyncRequestStatus };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-async-request-status.mjs","names":[],"sources":["../../src/actions/get-async-request-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetAsyncRequestStatusInput = z.object({\n token: z.string().describe(\"Request identifier received from the initial asynchronous request. This token is used to identify which async request status to retrieve.\"),\n}).describe(\"Request model for checking the status of an asynchronous API request.\");\nexport const SimpleroGetAsyncRequestStatusOutput = z.object({\n token: z.string().describe(\"Request identifier\").nullable(),\n action: z.string().describe(\"Type of async operation being performed (e.g., 'bulk_subscribe')\").nullable(),\n result: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'pending' (not started), 'running' (being processed), 'success' (completed successfully), 'failure' (failed)\").nullable(),\n enqueued_at: z.string().describe(\"ISO-8601 timestamp when the request was queued\").nullable().optional(),\n completed_at: z.string().describe(\"ISO-8601 timestamp when processing finished\").nullable().optional(),\n processing_started_at: z.string().describe(\"ISO-8601 timestamp when processing began\").nullable().optional(),\n}).describe(\"Response model containing the status and details of an asynchronous request.\");\n\nexport const simpleroGetAsyncRequestStatus = action(\"SIMPLERO_GET_ASYNC_REQUEST_STATUS\", {\n slug: \"simplero-get-async-request-status\",\n name: \"Get Async Request Status\",\n description: \"Tool to check the status of an asynchronous API request. Use when you need to monitor the progress of a previously initiated async operation using its token.\",\n input: SimpleroGetAsyncRequestStatusInput,\n output: SimpleroGetAsyncRequestStatusOutput,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO,EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EACxK,CAAC,CAAC,CAAC,SAAS,uEAeH;CACP,QAfiD,EAAE,OAAO;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;EACrM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-async-request-status.mjs","names":[],"sources":["../../src/actions/get-async-request-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetAsyncRequestStatusInput = z.object({\n token: z.string().describe(\"Request identifier received from the initial asynchronous request. This token is used to identify which async request status to retrieve.\"),\n}).describe(\"Request model for checking the status of an asynchronous API request.\");\nexport const SimpleroGetAsyncRequestStatusOutput = z.object({\n token: z.string().describe(\"Request identifier\").nullable(),\n action: z.string().describe(\"Type of async operation being performed (e.g., 'bulk_subscribe')\").nullable(),\n result: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n status: z.string().describe(\"Current status of the request. Possible values: 'pending' (not started), 'running' (being processed), 'success' (completed successfully), 'failure' (failed)\").nullable(),\n enqueued_at: z.string().describe(\"ISO-8601 timestamp when the request was queued\").nullable().optional(),\n completed_at: z.string().describe(\"ISO-8601 timestamp when processing finished\").nullable().optional(),\n processing_started_at: z.string().describe(\"ISO-8601 timestamp when processing began\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the status and details of an asynchronous request.\");\n\nexport const simpleroGetAsyncRequestStatus = action(\"SIMPLERO_GET_ASYNC_REQUEST_STATUS\", {\n slug: \"simplero-get-async-request-status\",\n name: \"Get Async Request Status\",\n description: \"Tool to check the status of an asynchronous API request. Use when you need to monitor the progress of a previously initiated async operation using its token.\",\n input: SimpleroGetAsyncRequestStatusInput,\n output: SimpleroGetAsyncRequestStatusOutput,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO,EACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,EACxK,CAAC,CAAC,CAAC,SAAS,uEAeH;CACP,QAfiD,EAAE,OAAO;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EACzG,QAAQ,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;EACrM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAOhB;AACV,CAAC"}
|
|
@@ -16,7 +16,7 @@ const SimpleroGetContactByIdOutput = zod.z.object({
|
|
|
16
16
|
first_names: zod.z.string().describe("Contact's first name(s)").nullable().optional(),
|
|
17
17
|
contact_since: zod.z.string().describe("Human-readable contact duration").nullable().optional(),
|
|
18
18
|
do_not_contact: zod.z.boolean().describe("Flag indicating do not contact preference").nullable().optional()
|
|
19
|
-
}).describe("Response model for contact details.");
|
|
19
|
+
}).passthrough().describe("Response model for contact details.");
|
|
20
20
|
const simpleroGetContactById = require_action.action("SIMPLERO_GET_CONTACT_BY_ID", {
|
|
21
21
|
slug: "simplero-get-contact-by-id",
|
|
22
22
|
name: "Get Contact By ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetContactByIdInput = z.object({\n id: z.number().int().describe(\"The internal ID of the contact to retrieve. This ID is obtained from previous API calls.\"),\n}).describe(\"Request model for retrieving a contact by internal ID.\");\nexport const SimpleroGetContactByIdOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n phone: z.string().describe(\"Sanitized phone number with country code\").nullable().optional(),\n referrer: z.string().describe(\"Referring URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n contact_since: z.string().describe(\"Human-readable contact duration\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Flag indicating do not contact preference\").nullable().optional(),\n}).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,MAAa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,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"get-contact-by-id.cjs","names":["z","action"],"sources":["../../src/actions/get-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetContactByIdInput = z.object({\n id: z.number().int().describe(\"The internal ID of the contact to retrieve. This ID is obtained from previous API calls.\"),\n}).describe(\"Request model for retrieving a contact by internal ID.\");\nexport const SimpleroGetContactByIdOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n phone: z.string().describe(\"Sanitized phone number with country code\").nullable().optional(),\n referrer: z.string().describe(\"Referring URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n contact_since: z.string().describe(\"Human-readable contact duration\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Flag indicating do not contact preference\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact details.\");\n\nexport const simpleroGetContactById = action(\"SIMPLERO_GET_CONTACT_BY_ID\", {\n slug: \"simplero-get-contact-by-id\",\n name: \"Get Contact By ID\",\n description: \"Tool to retrieve a JSON representation of a contact by internal ID. Use when you need to fetch detailed information about a specific contact. Returns 404 if no contact exists with the provided ID.\",\n input: SimpleroGetContactByIdInput,\n output: SimpleroGetContactByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,EAC1H,CAA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AAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -18,7 +18,7 @@ declare const SimpleroGetContactByIdOutput: z.ZodObject<{
|
|
|
18
18
|
first_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
contact_since: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
do_not_contact: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const simpleroGetContactById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
id: number;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -18,7 +18,7 @@ declare const SimpleroGetContactByIdOutput: z.ZodObject<{
|
|
|
18
18
|
first_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
contact_since: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
do_not_contact: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const simpleroGetContactById: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
id: number;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -19,7 +19,7 @@ const simpleroGetContactById = action("SIMPLERO_GET_CONTACT_BY_ID", {
|
|
|
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()
|
|
22
|
-
}).describe("Response model for contact details.")
|
|
22
|
+
}).passthrough().describe("Response model for contact details.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { simpleroGetContactById };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-contact-by-id.mjs","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetContactByIdInput = z.object({\n id: z.number().int().describe(\"The internal ID of the contact to retrieve. This ID is obtained from previous API calls.\"),\n}).describe(\"Request model for retrieving a contact by internal ID.\");\nexport const SimpleroGetContactByIdOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n phone: z.string().describe(\"Sanitized phone number with country code\").nullable().optional(),\n referrer: z.string().describe(\"Referring URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n contact_since: z.string().describe(\"Human-readable contact duration\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Flag indicating do not contact preference\").nullable().optional(),\n}).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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,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,
|
|
1
|
+
{"version":3,"file":"get-contact-by-id.mjs","names":[],"sources":["../../src/actions/get-contact-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetContactByIdInput = z.object({\n id: z.number().int().describe(\"The internal ID of the contact to retrieve. This ID is obtained from previous API calls.\"),\n}).describe(\"Request model for retrieving a contact by internal ID.\");\nexport const SimpleroGetContactByIdOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable(),\n phone: z.string().describe(\"Sanitized phone number with country code\").nullable().optional(),\n referrer: z.string().describe(\"Referring URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n contact_since: z.string().describe(\"Human-readable contact duration\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Flag indicating do not contact preference\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact details.\");\n\nexport const simpleroGetContactById = action(\"SIMPLERO_GET_CONTACT_BY_ID\", {\n slug: \"simplero-get-contact-by-id\",\n name: \"Get Contact By ID\",\n description: \"Tool to retrieve a JSON representation of a contact by internal ID. Use when you need to fetch detailed information about a specific contact. Returns 404 if no contact exists with the provided ID.\",\n input: SimpleroGetContactByIdInput,\n output: SimpleroGetContactByIdOutput,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F,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
|
|
@@ -19,8 +19,8 @@ const SimpleroGetInvoices_InvoiceSchema = zod.z.object({
|
|
|
19
19
|
customer_id: zod.z.number().int().describe("Associated customer ID").nullable().optional(),
|
|
20
20
|
amount_cents: zod.z.number().int().describe("Invoice amount in cents").nullable().optional(),
|
|
21
21
|
invoice_number: zod.z.string().describe("Invoice number").nullable().optional()
|
|
22
|
-
}).describe("Model representing an invoice object.");
|
|
23
|
-
const SimpleroGetInvoicesOutput = zod.z.object({ invoices: zod.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.") }).describe("Response model containing a list of invoices.");
|
|
22
|
+
}).passthrough().describe("Model representing an invoice object.");
|
|
23
|
+
const SimpleroGetInvoicesOutput = zod.z.object({ invoices: zod.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.") }).passthrough().describe("Response model containing a list of invoices.");
|
|
24
24
|
const simpleroGetInvoices = require_action.action("SIMPLERO_GET_INVOICES", {
|
|
25
25
|
slug: "simplero-get-invoices",
|
|
26
26
|
name: "Get Invoices",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-invoices.cjs","names":["z","action"],"sources":["../../src/actions/get-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetInvoicesInput = z.object({\n dir: z.string().describe(\"Sort direction for results. Use 'asc' for ascending or 'desc' for descending (case-insensitive). Defaults to 'asc' if not specified.\").optional(),\n page: z.number().int().describe(\"Page number for pagination. Returns 20 invoices per page. Defaults to 1 if not specified.\").optional(),\n created_at_to: z.string().describe(\"Return invoices created before this time. Must be an ISO-8601 datetime string (e.g., '2024-12-31T23:59:59Z').\").optional(),\n created_at_from: z.string().describe(\"Return invoices created at or after this time. Must be an ISO-8601 datetime string (e.g., '2024-01-01T00:00:00Z').\").optional(),\n invoice_number_to: z.string().describe(\"Return invoices with an invoice number alphabetically less than this value.\").optional(),\n invoice_number_from: z.string().describe(\"Return invoices with an invoice number alphabetically equal to or greater than this value.\").optional(),\n}).describe(\"Request model for retrieving invoices with optional filtering.\");\nconst SimpleroGetInvoices_InvoiceSchema = z.object({\n id: z.number().int().describe(\"Invoice identifier\").nullable().optional(),\n status: z.string().describe(\"Invoice status\").nullable().optional(),\n paid_at: z.string().describe(\"ISO 8601 timestamp when invoice was paid\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of invoice creation\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n customer_id: z.number().int().describe(\"Associated customer ID\").nullable().optional(),\n amount_cents: z.number().int().describe(\"Invoice amount in cents\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number\").nullable().optional(),\n}).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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AE,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;
|
|
1
|
+
{"version":3,"file":"get-invoices.cjs","names":["z","action"],"sources":["../../src/actions/get-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetInvoicesInput = z.object({\n dir: z.string().describe(\"Sort direction for results. Use 'asc' for ascending or 'desc' for descending (case-insensitive). Defaults to 'asc' if not specified.\").optional(),\n page: z.number().int().describe(\"Page number for pagination. Returns 20 invoices per page. Defaults to 1 if not specified.\").optional(),\n created_at_to: z.string().describe(\"Return invoices created before this time. Must be an ISO-8601 datetime string (e.g., '2024-12-31T23:59:59Z').\").optional(),\n created_at_from: z.string().describe(\"Return invoices created at or after this time. Must be an ISO-8601 datetime string (e.g., '2024-01-01T00:00:00Z').\").optional(),\n invoice_number_to: z.string().describe(\"Return invoices with an invoice number alphabetically less than this value.\").optional(),\n invoice_number_from: z.string().describe(\"Return invoices with an invoice number alphabetically equal to or greater than this value.\").optional(),\n}).describe(\"Request model for retrieving invoices with optional filtering.\");\nconst SimpleroGetInvoices_InvoiceSchema = z.object({\n id: z.number().int().describe(\"Invoice identifier\").nullable().optional(),\n status: z.string().describe(\"Invoice status\").nullable().optional(),\n paid_at: z.string().describe(\"ISO 8601 timestamp when invoice was paid\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of invoice creation\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n customer_id: z.number().int().describe(\"Associated customer ID\").nullable().optional(),\n amount_cents: z.number().int().describe(\"Invoice amount in cents\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number\").nullable().optional(),\n}).passthrough().describe(\"Model representing an invoice object.\");\nexport const SimpleroGetInvoicesOutput = z.object({\n invoices: z.array(SimpleroGetInvoices_InvoiceSchema).describe(\"List of invoice objects. Each invoice contains invoice details. Returns up to 20 invoices per page ordered by invoice number.\"),\n}).passthrough().describe(\"Response model containing a list of invoices.\");\n\nexport const simpleroGetInvoices = action(\"SIMPLERO_GET_INVOICES\", {\n slug: \"simplero-get-invoices\",\n name: \"Get Invoices\",\n description: \"Tool to get invoice information with optional filtering by date and invoice number. Use when you need to retrieve invoices from Simplero. Returns 20 invoices per page ordered by invoice number.\",\n input: SimpleroGetInvoicesInput,\n output: SimpleroGetInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC1K,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACtI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CAC7J,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACpK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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,CAA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ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
invoice_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const simpleroGetInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
dir?: string | undefined;
|
|
27
27
|
page?: number | undefined;
|
|
@@ -20,8 +20,8 @@ declare const SimpleroGetInvoicesOutput: z.ZodObject<{
|
|
|
20
20
|
customer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
21
|
amount_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
22
|
invoice_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const simpleroGetInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
dir?: string | undefined;
|
|
27
27
|
page?: number | undefined;
|
|
@@ -19,13 +19,13 @@ const SimpleroGetInvoices_InvoiceSchema = z.object({
|
|
|
19
19
|
customer_id: z.number().int().describe("Associated customer ID").nullable().optional(),
|
|
20
20
|
amount_cents: z.number().int().describe("Invoice amount in cents").nullable().optional(),
|
|
21
21
|
invoice_number: z.string().describe("Invoice number").nullable().optional()
|
|
22
|
-
}).describe("Model representing an invoice object.");
|
|
22
|
+
}).passthrough().describe("Model representing an invoice object.");
|
|
23
23
|
const simpleroGetInvoices = action("SIMPLERO_GET_INVOICES", {
|
|
24
24
|
slug: "simplero-get-invoices",
|
|
25
25
|
name: "Get Invoices",
|
|
26
26
|
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.",
|
|
27
27
|
input: SimpleroGetInvoicesInput,
|
|
28
|
-
output: z.object({ 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.") }).describe("Response model containing a list of invoices.")
|
|
28
|
+
output: z.object({ 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.") }).passthrough().describe("Response model containing a list of invoices.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { simpleroGetInvoices };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-invoices.mjs","names":[],"sources":["../../src/actions/get-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetInvoicesInput = z.object({\n dir: z.string().describe(\"Sort direction for results. Use 'asc' for ascending or 'desc' for descending (case-insensitive). Defaults to 'asc' if not specified.\").optional(),\n page: z.number().int().describe(\"Page number for pagination. Returns 20 invoices per page. Defaults to 1 if not specified.\").optional(),\n created_at_to: z.string().describe(\"Return invoices created before this time. Must be an ISO-8601 datetime string (e.g., '2024-12-31T23:59:59Z').\").optional(),\n created_at_from: z.string().describe(\"Return invoices created at or after this time. Must be an ISO-8601 datetime string (e.g., '2024-01-01T00:00:00Z').\").optional(),\n invoice_number_to: z.string().describe(\"Return invoices with an invoice number alphabetically less than this value.\").optional(),\n invoice_number_from: z.string().describe(\"Return invoices with an invoice number alphabetically equal to or greater than this value.\").optional(),\n}).describe(\"Request model for retrieving invoices with optional filtering.\");\nconst SimpleroGetInvoices_InvoiceSchema = z.object({\n id: z.number().int().describe(\"Invoice identifier\").nullable().optional(),\n status: z.string().describe(\"Invoice status\").nullable().optional(),\n paid_at: z.string().describe(\"ISO 8601 timestamp when invoice was paid\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of invoice creation\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n customer_id: z.number().int().describe(\"Associated customer ID\").nullable().optional(),\n amount_cents: z.number().int().describe(\"Invoice amount in cents\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number\").nullable().optional(),\n}).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;
|
|
1
|
+
{"version":3,"file":"get-invoices.mjs","names":[],"sources":["../../src/actions/get-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetInvoicesInput = z.object({\n dir: z.string().describe(\"Sort direction for results. Use 'asc' for ascending or 'desc' for descending (case-insensitive). Defaults to 'asc' if not specified.\").optional(),\n page: z.number().int().describe(\"Page number for pagination. Returns 20 invoices per page. Defaults to 1 if not specified.\").optional(),\n created_at_to: z.string().describe(\"Return invoices created before this time. Must be an ISO-8601 datetime string (e.g., '2024-12-31T23:59:59Z').\").optional(),\n created_at_from: z.string().describe(\"Return invoices created at or after this time. Must be an ISO-8601 datetime string (e.g., '2024-01-01T00:00:00Z').\").optional(),\n invoice_number_to: z.string().describe(\"Return invoices with an invoice number alphabetically less than this value.\").optional(),\n invoice_number_from: z.string().describe(\"Return invoices with an invoice number alphabetically equal to or greater than this value.\").optional(),\n}).describe(\"Request model for retrieving invoices with optional filtering.\");\nconst SimpleroGetInvoices_InvoiceSchema = z.object({\n id: z.number().int().describe(\"Invoice identifier\").nullable().optional(),\n status: z.string().describe(\"Invoice status\").nullable().optional(),\n paid_at: z.string().describe(\"ISO 8601 timestamp when invoice was paid\").nullable().optional(),\n currency: z.string().describe(\"Currency code\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of invoice creation\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of last update\").nullable().optional(),\n customer_id: z.number().int().describe(\"Associated customer ID\").nullable().optional(),\n amount_cents: z.number().int().describe(\"Invoice amount in cents\").nullable().optional(),\n invoice_number: z.string().describe(\"Invoice number\").nullable().optional(),\n}).passthrough().describe(\"Model representing an invoice object.\");\nexport const SimpleroGetInvoicesOutput = z.object({\n invoices: z.array(SimpleroGetInvoices_InvoiceSchema).describe(\"List of invoice objects. Each invoice contains invoice details. Returns up to 20 invoices per page ordered by invoice number.\"),\n}).passthrough().describe(\"Response model containing a list of invoices.\");\n\nexport const simpleroGetInvoices = action(\"SIMPLERO_GET_INVOICES\", {\n slug: \"simplero-get-invoices\",\n name: \"Get Invoices\",\n description: \"Tool to get invoice information with optional filtering by date and invoice number. Use when you need to retrieve invoices from Simplero. Returns 20 invoices per page ordered by invoice number.\",\n input: SimpleroGetInvoicesInput,\n output: SimpleroGetInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC1K,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACtI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+G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AO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,+HAA+H,EAC/L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -15,8 +15,8 @@ const SimpleroGetLists_ListItemSchema = zod.z.object({
|
|
|
15
15
|
unsubscribed_url: zod.z.string().describe("Unsubscribe page URL").nullable().optional(),
|
|
16
16
|
confirm_pending_url: zod.z.string().describe("Confirmation page URL").nullable().optional(),
|
|
17
17
|
require_confirmation: zod.z.boolean().describe("Whether double opt-in is enabled").nullable().optional()
|
|
18
|
-
}).describe("Model representing a single mailing list.");
|
|
19
|
-
const SimpleroGetListsOutput = zod.z.object({ lists: zod.z.array(SimpleroGetLists_ListItemSchema).describe("Array of list objects with metadata for managing subscriptions").nullable().optional() }).describe("Response model containing all mailing lists.");
|
|
18
|
+
}).passthrough().describe("Model representing a single mailing list.");
|
|
19
|
+
const SimpleroGetListsOutput = zod.z.object({ lists: zod.z.array(SimpleroGetLists_ListItemSchema).describe("Array of list objects with metadata for managing subscriptions").nullable().optional() }).passthrough().describe("Response model containing all mailing lists.");
|
|
20
20
|
const simpleroGetLists = require_action.action("SIMPLERO_GET_LISTS", {
|
|
21
21
|
slug: "simplero-get-lists",
|
|
22
22
|
name: "Get All Lists",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetListsInput = z.object({}).describe(\"Request model for getting all lists. No parameters required.\");\nconst SimpleroGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the list\").nullable().optional(),\n name: z.string().describe(\"Public name of the list\").nullable().optional(),\n reply_to: z.string().describe(\"Reply-to email address\").nullable().optional(),\n return_to: z.string().describe(\"Redirect URL after subscription\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n sender_name: z.string().describe(\"Display name for the sender\").nullable().optional(),\n sender_email: z.string().describe(\"Email address used for sending messages\").nullable().optional(),\n internal_name: z.string().describe(\"Internal reference name for the list\").nullable().optional(),\n email_field_name: z.string().describe(\"Internal field identifier\").nullable().optional(),\n unsubscribed_url: z.string().describe(\"Unsubscribe page URL\").nullable().optional(),\n confirm_pending_url: z.string().describe(\"Confirmation page URL\").nullable().optional(),\n require_confirmation: z.boolean().describe(\"Whether double opt-in is enabled\").nullable().optional(),\n}).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,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,2CAA2C;
|
|
1
|
+
{"version":3,"file":"get-lists.cjs","names":["z","action"],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetListsInput = z.object({}).describe(\"Request model for getting all lists. No parameters required.\");\nconst SimpleroGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the list\").nullable().optional(),\n name: z.string().describe(\"Public name of the list\").nullable().optional(),\n reply_to: z.string().describe(\"Reply-to email address\").nullable().optional(),\n return_to: z.string().describe(\"Redirect URL after subscription\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n sender_name: z.string().describe(\"Display name for the sender\").nullable().optional(),\n sender_email: z.string().describe(\"Email address used for sending messages\").nullable().optional(),\n internal_name: z.string().describe(\"Internal reference name for the list\").nullable().optional(),\n email_field_name: z.string().describe(\"Internal field identifier\").nullable().optional(),\n unsubscribed_url: z.string().describe(\"Unsubscribe page URL\").nullable().optional(),\n confirm_pending_url: z.string().describe(\"Confirmation page URL\").nullable().optional(),\n require_confirmation: z.boolean().describe(\"Whether double opt-in is enabled\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single mailing list.\");\nexport const SimpleroGetListsOutput = z.object({\n lists: z.array(SimpleroGetLists_ListItemSchema).describe(\"Array of list objects with metadata for managing subscriptions\").nullable().optional(),\n}).passthrough().describe(\"Response model containing all mailing lists.\");\n\nexport const simpleroGetLists = action(\"SIMPLERO_GET_LISTS\", {\n slug: \"simplero-get-lists\",\n name: \"Get All Lists\",\n description: \"Tool to retrieve all mailing lists configured in the account. Use when you need to view all available lists for managing subscriptions and email campaigns.\",\n input: SimpleroGetListsInput,\n output: SimpleroGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,S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: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
confirm_pending_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
require_confirmation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
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]>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { simpleroGetLists };
|
|
@@ -16,8 +16,8 @@ declare const SimpleroGetListsOutput: z.ZodObject<{
|
|
|
16
16
|
unsubscribed_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
confirm_pending_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
require_confirmation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
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]>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { simpleroGetLists };
|
|
@@ -15,13 +15,13 @@ const SimpleroGetLists_ListItemSchema = z.object({
|
|
|
15
15
|
unsubscribed_url: z.string().describe("Unsubscribe page URL").nullable().optional(),
|
|
16
16
|
confirm_pending_url: z.string().describe("Confirmation page URL").nullable().optional(),
|
|
17
17
|
require_confirmation: z.boolean().describe("Whether double opt-in is enabled").nullable().optional()
|
|
18
|
-
}).describe("Model representing a single mailing list.");
|
|
18
|
+
}).passthrough().describe("Model representing a single mailing list.");
|
|
19
19
|
const simpleroGetLists = action("SIMPLERO_GET_LISTS", {
|
|
20
20
|
slug: "simplero-get-lists",
|
|
21
21
|
name: "Get All Lists",
|
|
22
22
|
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.",
|
|
23
23
|
input: SimpleroGetListsInput,
|
|
24
|
-
output: z.object({ lists: z.array(SimpleroGetLists_ListItemSchema).describe("Array of list objects with metadata for managing subscriptions").nullable().optional() }).describe("Response model containing all mailing lists.")
|
|
24
|
+
output: z.object({ lists: z.array(SimpleroGetLists_ListItemSchema).describe("Array of list objects with metadata for managing subscriptions").nullable().optional() }).passthrough().describe("Response model containing all mailing lists.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { simpleroGetLists };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetListsInput = z.object({}).describe(\"Request model for getting all lists. No parameters required.\");\nconst SimpleroGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the list\").nullable().optional(),\n name: z.string().describe(\"Public name of the list\").nullable().optional(),\n reply_to: z.string().describe(\"Reply-to email address\").nullable().optional(),\n return_to: z.string().describe(\"Redirect URL after subscription\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n sender_name: z.string().describe(\"Display name for the sender\").nullable().optional(),\n sender_email: z.string().describe(\"Email address used for sending messages\").nullable().optional(),\n internal_name: z.string().describe(\"Internal reference name for the list\").nullable().optional(),\n email_field_name: z.string().describe(\"Internal field identifier\").nullable().optional(),\n unsubscribed_url: z.string().describe(\"Unsubscribe page URL\").nullable().optional(),\n confirm_pending_url: z.string().describe(\"Confirmation page URL\").nullable().optional(),\n require_confirmation: z.boolean().describe(\"Whether double opt-in is enabled\").nullable().optional(),\n}).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;
|
|
1
|
+
{"version":3,"file":"get-lists.mjs","names":[],"sources":["../../src/actions/get-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetListsInput = z.object({}).describe(\"Request model for getting all lists. No parameters required.\");\nconst SimpleroGetLists_ListItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the list\").nullable().optional(),\n name: z.string().describe(\"Public name of the list\").nullable().optional(),\n reply_to: z.string().describe(\"Reply-to email address\").nullable().optional(),\n return_to: z.string().describe(\"Redirect URL after subscription\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n sender_name: z.string().describe(\"Display name for the sender\").nullable().optional(),\n sender_email: z.string().describe(\"Email address used for sending messages\").nullable().optional(),\n internal_name: z.string().describe(\"Internal reference name for the list\").nullable().optional(),\n email_field_name: z.string().describe(\"Internal field identifier\").nullable().optional(),\n unsubscribed_url: z.string().describe(\"Unsubscribe page URL\").nullable().optional(),\n confirm_pending_url: z.string().describe(\"Confirmation page URL\").nullable().optional(),\n require_confirmation: z.boolean().describe(\"Whether double opt-in is enabled\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single mailing list.\");\nexport const SimpleroGetListsOutput = z.object({\n lists: z.array(SimpleroGetLists_ListItemSchema).describe(\"Array of list objects with metadata for managing subscriptions\").nullable().optional(),\n}).passthrough().describe(\"Response model containing all mailing lists.\");\n\nexport const simpleroGetLists = action(\"SIMPLERO_GET_LISTS\", {\n slug: \"simplero-get-lists\",\n name: \"Get All Lists\",\n description: \"Tool to retrieve all mailing lists configured in the account. Use when you need to view all available lists for managing subscriptions and email campaigns.\",\n input: SimpleroGetListsInput,\n output: SimpleroGetListsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACzH,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,sBAAsB,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,OAAO,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -10,8 +10,8 @@ const SimpleroGetProducts_ProductItemSchema = zod.z.object({
|
|
|
10
10
|
sales_price_cents: zod.z.number().int().describe("Sales price in cents").nullable().optional(),
|
|
11
11
|
incoming_price_cents: zod.z.number().int().describe("Incoming price in cents").nullable().optional(),
|
|
12
12
|
received_price_cents: zod.z.number().int().describe("Price received in cents").nullable().optional()
|
|
13
|
-
}).describe("Model representing a single product.");
|
|
14
|
-
const SimpleroGetProductsOutput = zod.z.object({ products: zod.z.array(SimpleroGetProducts_ProductItemSchema).describe("Array of product objects").nullable().optional() }).describe("Response model containing list of products.");
|
|
13
|
+
}).passthrough().describe("Model representing a single product.");
|
|
14
|
+
const SimpleroGetProductsOutput = zod.z.object({ products: zod.z.array(SimpleroGetProducts_ProductItemSchema).describe("Array of product objects").nullable().optional() }).passthrough().describe("Response model containing list of products.");
|
|
15
15
|
const simpleroGetProducts = require_action.action("SIMPLERO_GET_PRODUCTS", {
|
|
16
16
|
slug: "simplero-get-products",
|
|
17
17
|
name: "Get Products",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-products.cjs","names":["z","action"],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetProductsInput = z.object({}).describe(\"Request model for listing all products.\");\nconst SimpleroGetProducts_ProductItemSchema = z.object({\n id: z.number().int().describe(\"Unique product identifier\").nullable().optional(),\n name: z.string().describe(\"Product display name\").nullable().optional(),\n handle: z.string().describe(\"URL-friendly product identifier\").nullable().optional(),\n sales_page_url: z.string().describe(\"Product sales page URL (can be null)\").nullable().optional(),\n sales_price_cents: z.number().int().describe(\"Sales price in cents\").nullable().optional(),\n incoming_price_cents: z.number().int().describe(\"Incoming price in cents\").nullable().optional(),\n received_price_cents: z.number().int().describe(\"Price received in cents\").nullable().optional(),\n}).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;
|
|
1
|
+
{"version":3,"file":"get-products.cjs","names":["z","action"],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetProductsInput = z.object({}).describe(\"Request model for listing all products.\");\nconst SimpleroGetProducts_ProductItemSchema = z.object({\n id: z.number().int().describe(\"Unique product identifier\").nullable().optional(),\n name: z.string().describe(\"Product display name\").nullable().optional(),\n handle: z.string().describe(\"URL-friendly product identifier\").nullable().optional(),\n sales_page_url: z.string().describe(\"Product sales page URL (can be null)\").nullable().optional(),\n sales_price_cents: z.number().int().describe(\"Sales price in cents\").nullable().optional(),\n incoming_price_cents: z.number().int().describe(\"Incoming price in cents\").nullable().optional(),\n received_price_cents: z.number().int().describe(\"Price received in cents\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single product.\");\nexport const SimpleroGetProductsOutput = z.object({\n products: z.array(SimpleroGetProducts_ProductItemSchema).describe(\"Array of product objects\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of products.\");\n\nexport const simpleroGetProducts = action(\"SIMPLERO_GET_PRODUCTS\", {\n slug: \"simplero-get-products\",\n name: \"Get Products\",\n description: \"Tool to list all products in the account. Use when you need to retrieve information about all available products including their pricing.\",\n input: SimpleroGetProductsInput,\n output: SimpleroGetProductsOut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AAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const SimpleroGetProductsOutput: z.ZodObject<{
|
|
|
11
11
|
sales_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
incoming_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
received_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
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]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { simpleroGetProducts };
|
|
@@ -11,8 +11,8 @@ declare const SimpleroGetProductsOutput: z.ZodObject<{
|
|
|
11
11
|
sales_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
12
|
incoming_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
received_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
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]>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { simpleroGetProducts };
|
|
@@ -10,13 +10,13 @@ const SimpleroGetProducts_ProductItemSchema = z.object({
|
|
|
10
10
|
sales_price_cents: z.number().int().describe("Sales price in cents").nullable().optional(),
|
|
11
11
|
incoming_price_cents: z.number().int().describe("Incoming price in cents").nullable().optional(),
|
|
12
12
|
received_price_cents: z.number().int().describe("Price received in cents").nullable().optional()
|
|
13
|
-
}).describe("Model representing a single product.");
|
|
13
|
+
}).passthrough().describe("Model representing a single product.");
|
|
14
14
|
const simpleroGetProducts = action("SIMPLERO_GET_PRODUCTS", {
|
|
15
15
|
slug: "simplero-get-products",
|
|
16
16
|
name: "Get Products",
|
|
17
17
|
description: "Tool to list all products in the account. Use when you need to retrieve information about all available products including their pricing.",
|
|
18
18
|
input: SimpleroGetProductsInput,
|
|
19
|
-
output: z.object({ products: z.array(SimpleroGetProducts_ProductItemSchema).describe("Array of product objects").nullable().optional() }).describe("Response model containing list of products.")
|
|
19
|
+
output: z.object({ products: z.array(SimpleroGetProducts_ProductItemSchema).describe("Array of product objects").nullable().optional() }).passthrough().describe("Response model containing list of products.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { simpleroGetProducts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-products.mjs","names":[],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetProductsInput = z.object({}).describe(\"Request model for listing all products.\");\nconst SimpleroGetProducts_ProductItemSchema = z.object({\n id: z.number().int().describe(\"Unique product identifier\").nullable().optional(),\n name: z.string().describe(\"Product display name\").nullable().optional(),\n handle: z.string().describe(\"URL-friendly product identifier\").nullable().optional(),\n sales_page_url: z.string().describe(\"Product sales page URL (can be null)\").nullable().optional(),\n sales_price_cents: z.number().int().describe(\"Sales price in cents\").nullable().optional(),\n incoming_price_cents: z.number().int().describe(\"Incoming price in cents\").nullable().optional(),\n received_price_cents: z.number().int().describe(\"Price received in cents\").nullable().optional(),\n}).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;
|
|
1
|
+
{"version":3,"file":"get-products.mjs","names":[],"sources":["../../src/actions/get-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroGetProductsInput = z.object({}).describe(\"Request model for listing all products.\");\nconst SimpleroGetProducts_ProductItemSchema = z.object({\n id: z.number().int().describe(\"Unique product identifier\").nullable().optional(),\n name: z.string().describe(\"Product display name\").nullable().optional(),\n handle: z.string().describe(\"URL-friendly product identifier\").nullable().optional(),\n sales_page_url: z.string().describe(\"Product sales page URL (can be null)\").nullable().optional(),\n sales_price_cents: z.number().int().describe(\"Sales price in cents\").nullable().optional(),\n incoming_price_cents: z.number().int().describe(\"Incoming price in cents\").nullable().optional(),\n received_price_cents: z.number().int().describe(\"Price received in cents\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single product.\");\nexport const SimpleroGetProductsOutput = z.object({\n products: z.array(SimpleroGetProducts_ProductItemSchema).describe(\"Array of product objects\").nullable().optional(),\n}).passthrough().describe(\"Response model containing list of products.\");\n\nexport const simpleroGetProducts = action(\"SIMPLERO_GET_PRODUCTS\", {\n slug: \"simplero-get-products\",\n name: \"Get Products\",\n description: \"Tool to list all products in the account. Use when you need to retrieve information about all available products including their pricing.\",\n input: SimpleroGetProductsInput,\n output: SimpleroGetProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACvG,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SimpleroRemoveAdministratorInput = zod.z.object({ id: zod.z.number().int()
|
|
|
5
5
|
const SimpleroRemoveAdministratorOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Additional message from the API response").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates whether the deletion was successful").nullable().optional()
|
|
8
|
-
}).describe("Response model for administrator removal operation.");
|
|
8
|
+
}).passthrough().describe("Response model for administrator removal operation.");
|
|
9
9
|
const simpleroRemoveAdministrator = require_action.action("SIMPLERO_REMOVE_ADMINISTRATOR", {
|
|
10
10
|
slug: "simplero-remove-administrator",
|
|
11
11
|
name: "Remove Administrator",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-administrator.cjs","names":["z","action"],"sources":["../../src/actions/remove-administrator.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveAdministratorInput = z.object({\n id: z.number().int().describe(\"The internal administratorship ID to remove. Must be obtained from a previous API call.\"),\n}).describe(\"Request model for removing an administrator.\");\nexport const SimpleroRemoveAdministratorOutput = z.object({\n message: z.string().describe(\"Additional message from the API response\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).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;
|
|
1
|
+
{"version":3,"file":"remove-administrator.cjs","names":["z","action"],"sources":["../../src/actions/remove-administrator.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveAdministratorInput = z.object({\n id: z.number().int().describe(\"The internal administratorship ID to remove. Must be obtained from a previous API call.\"),\n}).describe(\"Request model for removing an administrator.\");\nexport const SimpleroRemoveAdministratorOutput = z.object({\n message: z.string().describe(\"Additional message from the API response\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for administrator removal operation.\");\n\nexport const simpleroRemoveAdministrator = action(\"SIMPLERO_REMOVE_ADMINISTRATOR\", {\n slug: \"simplero-remove-administrator\",\n name: \"Remove Administrator\",\n description: \"Tool to delete an administratorship by ID. Use when you need to remove an administrator relationship from the system.\",\n input: SimpleroRemoveAdministratorInput,\n output: SimpleroRemoveAdministratorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,EACzH,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,8BAA8BC,eAAAA,OAAO,iCAAiC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const SimpleroRemoveAdministratorInput: z.ZodObject<{
|
|
|
7
7
|
declare const SimpleroRemoveAdministratorOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const simpleroRemoveAdministrator: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: number;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const SimpleroRemoveAdministratorInput: z.ZodObject<{
|
|
|
7
7
|
declare const SimpleroRemoveAdministratorOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const simpleroRemoveAdministrator: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: number;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const simpleroRemoveAdministrator = action("SIMPLERO_REMOVE_ADMINISTRATOR", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Additional message from the API response").nullable().optional(),
|
|
10
10
|
success: z.boolean().describe("Indicates whether the deletion was successful").nullable().optional()
|
|
11
|
-
}).describe("Response model for administrator removal operation.")
|
|
11
|
+
}).passthrough().describe("Response model for administrator removal operation.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { simpleroRemoveAdministrator };
|