@keystrokehq/simplero 0.1.5 → 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 -16
- package/dist/actions/add-tag-to-contact.d.cts.map +1 -1
- package/dist/actions/add-tag-to-contact.d.mts +3 -16
- 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 -31
- package/dist/actions/bulk-subscribe-to-list.d.cts.map +1 -1
- package/dist/actions/bulk-subscribe-to-list.d.mts +3 -31
- 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 -22
- package/dist/actions/create-or-update-administrator.d.cts.map +1 -1
- package/dist/actions/create-or-update-administrator.d.mts +3 -22
- 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 -30
- package/dist/actions/create-or-update-contact.d.cts.map +1 -1
- package/dist/actions/create-or-update-contact.d.mts +3 -30
- 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 -15
- package/dist/actions/find-contact-by-email.d.cts.map +1 -1
- package/dist/actions/find-contact-by-email.d.mts +3 -15
- 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 -16
- package/dist/actions/find-subscription-by-email.d.cts.map +1 -1
- package/dist/actions/find-subscription-by-email.d.mts +3 -16
- 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 -13
- package/dist/actions/get-admin-roles.d.cts.map +1 -1
- package/dist/actions/get-admin-roles.d.mts +3 -13
- 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 -15
- package/dist/actions/get-administrator-by-id.d.cts.map +1 -1
- package/dist/actions/get-administrator-by-id.d.mts +3 -15
- 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 -13
- package/dist/actions/get-administrators.d.cts.map +1 -1
- package/dist/actions/get-administrators.d.mts +3 -13
- 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 -15
- package/dist/actions/get-async-request-status.d.cts.map +1 -1
- package/dist/actions/get-async-request-status.d.mts +3 -15
- 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 -15
- package/dist/actions/get-contact-by-id.d.cts.map +1 -1
- package/dist/actions/get-contact-by-id.d.mts +3 -15
- 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 -20
- package/dist/actions/get-invoices.d.cts.map +1 -1
- package/dist/actions/get-invoices.d.mts +3 -20
- 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 -13
- package/dist/actions/get-lists.d.cts.map +1 -1
- package/dist/actions/get-lists.d.mts +3 -13
- 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 -13
- package/dist/actions/get-products.d.cts.map +1 -1
- package/dist/actions/get-products.d.mts +3 -13
- 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 -15
- package/dist/actions/remove-administrator.d.cts.map +1 -1
- package/dist/actions/remove-administrator.d.mts +3 -15
- 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 -16
- package/dist/actions/remove-tag-from-contact.d.cts.map +1 -1
- package/dist/actions/remove-tag-from-contact.d.mts +3 -16
- 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 -28
- package/dist/actions/subscribe-to-list.d.cts.map +1 -1
- package/dist/actions/subscribe-to-list.d.mts +3 -28
- 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 -16
- package/dist/actions/unsubscribe-from-list.d.cts.map +1 -1
- package/dist/actions/unsubscribe-from-list.d.mts +3 -16
- 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 -20
- package/dist/actions/update-contact-credentials.d.cts.map +1 -1
- package/dist/actions/update-contact-credentials.d.mts +3 -20
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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,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,34 +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<"simplero", z.ZodObject<{
|
|
53
|
-
connectionId: z.ZodString;
|
|
54
|
-
entityId: z.ZodString;
|
|
55
|
-
instanceId: z.ZodString;
|
|
56
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
-
generic_api_key: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
generic_api_key: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>;
|
|
39
|
+
declare const simpleroSubscribeToList: AppAction<typeof SimpleroSubscribeToListInput, typeof SimpleroSubscribeToListOutput, typeof simplero.credential>;
|
|
65
40
|
//#endregion
|
|
66
41
|
export { simpleroSubscribeToList };
|
|
67
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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ACpF,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,22 +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<"simplero", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const simpleroUnsubscribeFromList: AppAction<typeof SimpleroUnsubscribeFromListInput, typeof SimpleroUnsubscribeFromListOutput, typeof simplero.credential>;
|
|
27
14
|
//#endregion
|
|
28
15
|
export { simpleroUnsubscribeFromList };
|
|
29
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,22 +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<"simplero", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const simpleroUnsubscribeFromList: AppAction<typeof SimpleroUnsubscribeFromListInput, typeof SimpleroUnsubscribeFromListOutput, typeof simplero.credential>;
|
|
27
14
|
//#endregion
|
|
28
15
|
export { simpleroUnsubscribeFromList };
|
|
29
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,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AAC7K,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+B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AC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,+BAA+BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,sCAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,0CAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,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,26 +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<"simplero", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
|
|
47
|
-
connectionId: z.ZodString;
|
|
48
|
-
entityId: z.ZodString;
|
|
49
|
-
instanceId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
generic_api_key: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const simpleroUpdateContactCredentials: AppAction<typeof SimpleroUpdateContactCredentialsInput, typeof SimpleroUpdateContactCredentialsOutput, typeof simplero.credential>;
|
|
53
36
|
//#endregion
|
|
54
37
|
export { simpleroUpdateContactCredentials };
|
|
55
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,26 +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<"simplero", z.ZodObject<{
|
|
41
|
-
connectionId: z.ZodString;
|
|
42
|
-
entityId: z.ZodString;
|
|
43
|
-
instanceId: z.ZodString;
|
|
44
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
45
|
-
generic_api_key: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"simplero", z.ZodObject<{
|
|
47
|
-
connectionId: z.ZodString;
|
|
48
|
-
entityId: z.ZodString;
|
|
49
|
-
instanceId: z.ZodString;
|
|
50
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
-
generic_api_key: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>]>;
|
|
35
|
+
declare const simpleroUpdateContactCredentials: AppAction<typeof SimpleroUpdateContactCredentialsInput, typeof SimpleroUpdateContactCredentialsOutput, typeof simplero.credential>;
|
|
53
36
|
//#endregion
|
|
54
37
|
export { simpleroUpdateContactCredentials };
|
|
55
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,E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,SAAS,CAAC,CAAC,SAAS;EACpI,0CAA0C,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const simplero = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "simplero",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.simplero = simplero;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const simplero = defineApp({\n slug: \"simplero\",\n auth: \"keystroke\",\n credential
|
|
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,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const simplero: KeystrokeApp<"simplero", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { simplero };
|
|
13
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,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const simplero: KeystrokeApp<"simplero", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { simplero };
|
|
13
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
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\";\nimport { z } from \"zod\";\n\nexport const simplero = defineApp({\n slug: \"simplero\",\n auth: \"keystroke\",\n credential
|
|
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"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { simplero } from "./app.cjs";
|
|
1
2
|
import { simpleroAddTagToContact } from "./actions/add-tag-to-contact.cjs";
|
|
2
3
|
import { simpleroBulkSubscribeToList } from "./actions/bulk-subscribe-to-list.cjs";
|
|
3
4
|
import { simpleroCreateOrUpdateAdministrator } from "./actions/create-or-update-administrator.cjs";
|
|
@@ -17,6 +18,5 @@ import { simpleroRemoveTagFromContact } from "./actions/remove-tag-from-contact.
|
|
|
17
18
|
import { simpleroSubscribeToList } from "./actions/subscribe-to-list.cjs";
|
|
18
19
|
import { simpleroUnsubscribeFromList } from "./actions/unsubscribe-from-list.cjs";
|
|
19
20
|
import { simpleroUpdateContactCredentials } from "./actions/update-contact-credentials.cjs";
|
|
20
|
-
import { simplero } from "./app.cjs";
|
|
21
21
|
import { simpleroCatalog } from "./catalog.cjs";
|
|
22
22
|
export { simplero, simpleroAddTagToContact, simpleroBulkSubscribeToList, simpleroCatalog, simpleroCreateOrUpdateAdministrator, simpleroCreateOrUpdateContact, simpleroFindContactByEmail, simpleroFindSubscriptionByEmail, simpleroGetAdminRoles, simpleroGetAdministratorById, simpleroGetAdministrators, simpleroGetAsyncRequestStatus, simpleroGetContactById, simpleroGetInvoices, simpleroGetLists, simpleroGetProducts, simpleroRemoveAdministrator, simpleroRemoveTagFromContact, simpleroSubscribeToList, simpleroUnsubscribeFromList, simpleroUpdateContactCredentials };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { simplero } from "./app.mjs";
|
|
1
2
|
import { simpleroAddTagToContact } from "./actions/add-tag-to-contact.mjs";
|
|
2
3
|
import { simpleroBulkSubscribeToList } from "./actions/bulk-subscribe-to-list.mjs";
|
|
3
4
|
import { simpleroCreateOrUpdateAdministrator } from "./actions/create-or-update-administrator.mjs";
|
|
@@ -17,6 +18,5 @@ import { simpleroRemoveTagFromContact } from "./actions/remove-tag-from-contact.
|
|
|
17
18
|
import { simpleroSubscribeToList } from "./actions/subscribe-to-list.mjs";
|
|
18
19
|
import { simpleroUnsubscribeFromList } from "./actions/unsubscribe-from-list.mjs";
|
|
19
20
|
import { simpleroUpdateContactCredentials } from "./actions/update-contact-credentials.mjs";
|
|
20
|
-
import { simplero } from "./app.mjs";
|
|
21
21
|
import { simpleroCatalog } from "./catalog.mjs";
|
|
22
22
|
export { simplero, simpleroAddTagToContact, simpleroBulkSubscribeToList, simpleroCatalog, simpleroCreateOrUpdateAdministrator, simpleroCreateOrUpdateContact, simpleroFindContactByEmail, simpleroFindSubscriptionByEmail, simpleroGetAdminRoles, simpleroGetAdministratorById, simpleroGetAdministrators, simpleroGetAsyncRequestStatus, simpleroGetContactById, simpleroGetInvoices, simpleroGetLists, simpleroGetProducts, simpleroRemoveAdministrator, simpleroRemoveTagFromContact, simpleroSubscribeToList, simpleroUnsubscribeFromList, simpleroUpdateContactCredentials };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/simplero",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|