@mailiy/sdk 0.1.0 → 0.2.0
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/mailiy.d.ts +13 -0
- package/package.json +1 -1
package/dist/mailiy.d.ts
CHANGED
|
@@ -62,6 +62,14 @@ export interface MailiyForm {
|
|
|
62
62
|
group_emails: number;
|
|
63
63
|
server_requires_key: number;
|
|
64
64
|
disabled: number;
|
|
65
|
+
/** Submissions are refused before this time (ms since epoch); null: no start. */
|
|
66
|
+
opens_at: number | null;
|
|
67
|
+
/** Submissions are refused from this time on (ms since epoch); null: no end. */
|
|
68
|
+
closes_at: number | null;
|
|
69
|
+
/** Delivered submissions after which the form answers form_full; 0: no limit. */
|
|
70
|
+
max_submissions: number;
|
|
71
|
+
/** Field names, one per line; a submission missing one gets missing_fields. */
|
|
72
|
+
required_fields: string;
|
|
65
73
|
created_at: number;
|
|
66
74
|
submissions?: number;
|
|
67
75
|
delivered?: number;
|
|
@@ -187,6 +195,7 @@ export type MailiyFormPatch = Partial<{
|
|
|
187
195
|
autoresponder_subject: string;
|
|
188
196
|
autoresponder_text: string;
|
|
189
197
|
blocked_ips: string;
|
|
198
|
+
closes_at: number | null;
|
|
190
199
|
disabled: boolean;
|
|
191
200
|
/** Placeholders: {fields}, {intro}, {form}, {field:name}. */
|
|
192
201
|
email_html: string;
|
|
@@ -194,10 +203,14 @@ export type MailiyFormPatch = Partial<{
|
|
|
194
203
|
from_name: string;
|
|
195
204
|
group_emails: boolean;
|
|
196
205
|
intro_text: string;
|
|
206
|
+
max_submissions: number;
|
|
197
207
|
name: string;
|
|
208
|
+
opens_at: number | null;
|
|
198
209
|
recipients: string[];
|
|
199
210
|
redirect_url: string;
|
|
200
211
|
require_consent: boolean;
|
|
212
|
+
/** Field names, one per line. */
|
|
213
|
+
required_fields: string;
|
|
201
214
|
retention_days: Retention;
|
|
202
215
|
captcha: Captcha;
|
|
203
216
|
captcha_secret: string;
|