samva 0.17.0 → 0.19.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.
Files changed (143) hide show
  1. package/AGENTS.md +5 -0
  2. package/README.md +18 -3
  3. package/dist/{rolldown-runtime-D7D4PA-g.js → _virtual/_rolldown/runtime.js} +1 -1
  4. package/dist/client/client/client.gen.js +174 -0
  5. package/dist/client/client/utils.gen.js +177 -0
  6. package/dist/client/client.gen.js +8 -0
  7. package/dist/client/core/auth.gen.js +12 -0
  8. package/dist/client/core/bodySerializer.gen.js +6 -0
  9. package/dist/client/core/params.gen.js +77 -0
  10. package/dist/client/core/pathSerializer.gen.js +82 -0
  11. package/dist/client/core/serverSentEvents.gen.js +96 -0
  12. package/dist/client/core/utils.gen.js +78 -0
  13. package/dist/client/sdk.gen.d.ts +39 -23
  14. package/dist/{promises---Kbh-7z.js → client/sdk.gen.js} +87 -2314
  15. package/dist/client/types.gen.d.ts +175 -44
  16. package/dist/client-attribution.js +9 -0
  17. package/dist/effect/analytics.d.ts +6 -6
  18. package/dist/effect/analytics.js +23 -2
  19. package/dist/effect/api-keys.d.ts +12 -12
  20. package/dist/effect/api-keys.js +29 -2
  21. package/dist/effect/attachments.d.ts +4 -4
  22. package/dist/effect/attachments.js +19 -2
  23. package/dist/effect/brands.d.ts +6 -6
  24. package/dist/effect/brands.js +26 -3
  25. package/dist/effect/campaigns.d.ts +18 -18
  26. package/dist/effect/campaigns.js +35 -2
  27. package/dist/effect/categories.d.ts +2 -2
  28. package/dist/effect/categories.js +95 -1
  29. package/dist/effect/client.js +3 -3
  30. package/dist/effect/contact-groups.d.ts +53 -17
  31. package/dist/effect/contact-groups.js +31 -2
  32. package/dist/effect/contacts.d.ts +244 -41
  33. package/dist/effect/contacts.js +54 -2
  34. package/dist/effect/conversations.d.ts +28 -28
  35. package/dist/effect/conversations.js +37 -2
  36. package/dist/effect/custom-fields.d.ts +4 -4
  37. package/dist/effect/custom-fields.js +19 -2
  38. package/dist/effect/email.d.ts +75 -75
  39. package/dist/effect/email.js +140 -2
  40. package/dist/effect/errors.d.ts +2 -0
  41. package/dist/effect/errors.js +3 -0
  42. package/dist/effect/events.d.ts +2 -2
  43. package/dist/effect/events.js +17 -3
  44. package/dist/effect/extension-installations.d.ts +23 -23
  45. package/dist/effect/extension-installations.js +29 -2
  46. package/dist/effect/extensions.d.ts +12 -12
  47. package/dist/effect/extensions.js +21 -2
  48. package/dist/effect/feedback.d.ts +1 -1
  49. package/dist/effect/feedback.js +14 -3
  50. package/dist/{analytics-CaqPRsry.js → effect/generated/analytics.js} +4 -23
  51. package/dist/{api-keys-Ce1Y4_Ip.js → effect/generated/api-keys.js} +4 -29
  52. package/dist/{attachments-DYqVIraC.js → effect/generated/attachments.js} +3 -18
  53. package/dist/{brands-ZwuOGIWO.js → effect/generated/brands.js} +5 -25
  54. package/dist/{campaigns-DZlz1E9E.js → effect/generated/campaigns.js} +4 -35
  55. package/dist/effect/generated/contact-events.js +37 -0
  56. package/dist/effect/generated/contact-groups.d.ts +33 -3
  57. package/dist/{contact-groups-BLbFXnjq.js → effect/generated/contact-groups.js} +3 -30
  58. package/dist/effect/generated/contacts.d.ts +477 -54
  59. package/dist/{contacts-BbsoXXB4.js → effect/generated/contacts.js} +41 -89
  60. package/dist/effect/generated/conversations.d.ts +25 -25
  61. package/dist/{conversations-_sRHueML.js → effect/generated/conversations.js} +4 -37
  62. package/dist/{custom-fields-BHWbwlKn.js → effect/generated/custom-fields.js} +5 -19
  63. package/dist/{email-R0NAA9PW.js → effect/generated/email.js} +995 -1146
  64. package/dist/{events-CxbTUHYT.js → effect/generated/events.js} +3 -15
  65. package/dist/effect/generated/extension-installations.d.ts +44 -44
  66. package/dist/{extension-installations-CD94LPmk.js → effect/generated/extension-installations.js} +10 -29
  67. package/dist/effect/generated/extensions.d.ts +10 -10
  68. package/dist/{extensions-BKyNQLvu.js → effect/generated/extensions.js} +5 -20
  69. package/dist/{feedback-Bpa09JOS.js → effect/generated/feedback.js} +3 -12
  70. package/dist/{journeys-CARo_BJT.js → effect/generated/journeys.js} +3 -38
  71. package/dist/effect/generated/mailboxes.d.ts +310 -0
  72. package/dist/{mailboxes-BRDn7BIK.js → effect/generated/mailboxes.js} +829 -954
  73. package/dist/{media-VrrtNnft.js → effect/generated/media.js} +3 -3
  74. package/dist/effect/generated/messages.d.ts +31 -0
  75. package/dist/effect/generated/messages.js +677 -0
  76. package/dist/{namespaces-CcvEbG-y.js → effect/generated/namespaces.js} +3 -20
  77. package/dist/{operations-CmB3FHwf.js → effect/generated/operations.js} +3 -16
  78. package/dist/effect/generated/organizations.d.ts +13 -11
  79. package/dist/{organizations-A-plufWc.js → effect/generated/organizations.js} +9 -26
  80. package/dist/{scheduled-messages-DkKZRRaN.js → effect/generated/scheduled-messages.js} +4 -21
  81. package/dist/effect/generated/shared.d.ts +70 -20
  82. package/dist/effect/generated/shared.js +1073 -0
  83. package/dist/{subscriptions-DEXYtMXg.js → effect/generated/subscriptions.js} +3 -9
  84. package/dist/{templates-DZomxsG7.js → effect/generated/templates.js} +3 -78
  85. package/dist/effect/generated/unsubscribe-groups.d.ts +173 -78
  86. package/dist/{unsubscribe-groups-Iqk4Isf9.js → effect/generated/unsubscribe-groups.js} +77 -84
  87. package/dist/effect/generated/webhooks.d.ts +19 -19
  88. package/dist/{webhooks-CPXuu8Xf.js → effect/generated/webhooks.js} +12 -34
  89. package/dist/{whoami-Ccz0jwlt.js → effect/generated/whoami.js} +5 -10
  90. package/dist/effect/generated-metadata.d.ts +7 -2
  91. package/dist/effect/generated-metadata.js +925 -0
  92. package/dist/effect/index.d.ts +1 -2
  93. package/dist/effect/index.js +32 -32
  94. package/dist/effect/internal/client.js +69 -0
  95. package/dist/effect/internal/email-sender.js +21 -0
  96. package/dist/effect/internal/mailbox-events.js +33 -0
  97. package/dist/effect/internal/operation.js +116 -0
  98. package/dist/effect/internal/send.js +56 -0
  99. package/dist/effect/journeys.d.ts +18 -18
  100. package/dist/effect/journeys.js +39 -2
  101. package/dist/effect/mailboxes.d.ts +314 -182
  102. package/dist/effect/mailboxes.js +135 -3
  103. package/dist/effect/media.d.ts +5 -5
  104. package/dist/effect/media.js +10 -10
  105. package/dist/effect/messages.d.ts +19 -14
  106. package/dist/effect/messages.js +15 -14
  107. package/dist/effect/namespaces.d.ts +7 -7
  108. package/dist/effect/namespaces.js +21 -2
  109. package/dist/effect/operations.d.ts +5 -5
  110. package/dist/effect/operations.js +17 -2
  111. package/dist/effect/organizations.d.ts +11 -11
  112. package/dist/effect/organizations.js +25 -2
  113. package/dist/effect/pagination.js +39 -0
  114. package/dist/effect/retry.js +3 -3
  115. package/dist/{runtime-P0l1_2-C.js → effect/runtime.js} +2 -2
  116. package/dist/effect/scheduled-messages.d.ts +7 -7
  117. package/dist/effect/scheduled-messages.js +21 -2
  118. package/dist/effect/subscriptions.d.ts +1 -1
  119. package/dist/effect/subscriptions.js +10 -2
  120. package/dist/effect/templates.d.ts +39 -39
  121. package/dist/effect/templates.js +80 -3
  122. package/dist/effect/unsubscribe-groups.d.ts +39 -28
  123. package/dist/effect/unsubscribe-groups.js +29 -2
  124. package/dist/effect/webhooks.d.ts +22 -22
  125. package/dist/effect/webhooks.js +35 -3
  126. package/dist/effect/whoami.d.ts +9 -9
  127. package/dist/effect/whoami.js +10 -2
  128. package/dist/index.js +4 -3
  129. package/dist/{inline-attachments-Bi1hDltp.js → inline-attachments.js} +13 -7
  130. package/dist/mailbox-events.d.ts +31 -4
  131. package/dist/{mailbox-events-VKR4f3qq.js → mailbox-events.js} +41 -13
  132. package/dist/{normalize-B79uJIeb.js → normalize.js} +2 -2
  133. package/dist/package.js +6 -0
  134. package/dist/promises/errors.gen.js +1340 -0
  135. package/dist/promises/index.d.ts +1 -1
  136. package/dist/promises/index.js +288 -3
  137. package/dist/promises/types.gen.d.ts +1 -1
  138. package/dist/service-map.d.ts +9 -4
  139. package/dist/{operation-n_IYgNVK.js → service-map.js} +12 -150
  140. package/package.json +6 -2
  141. package/dist/categories-CA4XIQAb.js +0 -1011
  142. package/dist/client-DOzUrdTE.js +0 -1115
  143. package/dist/send-Bxc0XfGE.js +0 -722
@@ -29,7 +29,7 @@ export declare const list: ((input?: {
29
29
  readonly createdAt: string;
30
30
  }[];
31
31
  readonly nextCursor: string | null;
32
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
32
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
33
33
  readonly pages: (input?: {
34
34
  readonly limit?: string | null | undefined;
35
35
  readonly cursor?: string | null | undefined;
@@ -61,7 +61,7 @@ export declare const list: ((input?: {
61
61
  readonly createdAt: string;
62
62
  }[];
63
63
  readonly nextCursor: string | null;
64
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
64
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
65
65
  readonly items: (input?: {
66
66
  readonly limit?: string | null | undefined;
67
67
  readonly cursor?: string | null | undefined;
@@ -90,14 +90,14 @@ export declare const list: ((input?: {
90
90
  } | null;
91
91
  readonly lastActiveAt: string | null;
92
92
  readonly createdAt: string;
93
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
93
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
94
94
  };
95
95
  export declare const create: (input: {
96
96
  readonly name: string;
97
97
  readonly displayName?: string | null | undefined;
98
98
  readonly avatar?: string | null | undefined;
99
99
  readonly identities?: readonly {
100
- readonly channel: "email";
100
+ readonly type: "email" | "phone";
101
101
  readonly identifier: string;
102
102
  readonly verified?: boolean | null | undefined;
103
103
  }[] | null | undefined;
@@ -170,9 +170,21 @@ export declare const create: (input: {
170
170
  readonly externalId: string | null;
171
171
  readonly identities: readonly {
172
172
  readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
173
- readonly channel: "email";
173
+ readonly type: "email" | "phone";
174
174
  readonly identifier: string;
175
175
  readonly verified: boolean;
176
+ readonly channels: readonly {
177
+ readonly channel: "email";
178
+ readonly reachability: "reachable" | "unknown" | "unreachable";
179
+ readonly consent: {
180
+ readonly status: "opted_in" | "opted_out";
181
+ readonly source: string;
182
+ readonly capturedAt: string;
183
+ readonly proof: {
184
+ readonly [x: string]: import("./generated").JsonValue;
185
+ } | null;
186
+ } | null;
187
+ }[];
176
188
  }[];
177
189
  readonly profile: {
178
190
  readonly firstName?: string | null;
@@ -208,7 +220,7 @@ export declare const create: (input: {
208
220
  } | null;
209
221
  readonly createdAt: string;
210
222
  readonly updatedAt: string;
211
- }, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
223
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
212
224
  export declare const find: (input?: {
213
225
  readonly email?: string | null | undefined;
214
226
  readonly phone?: string | null | undefined;
@@ -223,9 +235,21 @@ export declare const find: (input?: {
223
235
  readonly externalId: string | null;
224
236
  readonly identities: readonly {
225
237
  readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
226
- readonly channel: "email";
238
+ readonly type: "email" | "phone";
227
239
  readonly identifier: string;
228
240
  readonly verified: boolean;
241
+ readonly channels: readonly {
242
+ readonly channel: "email";
243
+ readonly reachability: "reachable" | "unknown" | "unreachable";
244
+ readonly consent: {
245
+ readonly status: "opted_in" | "opted_out";
246
+ readonly source: string;
247
+ readonly capturedAt: string;
248
+ readonly proof: {
249
+ readonly [x: string]: import("./generated").JsonValue;
250
+ } | null;
251
+ } | null;
252
+ }[];
229
253
  }[];
230
254
  readonly profile: {
231
255
  readonly firstName?: string | null;
@@ -261,7 +285,7 @@ export declare const find: (input?: {
261
285
  } | null;
262
286
  readonly createdAt: string;
263
287
  readonly updatedAt: string;
264
- } | null, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
288
+ } | null, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
265
289
  export declare const findOrCreate: (input: {
266
290
  readonly lookup: {
267
291
  readonly type: "email";
@@ -278,7 +302,7 @@ export declare const findOrCreate: (input: {
278
302
  readonly displayName?: string | null | undefined;
279
303
  readonly avatar?: string | null | undefined;
280
304
  readonly identities?: readonly {
281
- readonly channel: "email";
305
+ readonly type: "email" | "phone";
282
306
  readonly identifier: string;
283
307
  readonly verified?: boolean | null | undefined;
284
308
  }[] | null | undefined;
@@ -311,9 +335,21 @@ export declare const findOrCreate: (input: {
311
335
  readonly externalId: string | null;
312
336
  readonly identities: readonly {
313
337
  readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
314
- readonly channel: "email";
338
+ readonly type: "email" | "phone";
315
339
  readonly identifier: string;
316
340
  readonly verified: boolean;
341
+ readonly channels: readonly {
342
+ readonly channel: "email";
343
+ readonly reachability: "reachable" | "unknown" | "unreachable";
344
+ readonly consent: {
345
+ readonly status: "opted_in" | "opted_out";
346
+ readonly source: string;
347
+ readonly capturedAt: string;
348
+ readonly proof: {
349
+ readonly [x: string]: import("./generated").JsonValue;
350
+ } | null;
351
+ } | null;
352
+ }[];
317
353
  }[];
318
354
  readonly profile: {
319
355
  readonly firstName?: string | null;
@@ -351,7 +387,7 @@ export declare const findOrCreate: (input: {
351
387
  readonly updatedAt: string;
352
388
  };
353
389
  readonly created: boolean;
354
- }, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
390
+ }, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
355
391
  export declare const get: (input: {
356
392
  readonly id: string;
357
393
  }) => import("effect/Effect").Effect<{
@@ -364,9 +400,21 @@ export declare const get: (input: {
364
400
  readonly externalId: string | null;
365
401
  readonly identities: readonly {
366
402
  readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
367
- readonly channel: "email";
403
+ readonly type: "email" | "phone";
368
404
  readonly identifier: string;
369
405
  readonly verified: boolean;
406
+ readonly channels: readonly {
407
+ readonly channel: "email";
408
+ readonly reachability: "reachable" | "unknown" | "unreachable";
409
+ readonly consent: {
410
+ readonly status: "opted_in" | "opted_out";
411
+ readonly source: string;
412
+ readonly capturedAt: string;
413
+ readonly proof: {
414
+ readonly [x: string]: import("./generated").JsonValue;
415
+ } | null;
416
+ } | null;
417
+ }[];
370
418
  }[];
371
419
  readonly profile: {
372
420
  readonly firstName?: string | null;
@@ -402,12 +450,12 @@ export declare const get: (input: {
402
450
  } | null;
403
451
  readonly createdAt: string;
404
452
  readonly updatedAt: string;
405
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
453
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
406
454
  export declare const remove: (input: {
407
455
  readonly id: string;
408
456
  }) => import("effect/Effect").Effect<{
409
457
  readonly success: boolean;
410
- }, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
458
+ }, import("./errors").BillingProviderError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
411
459
  export declare const update: (input: {
412
460
  readonly id: string;
413
461
  readonly name?: string | null | undefined;
@@ -480,9 +528,21 @@ export declare const update: (input: {
480
528
  readonly externalId: string | null;
481
529
  readonly identities: readonly {
482
530
  readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
483
- readonly channel: "email";
531
+ readonly type: "email" | "phone";
484
532
  readonly identifier: string;
485
533
  readonly verified: boolean;
534
+ readonly channels: readonly {
535
+ readonly channel: "email";
536
+ readonly reachability: "reachable" | "unknown" | "unreachable";
537
+ readonly consent: {
538
+ readonly status: "opted_in" | "opted_out";
539
+ readonly source: string;
540
+ readonly capturedAt: string;
541
+ readonly proof: {
542
+ readonly [x: string]: import("./generated").JsonValue;
543
+ } | null;
544
+ } | null;
545
+ }[];
486
546
  }[];
487
547
  readonly profile: {
488
548
  readonly firstName?: string | null;
@@ -518,10 +578,10 @@ export declare const update: (input: {
518
578
  } | null;
519
579
  readonly createdAt: string;
520
580
  readonly updatedAt: string;
521
- }, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
581
+ }, import("./errors").BillingProviderError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
522
582
  export declare const addIdentity: (input: {
523
583
  readonly id: string;
524
- readonly channel: "email";
584
+ readonly type: "email" | "phone";
525
585
  readonly identifier: string;
526
586
  readonly verified?: boolean | null | undefined;
527
587
  }) => import("effect/Effect").Effect<{
@@ -534,9 +594,21 @@ export declare const addIdentity: (input: {
534
594
  readonly externalId: string | null;
535
595
  readonly identities: readonly {
536
596
  readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
537
- readonly channel: "email";
597
+ readonly type: "email" | "phone";
538
598
  readonly identifier: string;
539
599
  readonly verified: boolean;
600
+ readonly channels: readonly {
601
+ readonly channel: "email";
602
+ readonly reachability: "reachable" | "unknown" | "unreachable";
603
+ readonly consent: {
604
+ readonly status: "opted_in" | "opted_out";
605
+ readonly source: string;
606
+ readonly capturedAt: string;
607
+ readonly proof: {
608
+ readonly [x: string]: import("./generated").JsonValue;
609
+ } | null;
610
+ } | null;
611
+ }[];
540
612
  }[];
541
613
  readonly profile: {
542
614
  readonly firstName?: string | null;
@@ -572,7 +644,7 @@ export declare const addIdentity: (input: {
572
644
  } | null;
573
645
  readonly createdAt: string;
574
646
  readonly updatedAt: string;
575
- }, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
647
+ }, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
576
648
  export declare const removeIdentity: (input: {
577
649
  readonly id: string;
578
650
  readonly identityId: string;
@@ -586,9 +658,116 @@ export declare const removeIdentity: (input: {
586
658
  readonly externalId: string | null;
587
659
  readonly identities: readonly {
588
660
  readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
589
- readonly channel: "email";
661
+ readonly type: "email" | "phone";
662
+ readonly identifier: string;
663
+ readonly verified: boolean;
664
+ readonly channels: readonly {
665
+ readonly channel: "email";
666
+ readonly reachability: "reachable" | "unknown" | "unreachable";
667
+ readonly consent: {
668
+ readonly status: "opted_in" | "opted_out";
669
+ readonly source: string;
670
+ readonly capturedAt: string;
671
+ readonly proof: {
672
+ readonly [x: string]: import("./generated").JsonValue;
673
+ } | null;
674
+ } | null;
675
+ }[];
676
+ }[];
677
+ readonly profile: {
678
+ readonly firstName?: string | null;
679
+ readonly lastName?: string | null;
680
+ readonly company?: string | null;
681
+ readonly jobTitle?: string | null;
682
+ readonly location?: {
683
+ readonly country: string;
684
+ readonly state: string;
685
+ readonly city: string;
686
+ readonly timezone: string;
687
+ } | null;
688
+ readonly customFields?: {
689
+ readonly [x: string]: string | number | boolean | null;
690
+ } | null;
691
+ readonly source?: "api" | "form" | "import" | "manual" | null;
692
+ } | null;
693
+ readonly preferences: {
694
+ readonly preferredChannels?: readonly "email"[] | null;
695
+ readonly language?: string | null;
696
+ readonly timezone?: string | null;
697
+ readonly notifications?: {
698
+ readonly email?: boolean | null;
699
+ readonly quiet_hours?: {
700
+ readonly start: string;
701
+ readonly end: string;
702
+ } | null;
703
+ } | null;
704
+ } | null;
705
+ readonly tags: readonly string[];
706
+ readonly metadata: {
707
+ readonly [x: string]: import("./generated").JsonValue;
708
+ } | null;
709
+ readonly createdAt: string;
710
+ readonly updatedAt: string;
711
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
712
+ export declare const setConsent: (input: {
713
+ readonly id: string;
714
+ readonly identityId: string;
715
+ readonly channel: "email";
716
+ readonly status: "opted_in" | "opted_out";
717
+ readonly source: string;
718
+ readonly capturedAt: string;
719
+ readonly proof?: {
720
+ readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | {
721
+ readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
722
+ } | null)[] | {
723
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
724
+ } | null)[] | {
725
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
726
+ } | null)[] | {
727
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
728
+ } | null)[] | {
729
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
730
+ } | null)[] | {
731
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
732
+ } | null)[] | {
733
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
734
+ } | null)[] | {
735
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
736
+ } | null)[] | {
737
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
738
+ } | null)[] | {
739
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
740
+ } | null)[] | {
741
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
742
+ } | null)[] | {
743
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
744
+ } | null | undefined;
745
+ } | null | undefined;
746
+ }) => import("effect/Effect").Effect<{
747
+ readonly id: string & import("effect/Brand").Brand<"ContactId">;
748
+ readonly name: string;
749
+ readonly displayName: string | null;
750
+ readonly avatar: string | null;
751
+ readonly status: "active" | "archived" | "blocked" | "paused";
752
+ readonly statusReason: string | null;
753
+ readonly externalId: string | null;
754
+ readonly identities: readonly {
755
+ readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
756
+ readonly type: "email" | "phone";
590
757
  readonly identifier: string;
591
758
  readonly verified: boolean;
759
+ readonly channels: readonly {
760
+ readonly channel: "email";
761
+ readonly reachability: "reachable" | "unknown" | "unreachable";
762
+ readonly consent: {
763
+ readonly status: "opted_in" | "opted_out";
764
+ readonly source: string;
765
+ readonly capturedAt: string;
766
+ readonly proof: {
767
+ readonly [x: string]: import("./generated").JsonValue;
768
+ } | null;
769
+ } | null;
770
+ }[];
592
771
  }[];
593
772
  readonly profile: {
594
773
  readonly firstName?: string | null;
@@ -624,7 +803,7 @@ export declare const removeIdentity: (input: {
624
803
  } | null;
625
804
  readonly createdAt: string;
626
805
  readonly updatedAt: string;
627
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
806
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
628
807
  export declare const addTags: (input: {
629
808
  readonly id: string;
630
809
  readonly tags: readonly string[];
@@ -638,9 +817,21 @@ export declare const addTags: (input: {
638
817
  readonly externalId: string | null;
639
818
  readonly identities: readonly {
640
819
  readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
641
- readonly channel: "email";
820
+ readonly type: "email" | "phone";
642
821
  readonly identifier: string;
643
822
  readonly verified: boolean;
823
+ readonly channels: readonly {
824
+ readonly channel: "email";
825
+ readonly reachability: "reachable" | "unknown" | "unreachable";
826
+ readonly consent: {
827
+ readonly status: "opted_in" | "opted_out";
828
+ readonly source: string;
829
+ readonly capturedAt: string;
830
+ readonly proof: {
831
+ readonly [x: string]: import("./generated").JsonValue;
832
+ } | null;
833
+ } | null;
834
+ }[];
644
835
  }[];
645
836
  readonly profile: {
646
837
  readonly firstName?: string | null;
@@ -676,7 +867,7 @@ export declare const addTags: (input: {
676
867
  } | null;
677
868
  readonly createdAt: string;
678
869
  readonly updatedAt: string;
679
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
870
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
680
871
  export declare const removeTags: (input: {
681
872
  readonly id: string;
682
873
  readonly tags: readonly string[];
@@ -690,9 +881,21 @@ export declare const removeTags: (input: {
690
881
  readonly externalId: string | null;
691
882
  readonly identities: readonly {
692
883
  readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
693
- readonly channel: "email";
884
+ readonly type: "email" | "phone";
694
885
  readonly identifier: string;
695
886
  readonly verified: boolean;
887
+ readonly channels: readonly {
888
+ readonly channel: "email";
889
+ readonly reachability: "reachable" | "unknown" | "unreachable";
890
+ readonly consent: {
891
+ readonly status: "opted_in" | "opted_out";
892
+ readonly source: string;
893
+ readonly capturedAt: string;
894
+ readonly proof: {
895
+ readonly [x: string]: import("./generated").JsonValue;
896
+ } | null;
897
+ } | null;
898
+ }[];
696
899
  }[];
697
900
  readonly profile: {
698
901
  readonly firstName?: string | null;
@@ -728,7 +931,7 @@ export declare const removeTags: (input: {
728
931
  } | null;
729
932
  readonly createdAt: string;
730
933
  readonly updatedAt: string;
731
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
934
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
732
935
  export declare const getEngagement: (input: {
733
936
  readonly id: string;
734
937
  }) => import("effect/Effect").Effect<{
@@ -740,14 +943,14 @@ export declare const getEngagement: (input: {
740
943
  readonly channelsUsed: {
741
944
  readonly [x: string]: number;
742
945
  };
743
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
946
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
744
947
  export declare const bulkImport: (input: {
745
948
  readonly contacts: readonly {
746
949
  readonly name: string;
747
950
  readonly displayName?: string | null | undefined;
748
951
  readonly avatar?: string | null | undefined;
749
952
  readonly identities?: readonly {
750
- readonly channel: "email";
953
+ readonly type: "email" | "phone";
751
954
  readonly identifier: string;
752
955
  readonly verified?: boolean | null | undefined;
753
956
  }[] | null | undefined;
@@ -822,13 +1025,13 @@ export declare const bulkImport: (input: {
822
1025
  readonly contactId?: (string & import("effect/Brand").Brand<"ContactId">) | null;
823
1026
  readonly error?: string | null;
824
1027
  }[];
825
- }, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
1028
+ }, import("./errors").BillingProviderError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
826
1029
  export declare const bulkDelete: (input: {
827
1030
  readonly ids: readonly string[];
828
1031
  }) => import("effect/Effect").Effect<{
829
1032
  readonly deleted: number;
830
1033
  readonly failed: number;
831
- }, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
1034
+ }, import("./errors").BillingProviderError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
832
1035
  export declare const bulkUpdateTags: (input: {
833
1036
  readonly ids: readonly string[];
834
1037
  readonly operation: "add" | "remove" | "set";
@@ -836,14 +1039,14 @@ export declare const bulkUpdateTags: (input: {
836
1039
  }) => import("effect/Effect").Effect<{
837
1040
  readonly updated: number;
838
1041
  readonly failed: number;
839
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
1042
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
840
1043
  export declare const bulkUpdateStatus: (input: {
841
1044
  readonly ids: readonly string[];
842
1045
  readonly status: "active" | "archived" | "blocked" | "paused";
843
1046
  }) => import("effect/Effect").Effect<{
844
1047
  readonly updated: number;
845
1048
  readonly failed: number;
846
- }, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
1049
+ }, import("./errors").BillingProviderError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
847
1050
  declare const exportContacts: (input?: {
848
1051
  readonly ids?: readonly string[] | null | undefined;
849
1052
  readonly format?: "csv" | "json" | null | undefined;
@@ -856,7 +1059,7 @@ declare const exportContacts: (input?: {
856
1059
  readonly data: string;
857
1060
  readonly format: "csv" | "json";
858
1061
  readonly count: number;
859
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
1062
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
860
1063
  export { exportContacts as export };
861
1064
  export declare const getActivityTimeline: ((input: {
862
1065
  readonly id: string;
@@ -875,7 +1078,7 @@ export declare const getActivityTimeline: ((input: {
875
1078
  readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
876
1079
  }[];
877
1080
  readonly nextCursor: string | null;
878
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
1081
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
879
1082
  readonly pages: (input: {
880
1083
  readonly id: string;
881
1084
  readonly limit?: string | null | undefined;
@@ -893,7 +1096,7 @@ export declare const getActivityTimeline: ((input: {
893
1096
  readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
894
1097
  }[];
895
1098
  readonly nextCursor: string | null;
896
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
1099
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
897
1100
  readonly items: (input: {
898
1101
  readonly id: string;
899
1102
  readonly limit?: string | null | undefined;
@@ -908,7 +1111,7 @@ export declare const getActivityTimeline: ((input: {
908
1111
  readonly snippet: string | null;
909
1112
  readonly createdAt: string;
910
1113
  readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
911
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
1114
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
912
1115
  };
913
1116
  export declare const getGroupMemberships: ((input: {
914
1117
  readonly id: string;
@@ -924,7 +1127,7 @@ export declare const getGroupMemberships: ((input: {
924
1127
  readonly joinedAt: string;
925
1128
  }[];
926
1129
  readonly nextCursor: string | null;
927
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
1130
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
928
1131
  readonly pages: (input: {
929
1132
  readonly id: string;
930
1133
  readonly limit?: string | null | undefined;
@@ -939,7 +1142,7 @@ export declare const getGroupMemberships: ((input: {
939
1142
  readonly joinedAt: string;
940
1143
  }[];
941
1144
  readonly nextCursor: string | null;
942
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
1145
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
943
1146
  readonly items: (input: {
944
1147
  readonly id: string;
945
1148
  readonly limit?: string | null | undefined;
@@ -951,7 +1154,7 @@ export declare const getGroupMemberships: ((input: {
951
1154
  readonly color: "clay" | "moss" | "plum" | "rose" | "sand" | "sky" | null;
952
1155
  readonly role: string;
953
1156
  readonly joinedAt: string;
954
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
1157
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
955
1158
  };
956
1159
  export declare const listEvents: ((input: {
957
1160
  readonly id: string;
@@ -970,7 +1173,7 @@ export declare const listEvents: ((input: {
970
1173
  readonly recordedAt: string;
971
1174
  }[];
972
1175
  readonly nextCursor: string | null;
973
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
1176
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
974
1177
  readonly pages: (input: {
975
1178
  readonly id: string;
976
1179
  readonly limit?: string | null | undefined;
@@ -988,7 +1191,7 @@ export declare const listEvents: ((input: {
988
1191
  readonly recordedAt: string;
989
1192
  }[];
990
1193
  readonly nextCursor: string | null;
991
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
1194
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
992
1195
  readonly items: (input: {
993
1196
  readonly id: string;
994
1197
  readonly limit?: string | null | undefined;
@@ -1003,5 +1206,5 @@ export declare const listEvents: ((input: {
1003
1206
  };
1004
1207
  readonly occurredAt: string;
1005
1208
  readonly recordedAt: string;
1006
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
1209
+ }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1007
1210
  };