samva 0.3.0 → 0.5.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 (54) hide show
  1. package/AGENTS.md +1 -1
  2. package/README.md +5 -1
  3. package/dist/{categories-CsUa8ojo.js → categories-B9Nw2v_F.js} +5 -1
  4. package/dist/client/sdk.gen.d.ts +312 -190
  5. package/dist/client/types.gen.d.ts +2284 -728
  6. package/dist/{client-BOghX8fr.js → client-B7gEkvEq.js} +2740 -1036
  7. package/dist/client-attribution-B2yJBXdZ.js +9 -0
  8. package/dist/client-attribution.d.ts +2 -0
  9. package/dist/effect/api-keys.d.ts +51 -51
  10. package/dist/effect/api-keys.js +1 -1
  11. package/dist/effect/campaigns.d.ts +269 -219
  12. package/dist/effect/campaigns.js +1 -1
  13. package/dist/effect/categories.d.ts +6 -6
  14. package/dist/effect/categories.js +1 -1
  15. package/dist/effect/client.js +1 -1
  16. package/dist/effect/contacts.d.ts +225 -225
  17. package/dist/effect/contacts.js +1 -1
  18. package/dist/effect/conversations.d.ts +308 -293
  19. package/dist/effect/conversations.js +1 -1
  20. package/dist/effect/design.d.ts +76 -76
  21. package/dist/effect/design.js +1 -1
  22. package/dist/effect/email.d.ts +923 -213
  23. package/dist/effect/email.js +27 -3
  24. package/dist/effect/generated-metadata.d.ts +4 -0
  25. package/dist/effect/generated.d.ts +14948 -10919
  26. package/dist/effect/index.js +2 -2
  27. package/dist/effect/internal/client.d.ts +1 -1
  28. package/dist/effect/internal/operation.d.ts +31 -20
  29. package/dist/effect/media.d.ts +12 -12
  30. package/dist/effect/media.js +1 -1
  31. package/dist/effect/messages.d.ts +243 -61
  32. package/dist/effect/messages.js +5 -3
  33. package/dist/effect/operations.d.ts +17 -17
  34. package/dist/effect/operations.js +1 -1
  35. package/dist/effect/organizations.d.ts +162 -162
  36. package/dist/effect/organizations.js +1 -1
  37. package/dist/effect/retry.js +1 -1
  38. package/dist/effect/runtime.d.ts +0 -2
  39. package/dist/effect/scheduled-messages.d.ts +375 -277
  40. package/dist/effect/scheduled-messages.js +5 -3
  41. package/dist/effect/templates.d.ts +1383 -1554
  42. package/dist/effect/templates.js +40 -30
  43. package/dist/effect/webhooks.d.ts +81 -47
  44. package/dist/effect/webhooks.js +2 -2
  45. package/dist/index.js +2 -2
  46. package/dist/{normalize-BKFjbR9t.js → normalize-BiIJnycv.js} +2 -3
  47. package/dist/{operation-C2Q4cFJL.js → operation-B4FjN6wq.js} +113 -38
  48. package/dist/promises/errors.gen.d.ts +21 -2
  49. package/dist/promises/index.d.ts +11 -8
  50. package/dist/promises/index.js +2 -2
  51. package/dist/promises/types.gen.d.ts +1 -1
  52. package/dist/{promises-oiy7mOyu.js → promises-CP_nxUus.js} +828 -306
  53. package/dist/service-map.d.ts +136 -44
  54. package/package.json +13 -14
@@ -1,8 +1,8 @@
1
1
  export declare const list: ((input?: {
2
+ readonly page?: string | null | undefined;
2
3
  readonly limit?: string | null | undefined;
3
- readonly type?: string | null | undefined;
4
4
  readonly search?: string | null | undefined;
5
- readonly page?: string | null | undefined;
5
+ readonly type?: string | null | undefined;
6
6
  readonly status?: string | null | undefined;
7
7
  readonly startDate?: string | null | undefined;
8
8
  readonly endDate?: string | null | undefined;
@@ -10,7 +10,7 @@ export declare const list: ((input?: {
10
10
  readonly items: readonly {
11
11
  readonly id: string & import("effect/Brand").Brand<"ContactId">;
12
12
  readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
13
- readonly type: "system" | "human";
13
+ readonly type: "human" | "system";
14
14
  readonly name: string;
15
15
  readonly displayName: string | null;
16
16
  readonly avatar: string | null;
@@ -20,10 +20,10 @@ export declare const list: ((input?: {
20
20
  readonly verified: boolean;
21
21
  }[];
22
22
  readonly humanProfile: {
23
- readonly email?: string | null;
24
- readonly phone?: string | null;
25
23
  readonly firstName?: string | null;
26
24
  readonly lastName?: string | null;
25
+ readonly email?: string | null;
26
+ readonly phone?: string | null;
27
27
  readonly company?: string | null;
28
28
  readonly jobTitle?: string | null;
29
29
  readonly location?: {
@@ -35,20 +35,20 @@ export declare const list: ((input?: {
35
35
  readonly customFields?: {
36
36
  readonly [x: string]: import("./generated").JsonValue;
37
37
  } | null;
38
- readonly source?: "manual" | "api" | "import" | "form" | null;
38
+ readonly source?: "api" | "form" | "import" | "manual" | null;
39
39
  readonly sourceDetails?: {
40
40
  readonly [x: string]: import("./generated").JsonValue;
41
41
  } | null;
42
42
  } | null;
43
43
  readonly capabilities: readonly string[];
44
44
  readonly tags: readonly string[];
45
- readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
45
+ readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
46
46
  readonly accessConfig: {
47
47
  readonly paymentRequired?: {
48
48
  readonly amount: number;
49
49
  readonly currency: string;
50
- readonly message?: string | null;
51
50
  readonly validityHours?: number | null;
51
+ readonly message?: string | null;
52
52
  } | null;
53
53
  readonly rateLimit?: {
54
54
  readonly messagesPerHour?: number | null;
@@ -84,7 +84,7 @@ export declare const list: ((input?: {
84
84
  readonly maxMessageLength?: number | null;
85
85
  } | null;
86
86
  } | null;
87
- readonly status: "archived" | "paused" | "active" | "blocked";
87
+ readonly status: "active" | "archived" | "blocked" | "paused";
88
88
  readonly statusReason: string | null;
89
89
  readonly externalId: string | null;
90
90
  readonly metadata: {
@@ -105,12 +105,12 @@ export declare const list: ((input?: {
105
105
  readonly total: number;
106
106
  readonly totalPages: number;
107
107
  };
108
- }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>) & {
108
+ }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
109
109
  readonly pages: (input?: {
110
+ readonly page?: string | null | undefined;
110
111
  readonly limit?: string | null | undefined;
111
- readonly type?: string | null | undefined;
112
112
  readonly search?: string | null | undefined;
113
- readonly page?: string | null | undefined;
113
+ readonly type?: string | null | undefined;
114
114
  readonly status?: string | null | undefined;
115
115
  readonly startDate?: string | null | undefined;
116
116
  readonly endDate?: string | null | undefined;
@@ -118,7 +118,7 @@ export declare const list: ((input?: {
118
118
  readonly items: readonly {
119
119
  readonly id: string & import("effect/Brand").Brand<"ContactId">;
120
120
  readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
121
- readonly type: "system" | "human";
121
+ readonly type: "human" | "system";
122
122
  readonly name: string;
123
123
  readonly displayName: string | null;
124
124
  readonly avatar: string | null;
@@ -128,10 +128,10 @@ export declare const list: ((input?: {
128
128
  readonly verified: boolean;
129
129
  }[];
130
130
  readonly humanProfile: {
131
- readonly email?: string | null;
132
- readonly phone?: string | null;
133
131
  readonly firstName?: string | null;
134
132
  readonly lastName?: string | null;
133
+ readonly email?: string | null;
134
+ readonly phone?: string | null;
135
135
  readonly company?: string | null;
136
136
  readonly jobTitle?: string | null;
137
137
  readonly location?: {
@@ -143,20 +143,20 @@ export declare const list: ((input?: {
143
143
  readonly customFields?: {
144
144
  readonly [x: string]: import("./generated").JsonValue;
145
145
  } | null;
146
- readonly source?: "manual" | "api" | "import" | "form" | null;
146
+ readonly source?: "api" | "form" | "import" | "manual" | null;
147
147
  readonly sourceDetails?: {
148
148
  readonly [x: string]: import("./generated").JsonValue;
149
149
  } | null;
150
150
  } | null;
151
151
  readonly capabilities: readonly string[];
152
152
  readonly tags: readonly string[];
153
- readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
153
+ readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
154
154
  readonly accessConfig: {
155
155
  readonly paymentRequired?: {
156
156
  readonly amount: number;
157
157
  readonly currency: string;
158
- readonly message?: string | null;
159
158
  readonly validityHours?: number | null;
159
+ readonly message?: string | null;
160
160
  } | null;
161
161
  readonly rateLimit?: {
162
162
  readonly messagesPerHour?: number | null;
@@ -192,7 +192,7 @@ export declare const list: ((input?: {
192
192
  readonly maxMessageLength?: number | null;
193
193
  } | null;
194
194
  } | null;
195
- readonly status: "archived" | "paused" | "active" | "blocked";
195
+ readonly status: "active" | "archived" | "blocked" | "paused";
196
196
  readonly statusReason: string | null;
197
197
  readonly externalId: string | null;
198
198
  readonly metadata: {
@@ -213,19 +213,19 @@ export declare const list: ((input?: {
213
213
  readonly total: number;
214
214
  readonly totalPages: number;
215
215
  };
216
- }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
216
+ }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
217
217
  readonly items: (input?: {
218
+ readonly page?: string | null | undefined;
218
219
  readonly limit?: string | null | undefined;
219
- readonly type?: string | null | undefined;
220
220
  readonly search?: string | null | undefined;
221
- readonly page?: string | null | undefined;
221
+ readonly type?: string | null | undefined;
222
222
  readonly status?: string | null | undefined;
223
223
  readonly startDate?: string | null | undefined;
224
224
  readonly endDate?: string | null | undefined;
225
225
  } | undefined) => import("effect/Stream").Stream<{
226
226
  readonly id: string & import("effect/Brand").Brand<"ContactId">;
227
227
  readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
228
- readonly type: "system" | "human";
228
+ readonly type: "human" | "system";
229
229
  readonly name: string;
230
230
  readonly displayName: string | null;
231
231
  readonly avatar: string | null;
@@ -235,10 +235,10 @@ export declare const list: ((input?: {
235
235
  readonly verified: boolean;
236
236
  }[];
237
237
  readonly humanProfile: {
238
- readonly email?: string | null;
239
- readonly phone?: string | null;
240
238
  readonly firstName?: string | null;
241
239
  readonly lastName?: string | null;
240
+ readonly email?: string | null;
241
+ readonly phone?: string | null;
242
242
  readonly company?: string | null;
243
243
  readonly jobTitle?: string | null;
244
244
  readonly location?: {
@@ -250,20 +250,20 @@ export declare const list: ((input?: {
250
250
  readonly customFields?: {
251
251
  readonly [x: string]: import("./generated").JsonValue;
252
252
  } | null;
253
- readonly source?: "manual" | "api" | "import" | "form" | null;
253
+ readonly source?: "api" | "form" | "import" | "manual" | null;
254
254
  readonly sourceDetails?: {
255
255
  readonly [x: string]: import("./generated").JsonValue;
256
256
  } | null;
257
257
  } | null;
258
258
  readonly capabilities: readonly string[];
259
259
  readonly tags: readonly string[];
260
- readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
260
+ readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
261
261
  readonly accessConfig: {
262
262
  readonly paymentRequired?: {
263
263
  readonly amount: number;
264
264
  readonly currency: string;
265
- readonly message?: string | null;
266
265
  readonly validityHours?: number | null;
266
+ readonly message?: string | null;
267
267
  } | null;
268
268
  readonly rateLimit?: {
269
269
  readonly messagesPerHour?: number | null;
@@ -299,7 +299,7 @@ export declare const list: ((input?: {
299
299
  readonly maxMessageLength?: number | null;
300
300
  } | null;
301
301
  } | null;
302
- readonly status: "archived" | "paused" | "active" | "blocked";
302
+ readonly status: "active" | "archived" | "blocked" | "paused";
303
303
  readonly statusReason: string | null;
304
304
  readonly externalId: string | null;
305
305
  readonly metadata: {
@@ -313,54 +313,23 @@ export declare const list: ((input?: {
313
313
  readonly totalInteractions: number;
314
314
  readonly lastActiveAt: string | null;
315
315
  };
316
- }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
316
+ }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
317
317
  };
318
318
  export declare const create: (input: {
319
- readonly name: string;
320
319
  readonly type: string;
321
- readonly avatar?: string | null | undefined;
322
- readonly metadata?: {
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 | {
324
- readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
325
- } | null)[] | {
326
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
327
- } | null)[] | {
328
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
329
- } | null)[] | {
330
- readonly [x: string]: 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 | undefined;
331
- } | null)[] | {
332
- readonly [x: string]: 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 | undefined;
333
- } | null)[] | {
334
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
335
- } | null)[] | {
336
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
337
- } | null)[] | {
338
- 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 | /*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 | undefined;
339
- } | null)[] | {
340
- 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 | /*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 | undefined;
341
- } | null)[] | {
342
- 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 | /*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 | undefined;
343
- } | null)[] | {
344
- 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;
345
- } | null)[] | {
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;
347
- } | null | undefined;
348
- } | null | undefined;
320
+ readonly name: string;
349
321
  readonly displayName?: string | null | undefined;
322
+ readonly avatar?: string | null | undefined;
350
323
  readonly identities?: readonly {
351
324
  readonly channel: string;
352
325
  readonly identifier: string;
353
326
  readonly verified: boolean;
354
327
  }[] | null | undefined;
355
- readonly status?: string | null | undefined;
356
- readonly tags?: readonly string[] | null | undefined;
357
- readonly externalId?: string | null | undefined;
358
- readonly createdBy?: string | null | undefined;
359
328
  readonly humanProfile?: {
360
- readonly email?: string | null | undefined;
361
- readonly phone?: string | null | undefined;
362
329
  readonly firstName?: string | null | undefined;
363
330
  readonly lastName?: string | null | undefined;
331
+ readonly email?: string | null | undefined;
332
+ readonly phone?: string | null | undefined;
364
333
  readonly company?: string | null | undefined;
365
334
  readonly jobTitle?: string | null | undefined;
366
335
  readonly location?: {
@@ -373,66 +342,67 @@ export declare const create: (input: {
373
342
  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 | {
374
343
  readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
375
344
  } | null)[] | {
376
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
345
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
377
346
  } | null)[] | {
378
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
347
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
379
348
  } | null)[] | {
380
- readonly [x: string]: 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 | undefined;
349
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
381
350
  } | null)[] | {
382
- readonly [x: string]: 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 | undefined;
351
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
383
352
  } | null)[] | {
384
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
353
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
385
354
  } | null)[] | {
386
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
355
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
387
356
  } | null)[] | {
388
- 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 | /*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 | undefined;
357
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
389
358
  } | null)[] | {
390
- 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 | /*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 | undefined;
359
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
391
360
  } | null)[] | {
392
- 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 | /*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 | undefined;
361
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
393
362
  } | null)[] | {
394
- 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;
363
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
395
364
  } | null)[] | {
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;
365
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
397
366
  } | null | undefined;
398
367
  } | null | undefined;
399
368
  readonly source?: string | null | undefined;
400
369
  readonly sourceDetails?: {
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 | {
402
- readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
370
+ 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 | any | {
371
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
403
372
  } | null)[] | {
404
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
373
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
405
374
  } | null)[] | {
406
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
375
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
407
376
  } | null)[] | {
408
- readonly [x: string]: 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 | undefined;
377
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
409
378
  } | null)[] | {
410
- readonly [x: string]: 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 | undefined;
379
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
411
380
  } | null)[] | {
412
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
381
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
413
382
  } | null)[] | {
414
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
383
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
415
384
  } | null)[] | {
416
- 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 | /*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 | undefined;
385
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
417
386
  } | null)[] | {
418
- 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 | /*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 | undefined;
387
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
419
388
  } | null)[] | {
420
- 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 | /*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 | undefined;
389
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
421
390
  } | null)[] | {
422
- 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;
391
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
423
392
  } | null)[] | {
424
- 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;
393
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
425
394
  } | null | undefined;
426
395
  } | null | undefined;
427
396
  } | null | undefined;
428
397
  readonly capabilities?: readonly string[] | null | undefined;
398
+ readonly tags?: readonly string[] | null | undefined;
429
399
  readonly accessLevel?: string | null | undefined;
430
400
  readonly accessConfig?: {
431
401
  readonly paymentRequired?: {
432
402
  readonly amount: number;
433
403
  readonly currency: string;
434
- readonly message?: string | null | undefined;
435
404
  readonly validityHours?: number | null | undefined;
405
+ readonly message?: string | null | undefined;
436
406
  } | null | undefined;
437
407
  readonly rateLimit?: {
438
408
  readonly messagesPerHour?: number | null | undefined;
@@ -468,12 +438,42 @@ export declare const create: (input: {
468
438
  readonly maxMessageLength?: number | null | undefined;
469
439
  } | null | undefined;
470
440
  } | null | undefined;
441
+ readonly status?: string | null | undefined;
471
442
  readonly statusReason?: string | null | undefined;
443
+ readonly externalId?: string | null | undefined;
444
+ readonly metadata?: {
445
+ 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 | any | {
446
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
447
+ } | null)[] | {
448
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
449
+ } | null)[] | {
450
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
451
+ } | null)[] | {
452
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
453
+ } | null)[] | {
454
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
455
+ } | null)[] | {
456
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
457
+ } | null)[] | {
458
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
459
+ } | null)[] | {
460
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
461
+ } | null)[] | {
462
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
463
+ } | null)[] | {
464
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
465
+ } | null)[] | {
466
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
467
+ } | null)[] | {
468
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
469
+ } | null | undefined;
470
+ } | null | undefined;
471
+ readonly createdBy?: string | null | undefined;
472
472
  readonly lastModifiedBy?: string | null | undefined;
473
473
  }) => import("effect/Effect").Effect<{
474
474
  readonly id: string & import("effect/Brand").Brand<"ContactId">;
475
475
  readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
476
- readonly type: "system" | "human";
476
+ readonly type: "human" | "system";
477
477
  readonly name: string;
478
478
  readonly displayName: string | null;
479
479
  readonly avatar: string | null;
@@ -483,10 +483,10 @@ export declare const create: (input: {
483
483
  readonly verified: boolean;
484
484
  }[];
485
485
  readonly humanProfile: {
486
- readonly email?: string | null;
487
- readonly phone?: string | null;
488
486
  readonly firstName?: string | null;
489
487
  readonly lastName?: string | null;
488
+ readonly email?: string | null;
489
+ readonly phone?: string | null;
490
490
  readonly company?: string | null;
491
491
  readonly jobTitle?: string | null;
492
492
  readonly location?: {
@@ -498,20 +498,20 @@ export declare const create: (input: {
498
498
  readonly customFields?: {
499
499
  readonly [x: string]: import("./generated").JsonValue;
500
500
  } | null;
501
- readonly source?: "manual" | "api" | "import" | "form" | null;
501
+ readonly source?: "api" | "form" | "import" | "manual" | null;
502
502
  readonly sourceDetails?: {
503
503
  readonly [x: string]: import("./generated").JsonValue;
504
504
  } | null;
505
505
  } | null;
506
506
  readonly capabilities: readonly string[];
507
507
  readonly tags: readonly string[];
508
- readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
508
+ readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
509
509
  readonly accessConfig: {
510
510
  readonly paymentRequired?: {
511
511
  readonly amount: number;
512
512
  readonly currency: string;
513
- readonly message?: string | null;
514
513
  readonly validityHours?: number | null;
514
+ readonly message?: string | null;
515
515
  } | null;
516
516
  readonly rateLimit?: {
517
517
  readonly messagesPerHour?: number | null;
@@ -547,7 +547,7 @@ export declare const create: (input: {
547
547
  readonly maxMessageLength?: number | null;
548
548
  } | null;
549
549
  } | null;
550
- readonly status: "archived" | "paused" | "active" | "blocked";
550
+ readonly status: "active" | "archived" | "blocked" | "paused";
551
551
  readonly statusReason: string | null;
552
552
  readonly externalId: string | null;
553
553
  readonly metadata: {
@@ -557,7 +557,7 @@ export declare const create: (input: {
557
557
  readonly updatedAt: string;
558
558
  readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
559
559
  readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
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>;
560
+ }, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
561
561
  export declare const find: (input?: {
562
562
  readonly email?: string | null | undefined;
563
563
  readonly phone?: string | null | undefined;
@@ -565,7 +565,7 @@ export declare const find: (input?: {
565
565
  } | undefined) => import("effect/Effect").Effect<{
566
566
  readonly id: string & import("effect/Brand").Brand<"ContactId">;
567
567
  readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
568
- readonly type: "system" | "human";
568
+ readonly type: "human" | "system";
569
569
  readonly name: string;
570
570
  readonly displayName: string | null;
571
571
  readonly avatar: string | null;
@@ -575,10 +575,10 @@ export declare const find: (input?: {
575
575
  readonly verified: boolean;
576
576
  }[];
577
577
  readonly humanProfile: {
578
- readonly email?: string | null;
579
- readonly phone?: string | null;
580
578
  readonly firstName?: string | null;
581
579
  readonly lastName?: string | null;
580
+ readonly email?: string | null;
581
+ readonly phone?: string | null;
582
582
  readonly company?: string | null;
583
583
  readonly jobTitle?: string | null;
584
584
  readonly location?: {
@@ -590,20 +590,20 @@ export declare const find: (input?: {
590
590
  readonly customFields?: {
591
591
  readonly [x: string]: import("./generated").JsonValue;
592
592
  } | null;
593
- readonly source?: "manual" | "api" | "import" | "form" | null;
593
+ readonly source?: "api" | "form" | "import" | "manual" | null;
594
594
  readonly sourceDetails?: {
595
595
  readonly [x: string]: import("./generated").JsonValue;
596
596
  } | null;
597
597
  } | null;
598
598
  readonly capabilities: readonly string[];
599
599
  readonly tags: readonly string[];
600
- readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
600
+ readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
601
601
  readonly accessConfig: {
602
602
  readonly paymentRequired?: {
603
603
  readonly amount: number;
604
604
  readonly currency: string;
605
- readonly message?: string | null;
606
605
  readonly validityHours?: number | null;
606
+ readonly message?: string | null;
607
607
  } | null;
608
608
  readonly rateLimit?: {
609
609
  readonly messagesPerHour?: number | null;
@@ -639,7 +639,7 @@ export declare const find: (input?: {
639
639
  readonly maxMessageLength?: number | null;
640
640
  } | null;
641
641
  } | null;
642
- readonly status: "archived" | "paused" | "active" | "blocked";
642
+ readonly status: "active" | "archived" | "blocked" | "paused";
643
643
  readonly statusReason: string | null;
644
644
  readonly externalId: string | null;
645
645
  readonly metadata: {
@@ -649,17 +649,17 @@ export declare const find: (input?: {
649
649
  readonly updatedAt: string;
650
650
  readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
651
651
  readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
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>;
652
+ } | null, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
653
653
  export declare const findOrCreate: (input?: {
654
654
  readonly email?: string | null | undefined;
655
- readonly name?: string | null | undefined;
656
655
  readonly phone?: string | null | undefined;
657
- readonly displayName?: string | null | undefined;
658
656
  readonly externalId?: string | null | undefined;
657
+ readonly name?: string | null | undefined;
658
+ readonly displayName?: string | null | undefined;
659
659
  } | undefined) => import("effect/Effect").Effect<{
660
660
  readonly id: string & import("effect/Brand").Brand<"ContactId">;
661
661
  readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
662
- readonly type: "system" | "human";
662
+ readonly type: "human" | "system";
663
663
  readonly name: string;
664
664
  readonly displayName: string | null;
665
665
  readonly avatar: string | null;
@@ -669,10 +669,10 @@ export declare const findOrCreate: (input?: {
669
669
  readonly verified: boolean;
670
670
  }[];
671
671
  readonly humanProfile: {
672
- readonly email?: string | null;
673
- readonly phone?: string | null;
674
672
  readonly firstName?: string | null;
675
673
  readonly lastName?: string | null;
674
+ readonly email?: string | null;
675
+ readonly phone?: string | null;
676
676
  readonly company?: string | null;
677
677
  readonly jobTitle?: string | null;
678
678
  readonly location?: {
@@ -684,20 +684,20 @@ export declare const findOrCreate: (input?: {
684
684
  readonly customFields?: {
685
685
  readonly [x: string]: import("./generated").JsonValue;
686
686
  } | null;
687
- readonly source?: "manual" | "api" | "import" | "form" | null;
687
+ readonly source?: "api" | "form" | "import" | "manual" | null;
688
688
  readonly sourceDetails?: {
689
689
  readonly [x: string]: import("./generated").JsonValue;
690
690
  } | null;
691
691
  } | null;
692
692
  readonly capabilities: readonly string[];
693
693
  readonly tags: readonly string[];
694
- readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
694
+ readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
695
695
  readonly accessConfig: {
696
696
  readonly paymentRequired?: {
697
697
  readonly amount: number;
698
698
  readonly currency: string;
699
- readonly message?: string | null;
700
699
  readonly validityHours?: number | null;
700
+ readonly message?: string | null;
701
701
  } | null;
702
702
  readonly rateLimit?: {
703
703
  readonly messagesPerHour?: number | null;
@@ -733,7 +733,7 @@ export declare const findOrCreate: (input?: {
733
733
  readonly maxMessageLength?: number | null;
734
734
  } | null;
735
735
  } | null;
736
- readonly status: "archived" | "paused" | "active" | "blocked";
736
+ readonly status: "active" | "archived" | "blocked" | "paused";
737
737
  readonly statusReason: string | null;
738
738
  readonly externalId: string | null;
739
739
  readonly metadata: {
@@ -743,13 +743,13 @@ export declare const findOrCreate: (input?: {
743
743
  readonly updatedAt: string;
744
744
  readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
745
745
  readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
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>;
746
+ }, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
747
747
  export declare const get: (input: {
748
748
  readonly id: string;
749
749
  }) => import("effect/Effect").Effect<{
750
750
  readonly id: string & import("effect/Brand").Brand<"ContactId">;
751
751
  readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
752
- readonly type: "system" | "human";
752
+ readonly type: "human" | "system";
753
753
  readonly name: string;
754
754
  readonly displayName: string | null;
755
755
  readonly avatar: string | null;
@@ -759,10 +759,10 @@ export declare const get: (input: {
759
759
  readonly verified: boolean;
760
760
  }[];
761
761
  readonly humanProfile: {
762
- readonly email?: string | null;
763
- readonly phone?: string | null;
764
762
  readonly firstName?: string | null;
765
763
  readonly lastName?: string | null;
764
+ readonly email?: string | null;
765
+ readonly phone?: string | null;
766
766
  readonly company?: string | null;
767
767
  readonly jobTitle?: string | null;
768
768
  readonly location?: {
@@ -774,20 +774,20 @@ export declare const get: (input: {
774
774
  readonly customFields?: {
775
775
  readonly [x: string]: import("./generated").JsonValue;
776
776
  } | null;
777
- readonly source?: "manual" | "api" | "import" | "form" | null;
777
+ readonly source?: "api" | "form" | "import" | "manual" | null;
778
778
  readonly sourceDetails?: {
779
779
  readonly [x: string]: import("./generated").JsonValue;
780
780
  } | null;
781
781
  } | null;
782
782
  readonly capabilities: readonly string[];
783
783
  readonly tags: readonly string[];
784
- readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
784
+ readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
785
785
  readonly accessConfig: {
786
786
  readonly paymentRequired?: {
787
787
  readonly amount: number;
788
788
  readonly currency: string;
789
- readonly message?: string | null;
790
789
  readonly validityHours?: number | null;
790
+ readonly message?: string | null;
791
791
  } | null;
792
792
  readonly rateLimit?: {
793
793
  readonly messagesPerHour?: number | null;
@@ -823,7 +823,7 @@ export declare const get: (input: {
823
823
  readonly maxMessageLength?: number | null;
824
824
  } | null;
825
825
  } | null;
826
- readonly status: "archived" | "paused" | "active" | "blocked";
826
+ readonly status: "active" | "archived" | "blocked" | "paused";
827
827
  readonly statusReason: string | null;
828
828
  readonly externalId: string | null;
829
829
  readonly metadata: {
@@ -833,59 +833,28 @@ export declare const get: (input: {
833
833
  readonly updatedAt: string;
834
834
  readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
835
835
  readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
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>;
836
+ }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
837
837
  export declare const remove: (input: {
838
838
  readonly id: string;
839
839
  }) => import("effect/Effect").Effect<{
840
840
  readonly success: boolean;
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>;
841
+ }, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
842
842
  export declare const update: (input: {
843
843
  readonly id: string;
844
- readonly avatar?: string | null | undefined;
845
- readonly name?: string | null | undefined;
846
- readonly metadata?: {
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 | {
848
- readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
849
- } | null)[] | {
850
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
851
- } | null)[] | {
852
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
853
- } | null)[] | {
854
- readonly [x: string]: 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 | undefined;
855
- } | null)[] | {
856
- readonly [x: string]: 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 | undefined;
857
- } | null)[] | {
858
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
859
- } | null)[] | {
860
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
861
- } | null)[] | {
862
- 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 | /*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 | undefined;
863
- } | null)[] | {
864
- 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 | /*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 | undefined;
865
- } | null)[] | {
866
- 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 | /*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 | undefined;
867
- } | null)[] | {
868
- 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;
869
- } | null)[] | {
870
- 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;
871
- } | null | undefined;
872
- } | null | undefined;
873
844
  readonly type?: string | null | undefined;
845
+ readonly name?: string | null | undefined;
874
846
  readonly displayName?: string | null | undefined;
847
+ readonly avatar?: string | null | undefined;
875
848
  readonly identities?: readonly {
876
849
  readonly channel: string;
877
850
  readonly identifier: string;
878
851
  readonly verified: boolean;
879
852
  }[] | null | undefined;
880
- readonly status?: string | null | undefined;
881
- readonly tags?: readonly string[] | null | undefined;
882
- readonly externalId?: string | null | undefined;
883
- readonly createdBy?: string | null | undefined;
884
853
  readonly humanProfile?: {
885
- readonly email?: string | null | undefined;
886
- readonly phone?: string | null | undefined;
887
854
  readonly firstName?: string | null | undefined;
888
855
  readonly lastName?: string | null | undefined;
856
+ readonly email?: string | null | undefined;
857
+ readonly phone?: string | null | undefined;
889
858
  readonly company?: string | null | undefined;
890
859
  readonly jobTitle?: string | null | undefined;
891
860
  readonly location?: {
@@ -898,66 +867,67 @@ export declare const update: (input: {
898
867
  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 | {
899
868
  readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
900
869
  } | null)[] | {
901
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
870
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
902
871
  } | null)[] | {
903
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
872
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
904
873
  } | null)[] | {
905
- readonly [x: string]: 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 | undefined;
874
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
906
875
  } | null)[] | {
907
- readonly [x: string]: 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 | undefined;
876
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
908
877
  } | null)[] | {
909
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
878
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
910
879
  } | null)[] | {
911
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
880
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
912
881
  } | null)[] | {
913
- 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 | /*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 | undefined;
882
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
914
883
  } | null)[] | {
915
- 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 | /*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 | undefined;
884
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
916
885
  } | null)[] | {
917
- 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 | /*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 | undefined;
886
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
918
887
  } | null)[] | {
919
- 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;
888
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
920
889
  } | null)[] | {
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;
890
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
922
891
  } | null | undefined;
923
892
  } | null | undefined;
924
893
  readonly source?: string | null | undefined;
925
894
  readonly sourceDetails?: {
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 | {
927
- readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
895
+ 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 | any | {
896
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
928
897
  } | null)[] | {
929
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
898
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
930
899
  } | null)[] | {
931
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
900
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
932
901
  } | null)[] | {
933
- readonly [x: string]: 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 | undefined;
902
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
934
903
  } | null)[] | {
935
- readonly [x: string]: 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 | undefined;
904
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
936
905
  } | null)[] | {
937
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
906
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
938
907
  } | null)[] | {
939
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
908
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
940
909
  } | null)[] | {
941
- 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 | /*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 | undefined;
910
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
942
911
  } | null)[] | {
943
- 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 | /*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 | undefined;
912
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
944
913
  } | null)[] | {
945
- 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 | /*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 | undefined;
914
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
946
915
  } | null)[] | {
947
- 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;
916
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
948
917
  } | null)[] | {
949
- 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;
918
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
950
919
  } | null | undefined;
951
920
  } | null | undefined;
952
921
  } | null | undefined;
953
922
  readonly capabilities?: readonly string[] | null | undefined;
923
+ readonly tags?: readonly string[] | null | undefined;
954
924
  readonly accessLevel?: string | null | undefined;
955
925
  readonly accessConfig?: {
956
926
  readonly paymentRequired?: {
957
927
  readonly amount: number;
958
928
  readonly currency: string;
959
- readonly message?: string | null | undefined;
960
929
  readonly validityHours?: number | null | undefined;
930
+ readonly message?: string | null | undefined;
961
931
  } | null | undefined;
962
932
  readonly rateLimit?: {
963
933
  readonly messagesPerHour?: number | null | undefined;
@@ -993,12 +963,42 @@ export declare const update: (input: {
993
963
  readonly maxMessageLength?: number | null | undefined;
994
964
  } | null | undefined;
995
965
  } | null | undefined;
966
+ readonly status?: string | null | undefined;
996
967
  readonly statusReason?: string | null | undefined;
968
+ readonly externalId?: string | null | undefined;
969
+ readonly metadata?: {
970
+ 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 | any | {
971
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
972
+ } | null)[] | {
973
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
974
+ } | null)[] | {
975
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
976
+ } | null)[] | {
977
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
978
+ } | null)[] | {
979
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
980
+ } | null)[] | {
981
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
982
+ } | null)[] | {
983
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
984
+ } | null)[] | {
985
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
986
+ } | null)[] | {
987
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
988
+ } | null)[] | {
989
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
990
+ } | null)[] | {
991
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
992
+ } | null)[] | {
993
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
994
+ } | null | undefined;
995
+ } | null | undefined;
996
+ readonly createdBy?: string | null | undefined;
997
997
  readonly lastModifiedBy?: string | null | undefined;
998
998
  }) => import("effect/Effect").Effect<{
999
999
  readonly id: string & import("effect/Brand").Brand<"ContactId">;
1000
1000
  readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
1001
- readonly type: "system" | "human";
1001
+ readonly type: "human" | "system";
1002
1002
  readonly name: string;
1003
1003
  readonly displayName: string | null;
1004
1004
  readonly avatar: string | null;
@@ -1008,10 +1008,10 @@ export declare const update: (input: {
1008
1008
  readonly verified: boolean;
1009
1009
  }[];
1010
1010
  readonly humanProfile: {
1011
- readonly email?: string | null;
1012
- readonly phone?: string | null;
1013
1011
  readonly firstName?: string | null;
1014
1012
  readonly lastName?: string | null;
1013
+ readonly email?: string | null;
1014
+ readonly phone?: string | null;
1015
1015
  readonly company?: string | null;
1016
1016
  readonly jobTitle?: string | null;
1017
1017
  readonly location?: {
@@ -1023,20 +1023,20 @@ export declare const update: (input: {
1023
1023
  readonly customFields?: {
1024
1024
  readonly [x: string]: import("./generated").JsonValue;
1025
1025
  } | null;
1026
- readonly source?: "manual" | "api" | "import" | "form" | null;
1026
+ readonly source?: "api" | "form" | "import" | "manual" | null;
1027
1027
  readonly sourceDetails?: {
1028
1028
  readonly [x: string]: import("./generated").JsonValue;
1029
1029
  } | null;
1030
1030
  } | null;
1031
1031
  readonly capabilities: readonly string[];
1032
1032
  readonly tags: readonly string[];
1033
- readonly accessLevel: "internal" | "public" | "authenticated" | "vip";
1033
+ readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
1034
1034
  readonly accessConfig: {
1035
1035
  readonly paymentRequired?: {
1036
1036
  readonly amount: number;
1037
1037
  readonly currency: string;
1038
- readonly message?: string | null;
1039
1038
  readonly validityHours?: number | null;
1039
+ readonly message?: string | null;
1040
1040
  } | null;
1041
1041
  readonly rateLimit?: {
1042
1042
  readonly messagesPerHour?: number | null;
@@ -1072,7 +1072,7 @@ export declare const update: (input: {
1072
1072
  readonly maxMessageLength?: number | null;
1073
1073
  } | null;
1074
1074
  } | null;
1075
- readonly status: "archived" | "paused" | "active" | "blocked";
1075
+ readonly status: "active" | "archived" | "blocked" | "paused";
1076
1076
  readonly statusReason: string | null;
1077
1077
  readonly externalId: string | null;
1078
1078
  readonly metadata: {
@@ -1082,7 +1082,7 @@ export declare const update: (input: {
1082
1082
  readonly updatedAt: string;
1083
1083
  readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
1084
1084
  readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
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>;
1085
+ }, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("effect/unstable/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>;
1086
1086
  export declare const getEngagement: (input: {
1087
1087
  readonly id: string;
1088
1088
  }) => import("effect/Effect").Effect<{
@@ -1094,12 +1094,13 @@ export declare const getEngagement: (input: {
1094
1094
  readonly channelsUsed: {
1095
1095
  readonly [x: string]: number;
1096
1096
  };
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>;
1097
+ }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
1098
1098
  export declare const bulkImport: (input: {
1099
1099
  readonly contacts: readonly {
1100
1100
  readonly name: string;
1101
1101
  readonly email?: string | null | undefined;
1102
1102
  readonly phone?: string | null | undefined;
1103
+ readonly tags?: readonly string[] | null | undefined;
1103
1104
  readonly firstName?: string | null | undefined;
1104
1105
  readonly lastName?: string | null | undefined;
1105
1106
  readonly company?: string | null | undefined;
@@ -1108,28 +1109,27 @@ export declare const bulkImport: (input: {
1108
1109
  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 | {
1109
1110
  readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
1110
1111
  } | null)[] | {
1111
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
1112
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
1112
1113
  } | null)[] | {
1113
- readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
1114
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
1114
1115
  } | null)[] | {
1115
- readonly [x: string]: 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 | undefined;
1116
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
1116
1117
  } | null)[] | {
1117
- readonly [x: string]: 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 | undefined;
1118
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
1118
1119
  } | null)[] | {
1119
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
1120
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
1120
1121
  } | null)[] | {
1121
- 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 | /*elided*/ any | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null)[] | /*elided*/ any | null | undefined;
1122
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
1122
1123
  } | null)[] | {
1123
- 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 | /*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 | undefined;
1124
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
1124
1125
  } | null)[] | {
1125
- 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 | /*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 | undefined;
1126
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
1126
1127
  } | null)[] | {
1127
- 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 | /*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 | undefined;
1128
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
1128
1129
  } | null)[] | {
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;
1130
+ readonly [x: string]: string | number | boolean | any | any | null | undefined;
1130
1131
  } | null | undefined;
1131
1132
  } | null | undefined;
1132
- readonly tags?: readonly string[] | null | undefined;
1133
1133
  }[];
1134
1134
  readonly upsertByEmail?: boolean | null | undefined;
1135
1135
  }) => import("effect/Effect").Effect<{
@@ -1139,18 +1139,18 @@ export declare const bulkImport: (input: {
1139
1139
  readonly skipped: number;
1140
1140
  readonly errors: number;
1141
1141
  readonly results: readonly {
1142
- readonly status: "skipped" | "created" | "updated" | "error";
1143
1142
  readonly index: number;
1144
- readonly error?: string | null;
1143
+ readonly status: "created" | "error" | "skipped" | "updated";
1145
1144
  readonly contactId?: (string & import("effect/Brand").Brand<"ContactId">) | null;
1145
+ readonly error?: string | null;
1146
1146
  }[];
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>;
1147
+ }, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
1148
1148
  export declare const bulkDelete: (input: {
1149
1149
  readonly ids: readonly string[];
1150
1150
  }) => import("effect/Effect").Effect<{
1151
1151
  readonly deleted: number;
1152
1152
  readonly failed: number;
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>;
1153
+ }, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
1154
1154
  export declare const bulkUpdateTags: (input: {
1155
1155
  readonly ids: readonly string[];
1156
1156
  readonly operation: string;
@@ -1158,34 +1158,34 @@ export declare const bulkUpdateTags: (input: {
1158
1158
  }) => import("effect/Effect").Effect<{
1159
1159
  readonly updated: number;
1160
1160
  readonly failed: number;
1161
- }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
1161
+ }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
1162
1162
  export declare const bulkUpdateStatus: (input: {
1163
1163
  readonly ids: readonly string[];
1164
1164
  readonly status: string;
1165
1165
  }) => import("effect/Effect").Effect<{
1166
1166
  readonly updated: number;
1167
1167
  readonly failed: number;
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>;
1168
+ }, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
1169
1169
  declare const exportContacts: (input?: {
1170
- readonly fields?: readonly string[] | null | undefined;
1171
- readonly format?: string | null | undefined;
1172
1170
  readonly ids?: readonly string[] | null | undefined;
1171
+ readonly format?: string | null | undefined;
1173
1172
  readonly filters?: {
1174
1173
  readonly type?: string | null | undefined;
1175
1174
  readonly status?: string | null | undefined;
1176
1175
  readonly tags?: readonly string[] | null | undefined;
1177
1176
  } | null | undefined;
1177
+ readonly fields?: readonly string[] | null | undefined;
1178
1178
  } | undefined) => import("effect/Effect").Effect<{
1179
1179
  readonly data: string;
1180
- readonly format: "json" | "csv";
1180
+ readonly format: "csv" | "json";
1181
1181
  readonly count: number;
1182
- }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
1182
+ }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
1183
1183
  export { exportContacts as export };
1184
1184
  export declare const getActivityTimeline: ((input: {
1185
1185
  readonly id: string;
1186
- readonly channel?: string | null | undefined;
1187
- readonly limit?: string | null | undefined;
1188
1186
  readonly page?: string | null | undefined;
1187
+ readonly limit?: string | null | undefined;
1188
+ readonly channel?: string | null | undefined;
1189
1189
  }) => import("effect/Effect").Effect<{
1190
1190
  readonly items: readonly {
1191
1191
  readonly id: string & import("effect/Brand").Brand<"MessageId">;
@@ -1203,12 +1203,12 @@ export declare const getActivityTimeline: ((input: {
1203
1203
  readonly total: number;
1204
1204
  readonly totalPages: number;
1205
1205
  };
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>) & {
1206
+ }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
1207
1207
  readonly pages: (input: {
1208
1208
  readonly id: string;
1209
- readonly channel?: string | null | undefined;
1210
- readonly limit?: string | null | undefined;
1211
1209
  readonly page?: string | null | undefined;
1210
+ readonly limit?: string | null | undefined;
1211
+ readonly channel?: string | null | undefined;
1212
1212
  }) => import("effect/Stream").Stream<{
1213
1213
  readonly items: readonly {
1214
1214
  readonly id: string & import("effect/Brand").Brand<"MessageId">;
@@ -1226,12 +1226,12 @@ export declare const getActivityTimeline: ((input: {
1226
1226
  readonly total: number;
1227
1227
  readonly totalPages: number;
1228
1228
  };
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>;
1229
+ }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
1230
1230
  readonly items: (input: {
1231
1231
  readonly id: string;
1232
- readonly channel?: string | null | undefined;
1233
- readonly limit?: string | null | undefined;
1234
1232
  readonly page?: string | null | undefined;
1233
+ readonly limit?: string | null | undefined;
1234
+ readonly channel?: string | null | undefined;
1235
1235
  }) => import("effect/Stream").Stream<{
1236
1236
  readonly id: string & import("effect/Brand").Brand<"MessageId">;
1237
1237
  readonly channel: string;
@@ -1241,7 +1241,7 @@ export declare const getActivityTimeline: ((input: {
1241
1241
  readonly snippet: string | null;
1242
1242
  readonly createdAt: string;
1243
1243
  readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
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>;
1244
+ }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
1245
1245
  };
1246
1246
  export declare const getGroupMemberships: (input: {
1247
1247
  readonly id: string;
@@ -1253,4 +1253,4 @@ export declare const getGroupMemberships: (input: {
1253
1253
  readonly role: string;
1254
1254
  readonly joinedAt: string;
1255
1255
  }[];
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>;
1256
+ }, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;