@marlinjai/mail-contract 0.2.0 → 0.4.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/index.d.mts +900 -259
- package/dist/index.d.ts +900 -259
- package/dist/index.js +139 -32
- package/dist/index.mjs +124 -32
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -212,6 +212,17 @@ declare const IDEMPOTENCY_KEY_RETENTION_HOURS = 24;
|
|
|
212
212
|
*/
|
|
213
213
|
declare const SUBJECT_HEADER = "x-mail-subject";
|
|
214
214
|
declare const WORKSPACE_HEADER = "x-mail-workspace";
|
|
215
|
+
/**
|
|
216
|
+
* Optional on a call made with a workspace API key: a label naming the person
|
|
217
|
+
* the client's application is acting for (a name or an email address), when
|
|
218
|
+
* the key is shared by everybody who uses that application. The service
|
|
219
|
+
* records it on the audit entry's actor as `on_behalf_of` and nowhere else:
|
|
220
|
+
* it is what the client's application reported, never verified, and it never
|
|
221
|
+
* changes what the key may do. Ignored on a dashboard call, whose actor is
|
|
222
|
+
* the signed-in member. Trimmed; longer than the cap is `invalid_request`.
|
|
223
|
+
*/
|
|
224
|
+
declare const ON_BEHALF_OF_HEADER = "x-mail-on-behalf-of";
|
|
225
|
+
declare const ON_BEHALF_OF_MAX_LENGTH = 200;
|
|
215
226
|
/** Echoed on every response, and quoted in logs and support requests. */
|
|
216
227
|
declare const REQUEST_ID_HEADER = "x-request-id";
|
|
217
228
|
/** Sent with 429 responses: seconds until a retry can succeed. */
|
|
@@ -234,6 +245,40 @@ declare const CompanyId: z.ZodString;
|
|
|
234
245
|
declare const ASSET_POLICIES: readonly ["any", "service_only"];
|
|
235
246
|
declare const AssetPolicy: z.ZodEnum<["any", "service_only"]>;
|
|
236
247
|
type AssetPolicy = z.infer<typeof AssetPolicy>;
|
|
248
|
+
/**
|
|
249
|
+
* A host a `service_only` workspace also allows its mails to load from: the
|
|
250
|
+
* workspace's own website, typically. A bare host name, exactly as a mail
|
|
251
|
+
* client would resolve it (no scheme, no path, no wildcard; a port only if the
|
|
252
|
+
* address carries one), matched case-insensitively and exactly, so allowing
|
|
253
|
+
* `example.com` does not allow `www.example.com` or `example.com.evil.net`.
|
|
254
|
+
*
|
|
255
|
+
* Why this exists next to `service_only` at all: the policy keeps third
|
|
256
|
+
* parties from learning when a mail is opened and keeps a mail from breaking
|
|
257
|
+
* when somebody else's host changes. The sender's own site is not a third
|
|
258
|
+
* party to its readers, and the sender controls its lifetime, so refusing it
|
|
259
|
+
* served neither purpose and forced a copy of every image into the service.
|
|
260
|
+
*/
|
|
261
|
+
declare const MAX_ALLOWED_ASSET_HOSTS = 20;
|
|
262
|
+
declare const AssetHost: z.ZodString;
|
|
263
|
+
type AssetHost = z.infer<typeof AssetHost>;
|
|
264
|
+
/**
|
|
265
|
+
* Merge values every mail of the workspace can use, below the recipient's own
|
|
266
|
+
* values and the contact's properties and above a field's `{{name|fallback}}`:
|
|
267
|
+
* the operator's legal name and address, the privacy policy's address, the
|
|
268
|
+
* things that are the same in every mail and change once a year. Keys are
|
|
269
|
+
* merge-field names; the four reserved ones (`first_name`, `last_name`,
|
|
270
|
+
* `email`, `unsubscribe_url`) are refused, since the service and the contact
|
|
271
|
+
* own those. Values are scalars, as every merge value is.
|
|
272
|
+
*
|
|
273
|
+
* An update replaces the whole map (settings are patched shallowly), unlike a
|
|
274
|
+
* contact's properties, which merge key by key.
|
|
275
|
+
*/
|
|
276
|
+
declare const MAX_MERGE_DEFAULTS = 50;
|
|
277
|
+
declare const MAX_MERGE_DEFAULT_LENGTH = 2000;
|
|
278
|
+
declare const MergeFieldName: z.ZodString;
|
|
279
|
+
declare const MergeDefaultValue: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
|
|
280
|
+
declare const MergeDefaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
281
|
+
type MergeDefaults = z.infer<typeof MergeDefaults>;
|
|
237
282
|
declare const WorkspaceSettings: z.ZodObject<{
|
|
238
283
|
/** Default language of the hosted unsubscribe page (BCP 47 tag, e.g. "de"). */
|
|
239
284
|
default_locale: z.ZodString;
|
|
@@ -243,6 +288,14 @@ declare const WorkspaceSettings: z.ZodObject<{
|
|
|
243
288
|
tracking_enabled: z.ZodBoolean;
|
|
244
289
|
/** Where images, stylesheets and fonts in a mail may load from. `any` by default. */
|
|
245
290
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
291
|
+
/**
|
|
292
|
+
* Hosts a `service_only` workspace also allows, besides the service's own:
|
|
293
|
+
* the workspace's website, typically. Empty by default. Ignored under `any`,
|
|
294
|
+
* which allows everything already.
|
|
295
|
+
*/
|
|
296
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
297
|
+
/** Merge values every mail of the workspace can use (see `MergeDefaults`). Empty by default. */
|
|
298
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
246
299
|
/**
|
|
247
300
|
* The time zone an automation reads a wall clock in for a contact who has
|
|
248
301
|
* none of their own (A1). Null falls back to UTC.
|
|
@@ -253,12 +306,16 @@ declare const WorkspaceSettings: z.ZodObject<{
|
|
|
253
306
|
default_locale: string;
|
|
254
307
|
locales: string[];
|
|
255
308
|
tracking_enabled: boolean;
|
|
309
|
+
allowed_asset_hosts: string[];
|
|
310
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
256
311
|
default_timezone: string | null;
|
|
257
312
|
}, {
|
|
258
313
|
asset_policy: "any" | "service_only";
|
|
259
314
|
default_locale: string;
|
|
260
315
|
locales: string[];
|
|
261
316
|
tracking_enabled: boolean;
|
|
317
|
+
allowed_asset_hosts: string[];
|
|
318
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
262
319
|
default_timezone: string | null;
|
|
263
320
|
}>;
|
|
264
321
|
type WorkspaceSettings = z.infer<typeof WorkspaceSettings>;
|
|
@@ -275,6 +332,14 @@ declare const Workspace: z.ZodObject<{
|
|
|
275
332
|
tracking_enabled: z.ZodBoolean;
|
|
276
333
|
/** Where images, stylesheets and fonts in a mail may load from. `any` by default. */
|
|
277
334
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
335
|
+
/**
|
|
336
|
+
* Hosts a `service_only` workspace also allows, besides the service's own:
|
|
337
|
+
* the workspace's website, typically. Empty by default. Ignored under `any`,
|
|
338
|
+
* which allows everything already.
|
|
339
|
+
*/
|
|
340
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
341
|
+
/** Merge values every mail of the workspace can use (see `MergeDefaults`). Empty by default. */
|
|
342
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
278
343
|
/**
|
|
279
344
|
* The time zone an automation reads a wall clock in for a contact who has
|
|
280
345
|
* none of their own (A1). Null falls back to UTC.
|
|
@@ -285,12 +350,16 @@ declare const Workspace: z.ZodObject<{
|
|
|
285
350
|
default_locale: string;
|
|
286
351
|
locales: string[];
|
|
287
352
|
tracking_enabled: boolean;
|
|
353
|
+
allowed_asset_hosts: string[];
|
|
354
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
288
355
|
default_timezone: string | null;
|
|
289
356
|
}, {
|
|
290
357
|
asset_policy: "any" | "service_only";
|
|
291
358
|
default_locale: string;
|
|
292
359
|
locales: string[];
|
|
293
360
|
tracking_enabled: boolean;
|
|
361
|
+
allowed_asset_hosts: string[];
|
|
362
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
294
363
|
default_timezone: string | null;
|
|
295
364
|
}>;
|
|
296
365
|
/**
|
|
@@ -312,6 +381,8 @@ declare const Workspace: z.ZodObject<{
|
|
|
312
381
|
default_locale: string;
|
|
313
382
|
locales: string[];
|
|
314
383
|
tracking_enabled: boolean;
|
|
384
|
+
allowed_asset_hosts: string[];
|
|
385
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
315
386
|
default_timezone: string | null;
|
|
316
387
|
};
|
|
317
388
|
company_id: string | null;
|
|
@@ -326,6 +397,8 @@ declare const Workspace: z.ZodObject<{
|
|
|
326
397
|
default_locale: string;
|
|
327
398
|
locales: string[];
|
|
328
399
|
tracking_enabled: boolean;
|
|
400
|
+
allowed_asset_hosts: string[];
|
|
401
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
329
402
|
default_timezone: string | null;
|
|
330
403
|
};
|
|
331
404
|
company_id: string | null;
|
|
@@ -344,18 +417,24 @@ declare const WorkspaceCreate: z.ZodObject<{
|
|
|
344
417
|
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
345
418
|
tracking_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
346
419
|
asset_policy: z.ZodOptional<z.ZodEnum<["any", "service_only"]>>;
|
|
420
|
+
allowed_asset_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
421
|
+
merge_defaults: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
|
|
347
422
|
default_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
348
423
|
}, "strip", z.ZodTypeAny, {
|
|
349
424
|
asset_policy?: "any" | "service_only" | undefined;
|
|
350
425
|
default_locale?: string | undefined;
|
|
351
426
|
locales?: string[] | undefined;
|
|
352
427
|
tracking_enabled?: boolean | undefined;
|
|
428
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
429
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
353
430
|
default_timezone?: string | null | undefined;
|
|
354
431
|
}, {
|
|
355
432
|
asset_policy?: "any" | "service_only" | undefined;
|
|
356
433
|
default_locale?: string | undefined;
|
|
357
434
|
locales?: string[] | undefined;
|
|
358
435
|
tracking_enabled?: boolean | undefined;
|
|
436
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
437
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
359
438
|
default_timezone?: string | null | undefined;
|
|
360
439
|
}>>;
|
|
361
440
|
owner: z.ZodObject<{
|
|
@@ -387,6 +466,8 @@ declare const WorkspaceCreate: z.ZodObject<{
|
|
|
387
466
|
default_locale?: string | undefined;
|
|
388
467
|
locales?: string[] | undefined;
|
|
389
468
|
tracking_enabled?: boolean | undefined;
|
|
469
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
470
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
390
471
|
default_timezone?: string | null | undefined;
|
|
391
472
|
} | undefined;
|
|
392
473
|
company_id?: string | undefined;
|
|
@@ -402,6 +483,8 @@ declare const WorkspaceCreate: z.ZodObject<{
|
|
|
402
483
|
default_locale?: string | undefined;
|
|
403
484
|
locales?: string[] | undefined;
|
|
404
485
|
tracking_enabled?: boolean | undefined;
|
|
486
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
487
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
405
488
|
default_timezone?: string | null | undefined;
|
|
406
489
|
} | undefined;
|
|
407
490
|
company_id?: string | undefined;
|
|
@@ -414,18 +497,24 @@ declare const WorkspaceUpdate: z.ZodEffects<z.ZodObject<{
|
|
|
414
497
|
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
415
498
|
tracking_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
416
499
|
asset_policy: z.ZodOptional<z.ZodEnum<["any", "service_only"]>>;
|
|
500
|
+
allowed_asset_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
501
|
+
merge_defaults: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
|
|
417
502
|
default_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
418
503
|
}, "strip", z.ZodTypeAny, {
|
|
419
504
|
asset_policy?: "any" | "service_only" | undefined;
|
|
420
505
|
default_locale?: string | undefined;
|
|
421
506
|
locales?: string[] | undefined;
|
|
422
507
|
tracking_enabled?: boolean | undefined;
|
|
508
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
509
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
423
510
|
default_timezone?: string | null | undefined;
|
|
424
511
|
}, {
|
|
425
512
|
asset_policy?: "any" | "service_only" | undefined;
|
|
426
513
|
default_locale?: string | undefined;
|
|
427
514
|
locales?: string[] | undefined;
|
|
428
515
|
tracking_enabled?: boolean | undefined;
|
|
516
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
517
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
429
518
|
default_timezone?: string | null | undefined;
|
|
430
519
|
}>>;
|
|
431
520
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -435,6 +524,8 @@ declare const WorkspaceUpdate: z.ZodEffects<z.ZodObject<{
|
|
|
435
524
|
default_locale?: string | undefined;
|
|
436
525
|
locales?: string[] | undefined;
|
|
437
526
|
tracking_enabled?: boolean | undefined;
|
|
527
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
528
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
438
529
|
default_timezone?: string | null | undefined;
|
|
439
530
|
} | undefined;
|
|
440
531
|
}, {
|
|
@@ -444,6 +535,8 @@ declare const WorkspaceUpdate: z.ZodEffects<z.ZodObject<{
|
|
|
444
535
|
default_locale?: string | undefined;
|
|
445
536
|
locales?: string[] | undefined;
|
|
446
537
|
tracking_enabled?: boolean | undefined;
|
|
538
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
539
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
447
540
|
default_timezone?: string | null | undefined;
|
|
448
541
|
} | undefined;
|
|
449
542
|
}>, {
|
|
@@ -453,6 +546,8 @@ declare const WorkspaceUpdate: z.ZodEffects<z.ZodObject<{
|
|
|
453
546
|
default_locale?: string | undefined;
|
|
454
547
|
locales?: string[] | undefined;
|
|
455
548
|
tracking_enabled?: boolean | undefined;
|
|
549
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
550
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
456
551
|
default_timezone?: string | null | undefined;
|
|
457
552
|
} | undefined;
|
|
458
553
|
}, {
|
|
@@ -462,6 +557,8 @@ declare const WorkspaceUpdate: z.ZodEffects<z.ZodObject<{
|
|
|
462
557
|
default_locale?: string | undefined;
|
|
463
558
|
locales?: string[] | undefined;
|
|
464
559
|
tracking_enabled?: boolean | undefined;
|
|
560
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
561
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
465
562
|
default_timezone?: string | null | undefined;
|
|
466
563
|
} | undefined;
|
|
467
564
|
}>;
|
|
@@ -505,6 +602,14 @@ declare const WorkspaceMembership: z.ZodObject<{
|
|
|
505
602
|
tracking_enabled: z.ZodBoolean;
|
|
506
603
|
/** Where images, stylesheets and fonts in a mail may load from. `any` by default. */
|
|
507
604
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
605
|
+
/**
|
|
606
|
+
* Hosts a `service_only` workspace also allows, besides the service's own:
|
|
607
|
+
* the workspace's website, typically. Empty by default. Ignored under `any`,
|
|
608
|
+
* which allows everything already.
|
|
609
|
+
*/
|
|
610
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
611
|
+
/** Merge values every mail of the workspace can use (see `MergeDefaults`). Empty by default. */
|
|
612
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
508
613
|
/**
|
|
509
614
|
* The time zone an automation reads a wall clock in for a contact who has
|
|
510
615
|
* none of their own (A1). Null falls back to UTC.
|
|
@@ -515,12 +620,16 @@ declare const WorkspaceMembership: z.ZodObject<{
|
|
|
515
620
|
default_locale: string;
|
|
516
621
|
locales: string[];
|
|
517
622
|
tracking_enabled: boolean;
|
|
623
|
+
allowed_asset_hosts: string[];
|
|
624
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
518
625
|
default_timezone: string | null;
|
|
519
626
|
}, {
|
|
520
627
|
asset_policy: "any" | "service_only";
|
|
521
628
|
default_locale: string;
|
|
522
629
|
locales: string[];
|
|
523
630
|
tracking_enabled: boolean;
|
|
631
|
+
allowed_asset_hosts: string[];
|
|
632
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
524
633
|
default_timezone: string | null;
|
|
525
634
|
}>;
|
|
526
635
|
/**
|
|
@@ -544,6 +653,8 @@ declare const WorkspaceMembership: z.ZodObject<{
|
|
|
544
653
|
default_locale: string;
|
|
545
654
|
locales: string[];
|
|
546
655
|
tracking_enabled: boolean;
|
|
656
|
+
allowed_asset_hosts: string[];
|
|
657
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
547
658
|
default_timezone: string | null;
|
|
548
659
|
};
|
|
549
660
|
company_id: string | null;
|
|
@@ -559,6 +670,8 @@ declare const WorkspaceMembership: z.ZodObject<{
|
|
|
559
670
|
default_locale: string;
|
|
560
671
|
locales: string[];
|
|
561
672
|
tracking_enabled: boolean;
|
|
673
|
+
allowed_asset_hosts: string[];
|
|
674
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
562
675
|
default_timezone: string | null;
|
|
563
676
|
};
|
|
564
677
|
company_id: string | null;
|
|
@@ -720,8 +833,8 @@ declare const ApiKeyCreated: z.ZodObject<{
|
|
|
720
833
|
};
|
|
721
834
|
}>;
|
|
722
835
|
type ApiKeyCreated = z.infer<typeof ApiKeyCreated>;
|
|
723
|
-
declare const AUDIT_ACTIONS: readonly ["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
|
|
724
|
-
declare const AuditAction: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
836
|
+
declare const AUDIT_ACTIONS: readonly ["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"];
|
|
837
|
+
declare const AuditAction: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
725
838
|
type AuditAction = z.infer<typeof AuditAction>;
|
|
726
839
|
declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
727
840
|
type: z.ZodLiteral<"member">;
|
|
@@ -738,12 +851,20 @@ declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
738
851
|
}>, z.ZodObject<{
|
|
739
852
|
type: z.ZodLiteral<"api_key">;
|
|
740
853
|
api_key_id: z.ZodString;
|
|
854
|
+
/**
|
|
855
|
+
* Who the client's application said it was acting for, from
|
|
856
|
+
* `ON_BEHALF_OF_HEADER`: reported by that application, never verified.
|
|
857
|
+
* Absent when the call carried no label.
|
|
858
|
+
*/
|
|
859
|
+
on_behalf_of: z.ZodOptional<z.ZodString>;
|
|
741
860
|
}, "strip", z.ZodTypeAny, {
|
|
742
861
|
type: "api_key";
|
|
743
862
|
api_key_id: string;
|
|
863
|
+
on_behalf_of?: string | undefined;
|
|
744
864
|
}, {
|
|
745
865
|
type: "api_key";
|
|
746
866
|
api_key_id: string;
|
|
867
|
+
on_behalf_of?: string | undefined;
|
|
747
868
|
}>, z.ZodObject<{
|
|
748
869
|
type: z.ZodLiteral<"system">;
|
|
749
870
|
reason: z.ZodString;
|
|
@@ -757,7 +878,7 @@ declare const AuditActor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
757
878
|
type AuditActor = z.infer<typeof AuditActor>;
|
|
758
879
|
declare const AuditEntry: z.ZodObject<{
|
|
759
880
|
id: z.ZodString;
|
|
760
|
-
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
881
|
+
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
761
882
|
actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
762
883
|
type: z.ZodLiteral<"member">;
|
|
763
884
|
member_id: z.ZodString;
|
|
@@ -773,12 +894,20 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
773
894
|
}>, z.ZodObject<{
|
|
774
895
|
type: z.ZodLiteral<"api_key">;
|
|
775
896
|
api_key_id: z.ZodString;
|
|
897
|
+
/**
|
|
898
|
+
* Who the client's application said it was acting for, from
|
|
899
|
+
* `ON_BEHALF_OF_HEADER`: reported by that application, never verified.
|
|
900
|
+
* Absent when the call carried no label.
|
|
901
|
+
*/
|
|
902
|
+
on_behalf_of: z.ZodOptional<z.ZodString>;
|
|
776
903
|
}, "strip", z.ZodTypeAny, {
|
|
777
904
|
type: "api_key";
|
|
778
905
|
api_key_id: string;
|
|
906
|
+
on_behalf_of?: string | undefined;
|
|
779
907
|
}, {
|
|
780
908
|
type: "api_key";
|
|
781
909
|
api_key_id: string;
|
|
910
|
+
on_behalf_of?: string | undefined;
|
|
782
911
|
}>, z.ZodObject<{
|
|
783
912
|
type: z.ZodLiteral<"system">;
|
|
784
913
|
reason: z.ZodString;
|
|
@@ -797,7 +926,7 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
797
926
|
id: string;
|
|
798
927
|
details: Record<string, unknown>;
|
|
799
928
|
created_at: string;
|
|
800
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
929
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
801
930
|
actor: {
|
|
802
931
|
type: "member";
|
|
803
932
|
subject: string;
|
|
@@ -805,6 +934,7 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
805
934
|
} | {
|
|
806
935
|
type: "api_key";
|
|
807
936
|
api_key_id: string;
|
|
937
|
+
on_behalf_of?: string | undefined;
|
|
808
938
|
} | {
|
|
809
939
|
type: "system";
|
|
810
940
|
reason: string;
|
|
@@ -815,7 +945,7 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
815
945
|
id: string;
|
|
816
946
|
details: Record<string, unknown>;
|
|
817
947
|
created_at: string;
|
|
818
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
948
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
819
949
|
actor: {
|
|
820
950
|
type: "member";
|
|
821
951
|
subject: string;
|
|
@@ -823,6 +953,7 @@ declare const AuditEntry: z.ZodObject<{
|
|
|
823
953
|
} | {
|
|
824
954
|
type: "api_key";
|
|
825
955
|
api_key_id: string;
|
|
956
|
+
on_behalf_of?: string | undefined;
|
|
826
957
|
} | {
|
|
827
958
|
type: "system";
|
|
828
959
|
reason: string;
|
|
@@ -835,17 +966,17 @@ declare const AuditQuery: z.ZodObject<{
|
|
|
835
966
|
cursor: z.ZodOptional<z.ZodString>;
|
|
836
967
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
837
968
|
} & {
|
|
838
|
-
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
969
|
+
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
839
970
|
target_id: z.ZodOptional<z.ZodString>;
|
|
840
971
|
}, "strip", z.ZodTypeAny, {
|
|
841
972
|
cursor?: string | undefined;
|
|
842
973
|
limit?: number | undefined;
|
|
843
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
974
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
844
975
|
target_id?: string | undefined;
|
|
845
976
|
}, {
|
|
846
977
|
cursor?: string | undefined;
|
|
847
978
|
limit?: number | undefined;
|
|
848
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
979
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
849
980
|
target_id?: string | undefined;
|
|
850
981
|
}>;
|
|
851
982
|
type AuditQuery = z.infer<typeof AuditQuery>;
|
|
@@ -1066,18 +1197,24 @@ declare const InviteAccepted: z.ZodObject<{
|
|
|
1066
1197
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
1067
1198
|
tracking_enabled: z.ZodBoolean;
|
|
1068
1199
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
1200
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
1201
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
1069
1202
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
1070
1203
|
}, "strip", z.ZodTypeAny, {
|
|
1071
1204
|
asset_policy: "any" | "service_only";
|
|
1072
1205
|
default_locale: string;
|
|
1073
1206
|
locales: string[];
|
|
1074
1207
|
tracking_enabled: boolean;
|
|
1208
|
+
allowed_asset_hosts: string[];
|
|
1209
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
1075
1210
|
default_timezone: string | null;
|
|
1076
1211
|
}, {
|
|
1077
1212
|
asset_policy: "any" | "service_only";
|
|
1078
1213
|
default_locale: string;
|
|
1079
1214
|
locales: string[];
|
|
1080
1215
|
tracking_enabled: boolean;
|
|
1216
|
+
allowed_asset_hosts: string[];
|
|
1217
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
1081
1218
|
default_timezone: string | null;
|
|
1082
1219
|
}>;
|
|
1083
1220
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -1096,6 +1233,8 @@ declare const InviteAccepted: z.ZodObject<{
|
|
|
1096
1233
|
default_locale: string;
|
|
1097
1234
|
locales: string[];
|
|
1098
1235
|
tracking_enabled: boolean;
|
|
1236
|
+
allowed_asset_hosts: string[];
|
|
1237
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
1099
1238
|
default_timezone: string | null;
|
|
1100
1239
|
};
|
|
1101
1240
|
company_id: string | null;
|
|
@@ -1111,6 +1250,8 @@ declare const InviteAccepted: z.ZodObject<{
|
|
|
1111
1250
|
default_locale: string;
|
|
1112
1251
|
locales: string[];
|
|
1113
1252
|
tracking_enabled: boolean;
|
|
1253
|
+
allowed_asset_hosts: string[];
|
|
1254
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
1114
1255
|
default_timezone: string | null;
|
|
1115
1256
|
};
|
|
1116
1257
|
company_id: string | null;
|
|
@@ -1129,6 +1270,8 @@ declare const InviteAccepted: z.ZodObject<{
|
|
|
1129
1270
|
default_locale: string;
|
|
1130
1271
|
locales: string[];
|
|
1131
1272
|
tracking_enabled: boolean;
|
|
1273
|
+
allowed_asset_hosts: string[];
|
|
1274
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
1132
1275
|
default_timezone: string | null;
|
|
1133
1276
|
};
|
|
1134
1277
|
company_id: string | null;
|
|
@@ -1147,6 +1290,8 @@ declare const InviteAccepted: z.ZodObject<{
|
|
|
1147
1290
|
default_locale: string;
|
|
1148
1291
|
locales: string[];
|
|
1149
1292
|
tracking_enabled: boolean;
|
|
1293
|
+
allowed_asset_hosts: string[];
|
|
1294
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
1150
1295
|
default_timezone: string | null;
|
|
1151
1296
|
};
|
|
1152
1297
|
company_id: string | null;
|
|
@@ -3590,7 +3735,12 @@ declare const Mailing: z.ZodObject<{
|
|
|
3590
3735
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3591
3736
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
3592
3737
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3593
|
-
|
|
3738
|
+
/**
|
|
3739
|
+
* The topic the mailing is sent under. Null for a letter (a one-to-one
|
|
3740
|
+
* mailing with at most one recipient, which belongs to no topic and whose
|
|
3741
|
+
* unsubscribe link offers every topic) and for an automation's notification.
|
|
3742
|
+
*/
|
|
3743
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
3594
3744
|
provider_id: z.ZodString;
|
|
3595
3745
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
3596
3746
|
counts: z.ZodObject<{
|
|
@@ -3698,7 +3848,7 @@ declare const Mailing: z.ZodObject<{
|
|
|
3698
3848
|
subject: string;
|
|
3699
3849
|
kind: "broadcast" | "automation" | "notification";
|
|
3700
3850
|
preheader: string | null;
|
|
3701
|
-
topic: string;
|
|
3851
|
+
topic: string | null;
|
|
3702
3852
|
provider_id: string;
|
|
3703
3853
|
counts: {
|
|
3704
3854
|
sending: number;
|
|
@@ -3745,7 +3895,7 @@ declare const Mailing: z.ZodObject<{
|
|
|
3745
3895
|
subject: string;
|
|
3746
3896
|
kind: "broadcast" | "automation" | "notification";
|
|
3747
3897
|
preheader: string | null;
|
|
3748
|
-
topic: string;
|
|
3898
|
+
topic: string | null;
|
|
3749
3899
|
provider_id: string;
|
|
3750
3900
|
counts: {
|
|
3751
3901
|
sending: number;
|
|
@@ -3797,7 +3947,12 @@ declare const MailingSummary: z.ZodObject<Omit<{
|
|
|
3797
3947
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3798
3948
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
3799
3949
|
}, z.ZodTypeAny, "passthrough">>;
|
|
3800
|
-
|
|
3950
|
+
/**
|
|
3951
|
+
* The topic the mailing is sent under. Null for a letter (a one-to-one
|
|
3952
|
+
* mailing with at most one recipient, which belongs to no topic and whose
|
|
3953
|
+
* unsubscribe link offers every topic) and for an automation's notification.
|
|
3954
|
+
*/
|
|
3955
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
3801
3956
|
provider_id: z.ZodString;
|
|
3802
3957
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
3803
3958
|
counts: z.ZodObject<{
|
|
@@ -3898,7 +4053,7 @@ declare const MailingSummary: z.ZodObject<Omit<{
|
|
|
3898
4053
|
subject: string;
|
|
3899
4054
|
kind: "broadcast" | "automation" | "notification";
|
|
3900
4055
|
preheader: string | null;
|
|
3901
|
-
topic: string;
|
|
4056
|
+
topic: string | null;
|
|
3902
4057
|
provider_id: string;
|
|
3903
4058
|
counts: {
|
|
3904
4059
|
sending: number;
|
|
@@ -3938,7 +4093,7 @@ declare const MailingSummary: z.ZodObject<Omit<{
|
|
|
3938
4093
|
subject: string;
|
|
3939
4094
|
kind: "broadcast" | "automation" | "notification";
|
|
3940
4095
|
preheader: string | null;
|
|
3941
|
-
topic: string;
|
|
4096
|
+
topic: string | null;
|
|
3942
4097
|
provider_id: string;
|
|
3943
4098
|
counts: {
|
|
3944
4099
|
sending: number;
|
|
@@ -3992,12 +4147,17 @@ declare const MailingCreate: z.ZodEffects<z.ZodObject<{
|
|
|
3992
4147
|
name: z.ZodOptional<z.ZodString>;
|
|
3993
4148
|
subject: z.ZodString;
|
|
3994
4149
|
preheader: z.ZodOptional<z.ZodString>;
|
|
3995
|
-
|
|
4150
|
+
/**
|
|
4151
|
+
* Omitted or null makes the mailing a letter: one recipient at most, sent to
|
|
4152
|
+
* anybody not blocked on every topic, with an unsubscribe link that offers
|
|
4153
|
+
* every topic and no List-Unsubscribe headers. See "Letters" in the
|
|
4154
|
+
* contract's documentation.
|
|
4155
|
+
*/
|
|
4156
|
+
topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3996
4157
|
provider_id: z.ZodString;
|
|
3997
4158
|
metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
|
|
3998
4159
|
}, "strip", z.ZodTypeAny, {
|
|
3999
4160
|
subject: string;
|
|
4000
|
-
topic: string;
|
|
4001
4161
|
provider_id: string;
|
|
4002
4162
|
metadata?: Record<string, string> | undefined;
|
|
4003
4163
|
name?: string | undefined;
|
|
@@ -4008,9 +4168,9 @@ declare const MailingCreate: z.ZodEffects<z.ZodObject<{
|
|
|
4008
4168
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4009
4169
|
template_id?: string | undefined;
|
|
4010
4170
|
preheader?: string | undefined;
|
|
4171
|
+
topic?: string | null | undefined;
|
|
4011
4172
|
}, {
|
|
4012
4173
|
subject: string;
|
|
4013
|
-
topic: string;
|
|
4014
4174
|
provider_id: string;
|
|
4015
4175
|
metadata?: Record<string, string> | undefined;
|
|
4016
4176
|
name?: string | undefined;
|
|
@@ -4021,9 +4181,9 @@ declare const MailingCreate: z.ZodEffects<z.ZodObject<{
|
|
|
4021
4181
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4022
4182
|
template_id?: string | undefined;
|
|
4023
4183
|
preheader?: string | undefined;
|
|
4184
|
+
topic?: string | null | undefined;
|
|
4024
4185
|
}>, {
|
|
4025
4186
|
subject: string;
|
|
4026
|
-
topic: string;
|
|
4027
4187
|
provider_id: string;
|
|
4028
4188
|
metadata?: Record<string, string> | undefined;
|
|
4029
4189
|
name?: string | undefined;
|
|
@@ -4034,9 +4194,9 @@ declare const MailingCreate: z.ZodEffects<z.ZodObject<{
|
|
|
4034
4194
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4035
4195
|
template_id?: string | undefined;
|
|
4036
4196
|
preheader?: string | undefined;
|
|
4197
|
+
topic?: string | null | undefined;
|
|
4037
4198
|
}, {
|
|
4038
4199
|
subject: string;
|
|
4039
|
-
topic: string;
|
|
4040
4200
|
provider_id: string;
|
|
4041
4201
|
metadata?: Record<string, string> | undefined;
|
|
4042
4202
|
name?: string | undefined;
|
|
@@ -4047,6 +4207,7 @@ declare const MailingCreate: z.ZodEffects<z.ZodObject<{
|
|
|
4047
4207
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4048
4208
|
template_id?: string | undefined;
|
|
4049
4209
|
preheader?: string | undefined;
|
|
4210
|
+
topic?: string | null | undefined;
|
|
4050
4211
|
}>;
|
|
4051
4212
|
type MailingCreate = z.infer<typeof MailingCreate>;
|
|
4052
4213
|
/** Changing a mailing that is still `draft` or `scheduled`. */
|
|
@@ -4054,7 +4215,8 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
|
|
|
4054
4215
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4055
4216
|
subject: z.ZodOptional<z.ZodString>;
|
|
4056
4217
|
preheader: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4057
|
-
|
|
4218
|
+
/** Null turns a draft into a letter, which it can only be with at most one recipient. */
|
|
4219
|
+
topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4058
4220
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
4059
4221
|
metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
|
|
4060
4222
|
document: z.ZodOptional<z.ZodObject<{
|
|
@@ -4080,7 +4242,7 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
|
|
|
4080
4242
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4081
4243
|
subject?: string | undefined;
|
|
4082
4244
|
preheader?: string | null | undefined;
|
|
4083
|
-
topic?: string | undefined;
|
|
4245
|
+
topic?: string | null | undefined;
|
|
4084
4246
|
provider_id?: string | undefined;
|
|
4085
4247
|
}, {
|
|
4086
4248
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4092,7 +4254,7 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
|
|
|
4092
4254
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4093
4255
|
subject?: string | undefined;
|
|
4094
4256
|
preheader?: string | null | undefined;
|
|
4095
|
-
topic?: string | undefined;
|
|
4257
|
+
topic?: string | null | undefined;
|
|
4096
4258
|
provider_id?: string | undefined;
|
|
4097
4259
|
}>, {
|
|
4098
4260
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4104,7 +4266,7 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
|
|
|
4104
4266
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4105
4267
|
subject?: string | undefined;
|
|
4106
4268
|
preheader?: string | null | undefined;
|
|
4107
|
-
topic?: string | undefined;
|
|
4269
|
+
topic?: string | null | undefined;
|
|
4108
4270
|
provider_id?: string | undefined;
|
|
4109
4271
|
}, {
|
|
4110
4272
|
metadata?: Record<string, string> | undefined;
|
|
@@ -4116,7 +4278,7 @@ declare const MailingUpdate: z.ZodEffects<z.ZodObject<{
|
|
|
4116
4278
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
4117
4279
|
subject?: string | undefined;
|
|
4118
4280
|
preheader?: string | null | undefined;
|
|
4119
|
-
topic?: string | undefined;
|
|
4281
|
+
topic?: string | null | undefined;
|
|
4120
4282
|
provider_id?: string | undefined;
|
|
4121
4283
|
}>;
|
|
4122
4284
|
type MailingUpdate = z.infer<typeof MailingUpdate>;
|
|
@@ -4258,6 +4420,16 @@ declare const Recipient: z.ZodObject<{
|
|
|
4258
4420
|
}>;
|
|
4259
4421
|
type Recipient = z.infer<typeof Recipient>;
|
|
4260
4422
|
declare const MAX_RECIPIENTS_PER_BATCH = 1000;
|
|
4423
|
+
/**
|
|
4424
|
+
* A letter (a mailing with no topic) holds one recipient at most. It skips the
|
|
4425
|
+
* subscription check a broadcast makes, since there is no topic to be
|
|
4426
|
+
* subscribed to, so the cap is what keeps it from being a broadcast to people
|
|
4427
|
+
* who never subscribed to anything. Exceeding it, through a batch, a segment
|
|
4428
|
+
* audience, an A/B test or by clearing the topic of a mailing that holds more,
|
|
4429
|
+
* is `validation_failed` with `details.reason` set to this value.
|
|
4430
|
+
*/
|
|
4431
|
+
declare const MAX_LETTER_RECIPIENTS = 1;
|
|
4432
|
+
declare const LETTER_RECIPIENT_REFUSAL = "letter_has_one_recipient";
|
|
4261
4433
|
/**
|
|
4262
4434
|
* One recipient in a batch. The contact is found by `contact_id`, else
|
|
4263
4435
|
* `external_id`, else `email`; an email with no contact creates one. `merge`
|
|
@@ -4500,8 +4672,8 @@ declare const MessageListQuery: z.ZodObject<{
|
|
|
4500
4672
|
}>;
|
|
4501
4673
|
type MessageListQuery = z.infer<typeof MessageListQuery>;
|
|
4502
4674
|
|
|
4503
|
-
declare const WEBHOOK_EVENT_TYPES: readonly ["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"];
|
|
4504
|
-
declare const WebhookEventType: z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>;
|
|
4675
|
+
declare const WEBHOOK_EVENT_TYPES: readonly ["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"];
|
|
4676
|
+
declare const WebhookEventType: z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>;
|
|
4505
4677
|
type WebhookEventType = z.infer<typeof WebhookEventType>;
|
|
4506
4678
|
declare const MessageSentData: z.ZodObject<{
|
|
4507
4679
|
message_id: z.ZodString;
|
|
@@ -5205,6 +5377,72 @@ declare const AutomationWebhookData: z.ZodObject<{
|
|
|
5205
5377
|
fired_at: string;
|
|
5206
5378
|
}>;
|
|
5207
5379
|
type AutomationWebhookData = z.infer<typeof AutomationWebhookData>;
|
|
5380
|
+
declare const TemplateCreatedData: z.ZodObject<{
|
|
5381
|
+
template_id: z.ZodString;
|
|
5382
|
+
name: z.ZodString;
|
|
5383
|
+
version: z.ZodNumber;
|
|
5384
|
+
source: z.ZodEnum<["api", "dashboard", "mjml_import"]>;
|
|
5385
|
+
} & {
|
|
5386
|
+
created_at: z.ZodString;
|
|
5387
|
+
}, "strip", z.ZodTypeAny, {
|
|
5388
|
+
version: number;
|
|
5389
|
+
name: string;
|
|
5390
|
+
created_at: string;
|
|
5391
|
+
template_id: string;
|
|
5392
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
5393
|
+
}, {
|
|
5394
|
+
version: number;
|
|
5395
|
+
name: string;
|
|
5396
|
+
created_at: string;
|
|
5397
|
+
template_id: string;
|
|
5398
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
5399
|
+
}>;
|
|
5400
|
+
type TemplateCreatedData = z.infer<typeof TemplateCreatedData>;
|
|
5401
|
+
declare const TemplateUpdatedData: z.ZodObject<{
|
|
5402
|
+
template_id: z.ZodString;
|
|
5403
|
+
name: z.ZodString;
|
|
5404
|
+
version: z.ZodNumber;
|
|
5405
|
+
source: z.ZodEnum<["api", "dashboard", "mjml_import"]>;
|
|
5406
|
+
} & {
|
|
5407
|
+
archived: z.ZodBoolean;
|
|
5408
|
+
updated_at: z.ZodString;
|
|
5409
|
+
}, "strip", z.ZodTypeAny, {
|
|
5410
|
+
version: number;
|
|
5411
|
+
name: string;
|
|
5412
|
+
updated_at: string;
|
|
5413
|
+
archived: boolean;
|
|
5414
|
+
template_id: string;
|
|
5415
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
5416
|
+
}, {
|
|
5417
|
+
version: number;
|
|
5418
|
+
name: string;
|
|
5419
|
+
updated_at: string;
|
|
5420
|
+
archived: boolean;
|
|
5421
|
+
template_id: string;
|
|
5422
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
5423
|
+
}>;
|
|
5424
|
+
type TemplateUpdatedData = z.infer<typeof TemplateUpdatedData>;
|
|
5425
|
+
declare const TemplateDeletedData: z.ZodObject<{
|
|
5426
|
+
template_id: z.ZodString;
|
|
5427
|
+
name: z.ZodString;
|
|
5428
|
+
version: z.ZodNumber;
|
|
5429
|
+
source: z.ZodEnum<["api", "dashboard", "mjml_import"]>;
|
|
5430
|
+
} & {
|
|
5431
|
+
deleted_at: z.ZodString;
|
|
5432
|
+
}, "strip", z.ZodTypeAny, {
|
|
5433
|
+
version: number;
|
|
5434
|
+
name: string;
|
|
5435
|
+
template_id: string;
|
|
5436
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
5437
|
+
deleted_at: string;
|
|
5438
|
+
}, {
|
|
5439
|
+
version: number;
|
|
5440
|
+
name: string;
|
|
5441
|
+
template_id: string;
|
|
5442
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
5443
|
+
deleted_at: string;
|
|
5444
|
+
}>;
|
|
5445
|
+
type TemplateDeletedData = z.infer<typeof TemplateDeletedData>;
|
|
5208
5446
|
/** The body of every webhook request. */
|
|
5209
5447
|
declare const WebhookEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5210
5448
|
/** Unique per event: a receiver deduplicates on it (deliveries may repeat). */
|
|
@@ -6553,6 +6791,161 @@ declare const WebhookEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6553
6791
|
id: string;
|
|
6554
6792
|
created_at: string;
|
|
6555
6793
|
workspace_id: string;
|
|
6794
|
+
}>, z.ZodObject<{
|
|
6795
|
+
/** Unique per event: a receiver deduplicates on it (deliveries may repeat). */
|
|
6796
|
+
id: z.ZodString;
|
|
6797
|
+
type: z.ZodLiteral<"template.created">;
|
|
6798
|
+
created_at: z.ZodString;
|
|
6799
|
+
workspace_id: z.ZodString;
|
|
6800
|
+
data: z.ZodObject<{
|
|
6801
|
+
template_id: z.ZodString;
|
|
6802
|
+
name: z.ZodString;
|
|
6803
|
+
version: z.ZodNumber;
|
|
6804
|
+
source: z.ZodEnum<["api", "dashboard", "mjml_import"]>;
|
|
6805
|
+
} & {
|
|
6806
|
+
created_at: z.ZodString;
|
|
6807
|
+
}, "strip", z.ZodTypeAny, {
|
|
6808
|
+
version: number;
|
|
6809
|
+
name: string;
|
|
6810
|
+
created_at: string;
|
|
6811
|
+
template_id: string;
|
|
6812
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6813
|
+
}, {
|
|
6814
|
+
version: number;
|
|
6815
|
+
name: string;
|
|
6816
|
+
created_at: string;
|
|
6817
|
+
template_id: string;
|
|
6818
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6819
|
+
}>;
|
|
6820
|
+
}, "strip", z.ZodTypeAny, {
|
|
6821
|
+
type: "template.created";
|
|
6822
|
+
data: {
|
|
6823
|
+
version: number;
|
|
6824
|
+
name: string;
|
|
6825
|
+
created_at: string;
|
|
6826
|
+
template_id: string;
|
|
6827
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6828
|
+
};
|
|
6829
|
+
id: string;
|
|
6830
|
+
created_at: string;
|
|
6831
|
+
workspace_id: string;
|
|
6832
|
+
}, {
|
|
6833
|
+
type: "template.created";
|
|
6834
|
+
data: {
|
|
6835
|
+
version: number;
|
|
6836
|
+
name: string;
|
|
6837
|
+
created_at: string;
|
|
6838
|
+
template_id: string;
|
|
6839
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6840
|
+
};
|
|
6841
|
+
id: string;
|
|
6842
|
+
created_at: string;
|
|
6843
|
+
workspace_id: string;
|
|
6844
|
+
}>, z.ZodObject<{
|
|
6845
|
+
/** Unique per event: a receiver deduplicates on it (deliveries may repeat). */
|
|
6846
|
+
id: z.ZodString;
|
|
6847
|
+
type: z.ZodLiteral<"template.updated">;
|
|
6848
|
+
created_at: z.ZodString;
|
|
6849
|
+
workspace_id: z.ZodString;
|
|
6850
|
+
data: z.ZodObject<{
|
|
6851
|
+
template_id: z.ZodString;
|
|
6852
|
+
name: z.ZodString;
|
|
6853
|
+
version: z.ZodNumber;
|
|
6854
|
+
source: z.ZodEnum<["api", "dashboard", "mjml_import"]>;
|
|
6855
|
+
} & {
|
|
6856
|
+
archived: z.ZodBoolean;
|
|
6857
|
+
updated_at: z.ZodString;
|
|
6858
|
+
}, "strip", z.ZodTypeAny, {
|
|
6859
|
+
version: number;
|
|
6860
|
+
name: string;
|
|
6861
|
+
updated_at: string;
|
|
6862
|
+
archived: boolean;
|
|
6863
|
+
template_id: string;
|
|
6864
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6865
|
+
}, {
|
|
6866
|
+
version: number;
|
|
6867
|
+
name: string;
|
|
6868
|
+
updated_at: string;
|
|
6869
|
+
archived: boolean;
|
|
6870
|
+
template_id: string;
|
|
6871
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6872
|
+
}>;
|
|
6873
|
+
}, "strip", z.ZodTypeAny, {
|
|
6874
|
+
type: "template.updated";
|
|
6875
|
+
data: {
|
|
6876
|
+
version: number;
|
|
6877
|
+
name: string;
|
|
6878
|
+
updated_at: string;
|
|
6879
|
+
archived: boolean;
|
|
6880
|
+
template_id: string;
|
|
6881
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6882
|
+
};
|
|
6883
|
+
id: string;
|
|
6884
|
+
created_at: string;
|
|
6885
|
+
workspace_id: string;
|
|
6886
|
+
}, {
|
|
6887
|
+
type: "template.updated";
|
|
6888
|
+
data: {
|
|
6889
|
+
version: number;
|
|
6890
|
+
name: string;
|
|
6891
|
+
updated_at: string;
|
|
6892
|
+
archived: boolean;
|
|
6893
|
+
template_id: string;
|
|
6894
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6895
|
+
};
|
|
6896
|
+
id: string;
|
|
6897
|
+
created_at: string;
|
|
6898
|
+
workspace_id: string;
|
|
6899
|
+
}>, z.ZodObject<{
|
|
6900
|
+
/** Unique per event: a receiver deduplicates on it (deliveries may repeat). */
|
|
6901
|
+
id: z.ZodString;
|
|
6902
|
+
type: z.ZodLiteral<"template.deleted">;
|
|
6903
|
+
created_at: z.ZodString;
|
|
6904
|
+
workspace_id: z.ZodString;
|
|
6905
|
+
data: z.ZodObject<{
|
|
6906
|
+
template_id: z.ZodString;
|
|
6907
|
+
name: z.ZodString;
|
|
6908
|
+
version: z.ZodNumber;
|
|
6909
|
+
source: z.ZodEnum<["api", "dashboard", "mjml_import"]>;
|
|
6910
|
+
} & {
|
|
6911
|
+
deleted_at: z.ZodString;
|
|
6912
|
+
}, "strip", z.ZodTypeAny, {
|
|
6913
|
+
version: number;
|
|
6914
|
+
name: string;
|
|
6915
|
+
template_id: string;
|
|
6916
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6917
|
+
deleted_at: string;
|
|
6918
|
+
}, {
|
|
6919
|
+
version: number;
|
|
6920
|
+
name: string;
|
|
6921
|
+
template_id: string;
|
|
6922
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6923
|
+
deleted_at: string;
|
|
6924
|
+
}>;
|
|
6925
|
+
}, "strip", z.ZodTypeAny, {
|
|
6926
|
+
type: "template.deleted";
|
|
6927
|
+
data: {
|
|
6928
|
+
version: number;
|
|
6929
|
+
name: string;
|
|
6930
|
+
template_id: string;
|
|
6931
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6932
|
+
deleted_at: string;
|
|
6933
|
+
};
|
|
6934
|
+
id: string;
|
|
6935
|
+
created_at: string;
|
|
6936
|
+
workspace_id: string;
|
|
6937
|
+
}, {
|
|
6938
|
+
type: "template.deleted";
|
|
6939
|
+
data: {
|
|
6940
|
+
version: number;
|
|
6941
|
+
name: string;
|
|
6942
|
+
template_id: string;
|
|
6943
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6944
|
+
deleted_at: string;
|
|
6945
|
+
};
|
|
6946
|
+
id: string;
|
|
6947
|
+
created_at: string;
|
|
6948
|
+
workspace_id: string;
|
|
6556
6949
|
}>]>;
|
|
6557
6950
|
type WebhookEvent = z.infer<typeof WebhookEvent>;
|
|
6558
6951
|
type WebhookEventOf<T extends WebhookEventType> = Extract<WebhookEvent, {
|
|
@@ -6562,7 +6955,7 @@ declare const WebhookEndpoint: z.ZodObject<{
|
|
|
6562
6955
|
id: z.ZodString;
|
|
6563
6956
|
url: z.ZodString;
|
|
6564
6957
|
description: z.ZodNullable<z.ZodString>;
|
|
6565
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
6958
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
6566
6959
|
enabled: z.ZodBoolean;
|
|
6567
6960
|
created_at: z.ZodString;
|
|
6568
6961
|
updated_at: z.ZodString;
|
|
@@ -6572,7 +6965,7 @@ declare const WebhookEndpoint: z.ZodObject<{
|
|
|
6572
6965
|
created_at: string;
|
|
6573
6966
|
updated_at: string;
|
|
6574
6967
|
url: string;
|
|
6575
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
6968
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
6576
6969
|
enabled: boolean;
|
|
6577
6970
|
}, {
|
|
6578
6971
|
id: string;
|
|
@@ -6580,7 +6973,7 @@ declare const WebhookEndpoint: z.ZodObject<{
|
|
|
6580
6973
|
created_at: string;
|
|
6581
6974
|
updated_at: string;
|
|
6582
6975
|
url: string;
|
|
6583
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
6976
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
6584
6977
|
enabled: boolean;
|
|
6585
6978
|
}>;
|
|
6586
6979
|
type WebhookEndpoint = z.infer<typeof WebhookEndpoint>;
|
|
@@ -6589,16 +6982,16 @@ declare const WebhookUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
|
6589
6982
|
declare const WebhookEndpointCreate: z.ZodObject<{
|
|
6590
6983
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
6591
6984
|
description: z.ZodOptional<z.ZodString>;
|
|
6592
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
6985
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
6593
6986
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6594
6987
|
}, "strip", z.ZodTypeAny, {
|
|
6595
6988
|
url: string;
|
|
6596
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
6989
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
6597
6990
|
description?: string | undefined;
|
|
6598
6991
|
enabled?: boolean | undefined;
|
|
6599
6992
|
}, {
|
|
6600
6993
|
url: string;
|
|
6601
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
6994
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
6602
6995
|
description?: string | undefined;
|
|
6603
6996
|
enabled?: boolean | undefined;
|
|
6604
6997
|
}>;
|
|
@@ -6606,27 +6999,27 @@ type WebhookEndpointCreate = z.infer<typeof WebhookEndpointCreate>;
|
|
|
6606
6999
|
declare const WebhookEndpointUpdate: z.ZodEffects<z.ZodObject<{
|
|
6607
7000
|
url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6608
7001
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6609
|
-
events: z.ZodOptional<z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">>;
|
|
7002
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">>;
|
|
6610
7003
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6611
7004
|
}, "strip", z.ZodTypeAny, {
|
|
6612
7005
|
description?: string | null | undefined;
|
|
6613
7006
|
url?: string | undefined;
|
|
6614
|
-
events?: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
7007
|
+
events?: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
6615
7008
|
enabled?: boolean | undefined;
|
|
6616
7009
|
}, {
|
|
6617
7010
|
description?: string | null | undefined;
|
|
6618
7011
|
url?: string | undefined;
|
|
6619
|
-
events?: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
7012
|
+
events?: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
6620
7013
|
enabled?: boolean | undefined;
|
|
6621
7014
|
}>, {
|
|
6622
7015
|
description?: string | null | undefined;
|
|
6623
7016
|
url?: string | undefined;
|
|
6624
|
-
events?: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
7017
|
+
events?: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
6625
7018
|
enabled?: boolean | undefined;
|
|
6626
7019
|
}, {
|
|
6627
7020
|
description?: string | null | undefined;
|
|
6628
7021
|
url?: string | undefined;
|
|
6629
|
-
events?: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
7022
|
+
events?: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
6630
7023
|
enabled?: boolean | undefined;
|
|
6631
7024
|
}>;
|
|
6632
7025
|
type WebhookEndpointUpdate = z.infer<typeof WebhookEndpointUpdate>;
|
|
@@ -6639,7 +7032,7 @@ declare const WebhookEndpointWithSecret: z.ZodObject<{
|
|
|
6639
7032
|
id: z.ZodString;
|
|
6640
7033
|
url: z.ZodString;
|
|
6641
7034
|
description: z.ZodNullable<z.ZodString>;
|
|
6642
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
7035
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
6643
7036
|
enabled: z.ZodBoolean;
|
|
6644
7037
|
created_at: z.ZodString;
|
|
6645
7038
|
updated_at: z.ZodString;
|
|
@@ -6649,7 +7042,7 @@ declare const WebhookEndpointWithSecret: z.ZodObject<{
|
|
|
6649
7042
|
created_at: string;
|
|
6650
7043
|
updated_at: string;
|
|
6651
7044
|
url: string;
|
|
6652
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
7045
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
6653
7046
|
enabled: boolean;
|
|
6654
7047
|
}, {
|
|
6655
7048
|
id: string;
|
|
@@ -6657,7 +7050,7 @@ declare const WebhookEndpointWithSecret: z.ZodObject<{
|
|
|
6657
7050
|
created_at: string;
|
|
6658
7051
|
updated_at: string;
|
|
6659
7052
|
url: string;
|
|
6660
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
7053
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
6661
7054
|
enabled: boolean;
|
|
6662
7055
|
}>;
|
|
6663
7056
|
secret: z.ZodString;
|
|
@@ -6668,7 +7061,7 @@ declare const WebhookEndpointWithSecret: z.ZodObject<{
|
|
|
6668
7061
|
created_at: string;
|
|
6669
7062
|
updated_at: string;
|
|
6670
7063
|
url: string;
|
|
6671
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
7064
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
6672
7065
|
enabled: boolean;
|
|
6673
7066
|
};
|
|
6674
7067
|
secret: string;
|
|
@@ -6679,7 +7072,7 @@ declare const WebhookEndpointWithSecret: z.ZodObject<{
|
|
|
6679
7072
|
created_at: string;
|
|
6680
7073
|
updated_at: string;
|
|
6681
7074
|
url: string;
|
|
6682
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
7075
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
6683
7076
|
enabled: boolean;
|
|
6684
7077
|
};
|
|
6685
7078
|
secret: string;
|
|
@@ -6695,7 +7088,7 @@ declare const WebhookDelivery: z.ZodObject<{
|
|
|
6695
7088
|
id: z.ZodString;
|
|
6696
7089
|
endpoint_id: z.ZodString;
|
|
6697
7090
|
event_id: z.ZodString;
|
|
6698
|
-
event_type: z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>;
|
|
7091
|
+
event_type: z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>;
|
|
6699
7092
|
status: z.ZodEnum<["pending", "succeeded", "failed"]>;
|
|
6700
7093
|
attempts: z.ZodNumber;
|
|
6701
7094
|
last_status_code: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6711,7 +7104,7 @@ declare const WebhookDelivery: z.ZodObject<{
|
|
|
6711
7104
|
last_error: string | null;
|
|
6712
7105
|
endpoint_id: string;
|
|
6713
7106
|
event_id: string;
|
|
6714
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
7107
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
6715
7108
|
last_status_code: number | null;
|
|
6716
7109
|
next_attempt_at: string | null;
|
|
6717
7110
|
delivered_at: string | null;
|
|
@@ -6723,7 +7116,7 @@ declare const WebhookDelivery: z.ZodObject<{
|
|
|
6723
7116
|
last_error: string | null;
|
|
6724
7117
|
endpoint_id: string;
|
|
6725
7118
|
event_id: string;
|
|
6726
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
7119
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
6727
7120
|
last_status_code: number | null;
|
|
6728
7121
|
next_attempt_at: string | null;
|
|
6729
7122
|
delivered_at: string | null;
|
|
@@ -6734,17 +7127,17 @@ declare const WebhookDeliveryListQuery: z.ZodObject<{
|
|
|
6734
7127
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
6735
7128
|
} & {
|
|
6736
7129
|
status: z.ZodOptional<z.ZodEnum<["pending", "succeeded", "failed"]>>;
|
|
6737
|
-
event_type: z.ZodOptional<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>>;
|
|
7130
|
+
event_type: z.ZodOptional<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>>;
|
|
6738
7131
|
}, "strip", z.ZodTypeAny, {
|
|
6739
7132
|
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
6740
7133
|
cursor?: string | undefined;
|
|
6741
7134
|
limit?: number | undefined;
|
|
6742
|
-
event_type?: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook" | undefined;
|
|
7135
|
+
event_type?: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook" | undefined;
|
|
6743
7136
|
}, {
|
|
6744
7137
|
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
6745
7138
|
cursor?: string | undefined;
|
|
6746
7139
|
limit?: number | undefined;
|
|
6747
|
-
event_type?: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook" | undefined;
|
|
7140
|
+
event_type?: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook" | undefined;
|
|
6748
7141
|
}>;
|
|
6749
7142
|
type WebhookDeliveryListQuery = z.infer<typeof WebhookDeliveryListQuery>;
|
|
6750
7143
|
declare const WebhookDeliveryParams: z.ZodObject<{
|
|
@@ -18628,18 +19021,24 @@ declare const foundationRoutes: {
|
|
|
18628
19021
|
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18629
19022
|
tracking_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
18630
19023
|
asset_policy: z.ZodOptional<z.ZodEnum<["any", "service_only"]>>;
|
|
19024
|
+
allowed_asset_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19025
|
+
merge_defaults: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
|
|
18631
19026
|
default_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18632
19027
|
}, "strip", z.ZodTypeAny, {
|
|
18633
19028
|
asset_policy?: "any" | "service_only" | undefined;
|
|
18634
19029
|
default_locale?: string | undefined;
|
|
18635
19030
|
locales?: string[] | undefined;
|
|
18636
19031
|
tracking_enabled?: boolean | undefined;
|
|
19032
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19033
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18637
19034
|
default_timezone?: string | null | undefined;
|
|
18638
19035
|
}, {
|
|
18639
19036
|
asset_policy?: "any" | "service_only" | undefined;
|
|
18640
19037
|
default_locale?: string | undefined;
|
|
18641
19038
|
locales?: string[] | undefined;
|
|
18642
19039
|
tracking_enabled?: boolean | undefined;
|
|
19040
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19041
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18643
19042
|
default_timezone?: string | null | undefined;
|
|
18644
19043
|
}>>;
|
|
18645
19044
|
owner: z.ZodObject<{
|
|
@@ -18665,6 +19064,8 @@ declare const foundationRoutes: {
|
|
|
18665
19064
|
default_locale?: string | undefined;
|
|
18666
19065
|
locales?: string[] | undefined;
|
|
18667
19066
|
tracking_enabled?: boolean | undefined;
|
|
19067
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19068
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18668
19069
|
default_timezone?: string | null | undefined;
|
|
18669
19070
|
} | undefined;
|
|
18670
19071
|
company_id?: string | undefined;
|
|
@@ -18680,6 +19081,8 @@ declare const foundationRoutes: {
|
|
|
18680
19081
|
default_locale?: string | undefined;
|
|
18681
19082
|
locales?: string[] | undefined;
|
|
18682
19083
|
tracking_enabled?: boolean | undefined;
|
|
19084
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19085
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18683
19086
|
default_timezone?: string | null | undefined;
|
|
18684
19087
|
} | undefined;
|
|
18685
19088
|
company_id?: string | undefined;
|
|
@@ -18693,18 +19096,24 @@ declare const foundationRoutes: {
|
|
|
18693
19096
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
18694
19097
|
tracking_enabled: z.ZodBoolean;
|
|
18695
19098
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
19099
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
19100
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
18696
19101
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
18697
19102
|
}, "strip", z.ZodTypeAny, {
|
|
18698
19103
|
asset_policy: "any" | "service_only";
|
|
18699
19104
|
default_locale: string;
|
|
18700
19105
|
locales: string[];
|
|
18701
19106
|
tracking_enabled: boolean;
|
|
19107
|
+
allowed_asset_hosts: string[];
|
|
19108
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18702
19109
|
default_timezone: string | null;
|
|
18703
19110
|
}, {
|
|
18704
19111
|
asset_policy: "any" | "service_only";
|
|
18705
19112
|
default_locale: string;
|
|
18706
19113
|
locales: string[];
|
|
18707
19114
|
tracking_enabled: boolean;
|
|
19115
|
+
allowed_asset_hosts: string[];
|
|
19116
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18708
19117
|
default_timezone: string | null;
|
|
18709
19118
|
}>;
|
|
18710
19119
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -18721,6 +19130,8 @@ declare const foundationRoutes: {
|
|
|
18721
19130
|
default_locale: string;
|
|
18722
19131
|
locales: string[];
|
|
18723
19132
|
tracking_enabled: boolean;
|
|
19133
|
+
allowed_asset_hosts: string[];
|
|
19134
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18724
19135
|
default_timezone: string | null;
|
|
18725
19136
|
};
|
|
18726
19137
|
company_id: string | null;
|
|
@@ -18735,6 +19146,8 @@ declare const foundationRoutes: {
|
|
|
18735
19146
|
default_locale: string;
|
|
18736
19147
|
locales: string[];
|
|
18737
19148
|
tracking_enabled: boolean;
|
|
19149
|
+
allowed_asset_hosts: string[];
|
|
19150
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18738
19151
|
default_timezone: string | null;
|
|
18739
19152
|
};
|
|
18740
19153
|
company_id: string | null;
|
|
@@ -18766,18 +19179,24 @@ declare const foundationRoutes: {
|
|
|
18766
19179
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
18767
19180
|
tracking_enabled: z.ZodBoolean;
|
|
18768
19181
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
19182
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
19183
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
18769
19184
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
18770
19185
|
}, "strip", z.ZodTypeAny, {
|
|
18771
19186
|
asset_policy: "any" | "service_only";
|
|
18772
19187
|
default_locale: string;
|
|
18773
19188
|
locales: string[];
|
|
18774
19189
|
tracking_enabled: boolean;
|
|
19190
|
+
allowed_asset_hosts: string[];
|
|
19191
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18775
19192
|
default_timezone: string | null;
|
|
18776
19193
|
}, {
|
|
18777
19194
|
asset_policy: "any" | "service_only";
|
|
18778
19195
|
default_locale: string;
|
|
18779
19196
|
locales: string[];
|
|
18780
19197
|
tracking_enabled: boolean;
|
|
19198
|
+
allowed_asset_hosts: string[];
|
|
19199
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18781
19200
|
default_timezone: string | null;
|
|
18782
19201
|
}>;
|
|
18783
19202
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -18796,6 +19215,8 @@ declare const foundationRoutes: {
|
|
|
18796
19215
|
default_locale: string;
|
|
18797
19216
|
locales: string[];
|
|
18798
19217
|
tracking_enabled: boolean;
|
|
19218
|
+
allowed_asset_hosts: string[];
|
|
19219
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18799
19220
|
default_timezone: string | null;
|
|
18800
19221
|
};
|
|
18801
19222
|
company_id: string | null;
|
|
@@ -18811,6 +19232,8 @@ declare const foundationRoutes: {
|
|
|
18811
19232
|
default_locale: string;
|
|
18812
19233
|
locales: string[];
|
|
18813
19234
|
tracking_enabled: boolean;
|
|
19235
|
+
allowed_asset_hosts: string[];
|
|
19236
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18814
19237
|
default_timezone: string | null;
|
|
18815
19238
|
};
|
|
18816
19239
|
company_id: string | null;
|
|
@@ -18829,6 +19252,8 @@ declare const foundationRoutes: {
|
|
|
18829
19252
|
default_locale: string;
|
|
18830
19253
|
locales: string[];
|
|
18831
19254
|
tracking_enabled: boolean;
|
|
19255
|
+
allowed_asset_hosts: string[];
|
|
19256
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18832
19257
|
default_timezone: string | null;
|
|
18833
19258
|
};
|
|
18834
19259
|
company_id: string | null;
|
|
@@ -18847,6 +19272,8 @@ declare const foundationRoutes: {
|
|
|
18847
19272
|
default_locale: string;
|
|
18848
19273
|
locales: string[];
|
|
18849
19274
|
tracking_enabled: boolean;
|
|
19275
|
+
allowed_asset_hosts: string[];
|
|
19276
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18850
19277
|
default_timezone: string | null;
|
|
18851
19278
|
};
|
|
18852
19279
|
company_id: string | null;
|
|
@@ -18870,18 +19297,24 @@ declare const foundationRoutes: {
|
|
|
18870
19297
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
18871
19298
|
tracking_enabled: z.ZodBoolean;
|
|
18872
19299
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
19300
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
19301
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
18873
19302
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
18874
19303
|
}, "strip", z.ZodTypeAny, {
|
|
18875
19304
|
asset_policy: "any" | "service_only";
|
|
18876
19305
|
default_locale: string;
|
|
18877
19306
|
locales: string[];
|
|
18878
19307
|
tracking_enabled: boolean;
|
|
19308
|
+
allowed_asset_hosts: string[];
|
|
19309
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18879
19310
|
default_timezone: string | null;
|
|
18880
19311
|
}, {
|
|
18881
19312
|
asset_policy: "any" | "service_only";
|
|
18882
19313
|
default_locale: string;
|
|
18883
19314
|
locales: string[];
|
|
18884
19315
|
tracking_enabled: boolean;
|
|
19316
|
+
allowed_asset_hosts: string[];
|
|
19317
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18885
19318
|
default_timezone: string | null;
|
|
18886
19319
|
}>;
|
|
18887
19320
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -18898,6 +19331,8 @@ declare const foundationRoutes: {
|
|
|
18898
19331
|
default_locale: string;
|
|
18899
19332
|
locales: string[];
|
|
18900
19333
|
tracking_enabled: boolean;
|
|
19334
|
+
allowed_asset_hosts: string[];
|
|
19335
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18901
19336
|
default_timezone: string | null;
|
|
18902
19337
|
};
|
|
18903
19338
|
company_id: string | null;
|
|
@@ -18912,6 +19347,8 @@ declare const foundationRoutes: {
|
|
|
18912
19347
|
default_locale: string;
|
|
18913
19348
|
locales: string[];
|
|
18914
19349
|
tracking_enabled: boolean;
|
|
19350
|
+
allowed_asset_hosts: string[];
|
|
19351
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18915
19352
|
default_timezone: string | null;
|
|
18916
19353
|
};
|
|
18917
19354
|
company_id: string | null;
|
|
@@ -18930,18 +19367,24 @@ declare const foundationRoutes: {
|
|
|
18930
19367
|
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18931
19368
|
tracking_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
18932
19369
|
asset_policy: z.ZodOptional<z.ZodEnum<["any", "service_only"]>>;
|
|
19370
|
+
allowed_asset_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19371
|
+
merge_defaults: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
|
|
18933
19372
|
default_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18934
19373
|
}, "strip", z.ZodTypeAny, {
|
|
18935
19374
|
asset_policy?: "any" | "service_only" | undefined;
|
|
18936
19375
|
default_locale?: string | undefined;
|
|
18937
19376
|
locales?: string[] | undefined;
|
|
18938
19377
|
tracking_enabled?: boolean | undefined;
|
|
19378
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19379
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18939
19380
|
default_timezone?: string | null | undefined;
|
|
18940
19381
|
}, {
|
|
18941
19382
|
asset_policy?: "any" | "service_only" | undefined;
|
|
18942
19383
|
default_locale?: string | undefined;
|
|
18943
19384
|
locales?: string[] | undefined;
|
|
18944
19385
|
tracking_enabled?: boolean | undefined;
|
|
19386
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19387
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18945
19388
|
default_timezone?: string | null | undefined;
|
|
18946
19389
|
}>>;
|
|
18947
19390
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -18951,6 +19394,8 @@ declare const foundationRoutes: {
|
|
|
18951
19394
|
default_locale?: string | undefined;
|
|
18952
19395
|
locales?: string[] | undefined;
|
|
18953
19396
|
tracking_enabled?: boolean | undefined;
|
|
19397
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19398
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18954
19399
|
default_timezone?: string | null | undefined;
|
|
18955
19400
|
} | undefined;
|
|
18956
19401
|
}, {
|
|
@@ -18960,6 +19405,8 @@ declare const foundationRoutes: {
|
|
|
18960
19405
|
default_locale?: string | undefined;
|
|
18961
19406
|
locales?: string[] | undefined;
|
|
18962
19407
|
tracking_enabled?: boolean | undefined;
|
|
19408
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19409
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18963
19410
|
default_timezone?: string | null | undefined;
|
|
18964
19411
|
} | undefined;
|
|
18965
19412
|
}>, {
|
|
@@ -18969,6 +19416,8 @@ declare const foundationRoutes: {
|
|
|
18969
19416
|
default_locale?: string | undefined;
|
|
18970
19417
|
locales?: string[] | undefined;
|
|
18971
19418
|
tracking_enabled?: boolean | undefined;
|
|
19419
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19420
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18972
19421
|
default_timezone?: string | null | undefined;
|
|
18973
19422
|
} | undefined;
|
|
18974
19423
|
}, {
|
|
@@ -18978,6 +19427,8 @@ declare const foundationRoutes: {
|
|
|
18978
19427
|
default_locale?: string | undefined;
|
|
18979
19428
|
locales?: string[] | undefined;
|
|
18980
19429
|
tracking_enabled?: boolean | undefined;
|
|
19430
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19431
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18981
19432
|
default_timezone?: string | null | undefined;
|
|
18982
19433
|
} | undefined;
|
|
18983
19434
|
}>;
|
|
@@ -18990,18 +19441,24 @@ declare const foundationRoutes: {
|
|
|
18990
19441
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
18991
19442
|
tracking_enabled: z.ZodBoolean;
|
|
18992
19443
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
19444
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
19445
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
18993
19446
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
18994
19447
|
}, "strip", z.ZodTypeAny, {
|
|
18995
19448
|
asset_policy: "any" | "service_only";
|
|
18996
19449
|
default_locale: string;
|
|
18997
19450
|
locales: string[];
|
|
18998
19451
|
tracking_enabled: boolean;
|
|
19452
|
+
allowed_asset_hosts: string[];
|
|
19453
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18999
19454
|
default_timezone: string | null;
|
|
19000
19455
|
}, {
|
|
19001
19456
|
asset_policy: "any" | "service_only";
|
|
19002
19457
|
default_locale: string;
|
|
19003
19458
|
locales: string[];
|
|
19004
19459
|
tracking_enabled: boolean;
|
|
19460
|
+
allowed_asset_hosts: string[];
|
|
19461
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19005
19462
|
default_timezone: string | null;
|
|
19006
19463
|
}>;
|
|
19007
19464
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -19018,6 +19475,8 @@ declare const foundationRoutes: {
|
|
|
19018
19475
|
default_locale: string;
|
|
19019
19476
|
locales: string[];
|
|
19020
19477
|
tracking_enabled: boolean;
|
|
19478
|
+
allowed_asset_hosts: string[];
|
|
19479
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19021
19480
|
default_timezone: string | null;
|
|
19022
19481
|
};
|
|
19023
19482
|
company_id: string | null;
|
|
@@ -19032,6 +19491,8 @@ declare const foundationRoutes: {
|
|
|
19032
19491
|
default_locale: string;
|
|
19033
19492
|
locales: string[];
|
|
19034
19493
|
tracking_enabled: boolean;
|
|
19494
|
+
allowed_asset_hosts: string[];
|
|
19495
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19035
19496
|
default_timezone: string | null;
|
|
19036
19497
|
};
|
|
19037
19498
|
company_id: string | null;
|
|
@@ -19064,18 +19525,24 @@ declare const foundationRoutes: {
|
|
|
19064
19525
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
19065
19526
|
tracking_enabled: z.ZodBoolean;
|
|
19066
19527
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
19528
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
19529
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
19067
19530
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
19068
19531
|
}, "strip", z.ZodTypeAny, {
|
|
19069
19532
|
asset_policy: "any" | "service_only";
|
|
19070
19533
|
default_locale: string;
|
|
19071
19534
|
locales: string[];
|
|
19072
19535
|
tracking_enabled: boolean;
|
|
19536
|
+
allowed_asset_hosts: string[];
|
|
19537
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19073
19538
|
default_timezone: string | null;
|
|
19074
19539
|
}, {
|
|
19075
19540
|
asset_policy: "any" | "service_only";
|
|
19076
19541
|
default_locale: string;
|
|
19077
19542
|
locales: string[];
|
|
19078
19543
|
tracking_enabled: boolean;
|
|
19544
|
+
allowed_asset_hosts: string[];
|
|
19545
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19079
19546
|
default_timezone: string | null;
|
|
19080
19547
|
}>;
|
|
19081
19548
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -19092,6 +19559,8 @@ declare const foundationRoutes: {
|
|
|
19092
19559
|
default_locale: string;
|
|
19093
19560
|
locales: string[];
|
|
19094
19561
|
tracking_enabled: boolean;
|
|
19562
|
+
allowed_asset_hosts: string[];
|
|
19563
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19095
19564
|
default_timezone: string | null;
|
|
19096
19565
|
};
|
|
19097
19566
|
company_id: string | null;
|
|
@@ -19106,6 +19575,8 @@ declare const foundationRoutes: {
|
|
|
19106
19575
|
default_locale: string;
|
|
19107
19576
|
locales: string[];
|
|
19108
19577
|
tracking_enabled: boolean;
|
|
19578
|
+
allowed_asset_hosts: string[];
|
|
19579
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19109
19580
|
default_timezone: string | null;
|
|
19110
19581
|
};
|
|
19111
19582
|
company_id: string | null;
|
|
@@ -19465,23 +19936,23 @@ declare const foundationRoutes: {
|
|
|
19465
19936
|
cursor: z.ZodOptional<z.ZodString>;
|
|
19466
19937
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
19467
19938
|
} & {
|
|
19468
|
-
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
19939
|
+
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
19469
19940
|
target_id: z.ZodOptional<z.ZodString>;
|
|
19470
19941
|
}, "strip", z.ZodTypeAny, {
|
|
19471
19942
|
cursor?: string | undefined;
|
|
19472
19943
|
limit?: number | undefined;
|
|
19473
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
19944
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
19474
19945
|
target_id?: string | undefined;
|
|
19475
19946
|
}, {
|
|
19476
19947
|
cursor?: string | undefined;
|
|
19477
19948
|
limit?: number | undefined;
|
|
19478
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
19949
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
19479
19950
|
target_id?: string | undefined;
|
|
19480
19951
|
}>;
|
|
19481
19952
|
readonly response: z.ZodObject<{
|
|
19482
19953
|
data: z.ZodArray<z.ZodObject<{
|
|
19483
19954
|
id: z.ZodString;
|
|
19484
|
-
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
19955
|
+
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
19485
19956
|
actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
19486
19957
|
type: z.ZodLiteral<"member">;
|
|
19487
19958
|
member_id: z.ZodString;
|
|
@@ -19497,12 +19968,15 @@ declare const foundationRoutes: {
|
|
|
19497
19968
|
}>, z.ZodObject<{
|
|
19498
19969
|
type: z.ZodLiteral<"api_key">;
|
|
19499
19970
|
api_key_id: z.ZodString;
|
|
19971
|
+
on_behalf_of: z.ZodOptional<z.ZodString>;
|
|
19500
19972
|
}, "strip", z.ZodTypeAny, {
|
|
19501
19973
|
type: "api_key";
|
|
19502
19974
|
api_key_id: string;
|
|
19975
|
+
on_behalf_of?: string | undefined;
|
|
19503
19976
|
}, {
|
|
19504
19977
|
type: "api_key";
|
|
19505
19978
|
api_key_id: string;
|
|
19979
|
+
on_behalf_of?: string | undefined;
|
|
19506
19980
|
}>, z.ZodObject<{
|
|
19507
19981
|
type: z.ZodLiteral<"system">;
|
|
19508
19982
|
reason: z.ZodString;
|
|
@@ -19521,7 +19995,7 @@ declare const foundationRoutes: {
|
|
|
19521
19995
|
id: string;
|
|
19522
19996
|
details: Record<string, unknown>;
|
|
19523
19997
|
created_at: string;
|
|
19524
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
19998
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
19525
19999
|
actor: {
|
|
19526
20000
|
type: "member";
|
|
19527
20001
|
subject: string;
|
|
@@ -19529,6 +20003,7 @@ declare const foundationRoutes: {
|
|
|
19529
20003
|
} | {
|
|
19530
20004
|
type: "api_key";
|
|
19531
20005
|
api_key_id: string;
|
|
20006
|
+
on_behalf_of?: string | undefined;
|
|
19532
20007
|
} | {
|
|
19533
20008
|
type: "system";
|
|
19534
20009
|
reason: string;
|
|
@@ -19539,7 +20014,7 @@ declare const foundationRoutes: {
|
|
|
19539
20014
|
id: string;
|
|
19540
20015
|
details: Record<string, unknown>;
|
|
19541
20016
|
created_at: string;
|
|
19542
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
20017
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
19543
20018
|
actor: {
|
|
19544
20019
|
type: "member";
|
|
19545
20020
|
subject: string;
|
|
@@ -19547,6 +20022,7 @@ declare const foundationRoutes: {
|
|
|
19547
20022
|
} | {
|
|
19548
20023
|
type: "api_key";
|
|
19549
20024
|
api_key_id: string;
|
|
20025
|
+
on_behalf_of?: string | undefined;
|
|
19550
20026
|
} | {
|
|
19551
20027
|
type: "system";
|
|
19552
20028
|
reason: string;
|
|
@@ -19560,7 +20036,7 @@ declare const foundationRoutes: {
|
|
|
19560
20036
|
id: string;
|
|
19561
20037
|
details: Record<string, unknown>;
|
|
19562
20038
|
created_at: string;
|
|
19563
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
20039
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
19564
20040
|
actor: {
|
|
19565
20041
|
type: "member";
|
|
19566
20042
|
subject: string;
|
|
@@ -19568,6 +20044,7 @@ declare const foundationRoutes: {
|
|
|
19568
20044
|
} | {
|
|
19569
20045
|
type: "api_key";
|
|
19570
20046
|
api_key_id: string;
|
|
20047
|
+
on_behalf_of?: string | undefined;
|
|
19571
20048
|
} | {
|
|
19572
20049
|
type: "system";
|
|
19573
20050
|
reason: string;
|
|
@@ -19581,7 +20058,7 @@ declare const foundationRoutes: {
|
|
|
19581
20058
|
id: string;
|
|
19582
20059
|
details: Record<string, unknown>;
|
|
19583
20060
|
created_at: string;
|
|
19584
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
20061
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
19585
20062
|
actor: {
|
|
19586
20063
|
type: "member";
|
|
19587
20064
|
subject: string;
|
|
@@ -19589,6 +20066,7 @@ declare const foundationRoutes: {
|
|
|
19589
20066
|
} | {
|
|
19590
20067
|
type: "api_key";
|
|
19591
20068
|
api_key_id: string;
|
|
20069
|
+
on_behalf_of?: string | undefined;
|
|
19592
20070
|
} | {
|
|
19593
20071
|
type: "system";
|
|
19594
20072
|
reason: string;
|
|
@@ -23834,6 +24312,28 @@ declare const sendingRoutes: {
|
|
|
23834
24312
|
readonly access: "admin";
|
|
23835
24313
|
readonly phase: "S2";
|
|
23836
24314
|
};
|
|
24315
|
+
/** Refused with `conflict` while a mailing or an automation step still uses the topic; subscriptions and suppressions on it go with it. */
|
|
24316
|
+
readonly 'topics.delete': {
|
|
24317
|
+
readonly method: "DELETE";
|
|
24318
|
+
readonly path: "/v1/topics/:id";
|
|
24319
|
+
readonly params: z.ZodObject<{
|
|
24320
|
+
id: z.ZodString;
|
|
24321
|
+
}, "strip", z.ZodTypeAny, {
|
|
24322
|
+
id: string;
|
|
24323
|
+
}, {
|
|
24324
|
+
id: string;
|
|
24325
|
+
}>;
|
|
24326
|
+
readonly response: z.ZodObject<{
|
|
24327
|
+
ok: z.ZodLiteral<true>;
|
|
24328
|
+
}, "strip", z.ZodTypeAny, {
|
|
24329
|
+
ok: true;
|
|
24330
|
+
}, {
|
|
24331
|
+
ok: true;
|
|
24332
|
+
}>;
|
|
24333
|
+
readonly status: 200;
|
|
24334
|
+
readonly access: "admin";
|
|
24335
|
+
readonly phase: "S2";
|
|
24336
|
+
};
|
|
23837
24337
|
readonly 'contacts.upsert': {
|
|
23838
24338
|
readonly method: "POST";
|
|
23839
24339
|
readonly path: "/v1/contacts";
|
|
@@ -24445,7 +24945,7 @@ declare const sendingRoutes: {
|
|
|
24445
24945
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
24446
24946
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
24447
24947
|
}, z.ZodTypeAny, "passthrough">>;
|
|
24448
|
-
topic: z.ZodString
|
|
24948
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
24449
24949
|
provider_id: z.ZodString;
|
|
24450
24950
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
24451
24951
|
counts: z.ZodObject<{
|
|
@@ -24539,7 +25039,7 @@ declare const sendingRoutes: {
|
|
|
24539
25039
|
subject: string;
|
|
24540
25040
|
kind: "broadcast" | "automation" | "notification";
|
|
24541
25041
|
preheader: string | null;
|
|
24542
|
-
topic: string;
|
|
25042
|
+
topic: string | null;
|
|
24543
25043
|
provider_id: string;
|
|
24544
25044
|
counts: {
|
|
24545
25045
|
sending: number;
|
|
@@ -24579,7 +25079,7 @@ declare const sendingRoutes: {
|
|
|
24579
25079
|
subject: string;
|
|
24580
25080
|
kind: "broadcast" | "automation" | "notification";
|
|
24581
25081
|
preheader: string | null;
|
|
24582
|
-
topic: string;
|
|
25082
|
+
topic: string | null;
|
|
24583
25083
|
provider_id: string;
|
|
24584
25084
|
counts: {
|
|
24585
25085
|
sending: number;
|
|
@@ -24622,7 +25122,7 @@ declare const sendingRoutes: {
|
|
|
24622
25122
|
subject: string;
|
|
24623
25123
|
kind: "broadcast" | "automation" | "notification";
|
|
24624
25124
|
preheader: string | null;
|
|
24625
|
-
topic: string;
|
|
25125
|
+
topic: string | null;
|
|
24626
25126
|
provider_id: string;
|
|
24627
25127
|
counts: {
|
|
24628
25128
|
sending: number;
|
|
@@ -24665,7 +25165,7 @@ declare const sendingRoutes: {
|
|
|
24665
25165
|
subject: string;
|
|
24666
25166
|
kind: "broadcast" | "automation" | "notification";
|
|
24667
25167
|
preheader: string | null;
|
|
24668
|
-
topic: string;
|
|
25168
|
+
topic: string | null;
|
|
24669
25169
|
provider_id: string;
|
|
24670
25170
|
counts: {
|
|
24671
25171
|
sending: number;
|
|
@@ -24722,12 +25222,11 @@ declare const sendingRoutes: {
|
|
|
24722
25222
|
name: z.ZodOptional<z.ZodString>;
|
|
24723
25223
|
subject: z.ZodString;
|
|
24724
25224
|
preheader: z.ZodOptional<z.ZodString>;
|
|
24725
|
-
topic: z.ZodString
|
|
25225
|
+
topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24726
25226
|
provider_id: z.ZodString;
|
|
24727
25227
|
metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
|
|
24728
25228
|
}, "strip", z.ZodTypeAny, {
|
|
24729
25229
|
subject: string;
|
|
24730
|
-
topic: string;
|
|
24731
25230
|
provider_id: string;
|
|
24732
25231
|
metadata?: Record<string, string> | undefined;
|
|
24733
25232
|
name?: string | undefined;
|
|
@@ -24738,9 +25237,9 @@ declare const sendingRoutes: {
|
|
|
24738
25237
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
24739
25238
|
template_id?: string | undefined;
|
|
24740
25239
|
preheader?: string | undefined;
|
|
25240
|
+
topic?: string | null | undefined;
|
|
24741
25241
|
}, {
|
|
24742
25242
|
subject: string;
|
|
24743
|
-
topic: string;
|
|
24744
25243
|
provider_id: string;
|
|
24745
25244
|
metadata?: Record<string, string> | undefined;
|
|
24746
25245
|
name?: string | undefined;
|
|
@@ -24751,9 +25250,9 @@ declare const sendingRoutes: {
|
|
|
24751
25250
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
24752
25251
|
template_id?: string | undefined;
|
|
24753
25252
|
preheader?: string | undefined;
|
|
25253
|
+
topic?: string | null | undefined;
|
|
24754
25254
|
}>, {
|
|
24755
25255
|
subject: string;
|
|
24756
|
-
topic: string;
|
|
24757
25256
|
provider_id: string;
|
|
24758
25257
|
metadata?: Record<string, string> | undefined;
|
|
24759
25258
|
name?: string | undefined;
|
|
@@ -24764,9 +25263,9 @@ declare const sendingRoutes: {
|
|
|
24764
25263
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
24765
25264
|
template_id?: string | undefined;
|
|
24766
25265
|
preheader?: string | undefined;
|
|
25266
|
+
topic?: string | null | undefined;
|
|
24767
25267
|
}, {
|
|
24768
25268
|
subject: string;
|
|
24769
|
-
topic: string;
|
|
24770
25269
|
provider_id: string;
|
|
24771
25270
|
metadata?: Record<string, string> | undefined;
|
|
24772
25271
|
name?: string | undefined;
|
|
@@ -24777,6 +25276,7 @@ declare const sendingRoutes: {
|
|
|
24777
25276
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
24778
25277
|
template_id?: string | undefined;
|
|
24779
25278
|
preheader?: string | undefined;
|
|
25279
|
+
topic?: string | null | undefined;
|
|
24780
25280
|
}>;
|
|
24781
25281
|
readonly response: z.ZodObject<{
|
|
24782
25282
|
id: z.ZodString;
|
|
@@ -24798,7 +25298,7 @@ declare const sendingRoutes: {
|
|
|
24798
25298
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
24799
25299
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
24800
25300
|
}, z.ZodTypeAny, "passthrough">>;
|
|
24801
|
-
topic: z.ZodString
|
|
25301
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
24802
25302
|
provider_id: z.ZodString;
|
|
24803
25303
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
24804
25304
|
counts: z.ZodObject<{
|
|
@@ -24899,7 +25399,7 @@ declare const sendingRoutes: {
|
|
|
24899
25399
|
subject: string;
|
|
24900
25400
|
kind: "broadcast" | "automation" | "notification";
|
|
24901
25401
|
preheader: string | null;
|
|
24902
|
-
topic: string;
|
|
25402
|
+
topic: string | null;
|
|
24903
25403
|
provider_id: string;
|
|
24904
25404
|
counts: {
|
|
24905
25405
|
sending: number;
|
|
@@ -24946,7 +25446,7 @@ declare const sendingRoutes: {
|
|
|
24946
25446
|
subject: string;
|
|
24947
25447
|
kind: "broadcast" | "automation" | "notification";
|
|
24948
25448
|
preheader: string | null;
|
|
24949
|
-
topic: string;
|
|
25449
|
+
topic: string | null;
|
|
24950
25450
|
provider_id: string;
|
|
24951
25451
|
counts: {
|
|
24952
25452
|
sending: number;
|
|
@@ -25010,7 +25510,7 @@ declare const sendingRoutes: {
|
|
|
25010
25510
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
25011
25511
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
25012
25512
|
}, z.ZodTypeAny, "passthrough">>;
|
|
25013
|
-
topic: z.ZodString
|
|
25513
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
25014
25514
|
provider_id: z.ZodString;
|
|
25015
25515
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
25016
25516
|
counts: z.ZodObject<{
|
|
@@ -25111,7 +25611,7 @@ declare const sendingRoutes: {
|
|
|
25111
25611
|
subject: string;
|
|
25112
25612
|
kind: "broadcast" | "automation" | "notification";
|
|
25113
25613
|
preheader: string | null;
|
|
25114
|
-
topic: string;
|
|
25614
|
+
topic: string | null;
|
|
25115
25615
|
provider_id: string;
|
|
25116
25616
|
counts: {
|
|
25117
25617
|
sending: number;
|
|
@@ -25158,7 +25658,7 @@ declare const sendingRoutes: {
|
|
|
25158
25658
|
subject: string;
|
|
25159
25659
|
kind: "broadcast" | "automation" | "notification";
|
|
25160
25660
|
preheader: string | null;
|
|
25161
|
-
topic: string;
|
|
25661
|
+
topic: string | null;
|
|
25162
25662
|
provider_id: string;
|
|
25163
25663
|
counts: {
|
|
25164
25664
|
sending: number;
|
|
@@ -25229,7 +25729,7 @@ declare const sendingRoutes: {
|
|
|
25229
25729
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25230
25730
|
subject: z.ZodOptional<z.ZodString>;
|
|
25231
25731
|
preheader: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25232
|
-
topic: z.ZodOptional<z.ZodString
|
|
25732
|
+
topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25233
25733
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
25234
25734
|
metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
|
|
25235
25735
|
document: z.ZodOptional<z.ZodObject<{
|
|
@@ -25255,7 +25755,7 @@ declare const sendingRoutes: {
|
|
|
25255
25755
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
25256
25756
|
subject?: string | undefined;
|
|
25257
25757
|
preheader?: string | null | undefined;
|
|
25258
|
-
topic?: string | undefined;
|
|
25758
|
+
topic?: string | null | undefined;
|
|
25259
25759
|
provider_id?: string | undefined;
|
|
25260
25760
|
}, {
|
|
25261
25761
|
metadata?: Record<string, string> | undefined;
|
|
@@ -25267,7 +25767,7 @@ declare const sendingRoutes: {
|
|
|
25267
25767
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
25268
25768
|
subject?: string | undefined;
|
|
25269
25769
|
preheader?: string | null | undefined;
|
|
25270
|
-
topic?: string | undefined;
|
|
25770
|
+
topic?: string | null | undefined;
|
|
25271
25771
|
provider_id?: string | undefined;
|
|
25272
25772
|
}>, {
|
|
25273
25773
|
metadata?: Record<string, string> | undefined;
|
|
@@ -25279,7 +25779,7 @@ declare const sendingRoutes: {
|
|
|
25279
25779
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
25280
25780
|
subject?: string | undefined;
|
|
25281
25781
|
preheader?: string | null | undefined;
|
|
25282
|
-
topic?: string | undefined;
|
|
25782
|
+
topic?: string | null | undefined;
|
|
25283
25783
|
provider_id?: string | undefined;
|
|
25284
25784
|
}, {
|
|
25285
25785
|
metadata?: Record<string, string> | undefined;
|
|
@@ -25291,7 +25791,7 @@ declare const sendingRoutes: {
|
|
|
25291
25791
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
25292
25792
|
subject?: string | undefined;
|
|
25293
25793
|
preheader?: string | null | undefined;
|
|
25294
|
-
topic?: string | undefined;
|
|
25794
|
+
topic?: string | null | undefined;
|
|
25295
25795
|
provider_id?: string | undefined;
|
|
25296
25796
|
}>;
|
|
25297
25797
|
readonly response: z.ZodObject<{
|
|
@@ -25314,7 +25814,7 @@ declare const sendingRoutes: {
|
|
|
25314
25814
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
25315
25815
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
25316
25816
|
}, z.ZodTypeAny, "passthrough">>;
|
|
25317
|
-
topic: z.ZodString
|
|
25817
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
25318
25818
|
provider_id: z.ZodString;
|
|
25319
25819
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
25320
25820
|
counts: z.ZodObject<{
|
|
@@ -25415,7 +25915,7 @@ declare const sendingRoutes: {
|
|
|
25415
25915
|
subject: string;
|
|
25416
25916
|
kind: "broadcast" | "automation" | "notification";
|
|
25417
25917
|
preheader: string | null;
|
|
25418
|
-
topic: string;
|
|
25918
|
+
topic: string | null;
|
|
25419
25919
|
provider_id: string;
|
|
25420
25920
|
counts: {
|
|
25421
25921
|
sending: number;
|
|
@@ -25462,7 +25962,7 @@ declare const sendingRoutes: {
|
|
|
25462
25962
|
subject: string;
|
|
25463
25963
|
kind: "broadcast" | "automation" | "notification";
|
|
25464
25964
|
preheader: string | null;
|
|
25465
|
-
topic: string;
|
|
25965
|
+
topic: string | null;
|
|
25466
25966
|
provider_id: string;
|
|
25467
25967
|
counts: {
|
|
25468
25968
|
sending: number;
|
|
@@ -25751,7 +26251,7 @@ declare const sendingRoutes: {
|
|
|
25751
26251
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
25752
26252
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
25753
26253
|
}, z.ZodTypeAny, "passthrough">>;
|
|
25754
|
-
topic: z.ZodString
|
|
26254
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
25755
26255
|
provider_id: z.ZodString;
|
|
25756
26256
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
25757
26257
|
counts: z.ZodObject<{
|
|
@@ -25852,7 +26352,7 @@ declare const sendingRoutes: {
|
|
|
25852
26352
|
subject: string;
|
|
25853
26353
|
kind: "broadcast" | "automation" | "notification";
|
|
25854
26354
|
preheader: string | null;
|
|
25855
|
-
topic: string;
|
|
26355
|
+
topic: string | null;
|
|
25856
26356
|
provider_id: string;
|
|
25857
26357
|
counts: {
|
|
25858
26358
|
sending: number;
|
|
@@ -25899,7 +26399,7 @@ declare const sendingRoutes: {
|
|
|
25899
26399
|
subject: string;
|
|
25900
26400
|
kind: "broadcast" | "automation" | "notification";
|
|
25901
26401
|
preheader: string | null;
|
|
25902
|
-
topic: string;
|
|
26402
|
+
topic: string | null;
|
|
25903
26403
|
provider_id: string;
|
|
25904
26404
|
counts: {
|
|
25905
26405
|
sending: number;
|
|
@@ -25964,7 +26464,7 @@ declare const sendingRoutes: {
|
|
|
25964
26464
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
25965
26465
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
25966
26466
|
}, z.ZodTypeAny, "passthrough">>;
|
|
25967
|
-
topic: z.ZodString
|
|
26467
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
25968
26468
|
provider_id: z.ZodString;
|
|
25969
26469
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
25970
26470
|
counts: z.ZodObject<{
|
|
@@ -26065,7 +26565,7 @@ declare const sendingRoutes: {
|
|
|
26065
26565
|
subject: string;
|
|
26066
26566
|
kind: "broadcast" | "automation" | "notification";
|
|
26067
26567
|
preheader: string | null;
|
|
26068
|
-
topic: string;
|
|
26568
|
+
topic: string | null;
|
|
26069
26569
|
provider_id: string;
|
|
26070
26570
|
counts: {
|
|
26071
26571
|
sending: number;
|
|
@@ -26112,7 +26612,7 @@ declare const sendingRoutes: {
|
|
|
26112
26612
|
subject: string;
|
|
26113
26613
|
kind: "broadcast" | "automation" | "notification";
|
|
26114
26614
|
preheader: string | null;
|
|
26115
|
-
topic: string;
|
|
26615
|
+
topic: string | null;
|
|
26116
26616
|
provider_id: string;
|
|
26117
26617
|
counts: {
|
|
26118
26618
|
sending: number;
|
|
@@ -26177,7 +26677,7 @@ declare const sendingRoutes: {
|
|
|
26177
26677
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
26178
26678
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
26179
26679
|
}, z.ZodTypeAny, "passthrough">>;
|
|
26180
|
-
topic: z.ZodString
|
|
26680
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
26181
26681
|
provider_id: z.ZodString;
|
|
26182
26682
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
26183
26683
|
counts: z.ZodObject<{
|
|
@@ -26278,7 +26778,7 @@ declare const sendingRoutes: {
|
|
|
26278
26778
|
subject: string;
|
|
26279
26779
|
kind: "broadcast" | "automation" | "notification";
|
|
26280
26780
|
preheader: string | null;
|
|
26281
|
-
topic: string;
|
|
26781
|
+
topic: string | null;
|
|
26282
26782
|
provider_id: string;
|
|
26283
26783
|
counts: {
|
|
26284
26784
|
sending: number;
|
|
@@ -26325,7 +26825,7 @@ declare const sendingRoutes: {
|
|
|
26325
26825
|
subject: string;
|
|
26326
26826
|
kind: "broadcast" | "automation" | "notification";
|
|
26327
26827
|
preheader: string | null;
|
|
26328
|
-
topic: string;
|
|
26828
|
+
topic: string | null;
|
|
26329
26829
|
provider_id: string;
|
|
26330
26830
|
counts: {
|
|
26331
26831
|
sending: number;
|
|
@@ -26390,7 +26890,7 @@ declare const sendingRoutes: {
|
|
|
26390
26890
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
26391
26891
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
26392
26892
|
}, z.ZodTypeAny, "passthrough">>;
|
|
26393
|
-
topic: z.ZodString
|
|
26893
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
26394
26894
|
provider_id: z.ZodString;
|
|
26395
26895
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
26396
26896
|
counts: z.ZodObject<{
|
|
@@ -26491,7 +26991,7 @@ declare const sendingRoutes: {
|
|
|
26491
26991
|
subject: string;
|
|
26492
26992
|
kind: "broadcast" | "automation" | "notification";
|
|
26493
26993
|
preheader: string | null;
|
|
26494
|
-
topic: string;
|
|
26994
|
+
topic: string | null;
|
|
26495
26995
|
provider_id: string;
|
|
26496
26996
|
counts: {
|
|
26497
26997
|
sending: number;
|
|
@@ -26538,7 +27038,7 @@ declare const sendingRoutes: {
|
|
|
26538
27038
|
subject: string;
|
|
26539
27039
|
kind: "broadcast" | "automation" | "notification";
|
|
26540
27040
|
preheader: string | null;
|
|
26541
|
-
topic: string;
|
|
27041
|
+
topic: string | null;
|
|
26542
27042
|
provider_id: string;
|
|
26543
27043
|
counts: {
|
|
26544
27044
|
sending: number;
|
|
@@ -26609,7 +27109,7 @@ declare const sendingRoutes: {
|
|
|
26609
27109
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
26610
27110
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
26611
27111
|
}, z.ZodTypeAny, "passthrough">>;
|
|
26612
|
-
topic: z.ZodString
|
|
27112
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
26613
27113
|
provider_id: z.ZodString;
|
|
26614
27114
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
26615
27115
|
counts: z.ZodObject<{
|
|
@@ -26710,7 +27210,7 @@ declare const sendingRoutes: {
|
|
|
26710
27210
|
subject: string;
|
|
26711
27211
|
kind: "broadcast" | "automation" | "notification";
|
|
26712
27212
|
preheader: string | null;
|
|
26713
|
-
topic: string;
|
|
27213
|
+
topic: string | null;
|
|
26714
27214
|
provider_id: string;
|
|
26715
27215
|
counts: {
|
|
26716
27216
|
sending: number;
|
|
@@ -26757,7 +27257,7 @@ declare const sendingRoutes: {
|
|
|
26757
27257
|
subject: string;
|
|
26758
27258
|
kind: "broadcast" | "automation" | "notification";
|
|
26759
27259
|
preheader: string | null;
|
|
26760
|
-
topic: string;
|
|
27260
|
+
topic: string | null;
|
|
26761
27261
|
provider_id: string;
|
|
26762
27262
|
counts: {
|
|
26763
27263
|
sending: number;
|
|
@@ -26828,7 +27328,7 @@ declare const sendingRoutes: {
|
|
|
26828
27328
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
26829
27329
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
26830
27330
|
}, z.ZodTypeAny, "passthrough">>;
|
|
26831
|
-
topic: z.ZodString
|
|
27331
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
26832
27332
|
provider_id: z.ZodString;
|
|
26833
27333
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
26834
27334
|
counts: z.ZodObject<{
|
|
@@ -26929,7 +27429,7 @@ declare const sendingRoutes: {
|
|
|
26929
27429
|
subject: string;
|
|
26930
27430
|
kind: "broadcast" | "automation" | "notification";
|
|
26931
27431
|
preheader: string | null;
|
|
26932
|
-
topic: string;
|
|
27432
|
+
topic: string | null;
|
|
26933
27433
|
provider_id: string;
|
|
26934
27434
|
counts: {
|
|
26935
27435
|
sending: number;
|
|
@@ -26976,7 +27476,7 @@ declare const sendingRoutes: {
|
|
|
26976
27476
|
subject: string;
|
|
26977
27477
|
kind: "broadcast" | "automation" | "notification";
|
|
26978
27478
|
preheader: string | null;
|
|
26979
|
-
topic: string;
|
|
27479
|
+
topic: string | null;
|
|
26980
27480
|
provider_id: string;
|
|
26981
27481
|
counts: {
|
|
26982
27482
|
sending: number;
|
|
@@ -27193,7 +27693,7 @@ declare const sendingRoutes: {
|
|
|
27193
27693
|
id: z.ZodString;
|
|
27194
27694
|
url: z.ZodString;
|
|
27195
27695
|
description: z.ZodNullable<z.ZodString>;
|
|
27196
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
27696
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
27197
27697
|
enabled: z.ZodBoolean;
|
|
27198
27698
|
created_at: z.ZodString;
|
|
27199
27699
|
updated_at: z.ZodString;
|
|
@@ -27203,7 +27703,7 @@ declare const sendingRoutes: {
|
|
|
27203
27703
|
created_at: string;
|
|
27204
27704
|
updated_at: string;
|
|
27205
27705
|
url: string;
|
|
27206
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27706
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27207
27707
|
enabled: boolean;
|
|
27208
27708
|
}, {
|
|
27209
27709
|
id: string;
|
|
@@ -27211,7 +27711,7 @@ declare const sendingRoutes: {
|
|
|
27211
27711
|
created_at: string;
|
|
27212
27712
|
updated_at: string;
|
|
27213
27713
|
url: string;
|
|
27214
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27714
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27215
27715
|
enabled: boolean;
|
|
27216
27716
|
}>, "many">;
|
|
27217
27717
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
@@ -27222,7 +27722,7 @@ declare const sendingRoutes: {
|
|
|
27222
27722
|
created_at: string;
|
|
27223
27723
|
updated_at: string;
|
|
27224
27724
|
url: string;
|
|
27225
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27725
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27226
27726
|
enabled: boolean;
|
|
27227
27727
|
}[];
|
|
27228
27728
|
next_cursor: string | null;
|
|
@@ -27233,7 +27733,7 @@ declare const sendingRoutes: {
|
|
|
27233
27733
|
created_at: string;
|
|
27234
27734
|
updated_at: string;
|
|
27235
27735
|
url: string;
|
|
27236
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27736
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27237
27737
|
enabled: boolean;
|
|
27238
27738
|
}[];
|
|
27239
27739
|
next_cursor: string | null;
|
|
@@ -27248,16 +27748,16 @@ declare const sendingRoutes: {
|
|
|
27248
27748
|
readonly body: z.ZodObject<{
|
|
27249
27749
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
27250
27750
|
description: z.ZodOptional<z.ZodString>;
|
|
27251
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
27751
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
27252
27752
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
27253
27753
|
}, "strip", z.ZodTypeAny, {
|
|
27254
27754
|
url: string;
|
|
27255
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27755
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27256
27756
|
description?: string | undefined;
|
|
27257
27757
|
enabled?: boolean | undefined;
|
|
27258
27758
|
}, {
|
|
27259
27759
|
url: string;
|
|
27260
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27760
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27261
27761
|
description?: string | undefined;
|
|
27262
27762
|
enabled?: boolean | undefined;
|
|
27263
27763
|
}>;
|
|
@@ -27266,7 +27766,7 @@ declare const sendingRoutes: {
|
|
|
27266
27766
|
id: z.ZodString;
|
|
27267
27767
|
url: z.ZodString;
|
|
27268
27768
|
description: z.ZodNullable<z.ZodString>;
|
|
27269
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
27769
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
27270
27770
|
enabled: z.ZodBoolean;
|
|
27271
27771
|
created_at: z.ZodString;
|
|
27272
27772
|
updated_at: z.ZodString;
|
|
@@ -27276,7 +27776,7 @@ declare const sendingRoutes: {
|
|
|
27276
27776
|
created_at: string;
|
|
27277
27777
|
updated_at: string;
|
|
27278
27778
|
url: string;
|
|
27279
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27779
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27280
27780
|
enabled: boolean;
|
|
27281
27781
|
}, {
|
|
27282
27782
|
id: string;
|
|
@@ -27284,7 +27784,7 @@ declare const sendingRoutes: {
|
|
|
27284
27784
|
created_at: string;
|
|
27285
27785
|
updated_at: string;
|
|
27286
27786
|
url: string;
|
|
27287
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27787
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27288
27788
|
enabled: boolean;
|
|
27289
27789
|
}>;
|
|
27290
27790
|
secret: z.ZodString;
|
|
@@ -27295,7 +27795,7 @@ declare const sendingRoutes: {
|
|
|
27295
27795
|
created_at: string;
|
|
27296
27796
|
updated_at: string;
|
|
27297
27797
|
url: string;
|
|
27298
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27798
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27299
27799
|
enabled: boolean;
|
|
27300
27800
|
};
|
|
27301
27801
|
secret: string;
|
|
@@ -27306,7 +27806,7 @@ declare const sendingRoutes: {
|
|
|
27306
27806
|
created_at: string;
|
|
27307
27807
|
updated_at: string;
|
|
27308
27808
|
url: string;
|
|
27309
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27809
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27310
27810
|
enabled: boolean;
|
|
27311
27811
|
};
|
|
27312
27812
|
secret: string;
|
|
@@ -27329,7 +27829,7 @@ declare const sendingRoutes: {
|
|
|
27329
27829
|
id: z.ZodString;
|
|
27330
27830
|
url: z.ZodString;
|
|
27331
27831
|
description: z.ZodNullable<z.ZodString>;
|
|
27332
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
27832
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
27333
27833
|
enabled: z.ZodBoolean;
|
|
27334
27834
|
created_at: z.ZodString;
|
|
27335
27835
|
updated_at: z.ZodString;
|
|
@@ -27339,7 +27839,7 @@ declare const sendingRoutes: {
|
|
|
27339
27839
|
created_at: string;
|
|
27340
27840
|
updated_at: string;
|
|
27341
27841
|
url: string;
|
|
27342
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27842
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27343
27843
|
enabled: boolean;
|
|
27344
27844
|
}, {
|
|
27345
27845
|
id: string;
|
|
@@ -27347,7 +27847,7 @@ declare const sendingRoutes: {
|
|
|
27347
27847
|
created_at: string;
|
|
27348
27848
|
updated_at: string;
|
|
27349
27849
|
url: string;
|
|
27350
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27850
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27351
27851
|
enabled: boolean;
|
|
27352
27852
|
}>;
|
|
27353
27853
|
readonly status: 200;
|
|
@@ -27367,34 +27867,34 @@ declare const sendingRoutes: {
|
|
|
27367
27867
|
readonly body: z.ZodEffects<z.ZodObject<{
|
|
27368
27868
|
url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
27369
27869
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27370
|
-
events: z.ZodOptional<z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">>;
|
|
27870
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">>;
|
|
27371
27871
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
27372
27872
|
}, "strip", z.ZodTypeAny, {
|
|
27373
27873
|
description?: string | null | undefined;
|
|
27374
27874
|
url?: string | undefined;
|
|
27375
|
-
events?: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
27875
|
+
events?: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
27376
27876
|
enabled?: boolean | undefined;
|
|
27377
27877
|
}, {
|
|
27378
27878
|
description?: string | null | undefined;
|
|
27379
27879
|
url?: string | undefined;
|
|
27380
|
-
events?: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
27880
|
+
events?: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
27381
27881
|
enabled?: boolean | undefined;
|
|
27382
27882
|
}>, {
|
|
27383
27883
|
description?: string | null | undefined;
|
|
27384
27884
|
url?: string | undefined;
|
|
27385
|
-
events?: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
27885
|
+
events?: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
27386
27886
|
enabled?: boolean | undefined;
|
|
27387
27887
|
}, {
|
|
27388
27888
|
description?: string | null | undefined;
|
|
27389
27889
|
url?: string | undefined;
|
|
27390
|
-
events?: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
27890
|
+
events?: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
27391
27891
|
enabled?: boolean | undefined;
|
|
27392
27892
|
}>;
|
|
27393
27893
|
readonly response: z.ZodObject<{
|
|
27394
27894
|
id: z.ZodString;
|
|
27395
27895
|
url: z.ZodString;
|
|
27396
27896
|
description: z.ZodNullable<z.ZodString>;
|
|
27397
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
27897
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
27398
27898
|
enabled: z.ZodBoolean;
|
|
27399
27899
|
created_at: z.ZodString;
|
|
27400
27900
|
updated_at: z.ZodString;
|
|
@@ -27404,7 +27904,7 @@ declare const sendingRoutes: {
|
|
|
27404
27904
|
created_at: string;
|
|
27405
27905
|
updated_at: string;
|
|
27406
27906
|
url: string;
|
|
27407
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27907
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27408
27908
|
enabled: boolean;
|
|
27409
27909
|
}, {
|
|
27410
27910
|
id: string;
|
|
@@ -27412,7 +27912,7 @@ declare const sendingRoutes: {
|
|
|
27412
27912
|
created_at: string;
|
|
27413
27913
|
updated_at: string;
|
|
27414
27914
|
url: string;
|
|
27415
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27915
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27416
27916
|
enabled: boolean;
|
|
27417
27917
|
}>;
|
|
27418
27918
|
readonly status: 200;
|
|
@@ -27455,7 +27955,7 @@ declare const sendingRoutes: {
|
|
|
27455
27955
|
id: z.ZodString;
|
|
27456
27956
|
url: z.ZodString;
|
|
27457
27957
|
description: z.ZodNullable<z.ZodString>;
|
|
27458
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
27958
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
27459
27959
|
enabled: z.ZodBoolean;
|
|
27460
27960
|
created_at: z.ZodString;
|
|
27461
27961
|
updated_at: z.ZodString;
|
|
@@ -27465,7 +27965,7 @@ declare const sendingRoutes: {
|
|
|
27465
27965
|
created_at: string;
|
|
27466
27966
|
updated_at: string;
|
|
27467
27967
|
url: string;
|
|
27468
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27968
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27469
27969
|
enabled: boolean;
|
|
27470
27970
|
}, {
|
|
27471
27971
|
id: string;
|
|
@@ -27473,7 +27973,7 @@ declare const sendingRoutes: {
|
|
|
27473
27973
|
created_at: string;
|
|
27474
27974
|
updated_at: string;
|
|
27475
27975
|
url: string;
|
|
27476
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27976
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27477
27977
|
enabled: boolean;
|
|
27478
27978
|
}>;
|
|
27479
27979
|
secret: z.ZodString;
|
|
@@ -27484,7 +27984,7 @@ declare const sendingRoutes: {
|
|
|
27484
27984
|
created_at: string;
|
|
27485
27985
|
updated_at: string;
|
|
27486
27986
|
url: string;
|
|
27487
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27987
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27488
27988
|
enabled: boolean;
|
|
27489
27989
|
};
|
|
27490
27990
|
secret: string;
|
|
@@ -27495,7 +27995,7 @@ declare const sendingRoutes: {
|
|
|
27495
27995
|
created_at: string;
|
|
27496
27996
|
updated_at: string;
|
|
27497
27997
|
url: string;
|
|
27498
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27998
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
27499
27999
|
enabled: boolean;
|
|
27500
28000
|
};
|
|
27501
28001
|
secret: string;
|
|
@@ -27519,24 +28019,24 @@ declare const sendingRoutes: {
|
|
|
27519
28019
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
27520
28020
|
} & {
|
|
27521
28021
|
status: z.ZodOptional<z.ZodEnum<["pending", "succeeded", "failed"]>>;
|
|
27522
|
-
event_type: z.ZodOptional<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>>;
|
|
28022
|
+
event_type: z.ZodOptional<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>>;
|
|
27523
28023
|
}, "strip", z.ZodTypeAny, {
|
|
27524
28024
|
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
27525
28025
|
cursor?: string | undefined;
|
|
27526
28026
|
limit?: number | undefined;
|
|
27527
|
-
event_type?: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook" | undefined;
|
|
28027
|
+
event_type?: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook" | undefined;
|
|
27528
28028
|
}, {
|
|
27529
28029
|
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
27530
28030
|
cursor?: string | undefined;
|
|
27531
28031
|
limit?: number | undefined;
|
|
27532
|
-
event_type?: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook" | undefined;
|
|
28032
|
+
event_type?: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook" | undefined;
|
|
27533
28033
|
}>;
|
|
27534
28034
|
readonly response: z.ZodObject<{
|
|
27535
28035
|
data: z.ZodArray<z.ZodObject<{
|
|
27536
28036
|
id: z.ZodString;
|
|
27537
28037
|
endpoint_id: z.ZodString;
|
|
27538
28038
|
event_id: z.ZodString;
|
|
27539
|
-
event_type: z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>;
|
|
28039
|
+
event_type: z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>;
|
|
27540
28040
|
status: z.ZodEnum<["pending", "succeeded", "failed"]>;
|
|
27541
28041
|
attempts: z.ZodNumber;
|
|
27542
28042
|
last_status_code: z.ZodNullable<z.ZodNumber>;
|
|
@@ -27552,7 +28052,7 @@ declare const sendingRoutes: {
|
|
|
27552
28052
|
last_error: string | null;
|
|
27553
28053
|
endpoint_id: string;
|
|
27554
28054
|
event_id: string;
|
|
27555
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
28055
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
27556
28056
|
last_status_code: number | null;
|
|
27557
28057
|
next_attempt_at: string | null;
|
|
27558
28058
|
delivered_at: string | null;
|
|
@@ -27564,7 +28064,7 @@ declare const sendingRoutes: {
|
|
|
27564
28064
|
last_error: string | null;
|
|
27565
28065
|
endpoint_id: string;
|
|
27566
28066
|
event_id: string;
|
|
27567
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
28067
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
27568
28068
|
last_status_code: number | null;
|
|
27569
28069
|
next_attempt_at: string | null;
|
|
27570
28070
|
delivered_at: string | null;
|
|
@@ -27579,7 +28079,7 @@ declare const sendingRoutes: {
|
|
|
27579
28079
|
last_error: string | null;
|
|
27580
28080
|
endpoint_id: string;
|
|
27581
28081
|
event_id: string;
|
|
27582
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
28082
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
27583
28083
|
last_status_code: number | null;
|
|
27584
28084
|
next_attempt_at: string | null;
|
|
27585
28085
|
delivered_at: string | null;
|
|
@@ -27594,7 +28094,7 @@ declare const sendingRoutes: {
|
|
|
27594
28094
|
last_error: string | null;
|
|
27595
28095
|
endpoint_id: string;
|
|
27596
28096
|
event_id: string;
|
|
27597
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
28097
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
27598
28098
|
last_status_code: number | null;
|
|
27599
28099
|
next_attempt_at: string | null;
|
|
27600
28100
|
delivered_at: string | null;
|
|
@@ -27622,7 +28122,7 @@ declare const sendingRoutes: {
|
|
|
27622
28122
|
id: z.ZodString;
|
|
27623
28123
|
endpoint_id: z.ZodString;
|
|
27624
28124
|
event_id: z.ZodString;
|
|
27625
|
-
event_type: z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>;
|
|
28125
|
+
event_type: z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>;
|
|
27626
28126
|
status: z.ZodEnum<["pending", "succeeded", "failed"]>;
|
|
27627
28127
|
attempts: z.ZodNumber;
|
|
27628
28128
|
last_status_code: z.ZodNullable<z.ZodNumber>;
|
|
@@ -27638,7 +28138,7 @@ declare const sendingRoutes: {
|
|
|
27638
28138
|
last_error: string | null;
|
|
27639
28139
|
endpoint_id: string;
|
|
27640
28140
|
event_id: string;
|
|
27641
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
28141
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
27642
28142
|
last_status_code: number | null;
|
|
27643
28143
|
next_attempt_at: string | null;
|
|
27644
28144
|
delivered_at: string | null;
|
|
@@ -27650,7 +28150,7 @@ declare const sendingRoutes: {
|
|
|
27650
28150
|
last_error: string | null;
|
|
27651
28151
|
endpoint_id: string;
|
|
27652
28152
|
event_id: string;
|
|
27653
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
28153
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
27654
28154
|
last_status_code: number | null;
|
|
27655
28155
|
next_attempt_at: string | null;
|
|
27656
28156
|
delivered_at: string | null;
|
|
@@ -28276,7 +28776,7 @@ declare const platformRoutes: {
|
|
|
28276
28776
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
28277
28777
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
28278
28778
|
}, z.ZodTypeAny, "passthrough">>;
|
|
28279
|
-
topic: z.ZodString
|
|
28779
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
28280
28780
|
provider_id: z.ZodString;
|
|
28281
28781
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
28282
28782
|
counts: z.ZodObject<{
|
|
@@ -28377,7 +28877,7 @@ declare const platformRoutes: {
|
|
|
28377
28877
|
subject: string;
|
|
28378
28878
|
kind: "broadcast" | "automation" | "notification";
|
|
28379
28879
|
preheader: string | null;
|
|
28380
|
-
topic: string;
|
|
28880
|
+
topic: string | null;
|
|
28381
28881
|
provider_id: string;
|
|
28382
28882
|
counts: {
|
|
28383
28883
|
sending: number;
|
|
@@ -28424,7 +28924,7 @@ declare const platformRoutes: {
|
|
|
28424
28924
|
subject: string;
|
|
28425
28925
|
kind: "broadcast" | "automation" | "notification";
|
|
28426
28926
|
preheader: string | null;
|
|
28427
|
-
topic: string;
|
|
28927
|
+
topic: string | null;
|
|
28428
28928
|
provider_id: string;
|
|
28429
28929
|
counts: {
|
|
28430
28930
|
sending: number;
|
|
@@ -28490,7 +28990,7 @@ declare const platformRoutes: {
|
|
|
28490
28990
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
28491
28991
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
28492
28992
|
}, z.ZodTypeAny, "passthrough">>;
|
|
28493
|
-
topic: z.ZodString
|
|
28993
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
28494
28994
|
provider_id: z.ZodString;
|
|
28495
28995
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
28496
28996
|
counts: z.ZodObject<{
|
|
@@ -28591,7 +29091,7 @@ declare const platformRoutes: {
|
|
|
28591
29091
|
subject: string;
|
|
28592
29092
|
kind: "broadcast" | "automation" | "notification";
|
|
28593
29093
|
preheader: string | null;
|
|
28594
|
-
topic: string;
|
|
29094
|
+
topic: string | null;
|
|
28595
29095
|
provider_id: string;
|
|
28596
29096
|
counts: {
|
|
28597
29097
|
sending: number;
|
|
@@ -28638,7 +29138,7 @@ declare const platformRoutes: {
|
|
|
28638
29138
|
subject: string;
|
|
28639
29139
|
kind: "broadcast" | "automation" | "notification";
|
|
28640
29140
|
preheader: string | null;
|
|
28641
|
-
topic: string;
|
|
29141
|
+
topic: string | null;
|
|
28642
29142
|
provider_id: string;
|
|
28643
29143
|
counts: {
|
|
28644
29144
|
sending: number;
|
|
@@ -28824,7 +29324,7 @@ declare const platformRoutes: {
|
|
|
28824
29324
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
28825
29325
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
28826
29326
|
}, z.ZodTypeAny, "passthrough">>;
|
|
28827
|
-
topic: z.ZodString
|
|
29327
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
28828
29328
|
provider_id: z.ZodString;
|
|
28829
29329
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
28830
29330
|
counts: z.ZodObject<{
|
|
@@ -28925,7 +29425,7 @@ declare const platformRoutes: {
|
|
|
28925
29425
|
subject: string;
|
|
28926
29426
|
kind: "broadcast" | "automation" | "notification";
|
|
28927
29427
|
preheader: string | null;
|
|
28928
|
-
topic: string;
|
|
29428
|
+
topic: string | null;
|
|
28929
29429
|
provider_id: string;
|
|
28930
29430
|
counts: {
|
|
28931
29431
|
sending: number;
|
|
@@ -28972,7 +29472,7 @@ declare const platformRoutes: {
|
|
|
28972
29472
|
subject: string;
|
|
28973
29473
|
kind: "broadcast" | "automation" | "notification";
|
|
28974
29474
|
preheader: string | null;
|
|
28975
|
-
topic: string;
|
|
29475
|
+
topic: string | null;
|
|
28976
29476
|
provider_id: string;
|
|
28977
29477
|
counts: {
|
|
28978
29478
|
sending: number;
|
|
@@ -29036,7 +29536,7 @@ declare const platformRoutes: {
|
|
|
29036
29536
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
29037
29537
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
29038
29538
|
}, z.ZodTypeAny, "passthrough">>;
|
|
29039
|
-
topic: z.ZodString
|
|
29539
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
29040
29540
|
provider_id: z.ZodString;
|
|
29041
29541
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
29042
29542
|
counts: z.ZodObject<{
|
|
@@ -29137,7 +29637,7 @@ declare const platformRoutes: {
|
|
|
29137
29637
|
subject: string;
|
|
29138
29638
|
kind: "broadcast" | "automation" | "notification";
|
|
29139
29639
|
preheader: string | null;
|
|
29140
|
-
topic: string;
|
|
29640
|
+
topic: string | null;
|
|
29141
29641
|
provider_id: string;
|
|
29142
29642
|
counts: {
|
|
29143
29643
|
sending: number;
|
|
@@ -29184,7 +29684,7 @@ declare const platformRoutes: {
|
|
|
29184
29684
|
subject: string;
|
|
29185
29685
|
kind: "broadcast" | "automation" | "notification";
|
|
29186
29686
|
preheader: string | null;
|
|
29187
|
-
topic: string;
|
|
29687
|
+
topic: string | null;
|
|
29188
29688
|
provider_id: string;
|
|
29189
29689
|
counts: {
|
|
29190
29690
|
sending: number;
|
|
@@ -29256,7 +29756,7 @@ declare const platformRoutes: {
|
|
|
29256
29756
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
29257
29757
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
29258
29758
|
}, z.ZodTypeAny, "passthrough">>;
|
|
29259
|
-
topic: z.ZodString
|
|
29759
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
29260
29760
|
provider_id: z.ZodString;
|
|
29261
29761
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
29262
29762
|
counts: z.ZodObject<{
|
|
@@ -29357,7 +29857,7 @@ declare const platformRoutes: {
|
|
|
29357
29857
|
subject: string;
|
|
29358
29858
|
kind: "broadcast" | "automation" | "notification";
|
|
29359
29859
|
preheader: string | null;
|
|
29360
|
-
topic: string;
|
|
29860
|
+
topic: string | null;
|
|
29361
29861
|
provider_id: string;
|
|
29362
29862
|
counts: {
|
|
29363
29863
|
sending: number;
|
|
@@ -29404,7 +29904,7 @@ declare const platformRoutes: {
|
|
|
29404
29904
|
subject: string;
|
|
29405
29905
|
kind: "broadcast" | "automation" | "notification";
|
|
29406
29906
|
preheader: string | null;
|
|
29407
|
-
topic: string;
|
|
29907
|
+
topic: string | null;
|
|
29408
29908
|
provider_id: string;
|
|
29409
29909
|
counts: {
|
|
29410
29910
|
sending: number;
|
|
@@ -31918,18 +32418,24 @@ declare const inviteRoutes: {
|
|
|
31918
32418
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
31919
32419
|
tracking_enabled: z.ZodBoolean;
|
|
31920
32420
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
32421
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
32422
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
31921
32423
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
31922
32424
|
}, "strip", z.ZodTypeAny, {
|
|
31923
32425
|
asset_policy: "any" | "service_only";
|
|
31924
32426
|
default_locale: string;
|
|
31925
32427
|
locales: string[];
|
|
31926
32428
|
tracking_enabled: boolean;
|
|
32429
|
+
allowed_asset_hosts: string[];
|
|
32430
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
31927
32431
|
default_timezone: string | null;
|
|
31928
32432
|
}, {
|
|
31929
32433
|
asset_policy: "any" | "service_only";
|
|
31930
32434
|
default_locale: string;
|
|
31931
32435
|
locales: string[];
|
|
31932
32436
|
tracking_enabled: boolean;
|
|
32437
|
+
allowed_asset_hosts: string[];
|
|
32438
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
31933
32439
|
default_timezone: string | null;
|
|
31934
32440
|
}>;
|
|
31935
32441
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -31948,6 +32454,8 @@ declare const inviteRoutes: {
|
|
|
31948
32454
|
default_locale: string;
|
|
31949
32455
|
locales: string[];
|
|
31950
32456
|
tracking_enabled: boolean;
|
|
32457
|
+
allowed_asset_hosts: string[];
|
|
32458
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
31951
32459
|
default_timezone: string | null;
|
|
31952
32460
|
};
|
|
31953
32461
|
company_id: string | null;
|
|
@@ -31963,6 +32471,8 @@ declare const inviteRoutes: {
|
|
|
31963
32471
|
default_locale: string;
|
|
31964
32472
|
locales: string[];
|
|
31965
32473
|
tracking_enabled: boolean;
|
|
32474
|
+
allowed_asset_hosts: string[];
|
|
32475
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
31966
32476
|
default_timezone: string | null;
|
|
31967
32477
|
};
|
|
31968
32478
|
company_id: string | null;
|
|
@@ -31981,6 +32491,8 @@ declare const inviteRoutes: {
|
|
|
31981
32491
|
default_locale: string;
|
|
31982
32492
|
locales: string[];
|
|
31983
32493
|
tracking_enabled: boolean;
|
|
32494
|
+
allowed_asset_hosts: string[];
|
|
32495
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
31984
32496
|
default_timezone: string | null;
|
|
31985
32497
|
};
|
|
31986
32498
|
company_id: string | null;
|
|
@@ -31999,6 +32511,8 @@ declare const inviteRoutes: {
|
|
|
31999
32511
|
default_locale: string;
|
|
32000
32512
|
locales: string[];
|
|
32001
32513
|
tracking_enabled: boolean;
|
|
32514
|
+
allowed_asset_hosts: string[];
|
|
32515
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
32002
32516
|
default_timezone: string | null;
|
|
32003
32517
|
};
|
|
32004
32518
|
company_id: string | null;
|
|
@@ -64246,7 +64760,7 @@ declare const routes: {
|
|
|
64246
64760
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
64247
64761
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
64248
64762
|
}, z.ZodTypeAny, "passthrough">>;
|
|
64249
|
-
topic: z.ZodString
|
|
64763
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
64250
64764
|
provider_id: z.ZodString;
|
|
64251
64765
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
64252
64766
|
counts: z.ZodObject<{
|
|
@@ -64347,7 +64861,7 @@ declare const routes: {
|
|
|
64347
64861
|
subject: string;
|
|
64348
64862
|
kind: "broadcast" | "automation" | "notification";
|
|
64349
64863
|
preheader: string | null;
|
|
64350
|
-
topic: string;
|
|
64864
|
+
topic: string | null;
|
|
64351
64865
|
provider_id: string;
|
|
64352
64866
|
counts: {
|
|
64353
64867
|
sending: number;
|
|
@@ -64394,7 +64908,7 @@ declare const routes: {
|
|
|
64394
64908
|
subject: string;
|
|
64395
64909
|
kind: "broadcast" | "automation" | "notification";
|
|
64396
64910
|
preheader: string | null;
|
|
64397
|
-
topic: string;
|
|
64911
|
+
topic: string | null;
|
|
64398
64912
|
provider_id: string;
|
|
64399
64913
|
counts: {
|
|
64400
64914
|
sending: number;
|
|
@@ -64460,7 +64974,7 @@ declare const routes: {
|
|
|
64460
64974
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
64461
64975
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
64462
64976
|
}, z.ZodTypeAny, "passthrough">>;
|
|
64463
|
-
topic: z.ZodString
|
|
64977
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
64464
64978
|
provider_id: z.ZodString;
|
|
64465
64979
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
64466
64980
|
counts: z.ZodObject<{
|
|
@@ -64561,7 +65075,7 @@ declare const routes: {
|
|
|
64561
65075
|
subject: string;
|
|
64562
65076
|
kind: "broadcast" | "automation" | "notification";
|
|
64563
65077
|
preheader: string | null;
|
|
64564
|
-
topic: string;
|
|
65078
|
+
topic: string | null;
|
|
64565
65079
|
provider_id: string;
|
|
64566
65080
|
counts: {
|
|
64567
65081
|
sending: number;
|
|
@@ -64608,7 +65122,7 @@ declare const routes: {
|
|
|
64608
65122
|
subject: string;
|
|
64609
65123
|
kind: "broadcast" | "automation" | "notification";
|
|
64610
65124
|
preheader: string | null;
|
|
64611
|
-
topic: string;
|
|
65125
|
+
topic: string | null;
|
|
64612
65126
|
provider_id: string;
|
|
64613
65127
|
counts: {
|
|
64614
65128
|
sending: number;
|
|
@@ -64794,7 +65308,7 @@ declare const routes: {
|
|
|
64794
65308
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
64795
65309
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
64796
65310
|
}, z.ZodTypeAny, "passthrough">>;
|
|
64797
|
-
topic: z.ZodString
|
|
65311
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
64798
65312
|
provider_id: z.ZodString;
|
|
64799
65313
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
64800
65314
|
counts: z.ZodObject<{
|
|
@@ -64895,7 +65409,7 @@ declare const routes: {
|
|
|
64895
65409
|
subject: string;
|
|
64896
65410
|
kind: "broadcast" | "automation" | "notification";
|
|
64897
65411
|
preheader: string | null;
|
|
64898
|
-
topic: string;
|
|
65412
|
+
topic: string | null;
|
|
64899
65413
|
provider_id: string;
|
|
64900
65414
|
counts: {
|
|
64901
65415
|
sending: number;
|
|
@@ -64942,7 +65456,7 @@ declare const routes: {
|
|
|
64942
65456
|
subject: string;
|
|
64943
65457
|
kind: "broadcast" | "automation" | "notification";
|
|
64944
65458
|
preheader: string | null;
|
|
64945
|
-
topic: string;
|
|
65459
|
+
topic: string | null;
|
|
64946
65460
|
provider_id: string;
|
|
64947
65461
|
counts: {
|
|
64948
65462
|
sending: number;
|
|
@@ -65006,7 +65520,7 @@ declare const routes: {
|
|
|
65006
65520
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
65007
65521
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
65008
65522
|
}, z.ZodTypeAny, "passthrough">>;
|
|
65009
|
-
topic: z.ZodString
|
|
65523
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
65010
65524
|
provider_id: z.ZodString;
|
|
65011
65525
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
65012
65526
|
counts: z.ZodObject<{
|
|
@@ -65107,7 +65621,7 @@ declare const routes: {
|
|
|
65107
65621
|
subject: string;
|
|
65108
65622
|
kind: "broadcast" | "automation" | "notification";
|
|
65109
65623
|
preheader: string | null;
|
|
65110
|
-
topic: string;
|
|
65624
|
+
topic: string | null;
|
|
65111
65625
|
provider_id: string;
|
|
65112
65626
|
counts: {
|
|
65113
65627
|
sending: number;
|
|
@@ -65154,7 +65668,7 @@ declare const routes: {
|
|
|
65154
65668
|
subject: string;
|
|
65155
65669
|
kind: "broadcast" | "automation" | "notification";
|
|
65156
65670
|
preheader: string | null;
|
|
65157
|
-
topic: string;
|
|
65671
|
+
topic: string | null;
|
|
65158
65672
|
provider_id: string;
|
|
65159
65673
|
counts: {
|
|
65160
65674
|
sending: number;
|
|
@@ -65226,7 +65740,7 @@ declare const routes: {
|
|
|
65226
65740
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
65227
65741
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
65228
65742
|
}, z.ZodTypeAny, "passthrough">>;
|
|
65229
|
-
topic: z.ZodString
|
|
65743
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
65230
65744
|
provider_id: z.ZodString;
|
|
65231
65745
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
65232
65746
|
counts: z.ZodObject<{
|
|
@@ -65327,7 +65841,7 @@ declare const routes: {
|
|
|
65327
65841
|
subject: string;
|
|
65328
65842
|
kind: "broadcast" | "automation" | "notification";
|
|
65329
65843
|
preheader: string | null;
|
|
65330
|
-
topic: string;
|
|
65844
|
+
topic: string | null;
|
|
65331
65845
|
provider_id: string;
|
|
65332
65846
|
counts: {
|
|
65333
65847
|
sending: number;
|
|
@@ -65374,7 +65888,7 @@ declare const routes: {
|
|
|
65374
65888
|
subject: string;
|
|
65375
65889
|
kind: "broadcast" | "automation" | "notification";
|
|
65376
65890
|
preheader: string | null;
|
|
65377
|
-
topic: string;
|
|
65891
|
+
topic: string | null;
|
|
65378
65892
|
provider_id: string;
|
|
65379
65893
|
counts: {
|
|
65380
65894
|
sending: number;
|
|
@@ -67592,18 +68106,24 @@ declare const routes: {
|
|
|
67592
68106
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
67593
68107
|
tracking_enabled: z.ZodBoolean;
|
|
67594
68108
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
68109
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
68110
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
67595
68111
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
67596
68112
|
}, "strip", z.ZodTypeAny, {
|
|
67597
68113
|
asset_policy: "any" | "service_only";
|
|
67598
68114
|
default_locale: string;
|
|
67599
68115
|
locales: string[];
|
|
67600
68116
|
tracking_enabled: boolean;
|
|
68117
|
+
allowed_asset_hosts: string[];
|
|
68118
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
67601
68119
|
default_timezone: string | null;
|
|
67602
68120
|
}, {
|
|
67603
68121
|
asset_policy: "any" | "service_only";
|
|
67604
68122
|
default_locale: string;
|
|
67605
68123
|
locales: string[];
|
|
67606
68124
|
tracking_enabled: boolean;
|
|
68125
|
+
allowed_asset_hosts: string[];
|
|
68126
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
67607
68127
|
default_timezone: string | null;
|
|
67608
68128
|
}>;
|
|
67609
68129
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -67622,6 +68142,8 @@ declare const routes: {
|
|
|
67622
68142
|
default_locale: string;
|
|
67623
68143
|
locales: string[];
|
|
67624
68144
|
tracking_enabled: boolean;
|
|
68145
|
+
allowed_asset_hosts: string[];
|
|
68146
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
67625
68147
|
default_timezone: string | null;
|
|
67626
68148
|
};
|
|
67627
68149
|
company_id: string | null;
|
|
@@ -67637,6 +68159,8 @@ declare const routes: {
|
|
|
67637
68159
|
default_locale: string;
|
|
67638
68160
|
locales: string[];
|
|
67639
68161
|
tracking_enabled: boolean;
|
|
68162
|
+
allowed_asset_hosts: string[];
|
|
68163
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
67640
68164
|
default_timezone: string | null;
|
|
67641
68165
|
};
|
|
67642
68166
|
company_id: string | null;
|
|
@@ -67655,6 +68179,8 @@ declare const routes: {
|
|
|
67655
68179
|
default_locale: string;
|
|
67656
68180
|
locales: string[];
|
|
67657
68181
|
tracking_enabled: boolean;
|
|
68182
|
+
allowed_asset_hosts: string[];
|
|
68183
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
67658
68184
|
default_timezone: string | null;
|
|
67659
68185
|
};
|
|
67660
68186
|
company_id: string | null;
|
|
@@ -67673,6 +68199,8 @@ declare const routes: {
|
|
|
67673
68199
|
default_locale: string;
|
|
67674
68200
|
locales: string[];
|
|
67675
68201
|
tracking_enabled: boolean;
|
|
68202
|
+
allowed_asset_hosts: string[];
|
|
68203
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
67676
68204
|
default_timezone: string | null;
|
|
67677
68205
|
};
|
|
67678
68206
|
company_id: string | null;
|
|
@@ -70466,6 +70994,28 @@ declare const routes: {
|
|
|
70466
70994
|
readonly access: "admin";
|
|
70467
70995
|
readonly phase: "S2";
|
|
70468
70996
|
};
|
|
70997
|
+
/** Refused with `conflict` while a mailing or an automation step still uses the topic; subscriptions and suppressions on it go with it. */
|
|
70998
|
+
readonly 'topics.delete': {
|
|
70999
|
+
readonly method: "DELETE";
|
|
71000
|
+
readonly path: "/v1/topics/:id";
|
|
71001
|
+
readonly params: z.ZodObject<{
|
|
71002
|
+
id: z.ZodString;
|
|
71003
|
+
}, "strip", z.ZodTypeAny, {
|
|
71004
|
+
id: string;
|
|
71005
|
+
}, {
|
|
71006
|
+
id: string;
|
|
71007
|
+
}>;
|
|
71008
|
+
readonly response: z.ZodObject<{
|
|
71009
|
+
ok: z.ZodLiteral<true>;
|
|
71010
|
+
}, "strip", z.ZodTypeAny, {
|
|
71011
|
+
ok: true;
|
|
71012
|
+
}, {
|
|
71013
|
+
ok: true;
|
|
71014
|
+
}>;
|
|
71015
|
+
readonly status: 200;
|
|
71016
|
+
readonly access: "admin";
|
|
71017
|
+
readonly phase: "S2";
|
|
71018
|
+
};
|
|
70469
71019
|
readonly 'contacts.upsert': {
|
|
70470
71020
|
readonly method: "POST";
|
|
70471
71021
|
readonly path: "/v1/contacts";
|
|
@@ -71077,7 +71627,7 @@ declare const routes: {
|
|
|
71077
71627
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
71078
71628
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
71079
71629
|
}, z.ZodTypeAny, "passthrough">>;
|
|
71080
|
-
topic: z.ZodString
|
|
71630
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
71081
71631
|
provider_id: z.ZodString;
|
|
71082
71632
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
71083
71633
|
counts: z.ZodObject<{
|
|
@@ -71171,7 +71721,7 @@ declare const routes: {
|
|
|
71171
71721
|
subject: string;
|
|
71172
71722
|
kind: "broadcast" | "automation" | "notification";
|
|
71173
71723
|
preheader: string | null;
|
|
71174
|
-
topic: string;
|
|
71724
|
+
topic: string | null;
|
|
71175
71725
|
provider_id: string;
|
|
71176
71726
|
counts: {
|
|
71177
71727
|
sending: number;
|
|
@@ -71211,7 +71761,7 @@ declare const routes: {
|
|
|
71211
71761
|
subject: string;
|
|
71212
71762
|
kind: "broadcast" | "automation" | "notification";
|
|
71213
71763
|
preheader: string | null;
|
|
71214
|
-
topic: string;
|
|
71764
|
+
topic: string | null;
|
|
71215
71765
|
provider_id: string;
|
|
71216
71766
|
counts: {
|
|
71217
71767
|
sending: number;
|
|
@@ -71254,7 +71804,7 @@ declare const routes: {
|
|
|
71254
71804
|
subject: string;
|
|
71255
71805
|
kind: "broadcast" | "automation" | "notification";
|
|
71256
71806
|
preheader: string | null;
|
|
71257
|
-
topic: string;
|
|
71807
|
+
topic: string | null;
|
|
71258
71808
|
provider_id: string;
|
|
71259
71809
|
counts: {
|
|
71260
71810
|
sending: number;
|
|
@@ -71297,7 +71847,7 @@ declare const routes: {
|
|
|
71297
71847
|
subject: string;
|
|
71298
71848
|
kind: "broadcast" | "automation" | "notification";
|
|
71299
71849
|
preheader: string | null;
|
|
71300
|
-
topic: string;
|
|
71850
|
+
topic: string | null;
|
|
71301
71851
|
provider_id: string;
|
|
71302
71852
|
counts: {
|
|
71303
71853
|
sending: number;
|
|
@@ -71354,12 +71904,11 @@ declare const routes: {
|
|
|
71354
71904
|
name: z.ZodOptional<z.ZodString>;
|
|
71355
71905
|
subject: z.ZodString;
|
|
71356
71906
|
preheader: z.ZodOptional<z.ZodString>;
|
|
71357
|
-
topic: z.ZodString
|
|
71907
|
+
topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71358
71908
|
provider_id: z.ZodString;
|
|
71359
71909
|
metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
|
|
71360
71910
|
}, "strip", z.ZodTypeAny, {
|
|
71361
71911
|
subject: string;
|
|
71362
|
-
topic: string;
|
|
71363
71912
|
provider_id: string;
|
|
71364
71913
|
metadata?: Record<string, string> | undefined;
|
|
71365
71914
|
name?: string | undefined;
|
|
@@ -71370,9 +71919,9 @@ declare const routes: {
|
|
|
71370
71919
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
71371
71920
|
template_id?: string | undefined;
|
|
71372
71921
|
preheader?: string | undefined;
|
|
71922
|
+
topic?: string | null | undefined;
|
|
71373
71923
|
}, {
|
|
71374
71924
|
subject: string;
|
|
71375
|
-
topic: string;
|
|
71376
71925
|
provider_id: string;
|
|
71377
71926
|
metadata?: Record<string, string> | undefined;
|
|
71378
71927
|
name?: string | undefined;
|
|
@@ -71383,9 +71932,9 @@ declare const routes: {
|
|
|
71383
71932
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
71384
71933
|
template_id?: string | undefined;
|
|
71385
71934
|
preheader?: string | undefined;
|
|
71935
|
+
topic?: string | null | undefined;
|
|
71386
71936
|
}>, {
|
|
71387
71937
|
subject: string;
|
|
71388
|
-
topic: string;
|
|
71389
71938
|
provider_id: string;
|
|
71390
71939
|
metadata?: Record<string, string> | undefined;
|
|
71391
71940
|
name?: string | undefined;
|
|
@@ -71396,9 +71945,9 @@ declare const routes: {
|
|
|
71396
71945
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
71397
71946
|
template_id?: string | undefined;
|
|
71398
71947
|
preheader?: string | undefined;
|
|
71948
|
+
topic?: string | null | undefined;
|
|
71399
71949
|
}, {
|
|
71400
71950
|
subject: string;
|
|
71401
|
-
topic: string;
|
|
71402
71951
|
provider_id: string;
|
|
71403
71952
|
metadata?: Record<string, string> | undefined;
|
|
71404
71953
|
name?: string | undefined;
|
|
@@ -71409,6 +71958,7 @@ declare const routes: {
|
|
|
71409
71958
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
71410
71959
|
template_id?: string | undefined;
|
|
71411
71960
|
preheader?: string | undefined;
|
|
71961
|
+
topic?: string | null | undefined;
|
|
71412
71962
|
}>;
|
|
71413
71963
|
readonly response: z.ZodObject<{
|
|
71414
71964
|
id: z.ZodString;
|
|
@@ -71430,7 +71980,7 @@ declare const routes: {
|
|
|
71430
71980
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
71431
71981
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
71432
71982
|
}, z.ZodTypeAny, "passthrough">>;
|
|
71433
|
-
topic: z.ZodString
|
|
71983
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
71434
71984
|
provider_id: z.ZodString;
|
|
71435
71985
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
71436
71986
|
counts: z.ZodObject<{
|
|
@@ -71531,7 +72081,7 @@ declare const routes: {
|
|
|
71531
72081
|
subject: string;
|
|
71532
72082
|
kind: "broadcast" | "automation" | "notification";
|
|
71533
72083
|
preheader: string | null;
|
|
71534
|
-
topic: string;
|
|
72084
|
+
topic: string | null;
|
|
71535
72085
|
provider_id: string;
|
|
71536
72086
|
counts: {
|
|
71537
72087
|
sending: number;
|
|
@@ -71578,7 +72128,7 @@ declare const routes: {
|
|
|
71578
72128
|
subject: string;
|
|
71579
72129
|
kind: "broadcast" | "automation" | "notification";
|
|
71580
72130
|
preheader: string | null;
|
|
71581
|
-
topic: string;
|
|
72131
|
+
topic: string | null;
|
|
71582
72132
|
provider_id: string;
|
|
71583
72133
|
counts: {
|
|
71584
72134
|
sending: number;
|
|
@@ -71642,7 +72192,7 @@ declare const routes: {
|
|
|
71642
72192
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
71643
72193
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
71644
72194
|
}, z.ZodTypeAny, "passthrough">>;
|
|
71645
|
-
topic: z.ZodString
|
|
72195
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
71646
72196
|
provider_id: z.ZodString;
|
|
71647
72197
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
71648
72198
|
counts: z.ZodObject<{
|
|
@@ -71743,7 +72293,7 @@ declare const routes: {
|
|
|
71743
72293
|
subject: string;
|
|
71744
72294
|
kind: "broadcast" | "automation" | "notification";
|
|
71745
72295
|
preheader: string | null;
|
|
71746
|
-
topic: string;
|
|
72296
|
+
topic: string | null;
|
|
71747
72297
|
provider_id: string;
|
|
71748
72298
|
counts: {
|
|
71749
72299
|
sending: number;
|
|
@@ -71790,7 +72340,7 @@ declare const routes: {
|
|
|
71790
72340
|
subject: string;
|
|
71791
72341
|
kind: "broadcast" | "automation" | "notification";
|
|
71792
72342
|
preheader: string | null;
|
|
71793
|
-
topic: string;
|
|
72343
|
+
topic: string | null;
|
|
71794
72344
|
provider_id: string;
|
|
71795
72345
|
counts: {
|
|
71796
72346
|
sending: number;
|
|
@@ -71861,7 +72411,7 @@ declare const routes: {
|
|
|
71861
72411
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71862
72412
|
subject: z.ZodOptional<z.ZodString>;
|
|
71863
72413
|
preheader: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71864
|
-
topic: z.ZodOptional<z.ZodString
|
|
72414
|
+
topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71865
72415
|
provider_id: z.ZodOptional<z.ZodString>;
|
|
71866
72416
|
metadata: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodString>, Record<string, string>, Record<string, string>>, Record<string, string>, Record<string, string>>>;
|
|
71867
72417
|
document: z.ZodOptional<z.ZodObject<{
|
|
@@ -71887,7 +72437,7 @@ declare const routes: {
|
|
|
71887
72437
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
71888
72438
|
subject?: string | undefined;
|
|
71889
72439
|
preheader?: string | null | undefined;
|
|
71890
|
-
topic?: string | undefined;
|
|
72440
|
+
topic?: string | null | undefined;
|
|
71891
72441
|
provider_id?: string | undefined;
|
|
71892
72442
|
}, {
|
|
71893
72443
|
metadata?: Record<string, string> | undefined;
|
|
@@ -71899,7 +72449,7 @@ declare const routes: {
|
|
|
71899
72449
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
71900
72450
|
subject?: string | undefined;
|
|
71901
72451
|
preheader?: string | null | undefined;
|
|
71902
|
-
topic?: string | undefined;
|
|
72452
|
+
topic?: string | null | undefined;
|
|
71903
72453
|
provider_id?: string | undefined;
|
|
71904
72454
|
}>, {
|
|
71905
72455
|
metadata?: Record<string, string> | undefined;
|
|
@@ -71911,7 +72461,7 @@ declare const routes: {
|
|
|
71911
72461
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
71912
72462
|
subject?: string | undefined;
|
|
71913
72463
|
preheader?: string | null | undefined;
|
|
71914
|
-
topic?: string | undefined;
|
|
72464
|
+
topic?: string | null | undefined;
|
|
71915
72465
|
provider_id?: string | undefined;
|
|
71916
72466
|
}, {
|
|
71917
72467
|
metadata?: Record<string, string> | undefined;
|
|
@@ -71923,7 +72473,7 @@ declare const routes: {
|
|
|
71923
72473
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
71924
72474
|
subject?: string | undefined;
|
|
71925
72475
|
preheader?: string | null | undefined;
|
|
71926
|
-
topic?: string | undefined;
|
|
72476
|
+
topic?: string | null | undefined;
|
|
71927
72477
|
provider_id?: string | undefined;
|
|
71928
72478
|
}>;
|
|
71929
72479
|
readonly response: z.ZodObject<{
|
|
@@ -71946,7 +72496,7 @@ declare const routes: {
|
|
|
71946
72496
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
71947
72497
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
71948
72498
|
}, z.ZodTypeAny, "passthrough">>;
|
|
71949
|
-
topic: z.ZodString
|
|
72499
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
71950
72500
|
provider_id: z.ZodString;
|
|
71951
72501
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
71952
72502
|
counts: z.ZodObject<{
|
|
@@ -72047,7 +72597,7 @@ declare const routes: {
|
|
|
72047
72597
|
subject: string;
|
|
72048
72598
|
kind: "broadcast" | "automation" | "notification";
|
|
72049
72599
|
preheader: string | null;
|
|
72050
|
-
topic: string;
|
|
72600
|
+
topic: string | null;
|
|
72051
72601
|
provider_id: string;
|
|
72052
72602
|
counts: {
|
|
72053
72603
|
sending: number;
|
|
@@ -72094,7 +72644,7 @@ declare const routes: {
|
|
|
72094
72644
|
subject: string;
|
|
72095
72645
|
kind: "broadcast" | "automation" | "notification";
|
|
72096
72646
|
preheader: string | null;
|
|
72097
|
-
topic: string;
|
|
72647
|
+
topic: string | null;
|
|
72098
72648
|
provider_id: string;
|
|
72099
72649
|
counts: {
|
|
72100
72650
|
sending: number;
|
|
@@ -72383,7 +72933,7 @@ declare const routes: {
|
|
|
72383
72933
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
72384
72934
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
72385
72935
|
}, z.ZodTypeAny, "passthrough">>;
|
|
72386
|
-
topic: z.ZodString
|
|
72936
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
72387
72937
|
provider_id: z.ZodString;
|
|
72388
72938
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
72389
72939
|
counts: z.ZodObject<{
|
|
@@ -72484,7 +73034,7 @@ declare const routes: {
|
|
|
72484
73034
|
subject: string;
|
|
72485
73035
|
kind: "broadcast" | "automation" | "notification";
|
|
72486
73036
|
preheader: string | null;
|
|
72487
|
-
topic: string;
|
|
73037
|
+
topic: string | null;
|
|
72488
73038
|
provider_id: string;
|
|
72489
73039
|
counts: {
|
|
72490
73040
|
sending: number;
|
|
@@ -72531,7 +73081,7 @@ declare const routes: {
|
|
|
72531
73081
|
subject: string;
|
|
72532
73082
|
kind: "broadcast" | "automation" | "notification";
|
|
72533
73083
|
preheader: string | null;
|
|
72534
|
-
topic: string;
|
|
73084
|
+
topic: string | null;
|
|
72535
73085
|
provider_id: string;
|
|
72536
73086
|
counts: {
|
|
72537
73087
|
sending: number;
|
|
@@ -72596,7 +73146,7 @@ declare const routes: {
|
|
|
72596
73146
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
72597
73147
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
72598
73148
|
}, z.ZodTypeAny, "passthrough">>;
|
|
72599
|
-
topic: z.ZodString
|
|
73149
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
72600
73150
|
provider_id: z.ZodString;
|
|
72601
73151
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
72602
73152
|
counts: z.ZodObject<{
|
|
@@ -72697,7 +73247,7 @@ declare const routes: {
|
|
|
72697
73247
|
subject: string;
|
|
72698
73248
|
kind: "broadcast" | "automation" | "notification";
|
|
72699
73249
|
preheader: string | null;
|
|
72700
|
-
topic: string;
|
|
73250
|
+
topic: string | null;
|
|
72701
73251
|
provider_id: string;
|
|
72702
73252
|
counts: {
|
|
72703
73253
|
sending: number;
|
|
@@ -72744,7 +73294,7 @@ declare const routes: {
|
|
|
72744
73294
|
subject: string;
|
|
72745
73295
|
kind: "broadcast" | "automation" | "notification";
|
|
72746
73296
|
preheader: string | null;
|
|
72747
|
-
topic: string;
|
|
73297
|
+
topic: string | null;
|
|
72748
73298
|
provider_id: string;
|
|
72749
73299
|
counts: {
|
|
72750
73300
|
sending: number;
|
|
@@ -72809,7 +73359,7 @@ declare const routes: {
|
|
|
72809
73359
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
72810
73360
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
72811
73361
|
}, z.ZodTypeAny, "passthrough">>;
|
|
72812
|
-
topic: z.ZodString
|
|
73362
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
72813
73363
|
provider_id: z.ZodString;
|
|
72814
73364
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
72815
73365
|
counts: z.ZodObject<{
|
|
@@ -72910,7 +73460,7 @@ declare const routes: {
|
|
|
72910
73460
|
subject: string;
|
|
72911
73461
|
kind: "broadcast" | "automation" | "notification";
|
|
72912
73462
|
preheader: string | null;
|
|
72913
|
-
topic: string;
|
|
73463
|
+
topic: string | null;
|
|
72914
73464
|
provider_id: string;
|
|
72915
73465
|
counts: {
|
|
72916
73466
|
sending: number;
|
|
@@ -72957,7 +73507,7 @@ declare const routes: {
|
|
|
72957
73507
|
subject: string;
|
|
72958
73508
|
kind: "broadcast" | "automation" | "notification";
|
|
72959
73509
|
preheader: string | null;
|
|
72960
|
-
topic: string;
|
|
73510
|
+
topic: string | null;
|
|
72961
73511
|
provider_id: string;
|
|
72962
73512
|
counts: {
|
|
72963
73513
|
sending: number;
|
|
@@ -73022,7 +73572,7 @@ declare const routes: {
|
|
|
73022
73572
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
73023
73573
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
73024
73574
|
}, z.ZodTypeAny, "passthrough">>;
|
|
73025
|
-
topic: z.ZodString
|
|
73575
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
73026
73576
|
provider_id: z.ZodString;
|
|
73027
73577
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
73028
73578
|
counts: z.ZodObject<{
|
|
@@ -73123,7 +73673,7 @@ declare const routes: {
|
|
|
73123
73673
|
subject: string;
|
|
73124
73674
|
kind: "broadcast" | "automation" | "notification";
|
|
73125
73675
|
preheader: string | null;
|
|
73126
|
-
topic: string;
|
|
73676
|
+
topic: string | null;
|
|
73127
73677
|
provider_id: string;
|
|
73128
73678
|
counts: {
|
|
73129
73679
|
sending: number;
|
|
@@ -73170,7 +73720,7 @@ declare const routes: {
|
|
|
73170
73720
|
subject: string;
|
|
73171
73721
|
kind: "broadcast" | "automation" | "notification";
|
|
73172
73722
|
preheader: string | null;
|
|
73173
|
-
topic: string;
|
|
73723
|
+
topic: string | null;
|
|
73174
73724
|
provider_id: string;
|
|
73175
73725
|
counts: {
|
|
73176
73726
|
sending: number;
|
|
@@ -73241,7 +73791,7 @@ declare const routes: {
|
|
|
73241
73791
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
73242
73792
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
73243
73793
|
}, z.ZodTypeAny, "passthrough">>;
|
|
73244
|
-
topic: z.ZodString
|
|
73794
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
73245
73795
|
provider_id: z.ZodString;
|
|
73246
73796
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
73247
73797
|
counts: z.ZodObject<{
|
|
@@ -73342,7 +73892,7 @@ declare const routes: {
|
|
|
73342
73892
|
subject: string;
|
|
73343
73893
|
kind: "broadcast" | "automation" | "notification";
|
|
73344
73894
|
preheader: string | null;
|
|
73345
|
-
topic: string;
|
|
73895
|
+
topic: string | null;
|
|
73346
73896
|
provider_id: string;
|
|
73347
73897
|
counts: {
|
|
73348
73898
|
sending: number;
|
|
@@ -73389,7 +73939,7 @@ declare const routes: {
|
|
|
73389
73939
|
subject: string;
|
|
73390
73940
|
kind: "broadcast" | "automation" | "notification";
|
|
73391
73941
|
preheader: string | null;
|
|
73392
|
-
topic: string;
|
|
73942
|
+
topic: string | null;
|
|
73393
73943
|
provider_id: string;
|
|
73394
73944
|
counts: {
|
|
73395
73945
|
sending: number;
|
|
@@ -73460,7 +74010,7 @@ declare const routes: {
|
|
|
73460
74010
|
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
73461
74011
|
sections: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
73462
74012
|
}, z.ZodTypeAny, "passthrough">>;
|
|
73463
|
-
topic: z.ZodString
|
|
74013
|
+
topic: z.ZodNullable<z.ZodString>;
|
|
73464
74014
|
provider_id: z.ZodString;
|
|
73465
74015
|
status: z.ZodEnum<["draft", "scheduled", "sending", "paused", "sent", "partially_failed", "cancelled"]>;
|
|
73466
74016
|
counts: z.ZodObject<{
|
|
@@ -73561,7 +74111,7 @@ declare const routes: {
|
|
|
73561
74111
|
subject: string;
|
|
73562
74112
|
kind: "broadcast" | "automation" | "notification";
|
|
73563
74113
|
preheader: string | null;
|
|
73564
|
-
topic: string;
|
|
74114
|
+
topic: string | null;
|
|
73565
74115
|
provider_id: string;
|
|
73566
74116
|
counts: {
|
|
73567
74117
|
sending: number;
|
|
@@ -73608,7 +74158,7 @@ declare const routes: {
|
|
|
73608
74158
|
subject: string;
|
|
73609
74159
|
kind: "broadcast" | "automation" | "notification";
|
|
73610
74160
|
preheader: string | null;
|
|
73611
|
-
topic: string;
|
|
74161
|
+
topic: string | null;
|
|
73612
74162
|
provider_id: string;
|
|
73613
74163
|
counts: {
|
|
73614
74164
|
sending: number;
|
|
@@ -73825,7 +74375,7 @@ declare const routes: {
|
|
|
73825
74375
|
id: z.ZodString;
|
|
73826
74376
|
url: z.ZodString;
|
|
73827
74377
|
description: z.ZodNullable<z.ZodString>;
|
|
73828
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
74378
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
73829
74379
|
enabled: z.ZodBoolean;
|
|
73830
74380
|
created_at: z.ZodString;
|
|
73831
74381
|
updated_at: z.ZodString;
|
|
@@ -73835,7 +74385,7 @@ declare const routes: {
|
|
|
73835
74385
|
created_at: string;
|
|
73836
74386
|
updated_at: string;
|
|
73837
74387
|
url: string;
|
|
73838
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74388
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
73839
74389
|
enabled: boolean;
|
|
73840
74390
|
}, {
|
|
73841
74391
|
id: string;
|
|
@@ -73843,7 +74393,7 @@ declare const routes: {
|
|
|
73843
74393
|
created_at: string;
|
|
73844
74394
|
updated_at: string;
|
|
73845
74395
|
url: string;
|
|
73846
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74396
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
73847
74397
|
enabled: boolean;
|
|
73848
74398
|
}>, "many">;
|
|
73849
74399
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
@@ -73854,7 +74404,7 @@ declare const routes: {
|
|
|
73854
74404
|
created_at: string;
|
|
73855
74405
|
updated_at: string;
|
|
73856
74406
|
url: string;
|
|
73857
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74407
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
73858
74408
|
enabled: boolean;
|
|
73859
74409
|
}[];
|
|
73860
74410
|
next_cursor: string | null;
|
|
@@ -73865,7 +74415,7 @@ declare const routes: {
|
|
|
73865
74415
|
created_at: string;
|
|
73866
74416
|
updated_at: string;
|
|
73867
74417
|
url: string;
|
|
73868
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74418
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
73869
74419
|
enabled: boolean;
|
|
73870
74420
|
}[];
|
|
73871
74421
|
next_cursor: string | null;
|
|
@@ -73880,16 +74430,16 @@ declare const routes: {
|
|
|
73880
74430
|
readonly body: z.ZodObject<{
|
|
73881
74431
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
73882
74432
|
description: z.ZodOptional<z.ZodString>;
|
|
73883
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
74433
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
73884
74434
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
73885
74435
|
}, "strip", z.ZodTypeAny, {
|
|
73886
74436
|
url: string;
|
|
73887
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74437
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
73888
74438
|
description?: string | undefined;
|
|
73889
74439
|
enabled?: boolean | undefined;
|
|
73890
74440
|
}, {
|
|
73891
74441
|
url: string;
|
|
73892
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74442
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
73893
74443
|
description?: string | undefined;
|
|
73894
74444
|
enabled?: boolean | undefined;
|
|
73895
74445
|
}>;
|
|
@@ -73898,7 +74448,7 @@ declare const routes: {
|
|
|
73898
74448
|
id: z.ZodString;
|
|
73899
74449
|
url: z.ZodString;
|
|
73900
74450
|
description: z.ZodNullable<z.ZodString>;
|
|
73901
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
74451
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
73902
74452
|
enabled: z.ZodBoolean;
|
|
73903
74453
|
created_at: z.ZodString;
|
|
73904
74454
|
updated_at: z.ZodString;
|
|
@@ -73908,7 +74458,7 @@ declare const routes: {
|
|
|
73908
74458
|
created_at: string;
|
|
73909
74459
|
updated_at: string;
|
|
73910
74460
|
url: string;
|
|
73911
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74461
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
73912
74462
|
enabled: boolean;
|
|
73913
74463
|
}, {
|
|
73914
74464
|
id: string;
|
|
@@ -73916,7 +74466,7 @@ declare const routes: {
|
|
|
73916
74466
|
created_at: string;
|
|
73917
74467
|
updated_at: string;
|
|
73918
74468
|
url: string;
|
|
73919
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74469
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
73920
74470
|
enabled: boolean;
|
|
73921
74471
|
}>;
|
|
73922
74472
|
secret: z.ZodString;
|
|
@@ -73927,7 +74477,7 @@ declare const routes: {
|
|
|
73927
74477
|
created_at: string;
|
|
73928
74478
|
updated_at: string;
|
|
73929
74479
|
url: string;
|
|
73930
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74480
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
73931
74481
|
enabled: boolean;
|
|
73932
74482
|
};
|
|
73933
74483
|
secret: string;
|
|
@@ -73938,7 +74488,7 @@ declare const routes: {
|
|
|
73938
74488
|
created_at: string;
|
|
73939
74489
|
updated_at: string;
|
|
73940
74490
|
url: string;
|
|
73941
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74491
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
73942
74492
|
enabled: boolean;
|
|
73943
74493
|
};
|
|
73944
74494
|
secret: string;
|
|
@@ -73961,7 +74511,7 @@ declare const routes: {
|
|
|
73961
74511
|
id: z.ZodString;
|
|
73962
74512
|
url: z.ZodString;
|
|
73963
74513
|
description: z.ZodNullable<z.ZodString>;
|
|
73964
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
74514
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
73965
74515
|
enabled: z.ZodBoolean;
|
|
73966
74516
|
created_at: z.ZodString;
|
|
73967
74517
|
updated_at: z.ZodString;
|
|
@@ -73971,7 +74521,7 @@ declare const routes: {
|
|
|
73971
74521
|
created_at: string;
|
|
73972
74522
|
updated_at: string;
|
|
73973
74523
|
url: string;
|
|
73974
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74524
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
73975
74525
|
enabled: boolean;
|
|
73976
74526
|
}, {
|
|
73977
74527
|
id: string;
|
|
@@ -73979,7 +74529,7 @@ declare const routes: {
|
|
|
73979
74529
|
created_at: string;
|
|
73980
74530
|
updated_at: string;
|
|
73981
74531
|
url: string;
|
|
73982
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74532
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
73983
74533
|
enabled: boolean;
|
|
73984
74534
|
}>;
|
|
73985
74535
|
readonly status: 200;
|
|
@@ -73999,34 +74549,34 @@ declare const routes: {
|
|
|
73999
74549
|
readonly body: z.ZodEffects<z.ZodObject<{
|
|
74000
74550
|
url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
74001
74551
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
74002
|
-
events: z.ZodOptional<z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">>;
|
|
74552
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">>;
|
|
74003
74553
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
74004
74554
|
}, "strip", z.ZodTypeAny, {
|
|
74005
74555
|
description?: string | null | undefined;
|
|
74006
74556
|
url?: string | undefined;
|
|
74007
|
-
events?: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
74557
|
+
events?: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
74008
74558
|
enabled?: boolean | undefined;
|
|
74009
74559
|
}, {
|
|
74010
74560
|
description?: string | null | undefined;
|
|
74011
74561
|
url?: string | undefined;
|
|
74012
|
-
events?: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
74562
|
+
events?: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
74013
74563
|
enabled?: boolean | undefined;
|
|
74014
74564
|
}>, {
|
|
74015
74565
|
description?: string | null | undefined;
|
|
74016
74566
|
url?: string | undefined;
|
|
74017
|
-
events?: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
74567
|
+
events?: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
74018
74568
|
enabled?: boolean | undefined;
|
|
74019
74569
|
}, {
|
|
74020
74570
|
description?: string | null | undefined;
|
|
74021
74571
|
url?: string | undefined;
|
|
74022
|
-
events?: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
74572
|
+
events?: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[] | undefined;
|
|
74023
74573
|
enabled?: boolean | undefined;
|
|
74024
74574
|
}>;
|
|
74025
74575
|
readonly response: z.ZodObject<{
|
|
74026
74576
|
id: z.ZodString;
|
|
74027
74577
|
url: z.ZodString;
|
|
74028
74578
|
description: z.ZodNullable<z.ZodString>;
|
|
74029
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
74579
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
74030
74580
|
enabled: z.ZodBoolean;
|
|
74031
74581
|
created_at: z.ZodString;
|
|
74032
74582
|
updated_at: z.ZodString;
|
|
@@ -74036,7 +74586,7 @@ declare const routes: {
|
|
|
74036
74586
|
created_at: string;
|
|
74037
74587
|
updated_at: string;
|
|
74038
74588
|
url: string;
|
|
74039
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74589
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74040
74590
|
enabled: boolean;
|
|
74041
74591
|
}, {
|
|
74042
74592
|
id: string;
|
|
@@ -74044,7 +74594,7 @@ declare const routes: {
|
|
|
74044
74594
|
created_at: string;
|
|
74045
74595
|
updated_at: string;
|
|
74046
74596
|
url: string;
|
|
74047
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74597
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74048
74598
|
enabled: boolean;
|
|
74049
74599
|
}>;
|
|
74050
74600
|
readonly status: 200;
|
|
@@ -74087,7 +74637,7 @@ declare const routes: {
|
|
|
74087
74637
|
id: z.ZodString;
|
|
74088
74638
|
url: z.ZodString;
|
|
74089
74639
|
description: z.ZodNullable<z.ZodString>;
|
|
74090
|
-
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>, "many">;
|
|
74640
|
+
events: z.ZodArray<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>, "many">;
|
|
74091
74641
|
enabled: z.ZodBoolean;
|
|
74092
74642
|
created_at: z.ZodString;
|
|
74093
74643
|
updated_at: z.ZodString;
|
|
@@ -74097,7 +74647,7 @@ declare const routes: {
|
|
|
74097
74647
|
created_at: string;
|
|
74098
74648
|
updated_at: string;
|
|
74099
74649
|
url: string;
|
|
74100
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74650
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74101
74651
|
enabled: boolean;
|
|
74102
74652
|
}, {
|
|
74103
74653
|
id: string;
|
|
@@ -74105,7 +74655,7 @@ declare const routes: {
|
|
|
74105
74655
|
created_at: string;
|
|
74106
74656
|
updated_at: string;
|
|
74107
74657
|
url: string;
|
|
74108
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74658
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74109
74659
|
enabled: boolean;
|
|
74110
74660
|
}>;
|
|
74111
74661
|
secret: z.ZodString;
|
|
@@ -74116,7 +74666,7 @@ declare const routes: {
|
|
|
74116
74666
|
created_at: string;
|
|
74117
74667
|
updated_at: string;
|
|
74118
74668
|
url: string;
|
|
74119
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74669
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74120
74670
|
enabled: boolean;
|
|
74121
74671
|
};
|
|
74122
74672
|
secret: string;
|
|
@@ -74127,7 +74677,7 @@ declare const routes: {
|
|
|
74127
74677
|
created_at: string;
|
|
74128
74678
|
updated_at: string;
|
|
74129
74679
|
url: string;
|
|
74130
|
-
events: ("contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74680
|
+
events: ("template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook")[];
|
|
74131
74681
|
enabled: boolean;
|
|
74132
74682
|
};
|
|
74133
74683
|
secret: string;
|
|
@@ -74151,24 +74701,24 @@ declare const routes: {
|
|
|
74151
74701
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
74152
74702
|
} & {
|
|
74153
74703
|
status: z.ZodOptional<z.ZodEnum<["pending", "succeeded", "failed"]>>;
|
|
74154
|
-
event_type: z.ZodOptional<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>>;
|
|
74704
|
+
event_type: z.ZodOptional<z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>>;
|
|
74155
74705
|
}, "strip", z.ZodTypeAny, {
|
|
74156
74706
|
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
74157
74707
|
cursor?: string | undefined;
|
|
74158
74708
|
limit?: number | undefined;
|
|
74159
|
-
event_type?: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook" | undefined;
|
|
74709
|
+
event_type?: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook" | undefined;
|
|
74160
74710
|
}, {
|
|
74161
74711
|
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
74162
74712
|
cursor?: string | undefined;
|
|
74163
74713
|
limit?: number | undefined;
|
|
74164
|
-
event_type?: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook" | undefined;
|
|
74714
|
+
event_type?: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook" | undefined;
|
|
74165
74715
|
}>;
|
|
74166
74716
|
readonly response: z.ZodObject<{
|
|
74167
74717
|
data: z.ZodArray<z.ZodObject<{
|
|
74168
74718
|
id: z.ZodString;
|
|
74169
74719
|
endpoint_id: z.ZodString;
|
|
74170
74720
|
event_id: z.ZodString;
|
|
74171
|
-
event_type: z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>;
|
|
74721
|
+
event_type: z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>;
|
|
74172
74722
|
status: z.ZodEnum<["pending", "succeeded", "failed"]>;
|
|
74173
74723
|
attempts: z.ZodNumber;
|
|
74174
74724
|
last_status_code: z.ZodNullable<z.ZodNumber>;
|
|
@@ -74184,7 +74734,7 @@ declare const routes: {
|
|
|
74184
74734
|
last_error: string | null;
|
|
74185
74735
|
endpoint_id: string;
|
|
74186
74736
|
event_id: string;
|
|
74187
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
74737
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
74188
74738
|
last_status_code: number | null;
|
|
74189
74739
|
next_attempt_at: string | null;
|
|
74190
74740
|
delivered_at: string | null;
|
|
@@ -74196,7 +74746,7 @@ declare const routes: {
|
|
|
74196
74746
|
last_error: string | null;
|
|
74197
74747
|
endpoint_id: string;
|
|
74198
74748
|
event_id: string;
|
|
74199
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
74749
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
74200
74750
|
last_status_code: number | null;
|
|
74201
74751
|
next_attempt_at: string | null;
|
|
74202
74752
|
delivered_at: string | null;
|
|
@@ -74211,7 +74761,7 @@ declare const routes: {
|
|
|
74211
74761
|
last_error: string | null;
|
|
74212
74762
|
endpoint_id: string;
|
|
74213
74763
|
event_id: string;
|
|
74214
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
74764
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
74215
74765
|
last_status_code: number | null;
|
|
74216
74766
|
next_attempt_at: string | null;
|
|
74217
74767
|
delivered_at: string | null;
|
|
@@ -74226,7 +74776,7 @@ declare const routes: {
|
|
|
74226
74776
|
last_error: string | null;
|
|
74227
74777
|
endpoint_id: string;
|
|
74228
74778
|
event_id: string;
|
|
74229
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
74779
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
74230
74780
|
last_status_code: number | null;
|
|
74231
74781
|
next_attempt_at: string | null;
|
|
74232
74782
|
delivered_at: string | null;
|
|
@@ -74254,7 +74804,7 @@ declare const routes: {
|
|
|
74254
74804
|
id: z.ZodString;
|
|
74255
74805
|
endpoint_id: z.ZodString;
|
|
74256
74806
|
event_id: z.ZodString;
|
|
74257
|
-
event_type: z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook"]>;
|
|
74807
|
+
event_type: z.ZodEnum<["message.sent", "message.failed", "contact.unsubscribed", "contact.resubscribed", "contact.bounced", "mailing.finished", "contact.subscribed", "import.finished", "mailing.scheduled", "mailing.started", "mailing.schedule_failed", "mailing.ab_winner_selected", "contact.tagged", "contact.updated", "automation.run_started", "automation.run_completed", "automation.run_exited", "automation.run_failed", "automation.webhook", "template.created", "template.updated", "template.deleted"]>;
|
|
74258
74808
|
status: z.ZodEnum<["pending", "succeeded", "failed"]>;
|
|
74259
74809
|
attempts: z.ZodNumber;
|
|
74260
74810
|
last_status_code: z.ZodNullable<z.ZodNumber>;
|
|
@@ -74270,7 +74820,7 @@ declare const routes: {
|
|
|
74270
74820
|
last_error: string | null;
|
|
74271
74821
|
endpoint_id: string;
|
|
74272
74822
|
event_id: string;
|
|
74273
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
74823
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
74274
74824
|
last_status_code: number | null;
|
|
74275
74825
|
next_attempt_at: string | null;
|
|
74276
74826
|
delivered_at: string | null;
|
|
@@ -74282,7 +74832,7 @@ declare const routes: {
|
|
|
74282
74832
|
last_error: string | null;
|
|
74283
74833
|
endpoint_id: string;
|
|
74284
74834
|
event_id: string;
|
|
74285
|
-
event_type: "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
74835
|
+
event_type: "template.created" | "template.updated" | "template.deleted" | "contact.unsubscribed" | "contact.subscribed" | "import.finished" | "mailing.scheduled" | "mailing.schedule_failed" | "mailing.ab_winner_selected" | "message.sent" | "message.failed" | "contact.resubscribed" | "contact.bounced" | "mailing.finished" | "mailing.started" | "contact.tagged" | "contact.updated" | "automation.run_started" | "automation.run_completed" | "automation.run_exited" | "automation.run_failed" | "automation.webhook";
|
|
74286
74836
|
last_status_code: number | null;
|
|
74287
74837
|
next_attempt_at: string | null;
|
|
74288
74838
|
delivered_at: string | null;
|
|
@@ -75748,18 +76298,24 @@ declare const routes: {
|
|
|
75748
76298
|
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
75749
76299
|
tracking_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
75750
76300
|
asset_policy: z.ZodOptional<z.ZodEnum<["any", "service_only"]>>;
|
|
76301
|
+
allowed_asset_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76302
|
+
merge_defaults: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
|
|
75751
76303
|
default_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75752
76304
|
}, "strip", z.ZodTypeAny, {
|
|
75753
76305
|
asset_policy?: "any" | "service_only" | undefined;
|
|
75754
76306
|
default_locale?: string | undefined;
|
|
75755
76307
|
locales?: string[] | undefined;
|
|
75756
76308
|
tracking_enabled?: boolean | undefined;
|
|
76309
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76310
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
75757
76311
|
default_timezone?: string | null | undefined;
|
|
75758
76312
|
}, {
|
|
75759
76313
|
asset_policy?: "any" | "service_only" | undefined;
|
|
75760
76314
|
default_locale?: string | undefined;
|
|
75761
76315
|
locales?: string[] | undefined;
|
|
75762
76316
|
tracking_enabled?: boolean | undefined;
|
|
76317
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76318
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
75763
76319
|
default_timezone?: string | null | undefined;
|
|
75764
76320
|
}>>;
|
|
75765
76321
|
owner: z.ZodObject<{
|
|
@@ -75785,6 +76341,8 @@ declare const routes: {
|
|
|
75785
76341
|
default_locale?: string | undefined;
|
|
75786
76342
|
locales?: string[] | undefined;
|
|
75787
76343
|
tracking_enabled?: boolean | undefined;
|
|
76344
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76345
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
75788
76346
|
default_timezone?: string | null | undefined;
|
|
75789
76347
|
} | undefined;
|
|
75790
76348
|
company_id?: string | undefined;
|
|
@@ -75800,6 +76358,8 @@ declare const routes: {
|
|
|
75800
76358
|
default_locale?: string | undefined;
|
|
75801
76359
|
locales?: string[] | undefined;
|
|
75802
76360
|
tracking_enabled?: boolean | undefined;
|
|
76361
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76362
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
75803
76363
|
default_timezone?: string | null | undefined;
|
|
75804
76364
|
} | undefined;
|
|
75805
76365
|
company_id?: string | undefined;
|
|
@@ -75813,18 +76373,24 @@ declare const routes: {
|
|
|
75813
76373
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
75814
76374
|
tracking_enabled: z.ZodBoolean;
|
|
75815
76375
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
76376
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
76377
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
75816
76378
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
75817
76379
|
}, "strip", z.ZodTypeAny, {
|
|
75818
76380
|
asset_policy: "any" | "service_only";
|
|
75819
76381
|
default_locale: string;
|
|
75820
76382
|
locales: string[];
|
|
75821
76383
|
tracking_enabled: boolean;
|
|
76384
|
+
allowed_asset_hosts: string[];
|
|
76385
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75822
76386
|
default_timezone: string | null;
|
|
75823
76387
|
}, {
|
|
75824
76388
|
asset_policy: "any" | "service_only";
|
|
75825
76389
|
default_locale: string;
|
|
75826
76390
|
locales: string[];
|
|
75827
76391
|
tracking_enabled: boolean;
|
|
76392
|
+
allowed_asset_hosts: string[];
|
|
76393
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75828
76394
|
default_timezone: string | null;
|
|
75829
76395
|
}>;
|
|
75830
76396
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -75841,6 +76407,8 @@ declare const routes: {
|
|
|
75841
76407
|
default_locale: string;
|
|
75842
76408
|
locales: string[];
|
|
75843
76409
|
tracking_enabled: boolean;
|
|
76410
|
+
allowed_asset_hosts: string[];
|
|
76411
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75844
76412
|
default_timezone: string | null;
|
|
75845
76413
|
};
|
|
75846
76414
|
company_id: string | null;
|
|
@@ -75855,6 +76423,8 @@ declare const routes: {
|
|
|
75855
76423
|
default_locale: string;
|
|
75856
76424
|
locales: string[];
|
|
75857
76425
|
tracking_enabled: boolean;
|
|
76426
|
+
allowed_asset_hosts: string[];
|
|
76427
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75858
76428
|
default_timezone: string | null;
|
|
75859
76429
|
};
|
|
75860
76430
|
company_id: string | null;
|
|
@@ -75886,18 +76456,24 @@ declare const routes: {
|
|
|
75886
76456
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
75887
76457
|
tracking_enabled: z.ZodBoolean;
|
|
75888
76458
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
76459
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
76460
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
75889
76461
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
75890
76462
|
}, "strip", z.ZodTypeAny, {
|
|
75891
76463
|
asset_policy: "any" | "service_only";
|
|
75892
76464
|
default_locale: string;
|
|
75893
76465
|
locales: string[];
|
|
75894
76466
|
tracking_enabled: boolean;
|
|
76467
|
+
allowed_asset_hosts: string[];
|
|
76468
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75895
76469
|
default_timezone: string | null;
|
|
75896
76470
|
}, {
|
|
75897
76471
|
asset_policy: "any" | "service_only";
|
|
75898
76472
|
default_locale: string;
|
|
75899
76473
|
locales: string[];
|
|
75900
76474
|
tracking_enabled: boolean;
|
|
76475
|
+
allowed_asset_hosts: string[];
|
|
76476
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75901
76477
|
default_timezone: string | null;
|
|
75902
76478
|
}>;
|
|
75903
76479
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -75916,6 +76492,8 @@ declare const routes: {
|
|
|
75916
76492
|
default_locale: string;
|
|
75917
76493
|
locales: string[];
|
|
75918
76494
|
tracking_enabled: boolean;
|
|
76495
|
+
allowed_asset_hosts: string[];
|
|
76496
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75919
76497
|
default_timezone: string | null;
|
|
75920
76498
|
};
|
|
75921
76499
|
company_id: string | null;
|
|
@@ -75931,6 +76509,8 @@ declare const routes: {
|
|
|
75931
76509
|
default_locale: string;
|
|
75932
76510
|
locales: string[];
|
|
75933
76511
|
tracking_enabled: boolean;
|
|
76512
|
+
allowed_asset_hosts: string[];
|
|
76513
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75934
76514
|
default_timezone: string | null;
|
|
75935
76515
|
};
|
|
75936
76516
|
company_id: string | null;
|
|
@@ -75949,6 +76529,8 @@ declare const routes: {
|
|
|
75949
76529
|
default_locale: string;
|
|
75950
76530
|
locales: string[];
|
|
75951
76531
|
tracking_enabled: boolean;
|
|
76532
|
+
allowed_asset_hosts: string[];
|
|
76533
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75952
76534
|
default_timezone: string | null;
|
|
75953
76535
|
};
|
|
75954
76536
|
company_id: string | null;
|
|
@@ -75967,6 +76549,8 @@ declare const routes: {
|
|
|
75967
76549
|
default_locale: string;
|
|
75968
76550
|
locales: string[];
|
|
75969
76551
|
tracking_enabled: boolean;
|
|
76552
|
+
allowed_asset_hosts: string[];
|
|
76553
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75970
76554
|
default_timezone: string | null;
|
|
75971
76555
|
};
|
|
75972
76556
|
company_id: string | null;
|
|
@@ -75990,18 +76574,24 @@ declare const routes: {
|
|
|
75990
76574
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
75991
76575
|
tracking_enabled: z.ZodBoolean;
|
|
75992
76576
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
76577
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
76578
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
75993
76579
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
75994
76580
|
}, "strip", z.ZodTypeAny, {
|
|
75995
76581
|
asset_policy: "any" | "service_only";
|
|
75996
76582
|
default_locale: string;
|
|
75997
76583
|
locales: string[];
|
|
75998
76584
|
tracking_enabled: boolean;
|
|
76585
|
+
allowed_asset_hosts: string[];
|
|
76586
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75999
76587
|
default_timezone: string | null;
|
|
76000
76588
|
}, {
|
|
76001
76589
|
asset_policy: "any" | "service_only";
|
|
76002
76590
|
default_locale: string;
|
|
76003
76591
|
locales: string[];
|
|
76004
76592
|
tracking_enabled: boolean;
|
|
76593
|
+
allowed_asset_hosts: string[];
|
|
76594
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76005
76595
|
default_timezone: string | null;
|
|
76006
76596
|
}>;
|
|
76007
76597
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -76018,6 +76608,8 @@ declare const routes: {
|
|
|
76018
76608
|
default_locale: string;
|
|
76019
76609
|
locales: string[];
|
|
76020
76610
|
tracking_enabled: boolean;
|
|
76611
|
+
allowed_asset_hosts: string[];
|
|
76612
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76021
76613
|
default_timezone: string | null;
|
|
76022
76614
|
};
|
|
76023
76615
|
company_id: string | null;
|
|
@@ -76032,6 +76624,8 @@ declare const routes: {
|
|
|
76032
76624
|
default_locale: string;
|
|
76033
76625
|
locales: string[];
|
|
76034
76626
|
tracking_enabled: boolean;
|
|
76627
|
+
allowed_asset_hosts: string[];
|
|
76628
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76035
76629
|
default_timezone: string | null;
|
|
76036
76630
|
};
|
|
76037
76631
|
company_id: string | null;
|
|
@@ -76050,18 +76644,24 @@ declare const routes: {
|
|
|
76050
76644
|
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76051
76645
|
tracking_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
76052
76646
|
asset_policy: z.ZodOptional<z.ZodEnum<["any", "service_only"]>>;
|
|
76647
|
+
allowed_asset_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76648
|
+
merge_defaults: z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>>;
|
|
76053
76649
|
default_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76054
76650
|
}, "strip", z.ZodTypeAny, {
|
|
76055
76651
|
asset_policy?: "any" | "service_only" | undefined;
|
|
76056
76652
|
default_locale?: string | undefined;
|
|
76057
76653
|
locales?: string[] | undefined;
|
|
76058
76654
|
tracking_enabled?: boolean | undefined;
|
|
76655
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76656
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
76059
76657
|
default_timezone?: string | null | undefined;
|
|
76060
76658
|
}, {
|
|
76061
76659
|
asset_policy?: "any" | "service_only" | undefined;
|
|
76062
76660
|
default_locale?: string | undefined;
|
|
76063
76661
|
locales?: string[] | undefined;
|
|
76064
76662
|
tracking_enabled?: boolean | undefined;
|
|
76663
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76664
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
76065
76665
|
default_timezone?: string | null | undefined;
|
|
76066
76666
|
}>>;
|
|
76067
76667
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -76071,6 +76671,8 @@ declare const routes: {
|
|
|
76071
76671
|
default_locale?: string | undefined;
|
|
76072
76672
|
locales?: string[] | undefined;
|
|
76073
76673
|
tracking_enabled?: boolean | undefined;
|
|
76674
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76675
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
76074
76676
|
default_timezone?: string | null | undefined;
|
|
76075
76677
|
} | undefined;
|
|
76076
76678
|
}, {
|
|
@@ -76080,6 +76682,8 @@ declare const routes: {
|
|
|
76080
76682
|
default_locale?: string | undefined;
|
|
76081
76683
|
locales?: string[] | undefined;
|
|
76082
76684
|
tracking_enabled?: boolean | undefined;
|
|
76685
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76686
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
76083
76687
|
default_timezone?: string | null | undefined;
|
|
76084
76688
|
} | undefined;
|
|
76085
76689
|
}>, {
|
|
@@ -76089,6 +76693,8 @@ declare const routes: {
|
|
|
76089
76693
|
default_locale?: string | undefined;
|
|
76090
76694
|
locales?: string[] | undefined;
|
|
76091
76695
|
tracking_enabled?: boolean | undefined;
|
|
76696
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76697
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
76092
76698
|
default_timezone?: string | null | undefined;
|
|
76093
76699
|
} | undefined;
|
|
76094
76700
|
}, {
|
|
@@ -76098,6 +76704,8 @@ declare const routes: {
|
|
|
76098
76704
|
default_locale?: string | undefined;
|
|
76099
76705
|
locales?: string[] | undefined;
|
|
76100
76706
|
tracking_enabled?: boolean | undefined;
|
|
76707
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76708
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
76101
76709
|
default_timezone?: string | null | undefined;
|
|
76102
76710
|
} | undefined;
|
|
76103
76711
|
}>;
|
|
@@ -76110,18 +76718,24 @@ declare const routes: {
|
|
|
76110
76718
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
76111
76719
|
tracking_enabled: z.ZodBoolean;
|
|
76112
76720
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
76721
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
76722
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
76113
76723
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
76114
76724
|
}, "strip", z.ZodTypeAny, {
|
|
76115
76725
|
asset_policy: "any" | "service_only";
|
|
76116
76726
|
default_locale: string;
|
|
76117
76727
|
locales: string[];
|
|
76118
76728
|
tracking_enabled: boolean;
|
|
76729
|
+
allowed_asset_hosts: string[];
|
|
76730
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76119
76731
|
default_timezone: string | null;
|
|
76120
76732
|
}, {
|
|
76121
76733
|
asset_policy: "any" | "service_only";
|
|
76122
76734
|
default_locale: string;
|
|
76123
76735
|
locales: string[];
|
|
76124
76736
|
tracking_enabled: boolean;
|
|
76737
|
+
allowed_asset_hosts: string[];
|
|
76738
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76125
76739
|
default_timezone: string | null;
|
|
76126
76740
|
}>;
|
|
76127
76741
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -76138,6 +76752,8 @@ declare const routes: {
|
|
|
76138
76752
|
default_locale: string;
|
|
76139
76753
|
locales: string[];
|
|
76140
76754
|
tracking_enabled: boolean;
|
|
76755
|
+
allowed_asset_hosts: string[];
|
|
76756
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76141
76757
|
default_timezone: string | null;
|
|
76142
76758
|
};
|
|
76143
76759
|
company_id: string | null;
|
|
@@ -76152,6 +76768,8 @@ declare const routes: {
|
|
|
76152
76768
|
default_locale: string;
|
|
76153
76769
|
locales: string[];
|
|
76154
76770
|
tracking_enabled: boolean;
|
|
76771
|
+
allowed_asset_hosts: string[];
|
|
76772
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76155
76773
|
default_timezone: string | null;
|
|
76156
76774
|
};
|
|
76157
76775
|
company_id: string | null;
|
|
@@ -76184,18 +76802,24 @@ declare const routes: {
|
|
|
76184
76802
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
76185
76803
|
tracking_enabled: z.ZodBoolean;
|
|
76186
76804
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
76805
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
76806
|
+
merge_defaults: z.ZodEffects<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>, Record<string, string | number | boolean>, Record<string, string | number | boolean>>;
|
|
76187
76807
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
76188
76808
|
}, "strip", z.ZodTypeAny, {
|
|
76189
76809
|
asset_policy: "any" | "service_only";
|
|
76190
76810
|
default_locale: string;
|
|
76191
76811
|
locales: string[];
|
|
76192
76812
|
tracking_enabled: boolean;
|
|
76813
|
+
allowed_asset_hosts: string[];
|
|
76814
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76193
76815
|
default_timezone: string | null;
|
|
76194
76816
|
}, {
|
|
76195
76817
|
asset_policy: "any" | "service_only";
|
|
76196
76818
|
default_locale: string;
|
|
76197
76819
|
locales: string[];
|
|
76198
76820
|
tracking_enabled: boolean;
|
|
76821
|
+
allowed_asset_hosts: string[];
|
|
76822
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76199
76823
|
default_timezone: string | null;
|
|
76200
76824
|
}>;
|
|
76201
76825
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -76212,6 +76836,8 @@ declare const routes: {
|
|
|
76212
76836
|
default_locale: string;
|
|
76213
76837
|
locales: string[];
|
|
76214
76838
|
tracking_enabled: boolean;
|
|
76839
|
+
allowed_asset_hosts: string[];
|
|
76840
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76215
76841
|
default_timezone: string | null;
|
|
76216
76842
|
};
|
|
76217
76843
|
company_id: string | null;
|
|
@@ -76226,6 +76852,8 @@ declare const routes: {
|
|
|
76226
76852
|
default_locale: string;
|
|
76227
76853
|
locales: string[];
|
|
76228
76854
|
tracking_enabled: boolean;
|
|
76855
|
+
allowed_asset_hosts: string[];
|
|
76856
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76229
76857
|
default_timezone: string | null;
|
|
76230
76858
|
};
|
|
76231
76859
|
company_id: string | null;
|
|
@@ -76585,23 +77213,23 @@ declare const routes: {
|
|
|
76585
77213
|
cursor: z.ZodOptional<z.ZodString>;
|
|
76586
77214
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
76587
77215
|
} & {
|
|
76588
|
-
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
77216
|
+
action: z.ZodOptional<z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>>;
|
|
76589
77217
|
target_id: z.ZodOptional<z.ZodString>;
|
|
76590
77218
|
}, "strip", z.ZodTypeAny, {
|
|
76591
77219
|
cursor?: string | undefined;
|
|
76592
77220
|
limit?: number | undefined;
|
|
76593
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
77221
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
76594
77222
|
target_id?: string | undefined;
|
|
76595
77223
|
}, {
|
|
76596
77224
|
cursor?: string | undefined;
|
|
76597
77225
|
limit?: number | undefined;
|
|
76598
|
-
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
77226
|
+
action?: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded" | undefined;
|
|
76599
77227
|
target_id?: string | undefined;
|
|
76600
77228
|
}>;
|
|
76601
77229
|
readonly response: z.ZodObject<{
|
|
76602
77230
|
data: z.ZodArray<z.ZodObject<{
|
|
76603
77231
|
id: z.ZodString;
|
|
76604
|
-
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
77232
|
+
action: z.ZodEnum<["workspace.created", "workspace.updated", "workspace.company_changed", "member.added", "member.role_changed", "member.removed", "member.invited", "invite.revoked", "api_key.created", "api_key.revoked", "provider.created", "provider.updated", "provider.deleted", "provider.events_registered", "provider.events_secret_set", "provider.bounces_halted", "provider.anomaly_cleared", "topic.created", "topic.updated", "topic.deleted", "template.created", "template.updated", "template.deleted", "saved_section.created", "saved_section.updated", "saved_section.deleted", "asset.uploaded", "asset.imported", "contact.erased", "suppression.created", "suppression.deleted", "mailing.created", "mailing.sent", "mailing.paused", "mailing.resumed", "mailing.cancelled", "mailing.retried", "webhook.created", "webhook.updated", "webhook.deleted", "webhook.secret_rotated", "webhook.redelivered", "contact.unsubscribed", "tag.created", "tag.deleted", "tag.assigned", "tag.unassigned", "contact_property.created", "contact_property.deleted", "segment.created", "segment.updated", "segment.deleted", "signup_form.created", "signup_form.updated", "signup_form.deleted", "contact.subscribed", "import.created", "import.mapped", "import.committed", "import.cancelled", "import.finished", "mailing.scheduled", "mailing.unscheduled", "mailing.schedule_failed", "mailing.ab_test_updated", "mailing.ab_winner_selected", "tracking.updated", "billing.checkout_started", "billing.subscription_changed", "billing.exemption_changed", "automation.created", "automation.updated", "automation.published", "automation.paused", "automation.resumed", "automation.archived", "automation.deleted", "automation.duplicated", "automation.enrolled", "automation.run_ended", "event.recorded"]>;
|
|
76605
77233
|
actor: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
76606
77234
|
type: z.ZodLiteral<"member">;
|
|
76607
77235
|
member_id: z.ZodString;
|
|
@@ -76617,12 +77245,15 @@ declare const routes: {
|
|
|
76617
77245
|
}>, z.ZodObject<{
|
|
76618
77246
|
type: z.ZodLiteral<"api_key">;
|
|
76619
77247
|
api_key_id: z.ZodString;
|
|
77248
|
+
on_behalf_of: z.ZodOptional<z.ZodString>;
|
|
76620
77249
|
}, "strip", z.ZodTypeAny, {
|
|
76621
77250
|
type: "api_key";
|
|
76622
77251
|
api_key_id: string;
|
|
77252
|
+
on_behalf_of?: string | undefined;
|
|
76623
77253
|
}, {
|
|
76624
77254
|
type: "api_key";
|
|
76625
77255
|
api_key_id: string;
|
|
77256
|
+
on_behalf_of?: string | undefined;
|
|
76626
77257
|
}>, z.ZodObject<{
|
|
76627
77258
|
type: z.ZodLiteral<"system">;
|
|
76628
77259
|
reason: z.ZodString;
|
|
@@ -76641,7 +77272,7 @@ declare const routes: {
|
|
|
76641
77272
|
id: string;
|
|
76642
77273
|
details: Record<string, unknown>;
|
|
76643
77274
|
created_at: string;
|
|
76644
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
77275
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
76645
77276
|
actor: {
|
|
76646
77277
|
type: "member";
|
|
76647
77278
|
subject: string;
|
|
@@ -76649,6 +77280,7 @@ declare const routes: {
|
|
|
76649
77280
|
} | {
|
|
76650
77281
|
type: "api_key";
|
|
76651
77282
|
api_key_id: string;
|
|
77283
|
+
on_behalf_of?: string | undefined;
|
|
76652
77284
|
} | {
|
|
76653
77285
|
type: "system";
|
|
76654
77286
|
reason: string;
|
|
@@ -76659,7 +77291,7 @@ declare const routes: {
|
|
|
76659
77291
|
id: string;
|
|
76660
77292
|
details: Record<string, unknown>;
|
|
76661
77293
|
created_at: string;
|
|
76662
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
77294
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
76663
77295
|
actor: {
|
|
76664
77296
|
type: "member";
|
|
76665
77297
|
subject: string;
|
|
@@ -76667,6 +77299,7 @@ declare const routes: {
|
|
|
76667
77299
|
} | {
|
|
76668
77300
|
type: "api_key";
|
|
76669
77301
|
api_key_id: string;
|
|
77302
|
+
on_behalf_of?: string | undefined;
|
|
76670
77303
|
} | {
|
|
76671
77304
|
type: "system";
|
|
76672
77305
|
reason: string;
|
|
@@ -76680,7 +77313,7 @@ declare const routes: {
|
|
|
76680
77313
|
id: string;
|
|
76681
77314
|
details: Record<string, unknown>;
|
|
76682
77315
|
created_at: string;
|
|
76683
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
77316
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
76684
77317
|
actor: {
|
|
76685
77318
|
type: "member";
|
|
76686
77319
|
subject: string;
|
|
@@ -76688,6 +77321,7 @@ declare const routes: {
|
|
|
76688
77321
|
} | {
|
|
76689
77322
|
type: "api_key";
|
|
76690
77323
|
api_key_id: string;
|
|
77324
|
+
on_behalf_of?: string | undefined;
|
|
76691
77325
|
} | {
|
|
76692
77326
|
type: "system";
|
|
76693
77327
|
reason: string;
|
|
@@ -76701,7 +77335,7 @@ declare const routes: {
|
|
|
76701
77335
|
id: string;
|
|
76702
77336
|
details: Record<string, unknown>;
|
|
76703
77337
|
created_at: string;
|
|
76704
|
-
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
77338
|
+
action: "workspace.created" | "workspace.updated" | "workspace.company_changed" | "member.added" | "member.role_changed" | "member.removed" | "member.invited" | "invite.revoked" | "api_key.created" | "api_key.revoked" | "provider.created" | "provider.updated" | "provider.deleted" | "provider.events_registered" | "provider.events_secret_set" | "provider.bounces_halted" | "provider.anomaly_cleared" | "topic.created" | "topic.updated" | "topic.deleted" | "template.created" | "template.updated" | "template.deleted" | "saved_section.created" | "saved_section.updated" | "saved_section.deleted" | "asset.uploaded" | "asset.imported" | "contact.erased" | "suppression.created" | "suppression.deleted" | "mailing.created" | "mailing.sent" | "mailing.paused" | "mailing.resumed" | "mailing.cancelled" | "mailing.retried" | "webhook.created" | "webhook.updated" | "webhook.deleted" | "webhook.secret_rotated" | "webhook.redelivered" | "contact.unsubscribed" | "tag.created" | "tag.deleted" | "tag.assigned" | "tag.unassigned" | "contact_property.created" | "contact_property.deleted" | "segment.created" | "segment.updated" | "segment.deleted" | "signup_form.created" | "signup_form.updated" | "signup_form.deleted" | "contact.subscribed" | "import.created" | "import.mapped" | "import.committed" | "import.cancelled" | "import.finished" | "mailing.scheduled" | "mailing.unscheduled" | "mailing.schedule_failed" | "mailing.ab_test_updated" | "mailing.ab_winner_selected" | "tracking.updated" | "billing.checkout_started" | "billing.subscription_changed" | "billing.exemption_changed" | "automation.created" | "automation.updated" | "automation.published" | "automation.paused" | "automation.resumed" | "automation.archived" | "automation.deleted" | "automation.duplicated" | "automation.enrolled" | "automation.run_ended" | "event.recorded";
|
|
76705
77339
|
actor: {
|
|
76706
77340
|
type: "member";
|
|
76707
77341
|
subject: string;
|
|
@@ -76709,6 +77343,7 @@ declare const routes: {
|
|
|
76709
77343
|
} | {
|
|
76710
77344
|
type: "api_key";
|
|
76711
77345
|
api_key_id: string;
|
|
77346
|
+
on_behalf_of?: string | undefined;
|
|
76712
77347
|
} | {
|
|
76713
77348
|
type: "system";
|
|
76714
77349
|
reason: string;
|
|
@@ -76744,10 +77379,16 @@ type RouteResponse<K extends OperationId> = Infer<Routes[K]['response']>;
|
|
|
76744
77379
|
declare function acceptsIdempotencyKey(route: RouteDef): boolean;
|
|
76745
77380
|
/** Fills the `:name` segments of a route path, URL-encoding each value. */
|
|
76746
77381
|
declare function buildPath(path: string, params?: Record<string, string | number>): string;
|
|
77382
|
+
/**
|
|
77383
|
+
* Every operation declaring one access level, sorted by id: what a caller that
|
|
77384
|
+
* satisfies exactly that level may reach. A bridge that only reads mounts
|
|
77385
|
+
* `operationsWithAccess('read')`, for instance.
|
|
77386
|
+
*/
|
|
77387
|
+
declare function operationsWithAccess(access: RouteAccess): OperationId[];
|
|
76747
77388
|
/** Finds the operation for a method and a concrete path, e.g. for logging. */
|
|
76748
77389
|
declare function matchRoute(method: HttpMethod, pathname: string): {
|
|
76749
77390
|
id: OperationId;
|
|
76750
77391
|
params: Record<string, string>;
|
|
76751
77392
|
} | null;
|
|
76752
77393
|
|
|
76753
|
-
export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BoundedAutomationFilter, BoundedSegmentFilter, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, Email, EmailStep, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LIST_UNSUBSCRIBE_POST_VALUE, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_TRIGGERS, MEMBER_ROLES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingListQuery, MailingMetadata, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCreate, MemberRole, MemberUpdate, type MergeFieldUse, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, type MjmlImportRefusal, NotifyRecipients, NotifyStep, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PROVIDER_KINDS, type Page, PageQuery, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, ResendSigningSecret, type ReservedMergeField, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TERMINAL_MAILING_STATUSES, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateListQuery, TemplateSummary, TemplateUpdate, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, type ValidationContext, ValidationIssue, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, canTransition, cycles, defaultSettings, emptyFlow, errorBody, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, matchRoute, missingRequiredMergeFields, nowSeconds, page, parseExportWarningsHeader, parseUsageWarningHeader, platformRoutes, reachable, routes, sendingRoutes, signWebhook, statusForError, stepTargets, stronglyConnected, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, triggerKey, validateAutomation, verifyWebhook };
|
|
77394
|
+
export { AB_TEST_STATUSES, AB_WINNER_METRICS, API_KEY_SCOPES, API_VERSION_PREFIX, ASSET_CONTENT_TYPES, ASSET_POLICIES, ASSET_UPLOAD_FIELD, AUDIT_ACTIONS, AUTHORIZATION_HEADER, AUTOMATION_DATE_TRIGGER_KINDS, AUTOMATION_END_REASONS, AUTOMATION_ENTRY_REFUSALS, AUTOMATION_FILTER_FIELD_OPERATORS, AUTOMATION_FILTER_FIELD_PATTERN, AUTOMATION_ISSUE_CODES, AUTOMATION_STATUSES, AUTOMATION_STEP_KINDS, AUTOMATION_TRIGGER_KINDS, AUTOMATION_WAIT_REASONS, AbTestConfig, AbTestState, AbVariant, AbWinnerRequest, ApiKey, ApiKeyCreate, ApiKeyCreated, ApiKeyScope, Asset, AssetContentType, AssetHost, AssetImport, AssetPolicy, AuditAction, AuditActor, AuditEntry, AuditQuery, Automation, AutomationCounts, AutomationCreate, type AutomationDateTriggerKind, AutomationDuplicateRequest, AutomationEndReason, AutomationEnrollRequest, AutomationEnrollResult, AutomationEnrollment, AutomationEntryRefusal, AutomationExitRunRequest, AutomationFilter, AutomationFilterCondition, AutomationFilterField, AutomationFlow, AutomationIssue, AutomationIssueCode, AutomationJourney, AutomationListQuery, AutomationPublishMove, AutomationPublishRequest, AutomationPublishResult, AutomationReport, AutomationRun, AutomationRunCompletedData, AutomationRunExitedData, AutomationRunFailedData, AutomationRunListQuery, AutomationRunParams, AutomationRunStartedData, AutomationRunStatus, AutomationSettings, AutomationStatus, AutomationStep, AutomationStepExecution, AutomationStepKind, AutomationStepParams, AutomationStepReport, AutomationSummary, AutomationTestEmailRequest, AutomationTrigger, AutomationTriggerKind, AutomationUpdate, AutomationValidateRequest, AutomationValidation, AutomationWaitReason, AutomationWebhookData, AutomationWithFlow, BEARER_PREFIX, BILLING_NOT_CONFIGURED_REASON, BoundedAutomationFilter, BoundedSegmentFilter, CONTACT_PROPERTY_TYPES, CatalogPlan, CheckoutRequest, CheckoutSession, CompanyId, CompileMessage, CompileRequest, CompileResult, ConditionStep, Contact, ContactAutomationListQuery, ContactAutomationRun, ContactBouncedData, ContactErased, ContactListQuery, ContactPropertyDefinition, ContactPropertyKey, ContactPropertyParams, ContactPropertyType, ContactResubscribedData, ContactSubscribedData, ContactTaggedData, ContactUnsubscribedData, ContactUpdatedData, ContactUpsert, ContactUpsertResult, DATE_PASSED_ANSWERS, DEFAULT_INVITE_TTL_DAYS, DEFAULT_PAGE_LIMIT, DOCUMENT_SCHEMA_VERSIONS, DateOnly, DatePassedAnswer, DelayStep, DocumentSchemaVersion, EDITABLE_MAILING_STATUSES, ERROR_CODES, ERROR_STATUS, EXPORT_CONTENT_TYPES, EXPORT_FORMATS, EXPORT_WARNINGS_HEADER, EXPORT_WARNING_COUNT_HEADER, Email, EmailStep, ErrorBody, type ErrorCode, ErrorCodeSchema, Event, EventCreate, EventListQuery, EventName, ExportFormat, FILTER_FIELD_OPERATORS, FILTER_OPERATORS, FilterCondition, FilterField, type FilterLeafProblem, FilterOperator, GotoStep, HEALTH_PATH, HOSTED_PAGE_LOCALES, type HttpMethod, ICLOUD_SMTP_POLICY, IDEMPOTENCY_KEY_HEADER, IDEMPOTENCY_KEY_MAX_LENGTH, IDEMPOTENCY_KEY_RETENTION_HOURS, IMPORT_FILE_FIELD, IMPORT_ROW_OUTCOMES, IMPORT_SKIP_REASONS, IMPORT_STATUSES, IMPORT_TERMINAL_STATUSES, INVITE_REFUSAL_REASONS, INVITE_STATUSES, Id, IdParams, ImportColumnMapping, ImportCommitRequest, ImportFinishedData, ImportJob, ImportMappingRequest, ImportReport, ImportRow, ImportRowListQuery, ImportRowOutcome, ImportSkipReason, ImportStatus, ImportWarning, ImportedAsset, Invite, InviteAccept, InviteAccepted, InviteCreate, InviteCreated, InviteListQuery, type InviteRefusalReason, InviteStatus, JsonValue, LETTER_RECIPIENT_REFUSAL, LIST_UNSUBSCRIBE_POST_VALUE, MAILING_ACTIONS, MAILING_KINDS, MAILING_STATUSES, MAILING_TRANSITIONS, MAX_ALLOWED_ASSET_HOSTS, MAX_ASSET_BYTES, MAX_DELAY_SECONDS, MAX_DOCUMENT_BYTES, MAX_ENGAGEMENT_DAYS, MAX_EXPORT_WARNINGS_HEADER_LENGTH, MAX_FILTER_DEPTH, MAX_IMPORTED_REMOTE_IMAGES, MAX_IMPORT_BYTES, MAX_IMPORT_ROWS, MAX_IMPORT_URL_LENGTH, MAX_INVITE_TTL_DAYS, MAX_IN_LIST, MAX_LETTER_RECIPIENTS, MAX_MERGE_DEFAULTS, MAX_MERGE_DEFAULT_LENGTH, MAX_MJML_DEPTH, MAX_MJML_ELEMENTS, MAX_MJML_IMPORT_BYTES, MAX_PAGE_LIMIT, MAX_RECIPIENTS_PER_BATCH, MAX_RE_ENTRY_COOLDOWN_SECONDS, MAX_SAVED_SECTIONS, MAX_SPLIT_BRANCHES, MAX_STEPS, MAX_STEP_VISITS, MAX_TRIGGERS, MEMBER_ROLES, MERGE_FIELD_PATTERN, MESSAGE_OUTCOMES, MIN_SPLIT_BRANCHES, MJML_IMPORT_REFUSALS, Mailing, MailingAbWinnerSelectedData, MailingAction, MailingActionRequest, MailingAnalytics, MailingAudienceFromSegment, MailingCounts, MailingCreate, MailingExportQuery, MailingFinishedData, MailingKind, MailingListQuery, MailingMetadata, MailingRetryFailedRequest, MailingScheduleFailedData, MailingScheduleRequest, MailingScheduledData, MailingSendRequest, MailingStartedData, MailingStatus, MailingSummary, MailingTestRequest, MailingTestResult, MailingUpdate, Member, MemberCreate, MemberRole, MemberUpdate, MergeDefaultValue, MergeDefaults, MergeFieldName, type MergeFieldUse, Message, MessageFailedData, MessageListQuery, MessageOutcome, MessageSentData, MessageSummary, type MjmlImportRefusal, NotifyRecipients, NotifyStep, ON_BEHALF_OF_HEADER, ON_BEHALF_OF_MAX_LENGTH, OffsetDays, Ok, type OperationId, PLAN_FEATURES, PLAN_IDS, PROVIDER_KINDS, type Page, PageQuery, type Phase, Plan, type PlanFeature, PlanFeatures, PlanId, PlanLimits, PortalRequest, PortalSession, Properties, Provider, ProviderCreate, ProviderEvents, ProviderEventsSecret, ProviderKind, ProviderPolicy, ProviderRejections, ProviderUpdate, ProviderUsage, ProviderVerifyResult, QuietHours, RECIPIENT_REJECTIONS, RECIPIENT_STATUSES, REQUEST_ID_HEADER, RESEND_EVENT_TYPES, RESERVED_MERGE_FIELDS, RETRYABLE_ERRORS, RETRY_AFTER_HEADER, RE_ENTRY_MODES, ReEntryMode, Recipient, RecipientBatch, RecipientBatchResult, RecipientInput, RecipientListQuery, RecipientStatus, RemoteImage, ResendSigningSecret, type ReservedMergeField, type RouteAccess, type RouteBody, type RouteDef, type RouteParams, type RouteQuery, type RouteResponse, type Routes, SIGNUP_FORM_FIELDS, SKIP_REASONS, SMTP_SECURITY, SUBJECT_HEADER, SUPPRESSION_REASONS, SavedSection, SavedSectionBody, SavedSectionCreate, SavedSectionUpdate, Segment, SegmentCreate, SegmentFilter, SegmentPreview, SegmentPreviewRequest, SignupForm, SignupFormCreate, SignupFormEmbed, SignupFormTranslation, SignupSubmission, SkipReason, Slug, SplitBranchKey, SplitStep, StepId, type StepTarget, Subscription, Suppression, SuppressionCreate, SuppressionListQuery, SuppressionReason, TERMINAL_MAILING_STATUSES, Tag, TagAssignment, TagCreate, Template, TemplateCompileRequest, TemplateCreate, TemplateCreatedData, TemplateDeletedData, TemplateDocument, TemplateExportQuery, TemplateImport, TemplateImportPreview, TemplateImportPreviewRequest, TemplateImportResult, TemplateListQuery, TemplateSummary, TemplateUpdate, TemplateUpdatedData, TemplateVersion, TemplateVersionParams, TimeOfDay, Timestamp, TimezoneName, Topic, TopicCreate, TopicUpdate, TrackingSettings, UNSUBSCRIBE_PATH_PREFIX, UNSUBSCRIBE_SOURCES, USAGE_METRICS, USAGE_WARNING_HEADER, USAGE_WARNING_RATIO, type UnsubscribeToken, type UnsubscribeTokenClaims, Usage, UsageMetric, UsageWarning, type UsageWarningHeaderEntry, type ValidationContext, ValidationIssue, VariantAnalytics, type VerifyWebhookInput, WEBHOOK_DELIVERY_STATUSES, WEBHOOK_EVENT_ID_HEADER, WEBHOOK_EVENT_TYPES, WEBHOOK_MAX_ATTEMPTS, WEBHOOK_RETRY_DELAYS_SECONDS, WEBHOOK_SECRET_PREFIX, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_SIGNATURE_VERSION, WEBHOOK_TIMESTAMP_HEADER, WEBHOOK_TOLERANCE_SECONDS, WORKSPACE_HEADER, WebhookDelivery, WebhookDeliveryListQuery, WebhookDeliveryParams, WebhookDeliveryStatus, WebhookEndpoint, WebhookEndpointCreate, WebhookEndpointUpdate, WebhookEndpointWithSecret, WebhookEvent, type WebhookEventOf, WebhookEventType, WebhookStep, WebhookUrl, type WebhookVerifyFailure, type WebhookVerifyResult, Weekday, Workspace, WorkspaceCreate, WorkspaceMembership, WorkspaceMove, WorkspaceSettings, WorkspaceUpdate, acceptsIdempotencyKey, alwaysWaits, automationFilterFamily, automationRoutes, billingRoutes, buildPath, canTransition, cycles, defaultSettings, emptyFlow, errorBody, exportFilename, filterConditions, filterDepth, filterFieldFamily, filterLeafProblem, findMergeFields, formatExportWarningsHeader, formatUsageWarningHeader, foundationRoutes, inviteRoutes, isDayEntirelyPast, isPublishable, isRetryableError, matchRoute, missingRequiredMergeFields, nowSeconds, operationsWithAccess, page, parseExportWarningsHeader, parseUsageWarningHeader, platformRoutes, reachable, routes, sendingRoutes, signWebhook, statusForError, stepTargets, stronglyConnected, templateRoutes, testGroupSize, tightLoops, timingSafeEqualString, triggerKey, validateAutomation, verifyWebhook };
|