@keystrokehq/simplero 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-tag-to-contact.cjs +1 -0
- package/dist/actions/add-tag-to-contact.cjs.map +1 -1
- package/dist/actions/add-tag-to-contact.d.cts +3 -4
- package/dist/actions/add-tag-to-contact.d.cts.map +1 -1
- package/dist/actions/add-tag-to-contact.d.mts +3 -4
- package/dist/actions/add-tag-to-contact.d.mts.map +1 -1
- package/dist/actions/add-tag-to-contact.mjs +1 -0
- package/dist/actions/add-tag-to-contact.mjs.map +1 -1
- package/dist/actions/bulk-subscribe-to-list.cjs +1 -0
- package/dist/actions/bulk-subscribe-to-list.cjs.map +1 -1
- package/dist/actions/bulk-subscribe-to-list.d.cts +3 -19
- package/dist/actions/bulk-subscribe-to-list.d.cts.map +1 -1
- package/dist/actions/bulk-subscribe-to-list.d.mts +3 -19
- package/dist/actions/bulk-subscribe-to-list.d.mts.map +1 -1
- package/dist/actions/bulk-subscribe-to-list.mjs +1 -0
- package/dist/actions/bulk-subscribe-to-list.mjs.map +1 -1
- package/dist/actions/create-or-update-administrator.cjs +1 -0
- package/dist/actions/create-or-update-administrator.cjs.map +1 -1
- package/dist/actions/create-or-update-administrator.d.cts +3 -10
- package/dist/actions/create-or-update-administrator.d.cts.map +1 -1
- package/dist/actions/create-or-update-administrator.d.mts +3 -10
- package/dist/actions/create-or-update-administrator.d.mts.map +1 -1
- package/dist/actions/create-or-update-administrator.mjs +1 -0
- package/dist/actions/create-or-update-administrator.mjs.map +1 -1
- package/dist/actions/create-or-update-contact.cjs +1 -0
- package/dist/actions/create-or-update-contact.cjs.map +1 -1
- package/dist/actions/create-or-update-contact.d.cts +3 -18
- package/dist/actions/create-or-update-contact.d.cts.map +1 -1
- package/dist/actions/create-or-update-contact.d.mts +3 -18
- package/dist/actions/create-or-update-contact.d.mts.map +1 -1
- package/dist/actions/create-or-update-contact.mjs +1 -0
- package/dist/actions/create-or-update-contact.mjs.map +1 -1
- package/dist/actions/find-contact-by-email.cjs +1 -0
- package/dist/actions/find-contact-by-email.cjs.map +1 -1
- package/dist/actions/find-contact-by-email.d.cts +3 -3
- package/dist/actions/find-contact-by-email.d.cts.map +1 -1
- package/dist/actions/find-contact-by-email.d.mts +3 -3
- package/dist/actions/find-contact-by-email.d.mts.map +1 -1
- package/dist/actions/find-contact-by-email.mjs +1 -0
- package/dist/actions/find-contact-by-email.mjs.map +1 -1
- package/dist/actions/find-subscription-by-email.cjs +1 -0
- package/dist/actions/find-subscription-by-email.cjs.map +1 -1
- package/dist/actions/find-subscription-by-email.d.cts +3 -4
- package/dist/actions/find-subscription-by-email.d.cts.map +1 -1
- package/dist/actions/find-subscription-by-email.d.mts +3 -4
- package/dist/actions/find-subscription-by-email.d.mts.map +1 -1
- package/dist/actions/find-subscription-by-email.mjs +1 -0
- package/dist/actions/find-subscription-by-email.mjs.map +1 -1
- package/dist/actions/get-admin-roles.cjs +1 -0
- package/dist/actions/get-admin-roles.cjs.map +1 -1
- package/dist/actions/get-admin-roles.d.cts +3 -1
- package/dist/actions/get-admin-roles.d.cts.map +1 -1
- package/dist/actions/get-admin-roles.d.mts +3 -1
- package/dist/actions/get-admin-roles.d.mts.map +1 -1
- package/dist/actions/get-admin-roles.mjs +1 -0
- package/dist/actions/get-admin-roles.mjs.map +1 -1
- package/dist/actions/get-administrator-by-id.cjs +1 -0
- package/dist/actions/get-administrator-by-id.cjs.map +1 -1
- package/dist/actions/get-administrator-by-id.d.cts +3 -3
- package/dist/actions/get-administrator-by-id.d.cts.map +1 -1
- package/dist/actions/get-administrator-by-id.d.mts +3 -3
- package/dist/actions/get-administrator-by-id.d.mts.map +1 -1
- package/dist/actions/get-administrator-by-id.mjs +1 -0
- package/dist/actions/get-administrator-by-id.mjs.map +1 -1
- package/dist/actions/get-administrators.cjs +1 -0
- package/dist/actions/get-administrators.cjs.map +1 -1
- package/dist/actions/get-administrators.d.cts +3 -1
- package/dist/actions/get-administrators.d.cts.map +1 -1
- package/dist/actions/get-administrators.d.mts +3 -1
- package/dist/actions/get-administrators.d.mts.map +1 -1
- package/dist/actions/get-administrators.mjs +1 -0
- package/dist/actions/get-administrators.mjs.map +1 -1
- package/dist/actions/get-async-request-status.cjs +1 -0
- package/dist/actions/get-async-request-status.cjs.map +1 -1
- package/dist/actions/get-async-request-status.d.cts +3 -3
- package/dist/actions/get-async-request-status.d.cts.map +1 -1
- package/dist/actions/get-async-request-status.d.mts +3 -3
- package/dist/actions/get-async-request-status.d.mts.map +1 -1
- package/dist/actions/get-async-request-status.mjs +1 -0
- package/dist/actions/get-async-request-status.mjs.map +1 -1
- package/dist/actions/get-contact-by-id.cjs +1 -0
- package/dist/actions/get-contact-by-id.cjs.map +1 -1
- package/dist/actions/get-contact-by-id.d.cts +3 -3
- package/dist/actions/get-contact-by-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-id.d.mts +3 -3
- package/dist/actions/get-contact-by-id.d.mts.map +1 -1
- package/dist/actions/get-contact-by-id.mjs +1 -0
- package/dist/actions/get-contact-by-id.mjs.map +1 -1
- package/dist/actions/get-invoices.cjs +1 -0
- package/dist/actions/get-invoices.cjs.map +1 -1
- package/dist/actions/get-invoices.d.cts +3 -8
- package/dist/actions/get-invoices.d.cts.map +1 -1
- package/dist/actions/get-invoices.d.mts +3 -8
- package/dist/actions/get-invoices.d.mts.map +1 -1
- package/dist/actions/get-invoices.mjs +1 -0
- package/dist/actions/get-invoices.mjs.map +1 -1
- package/dist/actions/get-lists.cjs +1 -0
- package/dist/actions/get-lists.cjs.map +1 -1
- package/dist/actions/get-lists.d.cts +3 -1
- package/dist/actions/get-lists.d.cts.map +1 -1
- package/dist/actions/get-lists.d.mts +3 -1
- package/dist/actions/get-lists.d.mts.map +1 -1
- package/dist/actions/get-lists.mjs +1 -0
- package/dist/actions/get-lists.mjs.map +1 -1
- package/dist/actions/get-products.cjs +1 -0
- package/dist/actions/get-products.cjs.map +1 -1
- package/dist/actions/get-products.d.cts +3 -1
- package/dist/actions/get-products.d.cts.map +1 -1
- package/dist/actions/get-products.d.mts +3 -1
- package/dist/actions/get-products.d.mts.map +1 -1
- package/dist/actions/get-products.mjs +1 -0
- package/dist/actions/get-products.mjs.map +1 -1
- package/dist/actions/remove-administrator.cjs +1 -0
- package/dist/actions/remove-administrator.cjs.map +1 -1
- package/dist/actions/remove-administrator.d.cts +3 -3
- package/dist/actions/remove-administrator.d.cts.map +1 -1
- package/dist/actions/remove-administrator.d.mts +3 -3
- package/dist/actions/remove-administrator.d.mts.map +1 -1
- package/dist/actions/remove-administrator.mjs +1 -0
- package/dist/actions/remove-administrator.mjs.map +1 -1
- package/dist/actions/remove-tag-from-contact.cjs +1 -0
- package/dist/actions/remove-tag-from-contact.cjs.map +1 -1
- package/dist/actions/remove-tag-from-contact.d.cts +3 -4
- package/dist/actions/remove-tag-from-contact.d.cts.map +1 -1
- package/dist/actions/remove-tag-from-contact.d.mts +3 -4
- package/dist/actions/remove-tag-from-contact.d.mts.map +1 -1
- package/dist/actions/remove-tag-from-contact.mjs +1 -0
- package/dist/actions/remove-tag-from-contact.mjs.map +1 -1
- package/dist/actions/subscribe-to-list.cjs +1 -0
- package/dist/actions/subscribe-to-list.cjs.map +1 -1
- package/dist/actions/subscribe-to-list.d.cts +3 -16
- package/dist/actions/subscribe-to-list.d.cts.map +1 -1
- package/dist/actions/subscribe-to-list.d.mts +3 -16
- package/dist/actions/subscribe-to-list.d.mts.map +1 -1
- package/dist/actions/subscribe-to-list.mjs +1 -0
- package/dist/actions/subscribe-to-list.mjs.map +1 -1
- package/dist/actions/unsubscribe-from-list.cjs +1 -0
- package/dist/actions/unsubscribe-from-list.cjs.map +1 -1
- package/dist/actions/unsubscribe-from-list.d.cts +3 -4
- package/dist/actions/unsubscribe-from-list.d.cts.map +1 -1
- package/dist/actions/unsubscribe-from-list.d.mts +3 -4
- package/dist/actions/unsubscribe-from-list.d.mts.map +1 -1
- package/dist/actions/unsubscribe-from-list.mjs +1 -0
- package/dist/actions/unsubscribe-from-list.mjs.map +1 -1
- package/dist/actions/update-contact-credentials.cjs +1 -0
- package/dist/actions/update-contact-credentials.cjs.map +1 -1
- package/dist/actions/update-contact-credentials.d.cts +3 -8
- package/dist/actions/update-contact-credentials.d.cts.map +1 -1
- package/dist/actions/update-contact-credentials.d.mts +3 -8
- package/dist/actions/update-contact-credentials.d.mts.map +1 -1
- package/dist/actions/update-contact-credentials.mjs +1 -0
- package/dist/actions/update-contact-credentials.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-administrator.d.cts","names":[],"sources":["../../src/actions/remove-administrator.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-administrator.d.cts","names":[],"sources":["../../src/actions/remove-administrator.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplero } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/remove-administrator.d.ts
|
|
@@ -8,9 +10,7 @@ declare const SimpleroRemoveAdministratorOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const simpleroRemoveAdministrator:
|
|
12
|
-
id: number;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const simpleroRemoveAdministrator: AppAction<typeof SimpleroRemoveAdministratorInput, typeof SimpleroRemoveAdministratorOutput, typeof simplero.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { simpleroRemoveAdministrator };
|
|
16
16
|
//# sourceMappingURL=remove-administrator.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-administrator.d.mts","names":[],"sources":["../../src/actions/remove-administrator.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-administrator.d.mts","names":[],"sources":["../../src/actions/remove-administrator.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAGhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-administrator.mjs","names":[],"sources":["../../src/actions/remove-administrator.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveAdministratorInput = z.object({\n id: z.number().int().describe(\"The internal administratorship ID to remove. Must be obtained from a previous API call.\"),\n}).describe(\"Request model for removing an administrator.\");\nexport const SimpleroRemoveAdministratorOutput = z.object({\n message: z.string().describe(\"Additional message from the API response\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).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":"
|
|
1
|
+
{"version":3,"file":"remove-administrator.mjs","names":[],"sources":["../../src/actions/remove-administrator.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroRemoveAdministratorInput = z.object({\n id: z.number().int().describe(\"The internal administratorship ID to remove. Must be obtained from a previous API call.\"),\n}).describe(\"Request model for removing an administrator.\");\nexport const SimpleroRemoveAdministratorOutput = z.object({\n message: z.string().describe(\"Additional message from the API response\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the deletion was successful\").nullable().optional(),\n}).passthrough().describe(\"Response model for administrator removal operation.\");\n\nexport const simpleroRemoveAdministrator: AppAction<\n typeof SimpleroRemoveAdministratorInput,\n typeof SimpleroRemoveAdministratorOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_REMOVE_ADMINISTRATOR\", {\n slug: \"simplero-remove-administrator\",\n name: \"Remove Administrator\",\n description: \"Tool to delete an administratorship by ID. Use when you need to remove an administrator relationship from the system.\",\n input: SimpleroRemoveAdministratorInput,\n output: SimpleroRemoveAdministratorOutput,\n});\n"],"mappings":";;;AAcA,MAAa,8BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO,EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,EACzH,CAAC,CAAC,CAAC,SAAS,8CAcH;CACP,QAd+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-tag-from-contact.cjs","names":["z","action"],"sources":["../../src/actions/remove-tag-from-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveTagFromContactInput = z.object({\n tag: z.string().describe(\"The tag name to remove from the contact\"),\n email: z.string().describe(\"The contact's email address\"),\n}).describe(\"Request model for removing a tag from a contact.\");\nexport const SimpleroRemoveTagFromContactOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated string of remaining tags\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact information after tag removal.\");\n\nexport const simpleroRemoveTagFromContact = action(\"SIMPLERO_REMOVE_TAG_FROM_CONTACT\", {\n slug: \"simplero-remove-tag-from-contact\",\n name: \"Remove Tag from Contact\",\n description: \"Tool to remove a tag from a contact identified by email address. Use when you need to remove a specific tag from a contact's profile.\",\n input: SimpleroRemoveTagFromContactInput,\n output: SimpleroRemoveTagFromContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-tag-from-contact.cjs","names":["z","action"],"sources":["../../src/actions/remove-tag-from-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroRemoveTagFromContactInput = z.object({\n tag: z.string().describe(\"The tag name to remove from the contact\"),\n email: z.string().describe(\"The contact's email address\"),\n}).describe(\"Request model for removing a tag from a contact.\");\nexport const SimpleroRemoveTagFromContactOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated string of remaining tags\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact information after tag removal.\");\n\nexport const simpleroRemoveTagFromContact: AppAction<\n typeof SimpleroRemoveTagFromContactInput,\n typeof SimpleroRemoveTagFromContactOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_REMOVE_TAG_FROM_CONTACT\", {\n slug: \"simplero-remove-tag-from-contact\",\n name: \"Remove Tag from Contact\",\n description: \"Tool to remove a tag from a contact identified by email address. Use when you need to remove a specific tag from a contact's profile.\",\n input: SimpleroRemoveTagFromContactInput,\n output: SimpleroRemoveTagFromContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAC1D,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplero } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/remove-tag-from-contact.d.ts
|
|
@@ -10,10 +12,7 @@ declare const SimpleroRemoveTagFromContactOutput: z.ZodObject<{
|
|
|
10
12
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
tag_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const simpleroRemoveTagFromContact:
|
|
14
|
-
tag: string;
|
|
15
|
-
email: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const simpleroRemoveTagFromContact: AppAction<typeof SimpleroRemoveTagFromContactInput, typeof SimpleroRemoveTagFromContactOutput, typeof simplero.credential>;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { simpleroRemoveTagFromContact };
|
|
19
18
|
//# sourceMappingURL=remove-tag-from-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-tag-from-contact.d.cts","names":[],"sources":["../../src/actions/remove-tag-from-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-tag-from-contact.d.cts","names":[],"sources":["../../src/actions/remove-tag-from-contact.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplero } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/remove-tag-from-contact.d.ts
|
|
@@ -10,10 +12,7 @@ declare const SimpleroRemoveTagFromContactOutput: z.ZodObject<{
|
|
|
10
12
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
tag_names: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const simpleroRemoveTagFromContact:
|
|
14
|
-
tag: string;
|
|
15
|
-
email: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
|
+
declare const simpleroRemoveTagFromContact: AppAction<typeof SimpleroRemoveTagFromContactInput, typeof SimpleroRemoveTagFromContactOutput, typeof simplero.credential>;
|
|
17
16
|
//#endregion
|
|
18
17
|
export { simpleroRemoveTagFromContact };
|
|
19
18
|
//# sourceMappingURL=remove-tag-from-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-tag-from-contact.d.mts","names":[],"sources":["../../src/actions/remove-tag-from-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-tag-from-contact.d.mts","names":[],"sources":["../../src/actions/remove-tag-from-contact.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-tag-from-contact.mjs","names":[],"sources":["../../src/actions/remove-tag-from-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroRemoveTagFromContactInput = z.object({\n tag: z.string().describe(\"The tag name to remove from the contact\"),\n email: z.string().describe(\"The contact's email address\"),\n}).describe(\"Request model for removing a tag from a contact.\");\nexport const SimpleroRemoveTagFromContactOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated string of remaining tags\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact information after tag removal.\");\n\nexport const simpleroRemoveTagFromContact = action(\"SIMPLERO_REMOVE_TAG_FROM_CONTACT\", {\n slug: \"simplero-remove-tag-from-contact\",\n name: \"Remove Tag from Contact\",\n description: \"Tool to remove a tag from a contact identified by email address. Use when you need to remove a specific tag from a contact's profile.\",\n input: SimpleroRemoveTagFromContactInput,\n output: SimpleroRemoveTagFromContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-tag-from-contact.mjs","names":[],"sources":["../../src/actions/remove-tag-from-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroRemoveTagFromContactInput = z.object({\n tag: z.string().describe(\"The tag name to remove from the contact\"),\n email: z.string().describe(\"The contact's email address\"),\n}).describe(\"Request model for removing a tag from a contact.\");\nexport const SimpleroRemoveTagFromContactOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated string of remaining tags\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact information after tag removal.\");\n\nexport const simpleroRemoveTagFromContact: AppAction<\n typeof SimpleroRemoveTagFromContactInput,\n typeof SimpleroRemoveTagFromContactOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_REMOVE_TAG_FROM_CONTACT\", {\n slug: \"simplero-remove-tag-from-contact\",\n name: \"Remove Tag from Contact\",\n description: \"Tool to remove a tag from a contact identified by email address. Use when you need to remove a specific tag from a contact's profile.\",\n input: SimpleroRemoveTagFromContactInput,\n output: SimpleroRemoveTagFromContactOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB+C,EAAE,OAAO;EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC1D,CAAC,CAAC,CAAC,SAAS,kDAeH;CACP,QAfgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribe-to-list.cjs","names":["z","action"],"sources":["../../src/actions/subscribe-to-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroSubscribeToListInput = z.object({\n ref: z.number().int().describe(\"Affiliate reference for conversion attribution.\").optional(),\n tags: z.string().describe(\"Comma-separated tag list (tags are trimmed of leading/trailing whitespace automatically).\").optional(),\n email: z.string().describe(\"Contact's email address (required).\"),\n phone: z.string().describe(\"Sanitized phone number with country code first (e.g., '15551231234').\").optional(),\n track: z.string().describe(\"Tracking keyword to identify subscription source.\").optional(),\n list_id: z.number().int().describe(\"The ID of the mailing list to subscribe to.\"),\n referrer: z.string().describe(\"Last external URL visited before subscription.\").optional(),\n last_name: z.string().describe(\"Contact's surname.\").optional(),\n first_name: z.string().describe(\"Contact's given name.\").optional(),\n ip_address: z.string().describe(\"Actual IP address that the customer used to subscribe.\").optional(),\n gdpr_consent: z.boolean().describe(\"GDPR consent indicator.\").optional(),\n landing_page_id: z.number().int().describe(\"Landing page ID for conversion tracking.\").optional(),\n first_activated_at: z.string().describe(\"Initial activation timestamp in ISO 8601 format.\").optional(),\n auto_responder_start_at: z.string().describe(\"Automation sequence start date in ISO 8601 format.\").optional(),\n}).describe(\"Request parameters for subscribing a contact to a mailing list.\");\nconst SimpleroSubscribeToList_CustomerObjectSchema = z.object({\n id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n tags: z.string().describe(\"Comma-separated tag list.\").nullable().optional(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the subscriber.\");\nexport const SimpleroSubscribeToListOutput = z.object({\n id: z.number().int().describe(\"Subscription record ID.\").nullable().optional(),\n active: z.boolean().describe(\"Subscription status.\").nullable().optional(),\n list_id: z.number().int().describe(\"Associated list identifier.\").nullable().optional(),\n customer: SimpleroSubscribeToList_CustomerObjectSchema.nullable().optional(),\n confirmed: z.boolean().describe(\"Email confirmation status.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n customer_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for list subscription.\");\n\nexport const simpleroSubscribeToList = action(\"SIMPLERO_SUBSCRIBE_TO_LIST\", {\n slug: \"simplero-subscribe-to-list\",\n name: \"Subscribe to List\",\n description: \"Tool to add a new subscriber to a specific mailing list. Use when you need to subscribe a contact with their email address to a list.\",\n input: SimpleroSubscribeToListInput,\n output: SimpleroSubscribeToListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscribe-to-list.cjs","names":["z","action"],"sources":["../../src/actions/subscribe-to-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroSubscribeToListInput = z.object({\n ref: z.number().int().describe(\"Affiliate reference for conversion attribution.\").optional(),\n tags: z.string().describe(\"Comma-separated tag list (tags are trimmed of leading/trailing whitespace automatically).\").optional(),\n email: z.string().describe(\"Contact's email address (required).\"),\n phone: z.string().describe(\"Sanitized phone number with country code first (e.g., '15551231234').\").optional(),\n track: z.string().describe(\"Tracking keyword to identify subscription source.\").optional(),\n list_id: z.number().int().describe(\"The ID of the mailing list to subscribe to.\"),\n referrer: z.string().describe(\"Last external URL visited before subscription.\").optional(),\n last_name: z.string().describe(\"Contact's surname.\").optional(),\n first_name: z.string().describe(\"Contact's given name.\").optional(),\n ip_address: z.string().describe(\"Actual IP address that the customer used to subscribe.\").optional(),\n gdpr_consent: z.boolean().describe(\"GDPR consent indicator.\").optional(),\n landing_page_id: z.number().int().describe(\"Landing page ID for conversion tracking.\").optional(),\n first_activated_at: z.string().describe(\"Initial activation timestamp in ISO 8601 format.\").optional(),\n auto_responder_start_at: z.string().describe(\"Automation sequence start date in ISO 8601 format.\").optional(),\n}).describe(\"Request parameters for subscribing a contact to a mailing list.\");\nconst SimpleroSubscribeToList_CustomerObjectSchema = z.object({\n id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n tags: z.string().describe(\"Comma-separated tag list.\").nullable().optional(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the subscriber.\");\nexport const SimpleroSubscribeToListOutput = z.object({\n id: z.number().int().describe(\"Subscription record ID.\").nullable().optional(),\n active: z.boolean().describe(\"Subscription status.\").nullable().optional(),\n list_id: z.number().int().describe(\"Associated list identifier.\").nullable().optional(),\n customer: SimpleroSubscribeToList_CustomerObjectSchema.nullable().optional(),\n confirmed: z.boolean().describe(\"Email confirmation status.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n customer_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for list subscription.\");\n\nexport const simpleroSubscribeToList: AppAction<\n typeof SimpleroSubscribeToListInput,\n typeof SimpleroSubscribeToListOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_SUBSCRIBE_TO_LIST\", {\n slug: \"simplero-subscribe-to-list\",\n name: \"Subscribe to List\",\n description: \"Tool to add a new subscriber to a specific mailing list. Use when you need to subscribe a contact with their email address to a list.\",\n input: SimpleroSubscribeToListInput,\n output: SimpleroSubscribeToListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAChI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SA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MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplero } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/subscribe-to-list.d.ts
|
|
@@ -34,22 +36,7 @@ declare const SimpleroSubscribeToListOutput: z.ZodObject<{
|
|
|
34
36
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
customer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const simpleroSubscribeToList:
|
|
38
|
-
email: string;
|
|
39
|
-
list_id: number;
|
|
40
|
-
ref?: number | undefined;
|
|
41
|
-
tags?: string | undefined;
|
|
42
|
-
phone?: string | undefined;
|
|
43
|
-
track?: string | undefined;
|
|
44
|
-
referrer?: string | undefined;
|
|
45
|
-
last_name?: string | undefined;
|
|
46
|
-
first_name?: string | undefined;
|
|
47
|
-
ip_address?: string | undefined;
|
|
48
|
-
gdpr_consent?: boolean | undefined;
|
|
49
|
-
landing_page_id?: number | undefined;
|
|
50
|
-
first_activated_at?: string | undefined;
|
|
51
|
-
auto_responder_start_at?: string | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const simpleroSubscribeToList: AppAction<typeof SimpleroSubscribeToListInput, typeof SimpleroSubscribeToListOutput, typeof simplero.credential>;
|
|
53
40
|
//#endregion
|
|
54
41
|
export { simpleroSubscribeToList };
|
|
55
42
|
//# sourceMappingURL=subscribe-to-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribe-to-list.d.cts","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscribe-to-list.d.cts","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAwB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAW7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplero } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/subscribe-to-list.d.ts
|
|
@@ -34,22 +36,7 @@ declare const SimpleroSubscribeToListOutput: z.ZodObject<{
|
|
|
34
36
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
customer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36
38
|
}, z.core.$loose>;
|
|
37
|
-
declare const simpleroSubscribeToList:
|
|
38
|
-
email: string;
|
|
39
|
-
list_id: number;
|
|
40
|
-
ref?: number | undefined;
|
|
41
|
-
tags?: string | undefined;
|
|
42
|
-
phone?: string | undefined;
|
|
43
|
-
track?: string | undefined;
|
|
44
|
-
referrer?: string | undefined;
|
|
45
|
-
last_name?: string | undefined;
|
|
46
|
-
first_name?: string | undefined;
|
|
47
|
-
ip_address?: string | undefined;
|
|
48
|
-
gdpr_consent?: boolean | undefined;
|
|
49
|
-
landing_page_id?: number | undefined;
|
|
50
|
-
first_activated_at?: string | undefined;
|
|
51
|
-
auto_responder_start_at?: string | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
39
|
+
declare const simpleroSubscribeToList: AppAction<typeof SimpleroSubscribeToListInput, typeof SimpleroSubscribeToListOutput, typeof simplero.credential>;
|
|
53
40
|
//#endregion
|
|
54
41
|
export { simpleroSubscribeToList };
|
|
55
42
|
//# sourceMappingURL=subscribe-to-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribe-to-list.d.mts","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscribe-to-list.d.mts","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAwB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAW7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribe-to-list.mjs","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroSubscribeToListInput = z.object({\n ref: z.number().int().describe(\"Affiliate reference for conversion attribution.\").optional(),\n tags: z.string().describe(\"Comma-separated tag list (tags are trimmed of leading/trailing whitespace automatically).\").optional(),\n email: z.string().describe(\"Contact's email address (required).\"),\n phone: z.string().describe(\"Sanitized phone number with country code first (e.g., '15551231234').\").optional(),\n track: z.string().describe(\"Tracking keyword to identify subscription source.\").optional(),\n list_id: z.number().int().describe(\"The ID of the mailing list to subscribe to.\"),\n referrer: z.string().describe(\"Last external URL visited before subscription.\").optional(),\n last_name: z.string().describe(\"Contact's surname.\").optional(),\n first_name: z.string().describe(\"Contact's given name.\").optional(),\n ip_address: z.string().describe(\"Actual IP address that the customer used to subscribe.\").optional(),\n gdpr_consent: z.boolean().describe(\"GDPR consent indicator.\").optional(),\n landing_page_id: z.number().int().describe(\"Landing page ID for conversion tracking.\").optional(),\n first_activated_at: z.string().describe(\"Initial activation timestamp in ISO 8601 format.\").optional(),\n auto_responder_start_at: z.string().describe(\"Automation sequence start date in ISO 8601 format.\").optional(),\n}).describe(\"Request parameters for subscribing a contact to a mailing list.\");\nconst SimpleroSubscribeToList_CustomerObjectSchema = z.object({\n id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n tags: z.string().describe(\"Comma-separated tag list.\").nullable().optional(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the subscriber.\");\nexport const SimpleroSubscribeToListOutput = z.object({\n id: z.number().int().describe(\"Subscription record ID.\").nullable().optional(),\n active: z.boolean().describe(\"Subscription status.\").nullable().optional(),\n list_id: z.number().int().describe(\"Associated list identifier.\").nullable().optional(),\n customer: SimpleroSubscribeToList_CustomerObjectSchema.nullable().optional(),\n confirmed: z.boolean().describe(\"Email confirmation status.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n customer_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for list subscription.\");\n\nexport const simpleroSubscribeToList = action(\"SIMPLERO_SUBSCRIBE_TO_LIST\", {\n slug: \"simplero-subscribe-to-list\",\n name: \"Subscribe to List\",\n description: \"Tool to add a new subscriber to a specific mailing list. Use when you need to subscribe a contact with their email address to a list.\",\n input: SimpleroSubscribeToListInput,\n output: SimpleroSubscribeToListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscribe-to-list.mjs","names":[],"sources":["../../src/actions/subscribe-to-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroSubscribeToListInput = z.object({\n ref: z.number().int().describe(\"Affiliate reference for conversion attribution.\").optional(),\n tags: z.string().describe(\"Comma-separated tag list (tags are trimmed of leading/trailing whitespace automatically).\").optional(),\n email: z.string().describe(\"Contact's email address (required).\"),\n phone: z.string().describe(\"Sanitized phone number with country code first (e.g., '15551231234').\").optional(),\n track: z.string().describe(\"Tracking keyword to identify subscription source.\").optional(),\n list_id: z.number().int().describe(\"The ID of the mailing list to subscribe to.\"),\n referrer: z.string().describe(\"Last external URL visited before subscription.\").optional(),\n last_name: z.string().describe(\"Contact's surname.\").optional(),\n first_name: z.string().describe(\"Contact's given name.\").optional(),\n ip_address: z.string().describe(\"Actual IP address that the customer used to subscribe.\").optional(),\n gdpr_consent: z.boolean().describe(\"GDPR consent indicator.\").optional(),\n landing_page_id: z.number().int().describe(\"Landing page ID for conversion tracking.\").optional(),\n first_activated_at: z.string().describe(\"Initial activation timestamp in ISO 8601 format.\").optional(),\n auto_responder_start_at: z.string().describe(\"Automation sequence start date in ISO 8601 format.\").optional(),\n}).describe(\"Request parameters for subscribing a contact to a mailing list.\");\nconst SimpleroSubscribeToList_CustomerObjectSchema = z.object({\n id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n tags: z.string().describe(\"Comma-separated tag list.\").nullable().optional(),\n email: z.string().describe(\"Contact's email address.\").nullable().optional(),\n phone: z.string().describe(\"Contact's phone number.\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname.\").nullable().optional(),\n first_name: z.string().describe(\"Contact's given name.\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the subscriber.\");\nexport const SimpleroSubscribeToListOutput = z.object({\n id: z.number().int().describe(\"Subscription record ID.\").nullable().optional(),\n active: z.boolean().describe(\"Subscription status.\").nullable().optional(),\n list_id: z.number().int().describe(\"Associated list identifier.\").nullable().optional(),\n customer: SimpleroSubscribeToList_CustomerObjectSchema.nullable().optional(),\n confirmed: z.boolean().describe(\"Email confirmation status.\").nullable().optional(),\n created_at: z.string().describe(\"Creation timestamp in ISO 8601 format.\").nullable().optional(),\n updated_at: z.string().describe(\"Last update timestamp in ISO 8601 format.\").nullable().optional(),\n customer_id: z.number().int().describe(\"Contact identifier.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for list subscription.\");\n\nexport const simpleroSubscribeToList: AppAction<\n typeof SimpleroSubscribeToListInput,\n typeof SimpleroSubscribeToListOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_SUBSCRIBE_TO_LIST\", {\n slug: \"simplero-subscribe-to-list\",\n name: \"Subscribe to List\",\n description: \"Tool to add a new subscriber to a specific mailing list. Use when you need to subscribe a contact with their email address to a list.\",\n input: SimpleroSubscribeToListInput,\n output: SimpleroSubscribeToListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAChI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACvE,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACrG,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,+CAA+C,E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S;EAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unsubscribe-from-list.cjs","names":["z","action"],"sources":["../../src/actions/unsubscribe-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUnsubscribeFromListInput = z.object({\n email: z.string().describe(\"The email address of the contact to remove from the list.\"),\n list_id: z.number().int().describe(\"The unique identifier of the list from which to unsubscribe the contact.\"),\n}).describe(\"Request model for unsubscribing a customer from a list.\");\nexport const SimpleroUnsubscribeFromListOutput = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\").nullable(),\n}).passthrough().describe(\"Response model for unsubscribe operation.\");\n\nexport const simpleroUnsubscribeFromList = action(\"SIMPLERO_UNSUBSCRIBE_FROM_LIST\", {\n slug: \"simplero-unsubscribe-from-list\",\n name: \"Unsubscribe From List\",\n description: \"Tool to unsubscribe a customer from a specific mailing list. Use when you need to remove a contact from a list by their email address.\",\n input: SimpleroUnsubscribeFromListInput,\n output: SimpleroUnsubscribeFromListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unsubscribe-from-list.cjs","names":["z","action"],"sources":["../../src/actions/unsubscribe-from-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroUnsubscribeFromListInput = z.object({\n email: z.string().describe(\"The email address of the contact to remove from the list.\"),\n list_id: z.number().int().describe(\"The unique identifier of the list from which to unsubscribe the contact.\"),\n}).describe(\"Request model for unsubscribing a customer from a list.\");\nexport const SimpleroUnsubscribeFromListOutput = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\").nullable(),\n}).passthrough().describe(\"Response model for unsubscribe operation.\");\n\nexport const simpleroUnsubscribeFromList: AppAction<\n typeof SimpleroUnsubscribeFromListInput,\n typeof SimpleroUnsubscribeFromListOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_UNSUBSCRIBE_FROM_LIST\", {\n slug: \"simplero-unsubscribe-from-list\",\n name: \"Unsubscribe From List\",\n description: \"Tool to unsubscribe a customer from a specific mailing list. Use when you need to remove a contact from a list by their email address.\",\n input: SimpleroUnsubscribeFromListInput,\n output: SimpleroUnsubscribeFromListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;AAC/G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplero } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unsubscribe-from-list.d.ts
|
|
@@ -8,10 +10,7 @@ declare const SimpleroUnsubscribeFromListInput: z.ZodObject<{
|
|
|
8
10
|
declare const SimpleroUnsubscribeFromListOutput: z.ZodObject<{
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const simpleroUnsubscribeFromList:
|
|
12
|
-
email: string;
|
|
13
|
-
list_id: number;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const simpleroUnsubscribeFromList: AppAction<typeof SimpleroUnsubscribeFromListInput, typeof SimpleroUnsubscribeFromListOutput, typeof simplero.credential>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { simpleroUnsubscribeFromList };
|
|
17
16
|
//# sourceMappingURL=unsubscribe-from-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unsubscribe-from-list.d.cts","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unsubscribe-from-list.d.cts","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplero } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unsubscribe-from-list.d.ts
|
|
@@ -8,10 +10,7 @@ declare const SimpleroUnsubscribeFromListInput: z.ZodObject<{
|
|
|
8
10
|
declare const SimpleroUnsubscribeFromListOutput: z.ZodObject<{
|
|
9
11
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const simpleroUnsubscribeFromList:
|
|
12
|
-
email: string;
|
|
13
|
-
list_id: number;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const simpleroUnsubscribeFromList: AppAction<typeof SimpleroUnsubscribeFromListInput, typeof SimpleroUnsubscribeFromListOutput, typeof simplero.credential>;
|
|
15
14
|
//#endregion
|
|
16
15
|
export { simpleroUnsubscribeFromList };
|
|
17
16
|
//# sourceMappingURL=unsubscribe-from-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unsubscribe-from-list.d.mts","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unsubscribe-from-list.d.mts","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unsubscribe-from-list.mjs","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUnsubscribeFromListInput = z.object({\n email: z.string().describe(\"The email address of the contact to remove from the list.\"),\n list_id: z.number().int().describe(\"The unique identifier of the list from which to unsubscribe the contact.\"),\n}).describe(\"Request model for unsubscribing a customer from a list.\");\nexport const SimpleroUnsubscribeFromListOutput = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\").nullable(),\n}).passthrough().describe(\"Response model for unsubscribe operation.\");\n\nexport const simpleroUnsubscribeFromList = action(\"SIMPLERO_UNSUBSCRIBE_FROM_LIST\", {\n slug: \"simplero-unsubscribe-from-list\",\n name: \"Unsubscribe From List\",\n description: \"Tool to unsubscribe a customer from a specific mailing list. Use when you need to remove a contact from a list by their email address.\",\n input: SimpleroUnsubscribeFromListInput,\n output: SimpleroUnsubscribeFromListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unsubscribe-from-list.mjs","names":[],"sources":["../../src/actions/unsubscribe-from-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroUnsubscribeFromListInput = z.object({\n email: z.string().describe(\"The email address of the contact to remove from the list.\"),\n list_id: z.number().int().describe(\"The unique identifier of the list from which to unsubscribe the contact.\"),\n}).describe(\"Request model for unsubscribing a customer from a list.\");\nexport const SimpleroUnsubscribeFromListOutput = z.object({\n success: z.boolean().describe(\"True if subscriber was removed from the list, false if contact cannot be located.\").nullable(),\n}).passthrough().describe(\"Response model for unsubscribe operation.\");\n\nexport const simpleroUnsubscribeFromList: AppAction<\n typeof SimpleroUnsubscribeFromListInput,\n typeof SimpleroUnsubscribeFromListOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_UNSUBSCRIBE_FROM_LIST\", {\n slug: \"simplero-unsubscribe-from-list\",\n name: \"Unsubscribe From List\",\n description: \"Tool to unsubscribe a customer from a specific mailing list. Use when you need to remove a contact from a list by their email address.\",\n input: SimpleroUnsubscribeFromListInput,\n output: SimpleroUnsubscribeFromListOutput,\n});\n"],"mappings":";;;AAcA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CAC/G,CAAC,CAAC,CAAC,SAAS,yDAaH;CACP,QAb+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact-credentials.cjs","names":["z","action"],"sources":["../../src/actions/update-contact-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUpdateContactCredentialsInput = z.object({\n id: z.number().int().describe(\"Contact's internal ID. At least one of email, id, or token is required to identify the contact.\").optional(),\n email: z.string().describe(\"Contact's email address. At least one of email, id, or token is required to identify the contact.\").optional(),\n token: z.string().describe(\"Contact's token. At least one of email, id, or token is required to identify the contact.\").optional(),\n last_name: z.string().describe(\"Contact's last name to update.\").optional(),\n first_name: z.string().describe(\"Contact's first name to update.\").optional(),\n update_login_email: z.boolean().describe(\"Set to true to update the contact's login email address. Use this with the email parameter to change the login email.\").optional(),\n}).describe(\"Request model for updating a contact's login credentials.\");\nexport const SimpleroUpdateContactCredentialsOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n ref: z.string().describe(\"Reference value\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n track: z.string().describe(\"Tracking parameter\").nullable().optional(),\n referrer: z.string().describe(\"Referrer URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable().optional(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable().optional(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n affiliate_id: z.number().int().describe(\"Affiliate identifier\").nullable().optional(),\n contact_since: z.string().describe(\"Relative time string since contact creation\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Do not contact flag\").nullable().optional(),\n lifetime_value_cents_excl_tax: z.number().int().describe(\"Customer lifetime value in cents excluding tax\").nullable().optional(),\n lead_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Lead acquisition cost in cents excluding tax\").nullable().optional(),\n customer_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Customer acquisition cost in cents excluding tax\").nullable().optional(),\n}).passthrough().describe(\"Response model containing updated contact details.\");\n\nexport const simpleroUpdateContactCredentials = action(\"SIMPLERO_UPDATE_CONTACT_CREDENTIALS\", {\n slug: \"simplero-update-contact-credentials\",\n name: \"Update Contact Credentials\",\n description: \"Tool to update a contact's login credentials including email, first name, and last name. Use only with the consent of the contact. At least one identification parameter (email, id, or token) is required.\",\n input: SimpleroUpdateContactCredentialsInput,\n output: SimpleroUpdateContactCredentialsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact-credentials.cjs","names":["z","action"],"sources":["../../src/actions/update-contact-credentials.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroUpdateContactCredentialsInput = z.object({\n id: z.number().int().describe(\"Contact's internal ID. At least one of email, id, or token is required to identify the contact.\").optional(),\n email: z.string().describe(\"Contact's email address. At least one of email, id, or token is required to identify the contact.\").optional(),\n token: z.string().describe(\"Contact's token. At least one of email, id, or token is required to identify the contact.\").optional(),\n last_name: z.string().describe(\"Contact's last name to update.\").optional(),\n first_name: z.string().describe(\"Contact's first name to update.\").optional(),\n update_login_email: z.boolean().describe(\"Set to true to update the contact's login email address. Use this with the email parameter to change the login email.\").optional(),\n}).describe(\"Request model for updating a contact's login credentials.\");\nexport const SimpleroUpdateContactCredentialsOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n ref: z.string().describe(\"Reference value\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n track: z.string().describe(\"Tracking parameter\").nullable().optional(),\n referrer: z.string().describe(\"Referrer URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable().optional(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable().optional(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n affiliate_id: z.number().int().describe(\"Affiliate identifier\").nullable().optional(),\n contact_since: z.string().describe(\"Relative time string since contact creation\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Do not contact flag\").nullable().optional(),\n lifetime_value_cents_excl_tax: z.number().int().describe(\"Customer lifetime value in cents excluding tax\").nullable().optional(),\n lead_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Lead acquisition cost in cents excluding tax\").nullable().optional(),\n customer_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Customer acquisition cost in cents excluding tax\").nullable().optional(),\n}).passthrough().describe(\"Response model containing updated contact details.\");\n\nexport const simpleroUpdateContactCredentials: AppAction<\n typeof SimpleroUpdateContactCredentialsInput,\n typeof SimpleroUpdateContactCredentialsOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_UPDATE_CONTACT_CREDENTIALS\", {\n slug: \"simplero-update-contact-credentials\",\n name: \"Update Contact Credentials\",\n description: \"Tool to update a contact's login credentials including email, first name, and last name. Use only with the consent of the contact. At least one identification parameter (email, id, or token) is required.\",\n input: SimpleroUpdateContactCredentialsInput,\n output: SimpleroUpdateContactCredentialsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,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AAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mCAITC,eAAAA,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplero } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-contact-credentials.d.ts
|
|
@@ -30,14 +32,7 @@ declare const SimpleroUpdateContactCredentialsOutput: z.ZodObject<{
|
|
|
30
32
|
lead_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
33
|
customer_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const simpleroUpdateContactCredentials:
|
|
34
|
-
id?: number | undefined;
|
|
35
|
-
email?: string | undefined;
|
|
36
|
-
token?: string | undefined;
|
|
37
|
-
last_name?: string | undefined;
|
|
38
|
-
first_name?: string | undefined;
|
|
39
|
-
update_login_email?: boolean | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
35
|
+
declare const simpleroUpdateContactCredentials: AppAction<typeof SimpleroUpdateContactCredentialsInput, typeof SimpleroUpdateContactCredentialsOutput, typeof simplero.credential>;
|
|
41
36
|
//#endregion
|
|
42
37
|
export { simpleroUpdateContactCredentials };
|
|
43
38
|
//# sourceMappingURL=update-contact-credentials.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact-credentials.d.cts","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact-credentials.d.cts","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsBtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { simplero } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-contact-credentials.d.ts
|
|
@@ -30,14 +32,7 @@ declare const SimpleroUpdateContactCredentialsOutput: z.ZodObject<{
|
|
|
30
32
|
lead_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
33
|
customer_acquisition_cost_cents_excl_tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const simpleroUpdateContactCredentials:
|
|
34
|
-
id?: number | undefined;
|
|
35
|
-
email?: string | undefined;
|
|
36
|
-
token?: string | undefined;
|
|
37
|
-
last_name?: string | undefined;
|
|
38
|
-
first_name?: string | undefined;
|
|
39
|
-
update_login_email?: boolean | undefined;
|
|
40
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
35
|
+
declare const simpleroUpdateContactCredentials: AppAction<typeof SimpleroUpdateContactCredentialsInput, typeof SimpleroUpdateContactCredentialsOutput, typeof simplero.credential>;
|
|
41
36
|
//#endregion
|
|
42
37
|
export { simpleroUpdateContactCredentials };
|
|
43
38
|
//# sourceMappingURL=update-contact-credentials.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact-credentials.d.mts","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact-credentials.d.mts","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;cAQrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAsBtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact-credentials.mjs","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SimpleroUpdateContactCredentialsInput = z.object({\n id: z.number().int().describe(\"Contact's internal ID. At least one of email, id, or token is required to identify the contact.\").optional(),\n email: z.string().describe(\"Contact's email address. At least one of email, id, or token is required to identify the contact.\").optional(),\n token: z.string().describe(\"Contact's token. At least one of email, id, or token is required to identify the contact.\").optional(),\n last_name: z.string().describe(\"Contact's last name to update.\").optional(),\n first_name: z.string().describe(\"Contact's first name to update.\").optional(),\n update_login_email: z.boolean().describe(\"Set to true to update the contact's login email address. Use this with the email parameter to change the login email.\").optional(),\n}).describe(\"Request model for updating a contact's login credentials.\");\nexport const SimpleroUpdateContactCredentialsOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n ref: z.string().describe(\"Reference value\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n track: z.string().describe(\"Tracking parameter\").nullable().optional(),\n referrer: z.string().describe(\"Referrer URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable().optional(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable().optional(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n affiliate_id: z.number().int().describe(\"Affiliate identifier\").nullable().optional(),\n contact_since: z.string().describe(\"Relative time string since contact creation\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Do not contact flag\").nullable().optional(),\n lifetime_value_cents_excl_tax: z.number().int().describe(\"Customer lifetime value in cents excluding tax\").nullable().optional(),\n lead_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Lead acquisition cost in cents excluding tax\").nullable().optional(),\n customer_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Customer acquisition cost in cents excluding tax\").nullable().optional(),\n}).passthrough().describe(\"Response model containing updated contact details.\");\n\nexport const simpleroUpdateContactCredentials = action(\"SIMPLERO_UPDATE_CONTACT_CREDENTIALS\", {\n slug: \"simplero-update-contact-credentials\",\n name: \"Update Contact Credentials\",\n description: \"Tool to update a contact's login credentials including email, first name, and last name. Use only with the consent of the contact. At least one identification parameter (email, id, or token) is required.\",\n input: SimpleroUpdateContactCredentialsInput,\n output: SimpleroUpdateContactCredentialsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact-credentials.mjs","names":[],"sources":["../../src/actions/update-contact-credentials.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { simplero } from \"../app\";\n\nexport const SimpleroUpdateContactCredentialsInput = z.object({\n id: z.number().int().describe(\"Contact's internal ID. At least one of email, id, or token is required to identify the contact.\").optional(),\n email: z.string().describe(\"Contact's email address. At least one of email, id, or token is required to identify the contact.\").optional(),\n token: z.string().describe(\"Contact's token. At least one of email, id, or token is required to identify the contact.\").optional(),\n last_name: z.string().describe(\"Contact's last name to update.\").optional(),\n first_name: z.string().describe(\"Contact's first name to update.\").optional(),\n update_login_email: z.boolean().describe(\"Set to true to update the contact's login email address. Use this with the email parameter to change the login email.\").optional(),\n}).describe(\"Request model for updating a contact's login credentials.\");\nexport const SimpleroUpdateContactCredentialsOutput = z.object({\n id: z.number().int().describe(\"Contact's internal identifier\").nullable().optional(),\n ref: z.string().describe(\"Reference value\").nullable().optional(),\n name: z.string().describe(\"Full name of the contact\").nullable().optional(),\n email: z.string().describe(\"Contact's email address\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n track: z.string().describe(\"Tracking parameter\").nullable().optional(),\n referrer: z.string().describe(\"Referrer URL\").nullable().optional(),\n last_name: z.string().describe(\"Contact's surname\").nullable().optional(),\n tag_names: z.string().describe(\"Comma-separated list of tags\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of creation in ISO 8601 format\").nullable().optional(),\n ip_address: z.string().describe(\"IP address\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp of last update in ISO 8601 format\").nullable().optional(),\n first_names: z.string().describe(\"Contact's first name(s)\").nullable().optional(),\n affiliate_id: z.number().int().describe(\"Affiliate identifier\").nullable().optional(),\n contact_since: z.string().describe(\"Relative time string since contact creation\").nullable().optional(),\n do_not_contact: z.boolean().describe(\"Do not contact flag\").nullable().optional(),\n lifetime_value_cents_excl_tax: z.number().int().describe(\"Customer lifetime value in cents excluding tax\").nullable().optional(),\n lead_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Lead acquisition cost in cents excluding tax\").nullable().optional(),\n customer_acquisition_cost_cents_excl_tax: z.number().int().describe(\"Customer acquisition cost in cents excluding tax\").nullable().optional(),\n}).passthrough().describe(\"Response model containing updated contact details.\");\n\nexport const simpleroUpdateContactCredentials: AppAction<\n typeof SimpleroUpdateContactCredentialsInput,\n typeof SimpleroUpdateContactCredentialsOutput,\n typeof simplero.credential\n> = action(\"SIMPLERO_UPDATE_CONTACT_CREDENTIALS\", {\n slug: \"simplero-update-contact-credentials\",\n name: \"Update Contact Credentials\",\n description: \"Tool to update a contact's login credentials including email, first name, and last name. Use only with the consent of the contact. At least one identification parameter (email, id, or token) is required.\",\n input: SimpleroUpdateContactCredentialsInput,\n output: SimpleroUpdateContactCredentialsOutput,\n});\n"],"mappings":";;;AAoCA,MAAa,mCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtCmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACzI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC5E,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC7K,CAAC,CAAC,CAAC,SAAS,2DA+BH;CACP,QA/BoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB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AAC,SAAS;CAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
1
2
|
//#region src/app.ts
|
|
2
|
-
const
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
|
+
const simplero = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "simplero",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.simplero = simplero;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const simplero = defineApp({\n slug: \"simplero\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const simplero: KeystrokeApp<\"simplero\", typeof credential> = defineApp({\n slug: \"simplero\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const simplero: KeystrokeApp<"simplero", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { simplero };
|
|
5
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
1
4
|
//#region src/app.d.ts
|
|
2
|
-
declare const
|
|
5
|
+
declare const credential: {
|
|
6
|
+
generic_api_key: z.ZodString;
|
|
7
|
+
};
|
|
8
|
+
declare const simplero: KeystrokeApp<"simplero", typeof credential>;
|
|
3
9
|
//#endregion
|
|
4
10
|
export { simplero };
|
|
5
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
-
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
const simplero = defineApp({
|
|
4
4
|
slug: "simplero",
|
|
5
|
-
auth: "keystroke"
|
|
5
|
+
auth: "keystroke",
|
|
6
|
+
credential: { generic_api_key: z.string() }
|
|
6
7
|
});
|
|
7
8
|
//#endregion
|
|
8
9
|
export { simplero };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const simplero = defineApp({\n slug: \"simplero\",\n auth: \"keystroke\",\n});\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const simplero: KeystrokeApp<\"simplero\", typeof credential> = defineApp({\n slug: \"simplero\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|