@keystrokehq/moosend 0.1.0 → 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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-segment-criteria.cjs +2 -2
- package/dist/actions/add-segment-criteria.cjs.map +1 -1
- package/dist/actions/add-segment-criteria.d.cts +25 -3
- package/dist/actions/add-segment-criteria.d.cts.map +1 -1
- package/dist/actions/add-segment-criteria.d.mts +25 -3
- package/dist/actions/add-segment-criteria.d.mts.map +1 -1
- package/dist/actions/add-segment-criteria.mjs +2 -2
- package/dist/actions/add-segment-criteria.mjs.map +1 -1
- package/dist/actions/add-subscriber.cjs +2 -2
- package/dist/actions/add-subscriber.cjs.map +1 -1
- package/dist/actions/add-subscriber.d.cts +25 -3
- package/dist/actions/add-subscriber.d.cts.map +1 -1
- package/dist/actions/add-subscriber.d.mts +25 -3
- package/dist/actions/add-subscriber.d.mts.map +1 -1
- package/dist/actions/add-subscriber.mjs +2 -2
- package/dist/actions/add-subscriber.mjs.map +1 -1
- package/dist/actions/clone-campaign.cjs +2 -2
- package/dist/actions/clone-campaign.cjs.map +1 -1
- package/dist/actions/clone-campaign.d.cts +16 -3
- package/dist/actions/clone-campaign.d.cts.map +1 -1
- package/dist/actions/clone-campaign.d.mts +16 -3
- package/dist/actions/clone-campaign.d.mts.map +1 -1
- package/dist/actions/clone-campaign.mjs +2 -2
- package/dist/actions/clone-campaign.mjs.map +1 -1
- package/dist/actions/create-custom-field.cjs +2 -2
- package/dist/actions/create-custom-field.cjs.map +1 -1
- package/dist/actions/create-custom-field.d.cts +32 -3
- package/dist/actions/create-custom-field.d.cts.map +1 -1
- package/dist/actions/create-custom-field.d.mts +32 -3
- package/dist/actions/create-custom-field.d.mts.map +1 -1
- package/dist/actions/create-custom-field.mjs +2 -2
- package/dist/actions/create-custom-field.mjs.map +1 -1
- package/dist/actions/create-mailing-list.cjs +2 -2
- package/dist/actions/create-mailing-list.cjs.map +1 -1
- package/dist/actions/create-mailing-list.d.cts +15 -3
- package/dist/actions/create-mailing-list.d.cts.map +1 -1
- package/dist/actions/create-mailing-list.d.mts +15 -3
- package/dist/actions/create-mailing-list.d.mts.map +1 -1
- package/dist/actions/create-mailing-list.mjs +2 -2
- package/dist/actions/create-mailing-list.mjs.map +1 -1
- package/dist/actions/create-segment.cjs +3 -3
- package/dist/actions/create-segment.cjs.map +1 -1
- package/dist/actions/create-segment.d.cts +42 -3
- package/dist/actions/create-segment.d.cts.map +1 -1
- package/dist/actions/create-segment.d.mts +42 -3
- package/dist/actions/create-segment.d.mts.map +1 -1
- package/dist/actions/create-segment.mjs +3 -3
- 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 +16 -3
- package/dist/actions/delete-campaign.d.cts.map +1 -1
- package/dist/actions/delete-campaign.d.mts +16 -3
- package/dist/actions/delete-campaign.d.mts.map +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 +18 -3
- package/dist/actions/delete-custom-field.d.cts.map +1 -1
- package/dist/actions/delete-custom-field.d.mts +18 -3
- package/dist/actions/delete-custom-field.d.mts.map +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 +13 -3
- package/dist/actions/delete-mailing-list.d.cts.map +1 -1
- package/dist/actions/delete-mailing-list.d.mts +13 -3
- package/dist/actions/delete-mailing-list.d.mts.map +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 +3 -3
- package/dist/actions/get-all-campaigns.cjs.map +1 -1
- package/dist/actions/get-all-campaigns.d.cts +13 -3
- package/dist/actions/get-all-campaigns.d.cts.map +1 -1
- package/dist/actions/get-all-campaigns.d.mts +13 -3
- package/dist/actions/get-all-campaigns.d.mts.map +1 -1
- package/dist/actions/get-all-campaigns.mjs +3 -3
- package/dist/actions/get-all-campaigns.mjs.map +1 -1
- package/dist/actions/get-all-subscribers.cjs +18 -18
- package/dist/actions/get-all-subscribers.cjs.map +1 -1
- package/dist/actions/get-all-subscribers.d.cts +53 -3
- package/dist/actions/get-all-subscribers.d.cts.map +1 -1
- package/dist/actions/get-all-subscribers.d.mts +53 -3
- package/dist/actions/get-all-subscribers.d.mts.map +1 -1
- package/dist/actions/get-all-subscribers.mjs +18 -18
- package/dist/actions/get-all-subscribers.mjs.map +1 -1
- package/dist/actions/get-campaign-details.cjs +2 -2
- package/dist/actions/get-campaign-details.cjs.map +1 -1
- package/dist/actions/get-campaign-details.d.cts +11 -3
- package/dist/actions/get-campaign-details.d.cts.map +1 -1
- package/dist/actions/get-campaign-details.d.mts +11 -3
- package/dist/actions/get-campaign-details.d.mts.map +1 -1
- package/dist/actions/get-campaign-details.mjs +2 -2
- package/dist/actions/get-campaign-details.mjs.map +1 -1
- package/dist/actions/get-campaign-stats-by-location.cjs +2 -2
- package/dist/actions/get-campaign-stats-by-location.cjs.map +1 -1
- package/dist/actions/get-campaign-stats-by-location.d.cts +11 -3
- package/dist/actions/get-campaign-stats-by-location.d.cts.map +1 -1
- package/dist/actions/get-campaign-stats-by-location.d.mts +11 -3
- package/dist/actions/get-campaign-stats-by-location.d.mts.map +1 -1
- package/dist/actions/get-campaign-stats-by-location.mjs +2 -2
- package/dist/actions/get-campaign-stats-by-location.mjs.map +1 -1
- package/dist/actions/get-mailing-list-details.cjs +16 -16
- package/dist/actions/get-mailing-list-details.cjs.map +1 -1
- package/dist/actions/get-mailing-list-details.d.cts +41 -3
- package/dist/actions/get-mailing-list-details.d.cts.map +1 -1
- package/dist/actions/get-mailing-list-details.d.mts +41 -3
- package/dist/actions/get-mailing-list-details.d.mts.map +1 -1
- package/dist/actions/get-mailing-list-details.mjs +16 -16
- package/dist/actions/get-mailing-list-details.mjs.map +1 -1
- package/dist/actions/get-subscriber-by-email.cjs +11 -11
- package/dist/actions/get-subscriber-by-email.cjs.map +1 -1
- package/dist/actions/get-subscriber-by-email.d.cts +33 -3
- package/dist/actions/get-subscriber-by-email.d.cts.map +1 -1
- package/dist/actions/get-subscriber-by-email.d.mts +33 -3
- package/dist/actions/get-subscriber-by-email.d.mts.map +1 -1
- package/dist/actions/get-subscriber-by-email.mjs +11 -11
- package/dist/actions/get-subscriber-by-email.mjs.map +1 -1
- package/dist/actions/list-all-mailing-lists.cjs +23 -23
- package/dist/actions/list-all-mailing-lists.cjs.map +1 -1
- package/dist/actions/list-all-mailing-lists.d.cts +61 -3
- package/dist/actions/list-all-mailing-lists.d.cts.map +1 -1
- package/dist/actions/list-all-mailing-lists.d.mts +61 -3
- package/dist/actions/list-all-mailing-lists.d.mts.map +1 -1
- package/dist/actions/list-all-mailing-lists.mjs +23 -23
- package/dist/actions/list-all-mailing-lists.mjs.map +1 -1
- package/dist/actions/list-all-senders.cjs +3 -3
- package/dist/actions/list-all-senders.cjs.map +1 -1
- package/dist/actions/list-all-senders.d.cts +21 -3
- package/dist/actions/list-all-senders.d.cts.map +1 -1
- package/dist/actions/list-all-senders.d.mts +21 -3
- package/dist/actions/list-all-senders.d.mts.map +1 -1
- package/dist/actions/list-all-senders.mjs +3 -3
- package/dist/actions/list-all-senders.mjs.map +1 -1
- package/dist/actions/list-campaigns-with-paging.cjs +12 -12
- package/dist/actions/list-campaigns-with-paging.cjs.map +1 -1
- package/dist/actions/list-campaigns-with-paging.d.cts +49 -3
- package/dist/actions/list-campaigns-with-paging.d.cts.map +1 -1
- package/dist/actions/list-campaigns-with-paging.d.mts +49 -3
- package/dist/actions/list-campaigns-with-paging.d.mts.map +1 -1
- package/dist/actions/list-campaigns-with-paging.mjs +12 -12
- package/dist/actions/list-campaigns-with-paging.mjs.map +1 -1
- package/dist/actions/list-segments.cjs +6 -6
- package/dist/actions/list-segments.cjs.map +1 -1
- package/dist/actions/list-segments.d.cts +46 -3
- package/dist/actions/list-segments.d.cts.map +1 -1
- package/dist/actions/list-segments.d.mts +46 -3
- package/dist/actions/list-segments.d.mts.map +1 -1
- package/dist/actions/list-segments.mjs +6 -6
- package/dist/actions/list-segments.mjs.map +1 -1
- package/dist/actions/remove-multiple-subscribers.cjs +2 -2
- package/dist/actions/remove-multiple-subscribers.cjs.map +1 -1
- package/dist/actions/remove-multiple-subscribers.d.cts +15 -3
- package/dist/actions/remove-multiple-subscribers.d.cts.map +1 -1
- package/dist/actions/remove-multiple-subscribers.d.mts +15 -3
- package/dist/actions/remove-multiple-subscribers.d.mts.map +1 -1
- package/dist/actions/remove-multiple-subscribers.mjs +2 -2
- 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 +17 -3
- package/dist/actions/schedule-campaign.d.cts.map +1 -1
- package/dist/actions/schedule-campaign.d.mts +17 -3
- package/dist/actions/schedule-campaign.d.mts.map +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 +2 -2
- package/dist/actions/send-campaign.cjs.map +1 -1
- package/dist/actions/send-campaign.d.cts +13 -3
- package/dist/actions/send-campaign.d.cts.map +1 -1
- package/dist/actions/send-campaign.d.mts +13 -3
- package/dist/actions/send-campaign.d.mts.map +1 -1
- package/dist/actions/send-campaign.mjs +2 -2
- 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 +16 -3
- package/dist/actions/unschedule-campaign.d.cts.map +1 -1
- package/dist/actions/unschedule-campaign.d.mts +16 -3
- package/dist/actions/unschedule-campaign.d.mts.map +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 +2 -2
- package/dist/actions/unsubscribe-from-account.cjs.map +1 -1
- package/dist/actions/unsubscribe-from-account.d.cts +16 -3
- package/dist/actions/unsubscribe-from-account.d.cts.map +1 -1
- package/dist/actions/unsubscribe-from-account.d.mts +16 -3
- package/dist/actions/unsubscribe-from-account.d.mts.map +1 -1
- package/dist/actions/unsubscribe-from-account.mjs +2 -2
- package/dist/actions/unsubscribe-from-account.mjs.map +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.cjs +2 -2
- package/dist/actions/unsubscribe-from-mailing-list.cjs.map +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.d.cts +15 -3
- package/dist/actions/unsubscribe-from-mailing-list.d.cts.map +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.d.mts +15 -3
- package/dist/actions/unsubscribe-from-mailing-list.d.mts.map +1 -1
- package/dist/actions/unsubscribe-from-mailing-list.mjs +2 -2
- package/dist/actions/unsubscribe-from-mailing-list.mjs.map +1 -1
- package/dist/actions/update-campaign.cjs +3 -3
- package/dist/actions/update-campaign.cjs.map +1 -1
- package/dist/actions/update-campaign.d.cts +64 -3
- package/dist/actions/update-campaign.d.cts.map +1 -1
- package/dist/actions/update-campaign.d.mts +64 -3
- package/dist/actions/update-campaign.d.mts.map +1 -1
- package/dist/actions/update-campaign.mjs +3 -3
- package/dist/actions/update-campaign.mjs.map +1 -1
- package/dist/actions/update-custom-field.cjs +2 -2
- package/dist/actions/update-custom-field.cjs.map +1 -1
- package/dist/actions/update-custom-field.d.cts +34 -3
- package/dist/actions/update-custom-field.d.cts.map +1 -1
- package/dist/actions/update-custom-field.d.mts +34 -3
- package/dist/actions/update-custom-field.d.mts.map +1 -1
- package/dist/actions/update-custom-field.mjs +2 -2
- package/dist/actions/update-custom-field.mjs.map +1 -1
- package/dist/actions/update-mailing-list.cjs +10 -10
- package/dist/actions/update-mailing-list.cjs.map +1 -1
- package/dist/actions/update-mailing-list.d.cts +32 -3
- package/dist/actions/update-mailing-list.d.cts.map +1 -1
- package/dist/actions/update-mailing-list.d.mts +32 -3
- package/dist/actions/update-mailing-list.d.mts.map +1 -1
- package/dist/actions/update-mailing-list.mjs +10 -10
- package/dist/actions/update-mailing-list.mjs.map +1 -1
- package/dist/actions/update-segment-criteria.cjs +2 -2
- package/dist/actions/update-segment-criteria.cjs.map +1 -1
- package/dist/actions/update-segment-criteria.d.cts +30 -3
- package/dist/actions/update-segment-criteria.d.cts.map +1 -1
- package/dist/actions/update-segment-criteria.d.mts +30 -3
- package/dist/actions/update-segment-criteria.d.mts.map +1 -1
- package/dist/actions/update-segment-criteria.mjs +2 -2
- package/dist/actions/update-segment-criteria.mjs.map +1 -1
- package/dist/actions/update-segment.cjs +4 -4
- package/dist/actions/update-segment.cjs.map +1 -1
- package/dist/actions/update-segment.d.cts +53 -3
- package/dist/actions/update-segment.d.cts.map +1 -1
- package/dist/actions/update-segment.d.mts +53 -3
- package/dist/actions/update-segment.d.mts.map +1 -1
- package/dist/actions/update-segment.mjs +4 -4
- package/dist/actions/update-segment.mjs.map +1 -1
- package/dist/actions/update-subscriber.cjs +2 -2
- package/dist/actions/update-subscriber.cjs.map +1 -1
- package/dist/actions/update-subscriber.d.cts +26 -3
- package/dist/actions/update-subscriber.d.cts.map +1 -1
- package/dist/actions/update-subscriber.d.mts +26 -3
- package/dist/actions/update-subscriber.d.mts.map +1 -1
- package/dist/actions/update-subscriber.mjs +2 -2
- package/dist/actions/update-subscriber.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,52 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-segments.d.ts
|
|
4
|
-
declare const MoosendListSegmentsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoosendListSegmentsInput: z.ZodObject<{
|
|
5
|
+
format: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
+
mailing_list_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MoosendListSegmentsOutput: z.ZodObject<{
|
|
9
|
+
Code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Context: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
|
+
Paging: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13
|
+
PageSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
CurrentPage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
TotalResults: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
SortExpression: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
TotalPageCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
SortIsAscending: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
19
|
+
}, z.core.$loose>>>;
|
|
20
|
+
Segments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
|
+
ID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
Criteria: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
24
|
+
ID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
Field: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
Value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
DateTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
Comparer: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
DateFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
SegmentID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
Properties: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
Subscriteria: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
CustomFieldID: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
|
+
CreatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
CreatedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
FetchType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
+
MatchType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
|
+
UpdatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
UpdatedOn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
+
FetchValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
}, z.core.$loose>>>>;
|
|
44
|
+
}, z.core.$loose>>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
|
+
declare const moosendListSegments: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
+
mailing_list_id: string;
|
|
48
|
+
format?: string | undefined;
|
|
49
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
50
|
//#endregion
|
|
8
51
|
export { moosendListSegments };
|
|
9
52
|
//# sourceMappingURL=list-segments.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-segments.d.mts","names":[],"sources":["../../src/actions/list-segments.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-segments.d.mts","names":[],"sources":["../../src/actions/list-segments.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAyCxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -12,7 +12,7 @@ const MoosendListSegments_PagingModelSchema = z.object({
|
|
|
12
12
|
SortExpression: z.string().describe("Field used for sorting.").nullable().optional(),
|
|
13
13
|
TotalPageCount: z.number().int().describe("Total number of pages available.").nullable().optional(),
|
|
14
14
|
SortIsAscending: z.boolean().describe("True if results are sorted in ascending order.").nullable().optional()
|
|
15
|
-
}).describe("Paging information for segment list");
|
|
15
|
+
}).passthrough().describe("Paging information for segment list");
|
|
16
16
|
const MoosendListSegments_CriterionModelSchema = z.object({
|
|
17
17
|
ID: z.string().describe("Unique identifier for the criterion.").nullable().optional(),
|
|
18
18
|
Field: z.number().int().describe("Field type identifier.").nullable().optional(),
|
|
@@ -24,7 +24,7 @@ const MoosendListSegments_CriterionModelSchema = z.object({
|
|
|
24
24
|
Properties: z.string().describe("Additional properties for the criterion.").nullable().optional(),
|
|
25
25
|
Subscriteria: z.string().describe("Sub-criteria definition.").nullable().optional(),
|
|
26
26
|
CustomFieldID: z.string().describe("ID of the custom field if applicable.").nullable().optional()
|
|
27
|
-
}).describe("Criterion (rule) for segment filtering");
|
|
27
|
+
}).passthrough().describe("Criterion (rule) for segment filtering");
|
|
28
28
|
const MoosendListSegments_SegmentModelSchema = z.object({
|
|
29
29
|
ID: z.string().describe("Unique identifier for the segment.").nullable().optional(),
|
|
30
30
|
Name: z.string().describe("Name of the segment.").nullable().optional(),
|
|
@@ -37,21 +37,21 @@ const MoosendListSegments_SegmentModelSchema = z.object({
|
|
|
37
37
|
UpdatedOn: z.string().describe("Timestamp when the segment was last updated.").nullable().optional(),
|
|
38
38
|
FetchValue: z.number().int().describe("Fetch value parameter.").nullable().optional(),
|
|
39
39
|
Description: z.string().describe("Description of the segment.").nullable().optional()
|
|
40
|
-
}).describe("Segment information with criteria");
|
|
40
|
+
}).passthrough().describe("Segment information with criteria");
|
|
41
41
|
const MoosendListSegments_ContextModelSchema = z.object({
|
|
42
42
|
Paging: MoosendListSegments_PagingModelSchema.nullable().optional(),
|
|
43
43
|
Segments: z.array(MoosendListSegments_SegmentModelSchema).describe("List of segments for the mailing list.").nullable().optional()
|
|
44
|
-
}).describe("Context containing paging and segments list");
|
|
44
|
+
}).passthrough().describe("Context containing paging and segments list");
|
|
45
45
|
const moosendListSegments = action("MOOSEND_LIST_SEGMENTS", {
|
|
46
46
|
slug: "moosend-list-segments",
|
|
47
47
|
name: "List Segments",
|
|
48
48
|
description: "Tool to get a list of all segments with their criteria for a specified mailing list. Use when you need to retrieve segment definitions for targeting specific subscriber groups.",
|
|
49
49
|
input: MoosendListSegmentsInput,
|
|
50
50
|
output: z.object({
|
|
51
|
-
Code: z.number().int().describe("Response code; 0 indicates success."),
|
|
51
|
+
Code: z.number().int().describe("Response code; 0 indicates success.").nullable(),
|
|
52
52
|
Error: z.string().describe("Error message if the request failed; null on success.").nullable().optional(),
|
|
53
53
|
Context: MoosendListSegments_ContextModelSchema.nullable().optional()
|
|
54
|
-
}).describe("Response schema for ListSegments")
|
|
54
|
+
}).passthrough().describe("Response schema for ListSegments")
|
|
55
55
|
});
|
|
56
56
|
//#endregion
|
|
57
57
|
export { moosendListSegments };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-segments.mjs","names":[],"sources":["../../src/actions/list-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendListSegmentsInput
|
|
1
|
+
{"version":3,"file":"list-segments.mjs","names":[],"sources":["../../src/actions/list-segments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendListSegmentsInput = z.object({\n format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to retrieve segments for.\"),\n}).describe(\"Request schema for ListSegments\");\nconst MoosendListSegments_PagingModelSchema = z.object({\n PageSize: z.number().int().describe(\"Number of items per page.\").nullable().optional(),\n CurrentPage: z.number().int().describe(\"Current page number.\").nullable().optional(),\n TotalResults: z.number().int().describe(\"Total number of segments available.\").nullable().optional(),\n SortExpression: z.string().describe(\"Field used for sorting.\").nullable().optional(),\n TotalPageCount: z.number().int().describe(\"Total number of pages available.\").nullable().optional(),\n SortIsAscending: z.boolean().describe(\"True if results are sorted in ascending order.\").nullable().optional(),\n}).passthrough().describe(\"Paging information for segment list\");\nconst MoosendListSegments_CriterionModelSchema = z.object({\n ID: z.string().describe(\"Unique identifier for the criterion.\").nullable().optional(),\n Field: z.number().int().describe(\"Field type identifier.\").nullable().optional(),\n Value: z.string().describe(\"Value to compare against.\").nullable().optional(),\n DateTo: z.string().describe(\"End date for date-based criteria.\").nullable().optional(),\n Comparer: z.number().int().describe(\"Comparison operator identifier.\").nullable().optional(),\n DateFrom: z.string().describe(\"Start date for date-based criteria.\").nullable().optional(),\n SegmentID: z.string().describe(\"ID of the segment this criterion belongs to.\").nullable().optional(),\n Properties: z.string().describe(\"Additional properties for the criterion.\").nullable().optional(),\n Subscriteria: z.string().describe(\"Sub-criteria definition.\").nullable().optional(),\n CustomFieldID: z.string().describe(\"ID of the custom field if applicable.\").nullable().optional(),\n}).passthrough().describe(\"Criterion (rule) for segment filtering\");\nconst MoosendListSegments_SegmentModelSchema = z.object({\n ID: z.string().describe(\"Unique identifier for the segment.\").nullable().optional(),\n Name: z.string().describe(\"Name of the segment.\").nullable().optional(),\n Criteria: z.array(MoosendListSegments_CriterionModelSchema).describe(\"List of criteria (rules) that define this segment.\").nullable().optional(),\n CreatedBy: z.string().describe(\"User who created the segment.\").nullable().optional(),\n CreatedOn: z.string().describe(\"Timestamp when the segment was created.\").nullable().optional(),\n FetchType: z.number().int().describe(\"Fetch type identifier.\").nullable().optional(),\n MatchType: z.number().int().describe(\"How criteria match together: 0 for 'All criteria must match', 1 for 'Any criterion can match'.\").nullable().optional(),\n UpdatedBy: z.string().describe(\"User who last updated the segment.\").nullable().optional(),\n UpdatedOn: z.string().describe(\"Timestamp when the segment was last updated.\").nullable().optional(),\n FetchValue: z.number().int().describe(\"Fetch value parameter.\").nullable().optional(),\n Description: z.string().describe(\"Description of the segment.\").nullable().optional(),\n}).passthrough().describe(\"Segment information with criteria\");\nconst MoosendListSegments_ContextModelSchema = z.object({\n Paging: MoosendListSegments_PagingModelSchema.nullable().optional(),\n Segments: z.array(MoosendListSegments_SegmentModelSchema).describe(\"List of segments for the mailing list.\").nullable().optional(),\n}).passthrough().describe(\"Context containing paging and segments list\");\nexport const MoosendListSegmentsOutput = 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: MoosendListSegments_ContextModelSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for ListSegments\");\n\nexport const moosendListSegments = action(\"MOOSEND_LIST_SEGMENTS\", {\n slug: \"moosend-list-segments\",\n name: \"List Segments\",\n description: \"Tool to get a list of all segments with their criteria for a specified mailing list. Use when you need to retrieve segment definitions for targeting specific subscriber groups.\",\n input: MoosendListSegmentsInput,\n output: MoosendListSegmentsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -7,10 +7,10 @@ const MoosendRemoveMultipleSubscribersInput = zod.z.object({
|
|
|
7
7
|
mailing_list_id: zod.z.string().describe("The ID of the mailing list to remove the subscribers from.")
|
|
8
8
|
}).describe("Request schema for removing multiple subscribers from a mailing list.");
|
|
9
9
|
const MoosendRemoveMultipleSubscribersOutput = zod.z.object({
|
|
10
|
-
Code: zod.z.number().int().describe("Response code; 0 indicates success."),
|
|
10
|
+
Code: zod.z.number().int().describe("Response code; 0 indicates success.").nullable(),
|
|
11
11
|
Error: zod.z.string().describe("Error message; null if successful.").nullable().optional(),
|
|
12
12
|
Context: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response context containing details about the removal operation.").nullable().optional()
|
|
13
|
-
}).describe("Response schema for RemoveMultipleSubscribers action.");
|
|
13
|
+
}).passthrough().describe("Response schema for RemoveMultipleSubscribers action.");
|
|
14
14
|
const moosendRemoveMultipleSubscribers = require_action.action("MOOSEND_REMOVE_MULTIPLE_SUBSCRIBERS", {
|
|
15
15
|
slug: "moosend-remove-multiple-subscribers",
|
|
16
16
|
name: "Remove Multiple Subscribers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-multiple-subscribers.cjs","names":["z","action"],"sources":["../../src/actions/remove-multiple-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendRemoveMultipleSubscribersInput
|
|
1
|
+
{"version":3,"file":"remove-multiple-subscribers.cjs","names":["z","action"],"sources":["../../src/actions/remove-multiple-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendRemoveMultipleSubscribersInput = z.object({\n Emails: z.string().describe(\"Comma-separated string of email addresses to remove from the mailing list. Invalid email addresses will be ignored.\"),\n format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to remove the subscribers from.\"),\n}).describe(\"Request schema for removing multiple subscribers from a mailing list.\");\nexport const MoosendRemoveMultipleSubscribersOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Response context containing details about the removal operation.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for RemoveMultipleSubscribers action.\");\n\nexport const moosendRemoveMultipleSubscribers = action(\"MOOSEND_REMOVE_MULTIPLE_SUBSCRIBERS\", {\n slug: \"moosend-remove-multiple-subscribers\",\n name: \"Remove Multiple Subscribers\",\n description: \"Tool to permanently remove multiple subscribers from a mailing list. Use when you need to delete multiple subscribers permanently without adding them to the suppression list. Invalid email addresses are automatically ignored.\",\n input: MoosendRemoveMultipleSubscribersInput,\n output: MoosendRemoveMultipleSubscribersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CACjJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AACnG,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/remove-multiple-subscribers.d.ts
|
|
4
|
-
declare const MoosendRemoveMultipleSubscribersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoosendRemoveMultipleSubscribersInput: z.ZodObject<{
|
|
5
|
+
Emails: z.ZodString;
|
|
6
|
+
format: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
|
+
mailing_list_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MoosendRemoveMultipleSubscribersOutput: z.ZodObject<{
|
|
10
|
+
Code: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const moosendRemoveMultipleSubscribers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
Emails: string;
|
|
16
|
+
mailing_list_id: string;
|
|
17
|
+
format?: string | undefined;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { moosendRemoveMultipleSubscribers };
|
|
9
21
|
//# sourceMappingURL=remove-multiple-subscribers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-multiple-subscribers.d.cts","names":[],"sources":["../../src/actions/remove-multiple-subscribers.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"remove-multiple-subscribers.d.cts","names":[],"sources":["../../src/actions/remove-multiple-subscribers.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAMtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/remove-multiple-subscribers.d.ts
|
|
4
|
-
declare const MoosendRemoveMultipleSubscribersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoosendRemoveMultipleSubscribersInput: z.ZodObject<{
|
|
5
|
+
Emails: z.ZodString;
|
|
6
|
+
format: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
7
|
+
mailing_list_id: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MoosendRemoveMultipleSubscribersOutput: z.ZodObject<{
|
|
10
|
+
Code: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const moosendRemoveMultipleSubscribers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
Emails: string;
|
|
16
|
+
mailing_list_id: string;
|
|
17
|
+
format?: string | undefined;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { moosendRemoveMultipleSubscribers };
|
|
9
21
|
//# sourceMappingURL=remove-multiple-subscribers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-multiple-subscribers.d.mts","names":[],"sources":["../../src/actions/remove-multiple-subscribers.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"remove-multiple-subscribers.d.mts","names":[],"sources":["../../src/actions/remove-multiple-subscribers.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;cAKrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cAMtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -10,10 +10,10 @@ const moosendRemoveMultipleSubscribers = action("MOOSEND_REMOVE_MULTIPLE_SUBSCRI
|
|
|
10
10
|
mailing_list_id: z.string().describe("The ID of the mailing list to remove the subscribers from.")
|
|
11
11
|
}).describe("Request schema for removing multiple subscribers from a mailing list."),
|
|
12
12
|
output: z.object({
|
|
13
|
-
Code: z.number().int().describe("Response code; 0 indicates success."),
|
|
13
|
+
Code: z.number().int().describe("Response code; 0 indicates success.").nullable(),
|
|
14
14
|
Error: z.string().describe("Error message; null if successful.").nullable().optional(),
|
|
15
15
|
Context: z.record(z.string(), z.unknown()).describe("Response context containing details about the removal operation.").nullable().optional()
|
|
16
|
-
}).describe("Response schema for RemoveMultipleSubscribers action.")
|
|
16
|
+
}).passthrough().describe("Response schema for RemoveMultipleSubscribers action.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { moosendRemoveMultipleSubscribers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-multiple-subscribers.mjs","names":[],"sources":["../../src/actions/remove-multiple-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendRemoveMultipleSubscribersInput
|
|
1
|
+
{"version":3,"file":"remove-multiple-subscribers.mjs","names":[],"sources":["../../src/actions/remove-multiple-subscribers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendRemoveMultipleSubscribersInput = z.object({\n Emails: z.string().describe(\"Comma-separated string of email addresses to remove from the mailing list. Invalid email addresses will be ignored.\"),\n format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n mailing_list_id: z.string().describe(\"The ID of the mailing list to remove the subscribers from.\"),\n}).describe(\"Request schema for removing multiple subscribers from a mailing list.\");\nexport const MoosendRemoveMultipleSubscribersOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Response context containing details about the removal operation.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for RemoveMultipleSubscribers action.\");\n\nexport const moosendRemoveMultipleSubscribers = action(\"MOOSEND_REMOVE_MULTIPLE_SUBSCRIBERS\", {\n slug: \"moosend-remove-multiple-subscribers\",\n name: \"Remove Multiple Subscribers\",\n description: \"Tool to permanently remove multiple subscribers from a mailing list. Use when you need to delete multiple subscribers permanently without adding them to the suppression list. Invalid email addresses are automatically ignored.\",\n input: MoosendRemoveMultipleSubscribersInput,\n output: MoosendRemoveMultipleSubscribersOutput,\n});\n"],"mappings":";;AAeA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmD,EAAE,OAAO;EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;EACjJ,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACnG,CAAC,CAAC,CAAC,SAAS,uEAWH;CACP,QAXoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const MoosendScheduleCampaignOutput = zod.z.object({
|
|
|
11
11
|
Code: zod.z.number().int().describe("Response code, 0 indicates success.").nullable().optional(),
|
|
12
12
|
Error: zod.z.string().describe("Error message returned by the API, null if successful.").nullable().optional(),
|
|
13
13
|
Context: zod.z.string().describe("Additional context, always null on success.").nullable().optional()
|
|
14
|
-
}).describe("Response model for ScheduleCampaign action.");
|
|
14
|
+
}).passthrough().describe("Response model for ScheduleCampaign action.");
|
|
15
15
|
const moosendScheduleCampaign = require_action.action("MOOSEND_SCHEDULE_CAMPAIGN", {
|
|
16
16
|
slug: "moosend-schedule-campaign",
|
|
17
17
|
name: "Schedule Campaign",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule-campaign.cjs","names":["z","action"],"sources":["../../src/actions/schedule-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendScheduleCampaignInput
|
|
1
|
+
{"version":3,"file":"schedule-campaign.cjs","names":["z","action"],"sources":["../../src/actions/schedule-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendScheduleCampaignInput = z.object({\n format: z.string().default(\"json\").describe(\"Response format. Always 'json'.\").optional(),\n TimeZone: z.string().describe(\"Time zone for the scheduled date and time in IANA format (e.g., 'Europe/London'). Defaults to UTC if omitted.\").optional(),\n campaign_id: z.string().describe(\"The ID of the campaign to schedule.\"),\n ScheduledDateTime: z.string().describe(\"Scheduled date and time for delivery in 'yyyy-MM-dd HH:mm:ss' format (e.g., '2026-12-31 10:00:00').\"),\n}).describe(\"Request model for scheduling a campaign delivery in Moosend.\");\nexport const MoosendScheduleCampaignOutput = z.object({\n Code: z.number().int().describe(\"Response code, 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message returned by the API, null if successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context, always null on success.\").nullable().optional(),\n}).passthrough().describe(\"Response model for ScheduleCampaign action.\");\n\nexport const moosendScheduleCampaign = action(\"MOOSEND_SCHEDULE_CAMPAIGN\", {\n slug: \"moosend-schedule-campaign\",\n name: \"Schedule Campaign\",\n description: \"Tool to schedule a campaign. Use when you want to set a specific date and time for campaign delivery after confirming its ID.\",\n input: MoosendScheduleCampaignInput,\n output: MoosendScheduleCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACxJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACtE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;AAC9I,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,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,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/schedule-campaign.d.ts
|
|
4
|
-
declare const MoosendScheduleCampaignInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoosendScheduleCampaignInput: z.ZodObject<{
|
|
5
|
+
format: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
+
TimeZone: z.ZodOptional<z.ZodString>;
|
|
7
|
+
campaign_id: z.ZodString;
|
|
8
|
+
ScheduledDateTime: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const MoosendScheduleCampaignOutput: z.ZodObject<{
|
|
11
|
+
Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
Context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const moosendScheduleCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
campaign_id: string;
|
|
17
|
+
ScheduledDateTime: string;
|
|
18
|
+
format?: string | undefined;
|
|
19
|
+
TimeZone?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { moosendScheduleCampaign };
|
|
9
23
|
//# sourceMappingURL=schedule-campaign.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule-campaign.d.cts","names":[],"sources":["../../src/actions/schedule-campaign.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"schedule-campaign.d.cts","names":[],"sources":["../../src/actions/schedule-campaign.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/schedule-campaign.d.ts
|
|
4
|
-
declare const MoosendScheduleCampaignInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoosendScheduleCampaignInput: z.ZodObject<{
|
|
5
|
+
format: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
+
TimeZone: z.ZodOptional<z.ZodString>;
|
|
7
|
+
campaign_id: z.ZodString;
|
|
8
|
+
ScheduledDateTime: z.ZodString;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const MoosendScheduleCampaignOutput: z.ZodObject<{
|
|
11
|
+
Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
Context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const moosendScheduleCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
campaign_id: string;
|
|
17
|
+
ScheduledDateTime: string;
|
|
18
|
+
format?: string | undefined;
|
|
19
|
+
TimeZone?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { moosendScheduleCampaign };
|
|
9
23
|
//# sourceMappingURL=schedule-campaign.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule-campaign.d.mts","names":[],"sources":["../../src/actions/schedule-campaign.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"schedule-campaign.d.mts","names":[],"sources":["../../src/actions/schedule-campaign.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;cAM5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -14,7 +14,7 @@ const moosendScheduleCampaign = action("MOOSEND_SCHEDULE_CAMPAIGN", {
|
|
|
14
14
|
Code: z.number().int().describe("Response code, 0 indicates success.").nullable().optional(),
|
|
15
15
|
Error: z.string().describe("Error message returned by the API, null if successful.").nullable().optional(),
|
|
16
16
|
Context: z.string().describe("Additional context, always null on success.").nullable().optional()
|
|
17
|
-
}).describe("Response model for ScheduleCampaign action.")
|
|
17
|
+
}).passthrough().describe("Response model for ScheduleCampaign action.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { moosendScheduleCampaign };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule-campaign.mjs","names":[],"sources":["../../src/actions/schedule-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendScheduleCampaignInput
|
|
1
|
+
{"version":3,"file":"schedule-campaign.mjs","names":[],"sources":["../../src/actions/schedule-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendScheduleCampaignInput = z.object({\n format: z.string().default(\"json\").describe(\"Response format. Always 'json'.\").optional(),\n TimeZone: z.string().describe(\"Time zone for the scheduled date and time in IANA format (e.g., 'Europe/London'). Defaults to UTC if omitted.\").optional(),\n campaign_id: z.string().describe(\"The ID of the campaign to schedule.\"),\n ScheduledDateTime: z.string().describe(\"Scheduled date and time for delivery in 'yyyy-MM-dd HH:mm:ss' format (e.g., '2026-12-31 10:00:00').\"),\n}).describe(\"Request model for scheduling a campaign delivery in Moosend.\");\nexport const MoosendScheduleCampaignOutput = z.object({\n Code: z.number().int().describe(\"Response code, 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message returned by the API, null if successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context, always null on success.\").nullable().optional(),\n}).passthrough().describe(\"Response model for ScheduleCampaign action.\");\n\nexport const moosendScheduleCampaign = action(\"MOOSEND_SCHEDULE_CAMPAIGN\", {\n slug: \"moosend-schedule-campaign\",\n name: \"Schedule Campaign\",\n description: \"Tool to schedule a campaign. Use when you want to set a specific date and time for campaign delivery after confirming its ID.\",\n input: MoosendScheduleCampaignInput,\n output: MoosendScheduleCampaignOutput,\n});\n"],"mappings":";;AAgBA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB0C,EAAE,OAAO;EACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EACxJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACtE,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC9I,CAAC,CAAC,CAAC,SAAS,8DAWH;CACP,QAX2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -6,10 +6,10 @@ const MoosendSendCampaignInput = zod.z.object({
|
|
|
6
6
|
CampaignID: zod.z.string().describe("The unique identifier of the draft campaign to send.")
|
|
7
7
|
}).describe("Request schema for sending an existing draft campaign immediately.");
|
|
8
8
|
const MoosendSendCampaignOutput = zod.z.object({
|
|
9
|
-
Code: zod.z.number().int().describe("Response code; 0 indicates success."),
|
|
9
|
+
Code: zod.z.number().int().describe("Response code; 0 indicates success.").nullable(),
|
|
10
10
|
Error: zod.z.string().describe("Error message; null if the request was successful.").nullable().optional(),
|
|
11
11
|
Context: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional context returned by the API.").nullable().optional()
|
|
12
|
-
}).describe("Response schema for sending an existing draft campaign.");
|
|
12
|
+
}).passthrough().describe("Response schema for sending an existing draft campaign.");
|
|
13
13
|
const moosendSendCampaign = require_action.action("MOOSEND_SEND_CAMPAIGN", {
|
|
14
14
|
slug: "moosend-send-campaign",
|
|
15
15
|
name: "Send Campaign",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-campaign.cjs","names":["z","action"],"sources":["../../src/actions/send-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendSendCampaignInput
|
|
1
|
+
{"version":3,"file":"send-campaign.cjs","names":["z","action"],"sources":["../../src/actions/send-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendSendCampaignInput = z.object({\n Format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n CampaignID: z.string().describe(\"The unique identifier of the draft campaign to send.\"),\n}).describe(\"Request schema for sending an existing draft campaign immediately.\");\nexport const MoosendSendCampaignOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if the request was successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Additional context returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for sending an existing draft campaign.\");\n\nexport const moosendSendCampaign = action(\"MOOSEND_SEND_CAMPAIGN\", {\n slug: \"moosend-send-campaign\",\n name: \"Send Campaign\",\n description: \"Tool to send an existing draft campaign immediately. Use when you want to dispatch a campaign to all recipients after final review.\",\n input: MoosendSendCampaignInput,\n output: MoosendSendCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACxF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/send-campaign.d.ts
|
|
4
|
-
declare const MoosendSendCampaignInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoosendSendCampaignInput: z.ZodObject<{
|
|
5
|
+
Format: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
+
CampaignID: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MoosendSendCampaignOutput: z.ZodObject<{
|
|
9
|
+
Code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const moosendSendCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
CampaignID: string;
|
|
15
|
+
Format?: string | undefined;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { moosendSendCampaign };
|
|
9
19
|
//# sourceMappingURL=send-campaign.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-campaign.d.cts","names":[],"sources":["../../src/actions/send-campaign.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"send-campaign.d.cts","names":[],"sources":["../../src/actions/send-campaign.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/send-campaign.d.ts
|
|
4
|
-
declare const MoosendSendCampaignInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoosendSendCampaignInput: z.ZodObject<{
|
|
5
|
+
Format: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
6
|
+
CampaignID: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MoosendSendCampaignOutput: z.ZodObject<{
|
|
9
|
+
Code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
Context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
declare const moosendSendCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
|
+
CampaignID: string;
|
|
15
|
+
Format?: string | undefined;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { moosendSendCampaign };
|
|
9
19
|
//# sourceMappingURL=send-campaign.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-campaign.d.mts","names":[],"sources":["../../src/actions/send-campaign.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"send-campaign.d.mts","names":[],"sources":["../../src/actions/send-campaign.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAMzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -9,10 +9,10 @@ const moosendSendCampaign = action("MOOSEND_SEND_CAMPAIGN", {
|
|
|
9
9
|
CampaignID: z.string().describe("The unique identifier of the draft campaign to send.")
|
|
10
10
|
}).describe("Request schema for sending an existing draft campaign immediately."),
|
|
11
11
|
output: z.object({
|
|
12
|
-
Code: z.number().int().describe("Response code; 0 indicates success."),
|
|
12
|
+
Code: z.number().int().describe("Response code; 0 indicates success.").nullable(),
|
|
13
13
|
Error: z.string().describe("Error message; null if the request was successful.").nullable().optional(),
|
|
14
14
|
Context: z.record(z.string(), z.unknown()).describe("Additional context returned by the API.").nullable().optional()
|
|
15
|
-
}).describe("Response schema for sending an existing draft campaign.")
|
|
15
|
+
}).passthrough().describe("Response schema for sending an existing draft campaign.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { moosendSendCampaign };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-campaign.mjs","names":[],"sources":["../../src/actions/send-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendSendCampaignInput
|
|
1
|
+
{"version":3,"file":"send-campaign.mjs","names":[],"sources":["../../src/actions/send-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendSendCampaignInput = z.object({\n Format: z.string().default(\"json\").describe(\"Response format. Only 'json' is supported.\").optional(),\n CampaignID: z.string().describe(\"The unique identifier of the draft campaign to send.\"),\n}).describe(\"Request schema for sending an existing draft campaign immediately.\");\nexport const MoosendSendCampaignOutput = z.object({\n Code: z.number().int().describe(\"Response code; 0 indicates success.\").nullable(),\n Error: z.string().describe(\"Error message; null if the request was successful.\").nullable().optional(),\n Context: z.record(z.string(), z.unknown()).describe(\"Additional context returned by the API.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for sending an existing draft campaign.\");\n\nexport const moosendSendCampaign = action(\"MOOSEND_SEND_CAMPAIGN\", {\n slug: \"moosend-send-campaign\",\n name: \"Send Campaign\",\n description: \"Tool to send an existing draft campaign immediately. Use when you want to dispatch a campaign to all recipients after final review.\",\n input: MoosendSendCampaignInput,\n output: MoosendSendCampaignOutput,\n});\n"],"mappings":";;AAcA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACxF,CAAC,CAAC,CAAC,SAAS,oEAWH;CACP,QAXuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const MoosendUnscheduleCampaignOutput = 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 returned by the API, null if successful.").nullable().optional(),
|
|
11
11
|
Context: zod.z.string().describe("Additional context, always null on success.").nullable().optional()
|
|
12
|
-
}).describe("Response model for UnscheduleCampaign action.");
|
|
12
|
+
}).passthrough().describe("Response model for UnscheduleCampaign action.");
|
|
13
13
|
const moosendUnscheduleCampaign = require_action.action("MOOSEND_UNSCHEDULE_CAMPAIGN", {
|
|
14
14
|
slug: "moosend-unschedule-campaign",
|
|
15
15
|
name: "Unschedule Campaign",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unschedule-campaign.cjs","names":["z","action"],"sources":["../../src/actions/unschedule-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnscheduleCampaignInput
|
|
1
|
+
{"version":3,"file":"unschedule-campaign.cjs","names":["z","action"],"sources":["../../src/actions/unschedule-campaign.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoosendUnscheduleCampaignInput = z.object({\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Use 'json' (default and recommended) or 'xml'. Note: Only JSON format is fully supported; XML responses are not parsed by this action.\").optional(),\n campaign_id: z.string().describe(\"The ID of the campaign to unschedule.\"),\n}).describe(\"Request model for unscheduling a campaign in Moosend.\");\nexport const MoosendUnscheduleCampaignOutput = z.object({\n Code: z.number().int().describe(\"Response code, 0 indicates success.\").nullable().optional(),\n Error: z.string().describe(\"Error message returned by the API, null if successful.\").nullable().optional(),\n Context: z.string().describe(\"Additional context, always null on success.\").nullable().optional(),\n}).passthrough().describe(\"Response model for UnscheduleCampaign action.\");\n\nexport const moosendUnscheduleCampaign = action(\"MOOSEND_UNSCHEDULE_CAMPAIGN\", {\n slug: \"moosend-unschedule-campaign\",\n name: \"Unschedule Campaign\",\n description: \"Tool to unschedule a campaign. Removes a previously defined scheduled date and time from a campaign, so that it will be delivered immediately if already queued or when sent.\",\n input: MoosendUnscheduleCampaignInput,\n output: MoosendUnscheduleCampaignOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC7N,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/unschedule-campaign.d.ts
|
|
4
|
-
declare const MoosendUnscheduleCampaignInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoosendUnscheduleCampaignInput: z.ZodObject<{
|
|
5
|
+
format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
json: "json";
|
|
7
|
+
xml: "xml";
|
|
8
|
+
}>>>;
|
|
9
|
+
campaign_id: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const MoosendUnscheduleCampaignOutput: z.ZodObject<{
|
|
12
|
+
Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
Context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const moosendUnscheduleCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
campaign_id: string;
|
|
18
|
+
format?: "json" | "xml" | undefined;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { moosendUnscheduleCampaign };
|
|
9
22
|
//# sourceMappingURL=unschedule-campaign.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unschedule-campaign.d.cts","names":[],"sources":["../../src/actions/unschedule-campaign.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"unschedule-campaign.d.cts","names":[],"sources":["../../src/actions/unschedule-campaign.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;cAI9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/unschedule-campaign.d.ts
|
|
4
|
-
declare const MoosendUnscheduleCampaignInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MoosendUnscheduleCampaignInput: z.ZodObject<{
|
|
5
|
+
format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
json: "json";
|
|
7
|
+
xml: "xml";
|
|
8
|
+
}>>>;
|
|
9
|
+
campaign_id: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const MoosendUnscheduleCampaignOutput: z.ZodObject<{
|
|
12
|
+
Code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
Error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
Context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const moosendUnscheduleCampaign: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
campaign_id: string;
|
|
18
|
+
format?: "json" | "xml" | undefined;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { moosendUnscheduleCampaign };
|
|
9
22
|
//# sourceMappingURL=unschedule-campaign.d.mts.map
|