@keystrokehq/moosend 0.1.4 → 0.1.5

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.
Files changed (71) hide show
  1. package/dist/actions/add-segment-criteria.d.cts +13 -1
  2. package/dist/actions/add-segment-criteria.d.mts +13 -1
  3. package/dist/actions/add-subscriber.d.cts +13 -1
  4. package/dist/actions/add-subscriber.d.mts +13 -1
  5. package/dist/actions/clone-campaign.d.cts +13 -1
  6. package/dist/actions/clone-campaign.d.mts +13 -1
  7. package/dist/actions/create-custom-field.d.cts +13 -1
  8. package/dist/actions/create-custom-field.d.mts +13 -1
  9. package/dist/actions/create-mailing-list.d.cts +13 -1
  10. package/dist/actions/create-mailing-list.d.mts +13 -1
  11. package/dist/actions/create-segment.d.cts +13 -1
  12. package/dist/actions/create-segment.d.mts +13 -1
  13. package/dist/actions/delete-campaign.d.cts +13 -1
  14. package/dist/actions/delete-campaign.d.mts +13 -1
  15. package/dist/actions/delete-custom-field.d.cts +13 -1
  16. package/dist/actions/delete-custom-field.d.mts +13 -1
  17. package/dist/actions/delete-mailing-list.d.cts +13 -1
  18. package/dist/actions/delete-mailing-list.d.mts +13 -1
  19. package/dist/actions/get-all-campaigns.d.cts +13 -1
  20. package/dist/actions/get-all-campaigns.d.mts +13 -1
  21. package/dist/actions/get-all-subscribers.d.cts +13 -1
  22. package/dist/actions/get-all-subscribers.d.mts +13 -1
  23. package/dist/actions/get-campaign-details.d.cts +13 -1
  24. package/dist/actions/get-campaign-details.d.mts +13 -1
  25. package/dist/actions/get-campaign-stats-by-location.d.cts +13 -1
  26. package/dist/actions/get-campaign-stats-by-location.d.mts +13 -1
  27. package/dist/actions/get-mailing-list-details.d.cts +13 -1
  28. package/dist/actions/get-mailing-list-details.d.mts +13 -1
  29. package/dist/actions/get-subscriber-by-email.d.cts +13 -1
  30. package/dist/actions/get-subscriber-by-email.d.mts +13 -1
  31. package/dist/actions/list-all-mailing-lists.d.cts +15 -3
  32. package/dist/actions/list-all-mailing-lists.d.mts +15 -3
  33. package/dist/actions/list-all-senders.d.cts +13 -1
  34. package/dist/actions/list-all-senders.d.mts +13 -1
  35. package/dist/actions/list-campaigns-with-paging.d.cts +15 -3
  36. package/dist/actions/list-campaigns-with-paging.d.mts +15 -3
  37. package/dist/actions/list-segments.d.cts +13 -1
  38. package/dist/actions/list-segments.d.mts +13 -1
  39. package/dist/actions/remove-multiple-subscribers.d.cts +13 -1
  40. package/dist/actions/remove-multiple-subscribers.d.mts +13 -1
  41. package/dist/actions/schedule-campaign.d.cts +13 -1
  42. package/dist/actions/schedule-campaign.d.mts +13 -1
  43. package/dist/actions/send-campaign.d.cts +13 -1
  44. package/dist/actions/send-campaign.d.mts +13 -1
  45. package/dist/actions/unschedule-campaign.d.cts +13 -1
  46. package/dist/actions/unschedule-campaign.d.mts +13 -1
  47. package/dist/actions/unsubscribe-from-account.d.cts +13 -1
  48. package/dist/actions/unsubscribe-from-account.d.mts +13 -1
  49. package/dist/actions/unsubscribe-from-mailing-list.d.cts +13 -1
  50. package/dist/actions/unsubscribe-from-mailing-list.d.mts +13 -1
  51. package/dist/actions/update-campaign.d.cts +13 -1
  52. package/dist/actions/update-campaign.d.mts +13 -1
  53. package/dist/actions/update-custom-field.d.cts +13 -1
  54. package/dist/actions/update-custom-field.d.mts +13 -1
  55. package/dist/actions/update-mailing-list.d.cts +13 -1
  56. package/dist/actions/update-mailing-list.d.mts +13 -1
  57. package/dist/actions/update-segment-criteria.d.cts +13 -1
  58. package/dist/actions/update-segment-criteria.d.mts +13 -1
  59. package/dist/actions/update-segment.d.cts +13 -1
  60. package/dist/actions/update-segment.d.mts +13 -1
  61. package/dist/actions/update-subscriber.d.cts +13 -1
  62. package/dist/actions/update-subscriber.d.mts +13 -1
  63. package/dist/app.cjs +5 -2
  64. package/dist/app.cjs.map +1 -1
  65. package/dist/app.d.cts +9 -1
  66. package/dist/app.d.cts.map +1 -1
  67. package/dist/app.d.mts +9 -1
  68. package/dist/app.d.mts.map +1 -1
  69. package/dist/app.mjs +3 -1
  70. package/dist/app.mjs.map +1 -1
  71. package/package.json +1 -1
@@ -32,7 +32,19 @@ declare const moosendUpdateMailingList: import("@keystrokehq/action").WorkflowAc
32
32
  sender_name?: string | undefined;
33
33
  sender_email?: string | undefined;
34
34
  reply_to_email?: string | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { moosendUpdateMailingList };
38
50
  //# sourceMappingURL=update-mailing-list.d.cts.map
@@ -32,7 +32,19 @@ declare const moosendUpdateMailingList: import("@keystrokehq/action").WorkflowAc
32
32
  sender_name?: string | undefined;
33
33
  sender_email?: string | undefined;
34
34
  reply_to_email?: string | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ generic_api_key: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { moosendUpdateMailingList };
38
50
  //# sourceMappingURL=update-mailing-list.d.mts.map
@@ -30,7 +30,19 @@ declare const moosendUpdateSegmentCriteria: import("@keystrokehq/action").Workfl
30
30
  date_to?: string | undefined;
31
31
  comparer?: string | undefined;
32
32
  date_from?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ generic_api_key: z.ZodString;
39
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ generic_api_key: z.ZodString;
45
+ }, z.core.$strip>>]>;
34
46
  //#endregion
35
47
  export { moosendUpdateSegmentCriteria };
36
48
  //# sourceMappingURL=update-segment-criteria.d.cts.map
@@ -30,7 +30,19 @@ declare const moosendUpdateSegmentCriteria: import("@keystrokehq/action").Workfl
30
30
  date_to?: string | undefined;
31
31
  comparer?: string | undefined;
32
32
  date_from?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ generic_api_key: z.ZodString;
39
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ generic_api_key: z.ZodString;
45
+ }, z.core.$strip>>]>;
34
46
  //#endregion
35
47
  export { moosendUpdateSegmentCriteria };
36
48
  //# sourceMappingURL=update-segment-criteria.d.mts.map
@@ -53,7 +53,19 @@ declare const moosendUpdateSegment: import("@keystrokehq/action").WorkflowAction
53
53
  FetchType?: "All" | "Top" | "TopPercent" | undefined;
54
54
  MatchType?: "All" | "Any" | undefined;
55
55
  FetchValue?: number | undefined;
56
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
56
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
57
+ connectionId: z.ZodString;
58
+ entityId: z.ZodString;
59
+ instanceId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ generic_api_key: z.ZodString;
62
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
63
+ connectionId: z.ZodString;
64
+ entityId: z.ZodString;
65
+ instanceId: z.ZodString;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ generic_api_key: z.ZodString;
68
+ }, z.core.$strip>>]>;
57
69
  //#endregion
58
70
  export { moosendUpdateSegment };
59
71
  //# sourceMappingURL=update-segment.d.cts.map
@@ -53,7 +53,19 @@ declare const moosendUpdateSegment: import("@keystrokehq/action").WorkflowAction
53
53
  FetchType?: "All" | "Top" | "TopPercent" | undefined;
54
54
  MatchType?: "All" | "Any" | undefined;
55
55
  FetchValue?: number | undefined;
56
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
56
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
57
+ connectionId: z.ZodString;
58
+ entityId: z.ZodString;
59
+ instanceId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ generic_api_key: z.ZodString;
62
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
63
+ connectionId: z.ZodString;
64
+ entityId: z.ZodString;
65
+ instanceId: z.ZodString;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ generic_api_key: z.ZodString;
68
+ }, z.core.$strip>>]>;
57
69
  //#endregion
58
70
  export { moosendUpdateSegment };
59
71
  //# sourceMappingURL=update-segment.d.mts.map
@@ -26,7 +26,19 @@ declare const moosendUpdateSubscriber: import("@keystrokehq/action").WorkflowAct
26
26
  format?: "json" | "xml" | undefined;
27
27
  CustomFields?: string[] | undefined;
28
28
  HasExternalDoubleOptIn?: boolean | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ generic_api_key: z.ZodString;
35
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>;
30
42
  //#endregion
31
43
  export { moosendUpdateSubscriber };
32
44
  //# sourceMappingURL=update-subscriber.d.cts.map
@@ -26,7 +26,19 @@ declare const moosendUpdateSubscriber: import("@keystrokehq/action").WorkflowAct
26
26
  format?: "json" | "xml" | undefined;
27
27
  CustomFields?: string[] | undefined;
28
28
  HasExternalDoubleOptIn?: boolean | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ generic_api_key: z.ZodString;
35
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ generic_api_key: z.ZodString;
41
+ }, z.core.$strip>>]>;
30
42
  //#endregion
31
43
  export { moosendUpdateSubscriber };
32
44
  //# sourceMappingURL=update-subscriber.d.mts.map
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const moosend = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const moosend = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "moosend",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.moosend = moosend;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const moosend = defineApp({\n slug: \"moosend\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,WAAA,uCAAA,CAAA,CAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const moosend = defineApp({\n slug: \"moosend\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAA,GAAA,2BAAA,UAAA,CAAoB;CAC/B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiBA,IAAAA,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const moosend: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const moosend: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { moosend };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const moosend: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const moosend: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"moosend", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { moosend };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,OAAA,6BAAO,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,OAAA,6BAAO,GAAA,+BAAA,UAAA,YAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const moosend = defineApp({
4
5
  slug: "moosend",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { moosend };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const moosend = defineApp({\n slug: \"moosend\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const moosend = defineApp({\n slug: \"moosend\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAU,UAAU;CAC/B,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/moosend",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"