@marlinjai/mail-contract 0.2.0 → 0.3.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 +675 -105
- package/dist/index.d.ts +675 -105
- package/dist/index.js +107 -29
- package/dist/index.mjs +94 -29
- 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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -4500,8 +4645,8 @@ declare const MessageListQuery: z.ZodObject<{
|
|
|
4500
4645
|
}>;
|
|
4501
4646
|
type MessageListQuery = z.infer<typeof MessageListQuery>;
|
|
4502
4647
|
|
|
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"]>;
|
|
4648
|
+
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"];
|
|
4649
|
+
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
4650
|
type WebhookEventType = z.infer<typeof WebhookEventType>;
|
|
4506
4651
|
declare const MessageSentData: z.ZodObject<{
|
|
4507
4652
|
message_id: z.ZodString;
|
|
@@ -5205,6 +5350,72 @@ declare const AutomationWebhookData: z.ZodObject<{
|
|
|
5205
5350
|
fired_at: string;
|
|
5206
5351
|
}>;
|
|
5207
5352
|
type AutomationWebhookData = z.infer<typeof AutomationWebhookData>;
|
|
5353
|
+
declare const TemplateCreatedData: z.ZodObject<{
|
|
5354
|
+
template_id: z.ZodString;
|
|
5355
|
+
name: z.ZodString;
|
|
5356
|
+
version: z.ZodNumber;
|
|
5357
|
+
source: z.ZodEnum<["api", "dashboard", "mjml_import"]>;
|
|
5358
|
+
} & {
|
|
5359
|
+
created_at: z.ZodString;
|
|
5360
|
+
}, "strip", z.ZodTypeAny, {
|
|
5361
|
+
version: number;
|
|
5362
|
+
name: string;
|
|
5363
|
+
created_at: string;
|
|
5364
|
+
template_id: string;
|
|
5365
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
5366
|
+
}, {
|
|
5367
|
+
version: number;
|
|
5368
|
+
name: string;
|
|
5369
|
+
created_at: string;
|
|
5370
|
+
template_id: string;
|
|
5371
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
5372
|
+
}>;
|
|
5373
|
+
type TemplateCreatedData = z.infer<typeof TemplateCreatedData>;
|
|
5374
|
+
declare const TemplateUpdatedData: z.ZodObject<{
|
|
5375
|
+
template_id: z.ZodString;
|
|
5376
|
+
name: z.ZodString;
|
|
5377
|
+
version: z.ZodNumber;
|
|
5378
|
+
source: z.ZodEnum<["api", "dashboard", "mjml_import"]>;
|
|
5379
|
+
} & {
|
|
5380
|
+
archived: z.ZodBoolean;
|
|
5381
|
+
updated_at: z.ZodString;
|
|
5382
|
+
}, "strip", z.ZodTypeAny, {
|
|
5383
|
+
version: number;
|
|
5384
|
+
name: string;
|
|
5385
|
+
updated_at: string;
|
|
5386
|
+
archived: boolean;
|
|
5387
|
+
template_id: string;
|
|
5388
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
5389
|
+
}, {
|
|
5390
|
+
version: number;
|
|
5391
|
+
name: string;
|
|
5392
|
+
updated_at: string;
|
|
5393
|
+
archived: boolean;
|
|
5394
|
+
template_id: string;
|
|
5395
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
5396
|
+
}>;
|
|
5397
|
+
type TemplateUpdatedData = z.infer<typeof TemplateUpdatedData>;
|
|
5398
|
+
declare const TemplateDeletedData: z.ZodObject<{
|
|
5399
|
+
template_id: z.ZodString;
|
|
5400
|
+
name: z.ZodString;
|
|
5401
|
+
version: z.ZodNumber;
|
|
5402
|
+
source: z.ZodEnum<["api", "dashboard", "mjml_import"]>;
|
|
5403
|
+
} & {
|
|
5404
|
+
deleted_at: z.ZodString;
|
|
5405
|
+
}, "strip", z.ZodTypeAny, {
|
|
5406
|
+
version: number;
|
|
5407
|
+
name: string;
|
|
5408
|
+
template_id: string;
|
|
5409
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
5410
|
+
deleted_at: string;
|
|
5411
|
+
}, {
|
|
5412
|
+
version: number;
|
|
5413
|
+
name: string;
|
|
5414
|
+
template_id: string;
|
|
5415
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
5416
|
+
deleted_at: string;
|
|
5417
|
+
}>;
|
|
5418
|
+
type TemplateDeletedData = z.infer<typeof TemplateDeletedData>;
|
|
5208
5419
|
/** The body of every webhook request. */
|
|
5209
5420
|
declare const WebhookEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5210
5421
|
/** Unique per event: a receiver deduplicates on it (deliveries may repeat). */
|
|
@@ -6553,6 +6764,161 @@ declare const WebhookEvent: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6553
6764
|
id: string;
|
|
6554
6765
|
created_at: string;
|
|
6555
6766
|
workspace_id: string;
|
|
6767
|
+
}>, z.ZodObject<{
|
|
6768
|
+
/** Unique per event: a receiver deduplicates on it (deliveries may repeat). */
|
|
6769
|
+
id: z.ZodString;
|
|
6770
|
+
type: z.ZodLiteral<"template.created">;
|
|
6771
|
+
created_at: z.ZodString;
|
|
6772
|
+
workspace_id: z.ZodString;
|
|
6773
|
+
data: z.ZodObject<{
|
|
6774
|
+
template_id: z.ZodString;
|
|
6775
|
+
name: z.ZodString;
|
|
6776
|
+
version: z.ZodNumber;
|
|
6777
|
+
source: z.ZodEnum<["api", "dashboard", "mjml_import"]>;
|
|
6778
|
+
} & {
|
|
6779
|
+
created_at: z.ZodString;
|
|
6780
|
+
}, "strip", z.ZodTypeAny, {
|
|
6781
|
+
version: number;
|
|
6782
|
+
name: string;
|
|
6783
|
+
created_at: string;
|
|
6784
|
+
template_id: string;
|
|
6785
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6786
|
+
}, {
|
|
6787
|
+
version: number;
|
|
6788
|
+
name: string;
|
|
6789
|
+
created_at: string;
|
|
6790
|
+
template_id: string;
|
|
6791
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6792
|
+
}>;
|
|
6793
|
+
}, "strip", z.ZodTypeAny, {
|
|
6794
|
+
type: "template.created";
|
|
6795
|
+
data: {
|
|
6796
|
+
version: number;
|
|
6797
|
+
name: string;
|
|
6798
|
+
created_at: string;
|
|
6799
|
+
template_id: string;
|
|
6800
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6801
|
+
};
|
|
6802
|
+
id: string;
|
|
6803
|
+
created_at: string;
|
|
6804
|
+
workspace_id: string;
|
|
6805
|
+
}, {
|
|
6806
|
+
type: "template.created";
|
|
6807
|
+
data: {
|
|
6808
|
+
version: number;
|
|
6809
|
+
name: string;
|
|
6810
|
+
created_at: string;
|
|
6811
|
+
template_id: string;
|
|
6812
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6813
|
+
};
|
|
6814
|
+
id: string;
|
|
6815
|
+
created_at: string;
|
|
6816
|
+
workspace_id: string;
|
|
6817
|
+
}>, z.ZodObject<{
|
|
6818
|
+
/** Unique per event: a receiver deduplicates on it (deliveries may repeat). */
|
|
6819
|
+
id: z.ZodString;
|
|
6820
|
+
type: z.ZodLiteral<"template.updated">;
|
|
6821
|
+
created_at: z.ZodString;
|
|
6822
|
+
workspace_id: z.ZodString;
|
|
6823
|
+
data: z.ZodObject<{
|
|
6824
|
+
template_id: z.ZodString;
|
|
6825
|
+
name: z.ZodString;
|
|
6826
|
+
version: z.ZodNumber;
|
|
6827
|
+
source: z.ZodEnum<["api", "dashboard", "mjml_import"]>;
|
|
6828
|
+
} & {
|
|
6829
|
+
archived: z.ZodBoolean;
|
|
6830
|
+
updated_at: z.ZodString;
|
|
6831
|
+
}, "strip", z.ZodTypeAny, {
|
|
6832
|
+
version: number;
|
|
6833
|
+
name: string;
|
|
6834
|
+
updated_at: string;
|
|
6835
|
+
archived: boolean;
|
|
6836
|
+
template_id: string;
|
|
6837
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6838
|
+
}, {
|
|
6839
|
+
version: number;
|
|
6840
|
+
name: string;
|
|
6841
|
+
updated_at: string;
|
|
6842
|
+
archived: boolean;
|
|
6843
|
+
template_id: string;
|
|
6844
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6845
|
+
}>;
|
|
6846
|
+
}, "strip", z.ZodTypeAny, {
|
|
6847
|
+
type: "template.updated";
|
|
6848
|
+
data: {
|
|
6849
|
+
version: number;
|
|
6850
|
+
name: string;
|
|
6851
|
+
updated_at: string;
|
|
6852
|
+
archived: boolean;
|
|
6853
|
+
template_id: string;
|
|
6854
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6855
|
+
};
|
|
6856
|
+
id: string;
|
|
6857
|
+
created_at: string;
|
|
6858
|
+
workspace_id: string;
|
|
6859
|
+
}, {
|
|
6860
|
+
type: "template.updated";
|
|
6861
|
+
data: {
|
|
6862
|
+
version: number;
|
|
6863
|
+
name: string;
|
|
6864
|
+
updated_at: string;
|
|
6865
|
+
archived: boolean;
|
|
6866
|
+
template_id: string;
|
|
6867
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6868
|
+
};
|
|
6869
|
+
id: string;
|
|
6870
|
+
created_at: string;
|
|
6871
|
+
workspace_id: string;
|
|
6872
|
+
}>, z.ZodObject<{
|
|
6873
|
+
/** Unique per event: a receiver deduplicates on it (deliveries may repeat). */
|
|
6874
|
+
id: z.ZodString;
|
|
6875
|
+
type: z.ZodLiteral<"template.deleted">;
|
|
6876
|
+
created_at: z.ZodString;
|
|
6877
|
+
workspace_id: z.ZodString;
|
|
6878
|
+
data: z.ZodObject<{
|
|
6879
|
+
template_id: z.ZodString;
|
|
6880
|
+
name: z.ZodString;
|
|
6881
|
+
version: z.ZodNumber;
|
|
6882
|
+
source: z.ZodEnum<["api", "dashboard", "mjml_import"]>;
|
|
6883
|
+
} & {
|
|
6884
|
+
deleted_at: z.ZodString;
|
|
6885
|
+
}, "strip", z.ZodTypeAny, {
|
|
6886
|
+
version: number;
|
|
6887
|
+
name: string;
|
|
6888
|
+
template_id: string;
|
|
6889
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6890
|
+
deleted_at: string;
|
|
6891
|
+
}, {
|
|
6892
|
+
version: number;
|
|
6893
|
+
name: string;
|
|
6894
|
+
template_id: string;
|
|
6895
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6896
|
+
deleted_at: string;
|
|
6897
|
+
}>;
|
|
6898
|
+
}, "strip", z.ZodTypeAny, {
|
|
6899
|
+
type: "template.deleted";
|
|
6900
|
+
data: {
|
|
6901
|
+
version: number;
|
|
6902
|
+
name: string;
|
|
6903
|
+
template_id: string;
|
|
6904
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6905
|
+
deleted_at: string;
|
|
6906
|
+
};
|
|
6907
|
+
id: string;
|
|
6908
|
+
created_at: string;
|
|
6909
|
+
workspace_id: string;
|
|
6910
|
+
}, {
|
|
6911
|
+
type: "template.deleted";
|
|
6912
|
+
data: {
|
|
6913
|
+
version: number;
|
|
6914
|
+
name: string;
|
|
6915
|
+
template_id: string;
|
|
6916
|
+
source: "api" | "dashboard" | "mjml_import";
|
|
6917
|
+
deleted_at: string;
|
|
6918
|
+
};
|
|
6919
|
+
id: string;
|
|
6920
|
+
created_at: string;
|
|
6921
|
+
workspace_id: string;
|
|
6556
6922
|
}>]>;
|
|
6557
6923
|
type WebhookEvent = z.infer<typeof WebhookEvent>;
|
|
6558
6924
|
type WebhookEventOf<T extends WebhookEventType> = Extract<WebhookEvent, {
|
|
@@ -6562,7 +6928,7 @@ declare const WebhookEndpoint: z.ZodObject<{
|
|
|
6562
6928
|
id: z.ZodString;
|
|
6563
6929
|
url: z.ZodString;
|
|
6564
6930
|
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">;
|
|
6931
|
+
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
6932
|
enabled: z.ZodBoolean;
|
|
6567
6933
|
created_at: z.ZodString;
|
|
6568
6934
|
updated_at: z.ZodString;
|
|
@@ -6572,7 +6938,7 @@ declare const WebhookEndpoint: z.ZodObject<{
|
|
|
6572
6938
|
created_at: string;
|
|
6573
6939
|
updated_at: string;
|
|
6574
6940
|
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")[];
|
|
6941
|
+
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
6942
|
enabled: boolean;
|
|
6577
6943
|
}, {
|
|
6578
6944
|
id: string;
|
|
@@ -6580,7 +6946,7 @@ declare const WebhookEndpoint: z.ZodObject<{
|
|
|
6580
6946
|
created_at: string;
|
|
6581
6947
|
updated_at: string;
|
|
6582
6948
|
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")[];
|
|
6949
|
+
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
6950
|
enabled: boolean;
|
|
6585
6951
|
}>;
|
|
6586
6952
|
type WebhookEndpoint = z.infer<typeof WebhookEndpoint>;
|
|
@@ -6589,16 +6955,16 @@ declare const WebhookUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
|
6589
6955
|
declare const WebhookEndpointCreate: z.ZodObject<{
|
|
6590
6956
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
6591
6957
|
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">;
|
|
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">;
|
|
6593
6959
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6594
6960
|
}, "strip", z.ZodTypeAny, {
|
|
6595
6961
|
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")[];
|
|
6962
|
+
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
6963
|
description?: string | undefined;
|
|
6598
6964
|
enabled?: boolean | undefined;
|
|
6599
6965
|
}, {
|
|
6600
6966
|
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")[];
|
|
6967
|
+
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
6968
|
description?: string | undefined;
|
|
6603
6969
|
enabled?: boolean | undefined;
|
|
6604
6970
|
}>;
|
|
@@ -6606,27 +6972,27 @@ type WebhookEndpointCreate = z.infer<typeof WebhookEndpointCreate>;
|
|
|
6606
6972
|
declare const WebhookEndpointUpdate: z.ZodEffects<z.ZodObject<{
|
|
6607
6973
|
url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6608
6974
|
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">>;
|
|
6975
|
+
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
6976
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6611
6977
|
}, "strip", z.ZodTypeAny, {
|
|
6612
6978
|
description?: string | null | undefined;
|
|
6613
6979
|
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;
|
|
6980
|
+
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
6981
|
enabled?: boolean | undefined;
|
|
6616
6982
|
}, {
|
|
6617
6983
|
description?: string | null | undefined;
|
|
6618
6984
|
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;
|
|
6985
|
+
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
6986
|
enabled?: boolean | undefined;
|
|
6621
6987
|
}>, {
|
|
6622
6988
|
description?: string | null | undefined;
|
|
6623
6989
|
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;
|
|
6990
|
+
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
6991
|
enabled?: boolean | undefined;
|
|
6626
6992
|
}, {
|
|
6627
6993
|
description?: string | null | undefined;
|
|
6628
6994
|
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;
|
|
6995
|
+
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
6996
|
enabled?: boolean | undefined;
|
|
6631
6997
|
}>;
|
|
6632
6998
|
type WebhookEndpointUpdate = z.infer<typeof WebhookEndpointUpdate>;
|
|
@@ -6639,7 +7005,7 @@ declare const WebhookEndpointWithSecret: z.ZodObject<{
|
|
|
6639
7005
|
id: z.ZodString;
|
|
6640
7006
|
url: z.ZodString;
|
|
6641
7007
|
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">;
|
|
7008
|
+
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
7009
|
enabled: z.ZodBoolean;
|
|
6644
7010
|
created_at: z.ZodString;
|
|
6645
7011
|
updated_at: z.ZodString;
|
|
@@ -6649,7 +7015,7 @@ declare const WebhookEndpointWithSecret: z.ZodObject<{
|
|
|
6649
7015
|
created_at: string;
|
|
6650
7016
|
updated_at: string;
|
|
6651
7017
|
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")[];
|
|
7018
|
+
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
7019
|
enabled: boolean;
|
|
6654
7020
|
}, {
|
|
6655
7021
|
id: string;
|
|
@@ -6657,7 +7023,7 @@ declare const WebhookEndpointWithSecret: z.ZodObject<{
|
|
|
6657
7023
|
created_at: string;
|
|
6658
7024
|
updated_at: string;
|
|
6659
7025
|
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")[];
|
|
7026
|
+
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
7027
|
enabled: boolean;
|
|
6662
7028
|
}>;
|
|
6663
7029
|
secret: z.ZodString;
|
|
@@ -6668,7 +7034,7 @@ declare const WebhookEndpointWithSecret: z.ZodObject<{
|
|
|
6668
7034
|
created_at: string;
|
|
6669
7035
|
updated_at: string;
|
|
6670
7036
|
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")[];
|
|
7037
|
+
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
7038
|
enabled: boolean;
|
|
6673
7039
|
};
|
|
6674
7040
|
secret: string;
|
|
@@ -6679,7 +7045,7 @@ declare const WebhookEndpointWithSecret: z.ZodObject<{
|
|
|
6679
7045
|
created_at: string;
|
|
6680
7046
|
updated_at: string;
|
|
6681
7047
|
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")[];
|
|
7048
|
+
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
7049
|
enabled: boolean;
|
|
6684
7050
|
};
|
|
6685
7051
|
secret: string;
|
|
@@ -6695,7 +7061,7 @@ declare const WebhookDelivery: z.ZodObject<{
|
|
|
6695
7061
|
id: z.ZodString;
|
|
6696
7062
|
endpoint_id: z.ZodString;
|
|
6697
7063
|
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"]>;
|
|
7064
|
+
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
7065
|
status: z.ZodEnum<["pending", "succeeded", "failed"]>;
|
|
6700
7066
|
attempts: z.ZodNumber;
|
|
6701
7067
|
last_status_code: z.ZodNullable<z.ZodNumber>;
|
|
@@ -6711,7 +7077,7 @@ declare const WebhookDelivery: z.ZodObject<{
|
|
|
6711
7077
|
last_error: string | null;
|
|
6712
7078
|
endpoint_id: string;
|
|
6713
7079
|
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";
|
|
7080
|
+
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
7081
|
last_status_code: number | null;
|
|
6716
7082
|
next_attempt_at: string | null;
|
|
6717
7083
|
delivered_at: string | null;
|
|
@@ -6723,7 +7089,7 @@ declare const WebhookDelivery: z.ZodObject<{
|
|
|
6723
7089
|
last_error: string | null;
|
|
6724
7090
|
endpoint_id: string;
|
|
6725
7091
|
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";
|
|
7092
|
+
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
7093
|
last_status_code: number | null;
|
|
6728
7094
|
next_attempt_at: string | null;
|
|
6729
7095
|
delivered_at: string | null;
|
|
@@ -6734,17 +7100,17 @@ declare const WebhookDeliveryListQuery: z.ZodObject<{
|
|
|
6734
7100
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
6735
7101
|
} & {
|
|
6736
7102
|
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"]>>;
|
|
7103
|
+
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
7104
|
}, "strip", z.ZodTypeAny, {
|
|
6739
7105
|
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
6740
7106
|
cursor?: string | undefined;
|
|
6741
7107
|
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;
|
|
7108
|
+
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
7109
|
}, {
|
|
6744
7110
|
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
6745
7111
|
cursor?: string | undefined;
|
|
6746
7112
|
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;
|
|
7113
|
+
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
7114
|
}>;
|
|
6749
7115
|
type WebhookDeliveryListQuery = z.infer<typeof WebhookDeliveryListQuery>;
|
|
6750
7116
|
declare const WebhookDeliveryParams: z.ZodObject<{
|
|
@@ -18628,18 +18994,24 @@ declare const foundationRoutes: {
|
|
|
18628
18994
|
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18629
18995
|
tracking_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
18630
18996
|
asset_policy: z.ZodOptional<z.ZodEnum<["any", "service_only"]>>;
|
|
18997
|
+
allowed_asset_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18998
|
+
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
18999
|
default_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18632
19000
|
}, "strip", z.ZodTypeAny, {
|
|
18633
19001
|
asset_policy?: "any" | "service_only" | undefined;
|
|
18634
19002
|
default_locale?: string | undefined;
|
|
18635
19003
|
locales?: string[] | undefined;
|
|
18636
19004
|
tracking_enabled?: boolean | undefined;
|
|
19005
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19006
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18637
19007
|
default_timezone?: string | null | undefined;
|
|
18638
19008
|
}, {
|
|
18639
19009
|
asset_policy?: "any" | "service_only" | undefined;
|
|
18640
19010
|
default_locale?: string | undefined;
|
|
18641
19011
|
locales?: string[] | undefined;
|
|
18642
19012
|
tracking_enabled?: boolean | undefined;
|
|
19013
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19014
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18643
19015
|
default_timezone?: string | null | undefined;
|
|
18644
19016
|
}>>;
|
|
18645
19017
|
owner: z.ZodObject<{
|
|
@@ -18665,6 +19037,8 @@ declare const foundationRoutes: {
|
|
|
18665
19037
|
default_locale?: string | undefined;
|
|
18666
19038
|
locales?: string[] | undefined;
|
|
18667
19039
|
tracking_enabled?: boolean | undefined;
|
|
19040
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19041
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18668
19042
|
default_timezone?: string | null | undefined;
|
|
18669
19043
|
} | undefined;
|
|
18670
19044
|
company_id?: string | undefined;
|
|
@@ -18680,6 +19054,8 @@ declare const foundationRoutes: {
|
|
|
18680
19054
|
default_locale?: string | undefined;
|
|
18681
19055
|
locales?: string[] | undefined;
|
|
18682
19056
|
tracking_enabled?: boolean | undefined;
|
|
19057
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19058
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18683
19059
|
default_timezone?: string | null | undefined;
|
|
18684
19060
|
} | undefined;
|
|
18685
19061
|
company_id?: string | undefined;
|
|
@@ -18693,18 +19069,24 @@ declare const foundationRoutes: {
|
|
|
18693
19069
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
18694
19070
|
tracking_enabled: z.ZodBoolean;
|
|
18695
19071
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
19072
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
19073
|
+
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
19074
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
18697
19075
|
}, "strip", z.ZodTypeAny, {
|
|
18698
19076
|
asset_policy: "any" | "service_only";
|
|
18699
19077
|
default_locale: string;
|
|
18700
19078
|
locales: string[];
|
|
18701
19079
|
tracking_enabled: boolean;
|
|
19080
|
+
allowed_asset_hosts: string[];
|
|
19081
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18702
19082
|
default_timezone: string | null;
|
|
18703
19083
|
}, {
|
|
18704
19084
|
asset_policy: "any" | "service_only";
|
|
18705
19085
|
default_locale: string;
|
|
18706
19086
|
locales: string[];
|
|
18707
19087
|
tracking_enabled: boolean;
|
|
19088
|
+
allowed_asset_hosts: string[];
|
|
19089
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18708
19090
|
default_timezone: string | null;
|
|
18709
19091
|
}>;
|
|
18710
19092
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -18721,6 +19103,8 @@ declare const foundationRoutes: {
|
|
|
18721
19103
|
default_locale: string;
|
|
18722
19104
|
locales: string[];
|
|
18723
19105
|
tracking_enabled: boolean;
|
|
19106
|
+
allowed_asset_hosts: string[];
|
|
19107
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18724
19108
|
default_timezone: string | null;
|
|
18725
19109
|
};
|
|
18726
19110
|
company_id: string | null;
|
|
@@ -18735,6 +19119,8 @@ declare const foundationRoutes: {
|
|
|
18735
19119
|
default_locale: string;
|
|
18736
19120
|
locales: string[];
|
|
18737
19121
|
tracking_enabled: boolean;
|
|
19122
|
+
allowed_asset_hosts: string[];
|
|
19123
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18738
19124
|
default_timezone: string | null;
|
|
18739
19125
|
};
|
|
18740
19126
|
company_id: string | null;
|
|
@@ -18766,18 +19152,24 @@ declare const foundationRoutes: {
|
|
|
18766
19152
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
18767
19153
|
tracking_enabled: z.ZodBoolean;
|
|
18768
19154
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
19155
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
19156
|
+
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
19157
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
18770
19158
|
}, "strip", z.ZodTypeAny, {
|
|
18771
19159
|
asset_policy: "any" | "service_only";
|
|
18772
19160
|
default_locale: string;
|
|
18773
19161
|
locales: string[];
|
|
18774
19162
|
tracking_enabled: boolean;
|
|
19163
|
+
allowed_asset_hosts: string[];
|
|
19164
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18775
19165
|
default_timezone: string | null;
|
|
18776
19166
|
}, {
|
|
18777
19167
|
asset_policy: "any" | "service_only";
|
|
18778
19168
|
default_locale: string;
|
|
18779
19169
|
locales: string[];
|
|
18780
19170
|
tracking_enabled: boolean;
|
|
19171
|
+
allowed_asset_hosts: string[];
|
|
19172
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18781
19173
|
default_timezone: string | null;
|
|
18782
19174
|
}>;
|
|
18783
19175
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -18796,6 +19188,8 @@ declare const foundationRoutes: {
|
|
|
18796
19188
|
default_locale: string;
|
|
18797
19189
|
locales: string[];
|
|
18798
19190
|
tracking_enabled: boolean;
|
|
19191
|
+
allowed_asset_hosts: string[];
|
|
19192
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18799
19193
|
default_timezone: string | null;
|
|
18800
19194
|
};
|
|
18801
19195
|
company_id: string | null;
|
|
@@ -18811,6 +19205,8 @@ declare const foundationRoutes: {
|
|
|
18811
19205
|
default_locale: string;
|
|
18812
19206
|
locales: string[];
|
|
18813
19207
|
tracking_enabled: boolean;
|
|
19208
|
+
allowed_asset_hosts: string[];
|
|
19209
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18814
19210
|
default_timezone: string | null;
|
|
18815
19211
|
};
|
|
18816
19212
|
company_id: string | null;
|
|
@@ -18829,6 +19225,8 @@ declare const foundationRoutes: {
|
|
|
18829
19225
|
default_locale: string;
|
|
18830
19226
|
locales: string[];
|
|
18831
19227
|
tracking_enabled: boolean;
|
|
19228
|
+
allowed_asset_hosts: string[];
|
|
19229
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18832
19230
|
default_timezone: string | null;
|
|
18833
19231
|
};
|
|
18834
19232
|
company_id: string | null;
|
|
@@ -18847,6 +19245,8 @@ declare const foundationRoutes: {
|
|
|
18847
19245
|
default_locale: string;
|
|
18848
19246
|
locales: string[];
|
|
18849
19247
|
tracking_enabled: boolean;
|
|
19248
|
+
allowed_asset_hosts: string[];
|
|
19249
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18850
19250
|
default_timezone: string | null;
|
|
18851
19251
|
};
|
|
18852
19252
|
company_id: string | null;
|
|
@@ -18870,18 +19270,24 @@ declare const foundationRoutes: {
|
|
|
18870
19270
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
18871
19271
|
tracking_enabled: z.ZodBoolean;
|
|
18872
19272
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
19273
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
19274
|
+
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
19275
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
18874
19276
|
}, "strip", z.ZodTypeAny, {
|
|
18875
19277
|
asset_policy: "any" | "service_only";
|
|
18876
19278
|
default_locale: string;
|
|
18877
19279
|
locales: string[];
|
|
18878
19280
|
tracking_enabled: boolean;
|
|
19281
|
+
allowed_asset_hosts: string[];
|
|
19282
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18879
19283
|
default_timezone: string | null;
|
|
18880
19284
|
}, {
|
|
18881
19285
|
asset_policy: "any" | "service_only";
|
|
18882
19286
|
default_locale: string;
|
|
18883
19287
|
locales: string[];
|
|
18884
19288
|
tracking_enabled: boolean;
|
|
19289
|
+
allowed_asset_hosts: string[];
|
|
19290
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18885
19291
|
default_timezone: string | null;
|
|
18886
19292
|
}>;
|
|
18887
19293
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -18898,6 +19304,8 @@ declare const foundationRoutes: {
|
|
|
18898
19304
|
default_locale: string;
|
|
18899
19305
|
locales: string[];
|
|
18900
19306
|
tracking_enabled: boolean;
|
|
19307
|
+
allowed_asset_hosts: string[];
|
|
19308
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18901
19309
|
default_timezone: string | null;
|
|
18902
19310
|
};
|
|
18903
19311
|
company_id: string | null;
|
|
@@ -18912,6 +19320,8 @@ declare const foundationRoutes: {
|
|
|
18912
19320
|
default_locale: string;
|
|
18913
19321
|
locales: string[];
|
|
18914
19322
|
tracking_enabled: boolean;
|
|
19323
|
+
allowed_asset_hosts: string[];
|
|
19324
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18915
19325
|
default_timezone: string | null;
|
|
18916
19326
|
};
|
|
18917
19327
|
company_id: string | null;
|
|
@@ -18930,18 +19340,24 @@ declare const foundationRoutes: {
|
|
|
18930
19340
|
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18931
19341
|
tracking_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
18932
19342
|
asset_policy: z.ZodOptional<z.ZodEnum<["any", "service_only"]>>;
|
|
19343
|
+
allowed_asset_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
19344
|
+
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
19345
|
default_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18934
19346
|
}, "strip", z.ZodTypeAny, {
|
|
18935
19347
|
asset_policy?: "any" | "service_only" | undefined;
|
|
18936
19348
|
default_locale?: string | undefined;
|
|
18937
19349
|
locales?: string[] | undefined;
|
|
18938
19350
|
tracking_enabled?: boolean | undefined;
|
|
19351
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19352
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18939
19353
|
default_timezone?: string | null | undefined;
|
|
18940
19354
|
}, {
|
|
18941
19355
|
asset_policy?: "any" | "service_only" | undefined;
|
|
18942
19356
|
default_locale?: string | undefined;
|
|
18943
19357
|
locales?: string[] | undefined;
|
|
18944
19358
|
tracking_enabled?: boolean | undefined;
|
|
19359
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19360
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18945
19361
|
default_timezone?: string | null | undefined;
|
|
18946
19362
|
}>>;
|
|
18947
19363
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -18951,6 +19367,8 @@ declare const foundationRoutes: {
|
|
|
18951
19367
|
default_locale?: string | undefined;
|
|
18952
19368
|
locales?: string[] | undefined;
|
|
18953
19369
|
tracking_enabled?: boolean | undefined;
|
|
19370
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19371
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18954
19372
|
default_timezone?: string | null | undefined;
|
|
18955
19373
|
} | undefined;
|
|
18956
19374
|
}, {
|
|
@@ -18960,6 +19378,8 @@ declare const foundationRoutes: {
|
|
|
18960
19378
|
default_locale?: string | undefined;
|
|
18961
19379
|
locales?: string[] | undefined;
|
|
18962
19380
|
tracking_enabled?: boolean | undefined;
|
|
19381
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19382
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18963
19383
|
default_timezone?: string | null | undefined;
|
|
18964
19384
|
} | undefined;
|
|
18965
19385
|
}>, {
|
|
@@ -18969,6 +19389,8 @@ declare const foundationRoutes: {
|
|
|
18969
19389
|
default_locale?: string | undefined;
|
|
18970
19390
|
locales?: string[] | undefined;
|
|
18971
19391
|
tracking_enabled?: boolean | undefined;
|
|
19392
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19393
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18972
19394
|
default_timezone?: string | null | undefined;
|
|
18973
19395
|
} | undefined;
|
|
18974
19396
|
}, {
|
|
@@ -18978,6 +19400,8 @@ declare const foundationRoutes: {
|
|
|
18978
19400
|
default_locale?: string | undefined;
|
|
18979
19401
|
locales?: string[] | undefined;
|
|
18980
19402
|
tracking_enabled?: boolean | undefined;
|
|
19403
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
19404
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
18981
19405
|
default_timezone?: string | null | undefined;
|
|
18982
19406
|
} | undefined;
|
|
18983
19407
|
}>;
|
|
@@ -18990,18 +19414,24 @@ declare const foundationRoutes: {
|
|
|
18990
19414
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
18991
19415
|
tracking_enabled: z.ZodBoolean;
|
|
18992
19416
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
19417
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
19418
|
+
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
19419
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
18994
19420
|
}, "strip", z.ZodTypeAny, {
|
|
18995
19421
|
asset_policy: "any" | "service_only";
|
|
18996
19422
|
default_locale: string;
|
|
18997
19423
|
locales: string[];
|
|
18998
19424
|
tracking_enabled: boolean;
|
|
19425
|
+
allowed_asset_hosts: string[];
|
|
19426
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
18999
19427
|
default_timezone: string | null;
|
|
19000
19428
|
}, {
|
|
19001
19429
|
asset_policy: "any" | "service_only";
|
|
19002
19430
|
default_locale: string;
|
|
19003
19431
|
locales: string[];
|
|
19004
19432
|
tracking_enabled: boolean;
|
|
19433
|
+
allowed_asset_hosts: string[];
|
|
19434
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19005
19435
|
default_timezone: string | null;
|
|
19006
19436
|
}>;
|
|
19007
19437
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -19018,6 +19448,8 @@ declare const foundationRoutes: {
|
|
|
19018
19448
|
default_locale: string;
|
|
19019
19449
|
locales: string[];
|
|
19020
19450
|
tracking_enabled: boolean;
|
|
19451
|
+
allowed_asset_hosts: string[];
|
|
19452
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19021
19453
|
default_timezone: string | null;
|
|
19022
19454
|
};
|
|
19023
19455
|
company_id: string | null;
|
|
@@ -19032,6 +19464,8 @@ declare const foundationRoutes: {
|
|
|
19032
19464
|
default_locale: string;
|
|
19033
19465
|
locales: string[];
|
|
19034
19466
|
tracking_enabled: boolean;
|
|
19467
|
+
allowed_asset_hosts: string[];
|
|
19468
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19035
19469
|
default_timezone: string | null;
|
|
19036
19470
|
};
|
|
19037
19471
|
company_id: string | null;
|
|
@@ -19064,18 +19498,24 @@ declare const foundationRoutes: {
|
|
|
19064
19498
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
19065
19499
|
tracking_enabled: z.ZodBoolean;
|
|
19066
19500
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
19501
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
19502
|
+
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
19503
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
19068
19504
|
}, "strip", z.ZodTypeAny, {
|
|
19069
19505
|
asset_policy: "any" | "service_only";
|
|
19070
19506
|
default_locale: string;
|
|
19071
19507
|
locales: string[];
|
|
19072
19508
|
tracking_enabled: boolean;
|
|
19509
|
+
allowed_asset_hosts: string[];
|
|
19510
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19073
19511
|
default_timezone: string | null;
|
|
19074
19512
|
}, {
|
|
19075
19513
|
asset_policy: "any" | "service_only";
|
|
19076
19514
|
default_locale: string;
|
|
19077
19515
|
locales: string[];
|
|
19078
19516
|
tracking_enabled: boolean;
|
|
19517
|
+
allowed_asset_hosts: string[];
|
|
19518
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19079
19519
|
default_timezone: string | null;
|
|
19080
19520
|
}>;
|
|
19081
19521
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -19092,6 +19532,8 @@ declare const foundationRoutes: {
|
|
|
19092
19532
|
default_locale: string;
|
|
19093
19533
|
locales: string[];
|
|
19094
19534
|
tracking_enabled: boolean;
|
|
19535
|
+
allowed_asset_hosts: string[];
|
|
19536
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19095
19537
|
default_timezone: string | null;
|
|
19096
19538
|
};
|
|
19097
19539
|
company_id: string | null;
|
|
@@ -19106,6 +19548,8 @@ declare const foundationRoutes: {
|
|
|
19106
19548
|
default_locale: string;
|
|
19107
19549
|
locales: string[];
|
|
19108
19550
|
tracking_enabled: boolean;
|
|
19551
|
+
allowed_asset_hosts: string[];
|
|
19552
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
19109
19553
|
default_timezone: string | null;
|
|
19110
19554
|
};
|
|
19111
19555
|
company_id: string | null;
|
|
@@ -19497,12 +19941,15 @@ declare const foundationRoutes: {
|
|
|
19497
19941
|
}>, z.ZodObject<{
|
|
19498
19942
|
type: z.ZodLiteral<"api_key">;
|
|
19499
19943
|
api_key_id: z.ZodString;
|
|
19944
|
+
on_behalf_of: z.ZodOptional<z.ZodString>;
|
|
19500
19945
|
}, "strip", z.ZodTypeAny, {
|
|
19501
19946
|
type: "api_key";
|
|
19502
19947
|
api_key_id: string;
|
|
19948
|
+
on_behalf_of?: string | undefined;
|
|
19503
19949
|
}, {
|
|
19504
19950
|
type: "api_key";
|
|
19505
19951
|
api_key_id: string;
|
|
19952
|
+
on_behalf_of?: string | undefined;
|
|
19506
19953
|
}>, z.ZodObject<{
|
|
19507
19954
|
type: z.ZodLiteral<"system">;
|
|
19508
19955
|
reason: z.ZodString;
|
|
@@ -19529,6 +19976,7 @@ declare const foundationRoutes: {
|
|
|
19529
19976
|
} | {
|
|
19530
19977
|
type: "api_key";
|
|
19531
19978
|
api_key_id: string;
|
|
19979
|
+
on_behalf_of?: string | undefined;
|
|
19532
19980
|
} | {
|
|
19533
19981
|
type: "system";
|
|
19534
19982
|
reason: string;
|
|
@@ -19547,6 +19995,7 @@ declare const foundationRoutes: {
|
|
|
19547
19995
|
} | {
|
|
19548
19996
|
type: "api_key";
|
|
19549
19997
|
api_key_id: string;
|
|
19998
|
+
on_behalf_of?: string | undefined;
|
|
19550
19999
|
} | {
|
|
19551
20000
|
type: "system";
|
|
19552
20001
|
reason: string;
|
|
@@ -19568,6 +20017,7 @@ declare const foundationRoutes: {
|
|
|
19568
20017
|
} | {
|
|
19569
20018
|
type: "api_key";
|
|
19570
20019
|
api_key_id: string;
|
|
20020
|
+
on_behalf_of?: string | undefined;
|
|
19571
20021
|
} | {
|
|
19572
20022
|
type: "system";
|
|
19573
20023
|
reason: string;
|
|
@@ -19589,6 +20039,7 @@ declare const foundationRoutes: {
|
|
|
19589
20039
|
} | {
|
|
19590
20040
|
type: "api_key";
|
|
19591
20041
|
api_key_id: string;
|
|
20042
|
+
on_behalf_of?: string | undefined;
|
|
19592
20043
|
} | {
|
|
19593
20044
|
type: "system";
|
|
19594
20045
|
reason: string;
|
|
@@ -27193,7 +27644,7 @@ declare const sendingRoutes: {
|
|
|
27193
27644
|
id: z.ZodString;
|
|
27194
27645
|
url: z.ZodString;
|
|
27195
27646
|
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">;
|
|
27647
|
+
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
27648
|
enabled: z.ZodBoolean;
|
|
27198
27649
|
created_at: z.ZodString;
|
|
27199
27650
|
updated_at: z.ZodString;
|
|
@@ -27203,7 +27654,7 @@ declare const sendingRoutes: {
|
|
|
27203
27654
|
created_at: string;
|
|
27204
27655
|
updated_at: string;
|
|
27205
27656
|
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")[];
|
|
27657
|
+
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
27658
|
enabled: boolean;
|
|
27208
27659
|
}, {
|
|
27209
27660
|
id: string;
|
|
@@ -27211,7 +27662,7 @@ declare const sendingRoutes: {
|
|
|
27211
27662
|
created_at: string;
|
|
27212
27663
|
updated_at: string;
|
|
27213
27664
|
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")[];
|
|
27665
|
+
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
27666
|
enabled: boolean;
|
|
27216
27667
|
}>, "many">;
|
|
27217
27668
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
@@ -27222,7 +27673,7 @@ declare const sendingRoutes: {
|
|
|
27222
27673
|
created_at: string;
|
|
27223
27674
|
updated_at: string;
|
|
27224
27675
|
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")[];
|
|
27676
|
+
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
27677
|
enabled: boolean;
|
|
27227
27678
|
}[];
|
|
27228
27679
|
next_cursor: string | null;
|
|
@@ -27233,7 +27684,7 @@ declare const sendingRoutes: {
|
|
|
27233
27684
|
created_at: string;
|
|
27234
27685
|
updated_at: string;
|
|
27235
27686
|
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")[];
|
|
27687
|
+
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
27688
|
enabled: boolean;
|
|
27238
27689
|
}[];
|
|
27239
27690
|
next_cursor: string | null;
|
|
@@ -27248,16 +27699,16 @@ declare const sendingRoutes: {
|
|
|
27248
27699
|
readonly body: z.ZodObject<{
|
|
27249
27700
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
27250
27701
|
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">;
|
|
27702
|
+
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
27703
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
27253
27704
|
}, "strip", z.ZodTypeAny, {
|
|
27254
27705
|
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")[];
|
|
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")[];
|
|
27256
27707
|
description?: string | undefined;
|
|
27257
27708
|
enabled?: boolean | undefined;
|
|
27258
27709
|
}, {
|
|
27259
27710
|
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")[];
|
|
27711
|
+
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
27712
|
description?: string | undefined;
|
|
27262
27713
|
enabled?: boolean | undefined;
|
|
27263
27714
|
}>;
|
|
@@ -27266,7 +27717,7 @@ declare const sendingRoutes: {
|
|
|
27266
27717
|
id: z.ZodString;
|
|
27267
27718
|
url: z.ZodString;
|
|
27268
27719
|
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">;
|
|
27720
|
+
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
27721
|
enabled: z.ZodBoolean;
|
|
27271
27722
|
created_at: z.ZodString;
|
|
27272
27723
|
updated_at: z.ZodString;
|
|
@@ -27276,7 +27727,7 @@ declare const sendingRoutes: {
|
|
|
27276
27727
|
created_at: string;
|
|
27277
27728
|
updated_at: string;
|
|
27278
27729
|
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")[];
|
|
27730
|
+
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
27731
|
enabled: boolean;
|
|
27281
27732
|
}, {
|
|
27282
27733
|
id: string;
|
|
@@ -27284,7 +27735,7 @@ declare const sendingRoutes: {
|
|
|
27284
27735
|
created_at: string;
|
|
27285
27736
|
updated_at: string;
|
|
27286
27737
|
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")[];
|
|
27738
|
+
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
27739
|
enabled: boolean;
|
|
27289
27740
|
}>;
|
|
27290
27741
|
secret: z.ZodString;
|
|
@@ -27295,7 +27746,7 @@ declare const sendingRoutes: {
|
|
|
27295
27746
|
created_at: string;
|
|
27296
27747
|
updated_at: string;
|
|
27297
27748
|
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")[];
|
|
27749
|
+
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
27750
|
enabled: boolean;
|
|
27300
27751
|
};
|
|
27301
27752
|
secret: string;
|
|
@@ -27306,7 +27757,7 @@ declare const sendingRoutes: {
|
|
|
27306
27757
|
created_at: string;
|
|
27307
27758
|
updated_at: string;
|
|
27308
27759
|
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")[];
|
|
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")[];
|
|
27310
27761
|
enabled: boolean;
|
|
27311
27762
|
};
|
|
27312
27763
|
secret: string;
|
|
@@ -27329,7 +27780,7 @@ declare const sendingRoutes: {
|
|
|
27329
27780
|
id: z.ZodString;
|
|
27330
27781
|
url: z.ZodString;
|
|
27331
27782
|
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">;
|
|
27783
|
+
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
27784
|
enabled: z.ZodBoolean;
|
|
27334
27785
|
created_at: z.ZodString;
|
|
27335
27786
|
updated_at: z.ZodString;
|
|
@@ -27339,7 +27790,7 @@ declare const sendingRoutes: {
|
|
|
27339
27790
|
created_at: string;
|
|
27340
27791
|
updated_at: string;
|
|
27341
27792
|
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")[];
|
|
27793
|
+
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
27794
|
enabled: boolean;
|
|
27344
27795
|
}, {
|
|
27345
27796
|
id: string;
|
|
@@ -27347,7 +27798,7 @@ declare const sendingRoutes: {
|
|
|
27347
27798
|
created_at: string;
|
|
27348
27799
|
updated_at: string;
|
|
27349
27800
|
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")[];
|
|
27801
|
+
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
27802
|
enabled: boolean;
|
|
27352
27803
|
}>;
|
|
27353
27804
|
readonly status: 200;
|
|
@@ -27367,34 +27818,34 @@ declare const sendingRoutes: {
|
|
|
27367
27818
|
readonly body: z.ZodEffects<z.ZodObject<{
|
|
27368
27819
|
url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
27369
27820
|
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">>;
|
|
27821
|
+
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
27822
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
27372
27823
|
}, "strip", z.ZodTypeAny, {
|
|
27373
27824
|
description?: string | null | undefined;
|
|
27374
27825
|
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;
|
|
27826
|
+
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
27827
|
enabled?: boolean | undefined;
|
|
27377
27828
|
}, {
|
|
27378
27829
|
description?: string | null | undefined;
|
|
27379
27830
|
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;
|
|
27831
|
+
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
27832
|
enabled?: boolean | undefined;
|
|
27382
27833
|
}>, {
|
|
27383
27834
|
description?: string | null | undefined;
|
|
27384
27835
|
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;
|
|
27836
|
+
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
27837
|
enabled?: boolean | undefined;
|
|
27387
27838
|
}, {
|
|
27388
27839
|
description?: string | null | undefined;
|
|
27389
27840
|
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;
|
|
27841
|
+
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
27842
|
enabled?: boolean | undefined;
|
|
27392
27843
|
}>;
|
|
27393
27844
|
readonly response: z.ZodObject<{
|
|
27394
27845
|
id: z.ZodString;
|
|
27395
27846
|
url: z.ZodString;
|
|
27396
27847
|
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">;
|
|
27848
|
+
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
27849
|
enabled: z.ZodBoolean;
|
|
27399
27850
|
created_at: z.ZodString;
|
|
27400
27851
|
updated_at: z.ZodString;
|
|
@@ -27404,7 +27855,7 @@ declare const sendingRoutes: {
|
|
|
27404
27855
|
created_at: string;
|
|
27405
27856
|
updated_at: string;
|
|
27406
27857
|
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")[];
|
|
27858
|
+
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
27859
|
enabled: boolean;
|
|
27409
27860
|
}, {
|
|
27410
27861
|
id: string;
|
|
@@ -27412,7 +27863,7 @@ declare const sendingRoutes: {
|
|
|
27412
27863
|
created_at: string;
|
|
27413
27864
|
updated_at: string;
|
|
27414
27865
|
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")[];
|
|
27866
|
+
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
27867
|
enabled: boolean;
|
|
27417
27868
|
}>;
|
|
27418
27869
|
readonly status: 200;
|
|
@@ -27455,7 +27906,7 @@ declare const sendingRoutes: {
|
|
|
27455
27906
|
id: z.ZodString;
|
|
27456
27907
|
url: z.ZodString;
|
|
27457
27908
|
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">;
|
|
27909
|
+
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
27910
|
enabled: z.ZodBoolean;
|
|
27460
27911
|
created_at: z.ZodString;
|
|
27461
27912
|
updated_at: z.ZodString;
|
|
@@ -27465,7 +27916,7 @@ declare const sendingRoutes: {
|
|
|
27465
27916
|
created_at: string;
|
|
27466
27917
|
updated_at: string;
|
|
27467
27918
|
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")[];
|
|
27919
|
+
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
27920
|
enabled: boolean;
|
|
27470
27921
|
}, {
|
|
27471
27922
|
id: string;
|
|
@@ -27473,7 +27924,7 @@ declare const sendingRoutes: {
|
|
|
27473
27924
|
created_at: string;
|
|
27474
27925
|
updated_at: string;
|
|
27475
27926
|
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")[];
|
|
27927
|
+
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
27928
|
enabled: boolean;
|
|
27478
27929
|
}>;
|
|
27479
27930
|
secret: z.ZodString;
|
|
@@ -27484,7 +27935,7 @@ declare const sendingRoutes: {
|
|
|
27484
27935
|
created_at: string;
|
|
27485
27936
|
updated_at: string;
|
|
27486
27937
|
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")[];
|
|
27938
|
+
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
27939
|
enabled: boolean;
|
|
27489
27940
|
};
|
|
27490
27941
|
secret: string;
|
|
@@ -27495,7 +27946,7 @@ declare const sendingRoutes: {
|
|
|
27495
27946
|
created_at: string;
|
|
27496
27947
|
updated_at: string;
|
|
27497
27948
|
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")[];
|
|
27949
|
+
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
27950
|
enabled: boolean;
|
|
27500
27951
|
};
|
|
27501
27952
|
secret: string;
|
|
@@ -27519,24 +27970,24 @@ declare const sendingRoutes: {
|
|
|
27519
27970
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
27520
27971
|
} & {
|
|
27521
27972
|
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"]>>;
|
|
27973
|
+
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
27974
|
}, "strip", z.ZodTypeAny, {
|
|
27524
27975
|
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
27525
27976
|
cursor?: string | undefined;
|
|
27526
27977
|
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;
|
|
27978
|
+
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
27979
|
}, {
|
|
27529
27980
|
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
27530
27981
|
cursor?: string | undefined;
|
|
27531
27982
|
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;
|
|
27983
|
+
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
27984
|
}>;
|
|
27534
27985
|
readonly response: z.ZodObject<{
|
|
27535
27986
|
data: z.ZodArray<z.ZodObject<{
|
|
27536
27987
|
id: z.ZodString;
|
|
27537
27988
|
endpoint_id: z.ZodString;
|
|
27538
27989
|
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"]>;
|
|
27990
|
+
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
27991
|
status: z.ZodEnum<["pending", "succeeded", "failed"]>;
|
|
27541
27992
|
attempts: z.ZodNumber;
|
|
27542
27993
|
last_status_code: z.ZodNullable<z.ZodNumber>;
|
|
@@ -27552,7 +28003,7 @@ declare const sendingRoutes: {
|
|
|
27552
28003
|
last_error: string | null;
|
|
27553
28004
|
endpoint_id: string;
|
|
27554
28005
|
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";
|
|
28006
|
+
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
28007
|
last_status_code: number | null;
|
|
27557
28008
|
next_attempt_at: string | null;
|
|
27558
28009
|
delivered_at: string | null;
|
|
@@ -27564,7 +28015,7 @@ declare const sendingRoutes: {
|
|
|
27564
28015
|
last_error: string | null;
|
|
27565
28016
|
endpoint_id: string;
|
|
27566
28017
|
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";
|
|
28018
|
+
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
28019
|
last_status_code: number | null;
|
|
27569
28020
|
next_attempt_at: string | null;
|
|
27570
28021
|
delivered_at: string | null;
|
|
@@ -27579,7 +28030,7 @@ declare const sendingRoutes: {
|
|
|
27579
28030
|
last_error: string | null;
|
|
27580
28031
|
endpoint_id: string;
|
|
27581
28032
|
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";
|
|
28033
|
+
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
28034
|
last_status_code: number | null;
|
|
27584
28035
|
next_attempt_at: string | null;
|
|
27585
28036
|
delivered_at: string | null;
|
|
@@ -27594,7 +28045,7 @@ declare const sendingRoutes: {
|
|
|
27594
28045
|
last_error: string | null;
|
|
27595
28046
|
endpoint_id: string;
|
|
27596
28047
|
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";
|
|
28048
|
+
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
28049
|
last_status_code: number | null;
|
|
27599
28050
|
next_attempt_at: string | null;
|
|
27600
28051
|
delivered_at: string | null;
|
|
@@ -27622,7 +28073,7 @@ declare const sendingRoutes: {
|
|
|
27622
28073
|
id: z.ZodString;
|
|
27623
28074
|
endpoint_id: z.ZodString;
|
|
27624
28075
|
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"]>;
|
|
28076
|
+
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
28077
|
status: z.ZodEnum<["pending", "succeeded", "failed"]>;
|
|
27627
28078
|
attempts: z.ZodNumber;
|
|
27628
28079
|
last_status_code: z.ZodNullable<z.ZodNumber>;
|
|
@@ -27638,7 +28089,7 @@ declare const sendingRoutes: {
|
|
|
27638
28089
|
last_error: string | null;
|
|
27639
28090
|
endpoint_id: string;
|
|
27640
28091
|
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";
|
|
28092
|
+
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
28093
|
last_status_code: number | null;
|
|
27643
28094
|
next_attempt_at: string | null;
|
|
27644
28095
|
delivered_at: string | null;
|
|
@@ -27650,7 +28101,7 @@ declare const sendingRoutes: {
|
|
|
27650
28101
|
last_error: string | null;
|
|
27651
28102
|
endpoint_id: string;
|
|
27652
28103
|
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";
|
|
28104
|
+
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
28105
|
last_status_code: number | null;
|
|
27655
28106
|
next_attempt_at: string | null;
|
|
27656
28107
|
delivered_at: string | null;
|
|
@@ -31918,18 +32369,24 @@ declare const inviteRoutes: {
|
|
|
31918
32369
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
31919
32370
|
tracking_enabled: z.ZodBoolean;
|
|
31920
32371
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
32372
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
32373
|
+
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
32374
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
31922
32375
|
}, "strip", z.ZodTypeAny, {
|
|
31923
32376
|
asset_policy: "any" | "service_only";
|
|
31924
32377
|
default_locale: string;
|
|
31925
32378
|
locales: string[];
|
|
31926
32379
|
tracking_enabled: boolean;
|
|
32380
|
+
allowed_asset_hosts: string[];
|
|
32381
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
31927
32382
|
default_timezone: string | null;
|
|
31928
32383
|
}, {
|
|
31929
32384
|
asset_policy: "any" | "service_only";
|
|
31930
32385
|
default_locale: string;
|
|
31931
32386
|
locales: string[];
|
|
31932
32387
|
tracking_enabled: boolean;
|
|
32388
|
+
allowed_asset_hosts: string[];
|
|
32389
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
31933
32390
|
default_timezone: string | null;
|
|
31934
32391
|
}>;
|
|
31935
32392
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -31948,6 +32405,8 @@ declare const inviteRoutes: {
|
|
|
31948
32405
|
default_locale: string;
|
|
31949
32406
|
locales: string[];
|
|
31950
32407
|
tracking_enabled: boolean;
|
|
32408
|
+
allowed_asset_hosts: string[];
|
|
32409
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
31951
32410
|
default_timezone: string | null;
|
|
31952
32411
|
};
|
|
31953
32412
|
company_id: string | null;
|
|
@@ -31963,6 +32422,8 @@ declare const inviteRoutes: {
|
|
|
31963
32422
|
default_locale: string;
|
|
31964
32423
|
locales: string[];
|
|
31965
32424
|
tracking_enabled: boolean;
|
|
32425
|
+
allowed_asset_hosts: string[];
|
|
32426
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
31966
32427
|
default_timezone: string | null;
|
|
31967
32428
|
};
|
|
31968
32429
|
company_id: string | null;
|
|
@@ -31981,6 +32442,8 @@ declare const inviteRoutes: {
|
|
|
31981
32442
|
default_locale: string;
|
|
31982
32443
|
locales: string[];
|
|
31983
32444
|
tracking_enabled: boolean;
|
|
32445
|
+
allowed_asset_hosts: string[];
|
|
32446
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
31984
32447
|
default_timezone: string | null;
|
|
31985
32448
|
};
|
|
31986
32449
|
company_id: string | null;
|
|
@@ -31999,6 +32462,8 @@ declare const inviteRoutes: {
|
|
|
31999
32462
|
default_locale: string;
|
|
32000
32463
|
locales: string[];
|
|
32001
32464
|
tracking_enabled: boolean;
|
|
32465
|
+
allowed_asset_hosts: string[];
|
|
32466
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
32002
32467
|
default_timezone: string | null;
|
|
32003
32468
|
};
|
|
32004
32469
|
company_id: string | null;
|
|
@@ -67592,18 +68057,24 @@ declare const routes: {
|
|
|
67592
68057
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
67593
68058
|
tracking_enabled: z.ZodBoolean;
|
|
67594
68059
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
68060
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
68061
|
+
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
68062
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
67596
68063
|
}, "strip", z.ZodTypeAny, {
|
|
67597
68064
|
asset_policy: "any" | "service_only";
|
|
67598
68065
|
default_locale: string;
|
|
67599
68066
|
locales: string[];
|
|
67600
68067
|
tracking_enabled: boolean;
|
|
68068
|
+
allowed_asset_hosts: string[];
|
|
68069
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
67601
68070
|
default_timezone: string | null;
|
|
67602
68071
|
}, {
|
|
67603
68072
|
asset_policy: "any" | "service_only";
|
|
67604
68073
|
default_locale: string;
|
|
67605
68074
|
locales: string[];
|
|
67606
68075
|
tracking_enabled: boolean;
|
|
68076
|
+
allowed_asset_hosts: string[];
|
|
68077
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
67607
68078
|
default_timezone: string | null;
|
|
67608
68079
|
}>;
|
|
67609
68080
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -67622,6 +68093,8 @@ declare const routes: {
|
|
|
67622
68093
|
default_locale: string;
|
|
67623
68094
|
locales: string[];
|
|
67624
68095
|
tracking_enabled: boolean;
|
|
68096
|
+
allowed_asset_hosts: string[];
|
|
68097
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
67625
68098
|
default_timezone: string | null;
|
|
67626
68099
|
};
|
|
67627
68100
|
company_id: string | null;
|
|
@@ -67637,6 +68110,8 @@ declare const routes: {
|
|
|
67637
68110
|
default_locale: string;
|
|
67638
68111
|
locales: string[];
|
|
67639
68112
|
tracking_enabled: boolean;
|
|
68113
|
+
allowed_asset_hosts: string[];
|
|
68114
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
67640
68115
|
default_timezone: string | null;
|
|
67641
68116
|
};
|
|
67642
68117
|
company_id: string | null;
|
|
@@ -67655,6 +68130,8 @@ declare const routes: {
|
|
|
67655
68130
|
default_locale: string;
|
|
67656
68131
|
locales: string[];
|
|
67657
68132
|
tracking_enabled: boolean;
|
|
68133
|
+
allowed_asset_hosts: string[];
|
|
68134
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
67658
68135
|
default_timezone: string | null;
|
|
67659
68136
|
};
|
|
67660
68137
|
company_id: string | null;
|
|
@@ -67673,6 +68150,8 @@ declare const routes: {
|
|
|
67673
68150
|
default_locale: string;
|
|
67674
68151
|
locales: string[];
|
|
67675
68152
|
tracking_enabled: boolean;
|
|
68153
|
+
allowed_asset_hosts: string[];
|
|
68154
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
67676
68155
|
default_timezone: string | null;
|
|
67677
68156
|
};
|
|
67678
68157
|
company_id: string | null;
|
|
@@ -73825,7 +74304,7 @@ declare const routes: {
|
|
|
73825
74304
|
id: z.ZodString;
|
|
73826
74305
|
url: z.ZodString;
|
|
73827
74306
|
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">;
|
|
74307
|
+
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
74308
|
enabled: z.ZodBoolean;
|
|
73830
74309
|
created_at: z.ZodString;
|
|
73831
74310
|
updated_at: z.ZodString;
|
|
@@ -73835,7 +74314,7 @@ declare const routes: {
|
|
|
73835
74314
|
created_at: string;
|
|
73836
74315
|
updated_at: string;
|
|
73837
74316
|
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")[];
|
|
74317
|
+
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
74318
|
enabled: boolean;
|
|
73840
74319
|
}, {
|
|
73841
74320
|
id: string;
|
|
@@ -73843,7 +74322,7 @@ declare const routes: {
|
|
|
73843
74322
|
created_at: string;
|
|
73844
74323
|
updated_at: string;
|
|
73845
74324
|
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")[];
|
|
74325
|
+
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
74326
|
enabled: boolean;
|
|
73848
74327
|
}>, "many">;
|
|
73849
74328
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
@@ -73854,7 +74333,7 @@ declare const routes: {
|
|
|
73854
74333
|
created_at: string;
|
|
73855
74334
|
updated_at: string;
|
|
73856
74335
|
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")[];
|
|
74336
|
+
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
74337
|
enabled: boolean;
|
|
73859
74338
|
}[];
|
|
73860
74339
|
next_cursor: string | null;
|
|
@@ -73865,7 +74344,7 @@ declare const routes: {
|
|
|
73865
74344
|
created_at: string;
|
|
73866
74345
|
updated_at: string;
|
|
73867
74346
|
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")[];
|
|
74347
|
+
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
74348
|
enabled: boolean;
|
|
73870
74349
|
}[];
|
|
73871
74350
|
next_cursor: string | null;
|
|
@@ -73880,16 +74359,16 @@ declare const routes: {
|
|
|
73880
74359
|
readonly body: z.ZodObject<{
|
|
73881
74360
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
73882
74361
|
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">;
|
|
74362
|
+
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
74363
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
73885
74364
|
}, "strip", z.ZodTypeAny, {
|
|
73886
74365
|
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")[];
|
|
74366
|
+
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
74367
|
description?: string | undefined;
|
|
73889
74368
|
enabled?: boolean | undefined;
|
|
73890
74369
|
}, {
|
|
73891
74370
|
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")[];
|
|
74371
|
+
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
74372
|
description?: string | undefined;
|
|
73894
74373
|
enabled?: boolean | undefined;
|
|
73895
74374
|
}>;
|
|
@@ -73898,7 +74377,7 @@ declare const routes: {
|
|
|
73898
74377
|
id: z.ZodString;
|
|
73899
74378
|
url: z.ZodString;
|
|
73900
74379
|
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">;
|
|
74380
|
+
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
74381
|
enabled: z.ZodBoolean;
|
|
73903
74382
|
created_at: z.ZodString;
|
|
73904
74383
|
updated_at: z.ZodString;
|
|
@@ -73908,7 +74387,7 @@ declare const routes: {
|
|
|
73908
74387
|
created_at: string;
|
|
73909
74388
|
updated_at: string;
|
|
73910
74389
|
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")[];
|
|
74390
|
+
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
74391
|
enabled: boolean;
|
|
73913
74392
|
}, {
|
|
73914
74393
|
id: string;
|
|
@@ -73916,7 +74395,7 @@ declare const routes: {
|
|
|
73916
74395
|
created_at: string;
|
|
73917
74396
|
updated_at: string;
|
|
73918
74397
|
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")[];
|
|
74398
|
+
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
74399
|
enabled: boolean;
|
|
73921
74400
|
}>;
|
|
73922
74401
|
secret: z.ZodString;
|
|
@@ -73927,7 +74406,7 @@ declare const routes: {
|
|
|
73927
74406
|
created_at: string;
|
|
73928
74407
|
updated_at: string;
|
|
73929
74408
|
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")[];
|
|
74409
|
+
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
74410
|
enabled: boolean;
|
|
73932
74411
|
};
|
|
73933
74412
|
secret: string;
|
|
@@ -73938,7 +74417,7 @@ declare const routes: {
|
|
|
73938
74417
|
created_at: string;
|
|
73939
74418
|
updated_at: string;
|
|
73940
74419
|
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")[];
|
|
74420
|
+
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
74421
|
enabled: boolean;
|
|
73943
74422
|
};
|
|
73944
74423
|
secret: string;
|
|
@@ -73961,7 +74440,7 @@ declare const routes: {
|
|
|
73961
74440
|
id: z.ZodString;
|
|
73962
74441
|
url: z.ZodString;
|
|
73963
74442
|
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">;
|
|
74443
|
+
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
74444
|
enabled: z.ZodBoolean;
|
|
73966
74445
|
created_at: z.ZodString;
|
|
73967
74446
|
updated_at: z.ZodString;
|
|
@@ -73971,7 +74450,7 @@ declare const routes: {
|
|
|
73971
74450
|
created_at: string;
|
|
73972
74451
|
updated_at: string;
|
|
73973
74452
|
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")[];
|
|
74453
|
+
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
74454
|
enabled: boolean;
|
|
73976
74455
|
}, {
|
|
73977
74456
|
id: string;
|
|
@@ -73979,7 +74458,7 @@ declare const routes: {
|
|
|
73979
74458
|
created_at: string;
|
|
73980
74459
|
updated_at: string;
|
|
73981
74460
|
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")[];
|
|
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")[];
|
|
73983
74462
|
enabled: boolean;
|
|
73984
74463
|
}>;
|
|
73985
74464
|
readonly status: 200;
|
|
@@ -73999,34 +74478,34 @@ declare const routes: {
|
|
|
73999
74478
|
readonly body: z.ZodEffects<z.ZodObject<{
|
|
74000
74479
|
url: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
74001
74480
|
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">>;
|
|
74481
|
+
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
74482
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
74004
74483
|
}, "strip", z.ZodTypeAny, {
|
|
74005
74484
|
description?: string | null | undefined;
|
|
74006
74485
|
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;
|
|
74486
|
+
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
74487
|
enabled?: boolean | undefined;
|
|
74009
74488
|
}, {
|
|
74010
74489
|
description?: string | null | undefined;
|
|
74011
74490
|
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;
|
|
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")[] | undefined;
|
|
74013
74492
|
enabled?: boolean | undefined;
|
|
74014
74493
|
}>, {
|
|
74015
74494
|
description?: string | null | undefined;
|
|
74016
74495
|
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;
|
|
74496
|
+
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
74497
|
enabled?: boolean | undefined;
|
|
74019
74498
|
}, {
|
|
74020
74499
|
description?: string | null | undefined;
|
|
74021
74500
|
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;
|
|
74501
|
+
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
74502
|
enabled?: boolean | undefined;
|
|
74024
74503
|
}>;
|
|
74025
74504
|
readonly response: z.ZodObject<{
|
|
74026
74505
|
id: z.ZodString;
|
|
74027
74506
|
url: z.ZodString;
|
|
74028
74507
|
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">;
|
|
74508
|
+
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
74509
|
enabled: z.ZodBoolean;
|
|
74031
74510
|
created_at: z.ZodString;
|
|
74032
74511
|
updated_at: z.ZodString;
|
|
@@ -74036,7 +74515,7 @@ declare const routes: {
|
|
|
74036
74515
|
created_at: string;
|
|
74037
74516
|
updated_at: string;
|
|
74038
74517
|
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")[];
|
|
74518
|
+
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
74519
|
enabled: boolean;
|
|
74041
74520
|
}, {
|
|
74042
74521
|
id: string;
|
|
@@ -74044,7 +74523,7 @@ declare const routes: {
|
|
|
74044
74523
|
created_at: string;
|
|
74045
74524
|
updated_at: string;
|
|
74046
74525
|
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")[];
|
|
74526
|
+
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
74527
|
enabled: boolean;
|
|
74049
74528
|
}>;
|
|
74050
74529
|
readonly status: 200;
|
|
@@ -74087,7 +74566,7 @@ declare const routes: {
|
|
|
74087
74566
|
id: z.ZodString;
|
|
74088
74567
|
url: z.ZodString;
|
|
74089
74568
|
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">;
|
|
74569
|
+
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
74570
|
enabled: z.ZodBoolean;
|
|
74092
74571
|
created_at: z.ZodString;
|
|
74093
74572
|
updated_at: z.ZodString;
|
|
@@ -74097,7 +74576,7 @@ declare const routes: {
|
|
|
74097
74576
|
created_at: string;
|
|
74098
74577
|
updated_at: string;
|
|
74099
74578
|
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")[];
|
|
74579
|
+
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
74580
|
enabled: boolean;
|
|
74102
74581
|
}, {
|
|
74103
74582
|
id: string;
|
|
@@ -74105,7 +74584,7 @@ declare const routes: {
|
|
|
74105
74584
|
created_at: string;
|
|
74106
74585
|
updated_at: string;
|
|
74107
74586
|
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")[];
|
|
74587
|
+
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
74588
|
enabled: boolean;
|
|
74110
74589
|
}>;
|
|
74111
74590
|
secret: z.ZodString;
|
|
@@ -74116,7 +74595,7 @@ declare const routes: {
|
|
|
74116
74595
|
created_at: string;
|
|
74117
74596
|
updated_at: string;
|
|
74118
74597
|
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")[];
|
|
74598
|
+
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
74599
|
enabled: boolean;
|
|
74121
74600
|
};
|
|
74122
74601
|
secret: string;
|
|
@@ -74127,7 +74606,7 @@ declare const routes: {
|
|
|
74127
74606
|
created_at: string;
|
|
74128
74607
|
updated_at: string;
|
|
74129
74608
|
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")[];
|
|
74609
|
+
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
74610
|
enabled: boolean;
|
|
74132
74611
|
};
|
|
74133
74612
|
secret: string;
|
|
@@ -74151,24 +74630,24 @@ declare const routes: {
|
|
|
74151
74630
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
74152
74631
|
} & {
|
|
74153
74632
|
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"]>>;
|
|
74633
|
+
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
74634
|
}, "strip", z.ZodTypeAny, {
|
|
74156
74635
|
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
74157
74636
|
cursor?: string | undefined;
|
|
74158
74637
|
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;
|
|
74638
|
+
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
74639
|
}, {
|
|
74161
74640
|
status?: "pending" | "failed" | "succeeded" | undefined;
|
|
74162
74641
|
cursor?: string | undefined;
|
|
74163
74642
|
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;
|
|
74643
|
+
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
74644
|
}>;
|
|
74166
74645
|
readonly response: z.ZodObject<{
|
|
74167
74646
|
data: z.ZodArray<z.ZodObject<{
|
|
74168
74647
|
id: z.ZodString;
|
|
74169
74648
|
endpoint_id: z.ZodString;
|
|
74170
74649
|
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"]>;
|
|
74650
|
+
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
74651
|
status: z.ZodEnum<["pending", "succeeded", "failed"]>;
|
|
74173
74652
|
attempts: z.ZodNumber;
|
|
74174
74653
|
last_status_code: z.ZodNullable<z.ZodNumber>;
|
|
@@ -74184,7 +74663,7 @@ declare const routes: {
|
|
|
74184
74663
|
last_error: string | null;
|
|
74185
74664
|
endpoint_id: string;
|
|
74186
74665
|
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";
|
|
74666
|
+
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
74667
|
last_status_code: number | null;
|
|
74189
74668
|
next_attempt_at: string | null;
|
|
74190
74669
|
delivered_at: string | null;
|
|
@@ -74196,7 +74675,7 @@ declare const routes: {
|
|
|
74196
74675
|
last_error: string | null;
|
|
74197
74676
|
endpoint_id: string;
|
|
74198
74677
|
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";
|
|
74678
|
+
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
74679
|
last_status_code: number | null;
|
|
74201
74680
|
next_attempt_at: string | null;
|
|
74202
74681
|
delivered_at: string | null;
|
|
@@ -74211,7 +74690,7 @@ declare const routes: {
|
|
|
74211
74690
|
last_error: string | null;
|
|
74212
74691
|
endpoint_id: string;
|
|
74213
74692
|
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";
|
|
74693
|
+
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
74694
|
last_status_code: number | null;
|
|
74216
74695
|
next_attempt_at: string | null;
|
|
74217
74696
|
delivered_at: string | null;
|
|
@@ -74226,7 +74705,7 @@ declare const routes: {
|
|
|
74226
74705
|
last_error: string | null;
|
|
74227
74706
|
endpoint_id: string;
|
|
74228
74707
|
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";
|
|
74708
|
+
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
74709
|
last_status_code: number | null;
|
|
74231
74710
|
next_attempt_at: string | null;
|
|
74232
74711
|
delivered_at: string | null;
|
|
@@ -74254,7 +74733,7 @@ declare const routes: {
|
|
|
74254
74733
|
id: z.ZodString;
|
|
74255
74734
|
endpoint_id: z.ZodString;
|
|
74256
74735
|
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"]>;
|
|
74736
|
+
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
74737
|
status: z.ZodEnum<["pending", "succeeded", "failed"]>;
|
|
74259
74738
|
attempts: z.ZodNumber;
|
|
74260
74739
|
last_status_code: z.ZodNullable<z.ZodNumber>;
|
|
@@ -74270,7 +74749,7 @@ declare const routes: {
|
|
|
74270
74749
|
last_error: string | null;
|
|
74271
74750
|
endpoint_id: string;
|
|
74272
74751
|
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";
|
|
74752
|
+
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
74753
|
last_status_code: number | null;
|
|
74275
74754
|
next_attempt_at: string | null;
|
|
74276
74755
|
delivered_at: string | null;
|
|
@@ -74282,7 +74761,7 @@ declare const routes: {
|
|
|
74282
74761
|
last_error: string | null;
|
|
74283
74762
|
endpoint_id: string;
|
|
74284
74763
|
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";
|
|
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";
|
|
74286
74765
|
last_status_code: number | null;
|
|
74287
74766
|
next_attempt_at: string | null;
|
|
74288
74767
|
delivered_at: string | null;
|
|
@@ -75748,18 +76227,24 @@ declare const routes: {
|
|
|
75748
76227
|
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
75749
76228
|
tracking_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
75750
76229
|
asset_policy: z.ZodOptional<z.ZodEnum<["any", "service_only"]>>;
|
|
76230
|
+
allowed_asset_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76231
|
+
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
76232
|
default_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
75752
76233
|
}, "strip", z.ZodTypeAny, {
|
|
75753
76234
|
asset_policy?: "any" | "service_only" | undefined;
|
|
75754
76235
|
default_locale?: string | undefined;
|
|
75755
76236
|
locales?: string[] | undefined;
|
|
75756
76237
|
tracking_enabled?: boolean | undefined;
|
|
76238
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76239
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
75757
76240
|
default_timezone?: string | null | undefined;
|
|
75758
76241
|
}, {
|
|
75759
76242
|
asset_policy?: "any" | "service_only" | undefined;
|
|
75760
76243
|
default_locale?: string | undefined;
|
|
75761
76244
|
locales?: string[] | undefined;
|
|
75762
76245
|
tracking_enabled?: boolean | undefined;
|
|
76246
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76247
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
75763
76248
|
default_timezone?: string | null | undefined;
|
|
75764
76249
|
}>>;
|
|
75765
76250
|
owner: z.ZodObject<{
|
|
@@ -75785,6 +76270,8 @@ declare const routes: {
|
|
|
75785
76270
|
default_locale?: string | undefined;
|
|
75786
76271
|
locales?: string[] | undefined;
|
|
75787
76272
|
tracking_enabled?: boolean | undefined;
|
|
76273
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76274
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
75788
76275
|
default_timezone?: string | null | undefined;
|
|
75789
76276
|
} | undefined;
|
|
75790
76277
|
company_id?: string | undefined;
|
|
@@ -75800,6 +76287,8 @@ declare const routes: {
|
|
|
75800
76287
|
default_locale?: string | undefined;
|
|
75801
76288
|
locales?: string[] | undefined;
|
|
75802
76289
|
tracking_enabled?: boolean | undefined;
|
|
76290
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76291
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
75803
76292
|
default_timezone?: string | null | undefined;
|
|
75804
76293
|
} | undefined;
|
|
75805
76294
|
company_id?: string | undefined;
|
|
@@ -75813,18 +76302,24 @@ declare const routes: {
|
|
|
75813
76302
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
75814
76303
|
tracking_enabled: z.ZodBoolean;
|
|
75815
76304
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
76305
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
76306
|
+
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
76307
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
75817
76308
|
}, "strip", z.ZodTypeAny, {
|
|
75818
76309
|
asset_policy: "any" | "service_only";
|
|
75819
76310
|
default_locale: string;
|
|
75820
76311
|
locales: string[];
|
|
75821
76312
|
tracking_enabled: boolean;
|
|
76313
|
+
allowed_asset_hosts: string[];
|
|
76314
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75822
76315
|
default_timezone: string | null;
|
|
75823
76316
|
}, {
|
|
75824
76317
|
asset_policy: "any" | "service_only";
|
|
75825
76318
|
default_locale: string;
|
|
75826
76319
|
locales: string[];
|
|
75827
76320
|
tracking_enabled: boolean;
|
|
76321
|
+
allowed_asset_hosts: string[];
|
|
76322
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75828
76323
|
default_timezone: string | null;
|
|
75829
76324
|
}>;
|
|
75830
76325
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -75841,6 +76336,8 @@ declare const routes: {
|
|
|
75841
76336
|
default_locale: string;
|
|
75842
76337
|
locales: string[];
|
|
75843
76338
|
tracking_enabled: boolean;
|
|
76339
|
+
allowed_asset_hosts: string[];
|
|
76340
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75844
76341
|
default_timezone: string | null;
|
|
75845
76342
|
};
|
|
75846
76343
|
company_id: string | null;
|
|
@@ -75855,6 +76352,8 @@ declare const routes: {
|
|
|
75855
76352
|
default_locale: string;
|
|
75856
76353
|
locales: string[];
|
|
75857
76354
|
tracking_enabled: boolean;
|
|
76355
|
+
allowed_asset_hosts: string[];
|
|
76356
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75858
76357
|
default_timezone: string | null;
|
|
75859
76358
|
};
|
|
75860
76359
|
company_id: string | null;
|
|
@@ -75886,18 +76385,24 @@ declare const routes: {
|
|
|
75886
76385
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
75887
76386
|
tracking_enabled: z.ZodBoolean;
|
|
75888
76387
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
76388
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
76389
|
+
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
76390
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
75890
76391
|
}, "strip", z.ZodTypeAny, {
|
|
75891
76392
|
asset_policy: "any" | "service_only";
|
|
75892
76393
|
default_locale: string;
|
|
75893
76394
|
locales: string[];
|
|
75894
76395
|
tracking_enabled: boolean;
|
|
76396
|
+
allowed_asset_hosts: string[];
|
|
76397
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75895
76398
|
default_timezone: string | null;
|
|
75896
76399
|
}, {
|
|
75897
76400
|
asset_policy: "any" | "service_only";
|
|
75898
76401
|
default_locale: string;
|
|
75899
76402
|
locales: string[];
|
|
75900
76403
|
tracking_enabled: boolean;
|
|
76404
|
+
allowed_asset_hosts: string[];
|
|
76405
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75901
76406
|
default_timezone: string | null;
|
|
75902
76407
|
}>;
|
|
75903
76408
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -75916,6 +76421,8 @@ declare const routes: {
|
|
|
75916
76421
|
default_locale: string;
|
|
75917
76422
|
locales: string[];
|
|
75918
76423
|
tracking_enabled: boolean;
|
|
76424
|
+
allowed_asset_hosts: string[];
|
|
76425
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75919
76426
|
default_timezone: string | null;
|
|
75920
76427
|
};
|
|
75921
76428
|
company_id: string | null;
|
|
@@ -75931,6 +76438,8 @@ declare const routes: {
|
|
|
75931
76438
|
default_locale: string;
|
|
75932
76439
|
locales: string[];
|
|
75933
76440
|
tracking_enabled: boolean;
|
|
76441
|
+
allowed_asset_hosts: string[];
|
|
76442
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75934
76443
|
default_timezone: string | null;
|
|
75935
76444
|
};
|
|
75936
76445
|
company_id: string | null;
|
|
@@ -75949,6 +76458,8 @@ declare const routes: {
|
|
|
75949
76458
|
default_locale: string;
|
|
75950
76459
|
locales: string[];
|
|
75951
76460
|
tracking_enabled: boolean;
|
|
76461
|
+
allowed_asset_hosts: string[];
|
|
76462
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75952
76463
|
default_timezone: string | null;
|
|
75953
76464
|
};
|
|
75954
76465
|
company_id: string | null;
|
|
@@ -75967,6 +76478,8 @@ declare const routes: {
|
|
|
75967
76478
|
default_locale: string;
|
|
75968
76479
|
locales: string[];
|
|
75969
76480
|
tracking_enabled: boolean;
|
|
76481
|
+
allowed_asset_hosts: string[];
|
|
76482
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75970
76483
|
default_timezone: string | null;
|
|
75971
76484
|
};
|
|
75972
76485
|
company_id: string | null;
|
|
@@ -75990,18 +76503,24 @@ declare const routes: {
|
|
|
75990
76503
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
75991
76504
|
tracking_enabled: z.ZodBoolean;
|
|
75992
76505
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
76506
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
76507
|
+
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
76508
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
75994
76509
|
}, "strip", z.ZodTypeAny, {
|
|
75995
76510
|
asset_policy: "any" | "service_only";
|
|
75996
76511
|
default_locale: string;
|
|
75997
76512
|
locales: string[];
|
|
75998
76513
|
tracking_enabled: boolean;
|
|
76514
|
+
allowed_asset_hosts: string[];
|
|
76515
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
75999
76516
|
default_timezone: string | null;
|
|
76000
76517
|
}, {
|
|
76001
76518
|
asset_policy: "any" | "service_only";
|
|
76002
76519
|
default_locale: string;
|
|
76003
76520
|
locales: string[];
|
|
76004
76521
|
tracking_enabled: boolean;
|
|
76522
|
+
allowed_asset_hosts: string[];
|
|
76523
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76005
76524
|
default_timezone: string | null;
|
|
76006
76525
|
}>;
|
|
76007
76526
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -76018,6 +76537,8 @@ declare const routes: {
|
|
|
76018
76537
|
default_locale: string;
|
|
76019
76538
|
locales: string[];
|
|
76020
76539
|
tracking_enabled: boolean;
|
|
76540
|
+
allowed_asset_hosts: string[];
|
|
76541
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76021
76542
|
default_timezone: string | null;
|
|
76022
76543
|
};
|
|
76023
76544
|
company_id: string | null;
|
|
@@ -76032,6 +76553,8 @@ declare const routes: {
|
|
|
76032
76553
|
default_locale: string;
|
|
76033
76554
|
locales: string[];
|
|
76034
76555
|
tracking_enabled: boolean;
|
|
76556
|
+
allowed_asset_hosts: string[];
|
|
76557
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76035
76558
|
default_timezone: string | null;
|
|
76036
76559
|
};
|
|
76037
76560
|
company_id: string | null;
|
|
@@ -76050,18 +76573,24 @@ declare const routes: {
|
|
|
76050
76573
|
locales: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76051
76574
|
tracking_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
76052
76575
|
asset_policy: z.ZodOptional<z.ZodEnum<["any", "service_only"]>>;
|
|
76576
|
+
allowed_asset_hosts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
76577
|
+
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
76578
|
default_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76054
76579
|
}, "strip", z.ZodTypeAny, {
|
|
76055
76580
|
asset_policy?: "any" | "service_only" | undefined;
|
|
76056
76581
|
default_locale?: string | undefined;
|
|
76057
76582
|
locales?: string[] | undefined;
|
|
76058
76583
|
tracking_enabled?: boolean | undefined;
|
|
76584
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76585
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
76059
76586
|
default_timezone?: string | null | undefined;
|
|
76060
76587
|
}, {
|
|
76061
76588
|
asset_policy?: "any" | "service_only" | undefined;
|
|
76062
76589
|
default_locale?: string | undefined;
|
|
76063
76590
|
locales?: string[] | undefined;
|
|
76064
76591
|
tracking_enabled?: boolean | undefined;
|
|
76592
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76593
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
76065
76594
|
default_timezone?: string | null | undefined;
|
|
76066
76595
|
}>>;
|
|
76067
76596
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -76071,6 +76600,8 @@ declare const routes: {
|
|
|
76071
76600
|
default_locale?: string | undefined;
|
|
76072
76601
|
locales?: string[] | undefined;
|
|
76073
76602
|
tracking_enabled?: boolean | undefined;
|
|
76603
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76604
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
76074
76605
|
default_timezone?: string | null | undefined;
|
|
76075
76606
|
} | undefined;
|
|
76076
76607
|
}, {
|
|
@@ -76080,6 +76611,8 @@ declare const routes: {
|
|
|
76080
76611
|
default_locale?: string | undefined;
|
|
76081
76612
|
locales?: string[] | undefined;
|
|
76082
76613
|
tracking_enabled?: boolean | undefined;
|
|
76614
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76615
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
76083
76616
|
default_timezone?: string | null | undefined;
|
|
76084
76617
|
} | undefined;
|
|
76085
76618
|
}>, {
|
|
@@ -76089,6 +76622,8 @@ declare const routes: {
|
|
|
76089
76622
|
default_locale?: string | undefined;
|
|
76090
76623
|
locales?: string[] | undefined;
|
|
76091
76624
|
tracking_enabled?: boolean | undefined;
|
|
76625
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76626
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
76092
76627
|
default_timezone?: string | null | undefined;
|
|
76093
76628
|
} | undefined;
|
|
76094
76629
|
}, {
|
|
@@ -76098,6 +76633,8 @@ declare const routes: {
|
|
|
76098
76633
|
default_locale?: string | undefined;
|
|
76099
76634
|
locales?: string[] | undefined;
|
|
76100
76635
|
tracking_enabled?: boolean | undefined;
|
|
76636
|
+
allowed_asset_hosts?: string[] | undefined;
|
|
76637
|
+
merge_defaults?: Record<string, string | number | boolean> | undefined;
|
|
76101
76638
|
default_timezone?: string | null | undefined;
|
|
76102
76639
|
} | undefined;
|
|
76103
76640
|
}>;
|
|
@@ -76110,18 +76647,24 @@ declare const routes: {
|
|
|
76110
76647
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
76111
76648
|
tracking_enabled: z.ZodBoolean;
|
|
76112
76649
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
76650
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
76651
|
+
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
76652
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
76114
76653
|
}, "strip", z.ZodTypeAny, {
|
|
76115
76654
|
asset_policy: "any" | "service_only";
|
|
76116
76655
|
default_locale: string;
|
|
76117
76656
|
locales: string[];
|
|
76118
76657
|
tracking_enabled: boolean;
|
|
76658
|
+
allowed_asset_hosts: string[];
|
|
76659
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76119
76660
|
default_timezone: string | null;
|
|
76120
76661
|
}, {
|
|
76121
76662
|
asset_policy: "any" | "service_only";
|
|
76122
76663
|
default_locale: string;
|
|
76123
76664
|
locales: string[];
|
|
76124
76665
|
tracking_enabled: boolean;
|
|
76666
|
+
allowed_asset_hosts: string[];
|
|
76667
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76125
76668
|
default_timezone: string | null;
|
|
76126
76669
|
}>;
|
|
76127
76670
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -76138,6 +76681,8 @@ declare const routes: {
|
|
|
76138
76681
|
default_locale: string;
|
|
76139
76682
|
locales: string[];
|
|
76140
76683
|
tracking_enabled: boolean;
|
|
76684
|
+
allowed_asset_hosts: string[];
|
|
76685
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76141
76686
|
default_timezone: string | null;
|
|
76142
76687
|
};
|
|
76143
76688
|
company_id: string | null;
|
|
@@ -76152,6 +76697,8 @@ declare const routes: {
|
|
|
76152
76697
|
default_locale: string;
|
|
76153
76698
|
locales: string[];
|
|
76154
76699
|
tracking_enabled: boolean;
|
|
76700
|
+
allowed_asset_hosts: string[];
|
|
76701
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76155
76702
|
default_timezone: string | null;
|
|
76156
76703
|
};
|
|
76157
76704
|
company_id: string | null;
|
|
@@ -76184,18 +76731,24 @@ declare const routes: {
|
|
|
76184
76731
|
locales: z.ZodArray<z.ZodString, "many">;
|
|
76185
76732
|
tracking_enabled: z.ZodBoolean;
|
|
76186
76733
|
asset_policy: z.ZodEnum<["any", "service_only"]>;
|
|
76734
|
+
allowed_asset_hosts: z.ZodArray<z.ZodString, "many">;
|
|
76735
|
+
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
76736
|
default_timezone: z.ZodNullable<z.ZodString>;
|
|
76188
76737
|
}, "strip", z.ZodTypeAny, {
|
|
76189
76738
|
asset_policy: "any" | "service_only";
|
|
76190
76739
|
default_locale: string;
|
|
76191
76740
|
locales: string[];
|
|
76192
76741
|
tracking_enabled: boolean;
|
|
76742
|
+
allowed_asset_hosts: string[];
|
|
76743
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76193
76744
|
default_timezone: string | null;
|
|
76194
76745
|
}, {
|
|
76195
76746
|
asset_policy: "any" | "service_only";
|
|
76196
76747
|
default_locale: string;
|
|
76197
76748
|
locales: string[];
|
|
76198
76749
|
tracking_enabled: boolean;
|
|
76750
|
+
allowed_asset_hosts: string[];
|
|
76751
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76199
76752
|
default_timezone: string | null;
|
|
76200
76753
|
}>;
|
|
76201
76754
|
company_id: z.ZodNullable<z.ZodString>;
|
|
@@ -76212,6 +76765,8 @@ declare const routes: {
|
|
|
76212
76765
|
default_locale: string;
|
|
76213
76766
|
locales: string[];
|
|
76214
76767
|
tracking_enabled: boolean;
|
|
76768
|
+
allowed_asset_hosts: string[];
|
|
76769
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76215
76770
|
default_timezone: string | null;
|
|
76216
76771
|
};
|
|
76217
76772
|
company_id: string | null;
|
|
@@ -76226,6 +76781,8 @@ declare const routes: {
|
|
|
76226
76781
|
default_locale: string;
|
|
76227
76782
|
locales: string[];
|
|
76228
76783
|
tracking_enabled: boolean;
|
|
76784
|
+
allowed_asset_hosts: string[];
|
|
76785
|
+
merge_defaults: Record<string, string | number | boolean>;
|
|
76229
76786
|
default_timezone: string | null;
|
|
76230
76787
|
};
|
|
76231
76788
|
company_id: string | null;
|
|
@@ -76617,12 +77174,15 @@ declare const routes: {
|
|
|
76617
77174
|
}>, z.ZodObject<{
|
|
76618
77175
|
type: z.ZodLiteral<"api_key">;
|
|
76619
77176
|
api_key_id: z.ZodString;
|
|
77177
|
+
on_behalf_of: z.ZodOptional<z.ZodString>;
|
|
76620
77178
|
}, "strip", z.ZodTypeAny, {
|
|
76621
77179
|
type: "api_key";
|
|
76622
77180
|
api_key_id: string;
|
|
77181
|
+
on_behalf_of?: string | undefined;
|
|
76623
77182
|
}, {
|
|
76624
77183
|
type: "api_key";
|
|
76625
77184
|
api_key_id: string;
|
|
77185
|
+
on_behalf_of?: string | undefined;
|
|
76626
77186
|
}>, z.ZodObject<{
|
|
76627
77187
|
type: z.ZodLiteral<"system">;
|
|
76628
77188
|
reason: z.ZodString;
|
|
@@ -76649,6 +77209,7 @@ declare const routes: {
|
|
|
76649
77209
|
} | {
|
|
76650
77210
|
type: "api_key";
|
|
76651
77211
|
api_key_id: string;
|
|
77212
|
+
on_behalf_of?: string | undefined;
|
|
76652
77213
|
} | {
|
|
76653
77214
|
type: "system";
|
|
76654
77215
|
reason: string;
|
|
@@ -76667,6 +77228,7 @@ declare const routes: {
|
|
|
76667
77228
|
} | {
|
|
76668
77229
|
type: "api_key";
|
|
76669
77230
|
api_key_id: string;
|
|
77231
|
+
on_behalf_of?: string | undefined;
|
|
76670
77232
|
} | {
|
|
76671
77233
|
type: "system";
|
|
76672
77234
|
reason: string;
|
|
@@ -76688,6 +77250,7 @@ declare const routes: {
|
|
|
76688
77250
|
} | {
|
|
76689
77251
|
type: "api_key";
|
|
76690
77252
|
api_key_id: string;
|
|
77253
|
+
on_behalf_of?: string | undefined;
|
|
76691
77254
|
} | {
|
|
76692
77255
|
type: "system";
|
|
76693
77256
|
reason: string;
|
|
@@ -76709,6 +77272,7 @@ declare const routes: {
|
|
|
76709
77272
|
} | {
|
|
76710
77273
|
type: "api_key";
|
|
76711
77274
|
api_key_id: string;
|
|
77275
|
+
on_behalf_of?: string | undefined;
|
|
76712
77276
|
} | {
|
|
76713
77277
|
type: "system";
|
|
76714
77278
|
reason: string;
|
|
@@ -76744,10 +77308,16 @@ type RouteResponse<K extends OperationId> = Infer<Routes[K]['response']>;
|
|
|
76744
77308
|
declare function acceptsIdempotencyKey(route: RouteDef): boolean;
|
|
76745
77309
|
/** Fills the `:name` segments of a route path, URL-encoding each value. */
|
|
76746
77310
|
declare function buildPath(path: string, params?: Record<string, string | number>): string;
|
|
77311
|
+
/**
|
|
77312
|
+
* Every operation declaring one access level, sorted by id: what a caller that
|
|
77313
|
+
* satisfies exactly that level may reach. A bridge that only reads mounts
|
|
77314
|
+
* `operationsWithAccess('read')`, for instance.
|
|
77315
|
+
*/
|
|
77316
|
+
declare function operationsWithAccess(access: RouteAccess): OperationId[];
|
|
76747
77317
|
/** Finds the operation for a method and a concrete path, e.g. for logging. */
|
|
76748
77318
|
declare function matchRoute(method: HttpMethod, pathname: string): {
|
|
76749
77319
|
id: OperationId;
|
|
76750
77320
|
params: Record<string, string>;
|
|
76751
77321
|
} | null;
|
|
76752
77322
|
|
|
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 };
|
|
77323
|
+
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, 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_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 };
|