samva 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.
Files changed (47) hide show
  1. package/AGENTS.md +1 -1
  2. package/README.md +10 -3
  3. package/dist/client/sdk.gen.d.ts +232 -23
  4. package/dist/client/types.gen.d.ts +693 -352
  5. package/dist/{client-BqkU-sFv.js → client-BOghX8fr.js} +1530 -1532
  6. package/dist/effect/api-keys.d.ts +14 -14
  7. package/dist/effect/api-keys.js +1 -1
  8. package/dist/effect/campaigns.d.ts +134 -853
  9. package/dist/effect/campaigns.js +1 -1
  10. package/dist/effect/categories.d.ts +1 -1
  11. package/dist/effect/client.js +1 -1
  12. package/dist/effect/contacts.d.ts +123 -145
  13. package/dist/effect/contacts.js +1 -1
  14. package/dist/effect/conversations.d.ts +128 -260
  15. package/dist/effect/conversations.js +1 -1
  16. package/dist/effect/design.d.ts +11 -11
  17. package/dist/effect/design.js +1 -1
  18. package/dist/effect/email.d.ts +64 -108
  19. package/dist/effect/email.js +2 -2
  20. package/dist/effect/generated.d.ts +7346 -8748
  21. package/dist/effect/index.d.ts +1 -0
  22. package/dist/effect/index.js +3 -2
  23. package/dist/effect/internal/operation.d.ts +15 -113
  24. package/dist/effect/media.d.ts +80 -0
  25. package/dist/effect/media.js +19 -0
  26. package/dist/effect/messages.d.ts +41 -261
  27. package/dist/effect/messages.js +1 -1
  28. package/dist/effect/operations.d.ts +7 -7
  29. package/dist/effect/operations.js +1 -1
  30. package/dist/effect/organizations.d.ts +23 -41
  31. package/dist/effect/organizations.js +1 -1
  32. package/dist/effect/scheduled-messages.d.ts +43 -454
  33. package/dist/effect/scheduled-messages.js +1 -1
  34. package/dist/effect/templates.d.ts +175 -649
  35. package/dist/effect/templates.js +2 -2
  36. package/dist/effect/webhooks.d.ts +20 -21
  37. package/dist/effect/webhooks.js +2 -2
  38. package/dist/index.js +1 -1
  39. package/dist/{normalize-LkWl4HUF.js → normalize-BKFjbR9t.js} +5 -13
  40. package/dist/normalize.d.ts +3 -33
  41. package/dist/{operation-Ccqh_yxb.js → operation-C2Q4cFJL.js} +21 -3
  42. package/dist/promises/index.d.ts +4 -14
  43. package/dist/promises/index.js +1 -1
  44. package/dist/promises/types.gen.d.ts +1 -1
  45. package/dist/{promises-Dgv8UmCC.js → promises-oiy7mOyu.js} +386 -29
  46. package/dist/service-map.d.ts +26 -0
  47. package/package.json +17 -12
@@ -2,8 +2,8 @@ export declare const list: ((input?: {
2
2
  readonly limit?: string | null | undefined;
3
3
  readonly type?: string | null | undefined;
4
4
  readonly search?: string | null | undefined;
5
- readonly status?: string | null | undefined;
6
5
  readonly page?: string | null | undefined;
6
+ readonly status?: string | null | undefined;
7
7
  readonly startDate?: string | null | undefined;
8
8
  readonly endDate?: string | null | undefined;
9
9
  } | undefined) => import("effect/Effect").Effect<{
@@ -15,27 +15,27 @@ export declare const list: ((input?: {
15
15
  readonly displayName: string | null;
16
16
  readonly avatar: string | null;
17
17
  readonly identities: readonly {
18
- readonly channel: "sms" | "whatsapp" | "email";
18
+ readonly channel: "email";
19
19
  readonly identifier: string;
20
20
  readonly verified: boolean;
21
21
  }[];
22
22
  readonly humanProfile: {
23
23
  readonly email?: string | null;
24
+ readonly phone?: string | null;
25
+ readonly firstName?: string | null;
26
+ readonly lastName?: string | null;
27
+ readonly company?: string | null;
28
+ readonly jobTitle?: string | null;
24
29
  readonly location?: {
25
30
  readonly country: string;
26
31
  readonly state: string;
27
32
  readonly city: string;
28
33
  readonly timezone: string;
29
34
  } | null;
30
- readonly phone?: string | null;
31
- readonly source?: "manual" | "api" | "import" | "form" | null;
32
35
  readonly customFields?: {
33
36
  readonly [x: string]: import("./generated").JsonValue;
34
37
  } | null;
35
- readonly firstName?: string | null;
36
- readonly lastName?: string | null;
37
- readonly company?: string | null;
38
- readonly jobTitle?: string | null;
38
+ readonly source?: "manual" | "api" | "import" | "form" | null;
39
39
  readonly sourceDetails?: {
40
40
  readonly [x: string]: import("./generated").JsonValue;
41
41
  } | null;
@@ -45,8 +45,8 @@ export declare const list: ((input?: {
45
45
  readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
46
46
  readonly accessConfig: {
47
47
  readonly paymentRequired?: {
48
- readonly currency: string;
49
48
  readonly amount: number;
49
+ readonly currency: string;
50
50
  readonly message?: string | null;
51
51
  readonly validityHours?: number | null;
52
52
  } | null;
@@ -68,12 +68,10 @@ export declare const list: ((input?: {
68
68
  } | null;
69
69
  } | null;
70
70
  readonly preferences: {
71
- readonly preferredChannels?: readonly ("sms" | "whatsapp" | "email")[] | null;
71
+ readonly preferredChannels?: readonly "email"[] | null;
72
72
  readonly language?: string | null;
73
73
  readonly timezone?: string | null;
74
74
  readonly notifications?: {
75
- readonly sms?: boolean | null;
76
- readonly whatsapp?: boolean | null;
77
75
  readonly email?: boolean | null;
78
76
  readonly quiet_hours?: {
79
77
  readonly start: string;
@@ -107,13 +105,13 @@ export declare const list: ((input?: {
107
105
  readonly total: number;
108
106
  readonly totalPages: number;
109
107
  };
110
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>) & {
108
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>) & {
111
109
  readonly pages: (input?: {
112
110
  readonly limit?: string | null | undefined;
113
111
  readonly type?: string | null | undefined;
114
112
  readonly search?: string | null | undefined;
115
- readonly status?: string | null | undefined;
116
113
  readonly page?: string | null | undefined;
114
+ readonly status?: string | null | undefined;
117
115
  readonly startDate?: string | null | undefined;
118
116
  readonly endDate?: string | null | undefined;
119
117
  } | undefined) => import("effect/Stream").Stream<{
@@ -125,27 +123,27 @@ export declare const list: ((input?: {
125
123
  readonly displayName: string | null;
126
124
  readonly avatar: string | null;
127
125
  readonly identities: readonly {
128
- readonly channel: "sms" | "whatsapp" | "email";
126
+ readonly channel: "email";
129
127
  readonly identifier: string;
130
128
  readonly verified: boolean;
131
129
  }[];
132
130
  readonly humanProfile: {
133
131
  readonly email?: string | null;
132
+ readonly phone?: string | null;
133
+ readonly firstName?: string | null;
134
+ readonly lastName?: string | null;
135
+ readonly company?: string | null;
136
+ readonly jobTitle?: string | null;
134
137
  readonly location?: {
135
138
  readonly country: string;
136
139
  readonly state: string;
137
140
  readonly city: string;
138
141
  readonly timezone: string;
139
142
  } | null;
140
- readonly phone?: string | null;
141
- readonly source?: "manual" | "api" | "import" | "form" | null;
142
143
  readonly customFields?: {
143
144
  readonly [x: string]: import("./generated").JsonValue;
144
145
  } | null;
145
- readonly firstName?: string | null;
146
- readonly lastName?: string | null;
147
- readonly company?: string | null;
148
- readonly jobTitle?: string | null;
146
+ readonly source?: "manual" | "api" | "import" | "form" | null;
149
147
  readonly sourceDetails?: {
150
148
  readonly [x: string]: import("./generated").JsonValue;
151
149
  } | null;
@@ -155,8 +153,8 @@ export declare const list: ((input?: {
155
153
  readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
156
154
  readonly accessConfig: {
157
155
  readonly paymentRequired?: {
158
- readonly currency: string;
159
156
  readonly amount: number;
157
+ readonly currency: string;
160
158
  readonly message?: string | null;
161
159
  readonly validityHours?: number | null;
162
160
  } | null;
@@ -178,12 +176,10 @@ export declare const list: ((input?: {
178
176
  } | null;
179
177
  } | null;
180
178
  readonly preferences: {
181
- readonly preferredChannels?: readonly ("sms" | "whatsapp" | "email")[] | null;
179
+ readonly preferredChannels?: readonly "email"[] | null;
182
180
  readonly language?: string | null;
183
181
  readonly timezone?: string | null;
184
182
  readonly notifications?: {
185
- readonly sms?: boolean | null;
186
- readonly whatsapp?: boolean | null;
187
183
  readonly email?: boolean | null;
188
184
  readonly quiet_hours?: {
189
185
  readonly start: string;
@@ -217,13 +213,13 @@ export declare const list: ((input?: {
217
213
  readonly total: number;
218
214
  readonly totalPages: number;
219
215
  };
220
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
216
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
221
217
  readonly items: (input?: {
222
218
  readonly limit?: string | null | undefined;
223
219
  readonly type?: string | null | undefined;
224
220
  readonly search?: string | null | undefined;
225
- readonly status?: string | null | undefined;
226
221
  readonly page?: string | null | undefined;
222
+ readonly status?: string | null | undefined;
227
223
  readonly startDate?: string | null | undefined;
228
224
  readonly endDate?: string | null | undefined;
229
225
  } | undefined) => import("effect/Stream").Stream<{
@@ -234,27 +230,27 @@ export declare const list: ((input?: {
234
230
  readonly displayName: string | null;
235
231
  readonly avatar: string | null;
236
232
  readonly identities: readonly {
237
- readonly channel: "sms" | "whatsapp" | "email";
233
+ readonly channel: "email";
238
234
  readonly identifier: string;
239
235
  readonly verified: boolean;
240
236
  }[];
241
237
  readonly humanProfile: {
242
238
  readonly email?: string | null;
239
+ readonly phone?: string | null;
240
+ readonly firstName?: string | null;
241
+ readonly lastName?: string | null;
242
+ readonly company?: string | null;
243
+ readonly jobTitle?: string | null;
243
244
  readonly location?: {
244
245
  readonly country: string;
245
246
  readonly state: string;
246
247
  readonly city: string;
247
248
  readonly timezone: string;
248
249
  } | null;
249
- readonly phone?: string | null;
250
- readonly source?: "manual" | "api" | "import" | "form" | null;
251
250
  readonly customFields?: {
252
251
  readonly [x: string]: import("./generated").JsonValue;
253
252
  } | null;
254
- readonly firstName?: string | null;
255
- readonly lastName?: string | null;
256
- readonly company?: string | null;
257
- readonly jobTitle?: string | null;
253
+ readonly source?: "manual" | "api" | "import" | "form" | null;
258
254
  readonly sourceDetails?: {
259
255
  readonly [x: string]: import("./generated").JsonValue;
260
256
  } | null;
@@ -264,8 +260,8 @@ export declare const list: ((input?: {
264
260
  readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
265
261
  readonly accessConfig: {
266
262
  readonly paymentRequired?: {
267
- readonly currency: string;
268
263
  readonly amount: number;
264
+ readonly currency: string;
269
265
  readonly message?: string | null;
270
266
  readonly validityHours?: number | null;
271
267
  } | null;
@@ -287,12 +283,10 @@ export declare const list: ((input?: {
287
283
  } | null;
288
284
  } | null;
289
285
  readonly preferences: {
290
- readonly preferredChannels?: readonly ("sms" | "whatsapp" | "email")[] | null;
286
+ readonly preferredChannels?: readonly "email"[] | null;
291
287
  readonly language?: string | null;
292
288
  readonly timezone?: string | null;
293
289
  readonly notifications?: {
294
- readonly sms?: boolean | null;
295
- readonly whatsapp?: boolean | null;
296
290
  readonly email?: boolean | null;
297
291
  readonly quiet_hours?: {
298
292
  readonly start: string;
@@ -319,11 +313,12 @@ export declare const list: ((input?: {
319
313
  readonly totalInteractions: number;
320
314
  readonly lastActiveAt: string | null;
321
315
  };
322
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
316
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
323
317
  };
324
318
  export declare const create: (input: {
325
319
  readonly name: string;
326
320
  readonly type: string;
321
+ readonly avatar?: string | null | undefined;
327
322
  readonly metadata?: {
328
323
  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 | {
329
324
  readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
@@ -351,30 +346,29 @@ export declare const create: (input: {
351
346
  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 | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
352
347
  } | null | undefined;
353
348
  } | null | undefined;
354
- readonly status?: string | null | undefined;
355
349
  readonly displayName?: string | null | undefined;
356
350
  readonly identities?: readonly {
357
351
  readonly channel: string;
358
352
  readonly identifier: string;
359
353
  readonly verified: boolean;
360
354
  }[] | null | undefined;
355
+ readonly status?: string | null | undefined;
361
356
  readonly tags?: readonly string[] | null | undefined;
362
357
  readonly externalId?: string | null | undefined;
363
358
  readonly createdBy?: string | null | undefined;
364
- readonly statusReason?: string | null | undefined;
365
- readonly avatar?: string | null | undefined;
366
- readonly accessLevel?: string | null | undefined;
367
- readonly lastModifiedBy?: string | null | undefined;
368
359
  readonly humanProfile?: {
369
360
  readonly email?: string | null | undefined;
361
+ readonly phone?: string | null | undefined;
362
+ readonly firstName?: string | null | undefined;
363
+ readonly lastName?: string | null | undefined;
364
+ readonly company?: string | null | undefined;
365
+ readonly jobTitle?: string | null | undefined;
370
366
  readonly location?: {
371
367
  readonly country: string;
372
368
  readonly state: string;
373
369
  readonly city: string;
374
370
  readonly timezone: string;
375
371
  } | null | undefined;
376
- readonly phone?: string | null | undefined;
377
- readonly source?: string | null | undefined;
378
372
  readonly customFields?: {
379
373
  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 | {
380
374
  readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
@@ -402,10 +396,7 @@ export declare const create: (input: {
402
396
  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 | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
403
397
  } | null | undefined;
404
398
  } | null | undefined;
405
- readonly firstName?: string | null | undefined;
406
- readonly lastName?: string | null | undefined;
407
- readonly company?: string | null | undefined;
408
- readonly jobTitle?: string | null | undefined;
399
+ readonly source?: string | null | undefined;
409
400
  readonly sourceDetails?: {
410
401
  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 | {
411
402
  readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
@@ -435,10 +426,11 @@ export declare const create: (input: {
435
426
  } | null | undefined;
436
427
  } | null | undefined;
437
428
  readonly capabilities?: readonly string[] | null | undefined;
429
+ readonly accessLevel?: string | null | undefined;
438
430
  readonly accessConfig?: {
439
431
  readonly paymentRequired?: {
440
- readonly currency: string;
441
432
  readonly amount: number;
433
+ readonly currency: string;
442
434
  readonly message?: string | null | undefined;
443
435
  readonly validityHours?: number | null | undefined;
444
436
  } | null | undefined;
@@ -464,8 +456,6 @@ export declare const create: (input: {
464
456
  readonly language?: string | null | undefined;
465
457
  readonly timezone?: string | null | undefined;
466
458
  readonly notifications?: {
467
- readonly sms?: boolean | null | undefined;
468
- readonly whatsapp?: boolean | null | undefined;
469
459
  readonly email?: boolean | null | undefined;
470
460
  readonly quiet_hours?: {
471
461
  readonly start: string;
@@ -478,6 +468,8 @@ export declare const create: (input: {
478
468
  readonly maxMessageLength?: number | null | undefined;
479
469
  } | null | undefined;
480
470
  } | null | undefined;
471
+ readonly statusReason?: string | null | undefined;
472
+ readonly lastModifiedBy?: string | null | undefined;
481
473
  }) => import("effect/Effect").Effect<{
482
474
  readonly id: string & import("effect/Brand").Brand<"ContactId">;
483
475
  readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
@@ -486,27 +478,27 @@ export declare const create: (input: {
486
478
  readonly displayName: string | null;
487
479
  readonly avatar: string | null;
488
480
  readonly identities: readonly {
489
- readonly channel: "sms" | "whatsapp" | "email";
481
+ readonly channel: "email";
490
482
  readonly identifier: string;
491
483
  readonly verified: boolean;
492
484
  }[];
493
485
  readonly humanProfile: {
494
486
  readonly email?: string | null;
487
+ readonly phone?: string | null;
488
+ readonly firstName?: string | null;
489
+ readonly lastName?: string | null;
490
+ readonly company?: string | null;
491
+ readonly jobTitle?: string | null;
495
492
  readonly location?: {
496
493
  readonly country: string;
497
494
  readonly state: string;
498
495
  readonly city: string;
499
496
  readonly timezone: string;
500
497
  } | null;
501
- readonly phone?: string | null;
502
- readonly source?: "manual" | "api" | "import" | "form" | null;
503
498
  readonly customFields?: {
504
499
  readonly [x: string]: import("./generated").JsonValue;
505
500
  } | null;
506
- readonly firstName?: string | null;
507
- readonly lastName?: string | null;
508
- readonly company?: string | null;
509
- readonly jobTitle?: string | null;
501
+ readonly source?: "manual" | "api" | "import" | "form" | null;
510
502
  readonly sourceDetails?: {
511
503
  readonly [x: string]: import("./generated").JsonValue;
512
504
  } | null;
@@ -516,8 +508,8 @@ export declare const create: (input: {
516
508
  readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
517
509
  readonly accessConfig: {
518
510
  readonly paymentRequired?: {
519
- readonly currency: string;
520
511
  readonly amount: number;
512
+ readonly currency: string;
521
513
  readonly message?: string | null;
522
514
  readonly validityHours?: number | null;
523
515
  } | null;
@@ -539,12 +531,10 @@ export declare const create: (input: {
539
531
  } | null;
540
532
  } | null;
541
533
  readonly preferences: {
542
- readonly preferredChannels?: readonly ("sms" | "whatsapp" | "email")[] | null;
534
+ readonly preferredChannels?: readonly "email"[] | null;
543
535
  readonly language?: string | null;
544
536
  readonly timezone?: string | null;
545
537
  readonly notifications?: {
546
- readonly sms?: boolean | null;
547
- readonly whatsapp?: boolean | null;
548
538
  readonly email?: boolean | null;
549
539
  readonly quiet_hours?: {
550
540
  readonly start: string;
@@ -567,9 +557,8 @@ export declare const create: (input: {
567
557
  readonly updatedAt: string;
568
558
  readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
569
559
  readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
570
- }, import("effect/SchemaError").SchemaError | import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").UnauthorizedError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
560
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").ValidationError | import("./generated").BillingProviderError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
571
561
  export declare const find: (input?: {
572
- readonly whatsapp?: string | null | undefined;
573
562
  readonly email?: string | null | undefined;
574
563
  readonly phone?: string | null | undefined;
575
564
  readonly externalId?: string | null | undefined;
@@ -581,27 +570,27 @@ export declare const find: (input?: {
581
570
  readonly displayName: string | null;
582
571
  readonly avatar: string | null;
583
572
  readonly identities: readonly {
584
- readonly channel: "sms" | "whatsapp" | "email";
573
+ readonly channel: "email";
585
574
  readonly identifier: string;
586
575
  readonly verified: boolean;
587
576
  }[];
588
577
  readonly humanProfile: {
589
578
  readonly email?: string | null;
579
+ readonly phone?: string | null;
580
+ readonly firstName?: string | null;
581
+ readonly lastName?: string | null;
582
+ readonly company?: string | null;
583
+ readonly jobTitle?: string | null;
590
584
  readonly location?: {
591
585
  readonly country: string;
592
586
  readonly state: string;
593
587
  readonly city: string;
594
588
  readonly timezone: string;
595
589
  } | null;
596
- readonly phone?: string | null;
597
- readonly source?: "manual" | "api" | "import" | "form" | null;
598
590
  readonly customFields?: {
599
591
  readonly [x: string]: import("./generated").JsonValue;
600
592
  } | null;
601
- readonly firstName?: string | null;
602
- readonly lastName?: string | null;
603
- readonly company?: string | null;
604
- readonly jobTitle?: string | null;
593
+ readonly source?: "manual" | "api" | "import" | "form" | null;
605
594
  readonly sourceDetails?: {
606
595
  readonly [x: string]: import("./generated").JsonValue;
607
596
  } | null;
@@ -611,8 +600,8 @@ export declare const find: (input?: {
611
600
  readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
612
601
  readonly accessConfig: {
613
602
  readonly paymentRequired?: {
614
- readonly currency: string;
615
603
  readonly amount: number;
604
+ readonly currency: string;
616
605
  readonly message?: string | null;
617
606
  readonly validityHours?: number | null;
618
607
  } | null;
@@ -634,12 +623,10 @@ export declare const find: (input?: {
634
623
  } | null;
635
624
  } | null;
636
625
  readonly preferences: {
637
- readonly preferredChannels?: readonly ("sms" | "whatsapp" | "email")[] | null;
626
+ readonly preferredChannels?: readonly "email"[] | null;
638
627
  readonly language?: string | null;
639
628
  readonly timezone?: string | null;
640
629
  readonly notifications?: {
641
- readonly sms?: boolean | null;
642
- readonly whatsapp?: boolean | null;
643
630
  readonly email?: boolean | null;
644
631
  readonly quiet_hours?: {
645
632
  readonly start: string;
@@ -662,9 +649,8 @@ export declare const find: (input?: {
662
649
  readonly updatedAt: string;
663
650
  readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
664
651
  readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
665
- } | null, import("effect/SchemaError").SchemaError | import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").UnauthorizedError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
652
+ } | null, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ValidationError | import("./generated").ConflictError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
666
653
  export declare const findOrCreate: (input?: {
667
- readonly whatsapp?: string | null | undefined;
668
654
  readonly email?: string | null | undefined;
669
655
  readonly name?: string | null | undefined;
670
656
  readonly phone?: string | null | undefined;
@@ -678,27 +664,27 @@ export declare const findOrCreate: (input?: {
678
664
  readonly displayName: string | null;
679
665
  readonly avatar: string | null;
680
666
  readonly identities: readonly {
681
- readonly channel: "sms" | "whatsapp" | "email";
667
+ readonly channel: "email";
682
668
  readonly identifier: string;
683
669
  readonly verified: boolean;
684
670
  }[];
685
671
  readonly humanProfile: {
686
672
  readonly email?: string | null;
673
+ readonly phone?: string | null;
674
+ readonly firstName?: string | null;
675
+ readonly lastName?: string | null;
676
+ readonly company?: string | null;
677
+ readonly jobTitle?: string | null;
687
678
  readonly location?: {
688
679
  readonly country: string;
689
680
  readonly state: string;
690
681
  readonly city: string;
691
682
  readonly timezone: string;
692
683
  } | null;
693
- readonly phone?: string | null;
694
- readonly source?: "manual" | "api" | "import" | "form" | null;
695
684
  readonly customFields?: {
696
685
  readonly [x: string]: import("./generated").JsonValue;
697
686
  } | null;
698
- readonly firstName?: string | null;
699
- readonly lastName?: string | null;
700
- readonly company?: string | null;
701
- readonly jobTitle?: string | null;
687
+ readonly source?: "manual" | "api" | "import" | "form" | null;
702
688
  readonly sourceDetails?: {
703
689
  readonly [x: string]: import("./generated").JsonValue;
704
690
  } | null;
@@ -708,8 +694,8 @@ export declare const findOrCreate: (input?: {
708
694
  readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
709
695
  readonly accessConfig: {
710
696
  readonly paymentRequired?: {
711
- readonly currency: string;
712
697
  readonly amount: number;
698
+ readonly currency: string;
713
699
  readonly message?: string | null;
714
700
  readonly validityHours?: number | null;
715
701
  } | null;
@@ -731,12 +717,10 @@ export declare const findOrCreate: (input?: {
731
717
  } | null;
732
718
  } | null;
733
719
  readonly preferences: {
734
- readonly preferredChannels?: readonly ("sms" | "whatsapp" | "email")[] | null;
720
+ readonly preferredChannels?: readonly "email"[] | null;
735
721
  readonly language?: string | null;
736
722
  readonly timezone?: string | null;
737
723
  readonly notifications?: {
738
- readonly sms?: boolean | null;
739
- readonly whatsapp?: boolean | null;
740
724
  readonly email?: boolean | null;
741
725
  readonly quiet_hours?: {
742
726
  readonly start: string;
@@ -759,7 +743,7 @@ export declare const findOrCreate: (input?: {
759
743
  readonly updatedAt: string;
760
744
  readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
761
745
  readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
762
- }, import("effect/SchemaError").SchemaError | import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").UnauthorizedError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
746
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").ValidationError | import("./generated").BillingProviderError | import("./generated").ConflictError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
763
747
  export declare const get: (input: {
764
748
  readonly id: string;
765
749
  }) => import("effect/Effect").Effect<{
@@ -770,27 +754,27 @@ export declare const get: (input: {
770
754
  readonly displayName: string | null;
771
755
  readonly avatar: string | null;
772
756
  readonly identities: readonly {
773
- readonly channel: "sms" | "whatsapp" | "email";
757
+ readonly channel: "email";
774
758
  readonly identifier: string;
775
759
  readonly verified: boolean;
776
760
  }[];
777
761
  readonly humanProfile: {
778
762
  readonly email?: string | null;
763
+ readonly phone?: string | null;
764
+ readonly firstName?: string | null;
765
+ readonly lastName?: string | null;
766
+ readonly company?: string | null;
767
+ readonly jobTitle?: string | null;
779
768
  readonly location?: {
780
769
  readonly country: string;
781
770
  readonly state: string;
782
771
  readonly city: string;
783
772
  readonly timezone: string;
784
773
  } | null;
785
- readonly phone?: string | null;
786
- readonly source?: "manual" | "api" | "import" | "form" | null;
787
774
  readonly customFields?: {
788
775
  readonly [x: string]: import("./generated").JsonValue;
789
776
  } | null;
790
- readonly firstName?: string | null;
791
- readonly lastName?: string | null;
792
- readonly company?: string | null;
793
- readonly jobTitle?: string | null;
777
+ readonly source?: "manual" | "api" | "import" | "form" | null;
794
778
  readonly sourceDetails?: {
795
779
  readonly [x: string]: import("./generated").JsonValue;
796
780
  } | null;
@@ -800,8 +784,8 @@ export declare const get: (input: {
800
784
  readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
801
785
  readonly accessConfig: {
802
786
  readonly paymentRequired?: {
803
- readonly currency: string;
804
787
  readonly amount: number;
788
+ readonly currency: string;
805
789
  readonly message?: string | null;
806
790
  readonly validityHours?: number | null;
807
791
  } | null;
@@ -823,12 +807,10 @@ export declare const get: (input: {
823
807
  } | null;
824
808
  } | null;
825
809
  readonly preferences: {
826
- readonly preferredChannels?: readonly ("sms" | "whatsapp" | "email")[] | null;
810
+ readonly preferredChannels?: readonly "email"[] | null;
827
811
  readonly language?: string | null;
828
812
  readonly timezone?: string | null;
829
813
  readonly notifications?: {
830
- readonly sms?: boolean | null;
831
- readonly whatsapp?: boolean | null;
832
814
  readonly email?: boolean | null;
833
815
  readonly quiet_hours?: {
834
816
  readonly start: string;
@@ -851,14 +833,15 @@ export declare const get: (input: {
851
833
  readonly updatedAt: string;
852
834
  readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
853
835
  readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
854
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
836
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
855
837
  export declare const remove: (input: {
856
838
  readonly id: string;
857
839
  }) => import("effect/Effect").Effect<{
858
840
  readonly success: boolean;
859
- }, import("effect/SchemaError").SchemaError | import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
841
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").BillingProviderError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
860
842
  export declare const update: (input: {
861
843
  readonly id: string;
844
+ readonly avatar?: string | null | undefined;
862
845
  readonly name?: string | null | undefined;
863
846
  readonly metadata?: {
864
847
  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 | {
@@ -888,30 +871,29 @@ export declare const update: (input: {
888
871
  } | null | undefined;
889
872
  } | null | undefined;
890
873
  readonly type?: string | null | undefined;
891
- readonly status?: string | null | undefined;
892
874
  readonly displayName?: string | null | undefined;
893
875
  readonly identities?: readonly {
894
876
  readonly channel: string;
895
877
  readonly identifier: string;
896
878
  readonly verified: boolean;
897
879
  }[] | null | undefined;
880
+ readonly status?: string | null | undefined;
898
881
  readonly tags?: readonly string[] | null | undefined;
899
882
  readonly externalId?: string | null | undefined;
900
883
  readonly createdBy?: string | null | undefined;
901
- readonly statusReason?: string | null | undefined;
902
- readonly avatar?: string | null | undefined;
903
- readonly accessLevel?: string | null | undefined;
904
- readonly lastModifiedBy?: string | null | undefined;
905
884
  readonly humanProfile?: {
906
885
  readonly email?: string | null | undefined;
886
+ readonly phone?: string | null | undefined;
887
+ readonly firstName?: string | null | undefined;
888
+ readonly lastName?: string | null | undefined;
889
+ readonly company?: string | null | undefined;
890
+ readonly jobTitle?: string | null | undefined;
907
891
  readonly location?: {
908
892
  readonly country: string;
909
893
  readonly state: string;
910
894
  readonly city: string;
911
895
  readonly timezone: string;
912
896
  } | null | undefined;
913
- readonly phone?: string | null | undefined;
914
- readonly source?: string | null | undefined;
915
897
  readonly customFields?: {
916
898
  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 | {
917
899
  readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
@@ -939,10 +921,7 @@ export declare const update: (input: {
939
921
  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 | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
940
922
  } | null | undefined;
941
923
  } | null | undefined;
942
- readonly firstName?: string | null | undefined;
943
- readonly lastName?: string | null | undefined;
944
- readonly company?: string | null | undefined;
945
- readonly jobTitle?: string | null | undefined;
924
+ readonly source?: string | null | undefined;
946
925
  readonly sourceDetails?: {
947
926
  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 | {
948
927
  readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
@@ -972,10 +951,11 @@ export declare const update: (input: {
972
951
  } | null | undefined;
973
952
  } | null | undefined;
974
953
  readonly capabilities?: readonly string[] | null | undefined;
954
+ readonly accessLevel?: string | null | undefined;
975
955
  readonly accessConfig?: {
976
956
  readonly paymentRequired?: {
977
- readonly currency: string;
978
957
  readonly amount: number;
958
+ readonly currency: string;
979
959
  readonly message?: string | null | undefined;
980
960
  readonly validityHours?: number | null | undefined;
981
961
  } | null | undefined;
@@ -1001,8 +981,6 @@ export declare const update: (input: {
1001
981
  readonly language?: string | null | undefined;
1002
982
  readonly timezone?: string | null | undefined;
1003
983
  readonly notifications?: {
1004
- readonly sms?: boolean | null | undefined;
1005
- readonly whatsapp?: boolean | null | undefined;
1006
984
  readonly email?: boolean | null | undefined;
1007
985
  readonly quiet_hours?: {
1008
986
  readonly start: string;
@@ -1015,6 +993,8 @@ export declare const update: (input: {
1015
993
  readonly maxMessageLength?: number | null | undefined;
1016
994
  } | null | undefined;
1017
995
  } | null | undefined;
996
+ readonly statusReason?: string | null | undefined;
997
+ readonly lastModifiedBy?: string | null | undefined;
1018
998
  }) => import("effect/Effect").Effect<{
1019
999
  readonly id: string & import("effect/Brand").Brand<"ContactId">;
1020
1000
  readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
@@ -1023,27 +1003,27 @@ export declare const update: (input: {
1023
1003
  readonly displayName: string | null;
1024
1004
  readonly avatar: string | null;
1025
1005
  readonly identities: readonly {
1026
- readonly channel: "sms" | "whatsapp" | "email";
1006
+ readonly channel: "email";
1027
1007
  readonly identifier: string;
1028
1008
  readonly verified: boolean;
1029
1009
  }[];
1030
1010
  readonly humanProfile: {
1031
1011
  readonly email?: string | null;
1012
+ readonly phone?: string | null;
1013
+ readonly firstName?: string | null;
1014
+ readonly lastName?: string | null;
1015
+ readonly company?: string | null;
1016
+ readonly jobTitle?: string | null;
1032
1017
  readonly location?: {
1033
1018
  readonly country: string;
1034
1019
  readonly state: string;
1035
1020
  readonly city: string;
1036
1021
  readonly timezone: string;
1037
1022
  } | null;
1038
- readonly phone?: string | null;
1039
- readonly source?: "manual" | "api" | "import" | "form" | null;
1040
1023
  readonly customFields?: {
1041
1024
  readonly [x: string]: import("./generated").JsonValue;
1042
1025
  } | null;
1043
- readonly firstName?: string | null;
1044
- readonly lastName?: string | null;
1045
- readonly company?: string | null;
1046
- readonly jobTitle?: string | null;
1026
+ readonly source?: "manual" | "api" | "import" | "form" | null;
1047
1027
  readonly sourceDetails?: {
1048
1028
  readonly [x: string]: import("./generated").JsonValue;
1049
1029
  } | null;
@@ -1053,8 +1033,8 @@ export declare const update: (input: {
1053
1033
  readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
1054
1034
  readonly accessConfig: {
1055
1035
  readonly paymentRequired?: {
1056
- readonly currency: string;
1057
1036
  readonly amount: number;
1037
+ readonly currency: string;
1058
1038
  readonly message?: string | null;
1059
1039
  readonly validityHours?: number | null;
1060
1040
  } | null;
@@ -1076,12 +1056,10 @@ export declare const update: (input: {
1076
1056
  } | null;
1077
1057
  } | null;
1078
1058
  readonly preferences: {
1079
- readonly preferredChannels?: readonly ("sms" | "whatsapp" | "email")[] | null;
1059
+ readonly preferredChannels?: readonly "email"[] | null;
1080
1060
  readonly language?: string | null;
1081
1061
  readonly timezone?: string | null;
1082
1062
  readonly notifications?: {
1083
- readonly sms?: boolean | null;
1084
- readonly whatsapp?: boolean | null;
1085
1063
  readonly email?: boolean | null;
1086
1064
  readonly quiet_hours?: {
1087
1065
  readonly start: string;
@@ -1104,7 +1082,7 @@ export declare const update: (input: {
1104
1082
  readonly updatedAt: string;
1105
1083
  readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
1106
1084
  readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
1107
- }, import("effect/SchemaError").SchemaError | import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").ResourceNotFoundError | import("./generated").UnauthorizedError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
1085
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").ResourceNotFoundError | import("./generated").ValidationError | import("./generated").BillingProviderError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
1108
1086
  export declare const getEngagement: (input: {
1109
1087
  readonly id: string;
1110
1088
  }) => import("effect/Effect").Effect<{
@@ -1116,13 +1094,16 @@ export declare const getEngagement: (input: {
1116
1094
  readonly channelsUsed: {
1117
1095
  readonly [x: string]: number;
1118
1096
  };
1119
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
1097
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
1120
1098
  export declare const bulkImport: (input: {
1121
1099
  readonly contacts: readonly {
1122
1100
  readonly name: string;
1123
1101
  readonly email?: string | null | undefined;
1124
1102
  readonly phone?: string | null | undefined;
1125
- readonly tags?: readonly string[] | null | undefined;
1103
+ readonly firstName?: string | null | undefined;
1104
+ readonly lastName?: string | null | undefined;
1105
+ readonly company?: string | null | undefined;
1106
+ readonly jobTitle?: string | null | undefined;
1126
1107
  readonly customFields?: {
1127
1108
  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 | /*elided*/ any | {
1128
1109
  readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
@@ -1148,10 +1129,7 @@ export declare const bulkImport: (input: {
1148
1129
  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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
1149
1130
  } | null | undefined;
1150
1131
  } | null | undefined;
1151
- readonly firstName?: string | null | undefined;
1152
- readonly lastName?: string | null | undefined;
1153
- readonly company?: string | null | undefined;
1154
- readonly jobTitle?: string | null | undefined;
1132
+ readonly tags?: readonly string[] | null | undefined;
1155
1133
  }[];
1156
1134
  readonly upsertByEmail?: boolean | null | undefined;
1157
1135
  }) => import("effect/Effect").Effect<{
@@ -1166,13 +1144,13 @@ export declare const bulkImport: (input: {
1166
1144
  readonly error?: string | null;
1167
1145
  readonly contactId?: (string & import("effect/Brand").Brand<"ContactId">) | null;
1168
1146
  }[];
1169
- }, import("effect/SchemaError").SchemaError | import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").UnauthorizedError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
1147
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").ValidationError | import("./generated").BillingProviderError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
1170
1148
  export declare const bulkDelete: (input: {
1171
1149
  readonly ids: readonly string[];
1172
1150
  }) => import("effect/Effect").Effect<{
1173
1151
  readonly deleted: number;
1174
1152
  readonly failed: number;
1175
- }, import("effect/SchemaError").SchemaError | import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
1153
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").BillingProviderError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
1176
1154
  export declare const bulkUpdateTags: (input: {
1177
1155
  readonly ids: readonly string[];
1178
1156
  readonly operation: string;
@@ -1180,14 +1158,14 @@ export declare const bulkUpdateTags: (input: {
1180
1158
  }) => import("effect/Effect").Effect<{
1181
1159
  readonly updated: number;
1182
1160
  readonly failed: number;
1183
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
1161
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
1184
1162
  export declare const bulkUpdateStatus: (input: {
1185
1163
  readonly ids: readonly string[];
1186
1164
  readonly status: string;
1187
1165
  }) => import("effect/Effect").Effect<{
1188
1166
  readonly updated: number;
1189
1167
  readonly failed: number;
1190
- }, import("effect/SchemaError").SchemaError | import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
1168
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").BillingProviderError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
1191
1169
  declare const exportContacts: (input?: {
1192
1170
  readonly fields?: readonly string[] | null | undefined;
1193
1171
  readonly format?: string | null | undefined;
@@ -1201,7 +1179,7 @@ declare const exportContacts: (input?: {
1201
1179
  readonly data: string;
1202
1180
  readonly format: "json" | "csv";
1203
1181
  readonly count: number;
1204
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
1182
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
1205
1183
  export { exportContacts as export };
1206
1184
  export declare const getActivityTimeline: ((input: {
1207
1185
  readonly id: string;
@@ -1225,7 +1203,7 @@ export declare const getActivityTimeline: ((input: {
1225
1203
  readonly total: number;
1226
1204
  readonly totalPages: number;
1227
1205
  };
1228
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>) & {
1206
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>) & {
1229
1207
  readonly pages: (input: {
1230
1208
  readonly id: string;
1231
1209
  readonly channel?: string | null | undefined;
@@ -1248,7 +1226,7 @@ export declare const getActivityTimeline: ((input: {
1248
1226
  readonly total: number;
1249
1227
  readonly totalPages: number;
1250
1228
  };
1251
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
1229
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
1252
1230
  readonly items: (input: {
1253
1231
  readonly id: string;
1254
1232
  readonly channel?: string | null | undefined;
@@ -1263,7 +1241,7 @@ export declare const getActivityTimeline: ((input: {
1263
1241
  readonly snippet: string | null;
1264
1242
  readonly createdAt: string;
1265
1243
  readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
1266
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
1244
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
1267
1245
  };
1268
1246
  export declare const getGroupMemberships: (input: {
1269
1247
  readonly id: string;
@@ -1275,4 +1253,4 @@ export declare const getGroupMemberships: (input: {
1275
1253
  readonly role: string;
1276
1254
  readonly joinedAt: string;
1277
1255
  }[];
1278
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
1256
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;