samva 0.16.0 → 0.18.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/AGENTS.md +9 -1
- package/README.md +57 -1
- package/dist/{rolldown-runtime-D7D4PA-g.js → _virtual/_rolldown/runtime.js} +1 -1
- package/dist/client/client/client.gen.js +174 -0
- package/dist/client/client/utils.gen.js +177 -0
- package/dist/client/client.gen.js +8 -0
- package/dist/client/core/auth.gen.js +12 -0
- package/dist/client/core/bodySerializer.gen.js +6 -0
- package/dist/client/core/params.gen.js +77 -0
- package/dist/client/core/pathSerializer.gen.js +82 -0
- package/dist/client/core/serverSentEvents.gen.js +96 -0
- package/dist/client/core/utils.gen.js +78 -0
- package/dist/client/sdk.gen.d.ts +174 -3
- package/dist/{promises-KrA2nSLg.js → client/sdk.gen.js} +464 -2289
- package/dist/client/types.gen.d.ts +1126 -11
- package/dist/client-attribution.js +9 -0
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +11 -9
- package/dist/effect/api-keys.d.ts +13 -13
- package/dist/effect/api-keys.js +13 -12
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +9 -7
- package/dist/effect/brands.d.ts +7 -7
- package/dist/effect/brands.js +12 -10
- package/dist/effect/campaigns.d.ts +18 -18
- package/dist/effect/campaigns.js +17 -15
- package/dist/effect/categories.d.ts +2 -2
- package/dist/effect/categories.js +95 -1
- package/dist/effect/client.d.ts +1 -1
- package/dist/effect/client.js +4 -5
- package/dist/effect/contact-groups.d.ts +14 -14
- package/dist/effect/contact-groups.js +15 -13
- package/dist/effect/contacts.d.ts +77 -25
- package/dist/effect/contacts.js +27 -22
- package/dist/effect/conversations.d.ts +17 -17
- package/dist/effect/conversations.js +18 -16
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +9 -7
- package/dist/effect/email.d.ts +78 -77
- package/dist/effect/email.js +68 -65
- package/dist/effect/errors.d.ts +2 -0
- package/dist/effect/errors.js +3 -0
- package/dist/effect/events.d.ts +121 -0
- package/dist/effect/events.js +17 -0
- package/dist/effect/extension-installations.d.ts +11 -11
- package/dist/effect/extension-installations.js +14 -12
- package/dist/effect/extensions.d.ts +9 -9
- package/dist/effect/extensions.js +10 -8
- package/dist/effect/feedback.d.ts +2 -2
- package/dist/effect/feedback.js +6 -5
- package/dist/effect/generated/analytics.d.ts +715 -0
- package/dist/effect/generated/analytics.js +188 -0
- package/dist/effect/generated/api-keys.d.ts +1627 -0
- package/dist/effect/generated/api-keys.js +249 -0
- package/dist/effect/generated/attachments.d.ts +554 -0
- package/dist/effect/generated/attachments.js +125 -0
- package/dist/effect/generated/brands.d.ts +1118 -0
- package/dist/effect/generated/brands.js +155 -0
- package/dist/effect/generated/campaigns.d.ts +3783 -0
- package/dist/effect/generated/campaigns.js +491 -0
- package/dist/effect/generated/contact-events.d.ts +158 -0
- package/dist/effect/generated/contact-events.js +37 -0
- package/dist/effect/generated/contact-groups.d.ts +1445 -0
- package/dist/effect/generated/contact-groups.js +419 -0
- package/dist/effect/generated/contacts.d.ts +3789 -0
- package/dist/effect/generated/contacts.js +709 -0
- package/dist/effect/generated/conversations.d.ts +2870 -0
- package/dist/effect/generated/conversations.js +461 -0
- package/dist/effect/generated/custom-fields.d.ts +562 -0
- package/dist/effect/generated/custom-fields.js +162 -0
- package/dist/effect/generated/email.d.ts +10622 -0
- package/dist/effect/generated/email.js +2347 -0
- package/dist/effect/generated/events.d.ts +463 -0
- package/dist/effect/generated/events.js +70 -0
- package/dist/effect/generated/extension-installations.d.ts +1786 -0
- package/dist/effect/generated/extension-installations.js +382 -0
- package/dist/effect/generated/extensions.d.ts +927 -0
- package/dist/effect/generated/extensions.js +203 -0
- package/dist/effect/generated/feedback.d.ts +116 -0
- package/dist/effect/generated/feedback.js +43 -0
- package/dist/effect/generated/index.d.ts +61 -0
- package/dist/effect/generated/journeys.d.ts +6135 -0
- package/dist/effect/generated/journeys.js +464 -0
- package/dist/effect/generated/mailboxes.d.ts +13641 -0
- package/dist/effect/generated/mailboxes.js +2312 -0
- package/dist/effect/generated/media.d.ts +741 -0
- package/dist/effect/generated/media.js +181 -0
- package/dist/effect/generated/messages.d.ts +2355 -0
- package/dist/effect/generated/messages.js +671 -0
- package/dist/effect/generated/namespaces.d.ts +654 -0
- package/dist/effect/generated/namespaces.js +135 -0
- package/dist/effect/generated/operations.d.ts +514 -0
- package/dist/effect/generated/operations.js +80 -0
- package/dist/effect/generated/organizations.d.ts +1111 -0
- package/dist/effect/generated/organizations.js +231 -0
- package/dist/effect/generated/scheduled-messages.d.ts +1798 -0
- package/dist/effect/generated/scheduled-messages.js +190 -0
- package/dist/effect/generated/shared.d.ts +3250 -0
- package/dist/effect/generated/shared.js +1053 -0
- package/dist/effect/generated/subscriptions.d.ts +188 -0
- package/dist/effect/generated/subscriptions.js +61 -0
- package/dist/effect/generated/templates.d.ts +8177 -0
- package/dist/effect/generated/templates.js +2214 -0
- package/dist/effect/generated/unsubscribe-groups.d.ts +1153 -0
- package/dist/effect/generated/unsubscribe-groups.js +267 -0
- package/dist/effect/generated/webhooks.d.ts +1697 -0
- package/dist/effect/generated/webhooks.js +500 -0
- package/dist/effect/generated/whoami.d.ts +291 -0
- package/dist/effect/generated/whoami.js +54 -0
- package/dist/effect/generated-metadata.d.ts +1627 -0
- package/dist/effect/generated-metadata.js +919 -0
- package/dist/effect/index.d.ts +3 -2
- package/dist/effect/index.js +33 -31
- package/dist/effect/internal/client.d.ts +10 -7
- package/dist/effect/internal/client.js +69 -0
- package/dist/effect/internal/email-sender.d.ts +17 -0
- package/dist/effect/internal/email-sender.js +21 -0
- package/dist/effect/internal/mailbox-events.js +33 -0
- package/dist/effect/internal/operation.d.ts +12 -72
- package/dist/effect/internal/operation.js +116 -0
- package/dist/effect/internal/send.d.ts +60 -0
- package/dist/effect/internal/send.js +56 -0
- package/dist/effect/journeys.d.ts +2153 -0
- package/dist/effect/journeys.js +39 -0
- package/dist/effect/mailboxes.d.ts +80 -80
- package/dist/effect/mailboxes.js +135 -3
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +10 -8
- package/dist/effect/messages.d.ts +16 -16
- package/dist/effect/messages.js +15 -12
- package/dist/effect/namespaces.d.ts +7 -7
- package/dist/effect/namespaces.js +10 -8
- package/dist/effect/operations.d.ts +5 -5
- package/dist/effect/operations.js +8 -6
- package/dist/effect/organizations.d.ts +7 -7
- package/dist/effect/organizations.js +12 -10
- package/dist/effect/pagination.js +39 -0
- package/dist/effect/retry.js +3 -3
- package/dist/effect/runtime.js +25 -0
- package/dist/effect/scheduled-messages.d.ts +7 -7
- package/dist/effect/scheduled-messages.js +10 -8
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +5 -4
- package/dist/effect/templates.d.ts +40 -40
- package/dist/effect/templates.js +39 -37
- package/dist/effect/unsubscribe-groups.d.ts +11 -11
- package/dist/effect/unsubscribe-groups.js +14 -12
- package/dist/effect/webhooks.d.ts +23 -23
- package/dist/effect/webhooks.js +16 -14
- package/dist/effect/whoami.d.ts +1 -1
- package/dist/effect/whoami.js +5 -4
- package/dist/index.js +4 -3
- package/dist/{inline-attachments-Cegg6tTF.js → inline-attachments.js} +13 -7
- package/dist/{mailbox-events-VKR4f3qq.js → mailbox-events.js} +2 -2
- package/dist/{normalize-B79uJIeb.js → normalize.js} +2 -2
- package/dist/package.js +6 -0
- package/dist/promises/errors.gen.js +1340 -0
- package/dist/promises/index.d.ts +7 -3
- package/dist/promises/index.js +288 -3
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +85 -0
- package/dist/{operation-BTXjPrwf.js → service-map.js} +58 -219
- package/package.json +17 -3
- package/dist/categories-DV51kr2H.js +0 -187
- package/dist/client-BMUew5Wp.js +0 -13794
- package/dist/effect/generated.d.ts +0 -64004
- package/dist/mailboxes-Thp5z0oX.js +0 -161
|
@@ -16,7 +16,7 @@ export declare const list: ((input?: {
|
|
|
16
16
|
readonly createdAt: string;
|
|
17
17
|
}[];
|
|
18
18
|
readonly nextCursor: string | null;
|
|
19
|
-
}, import("./
|
|
19
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
20
20
|
readonly pages: (input?: {
|
|
21
21
|
readonly limit?: string | null | undefined;
|
|
22
22
|
readonly cursor?: string | null | undefined;
|
|
@@ -33,7 +33,7 @@ export declare const list: ((input?: {
|
|
|
33
33
|
readonly createdAt: string;
|
|
34
34
|
}[];
|
|
35
35
|
readonly nextCursor: string | null;
|
|
36
|
-
}, import("./
|
|
36
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
37
37
|
readonly items: (input?: {
|
|
38
38
|
readonly limit?: string | null | undefined;
|
|
39
39
|
readonly cursor?: string | null | undefined;
|
|
@@ -47,7 +47,7 @@ export declare const list: ((input?: {
|
|
|
47
47
|
readonly status: "active" | "paused";
|
|
48
48
|
readonly primaryAddress: string | null;
|
|
49
49
|
readonly createdAt: string;
|
|
50
|
-
}, import("./
|
|
50
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
51
51
|
};
|
|
52
52
|
export declare const create: (input: {
|
|
53
53
|
readonly namespaceId?: string | null | undefined;
|
|
@@ -83,7 +83,7 @@ export declare const create: (input: {
|
|
|
83
83
|
readonly domainId: string | null;
|
|
84
84
|
}[];
|
|
85
85
|
readonly updatedAt: string;
|
|
86
|
-
}, import("./
|
|
86
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").PaymentRequiredError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
87
87
|
export declare const get: (input: {
|
|
88
88
|
readonly id: string;
|
|
89
89
|
}) => import("effect/Effect").Effect<{
|
|
@@ -108,7 +108,7 @@ export declare const get: (input: {
|
|
|
108
108
|
readonly domainId: string | null;
|
|
109
109
|
}[];
|
|
110
110
|
readonly updatedAt: string;
|
|
111
|
-
}, import("./
|
|
111
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
112
112
|
export declare const update: (input: {
|
|
113
113
|
readonly id: string;
|
|
114
114
|
readonly name?: string | null | undefined;
|
|
@@ -137,12 +137,12 @@ export declare const update: (input: {
|
|
|
137
137
|
readonly domainId: string | null;
|
|
138
138
|
}[];
|
|
139
139
|
readonly updatedAt: string;
|
|
140
|
-
}, import("./
|
|
140
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
141
141
|
export declare const remove: (input: {
|
|
142
142
|
readonly id: string;
|
|
143
143
|
}) => import("effect/Effect").Effect<{
|
|
144
144
|
readonly success: boolean;
|
|
145
|
-
}, import("./
|
|
145
|
+
}, import("./errors").BillingProviderError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
146
146
|
export declare const createEndpoint: (input: {
|
|
147
147
|
readonly id: string;
|
|
148
148
|
readonly channel: "email";
|
|
@@ -170,7 +170,7 @@ export declare const createEndpoint: (input: {
|
|
|
170
170
|
readonly domainId: string | null;
|
|
171
171
|
}[];
|
|
172
172
|
readonly updatedAt: string;
|
|
173
|
-
}, import("./
|
|
173
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
174
174
|
export declare const updateEndpoint: (input: {
|
|
175
175
|
readonly id: string;
|
|
176
176
|
readonly endpointId: string;
|
|
@@ -198,7 +198,7 @@ export declare const updateEndpoint: (input: {
|
|
|
198
198
|
readonly domainId: string | null;
|
|
199
199
|
}[];
|
|
200
200
|
readonly updatedAt: string;
|
|
201
|
-
}, import("./
|
|
201
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
202
202
|
export declare const removeEndpoint: (input: {
|
|
203
203
|
readonly id: string;
|
|
204
204
|
readonly endpointId: string;
|
|
@@ -224,7 +224,7 @@ export declare const removeEndpoint: (input: {
|
|
|
224
224
|
readonly domainId: string | null;
|
|
225
225
|
}[];
|
|
226
226
|
readonly updatedAt: string;
|
|
227
|
-
}, import("./
|
|
227
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
228
228
|
export declare const pause: (input: {
|
|
229
229
|
readonly id: string;
|
|
230
230
|
}) => import("effect/Effect").Effect<{
|
|
@@ -249,7 +249,7 @@ export declare const pause: (input: {
|
|
|
249
249
|
readonly domainId: string | null;
|
|
250
250
|
}[];
|
|
251
251
|
readonly updatedAt: string;
|
|
252
|
-
}, import("./
|
|
252
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
253
253
|
export declare const resume: (input: {
|
|
254
254
|
readonly id: string;
|
|
255
255
|
}) => import("effect/Effect").Effect<{
|
|
@@ -274,7 +274,7 @@ export declare const resume: (input: {
|
|
|
274
274
|
readonly domainId: string | null;
|
|
275
275
|
}[];
|
|
276
276
|
readonly updatedAt: string;
|
|
277
|
-
}, import("./
|
|
277
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
278
278
|
export declare const getAgentActivity: (input: {
|
|
279
279
|
readonly id: string;
|
|
280
280
|
readonly after?: string | null | undefined;
|
|
@@ -297,7 +297,7 @@ export declare const getAgentActivity: (input: {
|
|
|
297
297
|
}[];
|
|
298
298
|
};
|
|
299
299
|
readonly pendingApprovals: number;
|
|
300
|
-
}, import("./
|
|
300
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
301
301
|
export declare const listGrants: ((input: {
|
|
302
302
|
readonly id: string;
|
|
303
303
|
readonly limit?: string | null | undefined;
|
|
@@ -315,7 +315,7 @@ export declare const listGrants: ((input: {
|
|
|
315
315
|
readonly createdAt: string;
|
|
316
316
|
}[];
|
|
317
317
|
readonly nextCursor: string | null;
|
|
318
|
-
}, import("./
|
|
318
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
319
319
|
readonly pages: (input: {
|
|
320
320
|
readonly id: string;
|
|
321
321
|
readonly limit?: string | null | undefined;
|
|
@@ -333,7 +333,7 @@ export declare const listGrants: ((input: {
|
|
|
333
333
|
readonly createdAt: string;
|
|
334
334
|
}[];
|
|
335
335
|
readonly nextCursor: string | null;
|
|
336
|
-
}, import("./
|
|
336
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
337
337
|
readonly items: (input: {
|
|
338
338
|
readonly id: string;
|
|
339
339
|
readonly limit?: string | null | undefined;
|
|
@@ -348,7 +348,7 @@ export declare const listGrants: ((input: {
|
|
|
348
348
|
readonly permissions: readonly ("action:approve" | "action:propose" | "draft:write" | "label:write" | "mailbox:configure" | "mailbox:read" | "note:write" | "policy:read" | "quarantine:read" | "quarantine:release" | "thread:read" | "thread:write")[];
|
|
349
349
|
readonly sendMode: "approval" | "send";
|
|
350
350
|
readonly createdAt: string;
|
|
351
|
-
}, import("./
|
|
351
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
352
352
|
};
|
|
353
353
|
export declare const createGrant: (input: {
|
|
354
354
|
readonly id: string;
|
|
@@ -365,7 +365,7 @@ export declare const createGrant: (input: {
|
|
|
365
365
|
readonly permissions: readonly ("action:approve" | "action:propose" | "draft:write" | "label:write" | "mailbox:configure" | "mailbox:read" | "note:write" | "policy:read" | "quarantine:read" | "quarantine:release" | "thread:read" | "thread:write")[];
|
|
366
366
|
readonly sendMode: "approval" | "send";
|
|
367
367
|
readonly createdAt: string;
|
|
368
|
-
}, import("./
|
|
368
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
369
369
|
export declare const updateGrant: (input: {
|
|
370
370
|
readonly id: string;
|
|
371
371
|
readonly grantId: string;
|
|
@@ -381,13 +381,13 @@ export declare const updateGrant: (input: {
|
|
|
381
381
|
readonly permissions: readonly ("action:approve" | "action:propose" | "draft:write" | "label:write" | "mailbox:configure" | "mailbox:read" | "note:write" | "policy:read" | "quarantine:read" | "quarantine:release" | "thread:read" | "thread:write")[];
|
|
382
382
|
readonly sendMode: "approval" | "send";
|
|
383
383
|
readonly createdAt: string;
|
|
384
|
-
}, import("./
|
|
384
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
385
385
|
export declare const revokeGrant: (input: {
|
|
386
386
|
readonly id: string;
|
|
387
387
|
readonly grantId: string;
|
|
388
388
|
}) => import("effect/Effect").Effect<{
|
|
389
389
|
readonly success: boolean;
|
|
390
|
-
}, import("./
|
|
390
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
391
391
|
export declare const listPolicies: (input: {
|
|
392
392
|
readonly id: string;
|
|
393
393
|
}) => import("effect/Effect").Effect<{
|
|
@@ -400,7 +400,7 @@ export declare const listPolicies: (input: {
|
|
|
400
400
|
readonly createdAt: string;
|
|
401
401
|
readonly updatedAt: string;
|
|
402
402
|
}[];
|
|
403
|
-
}, import("./
|
|
403
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
404
404
|
export declare const createPolicy: (input: {
|
|
405
405
|
readonly id: string;
|
|
406
406
|
readonly name: string;
|
|
@@ -415,7 +415,7 @@ export declare const createPolicy: (input: {
|
|
|
415
415
|
readonly enabled: boolean;
|
|
416
416
|
readonly createdAt: string;
|
|
417
417
|
readonly updatedAt: string;
|
|
418
|
-
}, import("./
|
|
418
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
419
419
|
export declare const getPolicy: (input: {
|
|
420
420
|
readonly id: string;
|
|
421
421
|
readonly policyId: string;
|
|
@@ -427,7 +427,7 @@ export declare const getPolicy: (input: {
|
|
|
427
427
|
readonly enabled: boolean;
|
|
428
428
|
readonly createdAt: string;
|
|
429
429
|
readonly updatedAt: string;
|
|
430
|
-
}, import("./
|
|
430
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
431
431
|
export declare const updatePolicy: (input: {
|
|
432
432
|
readonly id: string;
|
|
433
433
|
readonly policyId: string;
|
|
@@ -443,13 +443,13 @@ export declare const updatePolicy: (input: {
|
|
|
443
443
|
readonly enabled: boolean;
|
|
444
444
|
readonly createdAt: string;
|
|
445
445
|
readonly updatedAt: string;
|
|
446
|
-
}, import("./
|
|
446
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
447
447
|
export declare const deletePolicy: (input: {
|
|
448
448
|
readonly id: string;
|
|
449
449
|
readonly policyId: string;
|
|
450
450
|
}) => import("effect/Effect").Effect<{
|
|
451
451
|
readonly success: boolean;
|
|
452
|
-
}, import("./
|
|
452
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
453
453
|
export declare const listFolders: (input: {
|
|
454
454
|
readonly id: string;
|
|
455
455
|
}) => import("effect/Effect").Effect<{
|
|
@@ -458,7 +458,7 @@ export declare const listFolders: (input: {
|
|
|
458
458
|
readonly count: number;
|
|
459
459
|
readonly unreadCount: number;
|
|
460
460
|
}[];
|
|
461
|
-
}, import("./
|
|
461
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
462
462
|
export declare const listLabels: (input: {
|
|
463
463
|
readonly id: string;
|
|
464
464
|
}) => import("effect/Effect").Effect<{
|
|
@@ -470,7 +470,7 @@ export declare const listLabels: (input: {
|
|
|
470
470
|
readonly createdAt: string;
|
|
471
471
|
readonly updatedAt: string;
|
|
472
472
|
}[];
|
|
473
|
-
}, import("./
|
|
473
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
474
474
|
export declare const createLabel: (input: {
|
|
475
475
|
readonly id: string;
|
|
476
476
|
readonly slug: string;
|
|
@@ -483,7 +483,7 @@ export declare const createLabel: (input: {
|
|
|
483
483
|
readonly color: "agent" | "billing" | "domain" | "important" | "neutral" | "routing" | null;
|
|
484
484
|
readonly createdAt: string;
|
|
485
485
|
readonly updatedAt: string;
|
|
486
|
-
}, import("./
|
|
486
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
487
487
|
export declare const updateLabel: (input: {
|
|
488
488
|
readonly id: string;
|
|
489
489
|
readonly labelId: string;
|
|
@@ -496,13 +496,13 @@ export declare const updateLabel: (input: {
|
|
|
496
496
|
readonly color: "agent" | "billing" | "domain" | "important" | "neutral" | "routing" | null;
|
|
497
497
|
readonly createdAt: string;
|
|
498
498
|
readonly updatedAt: string;
|
|
499
|
-
}, import("./
|
|
499
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
500
500
|
export declare const deleteLabel: (input: {
|
|
501
501
|
readonly id: string;
|
|
502
502
|
readonly labelId: string;
|
|
503
503
|
}) => import("effect/Effect").Effect<{
|
|
504
504
|
readonly success: boolean;
|
|
505
|
-
}, import("./
|
|
505
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
506
506
|
export declare const listThreads: ((input: {
|
|
507
507
|
readonly id: string;
|
|
508
508
|
readonly limit?: string | null | undefined;
|
|
@@ -538,7 +538,7 @@ export declare const listThreads: ((input: {
|
|
|
538
538
|
readonly lastActivityAt: string;
|
|
539
539
|
}[];
|
|
540
540
|
readonly nextCursor: string | null;
|
|
541
|
-
}, import("./
|
|
541
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
542
542
|
readonly pages: (input: {
|
|
543
543
|
readonly id: string;
|
|
544
544
|
readonly limit?: string | null | undefined;
|
|
@@ -574,7 +574,7 @@ export declare const listThreads: ((input: {
|
|
|
574
574
|
readonly lastActivityAt: string;
|
|
575
575
|
}[];
|
|
576
576
|
readonly nextCursor: string | null;
|
|
577
|
-
}, import("./
|
|
577
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
578
578
|
readonly items: (input: {
|
|
579
579
|
readonly id: string;
|
|
580
580
|
readonly limit?: string | null | undefined;
|
|
@@ -607,7 +607,7 @@ export declare const listThreads: ((input: {
|
|
|
607
607
|
readonly starred: boolean;
|
|
608
608
|
readonly snoozedUntil: string | null;
|
|
609
609
|
readonly lastActivityAt: string;
|
|
610
|
-
}, import("./
|
|
610
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
611
611
|
};
|
|
612
612
|
export declare const getThread: (input: {
|
|
613
613
|
readonly id: string;
|
|
@@ -643,7 +643,7 @@ export declare const getThread: (input: {
|
|
|
643
643
|
readonly address?: string | null;
|
|
644
644
|
}[];
|
|
645
645
|
readonly createdAt: string;
|
|
646
|
-
}, import("./
|
|
646
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
647
647
|
export declare const updateThread: (input: {
|
|
648
648
|
readonly id: string;
|
|
649
649
|
readonly threadId: string;
|
|
@@ -660,7 +660,7 @@ export declare const updateThread: (input: {
|
|
|
660
660
|
readonly read: boolean;
|
|
661
661
|
readonly starred: boolean;
|
|
662
662
|
readonly snoozedUntil: string | null;
|
|
663
|
-
}, import("./
|
|
663
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
664
664
|
export declare const addThreadLabels: (input: {
|
|
665
665
|
readonly id: string;
|
|
666
666
|
readonly threadId: string;
|
|
@@ -673,7 +673,7 @@ export declare const addThreadLabels: (input: {
|
|
|
673
673
|
readonly read: boolean;
|
|
674
674
|
readonly starred: boolean;
|
|
675
675
|
readonly snoozedUntil: string | null;
|
|
676
|
-
}, import("./
|
|
676
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
677
677
|
export declare const removeThreadLabels: (input: {
|
|
678
678
|
readonly id: string;
|
|
679
679
|
readonly threadId: string;
|
|
@@ -686,7 +686,7 @@ export declare const removeThreadLabels: (input: {
|
|
|
686
686
|
readonly read: boolean;
|
|
687
687
|
readonly starred: boolean;
|
|
688
688
|
readonly snoozedUntil: string | null;
|
|
689
|
-
}, import("./
|
|
689
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
690
690
|
export declare const listThreadMessages: ((input: {
|
|
691
691
|
readonly id: string;
|
|
692
692
|
readonly threadId: string;
|
|
@@ -713,7 +713,7 @@ export declare const listThreadMessages: ((input: {
|
|
|
713
713
|
readonly occurredAt: string;
|
|
714
714
|
}[];
|
|
715
715
|
readonly nextCursor: string | null;
|
|
716
|
-
}, import("./
|
|
716
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
717
717
|
readonly pages: (input: {
|
|
718
718
|
readonly id: string;
|
|
719
719
|
readonly threadId: string;
|
|
@@ -740,7 +740,7 @@ export declare const listThreadMessages: ((input: {
|
|
|
740
740
|
readonly occurredAt: string;
|
|
741
741
|
}[];
|
|
742
742
|
readonly nextCursor: string | null;
|
|
743
|
-
}, import("./
|
|
743
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
744
744
|
readonly items: (input: {
|
|
745
745
|
readonly id: string;
|
|
746
746
|
readonly threadId: string;
|
|
@@ -764,7 +764,7 @@ export declare const listThreadMessages: ((input: {
|
|
|
764
764
|
readonly preview: string | null;
|
|
765
765
|
readonly hasAttachments: boolean;
|
|
766
766
|
readonly occurredAt: string;
|
|
767
|
-
}, import("./
|
|
767
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
768
768
|
};
|
|
769
769
|
export declare const getThreadContent: ((input: {
|
|
770
770
|
readonly id: string;
|
|
@@ -827,7 +827,7 @@ export declare const getThreadContent: ((input: {
|
|
|
827
827
|
}[];
|
|
828
828
|
}[];
|
|
829
829
|
readonly nextCursor: string | null;
|
|
830
|
-
}, import("./
|
|
830
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
831
831
|
readonly pages: (input: {
|
|
832
832
|
readonly id: string;
|
|
833
833
|
readonly threadId: string;
|
|
@@ -889,7 +889,7 @@ export declare const getThreadContent: ((input: {
|
|
|
889
889
|
}[];
|
|
890
890
|
}[];
|
|
891
891
|
readonly nextCursor: string | null;
|
|
892
|
-
}, import("./
|
|
892
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
893
893
|
readonly items: (input: {
|
|
894
894
|
readonly id: string;
|
|
895
895
|
readonly threadId: string;
|
|
@@ -948,7 +948,7 @@ export declare const getThreadContent: ((input: {
|
|
|
948
948
|
readonly size: number;
|
|
949
949
|
readonly isInline: boolean;
|
|
950
950
|
}[];
|
|
951
|
-
}, import("./
|
|
951
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
952
952
|
};
|
|
953
953
|
export declare const listThreadNotes: ((input: {
|
|
954
954
|
readonly id: string;
|
|
@@ -970,7 +970,7 @@ export declare const listThreadNotes: ((input: {
|
|
|
970
970
|
readonly updatedAt: string;
|
|
971
971
|
}[];
|
|
972
972
|
readonly nextCursor: string | null;
|
|
973
|
-
}, import("./
|
|
973
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
974
974
|
readonly pages: (input: {
|
|
975
975
|
readonly id: string;
|
|
976
976
|
readonly threadId: string;
|
|
@@ -991,7 +991,7 @@ export declare const listThreadNotes: ((input: {
|
|
|
991
991
|
readonly updatedAt: string;
|
|
992
992
|
}[];
|
|
993
993
|
readonly nextCursor: string | null;
|
|
994
|
-
}, import("./
|
|
994
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
995
995
|
readonly items: (input: {
|
|
996
996
|
readonly id: string;
|
|
997
997
|
readonly threadId: string;
|
|
@@ -1009,7 +1009,7 @@ export declare const listThreadNotes: ((input: {
|
|
|
1009
1009
|
readonly pinned: boolean;
|
|
1010
1010
|
readonly createdAt: string;
|
|
1011
1011
|
readonly updatedAt: string;
|
|
1012
|
-
}, import("./
|
|
1012
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1013
1013
|
};
|
|
1014
1014
|
export declare const createNote: (input: {
|
|
1015
1015
|
readonly id: string;
|
|
@@ -1029,7 +1029,7 @@ export declare const createNote: (input: {
|
|
|
1029
1029
|
readonly pinned: boolean;
|
|
1030
1030
|
readonly createdAt: string;
|
|
1031
1031
|
readonly updatedAt: string;
|
|
1032
|
-
}, import("./
|
|
1032
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1033
1033
|
export declare const updateNote: (input: {
|
|
1034
1034
|
readonly id: string;
|
|
1035
1035
|
readonly threadId: string;
|
|
@@ -1049,14 +1049,14 @@ export declare const updateNote: (input: {
|
|
|
1049
1049
|
readonly pinned: boolean;
|
|
1050
1050
|
readonly createdAt: string;
|
|
1051
1051
|
readonly updatedAt: string;
|
|
1052
|
-
}, import("./
|
|
1052
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1053
1053
|
export declare const deleteNote: (input: {
|
|
1054
1054
|
readonly id: string;
|
|
1055
1055
|
readonly threadId: string;
|
|
1056
1056
|
readonly noteId: string;
|
|
1057
1057
|
}) => import("effect/Effect").Effect<{
|
|
1058
1058
|
readonly success: boolean;
|
|
1059
|
-
}, import("./
|
|
1059
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1060
1060
|
export declare const sendMessage: (input: {
|
|
1061
1061
|
readonly id: string;
|
|
1062
1062
|
readonly channel?: "email" | null | undefined;
|
|
@@ -1212,7 +1212,7 @@ export declare const sendMessage: (input: {
|
|
|
1212
1212
|
} | null;
|
|
1213
1213
|
readonly createdAt: string;
|
|
1214
1214
|
readonly updatedAt: string;
|
|
1215
|
-
}, import("./
|
|
1215
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1216
1216
|
export declare const getMessage: (input: {
|
|
1217
1217
|
readonly id: string;
|
|
1218
1218
|
readonly messageId: string;
|
|
@@ -1269,14 +1269,14 @@ export declare const getMessage: (input: {
|
|
|
1269
1269
|
readonly size: number;
|
|
1270
1270
|
readonly isInline: boolean;
|
|
1271
1271
|
}[];
|
|
1272
|
-
}, import("./
|
|
1272
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1273
1273
|
export declare const getMessageRaw: (input: {
|
|
1274
1274
|
readonly id: string;
|
|
1275
1275
|
readonly messageId: string;
|
|
1276
1276
|
}) => import("effect/Effect").Effect<{
|
|
1277
1277
|
readonly url: string;
|
|
1278
1278
|
readonly expiresAt: string;
|
|
1279
|
-
}, import("./
|
|
1279
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1280
1280
|
export declare const getMessageAttachment: (input: {
|
|
1281
1281
|
readonly id: string;
|
|
1282
1282
|
readonly messageId: string;
|
|
@@ -1284,7 +1284,7 @@ export declare const getMessageAttachment: (input: {
|
|
|
1284
1284
|
}) => import("effect/Effect").Effect<{
|
|
1285
1285
|
readonly url: string;
|
|
1286
1286
|
readonly expiresAt: string;
|
|
1287
|
-
}, import("./
|
|
1287
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1288
1288
|
export declare const copyMessageAttachment: (input: {
|
|
1289
1289
|
readonly id: string;
|
|
1290
1290
|
readonly messageId: string;
|
|
@@ -1295,7 +1295,7 @@ export declare const copyMessageAttachment: (input: {
|
|
|
1295
1295
|
readonly mediaId?: (string & import("effect/Brand").Brand<"MediaId">) | null;
|
|
1296
1296
|
readonly contentType: string;
|
|
1297
1297
|
readonly size: number;
|
|
1298
|
-
}, import("./
|
|
1298
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1299
1299
|
export declare const reply: (input: {
|
|
1300
1300
|
readonly id: string;
|
|
1301
1301
|
readonly messageId: string;
|
|
@@ -1449,7 +1449,7 @@ export declare const reply: (input: {
|
|
|
1449
1449
|
} | null;
|
|
1450
1450
|
readonly createdAt: string;
|
|
1451
1451
|
readonly updatedAt: string;
|
|
1452
|
-
}, import("./
|
|
1452
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1453
1453
|
export declare const replyAll: (input: {
|
|
1454
1454
|
readonly id: string;
|
|
1455
1455
|
readonly messageId: string;
|
|
@@ -1603,7 +1603,7 @@ export declare const replyAll: (input: {
|
|
|
1603
1603
|
} | null;
|
|
1604
1604
|
readonly createdAt: string;
|
|
1605
1605
|
readonly updatedAt: string;
|
|
1606
|
-
}, import("./
|
|
1606
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1607
1607
|
export declare const forward: (input: {
|
|
1608
1608
|
readonly id: string;
|
|
1609
1609
|
readonly messageId: string;
|
|
@@ -1757,7 +1757,7 @@ export declare const forward: (input: {
|
|
|
1757
1757
|
} | null;
|
|
1758
1758
|
readonly createdAt: string;
|
|
1759
1759
|
readonly updatedAt: string;
|
|
1760
|
-
}, import("./
|
|
1760
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1761
1761
|
export declare const listQuarantine: ((input: {
|
|
1762
1762
|
readonly id: string;
|
|
1763
1763
|
readonly limit?: string | null | undefined;
|
|
@@ -1782,7 +1782,7 @@ export declare const listQuarantine: ((input: {
|
|
|
1782
1782
|
readonly discardedAt: string | null;
|
|
1783
1783
|
}[];
|
|
1784
1784
|
readonly nextCursor: string | null;
|
|
1785
|
-
}, import("./
|
|
1785
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
1786
1786
|
readonly pages: (input: {
|
|
1787
1787
|
readonly id: string;
|
|
1788
1788
|
readonly limit?: string | null | undefined;
|
|
@@ -1807,7 +1807,7 @@ export declare const listQuarantine: ((input: {
|
|
|
1807
1807
|
readonly discardedAt: string | null;
|
|
1808
1808
|
}[];
|
|
1809
1809
|
readonly nextCursor: string | null;
|
|
1810
|
-
}, import("./
|
|
1810
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1811
1811
|
readonly items: (input: {
|
|
1812
1812
|
readonly id: string;
|
|
1813
1813
|
readonly limit?: string | null | undefined;
|
|
@@ -1829,7 +1829,7 @@ export declare const listQuarantine: ((input: {
|
|
|
1829
1829
|
readonly releasedAt: string | null;
|
|
1830
1830
|
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
1831
1831
|
readonly discardedAt: string | null;
|
|
1832
|
-
}, import("./
|
|
1832
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1833
1833
|
};
|
|
1834
1834
|
export declare const releaseMessage: (input: {
|
|
1835
1835
|
readonly id: string;
|
|
@@ -1849,7 +1849,7 @@ export declare const releaseMessage: (input: {
|
|
|
1849
1849
|
readonly releasedAt: string | null;
|
|
1850
1850
|
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
1851
1851
|
readonly discardedAt: string | null;
|
|
1852
|
-
}, import("./
|
|
1852
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1853
1853
|
export declare const discardMessage: (input: {
|
|
1854
1854
|
readonly id: string;
|
|
1855
1855
|
readonly messageId: string;
|
|
@@ -1868,7 +1868,7 @@ export declare const discardMessage: (input: {
|
|
|
1868
1868
|
readonly releasedAt: string | null;
|
|
1869
1869
|
readonly threadId: (string & import("effect/Brand").Brand<"MailboxThreadId">) | null;
|
|
1870
1870
|
readonly discardedAt: string | null;
|
|
1871
|
-
}, import("./
|
|
1871
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1872
1872
|
export declare const listDrafts: ((input: {
|
|
1873
1873
|
readonly id: string;
|
|
1874
1874
|
readonly limit?: string | null | undefined;
|
|
@@ -1888,7 +1888,7 @@ export declare const listDrafts: ((input: {
|
|
|
1888
1888
|
readonly updatedAt: string;
|
|
1889
1889
|
}[];
|
|
1890
1890
|
readonly nextCursor: string | null;
|
|
1891
|
-
}, import("./
|
|
1891
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
1892
1892
|
readonly pages: (input: {
|
|
1893
1893
|
readonly id: string;
|
|
1894
1894
|
readonly limit?: string | null | undefined;
|
|
@@ -1908,7 +1908,7 @@ export declare const listDrafts: ((input: {
|
|
|
1908
1908
|
readonly updatedAt: string;
|
|
1909
1909
|
}[];
|
|
1910
1910
|
readonly nextCursor: string | null;
|
|
1911
|
-
}, import("./
|
|
1911
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1912
1912
|
readonly items: (input: {
|
|
1913
1913
|
readonly id: string;
|
|
1914
1914
|
readonly limit?: string | null | undefined;
|
|
@@ -1925,7 +1925,7 @@ export declare const listDrafts: ((input: {
|
|
|
1925
1925
|
readonly subject: string | null;
|
|
1926
1926
|
readonly createdAt: string;
|
|
1927
1927
|
readonly updatedAt: string;
|
|
1928
|
-
}, import("./
|
|
1928
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1929
1929
|
};
|
|
1930
1930
|
export declare const createDraft: (input: {
|
|
1931
1931
|
readonly id: string;
|
|
@@ -1970,7 +1970,7 @@ export declare const createDraft: (input: {
|
|
|
1970
1970
|
readonly contentType: string;
|
|
1971
1971
|
readonly size: number;
|
|
1972
1972
|
}[];
|
|
1973
|
-
}, import("./
|
|
1973
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1974
1974
|
export declare const getDraft: (input: {
|
|
1975
1975
|
readonly id: string;
|
|
1976
1976
|
readonly draftId: string;
|
|
@@ -1998,7 +1998,7 @@ export declare const getDraft: (input: {
|
|
|
1998
1998
|
readonly contentType: string;
|
|
1999
1999
|
readonly size: number;
|
|
2000
2000
|
}[];
|
|
2001
|
-
}, import("./
|
|
2001
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
2002
2002
|
export declare const updateDraft: (input: {
|
|
2003
2003
|
readonly id: string;
|
|
2004
2004
|
readonly draftId: string;
|
|
@@ -2040,13 +2040,13 @@ export declare const updateDraft: (input: {
|
|
|
2040
2040
|
readonly contentType: string;
|
|
2041
2041
|
readonly size: number;
|
|
2042
2042
|
}[];
|
|
2043
|
-
}, import("./
|
|
2043
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
2044
2044
|
export declare const deleteDraft: (input: {
|
|
2045
2045
|
readonly id: string;
|
|
2046
2046
|
readonly draftId: string;
|
|
2047
2047
|
}) => import("effect/Effect").Effect<{
|
|
2048
2048
|
readonly success: boolean;
|
|
2049
|
-
}, import("./
|
|
2049
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
2050
2050
|
export declare const sendDraft: (input: {
|
|
2051
2051
|
readonly id: string;
|
|
2052
2052
|
readonly draftId: string;
|
|
@@ -2188,7 +2188,7 @@ export declare const sendDraft: (input: {
|
|
|
2188
2188
|
} | null;
|
|
2189
2189
|
readonly createdAt: string;
|
|
2190
2190
|
readonly updatedAt: string;
|
|
2191
|
-
}, import("./
|
|
2191
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
2192
2192
|
export declare const listActions: ((input: {
|
|
2193
2193
|
readonly id: string;
|
|
2194
2194
|
readonly limit?: string | null | undefined;
|
|
@@ -2334,7 +2334,7 @@ export declare const listActions: ((input: {
|
|
|
2334
2334
|
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
2335
2335
|
})[];
|
|
2336
2336
|
readonly nextCursor: string | null;
|
|
2337
|
-
}, import("./
|
|
2337
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
2338
2338
|
readonly pages: (input: {
|
|
2339
2339
|
readonly id: string;
|
|
2340
2340
|
readonly limit?: string | null | undefined;
|
|
@@ -2480,7 +2480,7 @@ export declare const listActions: ((input: {
|
|
|
2480
2480
|
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
2481
2481
|
})[];
|
|
2482
2482
|
readonly nextCursor: string | null;
|
|
2483
|
-
}, import("./
|
|
2483
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
2484
2484
|
readonly items: (input: {
|
|
2485
2485
|
readonly id: string;
|
|
2486
2486
|
readonly limit?: string | null | undefined;
|
|
@@ -2623,7 +2623,7 @@ export declare const listActions: ((input: {
|
|
|
2623
2623
|
readonly updatedAt: string;
|
|
2624
2624
|
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
2625
2625
|
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
2626
|
-
}, import("./
|
|
2626
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
2627
2627
|
};
|
|
2628
2628
|
export declare const getAction: (input: {
|
|
2629
2629
|
readonly id: string;
|
|
@@ -2762,7 +2762,7 @@ export declare const getAction: (input: {
|
|
|
2762
2762
|
readonly updatedAt: string;
|
|
2763
2763
|
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
2764
2764
|
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
2765
|
-
}, import("./
|
|
2765
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
2766
2766
|
export declare const cancelAction: (input: {
|
|
2767
2767
|
readonly id: string;
|
|
2768
2768
|
readonly actionId: string;
|
|
@@ -2902,7 +2902,7 @@ export declare const cancelAction: (input: {
|
|
|
2902
2902
|
} | null;
|
|
2903
2903
|
readonly createdAt: string;
|
|
2904
2904
|
readonly updatedAt: string;
|
|
2905
|
-
}, import("./
|
|
2905
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
2906
2906
|
export declare const retryAction: (input: {
|
|
2907
2907
|
readonly id: string;
|
|
2908
2908
|
readonly actionId: string;
|
|
@@ -3042,7 +3042,7 @@ export declare const retryAction: (input: {
|
|
|
3042
3042
|
} | null;
|
|
3043
3043
|
readonly createdAt: string;
|
|
3044
3044
|
readonly updatedAt: string;
|
|
3045
|
-
}, import("./
|
|
3045
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
3046
3046
|
export declare const approveAction: (input: {
|
|
3047
3047
|
readonly id: string;
|
|
3048
3048
|
readonly actionId: string;
|
|
@@ -3180,7 +3180,7 @@ export declare const approveAction: (input: {
|
|
|
3180
3180
|
readonly updatedAt: string;
|
|
3181
3181
|
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
3182
3182
|
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
3183
|
-
}, import("./
|
|
3183
|
+
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxChannelUnsupportedError | import("./errors").MailboxSendConflictError | import("./errors").MailboxSendRefusedError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
3184
3184
|
export declare const denyAction: (input: {
|
|
3185
3185
|
readonly id: string;
|
|
3186
3186
|
readonly actionId: string;
|
|
@@ -3319,7 +3319,7 @@ export declare const denyAction: (input: {
|
|
|
3319
3319
|
readonly updatedAt: string;
|
|
3320
3320
|
readonly type: "assignThread" | "call" | "changeThreadState" | "createNote" | "extensionRequest" | "updateDraft";
|
|
3321
3321
|
readonly state: "allowed" | "approvalDenied" | "approvalRequired" | "approved" | "executed" | "executing" | "failed" | "policyDenied" | "proposed";
|
|
3322
|
-
}, import("./
|
|
3322
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MailboxSendConflictError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
3323
3323
|
export declare const listEvents: ((input: {
|
|
3324
3324
|
readonly id: string;
|
|
3325
3325
|
readonly limit?: string | null | undefined;
|
|
@@ -3343,7 +3343,7 @@ export declare const listEvents: ((input: {
|
|
|
3343
3343
|
readonly occurredAt: string;
|
|
3344
3344
|
}[];
|
|
3345
3345
|
readonly nextCursor: string | null;
|
|
3346
|
-
}, import("./
|
|
3346
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>) & {
|
|
3347
3347
|
readonly pages: (input: {
|
|
3348
3348
|
readonly id: string;
|
|
3349
3349
|
readonly limit?: string | null | undefined;
|
|
@@ -3367,7 +3367,7 @@ export declare const listEvents: ((input: {
|
|
|
3367
3367
|
readonly occurredAt: string;
|
|
3368
3368
|
}[];
|
|
3369
3369
|
readonly nextCursor: string | null;
|
|
3370
|
-
}, import("./
|
|
3370
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
3371
3371
|
readonly items: (input: {
|
|
3372
3372
|
readonly id: string;
|
|
3373
3373
|
readonly limit?: string | null | undefined;
|
|
@@ -3388,5 +3388,5 @@ export declare const listEvents: ((input: {
|
|
|
3388
3388
|
readonly [x: string]: import("./generated").JsonValue;
|
|
3389
3389
|
};
|
|
3390
3390
|
readonly occurredAt: string;
|
|
3391
|
-
}, import("./
|
|
3391
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
3392
3392
|
};
|