@keystrokehq/postmark 0.1.3 → 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 (121) hide show
  1. package/dist/actions/archive-message-stream.d.cts +13 -1
  2. package/dist/actions/archive-message-stream.d.mts +13 -1
  3. package/dist/actions/check-spam-score.d.cts +13 -1
  4. package/dist/actions/check-spam-score.d.mts +13 -1
  5. package/dist/actions/create-inbound-rule.d.cts +13 -1
  6. package/dist/actions/create-inbound-rule.d.mts +13 -1
  7. package/dist/actions/create-message-stream.d.cts +13 -1
  8. package/dist/actions/create-message-stream.d.mts +13 -1
  9. package/dist/actions/create-suppressions.d.cts +13 -1
  10. package/dist/actions/create-suppressions.d.mts +13 -1
  11. package/dist/actions/create-template.d.cts +13 -1
  12. package/dist/actions/create-template.d.mts +13 -1
  13. package/dist/actions/create-webhook.d.cts +13 -1
  14. package/dist/actions/create-webhook.d.mts +13 -1
  15. package/dist/actions/delete-inbound-rule.d.cts +13 -1
  16. package/dist/actions/delete-inbound-rule.d.mts +13 -1
  17. package/dist/actions/delete-suppressions.d.cts +13 -1
  18. package/dist/actions/delete-suppressions.d.mts +13 -1
  19. package/dist/actions/delete-template.d.cts +13 -1
  20. package/dist/actions/delete-template.d.mts +13 -1
  21. package/dist/actions/delete-webhook.d.cts +13 -1
  22. package/dist/actions/delete-webhook.d.mts +13 -1
  23. package/dist/actions/edit-server.d.cts +13 -1
  24. package/dist/actions/edit-server.d.mts +13 -1
  25. package/dist/actions/edit-template.d.cts +13 -1
  26. package/dist/actions/edit-template.d.mts +13 -1
  27. package/dist/actions/edit-webhook.d.cts +13 -1
  28. package/dist/actions/edit-webhook.d.cts.map +1 -1
  29. package/dist/actions/edit-webhook.d.mts +13 -1
  30. package/dist/actions/edit-webhook.d.mts.map +1 -1
  31. package/dist/actions/get-bounce-counts.d.cts +13 -1
  32. package/dist/actions/get-bounce-counts.d.mts +13 -1
  33. package/dist/actions/get-bounces.d.cts +13 -1
  34. package/dist/actions/get-bounces.d.mts +13 -1
  35. package/dist/actions/get-browser-platform-usage.d.cts +13 -1
  36. package/dist/actions/get-browser-platform-usage.d.mts +13 -1
  37. package/dist/actions/get-browser-usage.d.cts +13 -1
  38. package/dist/actions/get-browser-usage.d.mts +13 -1
  39. package/dist/actions/get-click-counts.d.cts +13 -1
  40. package/dist/actions/get-click-counts.d.mts +13 -1
  41. package/dist/actions/get-clicks-by-browser-family.d.cts +13 -1
  42. package/dist/actions/get-clicks-by-browser-family.d.mts +13 -1
  43. package/dist/actions/get-clicks-by-location.d.cts +13 -1
  44. package/dist/actions/get-clicks-by-location.d.mts +13 -1
  45. package/dist/actions/get-delivery-stats.d.cts +13 -1
  46. package/dist/actions/get-delivery-stats.d.cts.map +1 -1
  47. package/dist/actions/get-delivery-stats.d.mts +13 -1
  48. package/dist/actions/get-delivery-stats.d.mts.map +1 -1
  49. package/dist/actions/get-email-client-usage.d.cts +13 -1
  50. package/dist/actions/get-email-client-usage.d.mts +13 -1
  51. package/dist/actions/get-email-open-counts.d.cts +13 -1
  52. package/dist/actions/get-email-open-counts.d.mts +13 -1
  53. package/dist/actions/get-message-stream.d.cts +13 -1
  54. package/dist/actions/get-message-stream.d.mts +13 -1
  55. package/dist/actions/get-opens-by-platform.d.cts +13 -1
  56. package/dist/actions/get-opens-by-platform.d.mts +13 -1
  57. package/dist/actions/get-outbound-overview.d.cts +13 -1
  58. package/dist/actions/get-outbound-overview.d.cts.map +1 -1
  59. package/dist/actions/get-outbound-overview.d.mts +13 -1
  60. package/dist/actions/get-outbound-overview.d.mts.map +1 -1
  61. package/dist/actions/get-sent-counts.d.cts +13 -1
  62. package/dist/actions/get-sent-counts.d.mts +13 -1
  63. package/dist/actions/get-server.d.cts +13 -1
  64. package/dist/actions/get-server.d.cts.map +1 -1
  65. package/dist/actions/get-server.d.mts +13 -1
  66. package/dist/actions/get-server.d.mts.map +1 -1
  67. package/dist/actions/get-spam-complaints.d.cts +13 -1
  68. package/dist/actions/get-spam-complaints.d.mts +13 -1
  69. package/dist/actions/get-template.d.cts +13 -1
  70. package/dist/actions/get-template.d.mts +13 -1
  71. package/dist/actions/get-tracked-email-counts.d.cts +13 -1
  72. package/dist/actions/get-tracked-email-counts.d.mts +13 -1
  73. package/dist/actions/get-webhook.d.cts +13 -1
  74. package/dist/actions/get-webhook.d.mts +13 -1
  75. package/dist/actions/list-inbound-rules.d.cts +13 -1
  76. package/dist/actions/list-inbound-rules.d.mts +13 -1
  77. package/dist/actions/list-message-streams.d.cts +13 -1
  78. package/dist/actions/list-message-streams.d.mts +13 -1
  79. package/dist/actions/list-outbound-message-clicks.d.cts +13 -1
  80. package/dist/actions/list-outbound-message-clicks.d.mts +13 -1
  81. package/dist/actions/list-outbound-message-opens.d.cts +13 -1
  82. package/dist/actions/list-outbound-message-opens.d.mts +13 -1
  83. package/dist/actions/list-suppressions.d.cts +13 -1
  84. package/dist/actions/list-suppressions.d.mts +13 -1
  85. package/dist/actions/list-templates.d.cts +13 -1
  86. package/dist/actions/list-templates.d.mts +13 -1
  87. package/dist/actions/list-webhooks.d.cts +13 -1
  88. package/dist/actions/list-webhooks.d.cts.map +1 -1
  89. package/dist/actions/list-webhooks.d.mts +13 -1
  90. package/dist/actions/list-webhooks.d.mts.map +1 -1
  91. package/dist/actions/search-inbound-messages.d.cts +15 -3
  92. package/dist/actions/search-inbound-messages.d.mts +15 -3
  93. package/dist/actions/search-outbound-messages.d.cts +13 -1
  94. package/dist/actions/search-outbound-messages.d.mts +13 -1
  95. package/dist/actions/send-batch-with-templates.d.cts +13 -1
  96. package/dist/actions/send-batch-with-templates.d.cts.map +1 -1
  97. package/dist/actions/send-batch-with-templates.d.mts +13 -1
  98. package/dist/actions/send-batch-with-templates.d.mts.map +1 -1
  99. package/dist/actions/unarchive-message-stream.d.cts +13 -1
  100. package/dist/actions/unarchive-message-stream.d.mts +13 -1
  101. package/dist/actions/update-message-stream.d.cts +13 -1
  102. package/dist/actions/update-message-stream.d.mts +13 -1
  103. package/dist/actions/validate-template.d.cts +13 -1
  104. package/dist/actions/validate-template.d.cts.map +1 -1
  105. package/dist/actions/validate-template.d.mts +13 -1
  106. package/dist/actions/validate-template.d.mts.map +1 -1
  107. package/dist/app.cjs +5 -2
  108. package/dist/app.cjs.map +1 -1
  109. package/dist/app.d.cts +9 -1
  110. package/dist/app.d.cts.map +1 -1
  111. package/dist/app.d.mts +9 -1
  112. package/dist/app.d.mts.map +1 -1
  113. package/dist/app.mjs +3 -1
  114. package/dist/app.mjs.map +1 -1
  115. package/dist/catalog.cjs +1 -1
  116. package/dist/catalog.cjs.map +1 -1
  117. package/dist/catalog.d.cts +1 -1
  118. package/dist/catalog.d.mts +1 -1
  119. package/dist/catalog.mjs +1 -1
  120. package/dist/catalog.mjs.map +1 -1
  121. package/package.json +1 -1
@@ -6,9 +6,9 @@ declare const PostmarkSearchInboundMessagesInput: z.ZodObject<{
6
6
  count: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
7
  offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
8
8
  status: z.ZodOptional<z.ZodEnum<{
9
- queued: "queued";
10
9
  blocked: "blocked";
11
10
  processed: "processed";
11
+ queued: "queued";
12
12
  failed: "failed";
13
13
  scheduled: "scheduled";
14
14
  }>>;
@@ -65,14 +65,26 @@ declare const postmarkSearchInboundMessages: import("@keystrokehq/action").Workf
65
65
  tag?: string | undefined;
66
66
  count?: number | undefined;
67
67
  offset?: number | undefined;
68
- status?: "queued" | "blocked" | "processed" | "failed" | "scheduled" | undefined;
68
+ status?: "blocked" | "processed" | "queued" | "failed" | "scheduled" | undefined;
69
69
  todate?: string | undefined;
70
70
  subject?: string | undefined;
71
71
  fromdate?: string | undefined;
72
72
  fromemail?: string | undefined;
73
73
  recipient?: string | undefined;
74
74
  mailboxhash?: string | undefined;
75
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
75
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
76
+ connectionId: z.ZodString;
77
+ entityId: z.ZodString;
78
+ instanceId: z.ZodString;
79
+ }, z.core.$strip>, z.ZodObject<{
80
+ generic_api_key: z.ZodString;
81
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
82
+ connectionId: z.ZodString;
83
+ entityId: z.ZodString;
84
+ instanceId: z.ZodString;
85
+ }, z.core.$strip>, z.ZodObject<{
86
+ generic_api_key: z.ZodString;
87
+ }, z.core.$strip>>]>;
76
88
  //#endregion
77
89
  export { postmarkSearchInboundMessages };
78
90
  //# sourceMappingURL=search-inbound-messages.d.mts.map
@@ -53,7 +53,19 @@ declare const postmarkSearchOutboundMessages: import("@keystrokehq/action").Work
53
53
  fromdate?: string | undefined;
54
54
  fromemail?: string | undefined;
55
55
  recipient?: string | 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<"postmark", 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<"postmark", 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 { postmarkSearchOutboundMessages };
59
71
  //# sourceMappingURL=search-outbound-messages.d.cts.map
@@ -53,7 +53,19 @@ declare const postmarkSearchOutboundMessages: import("@keystrokehq/action").Work
53
53
  fromdate?: string | undefined;
54
54
  fromemail?: string | undefined;
55
55
  recipient?: string | 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<"postmark", 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<"postmark", 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 { postmarkSearchOutboundMessages };
59
71
  //# sourceMappingURL=search-outbound-messages.d.mts.map
@@ -63,7 +63,19 @@ declare const postmarkSendBatchWithTemplates: import("@keystrokehq/action").Work
63
63
  MessageStream?: string | undefined;
64
64
  TemplateAlias?: string | undefined;
65
65
  }[];
66
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
66
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
67
+ connectionId: z.ZodString;
68
+ entityId: z.ZodString;
69
+ instanceId: z.ZodString;
70
+ }, z.core.$strip>, z.ZodObject<{
71
+ generic_api_key: z.ZodString;
72
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
73
+ connectionId: z.ZodString;
74
+ entityId: z.ZodString;
75
+ instanceId: z.ZodString;
76
+ }, z.core.$strip>, z.ZodObject<{
77
+ generic_api_key: z.ZodString;
78
+ }, z.core.$strip>>]>;
67
79
  //#endregion
68
80
  export { postmarkSendBatchWithTemplates };
69
81
  //# sourceMappingURL=send-batch-with-templates.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-batch-with-templates.d.cts","names":[],"sources":["../../src/actions/send-batch-with-templates.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BnC,oCAAA,EAAoC,CAAA,CAAA,UAAc;AAAA,cAElD,8BAAA,gCAA8B,wBAAA;;;;mBAMzC,MAAA;;;;;;;;;;;eAAA,MAAA"}
1
+ {"version":3,"file":"send-batch-with-templates.d.cts","names":[],"sources":["../../src/actions/send-batch-with-templates.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BnC,oCAAA,EAAoC,CAAA,CAAA,UAAc;AAAA,cAElD,8BAAA,gCAA8B,wBAAA"}
@@ -63,7 +63,19 @@ declare const postmarkSendBatchWithTemplates: import("@keystrokehq/action").Work
63
63
  MessageStream?: string | undefined;
64
64
  TemplateAlias?: string | undefined;
65
65
  }[];
66
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
66
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
67
+ connectionId: z.ZodString;
68
+ entityId: z.ZodString;
69
+ instanceId: z.ZodString;
70
+ }, z.core.$strip>, z.ZodObject<{
71
+ generic_api_key: z.ZodString;
72
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
73
+ connectionId: z.ZodString;
74
+ entityId: z.ZodString;
75
+ instanceId: z.ZodString;
76
+ }, z.core.$strip>, z.ZodObject<{
77
+ generic_api_key: z.ZodString;
78
+ }, z.core.$strip>>]>;
67
79
  //#endregion
68
80
  export { postmarkSendBatchWithTemplates };
69
81
  //# sourceMappingURL=send-batch-with-templates.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"send-batch-with-templates.d.mts","names":[],"sources":["../../src/actions/send-batch-with-templates.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BnC,oCAAA,EAAoC,CAAA,CAAA,UAAc;AAAA,cAElD,8BAAA,gCAA8B,wBAAA;;;;mBAMzC,MAAA;;;;;;;;;;;eAAA,MAAA"}
1
+ {"version":3,"file":"send-batch-with-templates.d.mts","names":[],"sources":["../../src/actions/send-batch-with-templates.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2BnC,oCAAA,EAAoC,CAAA,CAAA,UAAc;AAAA,cAElD,8BAAA,gCAA8B,wBAAA"}
@@ -19,7 +19,19 @@ declare const PostmarkUnarchiveMessageStreamOutput: z.ZodObject<{
19
19
  }, z.core.$loose>;
20
20
  declare const postmarkUnarchiveMessageStream: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  stream_id: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ generic_api_key: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ generic_api_key: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { postmarkUnarchiveMessageStream };
25
37
  //# sourceMappingURL=unarchive-message-stream.d.cts.map
@@ -19,7 +19,19 @@ declare const PostmarkUnarchiveMessageStreamOutput: z.ZodObject<{
19
19
  }, z.core.$loose>;
20
20
  declare const postmarkUnarchiveMessageStream: import("@keystrokehq/action").WorkflowActionDefinition<{
21
21
  stream_id: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ generic_api_key: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ generic_api_key: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { postmarkUnarchiveMessageStream };
25
37
  //# sourceMappingURL=unarchive-message-stream.d.mts.map
@@ -21,7 +21,19 @@ declare const postmarkUpdateMessageStream: import("@keystrokehq/action").Workflo
21
21
  stream_ID: string;
22
22
  Name?: string | undefined;
23
23
  Description?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
31
+ connectionId: z.ZodString;
32
+ entityId: z.ZodString;
33
+ instanceId: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>;
25
37
  //#endregion
26
38
  export { postmarkUpdateMessageStream };
27
39
  //# sourceMappingURL=update-message-stream.d.cts.map
@@ -21,7 +21,19 @@ declare const postmarkUpdateMessageStream: import("@keystrokehq/action").Workflo
21
21
  stream_ID: string;
22
22
  Name?: string | undefined;
23
23
  Description?: string | undefined;
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ generic_api_key: z.ZodString;
30
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
31
+ connectionId: z.ZodString;
32
+ entityId: z.ZodString;
33
+ instanceId: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ generic_api_key: z.ZodString;
36
+ }, z.core.$strip>>]>;
25
37
  //#endregion
26
38
  export { postmarkUpdateMessageStream };
27
39
  //# sourceMappingURL=update-message-stream.d.mts.map
@@ -36,7 +36,19 @@ declare const postmarkValidateTemplate: import("@keystrokehq/action").WorkflowAc
36
36
  Subject?: string | undefined;
37
37
  HtmlBody?: string | undefined;
38
38
  TextBody?: string | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postmark", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ generic_api_key: z.ZodString;
51
+ }, z.core.$strip>>]>;
40
52
  //#endregion
41
53
  export { postmarkValidateTemplate };
42
54
  //# sourceMappingURL=validate-template.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validate-template.d.cts","names":[],"sources":["../../src/actions/validate-template.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA;;mBAMnC,MAAA"}
1
+ {"version":3,"file":"validate-template.d.cts","names":[],"sources":["../../src/actions/validate-template.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}
@@ -36,7 +36,19 @@ declare const postmarkValidateTemplate: import("@keystrokehq/action").WorkflowAc
36
36
  Subject?: string | undefined;
37
37
  HtmlBody?: string | undefined;
38
38
  TextBody?: string | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"postmark", 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>>]>, readonly [import("@keystrokehq/shared").Credential<"postmark", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ generic_api_key: z.ZodString;
51
+ }, z.core.$strip>>]>;
40
52
  //#endregion
41
53
  export { postmarkValidateTemplate };
42
54
  //# sourceMappingURL=validate-template.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validate-template.d.mts","names":[],"sources":["../../src/actions/validate-template.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA;;mBAMnC,MAAA"}
1
+ {"version":3,"file":"validate-template.d.mts","names":[],"sources":["../../src/actions/validate-template.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAY7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAQ9B,wBAAA,gCAAwB,wBAAA"}
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 postmark = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const postmark = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "postmark",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.postmark = postmark;
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 postmark = defineApp({\n slug: \"postmark\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,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 postmark = defineApp({\n slug: \"postmark\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,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 postmark: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const postmark: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"postmark", 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 { postmark };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,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 postmark: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const postmark: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"postmark", 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 { postmark };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,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 postmark = defineApp({
4
5
  slug: "postmark",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { generic_api_key: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { postmark };
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 postmark = defineApp({\n slug: \"postmark\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,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 postmark = defineApp({\n slug: \"postmark\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;CACN,YAAY,EACV,iBAAiB,EAAE,OAAO,EAC5B;AACF,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -8,7 +8,7 @@ const postmarkCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/postmark",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "Postmark Server API Token",
13
13
  "secret": true,
14
14
  "description": "The Server API Token used for authenticating Postmark API requests. This token is unique to each server and can be found in the API Tokens tab under your Postmark server."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const postmarkCatalog = {\n \"slug\": \"postmark\",\n \"name\": \"Postmark\",\n \"description\": \"Postmark is an email delivery service that enables developers to send transactional emails with high deliverability and detailed analytics.\",\n \"category\": \"Transactional Email\",\n \"logo\": \"https://logos.composio.dev/api/postmark\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Postmark Server API Token\",\n \"secret\": true,\n \"description\": \"The Server API Token used for authenticating Postmark API requests. This token is unique to each server and can be found in the API Tokens tab under your Postmark server.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const postmarkCatalog = {\n \"slug\": \"postmark\",\n \"name\": \"Postmark\",\n \"description\": \"Postmark is an email delivery service that enables developers to send transactional emails with high deliverability and detailed analytics.\",\n \"category\": \"Transactional Email\",\n \"logo\": \"https://logos.composio.dev/api/postmark\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Postmark Server API Token\",\n \"secret\": true,\n \"description\": \"The Server API Token used for authenticating Postmark API requests. This token is unique to each server and can be found in the API Tokens tab under your Postmark server.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -9,7 +9,7 @@ declare const postmarkCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Postmark Server API Token";
14
14
  readonly secret: true;
15
15
  readonly description: "The Server API Token used for authenticating Postmark API requests. This token is unique to each server and can be found in the API Tokens tab under your Postmark server.";
@@ -9,7 +9,7 @@ declare const postmarkCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Postmark Server API Token";
14
14
  readonly secret: true;
15
15
  readonly description: "The Server API Token used for authenticating Postmark API requests. This token is unique to each server and can be found in the API Tokens tab under your Postmark server.";
package/dist/catalog.mjs CHANGED
@@ -8,7 +8,7 @@ const postmarkCatalog = {
8
8
  "logo": "https://logos.composio.dev/api/postmark",
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
- "credentialFields": { "api_key": {
11
+ "credentialFields": { "generic_api_key": {
12
12
  "label": "Postmark Server API Token",
13
13
  "secret": true,
14
14
  "description": "The Server API Token used for authenticating Postmark API requests. This token is unique to each server and can be found in the API Tokens tab under your Postmark server."
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const postmarkCatalog = {\n \"slug\": \"postmark\",\n \"name\": \"Postmark\",\n \"description\": \"Postmark is an email delivery service that enables developers to send transactional emails with high deliverability and detailed analytics.\",\n \"category\": \"Transactional Email\",\n \"logo\": \"https://logos.composio.dev/api/postmark\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"Postmark Server API Token\",\n \"secret\": true,\n \"description\": \"The Server API Token used for authenticating Postmark API requests. This token is unique to each server and can be found in the API Tokens tab under your Postmark server.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const postmarkCatalog = {\n \"slug\": \"postmark\",\n \"name\": \"Postmark\",\n \"description\": \"Postmark is an email delivery service that enables developers to send transactional emails with high deliverability and detailed analytics.\",\n \"category\": \"Transactional Email\",\n \"logo\": \"https://logos.composio.dev/api/postmark\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Postmark Server API Token\",\n \"secret\": true,\n \"description\": \"The Server API Token used for authenticating Postmark API requests. This token is unique to each server and can be found in the API Tokens tab under your Postmark server.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/postmark",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"