@keystrokehq/moosend 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-segment-criteria.cjs +1 -0
- package/dist/actions/add-segment-criteria.cjs.map +1 -1
- package/dist/actions/add-segment-criteria.d.cts +3 -22
- package/dist/actions/add-segment-criteria.d.cts.map +1 -1
- package/dist/actions/add-segment-criteria.d.mts +3 -22
- 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 -22
- package/dist/actions/add-subscriber.d.cts.map +1 -1
- package/dist/actions/add-subscriber.d.mts +3 -22
- 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 -16
- package/dist/actions/clone-campaign.d.cts.map +1 -1
- package/dist/actions/clone-campaign.d.mts +3 -16
- 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 -21
- package/dist/actions/create-custom-field.d.cts.map +1 -1
- package/dist/actions/create-custom-field.d.mts +3 -21
- 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 -17
- package/dist/actions/create-mailing-list.d.cts.map +1 -1
- package/dist/actions/create-mailing-list.d.mts +3 -17
- 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 -26
- package/dist/actions/create-segment.d.cts.map +1 -1
- package/dist/actions/create-segment.d.mts +3 -26
- 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 -16
- package/dist/actions/delete-campaign.d.cts.map +1 -1
- package/dist/actions/delete-campaign.d.mts +3 -16
- 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 -17
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +3 -17
- 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 -16
- package/dist/actions/delete-mailing-list.d.cts.map +1 -1
- package/dist/actions/delete-mailing-list.d.mts +3 -16
- 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 -16
- package/dist/actions/get-all-campaigns.d.cts.map +1 -1
- package/dist/actions/get-all-campaigns.d.mts +3 -16
- 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 -19
- package/dist/actions/get-all-subscribers.d.cts.map +1 -1
- package/dist/actions/get-all-subscribers.d.mts +3 -19
- 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 -15
- package/dist/actions/get-campaign-details.d.cts.map +1 -1
- package/dist/actions/get-campaign-details.d.mts +3 -15
- 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 -15
- package/dist/actions/get-campaign-stats-by-location.d.cts.map +1 -1
- package/dist/actions/get-campaign-stats-by-location.d.mts +3 -15
- 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 -17
- package/dist/actions/get-mailing-list-details.d.cts.map +1 -1
- package/dist/actions/get-mailing-list-details.d.mts +3 -17
- 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 -17
- package/dist/actions/get-subscriber-by-email.d.cts.map +1 -1
- package/dist/actions/get-subscriber-by-email.d.mts +3 -17
- 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 +4 -21
- package/dist/actions/list-all-mailing-lists.d.cts.map +1 -1
- package/dist/actions/list-all-mailing-lists.d.mts +4 -21
- 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 -15
- package/dist/actions/list-all-senders.d.cts.map +1 -1
- package/dist/actions/list-all-senders.d.mts +3 -15
- 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 +4 -19
- package/dist/actions/list-campaigns-with-paging.d.cts.map +1 -1
- package/dist/actions/list-campaigns-with-paging.d.mts +4 -19
- 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 -16
- package/dist/actions/list-segments.d.cts.map +1 -1
- package/dist/actions/list-segments.d.mts +3 -16
- 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 -17
- package/dist/actions/remove-multiple-subscribers.d.cts.map +1 -1
- package/dist/actions/remove-multiple-subscribers.d.mts +3 -17
- 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 -18
- package/dist/actions/schedule-campaign.d.cts.map +1 -1
- package/dist/actions/schedule-campaign.d.mts +3 -18
- 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 -16
- package/dist/actions/send-campaign.d.cts.map +1 -1
- package/dist/actions/send-campaign.d.mts +3 -16
- 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 -16
- package/dist/actions/unschedule-campaign.d.cts.map +1 -1
- package/dist/actions/unschedule-campaign.d.mts +3 -16
- 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 -16
- package/dist/actions/unsubscribe-from-account.d.cts.map +1 -1
- package/dist/actions/unsubscribe-from-account.d.mts +3 -16
- 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 -17
- package/dist/actions/unsubscribe-from-mailing-list.d.cts.map +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.d.mts +3 -17
- 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 -37
- package/dist/actions/update-campaign.d.cts.map +1 -1
- package/dist/actions/update-campaign.d.mts +3 -37
- 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 -22
- package/dist/actions/update-custom-field.d.cts.map +1 -1
- package/dist/actions/update-custom-field.d.mts +3 -22
- 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 -21
- package/dist/actions/update-mailing-list.d.cts.map +1 -1
- package/dist/actions/update-mailing-list.d.mts +3 -21
- 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 -23
- package/dist/actions/update-segment-criteria.d.cts.map +1 -1
- package/dist/actions/update-segment-criteria.d.mts +3 -23
- 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 -27
- package/dist/actions/update-segment.d.cts.map +1 -1
- package/dist/actions/update-segment.d.mts +3 -27
- 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 -21
- package/dist/actions/update-subscriber.d.cts.map +1 -1
- package/dist/actions/update-subscriber.d.mts +3 -21
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +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,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,wDAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,MAAM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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,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE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A,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,23 +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<"moosend", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
34
|
+
declare const moosendGetSubscriberByEmail: AppAction<typeof MoosendGetSubscriberByEmailInput, typeof MoosendGetSubscriberByEmailOutput, typeof moosend.credential>;
|
|
49
35
|
//#endregion
|
|
50
36
|
export { moosendGetSubscriberByEmail };
|
|
51
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,23 +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<"moosend", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
|
|
43
|
-
connectionId: z.ZodString;
|
|
44
|
-
entityId: z.ZodString;
|
|
45
|
-
instanceId: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
-
generic_api_key: z.ZodString;
|
|
48
|
-
}, z.core.$strip>>]>;
|
|
34
|
+
declare const moosendGetSubscriberByEmail: AppAction<typeof MoosendGetSubscriberByEmailInput, typeof MoosendGetSubscriberByEmailOutput, typeof moosend.credential>;
|
|
49
35
|
//#endregion
|
|
50
36
|
export { moosendGetSubscriberByEmail };
|
|
51
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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,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,cAAc,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,2DAA2D;CACzI,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAOlE,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;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.\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,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
|
|
@@ -7,8 +9,8 @@ declare const MoosendListAllMailingListsInput: z.ZodObject<{
|
|
|
7
9
|
ShortBy: z.ZodOptional<z.ZodEnum<{
|
|
8
10
|
Name: "Name";
|
|
9
11
|
CreatedOn: "CreatedOn";
|
|
10
|
-
Subject: "Subject";
|
|
11
12
|
Status: "Status";
|
|
13
|
+
Subject: "Subject";
|
|
12
14
|
DeliveredOn: "DeliveredOn";
|
|
13
15
|
}>>;
|
|
14
16
|
PageSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
@@ -54,26 +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" | "Subject" | "Status" | "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<"moosend", z.ZodObject<{
|
|
65
|
-
connectionId: z.ZodString;
|
|
66
|
-
entityId: z.ZodString;
|
|
67
|
-
instanceId: z.ZodString;
|
|
68
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
-
generic_api_key: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
|
|
71
|
-
connectionId: z.ZodString;
|
|
72
|
-
entityId: z.ZodString;
|
|
73
|
-
instanceId: z.ZodString;
|
|
74
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
75
|
-
generic_api_key: z.ZodString;
|
|
76
|
-
}, z.core.$strip>>]>;
|
|
59
|
+
declare const moosendListAllMailingLists: AppAction<typeof MoosendListAllMailingListsInput, typeof MoosendListAllMailingListsOutput, typeof moosend.credential>;
|
|
77
60
|
//#endregion
|
|
78
61
|
export { moosendListAllMailingLists };
|
|
79
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
|
|
@@ -7,8 +9,8 @@ declare const MoosendListAllMailingListsInput: z.ZodObject<{
|
|
|
7
9
|
ShortBy: z.ZodOptional<z.ZodEnum<{
|
|
8
10
|
Name: "Name";
|
|
9
11
|
CreatedOn: "CreatedOn";
|
|
10
|
-
Subject: "Subject";
|
|
11
12
|
Status: "Status";
|
|
13
|
+
Subject: "Subject";
|
|
12
14
|
DeliveredOn: "DeliveredOn";
|
|
13
15
|
}>>;
|
|
14
16
|
PageSize: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
@@ -54,26 +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" | "Subject" | "Status" | "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<"moosend", z.ZodObject<{
|
|
65
|
-
connectionId: z.ZodString;
|
|
66
|
-
entityId: z.ZodString;
|
|
67
|
-
instanceId: z.ZodString;
|
|
68
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
-
generic_api_key: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
|
|
71
|
-
connectionId: z.ZodString;
|
|
72
|
-
entityId: z.ZodString;
|
|
73
|
-
instanceId: z.ZodString;
|
|
74
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
75
|
-
generic_api_key: z.ZodString;
|
|
76
|
-
}, z.core.$strip>>]>;
|
|
59
|
+
declare const moosendListAllMailingLists: AppAction<typeof MoosendListAllMailingListsInput, typeof MoosendListAllMailingListsOutput, typeof moosend.credential>;
|
|
77
60
|
//#endregion
|
|
78
61
|
export { moosendListAllMailingLists };
|
|
79
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-mailing-lists.mjs","names":[],"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.mjs","names":[],"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,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC3H,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACxG,SAAS,EAAE,KAAK;EAAC;EAAQ;EAAW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CAA0C,CAAC,CAAC,SAAS;CACnG,wBAAwB,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,yDAAyD;CAC1J,yBAAyB,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+C,EAAE,OAAO;CAC5D,QAAQ,4CAA4C,SAAS;CAC7D,cAAc,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wCAAwC;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAOlF,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,6CAA6C,SAAS,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-senders.cjs","names":["z","action"],"sources":["../../src/actions/list-all-senders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendListAllSendersInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' for JSON responses and 'xml' for XML responses.\").optional(),\n}).describe(\"Request schema for listing all senders in the account.\");\nconst MoosendListAllSenders_SenderInfoSchema = z.object({\n ID: z.string().describe(\"Unique identifier of the sender.\").nullable().optional(),\n Name: z.string().describe(\"Display name of the sender.\").nullable().optional(),\n Email: z.string().describe(\"Email address of the sender.\").nullable().optional(),\n Status: z.number().int().describe(\"Status code of the sender (e.g., active, inactive).\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the sender was created, in /Date(...) format.\").nullable().optional(),\n IsDefault: z.boolean().describe(\"Indicates if this is the default sender for the account.\").nullable().optional(),\n}).passthrough().describe(\"Information about a sender in the account.\");\nexport const MoosendListAllSendersOutput = 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: z.array(MoosendListAllSenders_SenderInfoSchema).describe(\"List of sender objects containing sender details.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing all senders.\");\n\nexport const moosendListAllSenders = action(\"MOOSEND_LIST_ALL_SENDERS\", {\n slug: \"moosend-list-all-senders\",\n name: \"List all senders\",\n description: \"Tool to retrieve a list of all active senders in your account. Use when you need to view available sender email addresses for campaigns.\",\n input: MoosendListAllSendersInput,\n output: MoosendListAllSendersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-senders.cjs","names":["z","action"],"sources":["../../src/actions/list-all-senders.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 MoosendListAllSendersInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' for JSON responses and 'xml' for XML responses.\").optional(),\n}).describe(\"Request schema for listing all senders in the account.\");\nconst MoosendListAllSenders_SenderInfoSchema = z.object({\n ID: z.string().describe(\"Unique identifier of the sender.\").nullable().optional(),\n Name: z.string().describe(\"Display name of the sender.\").nullable().optional(),\n Email: z.string().describe(\"Email address of the sender.\").nullable().optional(),\n Status: z.number().int().describe(\"Status code of the sender (e.g., active, inactive).\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the sender was created, in /Date(...) format.\").nullable().optional(),\n IsDefault: z.boolean().describe(\"Indicates if this is the default sender for the account.\").nullable().optional(),\n}).passthrough().describe(\"Information about a sender in the account.\");\nexport const MoosendListAllSendersOutput = 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: z.array(MoosendListAllSenders_SenderInfoSchema).describe(\"List of sender objects containing sender details.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing all senders.\");\n\nexport const moosendListAllSenders: AppAction<\n typeof MoosendListAllSendersInput,\n typeof MoosendListAllSendersOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_LIST_ALL_SENDERS\", {\n slug: \"moosend-list-all-senders\",\n name: \"List all senders\",\n description: \"Tool to retrieve a list of all active senders in your account. Use when you need to view available sender email addresses for campaigns.\",\n input: MoosendListAllSendersInput,\n output: MoosendListAllSendersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,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,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,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-senders.d.ts
|
|
@@ -19,21 +21,7 @@ declare const MoosendListAllSendersOutput: z.ZodObject<{
|
|
|
19
21
|
IsDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
22
|
}, z.core.$loose>>>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const moosendListAllSenders:
|
|
23
|
-
format?: "json" | "xml" | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const moosendListAllSenders: AppAction<typeof MoosendListAllSendersInput, typeof MoosendListAllSendersOutput, typeof moosend.credential>;
|
|
37
25
|
//#endregion
|
|
38
26
|
export { moosendListAllSenders };
|
|
39
27
|
//# sourceMappingURL=list-all-senders.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-senders.d.cts","names":[],"sources":["../../src/actions/list-all-senders.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-senders.d.cts","names":[],"sources":["../../src/actions/list-all-senders.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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-senders.d.ts
|
|
@@ -19,21 +21,7 @@ declare const MoosendListAllSendersOutput: z.ZodObject<{
|
|
|
19
21
|
IsDefault: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
20
22
|
}, z.core.$loose>>>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const moosendListAllSenders:
|
|
23
|
-
format?: "json" | "xml" | undefined;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const moosendListAllSenders: AppAction<typeof MoosendListAllSendersInput, typeof MoosendListAllSendersOutput, typeof moosend.credential>;
|
|
37
25
|
//#endregion
|
|
38
26
|
export { moosendListAllSenders };
|
|
39
27
|
//# sourceMappingURL=list-all-senders.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-senders.d.mts","names":[],"sources":["../../src/actions/list-all-senders.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-senders.d.mts","names":[],"sources":["../../src/actions/list-all-senders.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;cAW1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAM3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-senders.mjs","names":[],"sources":["../../src/actions/list-all-senders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendListAllSendersInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' for JSON responses and 'xml' for XML responses.\").optional(),\n}).describe(\"Request schema for listing all senders in the account.\");\nconst MoosendListAllSenders_SenderInfoSchema = z.object({\n ID: z.string().describe(\"Unique identifier of the sender.\").nullable().optional(),\n Name: z.string().describe(\"Display name of the sender.\").nullable().optional(),\n Email: z.string().describe(\"Email address of the sender.\").nullable().optional(),\n Status: z.number().int().describe(\"Status code of the sender (e.g., active, inactive).\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the sender was created, in /Date(...) format.\").nullable().optional(),\n IsDefault: z.boolean().describe(\"Indicates if this is the default sender for the account.\").nullable().optional(),\n}).passthrough().describe(\"Information about a sender in the account.\");\nexport const MoosendListAllSendersOutput = 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: z.array(MoosendListAllSenders_SenderInfoSchema).describe(\"List of sender objects containing sender details.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing all senders.\");\n\nexport const moosendListAllSenders = action(\"MOOSEND_LIST_ALL_SENDERS\", {\n slug: \"moosend-list-all-senders\",\n name: \"List all senders\",\n description: \"Tool to retrieve a list of all active senders in your account. Use when you need to view available sender email addresses for campaigns.\",\n input: MoosendListAllSendersInput,\n output: MoosendListAllSendersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-senders.mjs","names":[],"sources":["../../src/actions/list-all-senders.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 MoosendListAllSendersInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' for JSON responses and 'xml' for XML responses.\").optional(),\n}).describe(\"Request schema for listing all senders in the account.\");\nconst MoosendListAllSenders_SenderInfoSchema = z.object({\n ID: z.string().describe(\"Unique identifier of the sender.\").nullable().optional(),\n Name: z.string().describe(\"Display name of the sender.\").nullable().optional(),\n Email: z.string().describe(\"Email address of the sender.\").nullable().optional(),\n Status: z.number().int().describe(\"Status code of the sender (e.g., active, inactive).\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the sender was created, in /Date(...) format.\").nullable().optional(),\n IsDefault: z.boolean().describe(\"Indicates if this is the default sender for the account.\").nullable().optional(),\n}).passthrough().describe(\"Information about a sender in the account.\");\nexport const MoosendListAllSendersOutput = 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: z.array(MoosendListAllSenders_SenderInfoSchema).describe(\"List of sender objects containing sender details.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing all senders.\");\n\nexport const moosendListAllSenders: AppAction<\n typeof MoosendListAllSendersInput,\n typeof MoosendListAllSendersOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_LIST_ALL_SENDERS\", {\n slug: \"moosend-list-all-senders\",\n name: \"List all senders\",\n description: \"Tool to retrieve a list of all active senders in your account. Use when you need to view available sender email addresses for campaigns.\",\n input: MoosendListAllSendersInput,\n output: MoosendListAllSendersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO,EACjD,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAOtE,MAAa,wBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns-with-paging.cjs","names":["z","action"],"sources":["../../src/actions/list-campaigns-with-paging.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendListCampaignsWithPagingInput = z.object({\n page: z.number().int().describe(\"The page number to display results for. Must be a positive integer.\"),\n sort_by: z.enum([\"Name\", \"Subject\", \"Status\", \"DeliveredOn\", \"CreatedOn\"]).describe(\"Sort field options for campaigns.\").optional(),\n page_size: z.number().int().describe(\"The maximum number of results per page. Must be a positive integer up to 100. If a value greater than 100 is specified, it will be treated as 100.\"),\n sort_method: z.enum([\"ASC\", \"DESC\"]).describe(\"Sort method options.\").optional(),\n}).describe(\"Request schema for listing campaigns with pagination.\");\nconst MoosendListCampaignsWithPaging_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(\"Indicates if results are in ascending order based on sort expression.\").nullable(),\n}).passthrough().describe(\"Paging information model.\");\nconst MoosendListCampaignsWithPaging_CampaignInfoSchema = z.object({\n ID: z.string().describe(\"Unique ID of the campaign.\").nullable(),\n Name: z.string().describe(\"Name of the campaign.\").nullable(),\n Status: z.string().describe(\"Current status of the campaign.\").nullable().optional(),\n Subject: z.string().describe(\"Subject line of the campaign.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Date and time when the campaign was created.\").nullable().optional(),\n TotalOpens: z.number().int().describe(\"Total number of opens.\").nullable().optional(),\n DeliveredOn: z.string().describe(\"Date and time when the campaign was delivered.\").nullable().optional(),\n ScheduledFor: z.string().describe(\"Date and time when the campaign is scheduled to be delivered.\").nullable().optional(),\n TotalBounces: z.number().int().describe(\"Total number of bounces.\").nullable().optional(),\n RecipientsCount: z.number().int().describe(\"Total number of recipients.\").nullable().optional(),\n TotalLinkClicks: z.number().int().describe(\"Total number of link clicks.\").nullable().optional(),\n TotalUnsubscribes: z.number().int().describe(\"Total number of unsubscribes.\").nullable().optional(),\n}).passthrough().describe(\"Campaign information model.\");\nconst MoosendListCampaignsWithPaging_ContextInfoSchema = z.object({\n Paging: MoosendListCampaignsWithPaging_PagingInfoSchema.nullable(),\n Campaigns: z.array(MoosendListCampaignsWithPaging_CampaignInfoSchema).describe(\"List of campaigns on the current page.\"),\n}).passthrough().describe(\"Context information containing paging and campaigns.\");\nexport const MoosendListCampaignsWithPagingOutput = 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: MoosendListCampaignsWithPaging_ContextInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing campaigns with pagination.\");\n\nexport const moosendListCampaignsWithPaging = action(\"MOOSEND_LIST_CAMPAIGNS_WITH_PAGING\", {\n slug: \"moosend-list-campaigns-with-paging\",\n name: \"List campaigns with paging\",\n description: \"Tool to retrieve a paginated list of all campaigns in your account with detailed information. Use when you need to fetch campaigns with specific page size and sorting options. Paging information is required as input.\",\n input: MoosendListCampaignsWithPagingInput,\n output: MoosendListCampaignsWithPagingOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-campaigns-with-paging.cjs","names":["z","action"],"sources":["../../src/actions/list-campaigns-with-paging.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 MoosendListCampaignsWithPagingInput = z.object({\n page: z.number().int().describe(\"The page number to display results for. Must be a positive integer.\"),\n sort_by: z.enum([\"Name\", \"Subject\", \"Status\", \"DeliveredOn\", \"CreatedOn\"]).describe(\"Sort field options for campaigns.\").optional(),\n page_size: z.number().int().describe(\"The maximum number of results per page. Must be a positive integer up to 100. If a value greater than 100 is specified, it will be treated as 100.\"),\n sort_method: z.enum([\"ASC\", \"DESC\"]).describe(\"Sort method options.\").optional(),\n}).describe(\"Request schema for listing campaigns with pagination.\");\nconst MoosendListCampaignsWithPaging_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(\"Indicates if results are in ascending order based on sort expression.\").nullable(),\n}).passthrough().describe(\"Paging information model.\");\nconst MoosendListCampaignsWithPaging_CampaignInfoSchema = z.object({\n ID: z.string().describe(\"Unique ID of the campaign.\").nullable(),\n Name: z.string().describe(\"Name of the campaign.\").nullable(),\n Status: z.string().describe(\"Current status of the campaign.\").nullable().optional(),\n Subject: z.string().describe(\"Subject line of the campaign.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Date and time when the campaign was created.\").nullable().optional(),\n TotalOpens: z.number().int().describe(\"Total number of opens.\").nullable().optional(),\n DeliveredOn: z.string().describe(\"Date and time when the campaign was delivered.\").nullable().optional(),\n ScheduledFor: z.string().describe(\"Date and time when the campaign is scheduled to be delivered.\").nullable().optional(),\n TotalBounces: z.number().int().describe(\"Total number of bounces.\").nullable().optional(),\n RecipientsCount: z.number().int().describe(\"Total number of recipients.\").nullable().optional(),\n TotalLinkClicks: z.number().int().describe(\"Total number of link clicks.\").nullable().optional(),\n TotalUnsubscribes: z.number().int().describe(\"Total number of unsubscribes.\").nullable().optional(),\n}).passthrough().describe(\"Campaign information model.\");\nconst MoosendListCampaignsWithPaging_ContextInfoSchema = z.object({\n Paging: MoosendListCampaignsWithPaging_PagingInfoSchema.nullable(),\n Campaigns: z.array(MoosendListCampaignsWithPaging_CampaignInfoSchema).describe(\"List of campaigns on the current page.\"),\n}).passthrough().describe(\"Context information containing paging and campaigns.\");\nexport const MoosendListCampaignsWithPagingOutput = 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: MoosendListCampaignsWithPaging_ContextInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing campaigns with pagination.\");\n\nexport const moosendListCampaignsWithPaging: AppAction<\n typeof MoosendListCampaignsWithPagingInput,\n typeof MoosendListCampaignsWithPagingOutput,\n typeof moosend.credential\n> = action(\"MOOSEND_LIST_CAMPAIGNS_WITH_PAGING\", {\n slug: \"moosend-list-campaigns-with-paging\",\n name: \"List campaigns with paging\",\n description: \"Tool to retrieve a paginated list of all campaigns in your account with detailed information. Use when you need to fetch campaigns with specific page size and sorting options. Paging information is required as input.\",\n input: MoosendListCampaignsWithPagingInput,\n output: MoosendListCampaignsWithPagingOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE;CACrG,SAASA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAW;EAAU;EAAe;CAAW,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAClI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oJAAoJ;CACzL,aAAaA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAA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C,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,QAAQ,gDAAgD,SAAS;CACjE,WAAWA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,wCAAwC;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,iDAAiD,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,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-campaigns-with-paging.d.ts
|
|
@@ -6,8 +8,8 @@ declare const MoosendListCampaignsWithPagingInput: z.ZodObject<{
|
|
|
6
8
|
sort_by: z.ZodOptional<z.ZodEnum<{
|
|
7
9
|
Name: "Name";
|
|
8
10
|
CreatedOn: "CreatedOn";
|
|
9
|
-
Subject: "Subject";
|
|
10
11
|
Status: "Status";
|
|
12
|
+
Subject: "Subject";
|
|
11
13
|
DeliveredOn: "DeliveredOn";
|
|
12
14
|
}>>;
|
|
13
15
|
page_size: z.ZodNumber;
|
|
@@ -44,24 +46,7 @@ declare const MoosendListCampaignsWithPagingOutput: z.ZodObject<{
|
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>>>;
|
|
46
48
|
}, z.core.$loose>;
|
|
47
|
-
declare const moosendListCampaignsWithPaging:
|
|
48
|
-
page: number;
|
|
49
|
-
page_size: number;
|
|
50
|
-
sort_by?: "Name" | "CreatedOn" | "Subject" | "Status" | "DeliveredOn" | undefined;
|
|
51
|
-
sort_method?: "ASC" | "DESC" | undefined;
|
|
52
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
|
|
53
|
-
connectionId: z.ZodString;
|
|
54
|
-
entityId: z.ZodString;
|
|
55
|
-
instanceId: z.ZodString;
|
|
56
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
-
generic_api_key: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
generic_api_key: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>;
|
|
49
|
+
declare const moosendListCampaignsWithPaging: AppAction<typeof MoosendListCampaignsWithPagingInput, typeof MoosendListCampaignsWithPagingOutput, typeof moosend.credential>;
|
|
65
50
|
//#endregion
|
|
66
51
|
export { moosendListCampaignsWithPaging };
|
|
67
52
|
//# sourceMappingURL=list-campaigns-with-paging.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-campaigns-with-paging.d.cts","names":[],"sources":["../../src/actions/list-campaigns-with-paging.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-campaigns-with-paging.d.cts","names":[],"sources":["../../src/actions/list-campaigns-with-paging.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgCnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|