@keystrokehq/moosend 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-segment-criteria.cjs +1 -1
- package/dist/actions/add-segment-criteria.cjs.map +1 -1
- package/dist/actions/add-segment-criteria.d.cts +1 -1
- package/dist/actions/add-segment-criteria.d.mts +1 -1
- package/dist/actions/add-segment-criteria.mjs +1 -1
- package/dist/actions/add-segment-criteria.mjs.map +1 -1
- package/dist/actions/add-subscriber.cjs +1 -1
- package/dist/actions/add-subscriber.cjs.map +1 -1
- package/dist/actions/add-subscriber.d.cts +1 -1
- package/dist/actions/add-subscriber.d.mts +1 -1
- package/dist/actions/add-subscriber.mjs +1 -1
- package/dist/actions/add-subscriber.mjs.map +1 -1
- package/dist/actions/clone-campaign.cjs +1 -1
- package/dist/actions/clone-campaign.cjs.map +1 -1
- package/dist/actions/clone-campaign.d.cts +1 -1
- package/dist/actions/clone-campaign.d.mts +1 -1
- package/dist/actions/clone-campaign.mjs +1 -1
- package/dist/actions/clone-campaign.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +1 -1
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +1 -1
- package/dist/actions/create-custom-field.d.mts +1 -1
- package/dist/actions/create-custom-field.mjs +1 -1
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-mailing-list.cjs +1 -1
- package/dist/actions/create-mailing-list.cjs.map +1 -1
- package/dist/actions/create-mailing-list.d.cts +1 -1
- package/dist/actions/create-mailing-list.d.mts +1 -1
- package/dist/actions/create-mailing-list.mjs +1 -1
- package/dist/actions/create-mailing-list.mjs.map +1 -1
- package/dist/actions/create-segment.cjs +2 -2
- package/dist/actions/create-segment.cjs.map +1 -1
- package/dist/actions/create-segment.d.cts +3 -2
- package/dist/actions/create-segment.d.mts +3 -2
- package/dist/actions/create-segment.mjs +2 -2
- package/dist/actions/create-segment.mjs.map +1 -1
- package/dist/actions/delete-campaign.cjs +1 -1
- package/dist/actions/delete-campaign.cjs.map +1 -1
- package/dist/actions/delete-campaign.d.cts +1 -1
- package/dist/actions/delete-campaign.d.mts +1 -1
- package/dist/actions/delete-campaign.mjs +1 -1
- package/dist/actions/delete-campaign.mjs.map +1 -1
- package/dist/actions/delete-custom-field.cjs +1 -1
- package/dist/actions/delete-custom-field.cjs.map +1 -1
- package/dist/actions/delete-custom-field.d.cts +1 -1
- package/dist/actions/delete-custom-field.d.mts +1 -1
- package/dist/actions/delete-custom-field.mjs +1 -1
- package/dist/actions/delete-custom-field.mjs.map +1 -1
- package/dist/actions/delete-mailing-list.cjs +1 -1
- package/dist/actions/delete-mailing-list.cjs.map +1 -1
- package/dist/actions/delete-mailing-list.d.cts +1 -1
- package/dist/actions/delete-mailing-list.d.mts +1 -1
- package/dist/actions/delete-mailing-list.mjs +1 -1
- package/dist/actions/delete-mailing-list.mjs.map +1 -1
- package/dist/actions/get-all-campaigns.cjs +2 -2
- package/dist/actions/get-all-campaigns.cjs.map +1 -1
- package/dist/actions/get-all-campaigns.d.cts +2 -2
- package/dist/actions/get-all-campaigns.d.mts +2 -2
- package/dist/actions/get-all-campaigns.mjs +2 -2
- package/dist/actions/get-all-campaigns.mjs.map +1 -1
- package/dist/actions/get-all-subscribers.cjs +5 -5
- package/dist/actions/get-all-subscribers.cjs.map +1 -1
- package/dist/actions/get-all-subscribers.d.cts +5 -5
- package/dist/actions/get-all-subscribers.d.mts +5 -5
- package/dist/actions/get-all-subscribers.mjs +5 -5
- package/dist/actions/get-all-subscribers.mjs.map +1 -1
- package/dist/actions/get-campaign-details.cjs +1 -1
- package/dist/actions/get-campaign-details.cjs.map +1 -1
- package/dist/actions/get-campaign-details.d.cts +1 -1
- package/dist/actions/get-campaign-details.d.mts +1 -1
- package/dist/actions/get-campaign-details.mjs +1 -1
- package/dist/actions/get-campaign-details.mjs.map +1 -1
- package/dist/actions/get-campaign-stats-by-location.cjs +1 -1
- package/dist/actions/get-campaign-stats-by-location.cjs.map +1 -1
- package/dist/actions/get-campaign-stats-by-location.d.cts +1 -1
- package/dist/actions/get-campaign-stats-by-location.d.mts +1 -1
- package/dist/actions/get-campaign-stats-by-location.mjs +1 -1
- package/dist/actions/get-campaign-stats-by-location.mjs.map +1 -1
- package/dist/actions/get-mailing-list-details.cjs +3 -3
- package/dist/actions/get-mailing-list-details.cjs.map +1 -1
- package/dist/actions/get-mailing-list-details.d.cts +3 -3
- package/dist/actions/get-mailing-list-details.d.mts +3 -3
- package/dist/actions/get-mailing-list-details.mjs +3 -3
- package/dist/actions/get-mailing-list-details.mjs.map +1 -1
- package/dist/actions/get-subscriber-by-email.cjs +3 -3
- package/dist/actions/get-subscriber-by-email.cjs.map +1 -1
- package/dist/actions/get-subscriber-by-email.d.cts +3 -3
- package/dist/actions/get-subscriber-by-email.d.mts +3 -3
- package/dist/actions/get-subscriber-by-email.mjs +3 -3
- package/dist/actions/get-subscriber-by-email.mjs.map +1 -1
- package/dist/actions/list-all-mailing-lists.cjs +5 -5
- package/dist/actions/list-all-mailing-lists.cjs.map +1 -1
- package/dist/actions/list-all-mailing-lists.d.cts +8 -8
- package/dist/actions/list-all-mailing-lists.d.mts +8 -8
- package/dist/actions/list-all-mailing-lists.mjs +5 -5
- package/dist/actions/list-all-mailing-lists.mjs.map +1 -1
- package/dist/actions/list-all-senders.cjs +2 -2
- package/dist/actions/list-all-senders.cjs.map +1 -1
- package/dist/actions/list-all-senders.d.cts +2 -2
- package/dist/actions/list-all-senders.d.mts +2 -2
- package/dist/actions/list-all-senders.mjs +2 -2
- package/dist/actions/list-all-senders.mjs.map +1 -1
- package/dist/actions/list-campaigns-with-paging.cjs +4 -4
- package/dist/actions/list-campaigns-with-paging.cjs.map +1 -1
- package/dist/actions/list-campaigns-with-paging.d.cts +7 -7
- package/dist/actions/list-campaigns-with-paging.d.mts +7 -7
- package/dist/actions/list-campaigns-with-paging.mjs +4 -4
- package/dist/actions/list-campaigns-with-paging.mjs.map +1 -1
- package/dist/actions/list-segments.cjs +5 -5
- package/dist/actions/list-segments.cjs.map +1 -1
- package/dist/actions/list-segments.d.cts +5 -5
- package/dist/actions/list-segments.d.mts +5 -5
- package/dist/actions/list-segments.mjs +5 -5
- package/dist/actions/list-segments.mjs.map +1 -1
- package/dist/actions/remove-multiple-subscribers.cjs +1 -1
- package/dist/actions/remove-multiple-subscribers.cjs.map +1 -1
- package/dist/actions/remove-multiple-subscribers.d.cts +1 -1
- package/dist/actions/remove-multiple-subscribers.d.mts +1 -1
- package/dist/actions/remove-multiple-subscribers.mjs +1 -1
- package/dist/actions/remove-multiple-subscribers.mjs.map +1 -1
- package/dist/actions/schedule-campaign.cjs +1 -1
- package/dist/actions/schedule-campaign.cjs.map +1 -1
- package/dist/actions/schedule-campaign.d.cts +1 -1
- package/dist/actions/schedule-campaign.d.mts +1 -1
- package/dist/actions/schedule-campaign.mjs +1 -1
- package/dist/actions/schedule-campaign.mjs.map +1 -1
- package/dist/actions/send-campaign.cjs +1 -1
- package/dist/actions/send-campaign.cjs.map +1 -1
- package/dist/actions/send-campaign.d.cts +1 -1
- package/dist/actions/send-campaign.d.mts +1 -1
- package/dist/actions/send-campaign.mjs +1 -1
- package/dist/actions/send-campaign.mjs.map +1 -1
- package/dist/actions/unschedule-campaign.cjs +1 -1
- package/dist/actions/unschedule-campaign.cjs.map +1 -1
- package/dist/actions/unschedule-campaign.d.cts +1 -1
- package/dist/actions/unschedule-campaign.d.mts +1 -1
- package/dist/actions/unschedule-campaign.mjs +1 -1
- package/dist/actions/unschedule-campaign.mjs.map +1 -1
- package/dist/actions/unsubscribe-from-account.cjs +1 -1
- package/dist/actions/unsubscribe-from-account.cjs.map +1 -1
- package/dist/actions/unsubscribe-from-account.d.cts +1 -1
- package/dist/actions/unsubscribe-from-account.d.mts +1 -1
- package/dist/actions/unsubscribe-from-account.mjs +1 -1
- package/dist/actions/unsubscribe-from-account.mjs.map +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.cjs +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.cjs.map +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.d.cts +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.d.mts +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.mjs +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +2 -2
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +3 -2
- package/dist/actions/update-campaign.d.mts +3 -2
- package/dist/actions/update-campaign.mjs +2 -2
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-custom-field.cjs +1 -1
- package/dist/actions/update-custom-field.cjs.map +1 -1
- package/dist/actions/update-custom-field.d.cts +1 -1
- package/dist/actions/update-custom-field.d.mts +1 -1
- package/dist/actions/update-custom-field.mjs +1 -1
- package/dist/actions/update-custom-field.mjs.map +1 -1
- package/dist/actions/update-mailing-list.cjs +2 -2
- package/dist/actions/update-mailing-list.cjs.map +1 -1
- package/dist/actions/update-mailing-list.d.cts +2 -2
- package/dist/actions/update-mailing-list.d.mts +2 -2
- package/dist/actions/update-mailing-list.mjs +2 -2
- package/dist/actions/update-mailing-list.mjs.map +1 -1
- package/dist/actions/update-segment-criteria.cjs +1 -1
- package/dist/actions/update-segment-criteria.cjs.map +1 -1
- package/dist/actions/update-segment-criteria.d.cts +1 -1
- package/dist/actions/update-segment-criteria.d.mts +1 -1
- package/dist/actions/update-segment-criteria.mjs +1 -1
- package/dist/actions/update-segment-criteria.mjs.map +1 -1
- package/dist/actions/update-segment.cjs +3 -3
- package/dist/actions/update-segment.cjs.map +1 -1
- package/dist/actions/update-segment.d.cts +4 -3
- package/dist/actions/update-segment.d.mts +4 -3
- package/dist/actions/update-segment.mjs +3 -3
- package/dist/actions/update-segment.mjs.map +1 -1
- package/dist/actions/update-subscriber.cjs +1 -1
- package/dist/actions/update-subscriber.cjs.map +1 -1
- package/dist/actions/update-subscriber.d.cts +1 -1
- package/dist/actions/update-subscriber.d.mts +1 -1
- package/dist/actions/update-subscriber.mjs +1 -1
- package/dist/actions/update-subscriber.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendDeleteCustomFieldInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"The response format. Use 'json' for JSON responses and 'xml' for XML responses.\").optional(),\n custom_field_id: z.string().describe(\"The ID of the custom field to delete.\"),\n mailing_list_id: z.string().describe(\"The ID of the mailing list containing the custom field to delete.\"),\n});\nexport const MoosendDeleteCustomFieldOutput = z.object({\n Code: z.number().int().describe(\"Response code. 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message, if any. Null when successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context information. Null when successful.\").nullable().optional(),\n});\n\nexport const moosendDeleteCustomField = action(\"MOOSEND_DELETE_CUSTOM_FIELD\", {\n slug: \"moosend-delete-custom-field\",\n name: \"Delete custom field\",\n description: \"Tool to remove a custom field definition from a mailing list. Use when you have confirmed the custom field ID to delete.\",\n input: MoosendDeleteCustomFieldInput,\n output: MoosendDeleteCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AAC1G,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-custom-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendDeleteCustomFieldInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"The response format. Use 'json' for JSON responses and 'xml' for XML responses.\").optional(),\n custom_field_id: z.string().describe(\"The ID of the custom field to delete.\"),\n mailing_list_id: z.string().describe(\"The ID of the mailing list containing the custom field to delete.\"),\n});\nexport const MoosendDeleteCustomFieldOutput = z.object({\n Code: z.number().int().describe(\"Response code. 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message, if any. Null when successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context information. Null when successful.\").nullable().optional(),\n}).passthrough();\n\nexport const moosendDeleteCustomField = action(\"MOOSEND_DELETE_CUSTOM_FIELD\", {\n slug: \"moosend-delete-custom-field\",\n name: \"Delete custom field\",\n description: \"Tool to remove a custom field definition from a mailing list. Use when you have confirmed the custom field ID to delete.\",\n input: MoosendDeleteCustomFieldInput,\n output: MoosendDeleteCustomFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACrJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;AAC1G,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const MoosendDeleteCustomFieldOutput: z.ZodObject<{
|
|
|
13
13
|
Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
Context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const moosendDeleteCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
custom_field_id: string;
|
|
19
19
|
mailing_list_id: string;
|
|
@@ -13,7 +13,7 @@ declare const MoosendDeleteCustomFieldOutput: z.ZodObject<{
|
|
|
13
13
|
Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
Context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const moosendDeleteCustomField: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
custom_field_id: string;
|
|
19
19
|
mailing_list_id: string;
|
|
@@ -13,7 +13,7 @@ const moosendDeleteCustomField = action("MOOSEND_DELETE_CUSTOM_FIELD", {
|
|
|
13
13
|
Code: z.number().int().describe("Response code. 0 indicates success.").nullable().optional(),
|
|
14
14
|
Error: z.string().describe("Error message, if any. Null when successful.").nullable().optional(),
|
|
15
15
|
Context: z.string().describe("Additional context information. Null when successful.").nullable().optional()
|
|
16
|
-
})
|
|
16
|
+
}).passthrough()
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { moosendDeleteCustomField };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-custom-field.mjs","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendDeleteCustomFieldInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"The response format. Use 'json' for JSON responses and 'xml' for XML responses.\").optional(),\n custom_field_id: z.string().describe(\"The ID of the custom field to delete.\"),\n mailing_list_id: z.string().describe(\"The ID of the mailing list containing the custom field to delete.\"),\n});\nexport const MoosendDeleteCustomFieldOutput = z.object({\n Code: z.number().int().describe(\"Response code. 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message, if any. Null when successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context information. Null when successful.\").nullable().optional(),\n});\n\nexport const moosendDeleteCustomField = action(\"MOOSEND_DELETE_CUSTOM_FIELD\", {\n slug: \"moosend-delete-custom-field\",\n name: \"Delete custom field\",\n description: \"Tool to remove a custom field definition from a mailing list. Use when you have confirmed the custom field ID to delete.\",\n input: MoosendDeleteCustomFieldInput,\n output: MoosendDeleteCustomFieldOutput,\n});\n"],"mappings":";;AAeA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2C,EAAE,OAAO;EACpD,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACrJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC1G,CAWS;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,
|
|
1
|
+
{"version":3,"file":"delete-custom-field.mjs","names":[],"sources":["../../src/actions/delete-custom-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendDeleteCustomFieldInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"The response format. Use 'json' for JSON responses and 'xml' for XML responses.\").optional(),\n custom_field_id: z.string().describe(\"The ID of the custom field to delete.\"),\n mailing_list_id: z.string().describe(\"The ID of the mailing list containing the custom field to delete.\"),\n});\nexport const MoosendDeleteCustomFieldOutput = z.object({\n Code: z.number().int().describe(\"Response code. 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message, if any. Null when successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context information. Null when successful.\").nullable().optional(),\n}).passthrough();\n\nexport const moosendDeleteCustomField = action(\"MOOSEND_DELETE_CUSTOM_FIELD\", {\n slug: \"moosend-delete-custom-field\",\n name: \"Delete custom field\",\n description: \"Tool to remove a custom field definition from a mailing list. Use when you have confirmed the custom field ID to delete.\",\n input: MoosendDeleteCustomFieldInput,\n output: MoosendDeleteCustomFieldOutput,\n});\n"],"mappings":";;AAeA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2C,EAAE,OAAO;EACpD,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACrJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE;CAC1G,CAWS;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const MoosendDeleteMailingListOutput = zod.z.object({
|
|
|
9
9
|
Code: zod.z.number().int().describe("Response code. 0 indicates success.").nullable().optional(),
|
|
10
10
|
Error: zod.z.string().describe("Error message if deletion failed; null when successful.").nullable().optional(),
|
|
11
11
|
Context: zod.z.string().describe("Always null if deletion was successful.").nullable().optional()
|
|
12
|
-
}).describe("Response schema for `DeleteMailingList`");
|
|
12
|
+
}).passthrough().describe("Response schema for `DeleteMailingList`");
|
|
13
13
|
const moosendDeleteMailingList = require_action.action("MOOSEND_DELETE_MAILING_LIST", {
|
|
14
14
|
slug: "moosend-delete-mailing-list",
|
|
15
15
|
name: "Delete Mailing List",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-mailing-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendDeleteMailingListInput = z.object({\n format: z.string().default(\"json\").describe(\"Response format, either 'json' or 'xml'.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to delete.\"),\n}).describe(\"Request schema for `DeleteMailingList`\");\nexport const MoosendDeleteMailingListOutput = z.object({\n Code: z.number().int().describe(\"Response code. 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message if deletion failed; null when successful.\").nullable().optional(),\n Context: z.string().describe(\"Always null if deletion was successful.\").nullable().optional(),\n}).describe(\"Response schema for `DeleteMailingList`\");\n\nexport const moosendDeleteMailingList = action(\"MOOSEND_DELETE_MAILING_LIST\", {\n slug: \"moosend-delete-mailing-list\",\n name: \"Delete Mailing List\",\n description: \"Tool to delete a mailing list. Use when you need to permanently remove a mailing list from your Moosend account after confirming its ID. Deletion is irreversible.\",\n input: MoosendDeleteMailingListInput,\n output: MoosendDeleteMailingListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC9E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"delete-mailing-list.cjs","names":["z","action"],"sources":["../../src/actions/delete-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendDeleteMailingListInput = z.object({\n format: z.string().default(\"json\").describe(\"Response format, either 'json' or 'xml'.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to delete.\"),\n}).describe(\"Request schema for `DeleteMailingList`\");\nexport const MoosendDeleteMailingListOutput = z.object({\n Code: z.number().int().describe(\"Response code. 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message if deletion failed; null when successful.\").nullable().optional(),\n Context: z.string().describe(\"Always null if deletion was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `DeleteMailingList`\");\n\nexport const moosendDeleteMailingList = action(\"MOOSEND_DELETE_MAILING_LIST\", {\n slug: \"moosend-delete-mailing-list\",\n name: \"Delete Mailing List\",\n description: \"Tool to delete a mailing list. Use when you need to permanently remove a mailing list from your Moosend account after confirming its ID. Deletion is irreversible.\",\n input: MoosendDeleteMailingListInput,\n output: MoosendDeleteMailingListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC9E,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const MoosendDeleteMailingListOutput: z.ZodObject<{
|
|
|
9
9
|
Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
10
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
Context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const moosendDeleteMailingList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
mailing_list_id: string;
|
|
15
15
|
format?: string | undefined;
|
|
@@ -9,7 +9,7 @@ declare const MoosendDeleteMailingListOutput: z.ZodObject<{
|
|
|
9
9
|
Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
10
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
Context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const moosendDeleteMailingList: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
mailing_list_id: string;
|
|
15
15
|
format?: string | undefined;
|
|
@@ -12,7 +12,7 @@ const moosendDeleteMailingList = action("MOOSEND_DELETE_MAILING_LIST", {
|
|
|
12
12
|
Code: z.number().int().describe("Response code. 0 indicates success.").nullable().optional(),
|
|
13
13
|
Error: z.string().describe("Error message if deletion failed; null when successful.").nullable().optional(),
|
|
14
14
|
Context: z.string().describe("Always null if deletion was successful.").nullable().optional()
|
|
15
|
-
}).describe("Response schema for `DeleteMailingList`")
|
|
15
|
+
}).passthrough().describe("Response schema for `DeleteMailingList`")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { moosendDeleteMailingList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-mailing-list.mjs","names":[],"sources":["../../src/actions/delete-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendDeleteMailingListInput = z.object({\n format: z.string().default(\"json\").describe(\"Response format, either 'json' or 'xml'.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to delete.\"),\n}).describe(\"Request schema for `DeleteMailingList`\");\nexport const MoosendDeleteMailingListOutput = z.object({\n Code: z.number().int().describe(\"Response code. 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message if deletion failed; null when successful.\").nullable().optional(),\n Context: z.string().describe(\"Always null if deletion was successful.\").nullable().optional(),\n}).describe(\"Response schema for `DeleteMailingList`\");\n\nexport const moosendDeleteMailingList = action(\"MOOSEND_DELETE_MAILING_LIST\", {\n slug: \"moosend-delete-mailing-list\",\n name: \"Delete Mailing List\",\n description: \"Tool to delete a mailing list. Use when you need to permanently remove a mailing list from your Moosend account after confirming its ID. Deletion is irreversible.\",\n input: MoosendDeleteMailingListInput,\n output: MoosendDeleteMailingListOutput,\n});\n"],"mappings":";;AAcA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACjG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC9E,CAAC,CAAC,CAAC,SAAS,wCAWH;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-mailing-list.mjs","names":[],"sources":["../../src/actions/delete-mailing-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendDeleteMailingListInput = z.object({\n format: z.string().default(\"json\").describe(\"Response format, either 'json' or 'xml'.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to delete.\"),\n}).describe(\"Request schema for `DeleteMailingList`\");\nexport const MoosendDeleteMailingListOutput = z.object({\n Code: z.number().int().describe(\"Response code. 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message if deletion failed; null when successful.\").nullable().optional(),\n Context: z.string().describe(\"Always null if deletion was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `DeleteMailingList`\");\n\nexport const moosendDeleteMailingList = action(\"MOOSEND_DELETE_MAILING_LIST\", {\n slug: \"moosend-delete-mailing-list\",\n name: \"Delete Mailing List\",\n description: \"Tool to delete a mailing list. Use when you need to permanently remove a mailing list from your Moosend account after confirming its ID. Deletion is irreversible.\",\n input: MoosendDeleteMailingListInput,\n output: MoosendDeleteMailingListOutput,\n});\n"],"mappings":";;AAcA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACjG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC9E,CAAC,CAAC,CAAC,SAAS,wCAWH;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ const MoosendGetAllCampaignsInput = zod.z.object({
|
|
|
8
8
|
const MoosendGetAllCampaignsOutput = zod.z.object({
|
|
9
9
|
Code: zod.z.number().int().describe("Response code; 0 indicates success.").nullable(),
|
|
10
10
|
Error: zod.z.string().describe("Error message, if any; null on success.").nullable().optional(),
|
|
11
|
-
Context: zod.z.
|
|
12
|
-
});
|
|
11
|
+
Context: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Context object containing paging info and list of campaigns.")
|
|
12
|
+
}).passthrough();
|
|
13
13
|
const moosendGetAllCampaigns = require_action.action("MOOSEND_GET_ALL_CAMPAIGNS", {
|
|
14
14
|
slug: "moosend-get-all-campaigns",
|
|
15
15
|
name: "Get all campaigns",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/get-all-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetAllCampaignsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number of campaign results to retrieve. Defaults to 1.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n});\nexport const MoosendGetAllCampaignsOutput = 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.
|
|
1
|
+
{"version":3,"file":"get-all-campaigns.cjs","names":["z","action"],"sources":["../../src/actions/get-all-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetAllCampaignsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number of campaign results to retrieve. Defaults to 1.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n});\nexport const MoosendGetAllCampaignsOutput = 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.record(z.string(), z.unknown()).describe(\"Context object containing paging info and list of campaigns.\"),\n}).passthrough();\n\nexport const moosendGetAllCampaigns = action(\"MOOSEND_GET_ALL_CAMPAIGNS\", {\n slug: \"moosend-get-all-campaigns\",\n name: \"Get all campaigns\",\n description: \"Tool to retrieve a list of all campaigns in your account. Use after acquiring valid API credentials to explore campaign data.\",\n input: MoosendGetAllCampaignsInput,\n output: MoosendGetAllCampaignsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACrG,CAAC;AACD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D;AACpH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ declare const MoosendGetAllCampaignsInput: z.ZodObject<{
|
|
|
8
8
|
declare const MoosendGetAllCampaignsOutput: z.ZodObject<{
|
|
9
9
|
Code: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
Context: z.
|
|
12
|
-
}, z.core.$
|
|
11
|
+
Context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const moosendGetAllCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
page?: number | undefined;
|
|
15
15
|
format?: string | undefined;
|
|
@@ -8,8 +8,8 @@ declare const MoosendGetAllCampaignsInput: z.ZodObject<{
|
|
|
8
8
|
declare const MoosendGetAllCampaignsOutput: z.ZodObject<{
|
|
9
9
|
Code: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
Context: z.
|
|
12
|
-
}, z.core.$
|
|
11
|
+
Context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const moosendGetAllCampaigns: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
page?: number | undefined;
|
|
15
15
|
format?: string | undefined;
|
|
@@ -11,8 +11,8 @@ const moosendGetAllCampaigns = action("MOOSEND_GET_ALL_CAMPAIGNS", {
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
Code: z.number().int().describe("Response code; 0 indicates success.").nullable(),
|
|
13
13
|
Error: z.string().describe("Error message, if any; null on success.").nullable().optional(),
|
|
14
|
-
Context: z.
|
|
15
|
-
})
|
|
14
|
+
Context: z.record(z.string(), z.unknown()).describe("Context object containing paging info and list of campaigns.")
|
|
15
|
+
}).passthrough()
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { moosendGetAllCampaigns };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-campaigns.mjs","names":[],"sources":["../../src/actions/get-all-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetAllCampaignsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number of campaign results to retrieve. Defaults to 1.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n});\nexport const MoosendGetAllCampaignsOutput = 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.
|
|
1
|
+
{"version":3,"file":"get-all-campaigns.mjs","names":[],"sources":["../../src/actions/get-all-campaigns.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetAllCampaignsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number of campaign results to retrieve. Defaults to 1.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n});\nexport const MoosendGetAllCampaignsOutput = 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.record(z.string(), z.unknown()).describe(\"Context object containing paging info and list of campaigns.\"),\n}).passthrough();\n\nexport const moosendGetAllCampaigns = action(\"MOOSEND_GET_ALL_CAMPAIGNS\", {\n slug: \"moosend-get-all-campaigns\",\n name: \"Get all campaigns\",\n description: \"Tool to retrieve a list of all campaigns in your account. Use after acquiring valid API credentials to explore campaign data.\",\n input: MoosendGetAllCampaignsInput,\n output: MoosendGetAllCampaignsOutput,\n});\n"],"mappings":";;AAcA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACrG,CAWS;CACP,QAX0C,EAAE,OAAO;EACnD,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,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D;CACpH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -20,12 +20,12 @@ const MoosendGetAllSubscribers_PagingModelSchema = zod.z.object({
|
|
|
20
20
|
SortExpression: zod.z.string().describe("Sort expression used.").nullable().optional(),
|
|
21
21
|
TotalPageCount: zod.z.number().int().describe("Total number of pages available.").nullable(),
|
|
22
22
|
SortIsAscending: zod.z.boolean().describe("True if sorted ascending.").nullable()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const MoosendGetAllSubscribers_CustomFieldModelSchema = zod.z.object({
|
|
25
25
|
Name: zod.z.string().describe("The name of the custom field.").nullable(),
|
|
26
26
|
Value: zod.z.union([zod.z.string(), zod.z.number().int()]),
|
|
27
27
|
CustomFieldID: zod.z.string().describe("The ID of the custom field.").nullable()
|
|
28
|
-
});
|
|
28
|
+
}).passthrough();
|
|
29
29
|
const MoosendGetAllSubscribers_SubscriberModelSchema = zod.z.object({
|
|
30
30
|
ID: zod.z.string().describe("Subscriber unique identifier.").nullable(),
|
|
31
31
|
Name: zod.z.string().describe("Name of the subscriber.").nullable().optional(),
|
|
@@ -41,16 +41,16 @@ const MoosendGetAllSubscribers_SubscriberModelSchema = zod.z.object({
|
|
|
41
41
|
UnsubscribedOn: zod.z.string().describe("Timestamp when unsubscribed; null if still subscribed.").nullable().optional(),
|
|
42
42
|
SubscribeMethod: zod.z.number().int().describe("Method used to subscribe the member.").nullable(),
|
|
43
43
|
UnsubscribedFromID: zod.z.string().describe("ID from which unsubscribed; null if not applicable.").nullable().optional()
|
|
44
|
-
});
|
|
44
|
+
}).passthrough();
|
|
45
45
|
const MoosendGetAllSubscribers_ContextModelSchema = zod.z.object({
|
|
46
46
|
Paging: MoosendGetAllSubscribers_PagingModelSchema.nullable(),
|
|
47
47
|
Subscribers: zod.z.array(MoosendGetAllSubscribers_SubscriberModelSchema).describe("List of subscribers on the mailing list.")
|
|
48
|
-
});
|
|
48
|
+
}).passthrough();
|
|
49
49
|
const MoosendGetAllSubscribersOutput = zod.z.object({
|
|
50
50
|
Code: zod.z.number().int().describe("Response code; 0 indicates success.").nullable(),
|
|
51
51
|
Error: zod.z.string().describe("Error message if the request failed; null on success.").nullable().optional(),
|
|
52
52
|
Context: MoosendGetAllSubscribers_ContextModelSchema.nullable().optional()
|
|
53
|
-
});
|
|
53
|
+
}).passthrough();
|
|
54
54
|
const moosendGetAllSubscribers = require_action.action("MOOSEND_GET_ALL_SUBSCRIBERS", {
|
|
55
55
|
slug: "moosend-get-all-subscribers",
|
|
56
56
|
name: "Get All Subscribers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-subscribers.cjs","names":["z","action"],"sources":["../../src/actions/get-all-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetAllSubscribersInput = z.object({\n Page: z.number().int().default(1).describe(\"Page number of subscriber results to retrieve. Use this with page_size to paginate through large lists.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format.\").optional(),\n status: z.enum([\"Subscribed\", \"Unsubscribed\", \"Bounced\", \"Removed\"]).default(\"Subscribed\").describe(\"The subscription status to filter by. 'Subscribed' returns active subscribers, 'Unsubscribed' returns those who opted out, 'Bounced' returns email addresses that bounced, 'Removed' returns manually removed subscribers.\").optional(),\n PageSize: z.number().int().default(100).describe(\"Number of subscriber records to return per page. Maximum recommended is 500.\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list containing the subscribers.\"),\n}).describe(\"Request schema for GetAllSubscribers\");\nconst MoosendGetAllSubscribers_PagingModelSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable(),\n TotalResults: z.number().int().describe(\"Total number of results.\").nullable(),\n SortExpression: z.string().describe(\"Sort expression used.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n SortIsAscending: z.boolean().describe(\"True if sorted ascending.\").nullable(),\n});\nconst MoosendGetAllSubscribers_CustomFieldModelSchema = z.object({\n Name: z.string().describe(\"The name of the custom field.\").nullable(),\n Value: z.union([z.string(), z.number().int()]),\n CustomFieldID: z.string().describe(\"The ID of the custom field.\").nullable(),\n});\nconst MoosendGetAllSubscribers_SubscriberModelSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier.\").nullable(),\n Name: z.string().describe(\"Name of the subscriber.\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"Tags associated with the subscriber.\"),\n Email: z.string().describe(\"Email address of the subscriber.\").nullable(),\n Mobile: z.string().describe(\"Mobile number of the subscriber.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the subscriber was created.\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when the subscriber was removed; null if not removed.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when the subscriber was last updated.\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"Preference values for the subscriber.\").nullable().optional(),\n CustomFields: z.array(MoosendGetAllSubscribers_CustomFieldModelSchema).describe(\"List of custom fields for the subscriber.\"),\n SubscribeType: z.number().int().describe(\"Subscription status code.\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when unsubscribed; null if still subscribed.\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method used to subscribe the member.\").nullable(),\n UnsubscribedFromID: z.string().describe(\"ID from which unsubscribed; null if not applicable.\").nullable().optional(),\n});\nconst MoosendGetAllSubscribers_ContextModelSchema = z.object({\n Paging: MoosendGetAllSubscribers_PagingModelSchema.nullable(),\n Subscribers: z.array(MoosendGetAllSubscribers_SubscriberModelSchema).describe(\"List of subscribers on the mailing list.\"),\n});\nexport const MoosendGetAllSubscribersOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null on success.\").nullable().optional(),\n Context: MoosendGetAllSubscribers_ContextModelSchema.nullable().optional(),\n});\n\nexport const moosendGetAllSubscribers = action(\"MOOSEND_GET_ALL_SUBSCRIBERS\", {\n slug: \"moosend-get-all-subscribers\",\n name: \"Get All Subscribers\",\n description: \"Retrieves all subscribers from a specified mailing list, filtered by their subscription status (Subscribed, Unsubscribed, Bounced, or Removed). Returns paginated results with subscriber details including email, name, custom fields, and subscription timestamps.\",\n input: MoosendGetAllSubscribersInput,\n output: MoosendGetAllSubscribersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAc;EAAgB;EAAW;CAAS,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CAC3U,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1I,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC7F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,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,0BAA0B,CAAC,CAAC,SAAS;CAC7E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvF,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC9E,CAAC;
|
|
1
|
+
{"version":3,"file":"get-all-subscribers.cjs","names":["z","action"],"sources":["../../src/actions/get-all-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetAllSubscribersInput = z.object({\n Page: z.number().int().default(1).describe(\"Page number of subscriber results to retrieve. Use this with page_size to paginate through large lists.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format.\").optional(),\n status: z.enum([\"Subscribed\", \"Unsubscribed\", \"Bounced\", \"Removed\"]).default(\"Subscribed\").describe(\"The subscription status to filter by. 'Subscribed' returns active subscribers, 'Unsubscribed' returns those who opted out, 'Bounced' returns email addresses that bounced, 'Removed' returns manually removed subscribers.\").optional(),\n PageSize: z.number().int().default(100).describe(\"Number of subscriber records to return per page. Maximum recommended is 500.\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list containing the subscribers.\"),\n}).describe(\"Request schema for GetAllSubscribers\");\nconst MoosendGetAllSubscribers_PagingModelSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable(),\n TotalResults: z.number().int().describe(\"Total number of results.\").nullable(),\n SortExpression: z.string().describe(\"Sort expression used.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n SortIsAscending: z.boolean().describe(\"True if sorted ascending.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_CustomFieldModelSchema = z.object({\n Name: z.string().describe(\"The name of the custom field.\").nullable(),\n Value: z.union([z.string(), z.number().int()]),\n CustomFieldID: z.string().describe(\"The ID of the custom field.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_SubscriberModelSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier.\").nullable(),\n Name: z.string().describe(\"Name of the subscriber.\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"Tags associated with the subscriber.\"),\n Email: z.string().describe(\"Email address of the subscriber.\").nullable(),\n Mobile: z.string().describe(\"Mobile number of the subscriber.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the subscriber was created.\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when the subscriber was removed; null if not removed.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when the subscriber was last updated.\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"Preference values for the subscriber.\").nullable().optional(),\n CustomFields: z.array(MoosendGetAllSubscribers_CustomFieldModelSchema).describe(\"List of custom fields for the subscriber.\"),\n SubscribeType: z.number().int().describe(\"Subscription status code.\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when unsubscribed; null if still subscribed.\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method used to subscribe the member.\").nullable(),\n UnsubscribedFromID: z.string().describe(\"ID from which unsubscribed; null if not applicable.\").nullable().optional(),\n}).passthrough();\nconst MoosendGetAllSubscribers_ContextModelSchema = z.object({\n Paging: MoosendGetAllSubscribers_PagingModelSchema.nullable(),\n Subscribers: z.array(MoosendGetAllSubscribers_SubscriberModelSchema).describe(\"List of subscribers on the mailing list.\"),\n}).passthrough();\nexport const MoosendGetAllSubscribersOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null on success.\").nullable().optional(),\n Context: MoosendGetAllSubscribers_ContextModelSchema.nullable().optional(),\n}).passthrough();\n\nexport const moosendGetAllSubscribers = action(\"MOOSEND_GET_ALL_SUBSCRIBERS\", {\n slug: \"moosend-get-all-subscribers\",\n name: \"Get All Subscribers\",\n description: \"Retrieves all subscribers from a specified mailing list, filtered by their subscription status (Subscribed, Unsubscribed, Bounced, or Removed). Returns paginated results with subscriber details including email, name, custom fields, and subscription timestamps.\",\n input: MoosendGetAllSubscribersInput,\n output: MoosendGetAllSubscribersOutput,\n});\n"],"mappings":"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"}
|
|
@@ -24,7 +24,7 @@ declare const MoosendGetAllSubscribersOutput: z.ZodObject<{
|
|
|
24
24
|
SortExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
TotalPageCount: z.ZodNullable<z.ZodNumber>;
|
|
26
26
|
SortIsAscending: z.ZodNullable<z.ZodBoolean>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
Subscribers: z.ZodArray<z.ZodObject<{
|
|
29
29
|
ID: z.ZodNullable<z.ZodString>;
|
|
30
30
|
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -39,14 +39,14 @@ declare const MoosendGetAllSubscribersOutput: z.ZodObject<{
|
|
|
39
39
|
Name: z.ZodNullable<z.ZodString>;
|
|
40
40
|
Value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
41
41
|
CustomFieldID: z.ZodNullable<z.ZodString>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
SubscribeType: z.ZodNullable<z.ZodNumber>;
|
|
44
44
|
UnsubscribedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
SubscribeMethod: z.ZodNullable<z.ZodNumber>;
|
|
46
46
|
UnsubscribedFromID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
}, z.core.$
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>;
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const moosendGetAllSubscribers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
mailingListID: string;
|
|
52
52
|
Page?: number | undefined;
|
|
@@ -24,7 +24,7 @@ declare const MoosendGetAllSubscribersOutput: z.ZodObject<{
|
|
|
24
24
|
SortExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
TotalPageCount: z.ZodNullable<z.ZodNumber>;
|
|
26
26
|
SortIsAscending: z.ZodNullable<z.ZodBoolean>;
|
|
27
|
-
}, z.core.$
|
|
27
|
+
}, z.core.$loose>>;
|
|
28
28
|
Subscribers: z.ZodArray<z.ZodObject<{
|
|
29
29
|
ID: z.ZodNullable<z.ZodString>;
|
|
30
30
|
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -39,14 +39,14 @@ declare const MoosendGetAllSubscribersOutput: z.ZodObject<{
|
|
|
39
39
|
Name: z.ZodNullable<z.ZodString>;
|
|
40
40
|
Value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
41
41
|
CustomFieldID: z.ZodNullable<z.ZodString>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>;
|
|
43
43
|
SubscribeType: z.ZodNullable<z.ZodNumber>;
|
|
44
44
|
UnsubscribedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
45
|
SubscribeMethod: z.ZodNullable<z.ZodNumber>;
|
|
46
46
|
UnsubscribedFromID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
-
}, z.core.$
|
|
48
|
-
}, z.core.$
|
|
49
|
-
}, z.core.$
|
|
47
|
+
}, z.core.$loose>>;
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
|
+
}, z.core.$loose>;
|
|
50
50
|
declare const moosendGetAllSubscribers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
51
51
|
mailingListID: string;
|
|
52
52
|
Page?: number | undefined;
|
|
@@ -20,12 +20,12 @@ const MoosendGetAllSubscribers_PagingModelSchema = z.object({
|
|
|
20
20
|
SortExpression: z.string().describe("Sort expression used.").nullable().optional(),
|
|
21
21
|
TotalPageCount: z.number().int().describe("Total number of pages available.").nullable(),
|
|
22
22
|
SortIsAscending: z.boolean().describe("True if sorted ascending.").nullable()
|
|
23
|
-
});
|
|
23
|
+
}).passthrough();
|
|
24
24
|
const MoosendGetAllSubscribers_CustomFieldModelSchema = z.object({
|
|
25
25
|
Name: z.string().describe("The name of the custom field.").nullable(),
|
|
26
26
|
Value: z.union([z.string(), z.number().int()]),
|
|
27
27
|
CustomFieldID: z.string().describe("The ID of the custom field.").nullable()
|
|
28
|
-
});
|
|
28
|
+
}).passthrough();
|
|
29
29
|
const MoosendGetAllSubscribers_SubscriberModelSchema = z.object({
|
|
30
30
|
ID: z.string().describe("Subscriber unique identifier.").nullable(),
|
|
31
31
|
Name: z.string().describe("Name of the subscriber.").nullable().optional(),
|
|
@@ -41,11 +41,11 @@ const MoosendGetAllSubscribers_SubscriberModelSchema = z.object({
|
|
|
41
41
|
UnsubscribedOn: z.string().describe("Timestamp when unsubscribed; null if still subscribed.").nullable().optional(),
|
|
42
42
|
SubscribeMethod: z.number().int().describe("Method used to subscribe the member.").nullable(),
|
|
43
43
|
UnsubscribedFromID: z.string().describe("ID from which unsubscribed; null if not applicable.").nullable().optional()
|
|
44
|
-
});
|
|
44
|
+
}).passthrough();
|
|
45
45
|
const MoosendGetAllSubscribers_ContextModelSchema = z.object({
|
|
46
46
|
Paging: MoosendGetAllSubscribers_PagingModelSchema.nullable(),
|
|
47
47
|
Subscribers: z.array(MoosendGetAllSubscribers_SubscriberModelSchema).describe("List of subscribers on the mailing list.")
|
|
48
|
-
});
|
|
48
|
+
}).passthrough();
|
|
49
49
|
const moosendGetAllSubscribers = action("MOOSEND_GET_ALL_SUBSCRIBERS", {
|
|
50
50
|
slug: "moosend-get-all-subscribers",
|
|
51
51
|
name: "Get All Subscribers",
|
|
@@ -55,7 +55,7 @@ const moosendGetAllSubscribers = action("MOOSEND_GET_ALL_SUBSCRIBERS", {
|
|
|
55
55
|
Code: z.number().int().describe("Response code; 0 indicates success.").nullable(),
|
|
56
56
|
Error: z.string().describe("Error message if the request failed; null on success.").nullable().optional(),
|
|
57
57
|
Context: MoosendGetAllSubscribers_ContextModelSchema.nullable().optional()
|
|
58
|
-
})
|
|
58
|
+
}).passthrough()
|
|
59
59
|
});
|
|
60
60
|
//#endregion
|
|
61
61
|
export { moosendGetAllSubscribers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-all-subscribers.mjs","names":[],"sources":["../../src/actions/get-all-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetAllSubscribersInput = z.object({\n Page: z.number().int().default(1).describe(\"Page number of subscriber results to retrieve. Use this with page_size to paginate through large lists.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format.\").optional(),\n status: z.enum([\"Subscribed\", \"Unsubscribed\", \"Bounced\", \"Removed\"]).default(\"Subscribed\").describe(\"The subscription status to filter by. 'Subscribed' returns active subscribers, 'Unsubscribed' returns those who opted out, 'Bounced' returns email addresses that bounced, 'Removed' returns manually removed subscribers.\").optional(),\n PageSize: z.number().int().default(100).describe(\"Number of subscriber records to return per page. Maximum recommended is 500.\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list containing the subscribers.\"),\n}).describe(\"Request schema for GetAllSubscribers\");\nconst MoosendGetAllSubscribers_PagingModelSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable(),\n TotalResults: z.number().int().describe(\"Total number of results.\").nullable(),\n SortExpression: z.string().describe(\"Sort expression used.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n SortIsAscending: z.boolean().describe(\"True if sorted ascending.\").nullable(),\n});\nconst MoosendGetAllSubscribers_CustomFieldModelSchema = z.object({\n Name: z.string().describe(\"The name of the custom field.\").nullable(),\n Value: z.union([z.string(), z.number().int()]),\n CustomFieldID: z.string().describe(\"The ID of the custom field.\").nullable(),\n});\nconst MoosendGetAllSubscribers_SubscriberModelSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier.\").nullable(),\n Name: z.string().describe(\"Name of the subscriber.\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"Tags associated with the subscriber.\"),\n Email: z.string().describe(\"Email address of the subscriber.\").nullable(),\n Mobile: z.string().describe(\"Mobile number of the subscriber.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the subscriber was created.\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when the subscriber was removed; null if not removed.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when the subscriber was last updated.\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"Preference values for the subscriber.\").nullable().optional(),\n CustomFields: z.array(MoosendGetAllSubscribers_CustomFieldModelSchema).describe(\"List of custom fields for the subscriber.\"),\n SubscribeType: z.number().int().describe(\"Subscription status code.\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when unsubscribed; null if still subscribed.\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method used to subscribe the member.\").nullable(),\n UnsubscribedFromID: z.string().describe(\"ID from which unsubscribed; null if not applicable.\").nullable().optional(),\n});\nconst MoosendGetAllSubscribers_ContextModelSchema = z.object({\n Paging: MoosendGetAllSubscribers_PagingModelSchema.nullable(),\n Subscribers: z.array(MoosendGetAllSubscribers_SubscriberModelSchema).describe(\"List of subscribers on the mailing list.\"),\n});\nexport const MoosendGetAllSubscribersOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null on success.\").nullable().optional(),\n Context: MoosendGetAllSubscribers_ContextModelSchema.nullable().optional(),\n});\n\nexport const moosendGetAllSubscribers = action(\"MOOSEND_GET_ALL_SUBSCRIBERS\", {\n slug: \"moosend-get-all-subscribers\",\n name: \"Get All Subscribers\",\n description: \"Retrieves all subscribers from a specified mailing list, filtered by their subscription status (Subscribed, Unsubscribed, Bounced, or Removed). Returns paginated results with subscriber details including email, name, custom fields, and subscription timestamps.\",\n input: MoosendGetAllSubscribersInput,\n output: MoosendGetAllSubscribersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,KAAK;EAAC;EAAc;EAAgB;EAAW;CAAS,CAAC,CAAC,CAAC,QAAQ,YAAY,CAAC,CAAC,SAAS,4NAA4N,CAAC,CAAC,SAAS;CAC3U,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1I,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC7F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvF,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC9E,CAAC;
|
|
1
|
+
{"version":3,"file":"get-all-subscribers.mjs","names":[],"sources":["../../src/actions/get-all-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetAllSubscribersInput = z.object({\n Page: z.number().int().default(1).describe(\"Page number of subscriber results to retrieve. Use this with page_size to paginate through large lists.\").optional(),\n format: z.string().default(\"json\").describe(\"Response format.\").optional(),\n status: z.enum([\"Subscribed\", \"Unsubscribed\", \"Bounced\", \"Removed\"]).default(\"Subscribed\").describe(\"The subscription status to filter by. 'Subscribed' returns active subscribers, 'Unsubscribed' returns those who opted out, 'Bounced' returns email addresses that bounced, 'Removed' returns manually removed subscribers.\").optional(),\n PageSize: z.number().int().default(100).describe(\"Number of subscriber records to return per page. Maximum recommended is 500.\").optional(),\n mailingListID: z.string().describe(\"The ID of the mailing list containing the subscribers.\"),\n}).describe(\"Request schema for GetAllSubscribers\");\nconst MoosendGetAllSubscribers_PagingModelSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable(),\n TotalResults: z.number().int().describe(\"Total number of results.\").nullable(),\n SortExpression: z.string().describe(\"Sort expression used.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable(),\n SortIsAscending: z.boolean().describe(\"True if sorted ascending.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_CustomFieldModelSchema = z.object({\n Name: z.string().describe(\"The name of the custom field.\").nullable(),\n Value: z.union([z.string(), z.number().int()]),\n CustomFieldID: z.string().describe(\"The ID of the custom field.\").nullable(),\n}).passthrough();\nconst MoosendGetAllSubscribers_SubscriberModelSchema = z.object({\n ID: z.string().describe(\"Subscriber unique identifier.\").nullable(),\n Name: z.string().describe(\"Name of the subscriber.\").nullable().optional(),\n Tags: z.array(z.string()).describe(\"Tags associated with the subscriber.\"),\n Email: z.string().describe(\"Email address of the subscriber.\").nullable(),\n Mobile: z.string().describe(\"Mobile number of the subscriber.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the subscriber was created.\").nullable(),\n RemovedOn: z.string().describe(\"Timestamp when the subscriber was removed; null if not removed.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when the subscriber was last updated.\").nullable().optional(),\n Preferences: z.array(z.string()).describe(\"Preference values for the subscriber.\").nullable().optional(),\n CustomFields: z.array(MoosendGetAllSubscribers_CustomFieldModelSchema).describe(\"List of custom fields for the subscriber.\"),\n SubscribeType: z.number().int().describe(\"Subscription status code.\").nullable(),\n UnsubscribedOn: z.string().describe(\"Timestamp when unsubscribed; null if still subscribed.\").nullable().optional(),\n SubscribeMethod: z.number().int().describe(\"Method used to subscribe the member.\").nullable(),\n UnsubscribedFromID: z.string().describe(\"ID from which unsubscribed; null if not applicable.\").nullable().optional(),\n}).passthrough();\nconst MoosendGetAllSubscribers_ContextModelSchema = z.object({\n Paging: MoosendGetAllSubscribers_PagingModelSchema.nullable(),\n Subscribers: z.array(MoosendGetAllSubscribers_SubscriberModelSchema).describe(\"List of subscribers on the mailing list.\"),\n}).passthrough();\nexport const MoosendGetAllSubscribersOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null on success.\").nullable().optional(),\n Context: MoosendGetAllSubscribers_ContextModelSchema.nullable().optional(),\n}).passthrough();\n\nexport const moosendGetAllSubscribers = action(\"MOOSEND_GET_ALL_SUBSCRIBERS\", {\n slug: \"moosend-get-all-subscribers\",\n name: \"Get All Subscribers\",\n description: \"Retrieves all subscribers from a specified mailing list, filtered by their subscription status (Subscribed, Unsubscribed, Bounced, or Removed). Returns paginated results with subscriber details including email, name, custom fields, and subscription timestamps.\",\n input: MoosendGetAllSubscribersInput,\n output: MoosendGetAllSubscribersOutput,\n});\n"],"mappings":"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"}
|
|
@@ -6,7 +6,7 @@ const MoosendGetCampaignDetailsOutput = zod.z.object({
|
|
|
6
6
|
Code: zod.z.number().int().describe("Response code from Moosend API. 0 indicates success, other values indicate errors.").nullable(),
|
|
7
7
|
Error: zod.z.string().describe("Error message if the request failed; null when successful.").nullable().optional(),
|
|
8
8
|
Context: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.").nullable().optional()
|
|
9
|
-
}).describe("Response schema for retrieving campaign details.");
|
|
9
|
+
}).passthrough().describe("Response schema for retrieving campaign details.");
|
|
10
10
|
const moosendGetCampaignDetails = require_action.action("MOOSEND_GET_CAMPAIGN_DETAILS", {
|
|
11
11
|
slug: "moosend-get-campaign-details",
|
|
12
12
|
name: "Get Campaign Details",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-details.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignDetailsInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign whose details are to be retrieved.\"),\n}).describe(\"Request schema for retrieving campaign details.\");\nexport const MoosendGetCampaignDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.\").nullable().optional(),\n}).describe(\"Response schema for retrieving campaign details.\");\n\nexport const moosendGetCampaignDetails = action(\"MOOSEND_GET_CAMPAIGN_DETAILS\", {\n slug: \"moosend-get-campaign-details\",\n name: \"Get Campaign Details\",\n description: \"Retrieves comprehensive details about a specific campaign by its ID. Returns complete campaign information including configuration, status, content, and settings. Use this when you need to inspect or verify campaign properties.\",\n input: MoosendGetCampaignDetailsInput,\n output: MoosendGetCampaignDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClR,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"get-campaign-details.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignDetailsInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign whose details are to be retrieved.\"),\n}).describe(\"Request schema for retrieving campaign details.\");\nexport const MoosendGetCampaignDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign details.\");\n\nexport const moosendGetCampaignDetails = action(\"MOOSEND_GET_CAMPAIGN_DETAILS\", {\n slug: \"moosend-get-campaign-details\",\n name: \"Get Campaign Details\",\n description: \"Retrieves comprehensive details about a specific campaign by its ID. Returns complete campaign information including configuration, status, content, and settings. Use this when you need to inspect or verify campaign properties.\",\n input: MoosendGetCampaignDetailsInput,\n output: MoosendGetCampaignDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const MoosendGetCampaignDetailsOutput: z.ZodObject<{
|
|
|
8
8
|
Code: z.ZodNullable<z.ZodNumber>;
|
|
9
9
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const moosendGetCampaignDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
campaign_id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ declare const MoosendGetCampaignDetailsOutput: z.ZodObject<{
|
|
|
8
8
|
Code: z.ZodNullable<z.ZodNumber>;
|
|
9
9
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const moosendGetCampaignDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
campaign_id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ const moosendGetCampaignDetails = action("MOOSEND_GET_CAMPAIGN_DETAILS", {
|
|
|
9
9
|
Code: z.number().int().describe("Response code from Moosend API. 0 indicates success, other values indicate errors.").nullable(),
|
|
10
10
|
Error: z.string().describe("Error message if the request failed; null when successful.").nullable().optional(),
|
|
11
11
|
Context: z.record(z.string(), z.unknown()).describe("Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.").nullable().optional()
|
|
12
|
-
}).describe("Response schema for retrieving campaign details.")
|
|
12
|
+
}).passthrough().describe("Response schema for retrieving campaign details.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { moosendGetCampaignDetails };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-details.mjs","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignDetailsInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign whose details are to be retrieved.\"),\n}).describe(\"Request schema for retrieving campaign details.\");\nexport const MoosendGetCampaignDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.\").nullable().optional(),\n}).describe(\"Response schema for retrieving campaign details.\");\n\nexport const moosendGetCampaignDetails = action(\"MOOSEND_GET_CAMPAIGN_DETAILS\", {\n slug: \"moosend-get-campaign-details\",\n name: \"Get Campaign Details\",\n description: \"Retrieves comprehensive details about a specific campaign by its ID. Returns complete campaign information including configuration, status, content, and settings. Use this when you need to inspect or verify campaign properties.\",\n input: MoosendGetCampaignDetailsInput,\n output: MoosendGetCampaignDetailsOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,iDAWH;CACP,QAX6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClR,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-campaign-details.mjs","names":[],"sources":["../../src/actions/get-campaign-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignDetailsInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign whose details are to be retrieved.\"),\n}).describe(\"Request schema for retrieving campaign details.\");\nexport const MoosendGetCampaignDetailsOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete campaign data including ID, name, subject, status, mailing lists, content, sender info, tracking settings, ABTesting configuration, delivery settings, and more. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign details.\");\n\nexport const moosendGetCampaignDetails = action(\"MOOSEND_GET_CAMPAIGN_DETAILS\", {\n slug: \"moosend-get-campaign-details\",\n name: \"Get Campaign Details\",\n description: \"Retrieves comprehensive details about a specific campaign by its ID. Returns complete campaign information including configuration, status, content, and settings. Use this when you need to inspect or verify campaign properties.\",\n input: MoosendGetCampaignDetailsInput,\n output: MoosendGetCampaignDetailsOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO,EACrD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,EAC7G,CAAC,CAAC,CAAC,SAAS,iDAWH;CACP,QAX6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sMAAsM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClR,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ const MoosendGetCampaignStatsByLocationOutput = zod.z.object({
|
|
|
6
6
|
Code: zod.z.number().int().describe("Response code from Moosend API. 0 indicates success, other values indicate errors.").nullable(),
|
|
7
7
|
Error: zod.z.string().describe("Error message if the request failed; null when successful.").nullable().optional(),
|
|
8
8
|
Context: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.").nullable().optional()
|
|
9
|
-
}).describe("Response schema for retrieving campaign statistics by country.");
|
|
9
|
+
}).passthrough().describe("Response schema for retrieving campaign statistics by country.");
|
|
10
10
|
const moosendGetCampaignStatsByLocation = require_action.action("MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION", {
|
|
11
11
|
slug: "moosend-get-campaign-stats-by-location",
|
|
12
12
|
name: "Get Campaign Stats by Location",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-stats-by-location.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignStatsByLocationInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve location statistics for.\"),\n}).describe(\"Request schema for retrieving campaign statistics by country.\");\nexport const MoosendGetCampaignStatsByLocationOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.\").nullable().optional(),\n}).describe(\"Response schema for retrieving campaign statistics by country.\");\n\nexport const moosendGetCampaignStatsByLocation = action(\"MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION\", {\n slug: \"moosend-get-campaign-stats-by-location\",\n name: \"Get Campaign Stats by Location\",\n description: \"Retrieves a detailed report of campaign opens (unique and total) by country. Use this when you need to analyze the geographic distribution of email campaign engagement.\",\n input: MoosendGetCampaignStatsByLocationInput,\n output: MoosendGetCampaignStatsByLocationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtN,CAAC,CAAC,CAAC,SAAS,gEAAgE;
|
|
1
|
+
{"version":3,"file":"get-campaign-stats-by-location.cjs","names":["z","action"],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignStatsByLocationInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve location statistics for.\"),\n}).describe(\"Request schema for retrieving campaign statistics by country.\");\nexport const MoosendGetCampaignStatsByLocationOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign statistics by country.\");\n\nexport const moosendGetCampaignStatsByLocation = action(\"MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION\", {\n slug: \"moosend-get-campaign-stats-by-location\",\n name: \"Get Campaign Stats by Location\",\n description: \"Retrieves a detailed report of campaign opens (unique and total) by country. Use this when you need to analyze the geographic distribution of email campaign engagement.\",\n input: MoosendGetCampaignStatsByLocationInput,\n output: MoosendGetCampaignStatsByLocationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC/H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const MoosendGetCampaignStatsByLocationOutput: z.ZodObject<{
|
|
|
8
8
|
Code: z.ZodNullable<z.ZodNumber>;
|
|
9
9
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const moosendGetCampaignStatsByLocation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
campaign_id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ declare const MoosendGetCampaignStatsByLocationOutput: z.ZodObject<{
|
|
|
8
8
|
Code: z.ZodNullable<z.ZodNumber>;
|
|
9
9
|
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const moosendGetCampaignStatsByLocation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
campaign_id: string;
|
|
14
14
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -9,7 +9,7 @@ const moosendGetCampaignStatsByLocation = action("MOOSEND_GET_CAMPAIGN_STATS_BY_
|
|
|
9
9
|
Code: z.number().int().describe("Response code from Moosend API. 0 indicates success, other values indicate errors.").nullable(),
|
|
10
10
|
Error: z.string().describe("Error message if the request failed; null when successful.").nullable().optional(),
|
|
11
11
|
Context: z.record(z.string(), z.unknown()).describe("Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.").nullable().optional()
|
|
12
|
-
}).describe("Response schema for retrieving campaign statistics by country.")
|
|
12
|
+
}).passthrough().describe("Response schema for retrieving campaign statistics by country.")
|
|
13
13
|
});
|
|
14
14
|
//#endregion
|
|
15
15
|
export { moosendGetCampaignStatsByLocation };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-campaign-stats-by-location.mjs","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignStatsByLocationInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve location statistics for.\"),\n}).describe(\"Request schema for retrieving campaign statistics by country.\");\nexport const MoosendGetCampaignStatsByLocationOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.\").nullable().optional(),\n}).describe(\"Response schema for retrieving campaign statistics by country.\");\n\nexport const moosendGetCampaignStatsByLocation = action(\"MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION\", {\n slug: \"moosend-get-campaign-stats-by-location\",\n name: \"Get Campaign Stats by Location\",\n description: \"Retrieves a detailed report of campaign opens (unique and total) by country. Use this when you need to analyze the geographic distribution of email campaign engagement.\",\n input: MoosendGetCampaignStatsByLocationInput,\n output: MoosendGetCampaignStatsByLocationOutput,\n});\n"],"mappings":";;AAaA,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAboD,EAAE,OAAO,EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAXqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtN,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"get-campaign-stats-by-location.mjs","names":[],"sources":["../../src/actions/get-campaign-stats-by-location.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendGetCampaignStatsByLocationInput = z.object({\n campaign_id: z.string().describe(\"The unique identifier of the campaign to retrieve location statistics for.\"),\n}).describe(\"Request schema for retrieving campaign statistics by country.\");\nexport const MoosendGetCampaignStatsByLocationOutput = z.object({\n Code: z.number().int().describe(\"Response code from Moosend API. 0 indicates success, other values indicate errors.\").nullable(),\n Error: z.string().describe(\"Error message if the request failed; null when successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Complete location statistics data containing detailed report of campaign opens (unique and total) by country. Null when an error occurs.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving campaign statistics by country.\");\n\nexport const moosendGetCampaignStatsByLocation = action(\"MOOSEND_GET_CAMPAIGN_STATS_BY_LOCATION\", {\n slug: \"moosend-get-campaign-stats-by-location\",\n name: \"Get Campaign Stats by Location\",\n description: \"Retrieves a detailed report of campaign opens (unique and total) by country. Use this when you need to analyze the geographic distribution of email campaign engagement.\",\n input: MoosendGetCampaignStatsByLocationInput,\n output: MoosendGetCampaignStatsByLocationOutput,\n});\n"],"mappings":";;AAaA,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAboD,EAAE,OAAO,EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC,CAAC,CAAC,SAAS,+DAWH;CACP,QAXqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC/H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
|
|
@@ -12,7 +12,7 @@ const MoosendGetMailingListDetails_CustomFieldDefinitionSchema = zod.z.object({
|
|
|
12
12
|
Type: zod.z.number().int().describe("Field type: 0=text, 1=number, 2=dateTime, 3=singleSelectDropdown, 5=checkbox.").nullable(),
|
|
13
13
|
Context: zod.z.string().describe("Options for dropdown types; null otherwise.").nullable().optional(),
|
|
14
14
|
IsRequired: zod.z.boolean().describe("Whether field is mandatory.").nullable()
|
|
15
|
-
}).describe("Custom field definition model.");
|
|
15
|
+
}).passthrough().describe("Custom field definition model.");
|
|
16
16
|
const MoosendGetMailingListDetails_MailingListContextSchema = zod.z.object({
|
|
17
17
|
ID: zod.z.string().describe("The unique identifier for the mailing list.").nullable(),
|
|
18
18
|
Name: zod.z.string().describe("The mailing list name.").nullable(),
|
|
@@ -27,12 +27,12 @@ const MoosendGetMailingListDetails_MailingListContextSchema = zod.z.object({
|
|
|
27
27
|
RemovedMemberCount: zod.z.number().int().describe("Count of removed addresses.").nullable(),
|
|
28
28
|
CustomFieldsDefinition: zod.z.array(MoosendGetMailingListDetails_CustomFieldDefinitionSchema).describe("Custom field definitions for the list."),
|
|
29
29
|
UnsubscribedMemberCount: zod.z.number().int().describe("Number of unsubscribed emails.").nullable()
|
|
30
|
-
}).describe("Mailing list context containing all details.");
|
|
30
|
+
}).passthrough().describe("Mailing list context containing all details.");
|
|
31
31
|
const MoosendGetMailingListDetailsOutput = zod.z.object({
|
|
32
32
|
Code: zod.z.number().int().describe("Response code from Moosend API. 0 indicates success, other values indicate errors.").nullable(),
|
|
33
33
|
Error: zod.z.string().describe("Error message if the request failed; null when successful.").nullable().optional(),
|
|
34
34
|
Context: MoosendGetMailingListDetails_MailingListContextSchema.nullable().optional()
|
|
35
|
-
}).describe("Response schema for retrieving mailing list details.");
|
|
35
|
+
}).passthrough().describe("Response schema for retrieving mailing list details.");
|
|
36
36
|
const moosendGetMailingListDetails = require_action.action("MOOSEND_GET_MAILING_LIST_DETAILS", {
|
|
37
37
|
slug: "moosend-get-mailing-list-details",
|
|
38
38
|
name: "Get Mailing List Details",
|