samva 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -10
- package/dist/client/sdk.gen.d.ts +1106 -215
- package/dist/client/types.gen.d.ts +11554 -6343
- package/dist/{client-DB7zbTti.js → client-8YXjfsVc.js} +6492 -3068
- package/dist/{client-attribution-vK1yjEdG.js → client-attribution-Ct2FKITg.js} +2 -2
- package/dist/effect/analytics.d.ts +18 -18
- package/dist/effect/analytics.js +1 -1
- package/dist/effect/api-keys.d.ts +100 -44
- package/dist/effect/api-keys.js +2 -4
- package/dist/effect/attachments.d.ts +5 -6
- package/dist/effect/attachments.js +1 -1
- package/dist/effect/brands.d.ts +6 -6
- package/dist/effect/brands.js +2 -2
- package/dist/effect/campaigns.d.ts +33 -63
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/client.js +1 -1
- package/dist/effect/contact-groups.d.ts +33 -50
- package/dist/effect/contact-groups.js +1 -1
- package/dist/effect/contacts.d.ts +327 -729
- package/dist/effect/contacts.js +10 -2
- package/dist/effect/conversations.d.ts +579 -1134
- package/dist/effect/conversations.js +14 -2
- package/dist/effect/custom-fields.d.ts +5 -55
- package/dist/effect/custom-fields.js +1 -1
- package/dist/effect/email.d.ts +283 -317
- package/dist/effect/email.js +5 -3
- package/dist/effect/extension-installations.d.ts +218 -0
- package/dist/effect/extension-installations.js +25 -0
- package/dist/effect/extensions.d.ts +192 -0
- package/dist/effect/extensions.js +19 -0
- package/dist/effect/feedback.d.ts +12 -0
- package/dist/effect/feedback.js +13 -0
- package/dist/effect/generated.d.ts +31383 -14386
- package/dist/effect/index.d.ts +6 -1
- package/dist/effect/index.js +7 -2
- package/dist/effect/internal/client.d.ts +5 -2
- package/dist/effect/internal/mailbox-events.d.ts +11 -0
- package/dist/effect/internal/operation.d.ts +23 -377
- package/dist/effect/mailboxes.d.ts +1676 -0
- package/dist/effect/mailboxes.js +3 -0
- package/dist/effect/media.d.ts +9 -9
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +173 -940
- package/dist/effect/messages.js +6 -2
- package/dist/effect/namespaces.d.ts +82 -0
- package/dist/effect/namespaces.js +19 -0
- package/dist/effect/operations.d.ts +68 -12
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.d.ts +8 -7
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/pagination.d.ts +16 -21
- package/dist/effect/scheduled-messages.d.ts +15 -25
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.d.ts +213 -290
- package/dist/effect/templates.js +2 -2
- package/dist/effect/unsubscribe-groups.d.ts +22 -76
- package/dist/effect/unsubscribe-groups.js +1 -1
- package/dist/effect/webhooks.d.ts +119 -41
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +3 -2
- package/dist/mailbox-events-CcWm8lO4.js +617 -0
- package/dist/mailbox-events.d.ts +175 -0
- package/dist/mailboxes-4gJMAJh4.js +147 -0
- package/dist/{operation-Cdp1EI_1.js → operation-BuyvAsZ1.js} +403 -67
- package/dist/promises/errors.gen.d.ts +5 -0
- package/dist/promises/index.d.ts +23 -1
- package/dist/promises/index.js +3 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-DoEUUjNM.js → promises-CqAmI39P.js} +3242 -556
- package/dist/service-map.d.ts +458 -36
- package/package.json +28 -8
|
@@ -1,350 +1,91 @@
|
|
|
1
1
|
export declare const list: ((input?: {
|
|
2
|
-
readonly page?: string | null | undefined;
|
|
3
2
|
readonly limit?: string | null | undefined;
|
|
3
|
+
readonly cursor?: string | null | undefined;
|
|
4
4
|
readonly search?: string | null | undefined;
|
|
5
|
-
readonly type?: string | null | undefined;
|
|
6
5
|
readonly status?: string | null | undefined;
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
6
|
+
readonly after?: string | null | undefined;
|
|
7
|
+
readonly before?: string | null | undefined;
|
|
9
8
|
} | undefined) => import("effect/Effect").Effect<{
|
|
10
9
|
readonly items: readonly {
|
|
11
10
|
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
12
|
-
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
13
|
-
readonly type: "human" | "system";
|
|
14
11
|
readonly name: string;
|
|
15
12
|
readonly displayName: string | null;
|
|
16
|
-
readonly avatar: string | null;
|
|
17
|
-
readonly identities: readonly {
|
|
18
|
-
readonly channel: "email";
|
|
19
|
-
readonly identifier: string;
|
|
20
|
-
readonly verified: boolean;
|
|
21
|
-
}[];
|
|
22
|
-
readonly humanProfile: {
|
|
23
|
-
readonly firstName?: string | null;
|
|
24
|
-
readonly lastName?: string | null;
|
|
25
|
-
readonly email?: string | null;
|
|
26
|
-
readonly phone?: string | null;
|
|
27
|
-
readonly company?: string | null;
|
|
28
|
-
readonly jobTitle?: string | null;
|
|
29
|
-
readonly location?: {
|
|
30
|
-
readonly country: string;
|
|
31
|
-
readonly state: string;
|
|
32
|
-
readonly city: string;
|
|
33
|
-
readonly timezone: string;
|
|
34
|
-
} | null;
|
|
35
|
-
readonly customFields?: {
|
|
36
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
37
|
-
} | null;
|
|
38
|
-
readonly source?: "api" | "form" | "import" | "manual" | null;
|
|
39
|
-
readonly sourceDetails?: {
|
|
40
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
41
|
-
} | null;
|
|
42
|
-
} | null;
|
|
43
|
-
readonly capabilities: readonly string[];
|
|
44
|
-
readonly tags: readonly string[];
|
|
45
|
-
readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
|
|
46
|
-
readonly accessConfig: {
|
|
47
|
-
readonly paymentRequired?: {
|
|
48
|
-
readonly amount: number;
|
|
49
|
-
readonly currency: string;
|
|
50
|
-
readonly validityHours?: number | null;
|
|
51
|
-
readonly message?: string | null;
|
|
52
|
-
} | null;
|
|
53
|
-
readonly rateLimit?: {
|
|
54
|
-
readonly messagesPerHour?: number | null;
|
|
55
|
-
readonly messagesPerDay?: number | null;
|
|
56
|
-
readonly cooldownMinutes?: number | null;
|
|
57
|
-
} | null;
|
|
58
|
-
readonly allowedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
59
|
-
readonly blockedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
60
|
-
readonly availability?: {
|
|
61
|
-
readonly timezone: string;
|
|
62
|
-
readonly schedule: readonly {
|
|
63
|
-
readonly days: readonly number[];
|
|
64
|
-
readonly startTime: string;
|
|
65
|
-
readonly endTime: string;
|
|
66
|
-
}[];
|
|
67
|
-
readonly outOfOfficeMessage?: string | null;
|
|
68
|
-
} | null;
|
|
69
|
-
} | null;
|
|
70
|
-
readonly preferences: {
|
|
71
|
-
readonly preferredChannels?: readonly "email"[] | null;
|
|
72
|
-
readonly language?: string | null;
|
|
73
|
-
readonly timezone?: string | null;
|
|
74
|
-
readonly notifications?: {
|
|
75
|
-
readonly email?: boolean | null;
|
|
76
|
-
readonly quiet_hours?: {
|
|
77
|
-
readonly start: string;
|
|
78
|
-
readonly end: string;
|
|
79
|
-
} | null;
|
|
80
|
-
} | null;
|
|
81
|
-
readonly messageFormats?: {
|
|
82
|
-
readonly preferMarkdown?: boolean | null;
|
|
83
|
-
readonly preferPlainText?: boolean | null;
|
|
84
|
-
readonly maxMessageLength?: number | null;
|
|
85
|
-
} | null;
|
|
86
|
-
} | null;
|
|
87
13
|
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
readonly
|
|
91
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
92
|
-
} | null;
|
|
93
|
-
readonly createdAt: string;
|
|
94
|
-
readonly updatedAt: string;
|
|
95
|
-
readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
|
|
96
|
-
readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
|
|
97
|
-
readonly engagement: {
|
|
98
|
-
readonly totalInteractions: number;
|
|
99
|
-
readonly lastActiveAt: string | null;
|
|
100
|
-
};
|
|
14
|
+
readonly email: string | null;
|
|
15
|
+
readonly channels: readonly "email"[];
|
|
16
|
+
readonly tags: readonly string[];
|
|
101
17
|
readonly lists: readonly {
|
|
102
18
|
readonly id: string & import("effect/Brand").Brand<"ContactGroupId">;
|
|
103
19
|
readonly name: string;
|
|
104
20
|
readonly color: "clay" | "moss" | "plum" | "rose" | "sand" | "sky" | null;
|
|
105
21
|
}[];
|
|
22
|
+
readonly lastActiveAt: string | null;
|
|
23
|
+
readonly createdAt: string;
|
|
106
24
|
}[];
|
|
107
|
-
readonly
|
|
108
|
-
|
|
109
|
-
readonly limit: number;
|
|
110
|
-
readonly total: number;
|
|
111
|
-
readonly totalPages: number;
|
|
112
|
-
};
|
|
113
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
25
|
+
readonly nextCursor: string | null;
|
|
26
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
114
27
|
readonly pages: (input?: {
|
|
115
|
-
readonly page?: string | null | undefined;
|
|
116
28
|
readonly limit?: string | null | undefined;
|
|
29
|
+
readonly cursor?: string | null | undefined;
|
|
117
30
|
readonly search?: string | null | undefined;
|
|
118
|
-
readonly type?: string | null | undefined;
|
|
119
31
|
readonly status?: string | null | undefined;
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
32
|
+
readonly after?: string | null | undefined;
|
|
33
|
+
readonly before?: string | null | undefined;
|
|
122
34
|
} | undefined) => import("effect/Stream").Stream<{
|
|
123
35
|
readonly items: readonly {
|
|
124
36
|
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
125
|
-
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
126
|
-
readonly type: "human" | "system";
|
|
127
37
|
readonly name: string;
|
|
128
38
|
readonly displayName: string | null;
|
|
129
|
-
readonly avatar: string | null;
|
|
130
|
-
readonly identities: readonly {
|
|
131
|
-
readonly channel: "email";
|
|
132
|
-
readonly identifier: string;
|
|
133
|
-
readonly verified: boolean;
|
|
134
|
-
}[];
|
|
135
|
-
readonly humanProfile: {
|
|
136
|
-
readonly firstName?: string | null;
|
|
137
|
-
readonly lastName?: string | null;
|
|
138
|
-
readonly email?: string | null;
|
|
139
|
-
readonly phone?: string | null;
|
|
140
|
-
readonly company?: string | null;
|
|
141
|
-
readonly jobTitle?: string | null;
|
|
142
|
-
readonly location?: {
|
|
143
|
-
readonly country: string;
|
|
144
|
-
readonly state: string;
|
|
145
|
-
readonly city: string;
|
|
146
|
-
readonly timezone: string;
|
|
147
|
-
} | null;
|
|
148
|
-
readonly customFields?: {
|
|
149
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
150
|
-
} | null;
|
|
151
|
-
readonly source?: "api" | "form" | "import" | "manual" | null;
|
|
152
|
-
readonly sourceDetails?: {
|
|
153
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
154
|
-
} | null;
|
|
155
|
-
} | null;
|
|
156
|
-
readonly capabilities: readonly string[];
|
|
157
|
-
readonly tags: readonly string[];
|
|
158
|
-
readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
|
|
159
|
-
readonly accessConfig: {
|
|
160
|
-
readonly paymentRequired?: {
|
|
161
|
-
readonly amount: number;
|
|
162
|
-
readonly currency: string;
|
|
163
|
-
readonly validityHours?: number | null;
|
|
164
|
-
readonly message?: string | null;
|
|
165
|
-
} | null;
|
|
166
|
-
readonly rateLimit?: {
|
|
167
|
-
readonly messagesPerHour?: number | null;
|
|
168
|
-
readonly messagesPerDay?: number | null;
|
|
169
|
-
readonly cooldownMinutes?: number | null;
|
|
170
|
-
} | null;
|
|
171
|
-
readonly allowedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
172
|
-
readonly blockedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
173
|
-
readonly availability?: {
|
|
174
|
-
readonly timezone: string;
|
|
175
|
-
readonly schedule: readonly {
|
|
176
|
-
readonly days: readonly number[];
|
|
177
|
-
readonly startTime: string;
|
|
178
|
-
readonly endTime: string;
|
|
179
|
-
}[];
|
|
180
|
-
readonly outOfOfficeMessage?: string | null;
|
|
181
|
-
} | null;
|
|
182
|
-
} | null;
|
|
183
|
-
readonly preferences: {
|
|
184
|
-
readonly preferredChannels?: readonly "email"[] | null;
|
|
185
|
-
readonly language?: string | null;
|
|
186
|
-
readonly timezone?: string | null;
|
|
187
|
-
readonly notifications?: {
|
|
188
|
-
readonly email?: boolean | null;
|
|
189
|
-
readonly quiet_hours?: {
|
|
190
|
-
readonly start: string;
|
|
191
|
-
readonly end: string;
|
|
192
|
-
} | null;
|
|
193
|
-
} | null;
|
|
194
|
-
readonly messageFormats?: {
|
|
195
|
-
readonly preferMarkdown?: boolean | null;
|
|
196
|
-
readonly preferPlainText?: boolean | null;
|
|
197
|
-
readonly maxMessageLength?: number | null;
|
|
198
|
-
} | null;
|
|
199
|
-
} | null;
|
|
200
39
|
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
201
|
-
readonly
|
|
202
|
-
readonly
|
|
203
|
-
readonly
|
|
204
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
205
|
-
} | null;
|
|
206
|
-
readonly createdAt: string;
|
|
207
|
-
readonly updatedAt: string;
|
|
208
|
-
readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
|
|
209
|
-
readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
|
|
210
|
-
readonly engagement: {
|
|
211
|
-
readonly totalInteractions: number;
|
|
212
|
-
readonly lastActiveAt: string | null;
|
|
213
|
-
};
|
|
40
|
+
readonly email: string | null;
|
|
41
|
+
readonly channels: readonly "email"[];
|
|
42
|
+
readonly tags: readonly string[];
|
|
214
43
|
readonly lists: readonly {
|
|
215
44
|
readonly id: string & import("effect/Brand").Brand<"ContactGroupId">;
|
|
216
45
|
readonly name: string;
|
|
217
46
|
readonly color: "clay" | "moss" | "plum" | "rose" | "sand" | "sky" | null;
|
|
218
47
|
}[];
|
|
48
|
+
readonly lastActiveAt: string | null;
|
|
49
|
+
readonly createdAt: string;
|
|
219
50
|
}[];
|
|
220
|
-
readonly
|
|
221
|
-
|
|
222
|
-
readonly limit: number;
|
|
223
|
-
readonly total: number;
|
|
224
|
-
readonly totalPages: number;
|
|
225
|
-
};
|
|
226
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
51
|
+
readonly nextCursor: string | null;
|
|
52
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
227
53
|
readonly items: (input?: {
|
|
228
|
-
readonly page?: string | null | undefined;
|
|
229
54
|
readonly limit?: string | null | undefined;
|
|
55
|
+
readonly cursor?: string | null | undefined;
|
|
230
56
|
readonly search?: string | null | undefined;
|
|
231
|
-
readonly type?: string | null | undefined;
|
|
232
57
|
readonly status?: string | null | undefined;
|
|
233
|
-
readonly
|
|
234
|
-
readonly
|
|
58
|
+
readonly after?: string | null | undefined;
|
|
59
|
+
readonly before?: string | null | undefined;
|
|
235
60
|
} | undefined) => import("effect/Stream").Stream<{
|
|
236
61
|
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
237
|
-
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
238
|
-
readonly type: "human" | "system";
|
|
239
62
|
readonly name: string;
|
|
240
63
|
readonly displayName: string | null;
|
|
241
|
-
readonly avatar: string | null;
|
|
242
|
-
readonly identities: readonly {
|
|
243
|
-
readonly channel: "email";
|
|
244
|
-
readonly identifier: string;
|
|
245
|
-
readonly verified: boolean;
|
|
246
|
-
}[];
|
|
247
|
-
readonly humanProfile: {
|
|
248
|
-
readonly firstName?: string | null;
|
|
249
|
-
readonly lastName?: string | null;
|
|
250
|
-
readonly email?: string | null;
|
|
251
|
-
readonly phone?: string | null;
|
|
252
|
-
readonly company?: string | null;
|
|
253
|
-
readonly jobTitle?: string | null;
|
|
254
|
-
readonly location?: {
|
|
255
|
-
readonly country: string;
|
|
256
|
-
readonly state: string;
|
|
257
|
-
readonly city: string;
|
|
258
|
-
readonly timezone: string;
|
|
259
|
-
} | null;
|
|
260
|
-
readonly customFields?: {
|
|
261
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
262
|
-
} | null;
|
|
263
|
-
readonly source?: "api" | "form" | "import" | "manual" | null;
|
|
264
|
-
readonly sourceDetails?: {
|
|
265
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
266
|
-
} | null;
|
|
267
|
-
} | null;
|
|
268
|
-
readonly capabilities: readonly string[];
|
|
269
|
-
readonly tags: readonly string[];
|
|
270
|
-
readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
|
|
271
|
-
readonly accessConfig: {
|
|
272
|
-
readonly paymentRequired?: {
|
|
273
|
-
readonly amount: number;
|
|
274
|
-
readonly currency: string;
|
|
275
|
-
readonly validityHours?: number | null;
|
|
276
|
-
readonly message?: string | null;
|
|
277
|
-
} | null;
|
|
278
|
-
readonly rateLimit?: {
|
|
279
|
-
readonly messagesPerHour?: number | null;
|
|
280
|
-
readonly messagesPerDay?: number | null;
|
|
281
|
-
readonly cooldownMinutes?: number | null;
|
|
282
|
-
} | null;
|
|
283
|
-
readonly allowedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
284
|
-
readonly blockedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
285
|
-
readonly availability?: {
|
|
286
|
-
readonly timezone: string;
|
|
287
|
-
readonly schedule: readonly {
|
|
288
|
-
readonly days: readonly number[];
|
|
289
|
-
readonly startTime: string;
|
|
290
|
-
readonly endTime: string;
|
|
291
|
-
}[];
|
|
292
|
-
readonly outOfOfficeMessage?: string | null;
|
|
293
|
-
} | null;
|
|
294
|
-
} | null;
|
|
295
|
-
readonly preferences: {
|
|
296
|
-
readonly preferredChannels?: readonly "email"[] | null;
|
|
297
|
-
readonly language?: string | null;
|
|
298
|
-
readonly timezone?: string | null;
|
|
299
|
-
readonly notifications?: {
|
|
300
|
-
readonly email?: boolean | null;
|
|
301
|
-
readonly quiet_hours?: {
|
|
302
|
-
readonly start: string;
|
|
303
|
-
readonly end: string;
|
|
304
|
-
} | null;
|
|
305
|
-
} | null;
|
|
306
|
-
readonly messageFormats?: {
|
|
307
|
-
readonly preferMarkdown?: boolean | null;
|
|
308
|
-
readonly preferPlainText?: boolean | null;
|
|
309
|
-
readonly maxMessageLength?: number | null;
|
|
310
|
-
} | null;
|
|
311
|
-
} | null;
|
|
312
64
|
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
313
|
-
readonly
|
|
314
|
-
readonly
|
|
315
|
-
readonly
|
|
316
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
317
|
-
} | null;
|
|
318
|
-
readonly createdAt: string;
|
|
319
|
-
readonly updatedAt: string;
|
|
320
|
-
readonly createdBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
|
|
321
|
-
readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
|
|
322
|
-
readonly engagement: {
|
|
323
|
-
readonly totalInteractions: number;
|
|
324
|
-
readonly lastActiveAt: string | null;
|
|
325
|
-
};
|
|
65
|
+
readonly email: string | null;
|
|
66
|
+
readonly channels: readonly "email"[];
|
|
67
|
+
readonly tags: readonly string[];
|
|
326
68
|
readonly lists: readonly {
|
|
327
69
|
readonly id: string & import("effect/Brand").Brand<"ContactGroupId">;
|
|
328
70
|
readonly name: string;
|
|
329
71
|
readonly color: "clay" | "moss" | "plum" | "rose" | "sand" | "sky" | null;
|
|
330
72
|
}[];
|
|
331
|
-
|
|
73
|
+
readonly lastActiveAt: string | null;
|
|
74
|
+
readonly createdAt: string;
|
|
75
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
332
76
|
};
|
|
333
77
|
export declare const create: (input: {
|
|
334
|
-
readonly type: string;
|
|
335
78
|
readonly name: string;
|
|
336
79
|
readonly displayName?: string | null | undefined;
|
|
337
80
|
readonly avatar?: string | null | undefined;
|
|
338
81
|
readonly identities?: readonly {
|
|
339
82
|
readonly channel: string;
|
|
340
83
|
readonly identifier: string;
|
|
341
|
-
readonly verified
|
|
84
|
+
readonly verified?: boolean | null | undefined;
|
|
342
85
|
}[] | null | undefined;
|
|
343
|
-
readonly
|
|
86
|
+
readonly profile?: {
|
|
344
87
|
readonly firstName?: string | null | undefined;
|
|
345
88
|
readonly lastName?: string | null | undefined;
|
|
346
|
-
readonly email?: string | null | undefined;
|
|
347
|
-
readonly phone?: string | null | undefined;
|
|
348
89
|
readonly company?: string | null | undefined;
|
|
349
90
|
readonly jobTitle?: string | null | undefined;
|
|
350
91
|
readonly location?: {
|
|
@@ -354,87 +95,9 @@ export declare const create: (input: {
|
|
|
354
95
|
readonly timezone: string;
|
|
355
96
|
} | null | undefined;
|
|
356
97
|
readonly customFields?: {
|
|
357
|
-
readonly [x: string]: string | number | boolean |
|
|
358
|
-
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
359
|
-
} | null)[] | {
|
|
360
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
361
|
-
} | null)[] | {
|
|
362
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
363
|
-
} | null)[] | {
|
|
364
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
365
|
-
} | null)[] | {
|
|
366
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
367
|
-
} | null)[] | {
|
|
368
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
369
|
-
} | null)[] | {
|
|
370
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
371
|
-
} | null)[] | {
|
|
372
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
373
|
-
} | null)[] | {
|
|
374
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
375
|
-
} | null)[] | {
|
|
376
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
377
|
-
} | null)[] | {
|
|
378
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
379
|
-
} | null)[] | {
|
|
380
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
381
|
-
} | null | undefined;
|
|
98
|
+
readonly [x: string]: string | number | boolean | null | undefined;
|
|
382
99
|
} | null | undefined;
|
|
383
100
|
readonly source?: string | null | undefined;
|
|
384
|
-
readonly sourceDetails?: {
|
|
385
|
-
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 | {
|
|
386
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
387
|
-
} | null)[] | {
|
|
388
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
389
|
-
} | null)[] | {
|
|
390
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
391
|
-
} | null)[] | {
|
|
392
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
393
|
-
} | null)[] | {
|
|
394
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
395
|
-
} | null)[] | {
|
|
396
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
397
|
-
} | null)[] | {
|
|
398
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
399
|
-
} | null)[] | {
|
|
400
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
401
|
-
} | null)[] | {
|
|
402
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
403
|
-
} | null)[] | {
|
|
404
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
405
|
-
} | null)[] | {
|
|
406
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
407
|
-
} | null)[] | {
|
|
408
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
409
|
-
} | null | undefined;
|
|
410
|
-
} | null | undefined;
|
|
411
|
-
} | null | undefined;
|
|
412
|
-
readonly capabilities?: readonly string[] | null | undefined;
|
|
413
|
-
readonly tags?: readonly string[] | null | undefined;
|
|
414
|
-
readonly accessLevel?: string | null | undefined;
|
|
415
|
-
readonly accessConfig?: {
|
|
416
|
-
readonly paymentRequired?: {
|
|
417
|
-
readonly amount: number;
|
|
418
|
-
readonly currency: string;
|
|
419
|
-
readonly validityHours?: number | null | undefined;
|
|
420
|
-
readonly message?: string | null | undefined;
|
|
421
|
-
} | null | undefined;
|
|
422
|
-
readonly rateLimit?: {
|
|
423
|
-
readonly messagesPerHour?: number | null | undefined;
|
|
424
|
-
readonly messagesPerDay?: number | null | undefined;
|
|
425
|
-
readonly cooldownMinutes?: number | null | undefined;
|
|
426
|
-
} | null | undefined;
|
|
427
|
-
readonly allowedContacts?: readonly string[] | null | undefined;
|
|
428
|
-
readonly blockedContacts?: readonly string[] | null | undefined;
|
|
429
|
-
readonly availability?: {
|
|
430
|
-
readonly timezone: string;
|
|
431
|
-
readonly schedule: readonly {
|
|
432
|
-
readonly days: readonly number[];
|
|
433
|
-
readonly startTime: string;
|
|
434
|
-
readonly endTime: string;
|
|
435
|
-
}[];
|
|
436
|
-
readonly outOfOfficeMessage?: string | null | undefined;
|
|
437
|
-
} | null | undefined;
|
|
438
101
|
} | null | undefined;
|
|
439
102
|
readonly preferences?: {
|
|
440
103
|
readonly preferredChannels?: readonly string[] | null | undefined;
|
|
@@ -447,18 +110,14 @@ export declare const create: (input: {
|
|
|
447
110
|
readonly end: string;
|
|
448
111
|
} | null | undefined;
|
|
449
112
|
} | null | undefined;
|
|
450
|
-
readonly messageFormats?: {
|
|
451
|
-
readonly preferMarkdown?: boolean | null | undefined;
|
|
452
|
-
readonly preferPlainText?: boolean | null | undefined;
|
|
453
|
-
readonly maxMessageLength?: number | null | undefined;
|
|
454
|
-
} | null | undefined;
|
|
455
113
|
} | null | undefined;
|
|
114
|
+
readonly tags?: readonly string[] | null | undefined;
|
|
456
115
|
readonly status?: string | null | undefined;
|
|
457
116
|
readonly statusReason?: string | null | undefined;
|
|
458
117
|
readonly externalId?: string | null | undefined;
|
|
459
118
|
readonly metadata?: {
|
|
460
|
-
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 | {
|
|
461
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
119
|
+
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 | {
|
|
120
|
+
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
462
121
|
} | null)[] | {
|
|
463
122
|
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
464
123
|
} | null)[] | {
|
|
@@ -483,25 +142,23 @@ export declare const create: (input: {
|
|
|
483
142
|
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
484
143
|
} | null | undefined;
|
|
485
144
|
} | null | undefined;
|
|
486
|
-
readonly createdBy?: string | null | undefined;
|
|
487
|
-
readonly lastModifiedBy?: string | null | undefined;
|
|
488
145
|
}) => import("effect/Effect").Effect<{
|
|
489
146
|
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
490
|
-
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
491
|
-
readonly type: "human" | "system";
|
|
492
147
|
readonly name: string;
|
|
493
148
|
readonly displayName: string | null;
|
|
494
149
|
readonly avatar: string | null;
|
|
150
|
+
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
151
|
+
readonly statusReason: string | null;
|
|
152
|
+
readonly externalId: string | null;
|
|
495
153
|
readonly identities: readonly {
|
|
154
|
+
readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
|
|
496
155
|
readonly channel: "email";
|
|
497
156
|
readonly identifier: string;
|
|
498
157
|
readonly verified: boolean;
|
|
499
158
|
}[];
|
|
500
|
-
readonly
|
|
159
|
+
readonly profile: {
|
|
501
160
|
readonly firstName?: string | null;
|
|
502
161
|
readonly lastName?: string | null;
|
|
503
|
-
readonly email?: string | null;
|
|
504
|
-
readonly phone?: string | null;
|
|
505
162
|
readonly company?: string | null;
|
|
506
163
|
readonly jobTitle?: string | null;
|
|
507
164
|
readonly location?: {
|
|
@@ -511,39 +168,9 @@ export declare const create: (input: {
|
|
|
511
168
|
readonly timezone: string;
|
|
512
169
|
} | null;
|
|
513
170
|
readonly customFields?: {
|
|
514
|
-
readonly [x: string]:
|
|
171
|
+
readonly [x: string]: string | number | boolean | null;
|
|
515
172
|
} | null;
|
|
516
173
|
readonly source?: "api" | "form" | "import" | "manual" | null;
|
|
517
|
-
readonly sourceDetails?: {
|
|
518
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
519
|
-
} | null;
|
|
520
|
-
} | null;
|
|
521
|
-
readonly capabilities: readonly string[];
|
|
522
|
-
readonly tags: readonly string[];
|
|
523
|
-
readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
|
|
524
|
-
readonly accessConfig: {
|
|
525
|
-
readonly paymentRequired?: {
|
|
526
|
-
readonly amount: number;
|
|
527
|
-
readonly currency: string;
|
|
528
|
-
readonly validityHours?: number | null;
|
|
529
|
-
readonly message?: string | null;
|
|
530
|
-
} | null;
|
|
531
|
-
readonly rateLimit?: {
|
|
532
|
-
readonly messagesPerHour?: number | null;
|
|
533
|
-
readonly messagesPerDay?: number | null;
|
|
534
|
-
readonly cooldownMinutes?: number | null;
|
|
535
|
-
} | null;
|
|
536
|
-
readonly allowedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
537
|
-
readonly blockedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
538
|
-
readonly availability?: {
|
|
539
|
-
readonly timezone: string;
|
|
540
|
-
readonly schedule: readonly {
|
|
541
|
-
readonly days: readonly number[];
|
|
542
|
-
readonly startTime: string;
|
|
543
|
-
readonly endTime: string;
|
|
544
|
-
}[];
|
|
545
|
-
readonly outOfOfficeMessage?: string | null;
|
|
546
|
-
} | null;
|
|
547
174
|
} | null;
|
|
548
175
|
readonly preferences: {
|
|
549
176
|
readonly preferredChannels?: readonly "email"[] | null;
|
|
@@ -556,44 +183,35 @@ export declare const create: (input: {
|
|
|
556
183
|
readonly end: string;
|
|
557
184
|
} | null;
|
|
558
185
|
} | null;
|
|
559
|
-
readonly messageFormats?: {
|
|
560
|
-
readonly preferMarkdown?: boolean | null;
|
|
561
|
-
readonly preferPlainText?: boolean | null;
|
|
562
|
-
readonly maxMessageLength?: number | null;
|
|
563
|
-
} | null;
|
|
564
186
|
} | null;
|
|
565
|
-
readonly
|
|
566
|
-
readonly statusReason: string | null;
|
|
567
|
-
readonly externalId: string | null;
|
|
187
|
+
readonly tags: readonly string[];
|
|
568
188
|
readonly metadata: {
|
|
569
189
|
readonly [x: string]: import("./generated").JsonValue;
|
|
570
190
|
} | null;
|
|
571
191
|
readonly createdAt: string;
|
|
572
192
|
readonly updatedAt: string;
|
|
573
|
-
|
|
574
|
-
readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
|
|
575
|
-
}, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | 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>;
|
|
193
|
+
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
576
194
|
export declare const find: (input?: {
|
|
577
195
|
readonly email?: string | null | undefined;
|
|
578
196
|
readonly phone?: string | null | undefined;
|
|
579
197
|
readonly externalId?: string | null | undefined;
|
|
580
198
|
} | undefined) => import("effect/Effect").Effect<{
|
|
581
199
|
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
582
|
-
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
583
|
-
readonly type: "human" | "system";
|
|
584
200
|
readonly name: string;
|
|
585
201
|
readonly displayName: string | null;
|
|
586
202
|
readonly avatar: string | null;
|
|
203
|
+
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
204
|
+
readonly statusReason: string | null;
|
|
205
|
+
readonly externalId: string | null;
|
|
587
206
|
readonly identities: readonly {
|
|
207
|
+
readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
|
|
588
208
|
readonly channel: "email";
|
|
589
209
|
readonly identifier: string;
|
|
590
210
|
readonly verified: boolean;
|
|
591
211
|
}[];
|
|
592
|
-
readonly
|
|
212
|
+
readonly profile: {
|
|
593
213
|
readonly firstName?: string | null;
|
|
594
214
|
readonly lastName?: string | null;
|
|
595
|
-
readonly email?: string | null;
|
|
596
|
-
readonly phone?: string | null;
|
|
597
215
|
readonly company?: string | null;
|
|
598
216
|
readonly jobTitle?: string | null;
|
|
599
217
|
readonly location?: {
|
|
@@ -603,39 +221,9 @@ export declare const find: (input?: {
|
|
|
603
221
|
readonly timezone: string;
|
|
604
222
|
} | null;
|
|
605
223
|
readonly customFields?: {
|
|
606
|
-
readonly [x: string]:
|
|
224
|
+
readonly [x: string]: string | number | boolean | null;
|
|
607
225
|
} | null;
|
|
608
226
|
readonly source?: "api" | "form" | "import" | "manual" | null;
|
|
609
|
-
readonly sourceDetails?: {
|
|
610
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
611
|
-
} | null;
|
|
612
|
-
} | null;
|
|
613
|
-
readonly capabilities: readonly string[];
|
|
614
|
-
readonly tags: readonly string[];
|
|
615
|
-
readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
|
|
616
|
-
readonly accessConfig: {
|
|
617
|
-
readonly paymentRequired?: {
|
|
618
|
-
readonly amount: number;
|
|
619
|
-
readonly currency: string;
|
|
620
|
-
readonly validityHours?: number | null;
|
|
621
|
-
readonly message?: string | null;
|
|
622
|
-
} | null;
|
|
623
|
-
readonly rateLimit?: {
|
|
624
|
-
readonly messagesPerHour?: number | null;
|
|
625
|
-
readonly messagesPerDay?: number | null;
|
|
626
|
-
readonly cooldownMinutes?: number | null;
|
|
627
|
-
} | null;
|
|
628
|
-
readonly allowedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
629
|
-
readonly blockedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
630
|
-
readonly availability?: {
|
|
631
|
-
readonly timezone: string;
|
|
632
|
-
readonly schedule: readonly {
|
|
633
|
-
readonly days: readonly number[];
|
|
634
|
-
readonly startTime: string;
|
|
635
|
-
readonly endTime: string;
|
|
636
|
-
}[];
|
|
637
|
-
readonly outOfOfficeMessage?: string | null;
|
|
638
|
-
} | null;
|
|
639
227
|
} | null;
|
|
640
228
|
readonly preferences: {
|
|
641
229
|
readonly preferredChannels?: readonly "email"[] | null;
|
|
@@ -648,23 +236,14 @@ export declare const find: (input?: {
|
|
|
648
236
|
readonly end: string;
|
|
649
237
|
} | null;
|
|
650
238
|
} | null;
|
|
651
|
-
readonly messageFormats?: {
|
|
652
|
-
readonly preferMarkdown?: boolean | null;
|
|
653
|
-
readonly preferPlainText?: boolean | null;
|
|
654
|
-
readonly maxMessageLength?: number | null;
|
|
655
|
-
} | null;
|
|
656
239
|
} | null;
|
|
657
|
-
readonly
|
|
658
|
-
readonly statusReason: string | null;
|
|
659
|
-
readonly externalId: string | null;
|
|
240
|
+
readonly tags: readonly string[];
|
|
660
241
|
readonly metadata: {
|
|
661
242
|
readonly [x: string]: import("./generated").JsonValue;
|
|
662
243
|
} | null;
|
|
663
244
|
readonly createdAt: string;
|
|
664
245
|
readonly updatedAt: string;
|
|
665
|
-
|
|
666
|
-
readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
|
|
667
|
-
} | null, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
246
|
+
} | null, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
668
247
|
export declare const findOrCreate: (input?: {
|
|
669
248
|
readonly email?: string | null | undefined;
|
|
670
249
|
readonly phone?: string | null | undefined;
|
|
@@ -673,21 +252,21 @@ export declare const findOrCreate: (input?: {
|
|
|
673
252
|
readonly displayName?: string | null | undefined;
|
|
674
253
|
} | undefined) => import("effect/Effect").Effect<{
|
|
675
254
|
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
676
|
-
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
677
|
-
readonly type: "human" | "system";
|
|
678
255
|
readonly name: string;
|
|
679
256
|
readonly displayName: string | null;
|
|
680
257
|
readonly avatar: string | null;
|
|
258
|
+
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
259
|
+
readonly statusReason: string | null;
|
|
260
|
+
readonly externalId: string | null;
|
|
681
261
|
readonly identities: readonly {
|
|
262
|
+
readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
|
|
682
263
|
readonly channel: "email";
|
|
683
264
|
readonly identifier: string;
|
|
684
265
|
readonly verified: boolean;
|
|
685
266
|
}[];
|
|
686
|
-
readonly
|
|
267
|
+
readonly profile: {
|
|
687
268
|
readonly firstName?: string | null;
|
|
688
269
|
readonly lastName?: string | null;
|
|
689
|
-
readonly email?: string | null;
|
|
690
|
-
readonly phone?: string | null;
|
|
691
270
|
readonly company?: string | null;
|
|
692
271
|
readonly jobTitle?: string | null;
|
|
693
272
|
readonly location?: {
|
|
@@ -697,39 +276,9 @@ export declare const findOrCreate: (input?: {
|
|
|
697
276
|
readonly timezone: string;
|
|
698
277
|
} | null;
|
|
699
278
|
readonly customFields?: {
|
|
700
|
-
readonly [x: string]:
|
|
279
|
+
readonly [x: string]: string | number | boolean | null;
|
|
701
280
|
} | null;
|
|
702
281
|
readonly source?: "api" | "form" | "import" | "manual" | null;
|
|
703
|
-
readonly sourceDetails?: {
|
|
704
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
705
|
-
} | null;
|
|
706
|
-
} | null;
|
|
707
|
-
readonly capabilities: readonly string[];
|
|
708
|
-
readonly tags: readonly string[];
|
|
709
|
-
readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
|
|
710
|
-
readonly accessConfig: {
|
|
711
|
-
readonly paymentRequired?: {
|
|
712
|
-
readonly amount: number;
|
|
713
|
-
readonly currency: string;
|
|
714
|
-
readonly validityHours?: number | null;
|
|
715
|
-
readonly message?: string | null;
|
|
716
|
-
} | null;
|
|
717
|
-
readonly rateLimit?: {
|
|
718
|
-
readonly messagesPerHour?: number | null;
|
|
719
|
-
readonly messagesPerDay?: number | null;
|
|
720
|
-
readonly cooldownMinutes?: number | null;
|
|
721
|
-
} | null;
|
|
722
|
-
readonly allowedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
723
|
-
readonly blockedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
724
|
-
readonly availability?: {
|
|
725
|
-
readonly timezone: string;
|
|
726
|
-
readonly schedule: readonly {
|
|
727
|
-
readonly days: readonly number[];
|
|
728
|
-
readonly startTime: string;
|
|
729
|
-
readonly endTime: string;
|
|
730
|
-
}[];
|
|
731
|
-
readonly outOfOfficeMessage?: string | null;
|
|
732
|
-
} | null;
|
|
733
282
|
} | null;
|
|
734
283
|
readonly preferences: {
|
|
735
284
|
readonly preferredChannels?: readonly "email"[] | null;
|
|
@@ -742,42 +291,33 @@ export declare const findOrCreate: (input?: {
|
|
|
742
291
|
readonly end: string;
|
|
743
292
|
} | null;
|
|
744
293
|
} | null;
|
|
745
|
-
readonly messageFormats?: {
|
|
746
|
-
readonly preferMarkdown?: boolean | null;
|
|
747
|
-
readonly preferPlainText?: boolean | null;
|
|
748
|
-
readonly maxMessageLength?: number | null;
|
|
749
|
-
} | null;
|
|
750
294
|
} | null;
|
|
751
|
-
readonly
|
|
752
|
-
readonly statusReason: string | null;
|
|
753
|
-
readonly externalId: string | null;
|
|
295
|
+
readonly tags: readonly string[];
|
|
754
296
|
readonly metadata: {
|
|
755
297
|
readonly [x: string]: import("./generated").JsonValue;
|
|
756
298
|
} | null;
|
|
757
299
|
readonly createdAt: string;
|
|
758
300
|
readonly updatedAt: string;
|
|
759
|
-
|
|
760
|
-
readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
|
|
761
|
-
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | 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>;
|
|
301
|
+
}, import("./generated").BillingProviderError | import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
762
302
|
export declare const get: (input: {
|
|
763
303
|
readonly id: string;
|
|
764
304
|
}) => import("effect/Effect").Effect<{
|
|
765
305
|
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
766
|
-
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
767
|
-
readonly type: "human" | "system";
|
|
768
306
|
readonly name: string;
|
|
769
307
|
readonly displayName: string | null;
|
|
770
308
|
readonly avatar: string | null;
|
|
309
|
+
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
310
|
+
readonly statusReason: string | null;
|
|
311
|
+
readonly externalId: string | null;
|
|
771
312
|
readonly identities: readonly {
|
|
313
|
+
readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
|
|
772
314
|
readonly channel: "email";
|
|
773
315
|
readonly identifier: string;
|
|
774
316
|
readonly verified: boolean;
|
|
775
317
|
}[];
|
|
776
|
-
readonly
|
|
318
|
+
readonly profile: {
|
|
777
319
|
readonly firstName?: string | null;
|
|
778
320
|
readonly lastName?: string | null;
|
|
779
|
-
readonly email?: string | null;
|
|
780
|
-
readonly phone?: string | null;
|
|
781
321
|
readonly company?: string | null;
|
|
782
322
|
readonly jobTitle?: string | null;
|
|
783
323
|
readonly location?: {
|
|
@@ -787,39 +327,9 @@ export declare const get: (input: {
|
|
|
787
327
|
readonly timezone: string;
|
|
788
328
|
} | null;
|
|
789
329
|
readonly customFields?: {
|
|
790
|
-
readonly [x: string]:
|
|
330
|
+
readonly [x: string]: string | number | boolean | null;
|
|
791
331
|
} | null;
|
|
792
332
|
readonly source?: "api" | "form" | "import" | "manual" | null;
|
|
793
|
-
readonly sourceDetails?: {
|
|
794
|
-
readonly [x: string]: import("./generated").JsonValue;
|
|
795
|
-
} | null;
|
|
796
|
-
} | null;
|
|
797
|
-
readonly capabilities: readonly string[];
|
|
798
|
-
readonly tags: readonly string[];
|
|
799
|
-
readonly accessLevel: "authenticated" | "internal" | "public" | "vip";
|
|
800
|
-
readonly accessConfig: {
|
|
801
|
-
readonly paymentRequired?: {
|
|
802
|
-
readonly amount: number;
|
|
803
|
-
readonly currency: string;
|
|
804
|
-
readonly validityHours?: number | null;
|
|
805
|
-
readonly message?: string | null;
|
|
806
|
-
} | null;
|
|
807
|
-
readonly rateLimit?: {
|
|
808
|
-
readonly messagesPerHour?: number | null;
|
|
809
|
-
readonly messagesPerDay?: number | null;
|
|
810
|
-
readonly cooldownMinutes?: number | null;
|
|
811
|
-
} | null;
|
|
812
|
-
readonly allowedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
813
|
-
readonly blockedContacts?: readonly (string & import("effect/Brand").Brand<"ContactId">)[] | null;
|
|
814
|
-
readonly availability?: {
|
|
815
|
-
readonly timezone: string;
|
|
816
|
-
readonly schedule: readonly {
|
|
817
|
-
readonly days: readonly number[];
|
|
818
|
-
readonly startTime: string;
|
|
819
|
-
readonly endTime: string;
|
|
820
|
-
}[];
|
|
821
|
-
readonly outOfOfficeMessage?: string | null;
|
|
822
|
-
} | null;
|
|
823
333
|
} | null;
|
|
824
334
|
readonly preferences: {
|
|
825
335
|
readonly preferredChannels?: readonly "email"[] | null;
|
|
@@ -832,44 +342,27 @@ export declare const get: (input: {
|
|
|
832
342
|
readonly end: string;
|
|
833
343
|
} | null;
|
|
834
344
|
} | null;
|
|
835
|
-
readonly messageFormats?: {
|
|
836
|
-
readonly preferMarkdown?: boolean | null;
|
|
837
|
-
readonly preferPlainText?: boolean | null;
|
|
838
|
-
readonly maxMessageLength?: number | null;
|
|
839
|
-
} | null;
|
|
840
345
|
} | null;
|
|
841
|
-
readonly
|
|
842
|
-
readonly statusReason: string | null;
|
|
843
|
-
readonly externalId: string | null;
|
|
346
|
+
readonly tags: readonly string[];
|
|
844
347
|
readonly metadata: {
|
|
845
348
|
readonly [x: string]: import("./generated").JsonValue;
|
|
846
349
|
} | null;
|
|
847
350
|
readonly createdAt: string;
|
|
848
351
|
readonly updatedAt: string;
|
|
849
|
-
|
|
850
|
-
readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
|
|
851
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
352
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
852
353
|
export declare const remove: (input: {
|
|
853
354
|
readonly id: string;
|
|
854
355
|
}) => import("effect/Effect").Effect<{
|
|
855
356
|
readonly success: boolean;
|
|
856
|
-
}, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
357
|
+
}, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
857
358
|
export declare const update: (input: {
|
|
858
359
|
readonly id: string;
|
|
859
|
-
readonly type?: string | null | undefined;
|
|
860
360
|
readonly name?: string | null | undefined;
|
|
861
361
|
readonly displayName?: string | null | undefined;
|
|
862
362
|
readonly avatar?: string | null | undefined;
|
|
863
|
-
readonly
|
|
864
|
-
readonly channel: string;
|
|
865
|
-
readonly identifier: string;
|
|
866
|
-
readonly verified: boolean;
|
|
867
|
-
}[] | null | undefined;
|
|
868
|
-
readonly humanProfile?: {
|
|
363
|
+
readonly profile?: {
|
|
869
364
|
readonly firstName?: string | null | undefined;
|
|
870
365
|
readonly lastName?: string | null | undefined;
|
|
871
|
-
readonly email?: string | null | undefined;
|
|
872
|
-
readonly phone?: string | null | undefined;
|
|
873
366
|
readonly company?: string | null | undefined;
|
|
874
367
|
readonly jobTitle?: string | null | undefined;
|
|
875
368
|
readonly location?: {
|
|
@@ -879,86 +372,7 @@ export declare const update: (input: {
|
|
|
879
372
|
readonly timezone: string;
|
|
880
373
|
} | null | undefined;
|
|
881
374
|
readonly customFields?: {
|
|
882
|
-
readonly [x: string]: string | number | boolean |
|
|
883
|
-
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
884
|
-
} | null)[] | {
|
|
885
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
886
|
-
} | null)[] | {
|
|
887
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
888
|
-
} | null)[] | {
|
|
889
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
890
|
-
} | null)[] | {
|
|
891
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
892
|
-
} | null)[] | {
|
|
893
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
894
|
-
} | null)[] | {
|
|
895
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
896
|
-
} | null)[] | {
|
|
897
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
898
|
-
} | null)[] | {
|
|
899
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
900
|
-
} | null)[] | {
|
|
901
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
902
|
-
} | null)[] | {
|
|
903
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
904
|
-
} | null)[] | {
|
|
905
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
906
|
-
} | null | undefined;
|
|
907
|
-
} | null | undefined;
|
|
908
|
-
readonly source?: string | null | undefined;
|
|
909
|
-
readonly sourceDetails?: {
|
|
910
|
-
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 | {
|
|
911
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
912
|
-
} | null)[] | {
|
|
913
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
914
|
-
} | null)[] | {
|
|
915
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
916
|
-
} | null)[] | {
|
|
917
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
918
|
-
} | null)[] | {
|
|
919
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
920
|
-
} | null)[] | {
|
|
921
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
922
|
-
} | null)[] | {
|
|
923
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
924
|
-
} | null)[] | {
|
|
925
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
926
|
-
} | null)[] | {
|
|
927
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
928
|
-
} | null)[] | {
|
|
929
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
930
|
-
} | null)[] | {
|
|
931
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
932
|
-
} | null)[] | {
|
|
933
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
934
|
-
} | null | undefined;
|
|
935
|
-
} | null | undefined;
|
|
936
|
-
} | null | undefined;
|
|
937
|
-
readonly capabilities?: readonly string[] | null | undefined;
|
|
938
|
-
readonly tags?: readonly string[] | null | undefined;
|
|
939
|
-
readonly accessLevel?: string | null | undefined;
|
|
940
|
-
readonly accessConfig?: {
|
|
941
|
-
readonly paymentRequired?: {
|
|
942
|
-
readonly amount: number;
|
|
943
|
-
readonly currency: string;
|
|
944
|
-
readonly validityHours?: number | null | undefined;
|
|
945
|
-
readonly message?: string | null | undefined;
|
|
946
|
-
} | null | undefined;
|
|
947
|
-
readonly rateLimit?: {
|
|
948
|
-
readonly messagesPerHour?: number | null | undefined;
|
|
949
|
-
readonly messagesPerDay?: number | null | undefined;
|
|
950
|
-
readonly cooldownMinutes?: number | null | undefined;
|
|
951
|
-
} | null | undefined;
|
|
952
|
-
readonly allowedContacts?: readonly string[] | null | undefined;
|
|
953
|
-
readonly blockedContacts?: readonly string[] | null | undefined;
|
|
954
|
-
readonly availability?: {
|
|
955
|
-
readonly timezone: string;
|
|
956
|
-
readonly schedule: readonly {
|
|
957
|
-
readonly days: readonly number[];
|
|
958
|
-
readonly startTime: string;
|
|
959
|
-
readonly endTime: string;
|
|
960
|
-
}[];
|
|
961
|
-
readonly outOfOfficeMessage?: string | null | undefined;
|
|
375
|
+
readonly [x: string]: string | number | boolean | null | undefined;
|
|
962
376
|
} | null | undefined;
|
|
963
377
|
} | null | undefined;
|
|
964
378
|
readonly preferences?: {
|
|
@@ -972,18 +386,13 @@ export declare const update: (input: {
|
|
|
972
386
|
readonly end: string;
|
|
973
387
|
} | null | undefined;
|
|
974
388
|
} | null | undefined;
|
|
975
|
-
readonly messageFormats?: {
|
|
976
|
-
readonly preferMarkdown?: boolean | null | undefined;
|
|
977
|
-
readonly preferPlainText?: boolean | null | undefined;
|
|
978
|
-
readonly maxMessageLength?: number | null | undefined;
|
|
979
|
-
} | null | undefined;
|
|
980
389
|
} | null | undefined;
|
|
981
390
|
readonly status?: string | null | undefined;
|
|
982
391
|
readonly statusReason?: string | null | undefined;
|
|
983
392
|
readonly externalId?: string | null | undefined;
|
|
984
393
|
readonly metadata?: {
|
|
985
|
-
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 | {
|
|
986
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
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 | readonly (string | number | boolean | /*elided*/ any | {
|
|
395
|
+
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
987
396
|
} | null)[] | {
|
|
988
397
|
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
989
398
|
} | null)[] | {
|
|
@@ -1008,25 +417,23 @@ export declare const update: (input: {
|
|
|
1008
417
|
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
1009
418
|
} | null | undefined;
|
|
1010
419
|
} | null | undefined;
|
|
1011
|
-
readonly createdBy?: string | null | undefined;
|
|
1012
|
-
readonly lastModifiedBy?: string | null | undefined;
|
|
1013
420
|
}) => import("effect/Effect").Effect<{
|
|
1014
421
|
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
1015
|
-
readonly organizationId: string & import("effect/Brand").Brand<"OrganizationId">;
|
|
1016
|
-
readonly type: "human" | "system";
|
|
1017
422
|
readonly name: string;
|
|
1018
423
|
readonly displayName: string | null;
|
|
1019
424
|
readonly avatar: string | null;
|
|
425
|
+
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
426
|
+
readonly statusReason: string | null;
|
|
427
|
+
readonly externalId: string | null;
|
|
1020
428
|
readonly identities: readonly {
|
|
429
|
+
readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
|
|
1021
430
|
readonly channel: "email";
|
|
1022
431
|
readonly identifier: string;
|
|
1023
432
|
readonly verified: boolean;
|
|
1024
433
|
}[];
|
|
1025
|
-
readonly
|
|
434
|
+
readonly profile: {
|
|
1026
435
|
readonly firstName?: string | null;
|
|
1027
436
|
readonly lastName?: string | null;
|
|
1028
|
-
readonly email?: string | null;
|
|
1029
|
-
readonly phone?: string | null;
|
|
1030
437
|
readonly company?: string | null;
|
|
1031
438
|
readonly jobTitle?: string | null;
|
|
1032
439
|
readonly location?: {
|
|
@@ -1036,39 +443,115 @@ export declare const update: (input: {
|
|
|
1036
443
|
readonly timezone: string;
|
|
1037
444
|
} | null;
|
|
1038
445
|
readonly customFields?: {
|
|
1039
|
-
readonly [x: string]:
|
|
446
|
+
readonly [x: string]: string | number | boolean | null;
|
|
1040
447
|
} | null;
|
|
1041
448
|
readonly source?: "api" | "form" | "import" | "manual" | null;
|
|
1042
|
-
|
|
1043
|
-
|
|
449
|
+
} | null;
|
|
450
|
+
readonly preferences: {
|
|
451
|
+
readonly preferredChannels?: readonly "email"[] | null;
|
|
452
|
+
readonly language?: string | null;
|
|
453
|
+
readonly timezone?: string | null;
|
|
454
|
+
readonly notifications?: {
|
|
455
|
+
readonly email?: boolean | null;
|
|
456
|
+
readonly quiet_hours?: {
|
|
457
|
+
readonly start: string;
|
|
458
|
+
readonly end: string;
|
|
459
|
+
} | null;
|
|
1044
460
|
} | null;
|
|
1045
461
|
} | null;
|
|
1046
|
-
readonly capabilities: readonly string[];
|
|
1047
462
|
readonly tags: readonly string[];
|
|
1048
|
-
readonly
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
463
|
+
readonly metadata: {
|
|
464
|
+
readonly [x: string]: import("./generated").JsonValue;
|
|
465
|
+
} | null;
|
|
466
|
+
readonly createdAt: string;
|
|
467
|
+
readonly updatedAt: string;
|
|
468
|
+
}, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
469
|
+
export declare const addIdentity: (input: {
|
|
470
|
+
readonly id: string;
|
|
471
|
+
readonly channel: string;
|
|
472
|
+
readonly identifier: string;
|
|
473
|
+
readonly verified?: boolean | null | undefined;
|
|
474
|
+
}) => import("effect/Effect").Effect<{
|
|
475
|
+
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
476
|
+
readonly name: string;
|
|
477
|
+
readonly displayName: string | null;
|
|
478
|
+
readonly avatar: string | null;
|
|
479
|
+
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
480
|
+
readonly statusReason: string | null;
|
|
481
|
+
readonly externalId: string | null;
|
|
482
|
+
readonly identities: readonly {
|
|
483
|
+
readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
|
|
484
|
+
readonly channel: "email";
|
|
485
|
+
readonly identifier: string;
|
|
486
|
+
readonly verified: boolean;
|
|
487
|
+
}[];
|
|
488
|
+
readonly profile: {
|
|
489
|
+
readonly firstName?: string | null;
|
|
490
|
+
readonly lastName?: string | null;
|
|
491
|
+
readonly company?: string | null;
|
|
492
|
+
readonly jobTitle?: string | null;
|
|
493
|
+
readonly location?: {
|
|
494
|
+
readonly country: string;
|
|
495
|
+
readonly state: string;
|
|
496
|
+
readonly city: string;
|
|
497
|
+
readonly timezone: string;
|
|
1055
498
|
} | null;
|
|
1056
|
-
readonly
|
|
1057
|
-
readonly
|
|
1058
|
-
|
|
1059
|
-
|
|
499
|
+
readonly customFields?: {
|
|
500
|
+
readonly [x: string]: string | number | boolean | null;
|
|
501
|
+
} | null;
|
|
502
|
+
readonly source?: "api" | "form" | "import" | "manual" | null;
|
|
503
|
+
} | null;
|
|
504
|
+
readonly preferences: {
|
|
505
|
+
readonly preferredChannels?: readonly "email"[] | null;
|
|
506
|
+
readonly language?: string | null;
|
|
507
|
+
readonly timezone?: string | null;
|
|
508
|
+
readonly notifications?: {
|
|
509
|
+
readonly email?: boolean | null;
|
|
510
|
+
readonly quiet_hours?: {
|
|
511
|
+
readonly start: string;
|
|
512
|
+
readonly end: string;
|
|
513
|
+
} | null;
|
|
1060
514
|
} | null;
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
515
|
+
} | null;
|
|
516
|
+
readonly tags: readonly string[];
|
|
517
|
+
readonly metadata: {
|
|
518
|
+
readonly [x: string]: import("./generated").JsonValue;
|
|
519
|
+
} | null;
|
|
520
|
+
readonly createdAt: string;
|
|
521
|
+
readonly updatedAt: string;
|
|
522
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
523
|
+
export declare const removeIdentity: (input: {
|
|
524
|
+
readonly id: string;
|
|
525
|
+
readonly identityId: string;
|
|
526
|
+
}) => import("effect/Effect").Effect<{
|
|
527
|
+
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
528
|
+
readonly name: string;
|
|
529
|
+
readonly displayName: string | null;
|
|
530
|
+
readonly avatar: string | null;
|
|
531
|
+
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
532
|
+
readonly statusReason: string | null;
|
|
533
|
+
readonly externalId: string | null;
|
|
534
|
+
readonly identities: readonly {
|
|
535
|
+
readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
|
|
536
|
+
readonly channel: "email";
|
|
537
|
+
readonly identifier: string;
|
|
538
|
+
readonly verified: boolean;
|
|
539
|
+
}[];
|
|
540
|
+
readonly profile: {
|
|
541
|
+
readonly firstName?: string | null;
|
|
542
|
+
readonly lastName?: string | null;
|
|
543
|
+
readonly company?: string | null;
|
|
544
|
+
readonly jobTitle?: string | null;
|
|
545
|
+
readonly location?: {
|
|
546
|
+
readonly country: string;
|
|
547
|
+
readonly state: string;
|
|
548
|
+
readonly city: string;
|
|
1064
549
|
readonly timezone: string;
|
|
1065
|
-
readonly schedule: readonly {
|
|
1066
|
-
readonly days: readonly number[];
|
|
1067
|
-
readonly startTime: string;
|
|
1068
|
-
readonly endTime: string;
|
|
1069
|
-
}[];
|
|
1070
|
-
readonly outOfOfficeMessage?: string | null;
|
|
1071
550
|
} | null;
|
|
551
|
+
readonly customFields?: {
|
|
552
|
+
readonly [x: string]: string | number | boolean | null;
|
|
553
|
+
} | null;
|
|
554
|
+
readonly source?: "api" | "form" | "import" | "manual" | null;
|
|
1072
555
|
} | null;
|
|
1073
556
|
readonly preferences: {
|
|
1074
557
|
readonly preferredChannels?: readonly "email"[] | null;
|
|
@@ -1081,23 +564,118 @@ export declare const update: (input: {
|
|
|
1081
564
|
readonly end: string;
|
|
1082
565
|
} | null;
|
|
1083
566
|
} | null;
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
567
|
+
} | null;
|
|
568
|
+
readonly tags: readonly string[];
|
|
569
|
+
readonly metadata: {
|
|
570
|
+
readonly [x: string]: import("./generated").JsonValue;
|
|
571
|
+
} | null;
|
|
572
|
+
readonly createdAt: string;
|
|
573
|
+
readonly updatedAt: string;
|
|
574
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
575
|
+
export declare const addTags: (input: {
|
|
576
|
+
readonly id: string;
|
|
577
|
+
readonly tags: readonly string[];
|
|
578
|
+
}) => import("effect/Effect").Effect<{
|
|
579
|
+
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
580
|
+
readonly name: string;
|
|
581
|
+
readonly displayName: string | null;
|
|
582
|
+
readonly avatar: string | null;
|
|
583
|
+
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
584
|
+
readonly statusReason: string | null;
|
|
585
|
+
readonly externalId: string | null;
|
|
586
|
+
readonly identities: readonly {
|
|
587
|
+
readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
|
|
588
|
+
readonly channel: "email";
|
|
589
|
+
readonly identifier: string;
|
|
590
|
+
readonly verified: boolean;
|
|
591
|
+
}[];
|
|
592
|
+
readonly profile: {
|
|
593
|
+
readonly firstName?: string | null;
|
|
594
|
+
readonly lastName?: string | null;
|
|
595
|
+
readonly company?: string | null;
|
|
596
|
+
readonly jobTitle?: string | null;
|
|
597
|
+
readonly location?: {
|
|
598
|
+
readonly country: string;
|
|
599
|
+
readonly state: string;
|
|
600
|
+
readonly city: string;
|
|
601
|
+
readonly timezone: string;
|
|
602
|
+
} | null;
|
|
603
|
+
readonly customFields?: {
|
|
604
|
+
readonly [x: string]: string | number | boolean | null;
|
|
605
|
+
} | null;
|
|
606
|
+
readonly source?: "api" | "form" | "import" | "manual" | null;
|
|
607
|
+
} | null;
|
|
608
|
+
readonly preferences: {
|
|
609
|
+
readonly preferredChannels?: readonly "email"[] | null;
|
|
610
|
+
readonly language?: string | null;
|
|
611
|
+
readonly timezone?: string | null;
|
|
612
|
+
readonly notifications?: {
|
|
613
|
+
readonly email?: boolean | null;
|
|
614
|
+
readonly quiet_hours?: {
|
|
615
|
+
readonly start: string;
|
|
616
|
+
readonly end: string;
|
|
617
|
+
} | null;
|
|
1088
618
|
} | null;
|
|
1089
619
|
} | null;
|
|
620
|
+
readonly tags: readonly string[];
|
|
621
|
+
readonly metadata: {
|
|
622
|
+
readonly [x: string]: import("./generated").JsonValue;
|
|
623
|
+
} | null;
|
|
624
|
+
readonly createdAt: string;
|
|
625
|
+
readonly updatedAt: string;
|
|
626
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
627
|
+
export declare const removeTags: (input: {
|
|
628
|
+
readonly id: string;
|
|
629
|
+
readonly tags: readonly string[];
|
|
630
|
+
}) => import("effect/Effect").Effect<{
|
|
631
|
+
readonly id: string & import("effect/Brand").Brand<"ContactId">;
|
|
632
|
+
readonly name: string;
|
|
633
|
+
readonly displayName: string | null;
|
|
634
|
+
readonly avatar: string | null;
|
|
1090
635
|
readonly status: "active" | "archived" | "blocked" | "paused";
|
|
1091
636
|
readonly statusReason: string | null;
|
|
1092
637
|
readonly externalId: string | null;
|
|
638
|
+
readonly identities: readonly {
|
|
639
|
+
readonly id: string & import("effect/Brand").Brand<"ContactIdentityId">;
|
|
640
|
+
readonly channel: "email";
|
|
641
|
+
readonly identifier: string;
|
|
642
|
+
readonly verified: boolean;
|
|
643
|
+
}[];
|
|
644
|
+
readonly profile: {
|
|
645
|
+
readonly firstName?: string | null;
|
|
646
|
+
readonly lastName?: string | null;
|
|
647
|
+
readonly company?: string | null;
|
|
648
|
+
readonly jobTitle?: string | null;
|
|
649
|
+
readonly location?: {
|
|
650
|
+
readonly country: string;
|
|
651
|
+
readonly state: string;
|
|
652
|
+
readonly city: string;
|
|
653
|
+
readonly timezone: string;
|
|
654
|
+
} | null;
|
|
655
|
+
readonly customFields?: {
|
|
656
|
+
readonly [x: string]: string | number | boolean | null;
|
|
657
|
+
} | null;
|
|
658
|
+
readonly source?: "api" | "form" | "import" | "manual" | null;
|
|
659
|
+
} | null;
|
|
660
|
+
readonly preferences: {
|
|
661
|
+
readonly preferredChannels?: readonly "email"[] | null;
|
|
662
|
+
readonly language?: string | null;
|
|
663
|
+
readonly timezone?: string | null;
|
|
664
|
+
readonly notifications?: {
|
|
665
|
+
readonly email?: boolean | null;
|
|
666
|
+
readonly quiet_hours?: {
|
|
667
|
+
readonly start: string;
|
|
668
|
+
readonly end: string;
|
|
669
|
+
} | null;
|
|
670
|
+
} | null;
|
|
671
|
+
} | null;
|
|
672
|
+
readonly tags: readonly string[];
|
|
1093
673
|
readonly metadata: {
|
|
1094
674
|
readonly [x: string]: import("./generated").JsonValue;
|
|
1095
675
|
} | null;
|
|
1096
676
|
readonly createdAt: string;
|
|
1097
677
|
readonly updatedAt: string;
|
|
1098
|
-
|
|
1099
|
-
readonly lastModifiedBy: (string & import("effect/Brand").Brand<"ContactId">) | null;
|
|
1100
|
-
}, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | 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>;
|
|
678
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1101
679
|
export declare const getEngagement: (input: {
|
|
1102
680
|
readonly id: string;
|
|
1103
681
|
}) => import("effect/Effect").Effect<{
|
|
@@ -1109,7 +687,7 @@ export declare const getEngagement: (input: {
|
|
|
1109
687
|
readonly channelsUsed: {
|
|
1110
688
|
readonly [x: string]: number;
|
|
1111
689
|
};
|
|
1112
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
690
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1113
691
|
export declare const bulkImport: (input: {
|
|
1114
692
|
readonly contacts: readonly {
|
|
1115
693
|
readonly name: string;
|
|
@@ -1159,13 +737,13 @@ export declare const bulkImport: (input: {
|
|
|
1159
737
|
readonly contactId?: (string & import("effect/Brand").Brand<"ContactId">) | null;
|
|
1160
738
|
readonly error?: string | null;
|
|
1161
739
|
}[];
|
|
1162
|
-
}, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
740
|
+
}, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1163
741
|
export declare const bulkDelete: (input: {
|
|
1164
742
|
readonly ids: readonly string[];
|
|
1165
743
|
}) => import("effect/Effect").Effect<{
|
|
1166
744
|
readonly deleted: number;
|
|
1167
745
|
readonly failed: number;
|
|
1168
|
-
}, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
746
|
+
}, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1169
747
|
export declare const bulkUpdateTags: (input: {
|
|
1170
748
|
readonly ids: readonly string[];
|
|
1171
749
|
readonly operation: string;
|
|
@@ -1173,19 +751,18 @@ export declare const bulkUpdateTags: (input: {
|
|
|
1173
751
|
}) => import("effect/Effect").Effect<{
|
|
1174
752
|
readonly updated: number;
|
|
1175
753
|
readonly failed: number;
|
|
1176
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
754
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1177
755
|
export declare const bulkUpdateStatus: (input: {
|
|
1178
756
|
readonly ids: readonly string[];
|
|
1179
757
|
readonly status: string;
|
|
1180
758
|
}) => import("effect/Effect").Effect<{
|
|
1181
759
|
readonly updated: number;
|
|
1182
760
|
readonly failed: number;
|
|
1183
|
-
}, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
761
|
+
}, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1184
762
|
declare const exportContacts: (input?: {
|
|
1185
763
|
readonly ids?: readonly string[] | null | undefined;
|
|
1186
764
|
readonly format?: string | null | undefined;
|
|
1187
765
|
readonly filters?: {
|
|
1188
|
-
readonly type?: string | null | undefined;
|
|
1189
766
|
readonly status?: string | null | undefined;
|
|
1190
767
|
readonly tags?: readonly string[] | null | undefined;
|
|
1191
768
|
} | null | undefined;
|
|
@@ -1194,12 +771,12 @@ declare const exportContacts: (input?: {
|
|
|
1194
771
|
readonly data: string;
|
|
1195
772
|
readonly format: "csv" | "json";
|
|
1196
773
|
readonly count: number;
|
|
1197
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
774
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1198
775
|
export { exportContacts as export };
|
|
1199
776
|
export declare const getActivityTimeline: ((input: {
|
|
1200
777
|
readonly id: string;
|
|
1201
|
-
readonly page?: string | null | undefined;
|
|
1202
778
|
readonly limit?: string | null | undefined;
|
|
779
|
+
readonly cursor?: string | null | undefined;
|
|
1203
780
|
readonly channel?: string | null | undefined;
|
|
1204
781
|
}) => import("effect/Effect").Effect<{
|
|
1205
782
|
readonly items: readonly {
|
|
@@ -1212,17 +789,12 @@ export declare const getActivityTimeline: ((input: {
|
|
|
1212
789
|
readonly createdAt: string;
|
|
1213
790
|
readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
1214
791
|
}[];
|
|
1215
|
-
readonly
|
|
1216
|
-
|
|
1217
|
-
readonly limit: number;
|
|
1218
|
-
readonly total: number;
|
|
1219
|
-
readonly totalPages: number;
|
|
1220
|
-
};
|
|
1221
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>) & {
|
|
792
|
+
readonly nextCursor: string | null;
|
|
793
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
1222
794
|
readonly pages: (input: {
|
|
1223
795
|
readonly id: string;
|
|
1224
|
-
readonly page?: string | null | undefined;
|
|
1225
796
|
readonly limit?: string | null | undefined;
|
|
797
|
+
readonly cursor?: string | null | undefined;
|
|
1226
798
|
readonly channel?: string | null | undefined;
|
|
1227
799
|
}) => import("effect/Stream").Stream<{
|
|
1228
800
|
readonly items: readonly {
|
|
@@ -1235,17 +807,12 @@ export declare const getActivityTimeline: ((input: {
|
|
|
1235
807
|
readonly createdAt: string;
|
|
1236
808
|
readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
1237
809
|
}[];
|
|
1238
|
-
readonly
|
|
1239
|
-
|
|
1240
|
-
readonly limit: number;
|
|
1241
|
-
readonly total: number;
|
|
1242
|
-
readonly totalPages: number;
|
|
1243
|
-
};
|
|
1244
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
810
|
+
readonly nextCursor: string | null;
|
|
811
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1245
812
|
readonly items: (input: {
|
|
1246
813
|
readonly id: string;
|
|
1247
|
-
readonly page?: string | null | undefined;
|
|
1248
814
|
readonly limit?: string | null | undefined;
|
|
815
|
+
readonly cursor?: string | null | undefined;
|
|
1249
816
|
readonly channel?: string | null | undefined;
|
|
1250
817
|
}) => import("effect/Stream").Stream<{
|
|
1251
818
|
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
@@ -1256,12 +823,14 @@ export declare const getActivityTimeline: ((input: {
|
|
|
1256
823
|
readonly snippet: string | null;
|
|
1257
824
|
readonly createdAt: string;
|
|
1258
825
|
readonly conversationId: (string & import("effect/Brand").Brand<"ConversationId">) | null;
|
|
1259
|
-
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/
|
|
826
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
1260
827
|
};
|
|
1261
|
-
export declare const getGroupMemberships: (input: {
|
|
828
|
+
export declare const getGroupMemberships: ((input: {
|
|
1262
829
|
readonly id: string;
|
|
830
|
+
readonly limit?: string | null | undefined;
|
|
831
|
+
readonly cursor?: string | null | undefined;
|
|
1263
832
|
}) => import("effect/Effect").Effect<{
|
|
1264
|
-
readonly
|
|
833
|
+
readonly items: readonly {
|
|
1265
834
|
readonly id: string & import("effect/Brand").Brand<"ContactGroupId">;
|
|
1266
835
|
readonly name: string;
|
|
1267
836
|
readonly type: string;
|
|
@@ -1269,4 +838,33 @@ export declare const getGroupMemberships: (input: {
|
|
|
1269
838
|
readonly role: string;
|
|
1270
839
|
readonly joinedAt: string;
|
|
1271
840
|
}[];
|
|
1272
|
-
|
|
841
|
+
readonly nextCursor: string | null;
|
|
842
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>) & {
|
|
843
|
+
readonly pages: (input: {
|
|
844
|
+
readonly id: string;
|
|
845
|
+
readonly limit?: string | null | undefined;
|
|
846
|
+
readonly cursor?: string | null | undefined;
|
|
847
|
+
}) => import("effect/Stream").Stream<{
|
|
848
|
+
readonly items: readonly {
|
|
849
|
+
readonly id: string & import("effect/Brand").Brand<"ContactGroupId">;
|
|
850
|
+
readonly name: string;
|
|
851
|
+
readonly type: string;
|
|
852
|
+
readonly color: "clay" | "moss" | "plum" | "rose" | "sand" | "sky" | null;
|
|
853
|
+
readonly role: string;
|
|
854
|
+
readonly joinedAt: string;
|
|
855
|
+
}[];
|
|
856
|
+
readonly nextCursor: string | null;
|
|
857
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
858
|
+
readonly items: (input: {
|
|
859
|
+
readonly id: string;
|
|
860
|
+
readonly limit?: string | null | undefined;
|
|
861
|
+
readonly cursor?: string | null | undefined;
|
|
862
|
+
}) => import("effect/Stream").Stream<{
|
|
863
|
+
readonly id: string & import("effect/Brand").Brand<"ContactGroupId">;
|
|
864
|
+
readonly name: string;
|
|
865
|
+
readonly type: string;
|
|
866
|
+
readonly color: "clay" | "moss" | "plum" | "rose" | "sand" | "sky" | null;
|
|
867
|
+
readonly role: string;
|
|
868
|
+
readonly joinedAt: string;
|
|
869
|
+
}, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
870
|
+
};
|