@keystrokehq/moosend 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-segment-criteria.cjs +1 -0
- package/dist/actions/add-segment-criteria.cjs.map +1 -1
- package/dist/actions/add-segment-criteria.d.cts +3 -10
- package/dist/actions/add-segment-criteria.d.cts.map +1 -1
- package/dist/actions/add-segment-criteria.d.mts +3 -10
- package/dist/actions/add-segment-criteria.d.mts.map +1 -1
- package/dist/actions/add-segment-criteria.mjs +1 -0
- package/dist/actions/add-segment-criteria.mjs.map +1 -1
- package/dist/actions/add-subscriber.cjs +1 -0
- package/dist/actions/add-subscriber.cjs.map +1 -1
- package/dist/actions/add-subscriber.d.cts +3 -10
- package/dist/actions/add-subscriber.d.cts.map +1 -1
- package/dist/actions/add-subscriber.d.mts +3 -10
- package/dist/actions/add-subscriber.d.mts.map +1 -1
- package/dist/actions/add-subscriber.mjs +1 -0
- package/dist/actions/add-subscriber.mjs.map +1 -1
- package/dist/actions/clone-campaign.cjs +1 -0
- package/dist/actions/clone-campaign.cjs.map +1 -1
- package/dist/actions/clone-campaign.d.cts +3 -4
- package/dist/actions/clone-campaign.d.cts.map +1 -1
- package/dist/actions/clone-campaign.d.mts +3 -4
- package/dist/actions/clone-campaign.d.mts.map +1 -1
- package/dist/actions/clone-campaign.mjs +1 -0
- package/dist/actions/clone-campaign.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +1 -0
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +3 -9
- package/dist/actions/create-custom-field.d.cts.map +1 -1
- package/dist/actions/create-custom-field.d.mts +3 -9
- package/dist/actions/create-custom-field.d.mts.map +1 -1
- package/dist/actions/create-custom-field.mjs +1 -0
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-mailing-list.cjs +1 -0
- package/dist/actions/create-mailing-list.cjs.map +1 -1
- package/dist/actions/create-mailing-list.d.cts +3 -5
- package/dist/actions/create-mailing-list.d.cts.map +1 -1
- package/dist/actions/create-mailing-list.d.mts +3 -5
- package/dist/actions/create-mailing-list.d.mts.map +1 -1
- package/dist/actions/create-mailing-list.mjs +1 -0
- package/dist/actions/create-mailing-list.mjs.map +1 -1
- package/dist/actions/create-segment.cjs +1 -0
- package/dist/actions/create-segment.cjs.map +1 -1
- package/dist/actions/create-segment.d.cts +3 -14
- package/dist/actions/create-segment.d.cts.map +1 -1
- package/dist/actions/create-segment.d.mts +3 -14
- package/dist/actions/create-segment.d.mts.map +1 -1
- package/dist/actions/create-segment.mjs +1 -0
- package/dist/actions/create-segment.mjs.map +1 -1
- package/dist/actions/delete-campaign.cjs +1 -0
- package/dist/actions/delete-campaign.cjs.map +1 -1
- package/dist/actions/delete-campaign.d.cts +3 -4
- package/dist/actions/delete-campaign.d.cts.map +1 -1
- package/dist/actions/delete-campaign.d.mts +3 -4
- package/dist/actions/delete-campaign.d.mts.map +1 -1
- package/dist/actions/delete-campaign.mjs +1 -0
- package/dist/actions/delete-campaign.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +1 -0
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +3 -5
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +3 -5
- package/dist/actions/delete-custom-field.d.mts.map +1 -1
- package/dist/actions/delete-custom-field.mjs +1 -0
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-mailing-list.cjs +1 -0
- package/dist/actions/delete-mailing-list.cjs.map +1 -1
- package/dist/actions/delete-mailing-list.d.cts +3 -4
- package/dist/actions/delete-mailing-list.d.cts.map +1 -1
- package/dist/actions/delete-mailing-list.d.mts +3 -4
- package/dist/actions/delete-mailing-list.d.mts.map +1 -1
- package/dist/actions/delete-mailing-list.mjs +1 -0
- package/dist/actions/delete-mailing-list.mjs.map +1 -1
- package/dist/actions/get-all-campaigns.cjs +1 -0
- package/dist/actions/get-all-campaigns.cjs.map +1 -1
- package/dist/actions/get-all-campaigns.d.cts +3 -4
- package/dist/actions/get-all-campaigns.d.cts.map +1 -1
- package/dist/actions/get-all-campaigns.d.mts +3 -4
- package/dist/actions/get-all-campaigns.d.mts.map +1 -1
- package/dist/actions/get-all-campaigns.mjs +1 -0
- package/dist/actions/get-all-campaigns.mjs.map +1 -1
- package/dist/actions/get-all-subscribers.cjs +1 -0
- package/dist/actions/get-all-subscribers.cjs.map +1 -1
- package/dist/actions/get-all-subscribers.d.cts +3 -7
- package/dist/actions/get-all-subscribers.d.cts.map +1 -1
- package/dist/actions/get-all-subscribers.d.mts +3 -7
- package/dist/actions/get-all-subscribers.d.mts.map +1 -1
- package/dist/actions/get-all-subscribers.mjs +1 -0
- package/dist/actions/get-all-subscribers.mjs.map +1 -1
- package/dist/actions/get-campaign-details.cjs +1 -0
- package/dist/actions/get-campaign-details.cjs.map +1 -1
- package/dist/actions/get-campaign-details.d.cts +3 -3
- package/dist/actions/get-campaign-details.d.cts.map +1 -1
- package/dist/actions/get-campaign-details.d.mts +3 -3
- package/dist/actions/get-campaign-details.d.mts.map +1 -1
- package/dist/actions/get-campaign-details.mjs +1 -0
- package/dist/actions/get-campaign-details.mjs.map +1 -1
- package/dist/actions/get-campaign-stats-by-location.cjs +1 -0
- package/dist/actions/get-campaign-stats-by-location.cjs.map +1 -1
- package/dist/actions/get-campaign-stats-by-location.d.cts +3 -3
- package/dist/actions/get-campaign-stats-by-location.d.cts.map +1 -1
- package/dist/actions/get-campaign-stats-by-location.d.mts +3 -3
- package/dist/actions/get-campaign-stats-by-location.d.mts.map +1 -1
- package/dist/actions/get-campaign-stats-by-location.mjs +1 -0
- package/dist/actions/get-campaign-stats-by-location.mjs.map +1 -1
- package/dist/actions/get-mailing-list-details.cjs +1 -0
- package/dist/actions/get-mailing-list-details.cjs.map +1 -1
- package/dist/actions/get-mailing-list-details.d.cts +3 -5
- package/dist/actions/get-mailing-list-details.d.cts.map +1 -1
- package/dist/actions/get-mailing-list-details.d.mts +3 -5
- package/dist/actions/get-mailing-list-details.d.mts.map +1 -1
- package/dist/actions/get-mailing-list-details.mjs +1 -0
- package/dist/actions/get-mailing-list-details.mjs.map +1 -1
- package/dist/actions/get-subscriber-by-email.cjs +1 -0
- package/dist/actions/get-subscriber-by-email.cjs.map +1 -1
- package/dist/actions/get-subscriber-by-email.d.cts +3 -5
- package/dist/actions/get-subscriber-by-email.d.cts.map +1 -1
- package/dist/actions/get-subscriber-by-email.d.mts +3 -5
- package/dist/actions/get-subscriber-by-email.d.mts.map +1 -1
- package/dist/actions/get-subscriber-by-email.mjs +1 -0
- package/dist/actions/get-subscriber-by-email.mjs.map +1 -1
- package/dist/actions/list-all-mailing-lists.cjs +1 -0
- package/dist/actions/list-all-mailing-lists.cjs.map +1 -1
- package/dist/actions/list-all-mailing-lists.d.cts +3 -8
- package/dist/actions/list-all-mailing-lists.d.cts.map +1 -1
- package/dist/actions/list-all-mailing-lists.d.mts +3 -8
- package/dist/actions/list-all-mailing-lists.d.mts.map +1 -1
- package/dist/actions/list-all-mailing-lists.mjs +1 -0
- package/dist/actions/list-all-mailing-lists.mjs.map +1 -1
- package/dist/actions/list-all-senders.cjs +1 -0
- package/dist/actions/list-all-senders.cjs.map +1 -1
- package/dist/actions/list-all-senders.d.cts +3 -3
- package/dist/actions/list-all-senders.d.cts.map +1 -1
- package/dist/actions/list-all-senders.d.mts +3 -3
- package/dist/actions/list-all-senders.d.mts.map +1 -1
- package/dist/actions/list-all-senders.mjs +1 -0
- package/dist/actions/list-all-senders.mjs.map +1 -1
- package/dist/actions/list-campaigns-with-paging.cjs +1 -0
- package/dist/actions/list-campaigns-with-paging.cjs.map +1 -1
- package/dist/actions/list-campaigns-with-paging.d.cts +3 -6
- package/dist/actions/list-campaigns-with-paging.d.cts.map +1 -1
- package/dist/actions/list-campaigns-with-paging.d.mts +3 -6
- package/dist/actions/list-campaigns-with-paging.d.mts.map +1 -1
- package/dist/actions/list-campaigns-with-paging.mjs +1 -0
- package/dist/actions/list-campaigns-with-paging.mjs.map +1 -1
- package/dist/actions/list-segments.cjs +1 -0
- package/dist/actions/list-segments.cjs.map +1 -1
- package/dist/actions/list-segments.d.cts +3 -4
- package/dist/actions/list-segments.d.cts.map +1 -1
- package/dist/actions/list-segments.d.mts +3 -4
- package/dist/actions/list-segments.d.mts.map +1 -1
- package/dist/actions/list-segments.mjs +1 -0
- package/dist/actions/list-segments.mjs.map +1 -1
- package/dist/actions/remove-multiple-subscribers.cjs +1 -0
- package/dist/actions/remove-multiple-subscribers.cjs.map +1 -1
- package/dist/actions/remove-multiple-subscribers.d.cts +3 -5
- package/dist/actions/remove-multiple-subscribers.d.cts.map +1 -1
- package/dist/actions/remove-multiple-subscribers.d.mts +3 -5
- package/dist/actions/remove-multiple-subscribers.d.mts.map +1 -1
- package/dist/actions/remove-multiple-subscribers.mjs +1 -0
- package/dist/actions/remove-multiple-subscribers.mjs.map +1 -1
- package/dist/actions/schedule-campaign.cjs +1 -0
- package/dist/actions/schedule-campaign.cjs.map +1 -1
- package/dist/actions/schedule-campaign.d.cts +3 -6
- package/dist/actions/schedule-campaign.d.cts.map +1 -1
- package/dist/actions/schedule-campaign.d.mts +3 -6
- package/dist/actions/schedule-campaign.d.mts.map +1 -1
- package/dist/actions/schedule-campaign.mjs +1 -0
- package/dist/actions/schedule-campaign.mjs.map +1 -1
- package/dist/actions/send-campaign.cjs +1 -0
- package/dist/actions/send-campaign.cjs.map +1 -1
- package/dist/actions/send-campaign.d.cts +3 -4
- package/dist/actions/send-campaign.d.cts.map +1 -1
- package/dist/actions/send-campaign.d.mts +3 -4
- package/dist/actions/send-campaign.d.mts.map +1 -1
- package/dist/actions/send-campaign.mjs +1 -0
- package/dist/actions/send-campaign.mjs.map +1 -1
- package/dist/actions/unschedule-campaign.cjs +1 -0
- package/dist/actions/unschedule-campaign.cjs.map +1 -1
- package/dist/actions/unschedule-campaign.d.cts +3 -4
- package/dist/actions/unschedule-campaign.d.cts.map +1 -1
- package/dist/actions/unschedule-campaign.d.mts +3 -4
- package/dist/actions/unschedule-campaign.d.mts.map +1 -1
- package/dist/actions/unschedule-campaign.mjs +1 -0
- package/dist/actions/unschedule-campaign.mjs.map +1 -1
- package/dist/actions/unsubscribe-from-account.cjs +1 -0
- package/dist/actions/unsubscribe-from-account.cjs.map +1 -1
- package/dist/actions/unsubscribe-from-account.d.cts +3 -4
- package/dist/actions/unsubscribe-from-account.d.cts.map +1 -1
- package/dist/actions/unsubscribe-from-account.d.mts +3 -4
- package/dist/actions/unsubscribe-from-account.d.mts.map +1 -1
- package/dist/actions/unsubscribe-from-account.mjs +1 -0
- package/dist/actions/unsubscribe-from-account.mjs.map +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.cjs +1 -0
- package/dist/actions/unsubscribe-from-mailing-list.cjs.map +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.d.cts +3 -5
- package/dist/actions/unsubscribe-from-mailing-list.d.cts.map +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.d.mts +3 -5
- package/dist/actions/unsubscribe-from-mailing-list.d.mts.map +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.mjs +1 -0
- package/dist/actions/unsubscribe-from-mailing-list.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +1 -0
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +3 -25
- package/dist/actions/update-campaign.d.cts.map +1 -1
- package/dist/actions/update-campaign.d.mts +3 -25
- package/dist/actions/update-campaign.d.mts.map +1 -1
- package/dist/actions/update-campaign.mjs +1 -0
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-custom-field.cjs +1 -0
- package/dist/actions/update-custom-field.cjs.map +1 -1
- package/dist/actions/update-custom-field.d.cts +3 -10
- package/dist/actions/update-custom-field.d.cts.map +1 -1
- package/dist/actions/update-custom-field.d.mts +3 -10
- package/dist/actions/update-custom-field.d.mts.map +1 -1
- package/dist/actions/update-custom-field.mjs +1 -0
- package/dist/actions/update-custom-field.mjs.map +1 -1
- package/dist/actions/update-mailing-list.cjs +1 -0
- package/dist/actions/update-mailing-list.cjs.map +1 -1
- package/dist/actions/update-mailing-list.d.cts +3 -9
- package/dist/actions/update-mailing-list.d.cts.map +1 -1
- package/dist/actions/update-mailing-list.d.mts +3 -9
- package/dist/actions/update-mailing-list.d.mts.map +1 -1
- package/dist/actions/update-mailing-list.mjs +1 -0
- package/dist/actions/update-mailing-list.mjs.map +1 -1
- package/dist/actions/update-segment-criteria.cjs +1 -0
- package/dist/actions/update-segment-criteria.cjs.map +1 -1
- package/dist/actions/update-segment-criteria.d.cts +3 -11
- package/dist/actions/update-segment-criteria.d.cts.map +1 -1
- package/dist/actions/update-segment-criteria.d.mts +3 -11
- package/dist/actions/update-segment-criteria.d.mts.map +1 -1
- package/dist/actions/update-segment-criteria.mjs +1 -0
- package/dist/actions/update-segment-criteria.mjs.map +1 -1
- package/dist/actions/update-segment.cjs +1 -0
- package/dist/actions/update-segment.cjs.map +1 -1
- package/dist/actions/update-segment.d.cts +3 -15
- package/dist/actions/update-segment.d.cts.map +1 -1
- package/dist/actions/update-segment.d.mts +3 -15
- package/dist/actions/update-segment.d.mts.map +1 -1
- package/dist/actions/update-segment.mjs +1 -0
- package/dist/actions/update-segment.mjs.map +1 -1
- package/dist/actions/update-subscriber.cjs +1 -0
- package/dist/actions/update-subscriber.cjs.map +1 -1
- package/dist/actions/update-subscriber.d.cts +3 -9
- package/dist/actions/update-subscriber.d.cts.map +1 -1
- package/dist/actions/update-subscriber.d.mts +3 -9
- package/dist/actions/update-subscriber.d.mts.map +1 -1
- package/dist/actions/update-subscriber.mjs +1 -0
- package/dist/actions/update-subscriber.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":"get-all-subscribers.mjs","names":[],"sources":["../../src/actions/get-all-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetAllSubscribersInput = z.object({\n Page: z.number().int().default(1).describe(\"Page number of subscriber results to retrieve. Use this with page_size to paginate through large lists.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format.\").optional(),\n status: z.enum([\"Subscribed\", \"Unsubscribed\", \"Bounced\", \"Removed\"]).default(\"Subscribed\").describe(\"The subscription status to filter by. 'Subscribed' returns active subscribers, 'Unsubscribed' returns those who opted out, 'Bounced' returns email addresses that bounced, 'Removed' returns manually removed subscribers.\").optional(),\n PageSize: z.number().int().default(100).describe(\"Number of subscriber records to return per page. Maximum recommended is 500.\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list containing the subscribers.\"),\n}).describe(\"Request schema for GetAllSubscribers\");\nconst MoosendGetAllSubscribers_PagingModelSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable(),\n TotalResults: z.number().int().describe(\"Total number of results.\").nullable(),\n SortExpression: z.string().describe(\"Sort expression used.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n SortIsAscending: z.boolean().describe(\"True if sorted ascending.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_CustomFieldModelSchema = z.object({\n Name: z.string().describe(\"The name of the custom field.\").nullable(),\n Value: z.union([z.string(), z.number().int()]),\n CustomFieldID: z.string().describe(\"The ID of the custom field.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_SubscriberModelSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier.\").nullable(),\n Name: z.string().describe(\"Name of the subscriber.\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"Tags associated with the subscriber.\"),\n Email: z.string().describe(\"Email address of the subscriber.\").nullable(),\n Mobile: z.string().describe(\"Mobile number of the subscriber.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the subscriber was created.\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when the subscriber was removed; null if not removed.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when the subscriber was last updated.\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"Preference values for the subscriber.\").nullable().optional(),\n CustomFields: z.array(MoosendGetAllSubscribers_CustomFieldModelSchema).describe(\"List of custom fields for the subscriber.\"),\n SubscribeType: z.number().int().describe(\"Subscription status code.\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when unsubscribed; null if still subscribed.\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method used to subscribe the member.\").nullable(),\n UnsubscribedFromID: z.string().describe(\"ID from which unsubscribed; null if not applicable.\").nullable().optional(),\n}).passthrough();\nconst MoosendGetAllSubscribers_ContextModelSchema = z.object({\n Paging: MoosendGetAllSubscribers_PagingModelSchema.nullable(),\n Subscribers: z.array(MoosendGetAllSubscribers_SubscriberModelSchema).describe(\"List of subscribers on the mailing list.\"),\n}).passthrough();\nexport const MoosendGetAllSubscribersOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null on success.\").nullable().optional(),\n Context: MoosendGetAllSubscribers_ContextModelSchema.nullable().optional(),\n}).passthrough();\n\nexport const moosendGetAllSubscribers = action(\"MOOSEND_GET_ALL_SUBSCRIBERS\", {\n slug: \"moosend-get-all-subscribers\",\n name: \"Get All Subscribers\",\n description: \"Retrieves all subscribers from a specified mailing list, filtered by their subscription status (Subscribed, Unsubscribed, Bounced, or Removed). Returns paginated results with subscriber details including email, name, custom fields, and subscription timestamps.\",\n input: MoosendGetAllSubscribersInput,\n output: MoosendGetAllSubscribersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-all-subscribers.mjs","names":[],"sources":["../../src/actions/get-all-subscribers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetAllSubscribersInput = z.object({\n Page: z.number().int().default(1).describe(\"Page number of subscriber results to retrieve. Use this with page_size to paginate through large lists.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format.\").optional(),\n status: z.enum([\"Subscribed\", \"Unsubscribed\", \"Bounced\", \"Removed\"]).default(\"Subscribed\").describe(\"The subscription status to filter by. 'Subscribed' returns active subscribers, 'Unsubscribed' returns those who opted out, 'Bounced' returns email addresses that bounced, 'Removed' returns manually removed subscribers.\").optional(),\n PageSize: z.number().int().default(100).describe(\"Number of subscriber records to return per page. Maximum recommended is 500.\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list containing the subscribers.\"),\n}).describe(\"Request schema for GetAllSubscribers\");\nconst MoosendGetAllSubscribers_PagingModelSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable(),\n TotalResults: z.number().int().describe(\"Total number of results.\").nullable(),\n SortExpression: z.string().describe(\"Sort expression used.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n SortIsAscending: z.boolean().describe(\"True if sorted ascending.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_CustomFieldModelSchema = z.object({\n Name: z.string().describe(\"The name of the custom field.\").nullable(),\n Value: z.union([z.string(), z.number().int()]),\n CustomFieldID: z.string().describe(\"The ID of the custom field.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_SubscriberModelSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier.\").nullable(),\n Name: z.string().describe(\"Name of the subscriber.\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"Tags associated with the subscriber.\"),\n Email: z.string().describe(\"Email address of the subscriber.\").nullable(),\n Mobile: z.string().describe(\"Mobile number of the subscriber.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the subscriber was created.\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when the subscriber was removed; null if not removed.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when the subscriber was last updated.\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"Preference values for the subscriber.\").nullable().optional(),\n CustomFields: z.array(MoosendGetAllSubscribers_CustomFieldModelSchema).describe(\"List of custom fields for the subscriber.\"),\n SubscribeType: z.number().int().describe(\"Subscription status code.\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when unsubscribed; null if still subscribed.\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method used to subscribe the member.\").nullable(),\n UnsubscribedFromID: z.string().describe(\"ID from which unsubscribed; null if not applicable.\").nullable().optional(),\n}).passthrough();\nconst MoosendGetAllSubscribers_ContextModelSchema = z.object({\n Paging: MoosendGetAllSubscribers_PagingModelSchema.nullable(),\n Subscribers: z.array(MoosendGetAllSubscribers_SubscriberModelSchema).describe(\"List of subscribers on the mailing list.\"),\n}).passthrough();\nexport const MoosendGetAllSubscribersOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null on success.\").nullable().optional(),\n Context: MoosendGetAllSubscribers_ContextModelSchema.nullable().optional(),\n}).passthrough();\n\nexport const moosendGetAllSubscribers: AppAction<\n typeof MoosendGetAllSubscribersInput,\n typeof MoosendGetAllSubscribersOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_ALL_SUBSCRIBERS\", {\n slug: \"moosend-get-all-subscribers\",\n name: \"Get All Subscribers\",\n description: \"Retrieves all subscribers from a specified mailing list, filtered by their subscription status (Subscribed, Unsubscribed, Bounced, or Removed). Returns paginated results with subscriber details including email, name, custom fields, and subscription timestamps.\",\n input: MoosendGetAllSubscribersInput,\n output: MoosendGetAllSubscribersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,KAAK;EAAC;EAAc;EAAgB;EAAW;CAAS,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CAC3U,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC7F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvF,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAA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CAAC,SAAS;CAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5F,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8C,EAAE,OAAO;CAC3D,QAAQ,2CAA2C,SAAS;CAC5D,aAAa,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,0CAA0C;AAC1H,CAAC,CAAC,CAAC,YAAY;AAOf,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,SAAS,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-details.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignDetailsInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign whose details are to be retrieved.\"),\n}).describe(\"Request schema for retrieving campaign details.\");\nexport const MoosendGetCampaignDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign details.\");\n\nexport const moosendGetCampaignDetails = action(\"MOOSEND_GET_CAMPAIGN_DETAILS\", {\n slug: \"moosend-get-campaign-details\",\n name: \"Get Campaign Details\",\n description: \"Retrieves comprehensive details about a specific campaign by its ID. Returns complete campaign information including configuration, status, content, and settings. Use this when you need to inspect or verify campaign properties.\",\n input: MoosendGetCampaignDetailsInput,\n output: MoosendGetCampaignDetailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaign-details.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetCampaignDetailsInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign whose details are to be retrieved.\"),\n}).describe(\"Request schema for retrieving campaign details.\");\nexport const MoosendGetCampaignDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign details.\");\n\nexport const moosendGetCampaignDetails: AppAction<\n typeof MoosendGetCampaignDetailsInput,\n typeof MoosendGetCampaignDetailsOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_CAMPAIGN_DETAILS\", {\n slug: \"moosend-get-campaign-details\",\n name: \"Get Campaign Details\",\n description: \"Retrieves comprehensive details about a specific campaign by its ID. Returns complete campaign information including configuration, status, content, and settings. Use this when you need to inspect or verify campaign properties.\",\n input: MoosendGetCampaignDetailsInput,\n output: MoosendGetCampaignDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moosend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-campaign-details.d.ts
|
|
@@ -9,9 +11,7 @@ declare const MoosendGetCampaignDetailsOutput: z.ZodObject<{
|
|
|
9
11
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const moosendGetCampaignDetails:
|
|
13
|
-
campaign_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const moosendGetCampaignDetails: AppAction<typeof MoosendGetCampaignDetailsInput, typeof MoosendGetCampaignDetailsOutput, typeof moosend.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { moosendGetCampaignDetails };
|
|
17
17
|
//# sourceMappingURL=get-campaign-details.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-details.d.cts","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaign-details.d.cts","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moosend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-campaign-details.d.ts
|
|
@@ -9,9 +11,7 @@ declare const MoosendGetCampaignDetailsOutput: z.ZodObject<{
|
|
|
9
11
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const moosendGetCampaignDetails:
|
|
13
|
-
campaign_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const moosendGetCampaignDetails: AppAction<typeof MoosendGetCampaignDetailsInput, typeof MoosendGetCampaignDetailsOutput, typeof moosend.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { moosendGetCampaignDetails };
|
|
17
17
|
//# sourceMappingURL=get-campaign-details.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-details.d.mts","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaign-details.d.mts","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-details.mjs","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignDetailsInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign whose details are to be retrieved.\"),\n}).describe(\"Request schema for retrieving campaign details.\");\nexport const MoosendGetCampaignDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign details.\");\n\nexport const moosendGetCampaignDetails = action(\"MOOSEND_GET_CAMPAIGN_DETAILS\", {\n slug: \"moosend-get-campaign-details\",\n name: \"Get Campaign Details\",\n description: \"Retrieves comprehensive details about a specific campaign by its ID. Returns complete campaign information including configuration, status, content, and settings. Use this when you need to inspect or verify campaign properties.\",\n input: MoosendGetCampaignDetailsInput,\n output: MoosendGetCampaignDetailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaign-details.mjs","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetCampaignDetailsInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign whose details are to be retrieved.\"),\n}).describe(\"Request schema for retrieving campaign details.\");\nexport const MoosendGetCampaignDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign details.\");\n\nexport const moosendGetCampaignDetails: AppAction<\n typeof MoosendGetCampaignDetailsInput,\n typeof MoosendGetCampaignDetailsOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_CAMPAIGN_DETAILS\", {\n slug: \"moosend-get-campaign-details\",\n name: \"Get Campaign Details\",\n description: \"Retrieves comprehensive details about a specific campaign by its ID. Returns complete campaign information including configuration, status, content, and settings. Use this when you need to inspect or verify campaign properties.\",\n input: MoosendGetCampaignDetailsInput,\n output: MoosendGetCampaignDetailsOutput,\n});\n"],"mappings":";;;AAeA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,EAAE,OAAO,EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,iDAeH;CACP,QAf6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-stats-by-location.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignStatsByLocationInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve location statistics for.\"),\n}).describe(\"Request schema for retrieving campaign statistics by country.\");\nexport const MoosendGetCampaignStatsByLocationOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign statistics by country.\");\n\nexport const moosendGetCampaignStatsByLocation = action(\"MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION\", {\n slug: \"moosend-get-campaign-stats-by-location\",\n name: \"Get Campaign Stats by Location\",\n description: \"Retrieves a detailed report of campaign opens (unique and total) by country. Use this when you need to analyze the geographic distribution of email campaign engagement.\",\n input: MoosendGetCampaignStatsByLocationInput,\n output: MoosendGetCampaignStatsByLocationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaign-stats-by-location.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetCampaignStatsByLocationInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve location statistics for.\"),\n}).describe(\"Request schema for retrieving campaign statistics by country.\");\nexport const MoosendGetCampaignStatsByLocationOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign statistics by country.\");\n\nexport const moosendGetCampaignStatsByLocation: AppAction<\n typeof MoosendGetCampaignStatsByLocationInput,\n typeof MoosendGetCampaignStatsByLocationOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION\", {\n slug: \"moosend-get-campaign-stats-by-location\",\n name: \"Get Campaign Stats by Location\",\n description: \"Retrieves a detailed report of campaign opens (unique and total) by country. Use this when you need to analyze the geographic distribution of email campaign engagement.\",\n input: MoosendGetCampaignStatsByLocationInput,\n output: MoosendGetCampaignStatsByLocationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,oCAITC,eAAAA,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moosend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-campaign-stats-by-location.d.ts
|
|
@@ -9,9 +11,7 @@ declare const MoosendGetCampaignStatsByLocationOutput: z.ZodObject<{
|
|
|
9
11
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const moosendGetCampaignStatsByLocation:
|
|
13
|
-
campaign_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const moosendGetCampaignStatsByLocation: AppAction<typeof MoosendGetCampaignStatsByLocationInput, typeof MoosendGetCampaignStatsByLocationOutput, typeof moosend.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { moosendGetCampaignStatsByLocation };
|
|
17
17
|
//# sourceMappingURL=get-campaign-stats-by-location.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-stats-by-location.d.cts","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaign-stats-by-location.d.cts","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAMvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moosend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-campaign-stats-by-location.d.ts
|
|
@@ -9,9 +11,7 @@ declare const MoosendGetCampaignStatsByLocationOutput: z.ZodObject<{
|
|
|
9
11
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const moosendGetCampaignStatsByLocation:
|
|
13
|
-
campaign_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
14
|
+
declare const moosendGetCampaignStatsByLocation: AppAction<typeof MoosendGetCampaignStatsByLocationInput, typeof MoosendGetCampaignStatsByLocationOutput, typeof moosend.credential>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { moosendGetCampaignStatsByLocation };
|
|
17
17
|
//# sourceMappingURL=get-campaign-stats-by-location.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-stats-by-location.d.mts","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaign-stats-by-location.d.mts","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;cAMvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-stats-by-location.mjs","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignStatsByLocationInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve location statistics for.\"),\n}).describe(\"Request schema for retrieving campaign statistics by country.\");\nexport const MoosendGetCampaignStatsByLocationOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign statistics by country.\");\n\nexport const moosendGetCampaignStatsByLocation = action(\"MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION\", {\n slug: \"moosend-get-campaign-stats-by-location\",\n name: \"Get Campaign Stats by Location\",\n description: \"Retrieves a detailed report of campaign opens (unique and total) by country. Use this when you need to analyze the geographic distribution of email campaign engagement.\",\n input: MoosendGetCampaignStatsByLocationInput,\n output: MoosendGetCampaignStatsByLocationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-campaign-stats-by-location.mjs","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetCampaignStatsByLocationInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve location statistics for.\"),\n}).describe(\"Request schema for retrieving campaign statistics by country.\");\nexport const MoosendGetCampaignStatsByLocationOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign statistics by country.\");\n\nexport const moosendGetCampaignStatsByLocation: AppAction<\n typeof MoosendGetCampaignStatsByLocationInput,\n typeof MoosendGetCampaignStatsByLocationOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION\", {\n slug: \"moosend-get-campaign-stats-by-location\",\n name: \"Get Campaign Stats by Location\",\n description: \"Retrieves a detailed report of campaign opens (unique and total) by country. Use this when you need to analyze the geographic distribution of email campaign engagement.\",\n input: MoosendGetCampaignStatsByLocationInput,\n output: MoosendGetCampaignStatsByLocationOutput,\n});\n"],"mappings":";;;AAeA,MAAa,oCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBoD,EAAE,OAAO,EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC,CAAC,CAAC,SAAS,+DAeH;CACP,QAfqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mailing-list-details.cjs","names":["z","action"],"sources":["../../src/actions/get-mailing-list-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetMailingListDetailsInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to be returned.\"),\n with_statistics: z.enum([\"true\", \"false\"]).describe(\"Whether to include statistics in the response.\").optional(),\n}).describe(\"Request schema for retrieving mailing list details.\");\nconst MoosendGetMailingListDetails_CustomFieldDefinitionSchema = z.object({\n ID: z.string().describe(\"Custom field identifier.\").nullable(),\n Name: z.string().describe(\"Field name.\").nullable(),\n Type: z.number().int().describe(\"Field type: 0=text, 1=number, 2=dateTime, 3=singleSelectDropdown, 5=checkbox.\").nullable(),\n Context: z.string().describe(\"Options for dropdown types; null otherwise.\").nullable().optional(),\n IsRequired: z.boolean().describe(\"Whether field is mandatory.\").nullable(),\n}).passthrough().describe(\"Custom field definition model.\");\nconst MoosendGetMailingListDetails_MailingListContextSchema = z.object({\n ID: z.string().describe(\"The unique identifier for the mailing list.\").nullable(),\n Name: z.string().describe(\"The mailing list name.\").nullable(),\n Status: z.number().int().describe(\"List status: 0=created, 1=imported, 2=importing, 3=deleted.\").nullable(),\n CreatedBy: z.string().describe(\"IP address where list was created.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp of creation.\").nullable(),\n UpdatedBy: z.string().describe(\"IP address of last update.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp of last update.\").nullable().optional(),\n ImportOperation: z.record(z.string(), z.unknown()).describe(\"Latest import operation details.\").nullable().optional(),\n ActiveMemberCount: z.number().int().describe(\"Number of active members.\").nullable(),\n BouncedMemberCount: z.number().int().describe(\"Count of bounced email addresses.\").nullable(),\n RemovedMemberCount: z.number().int().describe(\"Count of removed addresses.\").nullable(),\n CustomFieldsDefinition: z.array(MoosendGetMailingListDetails_CustomFieldDefinitionSchema).describe(\"Custom field definitions for the list.\"),\n UnsubscribedMemberCount: z.number().int().describe(\"Number of unsubscribed emails.\").nullable(),\n}).passthrough().describe(\"Mailing list context containing all details.\");\nexport const MoosendGetMailingListDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: MoosendGetMailingListDetails_MailingListContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving mailing list details.\");\n\nexport const moosendGetMailingListDetails = action(\"MOOSEND_GET_MAILING_LIST_DETAILS\", {\n slug: \"moosend-get-mailing-list-details\",\n name: \"Get Mailing List Details\",\n description: \"Gets details for a given mailing list including name, member counts, status, and custom field definitions. Optionally include subscriber statistics. Use this when you need to inspect mailing list properties or verify list configuration.\",\n input: MoosendGetMailingListDetailsInput,\n output: MoosendGetMailingListDetailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-mailing-list-details.cjs","names":["z","action"],"sources":["../../src/actions/get-mailing-list-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetMailingListDetailsInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to be returned.\"),\n with_statistics: z.enum([\"true\", \"false\"]).describe(\"Whether to include statistics in the response.\").optional(),\n}).describe(\"Request schema for retrieving mailing list details.\");\nconst MoosendGetMailingListDetails_CustomFieldDefinitionSchema = z.object({\n ID: z.string().describe(\"Custom field identifier.\").nullable(),\n Name: z.string().describe(\"Field name.\").nullable(),\n Type: z.number().int().describe(\"Field type: 0=text, 1=number, 2=dateTime, 3=singleSelectDropdown, 5=checkbox.\").nullable(),\n Context: z.string().describe(\"Options for dropdown types; null otherwise.\").nullable().optional(),\n IsRequired: z.boolean().describe(\"Whether field is mandatory.\").nullable(),\n}).passthrough().describe(\"Custom field definition model.\");\nconst MoosendGetMailingListDetails_MailingListContextSchema = z.object({\n ID: z.string().describe(\"The unique identifier for the mailing list.\").nullable(),\n Name: z.string().describe(\"The mailing list name.\").nullable(),\n Status: z.number().int().describe(\"List status: 0=created, 1=imported, 2=importing, 3=deleted.\").nullable(),\n CreatedBy: z.string().describe(\"IP address where list was created.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp of creation.\").nullable(),\n UpdatedBy: z.string().describe(\"IP address of last update.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp of last update.\").nullable().optional(),\n ImportOperation: z.record(z.string(), z.unknown()).describe(\"Latest import operation details.\").nullable().optional(),\n ActiveMemberCount: z.number().int().describe(\"Number of active members.\").nullable(),\n BouncedMemberCount: z.number().int().describe(\"Count of bounced email addresses.\").nullable(),\n RemovedMemberCount: z.number().int().describe(\"Count of removed addresses.\").nullable(),\n CustomFieldsDefinition: z.array(MoosendGetMailingListDetails_CustomFieldDefinitionSchema).describe(\"Custom field definitions for the list.\"),\n UnsubscribedMemberCount: z.number().int().describe(\"Number of unsubscribed emails.\").nullable(),\n}).passthrough().describe(\"Mailing list context containing all details.\");\nexport const MoosendGetMailingListDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: MoosendGetMailingListDetails_MailingListContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving mailing list details.\");\n\nexport const moosendGetMailingListDetails: AppAction<\n typeof MoosendGetMailingListDetailsInput,\n typeof MoosendGetMailingListDetailsOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_MAILING_LIST_DETAILS\", {\n slug: \"moosend-get-mailing-list-details\",\n name: \"Get Mailing List Details\",\n description: \"Gets details for a given mailing list including name, member counts, status, and custom field definitions. Optionally include subscriber statistics. Use this when you need to inspect mailing list properties or verify list configuration.\",\n input: MoosendGetMailingListDetailsInput,\n output: MoosendGetMailingListDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACjF,iBAAiBA,IAAAA,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAA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,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAAS,sDAAsD,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moosend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-mailing-list-details.d.ts
|
|
@@ -37,11 +39,7 @@ declare const MoosendGetMailingListDetailsOutput: z.ZodObject<{
|
|
|
37
39
|
UnsubscribedMemberCount: z.ZodNullable<z.ZodNumber>;
|
|
38
40
|
}, z.core.$loose>>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const moosendGetMailingListDetails:
|
|
41
|
-
mailing_list_id: string;
|
|
42
|
-
format?: "json" | "xml" | undefined;
|
|
43
|
-
with_statistics?: "true" | "false" | undefined;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const moosendGetMailingListDetails: AppAction<typeof MoosendGetMailingListDetailsInput, typeof MoosendGetMailingListDetailsOutput, typeof moosend.credential>;
|
|
45
43
|
//#endregion
|
|
46
44
|
export { moosendGetMailingListDetails };
|
|
47
45
|
//# sourceMappingURL=get-mailing-list-details.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mailing-list-details.d.cts","names":[],"sources":["../../src/actions/get-mailing-list-details.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-mailing-list-details.d.cts","names":[],"sources":["../../src/actions/get-mailing-list-details.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cA2BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moosend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-mailing-list-details.d.ts
|
|
@@ -37,11 +39,7 @@ declare const MoosendGetMailingListDetailsOutput: z.ZodObject<{
|
|
|
37
39
|
UnsubscribedMemberCount: z.ZodNullable<z.ZodNumber>;
|
|
38
40
|
}, z.core.$loose>>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const moosendGetMailingListDetails:
|
|
41
|
-
mailing_list_id: string;
|
|
42
|
-
format?: "json" | "xml" | undefined;
|
|
43
|
-
with_statistics?: "true" | "false" | undefined;
|
|
44
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
42
|
+
declare const moosendGetMailingListDetails: AppAction<typeof MoosendGetMailingListDetailsInput, typeof MoosendGetMailingListDetailsOutput, typeof moosend.credential>;
|
|
45
43
|
//#endregion
|
|
46
44
|
export { moosendGetMailingListDetails };
|
|
47
45
|
//# sourceMappingURL=get-mailing-list-details.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mailing-list-details.d.mts","names":[],"sources":["../../src/actions/get-mailing-list-details.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-mailing-list-details.d.mts","names":[],"sources":["../../src/actions/get-mailing-list-details.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cA2BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAMlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mailing-list-details.mjs","names":[],"sources":["../../src/actions/get-mailing-list-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetMailingListDetailsInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to be returned.\"),\n with_statistics: z.enum([\"true\", \"false\"]).describe(\"Whether to include statistics in the response.\").optional(),\n}).describe(\"Request schema for retrieving mailing list details.\");\nconst MoosendGetMailingListDetails_CustomFieldDefinitionSchema = z.object({\n ID: z.string().describe(\"Custom field identifier.\").nullable(),\n Name: z.string().describe(\"Field name.\").nullable(),\n Type: z.number().int().describe(\"Field type: 0=text, 1=number, 2=dateTime, 3=singleSelectDropdown, 5=checkbox.\").nullable(),\n Context: z.string().describe(\"Options for dropdown types; null otherwise.\").nullable().optional(),\n IsRequired: z.boolean().describe(\"Whether field is mandatory.\").nullable(),\n}).passthrough().describe(\"Custom field definition model.\");\nconst MoosendGetMailingListDetails_MailingListContextSchema = z.object({\n ID: z.string().describe(\"The unique identifier for the mailing list.\").nullable(),\n Name: z.string().describe(\"The mailing list name.\").nullable(),\n Status: z.number().int().describe(\"List status: 0=created, 1=imported, 2=importing, 3=deleted.\").nullable(),\n CreatedBy: z.string().describe(\"IP address where list was created.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp of creation.\").nullable(),\n UpdatedBy: z.string().describe(\"IP address of last update.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp of last update.\").nullable().optional(),\n ImportOperation: z.record(z.string(), z.unknown()).describe(\"Latest import operation details.\").nullable().optional(),\n ActiveMemberCount: z.number().int().describe(\"Number of active members.\").nullable(),\n BouncedMemberCount: z.number().int().describe(\"Count of bounced email addresses.\").nullable(),\n RemovedMemberCount: z.number().int().describe(\"Count of removed addresses.\").nullable(),\n CustomFieldsDefinition: z.array(MoosendGetMailingListDetails_CustomFieldDefinitionSchema).describe(\"Custom field definitions for the list.\"),\n UnsubscribedMemberCount: z.number().int().describe(\"Number of unsubscribed emails.\").nullable(),\n}).passthrough().describe(\"Mailing list context containing all details.\");\nexport const MoosendGetMailingListDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: MoosendGetMailingListDetails_MailingListContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving mailing list details.\");\n\nexport const moosendGetMailingListDetails = action(\"MOOSEND_GET_MAILING_LIST_DETAILS\", {\n slug: \"moosend-get-mailing-list-details\",\n name: \"Get Mailing List Details\",\n description: \"Gets details for a given mailing list including name, member counts, status, and custom field definitions. Optionally include subscriber statistics. Use this when you need to inspect mailing list properties or verify list configuration.\",\n input: MoosendGetMailingListDetailsInput,\n output: MoosendGetMailingListDetailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-mailing-list-details.mjs","names":[],"sources":["../../src/actions/get-mailing-list-details.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetMailingListDetailsInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format: 'json' or 'xml'.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to be returned.\"),\n with_statistics: z.enum([\"true\", \"false\"]).describe(\"Whether to include statistics in the response.\").optional(),\n}).describe(\"Request schema for retrieving mailing list details.\");\nconst MoosendGetMailingListDetails_CustomFieldDefinitionSchema = z.object({\n ID: z.string().describe(\"Custom field identifier.\").nullable(),\n Name: z.string().describe(\"Field name.\").nullable(),\n Type: z.number().int().describe(\"Field type: 0=text, 1=number, 2=dateTime, 3=singleSelectDropdown, 5=checkbox.\").nullable(),\n Context: z.string().describe(\"Options for dropdown types; null otherwise.\").nullable().optional(),\n IsRequired: z.boolean().describe(\"Whether field is mandatory.\").nullable(),\n}).passthrough().describe(\"Custom field definition model.\");\nconst MoosendGetMailingListDetails_MailingListContextSchema = z.object({\n ID: z.string().describe(\"The unique identifier for the mailing list.\").nullable(),\n Name: z.string().describe(\"The mailing list name.\").nullable(),\n Status: z.number().int().describe(\"List status: 0=created, 1=imported, 2=importing, 3=deleted.\").nullable(),\n CreatedBy: z.string().describe(\"IP address where list was created.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp of creation.\").nullable(),\n UpdatedBy: z.string().describe(\"IP address of last update.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp of last update.\").nullable().optional(),\n ImportOperation: z.record(z.string(), z.unknown()).describe(\"Latest import operation details.\").nullable().optional(),\n ActiveMemberCount: z.number().int().describe(\"Number of active members.\").nullable(),\n BouncedMemberCount: z.number().int().describe(\"Count of bounced email addresses.\").nullable(),\n RemovedMemberCount: z.number().int().describe(\"Count of removed addresses.\").nullable(),\n CustomFieldsDefinition: z.array(MoosendGetMailingListDetails_CustomFieldDefinitionSchema).describe(\"Custom field definitions for the list.\"),\n UnsubscribedMemberCount: z.number().int().describe(\"Number of unsubscribed emails.\").nullable(),\n}).passthrough().describe(\"Mailing list context containing all details.\");\nexport const MoosendGetMailingListDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: MoosendGetMailingListDetails_MailingListContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving mailing list details.\");\n\nexport const moosendGetMailingListDetails: AppAction<\n typeof MoosendGetMailingListDetailsInput,\n typeof MoosendGetMailingListDetailsOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_MAILING_LIST_DETAILS\", {\n slug: \"moosend-get-mailing-list-details\",\n name: \"Get Mailing List Details\",\n description: \"Gets details for a given mailing list including name, member counts, status, and custom field definitions. Optionally include subscriber statistics. Use this when you need to inspect mailing list properties or verify list configuration.\",\n input: MoosendGetMailingListDetailsInput,\n output: MoosendGetMailingListDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO;CACxD,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACvG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACjF,iBAAiB,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,2DAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC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AAC,CAAC,SAAS,8CAA8C;AAOxE,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,sDAAsD,SAAS,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscriber-by-email.cjs","names":["z","action"],"sources":["../../src/actions/get-subscriber-by-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetSubscriberByEmailInput = z.object({\n Email: z.string().describe(\"Email address of the subscriber to retrieve.\"),\n format: z.string().default(\"json\").describe(\"Response format (must be 'json').\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list to search in.\"),\n}).describe(\"Request schema for `GetSubscriberByEmail`\");\nconst MoosendGetSubscriberByEmail_CustomFieldSchema = z.object({\n Name: z.string().describe(\"Custom field name\").nullable(),\n Value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]),\n CustomFieldID: z.string().describe(\"Custom field unique identifier\").nullable(),\n}).passthrough().describe(\"Custom field value in subscriber record\");\nconst MoosendGetSubscriberByEmail_SubscriberContextSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier\").nullable(),\n Name: z.string().describe(\"Subscriber name\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"List of tags associated with subscriber\"),\n Email: z.string().describe(\"Subscriber email address\").nullable(),\n CreatedOn: z.string().describe(\"Timestamp when subscriber was added, in /Date(...) format\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when subscriber was removed, or null if not removed\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when subscriber was last updated\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"List of preference options selected by subscriber\").nullable().optional(),\n CustomFields: z.array(MoosendGetSubscriberByEmail_CustomFieldSchema).describe(\"List of custom field name/value pairs for this subscriber\"),\n SubscribeType: z.number().int().describe(\"Type of subscription (integer code)\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when subscriber unsubscribed, or null if still active\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method by which subscription occurred (integer code)\").nullable(),\n UnsubscribedFromID: z.string().describe(\"Mailing list ID from which unsubscribed, or null\").nullable().optional(),\n}).passthrough().describe(\"Subscriber details returned by Moosend\");\nexport const MoosendGetSubscriberByEmailOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success\").nullable(),\n Error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n Context: MoosendGetSubscriberByEmail_SubscriberContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetSubscriberByEmail`\");\n\nexport const moosendGetSubscriberByEmail = action(\"MOOSEND_GET_SUBSCRIBER_BY_EMAIL\", {\n slug: \"moosend-get-subscriber-by-email\",\n name: \"Get Subscriber By Email\",\n description: \"Retrieves detailed subscriber information by email address from a specific mailing list. Returns comprehensive subscriber data including ID, name, subscription status, custom fields, tags, preferences, and timestamps for creation, updates, and unsubscribe events. Use this when you need to: - Look up a subscriber's details using their email address - Check if an email is already subscribed to a list - Retrieve custom field values for a subscriber - Check subscription status and history Example: \\\"Get subscriber details for jane.doe@example.com in list 04fad8e2-...\\\"\",\n input: MoosendGetSubscriberByEmailInput,\n output: MoosendGetSubscriberByEmailOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-subscriber-by-email.cjs","names":["z","action"],"sources":["../../src/actions/get-subscriber-by-email.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetSubscriberByEmailInput = z.object({\n Email: z.string().describe(\"Email address of the subscriber to retrieve.\"),\n format: z.string().default(\"json\").describe(\"Response format (must be 'json').\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list to search in.\"),\n}).describe(\"Request schema for `GetSubscriberByEmail`\");\nconst MoosendGetSubscriberByEmail_CustomFieldSchema = z.object({\n Name: z.string().describe(\"Custom field name\").nullable(),\n Value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]),\n CustomFieldID: z.string().describe(\"Custom field unique identifier\").nullable(),\n}).passthrough().describe(\"Custom field value in subscriber record\");\nconst MoosendGetSubscriberByEmail_SubscriberContextSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier\").nullable(),\n Name: z.string().describe(\"Subscriber name\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"List of tags associated with subscriber\"),\n Email: z.string().describe(\"Subscriber email address\").nullable(),\n CreatedOn: z.string().describe(\"Timestamp when subscriber was added, in /Date(...) format\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when subscriber was removed, or null if not removed\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when subscriber was last updated\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"List of preference options selected by subscriber\").nullable().optional(),\n CustomFields: z.array(MoosendGetSubscriberByEmail_CustomFieldSchema).describe(\"List of custom field name/value pairs for this subscriber\"),\n SubscribeType: z.number().int().describe(\"Type of subscription (integer code)\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when subscriber unsubscribed, or null if still active\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method by which subscription occurred (integer code)\").nullable(),\n UnsubscribedFromID: z.string().describe(\"Mailing list ID from which unsubscribed, or null\").nullable().optional(),\n}).passthrough().describe(\"Subscriber details returned by Moosend\");\nexport const MoosendGetSubscriberByEmailOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success\").nullable(),\n Error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n Context: MoosendGetSubscriberByEmail_SubscriberContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetSubscriberByEmail`\");\n\nexport const moosendGetSubscriberByEmail: AppAction<\n typeof MoosendGetSubscriberByEmailInput,\n typeof MoosendGetSubscriberByEmailOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_SUBSCRIBER_BY_EMAIL\", {\n slug: \"moosend-get-subscriber-by-email\",\n name: \"Get Subscriber By Email\",\n description: \"Retrieves detailed subscriber information by email address from a specific mailing list. Returns comprehensive subscriber data including ID, name, subscription status, custom fields, tags, preferences, and timestamps for creation, updates, and unsubscribe events. Use this when you need to: - Look up a subscriber's details using their email address - Check if an email is already subscribed to a list - Retrieve custom field values for a subscriber - Check subscription status and history Example: \\\"Get subscriber details for jane.doe@example.com in list 04fad8e2-...\\\"\",\n input: MoosendGetSubscriberByEmailInput,\n output: MoosendGetSubscriberByEmailOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC1F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC/E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,OAAOA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC;CACtE,eAAeA,IAAAA,E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AS;CAC5G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,SAAS,oDAAoD,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moosend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-subscriber-by-email.d.ts
|
|
@@ -29,11 +31,7 @@ declare const MoosendGetSubscriberByEmailOutput: z.ZodObject<{
|
|
|
29
31
|
UnsubscribedFromID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
}, z.core.$loose>>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const moosendGetSubscriberByEmail:
|
|
33
|
-
Email: string;
|
|
34
|
-
mailingListID: string;
|
|
35
|
-
format?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
declare const moosendGetSubscriberByEmail: AppAction<typeof MoosendGetSubscriberByEmailInput, typeof MoosendGetSubscriberByEmailOutput, typeof moosend.credential>;
|
|
37
35
|
//#endregion
|
|
38
36
|
export { moosendGetSubscriberByEmail };
|
|
39
37
|
//# sourceMappingURL=get-subscriber-by-email.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscriber-by-email.d.cts","names":[],"sources":["../../src/actions/get-subscriber-by-email.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-subscriber-by-email.d.cts","names":[],"sources":["../../src/actions/get-subscriber-by-email.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAyBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moosend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-subscriber-by-email.d.ts
|
|
@@ -29,11 +31,7 @@ declare const MoosendGetSubscriberByEmailOutput: z.ZodObject<{
|
|
|
29
31
|
UnsubscribedFromID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
32
|
}, z.core.$loose>>>;
|
|
31
33
|
}, z.core.$loose>;
|
|
32
|
-
declare const moosendGetSubscriberByEmail:
|
|
33
|
-
Email: string;
|
|
34
|
-
mailingListID: string;
|
|
35
|
-
format?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
34
|
+
declare const moosendGetSubscriberByEmail: AppAction<typeof MoosendGetSubscriberByEmailInput, typeof MoosendGetSubscriberByEmailOutput, typeof moosend.credential>;
|
|
37
35
|
//#endregion
|
|
38
36
|
export { moosendGetSubscriberByEmail };
|
|
39
37
|
//# sourceMappingURL=get-subscriber-by-email.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscriber-by-email.d.mts","names":[],"sources":["../../src/actions/get-subscriber-by-email.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-subscriber-by-email.d.mts","names":[],"sources":["../../src/actions/get-subscriber-by-email.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAyBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-subscriber-by-email.mjs","names":[],"sources":["../../src/actions/get-subscriber-by-email.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetSubscriberByEmailInput = z.object({\n Email: z.string().describe(\"Email address of the subscriber to retrieve.\"),\n format: z.string().default(\"json\").describe(\"Response format (must be 'json').\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list to search in.\"),\n}).describe(\"Request schema for `GetSubscriberByEmail`\");\nconst MoosendGetSubscriberByEmail_CustomFieldSchema = z.object({\n Name: z.string().describe(\"Custom field name\").nullable(),\n Value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]),\n CustomFieldID: z.string().describe(\"Custom field unique identifier\").nullable(),\n}).passthrough().describe(\"Custom field value in subscriber record\");\nconst MoosendGetSubscriberByEmail_SubscriberContextSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier\").nullable(),\n Name: z.string().describe(\"Subscriber name\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"List of tags associated with subscriber\"),\n Email: z.string().describe(\"Subscriber email address\").nullable(),\n CreatedOn: z.string().describe(\"Timestamp when subscriber was added, in /Date(...) format\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when subscriber was removed, or null if not removed\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when subscriber was last updated\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"List of preference options selected by subscriber\").nullable().optional(),\n CustomFields: z.array(MoosendGetSubscriberByEmail_CustomFieldSchema).describe(\"List of custom field name/value pairs for this subscriber\"),\n SubscribeType: z.number().int().describe(\"Type of subscription (integer code)\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when subscriber unsubscribed, or null if still active\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method by which subscription occurred (integer code)\").nullable(),\n UnsubscribedFromID: z.string().describe(\"Mailing list ID from which unsubscribed, or null\").nullable().optional(),\n}).passthrough().describe(\"Subscriber details returned by Moosend\");\nexport const MoosendGetSubscriberByEmailOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success\").nullable(),\n Error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n Context: MoosendGetSubscriberByEmail_SubscriberContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetSubscriberByEmail`\");\n\nexport const moosendGetSubscriberByEmail = action(\"MOOSEND_GET_SUBSCRIBER_BY_EMAIL\", {\n slug: \"moosend-get-subscriber-by-email\",\n name: \"Get Subscriber By Email\",\n description: \"Retrieves detailed subscriber information by email address from a specific mailing list. Returns comprehensive subscriber data including ID, name, subscription status, custom fields, tags, preferences, and timestamps for creation, updates, and unsubscribe events. Use this when you need to: - Look up a subscriber's details using their email address - Check if an email is already subscribed to a list - Retrieve custom field values for a subscriber - Check subscription status and history Example: \\\"Get subscriber details for jane.doe@example.com in list 04fad8e2-...\\\"\",\n input: MoosendGetSubscriberByEmailInput,\n output: MoosendGetSubscriberByEmailOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-subscriber-by-email.mjs","names":[],"sources":["../../src/actions/get-subscriber-by-email.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendGetSubscriberByEmailInput = z.object({\n Email: z.string().describe(\"Email address of the subscriber to retrieve.\"),\n format: z.string().default(\"json\").describe(\"Response format (must be 'json').\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list to search in.\"),\n}).describe(\"Request schema for `GetSubscriberByEmail`\");\nconst MoosendGetSubscriberByEmail_CustomFieldSchema = z.object({\n Name: z.string().describe(\"Custom field name\").nullable(),\n Value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]),\n CustomFieldID: z.string().describe(\"Custom field unique identifier\").nullable(),\n}).passthrough().describe(\"Custom field value in subscriber record\");\nconst MoosendGetSubscriberByEmail_SubscriberContextSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier\").nullable(),\n Name: z.string().describe(\"Subscriber name\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"List of tags associated with subscriber\"),\n Email: z.string().describe(\"Subscriber email address\").nullable(),\n CreatedOn: z.string().describe(\"Timestamp when subscriber was added, in /Date(...) format\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when subscriber was removed, or null if not removed\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when subscriber was last updated\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"List of preference options selected by subscriber\").nullable().optional(),\n CustomFields: z.array(MoosendGetSubscriberByEmail_CustomFieldSchema).describe(\"List of custom field name/value pairs for this subscriber\"),\n SubscribeType: z.number().int().describe(\"Type of subscription (integer code)\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when subscriber unsubscribed, or null if still active\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method by which subscription occurred (integer code)\").nullable(),\n UnsubscribedFromID: z.string().describe(\"Mailing list ID from which unsubscribed, or null\").nullable().optional(),\n}).passthrough().describe(\"Subscriber details returned by Moosend\");\nexport const MoosendGetSubscriberByEmailOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success\").nullable(),\n Error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n Context: MoosendGetSubscriberByEmail_SubscriberContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetSubscriberByEmail`\");\n\nexport const moosendGetSubscriberByEmail: AppAction<\n typeof MoosendGetSubscriberByEmailInput,\n typeof MoosendGetSubscriberByEmailOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_GET_SUBSCRIBER_BY_EMAIL\", {\n slug: \"moosend-get-subscriber-by-email\",\n name: \"Get Subscriber By Email\",\n description: \"Retrieves detailed subscriber information by email address from a specific mailing list. Returns comprehensive subscriber data including ID, name, subscription status, custom fields, tags, preferences, and timestamps for creation, updates, and unsubscribe events. Use this when you need to: - Look up a subscriber's details using their email address - Check if an email is already subscribed to a list - Retrieve custom field values for a subscriber - Check subscription status and history Example: \\\"Get subscriber details for jane.doe@example.com in list 04fad8e2-...\\\"\",\n input: MoosendGetSubscriberByEmailInput,\n output: MoosendGetSubscriberByEmailOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC1F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;AAC/E,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,OAAO,EAAE,MAAM;EAAC,EAAE,OAAO;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,QAAQ;CAAC,CAAC;CACtE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,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AAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,SAAS,oDAAoD,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-mailing-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-all-mailing-lists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendListAllMailingListsInput = z.object({\n Page: z.number().int().default(1).describe(\"The page number to display results for. Must be a positive integer.\").optional(),\n Format: z.string().default(\"json\").describe(\"Response format. Only JSON format is supported.\").optional(),\n ShortBy: z.enum([\"Name\", \"Subject\", \"Status\", \"DeliveredOn\", \"CreatedOn\"]).describe(\"Sort by property for mailing lists.\").optional(),\n PageSize: z.number().int().default(10).describe(\"The maximum number of results per page. Must be a positive integer.\").optional(),\n SortMethod: z.enum([\"ASC\", \"DESC\"]).describe(\"Sort method for mailing lists.\").optional(),\n WithStatistics: z.string().describe(\"Whether to fetch statistics for subscribers. Use 'true' or 'false'.\").optional(),\n}).describe(\"Request model for listing all mailing lists.\");\nconst MoosendListAllMailingLists_PagingInfoSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable(),\n TotalResults: z.number().int().describe(\"Total number of results available.\").nullable(),\n SortExpression: z.string().describe(\"Field used for sorting results.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n SortIsAscending: z.boolean().describe(\"Whether results are in ascending order based on sort expression.\").nullable(),\n}).passthrough().describe(\"Paging information for the mailing lists response.\");\nconst MoosendListAllMailingLists_CustomFieldDefinitionSchema = z.object({\n ID: z.string().describe(\"Unique ID of the custom field.\").nullable(),\n Name: z.string().describe(\"Name of the custom field.\").nullable(),\n Type: z.number().int().describe(\"Type of the custom field (numeric code).\").nullable(),\n Context: z.string().describe(\"Additional context for the custom field.\").nullable().optional(),\n IsHidden: z.boolean().describe(\"Whether this custom field is hidden.\").nullable(),\n IsRequired: z.boolean().describe(\"Whether this custom field is required.\").nullable(),\n FallBackValue: z.string().describe(\"Fallback value for the custom field.\").nullable().optional(),\n}).passthrough().describe(\"Custom field definition in a mailing list.\");\nconst MoosendListAllMailingLists_MailingListInfoSchema = z.object({\n ID: z.string().describe(\"Unique ID of the mailing list.\").nullable(),\n Name: z.string().describe(\"Name of the mailing list.\").nullable(),\n Status: z.number().int().describe(\"Status of the mailing list (numeric code).\").nullable(),\n CreatedBy: z.string().describe(\"ID of the user who created the mailing list.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Date and time when the mailing list was created.\").nullable().optional(),\n UpdatedBy: z.string().describe(\"ID of the user who last updated the mailing list.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Date and time when the mailing list was last updated.\").nullable().optional(),\n ActiveMemberCount: z.number().int().describe(\"Number of active members in the list.\").nullable(),\n BouncedMemberCount: z.number().int().describe(\"Number of bounced members in the list.\").nullable(),\n RemovedMemberCount: z.number().int().describe(\"Number of removed members from the list.\").nullable(),\n CustomFieldsDefinition: z.array(MoosendListAllMailingLists_CustomFieldDefinitionSchema).describe(\"List of custom field definitions for this mailing list.\"),\n UnsubscribedMemberCount: z.number().int().describe(\"Number of unsubscribed members from the list.\").nullable(),\n}).passthrough().describe(\"Information about a single mailing list.\");\nconst MoosendListAllMailingLists_ContextDataSchema = z.object({\n Paging: MoosendListAllMailingLists_PagingInfoSchema.nullable(),\n MailingLists: z.array(MoosendListAllMailingLists_MailingListInfoSchema).describe(\"List of mailing lists in your account.\"),\n}).passthrough().describe(\"Context data containing paging info and mailing lists.\");\nexport const MoosendListAllMailingListsOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message, if any; null on success.\").nullable().optional(),\n Context: MoosendListAllMailingLists_ContextDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing all mailing lists.\");\n\nexport const moosendListAllMailingLists = action(\"MOOSEND_LIST_ALL_MAILING_LISTS\", {\n slug: \"moosend-list-all-mailing-lists\",\n name: \"List all mailing lists\",\n description: \"Tool to get a list of your active mailing lists in your account. Use after acquiring valid API credentials to explore mailing list data. Optionally include statistics and sort results by various fields.\",\n input: MoosendListAllMailingListsInput,\n output: MoosendListAllMailingListsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-mailing-lists.cjs","names":["z","action"],"sources":["../../src/actions/list-all-mailing-lists.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { moosend } from \"../app\";\n\nexport const MoosendListAllMailingListsInput = z.object({\n Page: z.number().int().default(1).describe(\"The page number to display results for. Must be a positive integer.\").optional(),\n Format: z.string().default(\"json\").describe(\"Response format. Only JSON format is supported.\").optional(),\n ShortBy: z.enum([\"Name\", \"Subject\", \"Status\", \"DeliveredOn\", \"CreatedOn\"]).describe(\"Sort by property for mailing lists.\").optional(),\n PageSize: z.number().int().default(10).describe(\"The maximum number of results per page. Must be a positive integer.\").optional(),\n SortMethod: z.enum([\"ASC\", \"DESC\"]).describe(\"Sort method for mailing lists.\").optional(),\n WithStatistics: z.string().describe(\"Whether to fetch statistics for subscribers. Use 'true' or 'false'.\").optional(),\n}).describe(\"Request model for listing all mailing lists.\");\nconst MoosendListAllMailingLists_PagingInfoSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable(),\n TotalResults: z.number().int().describe(\"Total number of results available.\").nullable(),\n SortExpression: z.string().describe(\"Field used for sorting results.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n SortIsAscending: z.boolean().describe(\"Whether results are in ascending order based on sort expression.\").nullable(),\n}).passthrough().describe(\"Paging information for the mailing lists response.\");\nconst MoosendListAllMailingLists_CustomFieldDefinitionSchema = z.object({\n ID: z.string().describe(\"Unique ID of the custom field.\").nullable(),\n Name: z.string().describe(\"Name of the custom field.\").nullable(),\n Type: z.number().int().describe(\"Type of the custom field (numeric code).\").nullable(),\n Context: z.string().describe(\"Additional context for the custom field.\").nullable().optional(),\n IsHidden: z.boolean().describe(\"Whether this custom field is hidden.\").nullable(),\n IsRequired: z.boolean().describe(\"Whether this custom field is required.\").nullable(),\n FallBackValue: z.string().describe(\"Fallback value for the custom field.\").nullable().optional(),\n}).passthrough().describe(\"Custom field definition in a mailing list.\");\nconst MoosendListAllMailingLists_MailingListInfoSchema = z.object({\n ID: z.string().describe(\"Unique ID of the mailing list.\").nullable(),\n Name: z.string().describe(\"Name of the mailing list.\").nullable(),\n Status: z.number().int().describe(\"Status of the mailing list (numeric code).\").nullable(),\n CreatedBy: z.string().describe(\"ID of the user who created the mailing list.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Date and time when the mailing list was created.\").nullable().optional(),\n UpdatedBy: z.string().describe(\"ID of the user who last updated the mailing list.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Date and time when the mailing list was last updated.\").nullable().optional(),\n ActiveMemberCount: z.number().int().describe(\"Number of active members in the list.\").nullable(),\n BouncedMemberCount: z.number().int().describe(\"Number of bounced members in the list.\").nullable(),\n RemovedMemberCount: z.number().int().describe(\"Number of removed members from the list.\").nullable(),\n CustomFieldsDefinition: z.array(MoosendListAllMailingLists_CustomFieldDefinitionSchema).describe(\"List of custom field definitions for this mailing list.\"),\n UnsubscribedMemberCount: z.number().int().describe(\"Number of unsubscribed members from the list.\").nullable(),\n}).passthrough().describe(\"Information about a single mailing list.\");\nconst MoosendListAllMailingLists_ContextDataSchema = z.object({\n Paging: MoosendListAllMailingLists_PagingInfoSchema.nullable(),\n MailingLists: z.array(MoosendListAllMailingLists_MailingListInfoSchema).describe(\"List of mailing lists in your account.\"),\n}).passthrough().describe(\"Context data containing paging info and mailing lists.\");\nexport const MoosendListAllMailingListsOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message, if any; null on success.\").nullable().optional(),\n Context: MoosendListAllMailingLists_ContextDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing all mailing lists.\");\n\nexport const moosendListAllMailingLists: AppAction<\n typeof MoosendListAllMailingListsInput,\n typeof MoosendListAllMailingListsOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_LIST_ALL_MAILING_LISTS\", {\n slug: \"moosend-list-all-mailing-lists\",\n name: \"List all mailing lists\",\n description: \"Tool to get a list of your active mailing lists in your account. Use after acquiring valid API credentials to explore mailing list data. Optionally include statistics and sort results by various fields.\",\n input: MoosendListAllMailingListsInput,\n output: MoosendListAllMailingListsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAU;EAAe;CAAW,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE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,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACnG,wBAAwBA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,yDAAyD;CAC1J,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,QAAQ,4CAA4C,SAAS;CAC7D,cAAcA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wCAAwC;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moosend } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-mailing-lists.d.ts
|
|
@@ -54,14 +56,7 @@ declare const MoosendListAllMailingListsOutput: z.ZodObject<{
|
|
|
54
56
|
}, z.core.$loose>>;
|
|
55
57
|
}, z.core.$loose>>>;
|
|
56
58
|
}, z.core.$loose>;
|
|
57
|
-
declare const moosendListAllMailingLists:
|
|
58
|
-
Page?: number | undefined;
|
|
59
|
-
Format?: string | undefined;
|
|
60
|
-
ShortBy?: "Name" | "CreatedOn" | "Status" | "Subject" | "DeliveredOn" | undefined;
|
|
61
|
-
PageSize?: number | undefined;
|
|
62
|
-
SortMethod?: "ASC" | "DESC" | undefined;
|
|
63
|
-
WithStatistics?: string | undefined;
|
|
64
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
59
|
+
declare const moosendListAllMailingLists: AppAction<typeof MoosendListAllMailingListsInput, typeof MoosendListAllMailingListsOutput, typeof moosend.credential>;
|
|
65
60
|
//#endregion
|
|
66
61
|
export { moosendListAllMailingLists };
|
|
67
62
|
//# sourceMappingURL=list-all-mailing-lists.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-mailing-lists.d.cts","names":[],"sources":["../../src/actions/list-all-mailing-lists.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-mailing-lists.d.cts","names":[],"sources":["../../src/actions/list-all-mailing-lists.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA2C/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { moosend } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-all-mailing-lists.d.ts
|
|
@@ -54,14 +56,7 @@ declare const MoosendListAllMailingListsOutput: z.ZodObject<{
|
|
|
54
56
|
}, z.core.$loose>>;
|
|
55
57
|
}, z.core.$loose>>>;
|
|
56
58
|
}, z.core.$loose>;
|
|
57
|
-
declare const moosendListAllMailingLists:
|
|
58
|
-
Page?: number | undefined;
|
|
59
|
-
Format?: string | undefined;
|
|
60
|
-
ShortBy?: "Name" | "CreatedOn" | "Status" | "Subject" | "DeliveredOn" | undefined;
|
|
61
|
-
PageSize?: number | undefined;
|
|
62
|
-
SortMethod?: "ASC" | "DESC" | undefined;
|
|
63
|
-
WithStatistics?: string | undefined;
|
|
64
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
59
|
+
declare const moosendListAllMailingLists: AppAction<typeof MoosendListAllMailingListsInput, typeof MoosendListAllMailingListsOutput, typeof moosend.credential>;
|
|
65
60
|
//#endregion
|
|
66
61
|
export { moosendListAllMailingLists };
|
|
67
62
|
//# sourceMappingURL=list-all-mailing-lists.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-mailing-lists.d.mts","names":[],"sources":["../../src/actions/list-all-mailing-lists.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-mailing-lists.d.mts","names":[],"sources":["../../src/actions/list-all-mailing-lists.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cA2C/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,OAAA,CAAQ,UAAA"}
|