samva 0.17.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 +5 -0
- package/README.md +16 -3
- 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/{promises---Kbh-7z.js → client/sdk.gen.js} +4 -2293
- package/dist/client-attribution.js +9 -0
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +23 -2
- package/dist/effect/api-keys.d.ts +12 -12
- package/dist/effect/api-keys.js +29 -2
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +19 -2
- package/dist/effect/brands.d.ts +6 -6
- package/dist/effect/brands.js +26 -3
- package/dist/effect/campaigns.d.ts +18 -18
- package/dist/effect/campaigns.js +35 -2
- package/dist/effect/categories.d.ts +2 -2
- package/dist/effect/categories.js +95 -1
- package/dist/effect/client.js +3 -3
- package/dist/effect/contact-groups.d.ts +14 -14
- package/dist/effect/contact-groups.js +31 -2
- package/dist/effect/contacts.d.ts +28 -28
- package/dist/effect/contacts.js +52 -2
- package/dist/effect/conversations.d.ts +17 -17
- package/dist/effect/conversations.js +37 -2
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +19 -2
- package/dist/effect/email.d.ts +75 -75
- package/dist/effect/email.js +140 -2
- package/dist/effect/errors.d.ts +2 -0
- package/dist/effect/errors.js +3 -0
- package/dist/effect/events.d.ts +2 -2
- package/dist/effect/events.js +17 -3
- package/dist/effect/extension-installations.d.ts +11 -11
- package/dist/effect/extension-installations.js +29 -2
- package/dist/effect/extensions.d.ts +9 -9
- package/dist/effect/extensions.js +21 -2
- package/dist/effect/feedback.d.ts +1 -1
- package/dist/effect/feedback.js +14 -3
- package/dist/{analytics-CaqPRsry.js → effect/generated/analytics.js} +4 -23
- package/dist/{api-keys-Ce1Y4_Ip.js → effect/generated/api-keys.js} +4 -29
- package/dist/{attachments-DYqVIraC.js → effect/generated/attachments.js} +3 -18
- package/dist/{brands-ZwuOGIWO.js → effect/generated/brands.js} +5 -25
- package/dist/{campaigns-DZlz1E9E.js → effect/generated/campaigns.js} +4 -35
- package/dist/effect/generated/contact-events.js +37 -0
- package/dist/{contact-groups-BLbFXnjq.js → effect/generated/contact-groups.js} +3 -30
- package/dist/{contacts-BbsoXXB4.js → effect/generated/contacts.js} +3 -81
- package/dist/{conversations-_sRHueML.js → effect/generated/conversations.js} +3 -36
- package/dist/{custom-fields-BHWbwlKn.js → effect/generated/custom-fields.js} +5 -19
- package/dist/{email-R0NAA9PW.js → effect/generated/email.js} +995 -1146
- package/dist/{events-CxbTUHYT.js → effect/generated/events.js} +3 -15
- package/dist/{extension-installations-CD94LPmk.js → effect/generated/extension-installations.js} +4 -29
- package/dist/{extensions-BKyNQLvu.js → effect/generated/extensions.js} +3 -20
- package/dist/{feedback-Bpa09JOS.js → effect/generated/feedback.js} +3 -12
- package/dist/{journeys-CARo_BJT.js → effect/generated/journeys.js} +3 -38
- package/dist/{mailboxes-BRDn7BIK.js → effect/generated/mailboxes.js} +793 -951
- package/dist/{media-VrrtNnft.js → effect/generated/media.js} +3 -3
- package/dist/effect/generated/messages.js +671 -0
- package/dist/{namespaces-CcvEbG-y.js → effect/generated/namespaces.js} +3 -20
- package/dist/{operations-CmB3FHwf.js → effect/generated/operations.js} +3 -16
- package/dist/{organizations-A-plufWc.js → effect/generated/organizations.js} +3 -24
- package/dist/{scheduled-messages-DkKZRRaN.js → effect/generated/scheduled-messages.js} +4 -21
- package/dist/effect/generated/shared.js +1053 -0
- package/dist/{subscriptions-DEXYtMXg.js → effect/generated/subscriptions.js} +3 -9
- package/dist/{templates-DZomxsG7.js → effect/generated/templates.js} +3 -78
- package/dist/{unsubscribe-groups-Iqk4Isf9.js → effect/generated/unsubscribe-groups.js} +5 -29
- package/dist/{webhooks-CPXuu8Xf.js → effect/generated/webhooks.js} +4 -34
- package/dist/{whoami-Ccz0jwlt.js → effect/generated/whoami.js} +5 -10
- package/dist/{categories-CA4XIQAb.js → effect/generated-metadata.js} +2 -94
- package/dist/effect/index.d.ts +1 -2
- package/dist/effect/index.js +32 -32
- package/dist/effect/internal/client.js +69 -0
- package/dist/effect/internal/email-sender.js +21 -0
- package/dist/effect/internal/mailbox-events.js +33 -0
- package/dist/effect/internal/operation.js +116 -0
- package/dist/effect/internal/send.js +56 -0
- package/dist/effect/journeys.d.ts +18 -18
- package/dist/effect/journeys.js +39 -2
- package/dist/effect/mailboxes.d.ts +191 -191
- package/dist/effect/mailboxes.js +135 -3
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +10 -10
- package/dist/effect/messages.d.ts +14 -14
- package/dist/effect/messages.js +15 -14
- package/dist/effect/namespaces.d.ts +7 -7
- package/dist/effect/namespaces.js +21 -2
- package/dist/effect/operations.d.ts +5 -5
- package/dist/effect/operations.js +17 -2
- package/dist/effect/organizations.d.ts +7 -7
- package/dist/effect/organizations.js +25 -2
- package/dist/effect/pagination.js +39 -0
- package/dist/effect/retry.js +3 -3
- package/dist/{runtime-P0l1_2-C.js → effect/runtime.js} +2 -2
- package/dist/effect/scheduled-messages.d.ts +7 -7
- package/dist/effect/scheduled-messages.js +21 -2
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +10 -2
- package/dist/effect/templates.d.ts +39 -39
- package/dist/effect/templates.js +80 -3
- package/dist/effect/unsubscribe-groups.d.ts +11 -11
- package/dist/effect/unsubscribe-groups.js +29 -2
- package/dist/effect/webhooks.d.ts +14 -14
- package/dist/effect/webhooks.js +35 -3
- package/dist/effect/whoami.d.ts +9 -9
- package/dist/effect/whoami.js +10 -2
- package/dist/index.js +4 -3
- package/dist/{inline-attachments-Bi1hDltp.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.js +288 -3
- package/dist/{operation-n_IYgNVK.js → service-map.js} +2 -148
- package/package.json +6 -2
- package/dist/client-DOzUrdTE.js +0 -1115
- package/dist/send-Bxc0XfGE.js +0 -722
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { version } from "./package.js";
|
|
2
|
+
//#region src/client-attribution.ts
|
|
3
|
+
const SDK_VERSION = version;
|
|
4
|
+
const CLIENT_ATTRIBUTION_HEADER = "x-samva-client";
|
|
5
|
+
const clientAttribution = (surface) => `${surface}/${SDK_VERSION}`;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { CLIENT_ATTRIBUTION_HEADER, clientAttribution };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=client-attribution.js.map
|
|
@@ -8,7 +8,7 @@ export declare const getStats: (input?: {
|
|
|
8
8
|
readonly date: string;
|
|
9
9
|
readonly email: number;
|
|
10
10
|
}[];
|
|
11
|
-
}, import("./
|
|
11
|
+
}, import("./errors").AnalyticsQueryError | 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>;
|
|
12
12
|
export declare const getChannelStats: (input?: {
|
|
13
13
|
readonly after?: Date | null | undefined;
|
|
14
14
|
readonly before?: Date | null | undefined;
|
|
@@ -24,7 +24,7 @@ export declare const getChannelStats: (input?: {
|
|
|
24
24
|
readonly uniqueMessageClickRate: number;
|
|
25
25
|
readonly bounceRate: number;
|
|
26
26
|
};
|
|
27
|
-
}, import("./
|
|
27
|
+
}, import("./errors").AnalyticsQueryError | 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>;
|
|
28
28
|
export declare const getTopContacts: (input?: {
|
|
29
29
|
readonly after?: Date | null | undefined;
|
|
30
30
|
readonly before?: Date | null | undefined;
|
|
@@ -36,14 +36,14 @@ export declare const getTopContacts: (input?: {
|
|
|
36
36
|
readonly email: string | null;
|
|
37
37
|
readonly phone: string | null;
|
|
38
38
|
readonly messageCount: number;
|
|
39
|
-
}[], import("./
|
|
39
|
+
}[], import("./errors").AnalyticsQueryError | 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>;
|
|
40
40
|
export declare const getHourlyDistribution: (input?: {
|
|
41
41
|
readonly after?: Date | null | undefined;
|
|
42
42
|
readonly before?: Date | null | undefined;
|
|
43
43
|
} | undefined) => import("effect/Effect").Effect<readonly {
|
|
44
44
|
readonly hour: string;
|
|
45
45
|
readonly count: number;
|
|
46
|
-
}[], import("./
|
|
46
|
+
}[], import("./errors").AnalyticsQueryError | 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>;
|
|
47
47
|
export declare const getDeliveryMetrics: (input?: {
|
|
48
48
|
readonly after?: Date | null | undefined;
|
|
49
49
|
readonly before?: Date | null | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const getDeliveryMetrics: (input?: {
|
|
|
53
53
|
readonly failedRate: number;
|
|
54
54
|
readonly pendingRate: number;
|
|
55
55
|
readonly avgDeliveryTimeMs: number;
|
|
56
|
-
}, import("./
|
|
56
|
+
}, import("./errors").AnalyticsQueryError | 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>;
|
|
57
57
|
export declare const exportData: (input: {
|
|
58
58
|
readonly after: Date;
|
|
59
59
|
readonly before: Date;
|
|
@@ -63,4 +63,4 @@ export declare const exportData: (input: {
|
|
|
63
63
|
readonly content: string;
|
|
64
64
|
readonly mimeType: string;
|
|
65
65
|
readonly filename: string;
|
|
66
|
-
}, import("./
|
|
66
|
+
}, import("./errors").AnalyticsQueryError | 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>;
|
package/dist/effect/analytics.js
CHANGED
|
@@ -1,2 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { AnalyticsGroup } from "./generated/analytics.js";
|
|
3
|
+
import { forGroup } from "./internal/operation.js";
|
|
4
|
+
//#region src/effect/analytics.ts
|
|
5
|
+
var analytics_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
+
exportData: () => exportData,
|
|
7
|
+
getChannelStats: () => getChannelStats,
|
|
8
|
+
getDeliveryMetrics: () => getDeliveryMetrics,
|
|
9
|
+
getHourlyDistribution: () => getHourlyDistribution,
|
|
10
|
+
getStats: () => getStats,
|
|
11
|
+
getTopContacts: () => getTopContacts
|
|
12
|
+
});
|
|
13
|
+
const make = /* @__PURE__ */ forGroup(AnalyticsGroup);
|
|
14
|
+
const getStats = /* @__PURE__ */ make("analyticsGetStats");
|
|
15
|
+
const getChannelStats = /* @__PURE__ */ make("analyticsGetChannelStats");
|
|
16
|
+
const getTopContacts = /* @__PURE__ */ make("analyticsGetTopContacts");
|
|
17
|
+
const getHourlyDistribution = /* @__PURE__ */ make("analyticsGetHourlyDistribution");
|
|
18
|
+
const getDeliveryMetrics = /* @__PURE__ */ make("analyticsGetDeliveryMetrics");
|
|
19
|
+
const exportData = /* @__PURE__ */ make("analyticsExportData");
|
|
20
|
+
//#endregion
|
|
21
|
+
export { analytics_exports, exportData, getChannelStats, getDeliveryMetrics, getHourlyDistribution, getStats, getTopContacts };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=analytics.js.map
|
|
@@ -47,7 +47,7 @@ export declare const list: ((input?: {
|
|
|
47
47
|
} | null;
|
|
48
48
|
}[];
|
|
49
49
|
readonly nextCursor: string | null;
|
|
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
|
readonly pages: (input?: {
|
|
52
52
|
readonly limit?: string | null | undefined;
|
|
53
53
|
readonly cursor?: string | null | undefined;
|
|
@@ -96,7 +96,7 @@ export declare const list: ((input?: {
|
|
|
96
96
|
} | null;
|
|
97
97
|
}[];
|
|
98
98
|
readonly nextCursor: string | null;
|
|
99
|
-
}, import("./
|
|
99
|
+
}, 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>;
|
|
100
100
|
readonly items: (input?: {
|
|
101
101
|
readonly limit?: string | null | undefined;
|
|
102
102
|
readonly cursor?: string | null | undefined;
|
|
@@ -142,7 +142,7 @@ export declare const list: ((input?: {
|
|
|
142
142
|
readonly name: string;
|
|
143
143
|
readonly email: string;
|
|
144
144
|
} | null;
|
|
145
|
-
}, import("./
|
|
145
|
+
}, 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>;
|
|
146
146
|
};
|
|
147
147
|
export declare const create: (input: {
|
|
148
148
|
readonly name: string;
|
|
@@ -213,7 +213,7 @@ export declare const create: (input: {
|
|
|
213
213
|
readonly name: string;
|
|
214
214
|
readonly email: string;
|
|
215
215
|
} | null;
|
|
216
|
-
}, import("./
|
|
216
|
+
}, import("./errors").BillingProviderError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
217
217
|
export declare const get: (input: {
|
|
218
218
|
readonly id: string;
|
|
219
219
|
}) => import("effect/Effect").Effect<{
|
|
@@ -256,12 +256,12 @@ export declare const get: (input: {
|
|
|
256
256
|
readonly name: string;
|
|
257
257
|
readonly email: string;
|
|
258
258
|
} | null;
|
|
259
|
-
}, import("./
|
|
259
|
+
}, 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>;
|
|
260
260
|
export declare const revoke: (input: {
|
|
261
261
|
readonly id: string;
|
|
262
262
|
}) => import("effect/Effect").Effect<{
|
|
263
263
|
readonly success: boolean;
|
|
264
|
-
}, import("./
|
|
264
|
+
}, 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>;
|
|
265
265
|
export declare const update: (input: {
|
|
266
266
|
readonly id: string;
|
|
267
267
|
readonly name?: string | null | undefined;
|
|
@@ -309,7 +309,7 @@ export declare const update: (input: {
|
|
|
309
309
|
readonly name: string;
|
|
310
310
|
readonly email: string;
|
|
311
311
|
} | null;
|
|
312
|
-
}, import("./
|
|
312
|
+
}, 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>;
|
|
313
313
|
export declare const rotate: (input: {
|
|
314
314
|
readonly id: string;
|
|
315
315
|
}) => import("effect/Effect").Effect<{
|
|
@@ -352,7 +352,7 @@ export declare const rotate: (input: {
|
|
|
352
352
|
readonly name: string;
|
|
353
353
|
readonly email: string;
|
|
354
354
|
} | null;
|
|
355
|
-
}, import("./
|
|
355
|
+
}, 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>;
|
|
356
356
|
export declare const getStats: (input: {
|
|
357
357
|
readonly id: string;
|
|
358
358
|
readonly after?: string | null | undefined;
|
|
@@ -365,7 +365,7 @@ export declare const getStats: (input: {
|
|
|
365
365
|
readonly date: string;
|
|
366
366
|
readonly requests: number;
|
|
367
367
|
}[];
|
|
368
|
-
}, import("./
|
|
368
|
+
}, 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 getActivity: ((input: {
|
|
370
370
|
readonly id: string;
|
|
371
371
|
readonly limit?: string | null | undefined;
|
|
@@ -380,7 +380,7 @@ export declare const getActivity: ((input: {
|
|
|
380
380
|
readonly latency: number;
|
|
381
381
|
}[];
|
|
382
382
|
readonly nextCursor: string | null;
|
|
383
|
-
}, import("./
|
|
383
|
+
}, 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>) & {
|
|
384
384
|
readonly pages: (input: {
|
|
385
385
|
readonly id: string;
|
|
386
386
|
readonly limit?: string | null | undefined;
|
|
@@ -395,7 +395,7 @@ export declare const getActivity: ((input: {
|
|
|
395
395
|
readonly latency: number;
|
|
396
396
|
}[];
|
|
397
397
|
readonly nextCursor: string | null;
|
|
398
|
-
}, import("./
|
|
398
|
+
}, 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>;
|
|
399
399
|
readonly items: (input: {
|
|
400
400
|
readonly id: string;
|
|
401
401
|
readonly limit?: string | null | undefined;
|
|
@@ -407,5 +407,5 @@ export declare const getActivity: ((input: {
|
|
|
407
407
|
readonly endpoint: string;
|
|
408
408
|
readonly statusCode: number;
|
|
409
409
|
readonly latency: number;
|
|
410
|
-
}, import("./
|
|
410
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
411
411
|
};
|
package/dist/effect/api-keys.js
CHANGED
|
@@ -1,2 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { APIKeysGroup, ApiKeysCreateRequestJson, ApiKeysUpdateRequestJson } from "./generated/api-keys.js";
|
|
4
|
+
//#region src/effect/api-keys.ts
|
|
5
|
+
var api_keys_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
+
CreatePayload: () => ApiKeysCreateRequestJson,
|
|
7
|
+
UpdatePayload: () => ApiKeysUpdateRequestJson,
|
|
8
|
+
create: () => create,
|
|
9
|
+
get: () => get,
|
|
10
|
+
getActivity: () => getActivity,
|
|
11
|
+
getStats: () => getStats,
|
|
12
|
+
list: () => list,
|
|
13
|
+
revoke: () => revoke,
|
|
14
|
+
rotate: () => rotate,
|
|
15
|
+
update: () => update
|
|
16
|
+
});
|
|
17
|
+
const make = /* @__PURE__ */ forGroup(APIKeysGroup);
|
|
18
|
+
const list = /* @__PURE__ */ make("apiKeysList");
|
|
19
|
+
const create = /* @__PURE__ */ make("apiKeysCreate");
|
|
20
|
+
const get = /* @__PURE__ */ make("apiKeysGet");
|
|
21
|
+
const revoke = /* @__PURE__ */ make("apiKeysRevoke");
|
|
22
|
+
const update = /* @__PURE__ */ make("apiKeysUpdate");
|
|
23
|
+
const rotate = /* @__PURE__ */ make("apiKeysRotate");
|
|
24
|
+
const getStats = /* @__PURE__ */ make("apiKeysGetStats");
|
|
25
|
+
const getActivity = /* @__PURE__ */ make("apiKeysGetActivity");
|
|
26
|
+
//#endregion
|
|
27
|
+
export { ApiKeysCreateRequestJson as CreatePayload, ApiKeysUpdateRequestJson as UpdatePayload, api_keys_exports, create, get, getActivity, getStats, list, revoke, rotate, update };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=api-keys.js.map
|
|
@@ -12,7 +12,7 @@ export declare const list: (input: {
|
|
|
12
12
|
readonly isInline: boolean;
|
|
13
13
|
readonly createdAt: string;
|
|
14
14
|
}[];
|
|
15
|
-
}, import("./
|
|
15
|
+
}, 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>;
|
|
16
16
|
export declare const getById: (input: {
|
|
17
17
|
readonly id: string;
|
|
18
18
|
}) => import("effect/Effect").Effect<{
|
|
@@ -25,13 +25,13 @@ export declare const getById: (input: {
|
|
|
25
25
|
readonly contentId: string | null;
|
|
26
26
|
readonly isInline: boolean;
|
|
27
27
|
readonly createdAt: string;
|
|
28
|
-
}, import("./
|
|
28
|
+
}, 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>;
|
|
29
29
|
export declare const remove: (input: {
|
|
30
30
|
readonly id: string;
|
|
31
31
|
}) => import("effect/Effect").Effect<{
|
|
32
32
|
readonly success: boolean;
|
|
33
33
|
readonly deletedId: string & import("effect/Brand").Brand<"AttachmentId">;
|
|
34
|
-
}, import("./
|
|
34
|
+
}, 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>;
|
|
35
35
|
export declare const downloadUrl: (input: {
|
|
36
36
|
readonly id: string;
|
|
37
37
|
readonly expiresIn?: string | null | undefined;
|
|
@@ -49,4 +49,4 @@ export declare const downloadUrl: (input: {
|
|
|
49
49
|
readonly isInline: boolean;
|
|
50
50
|
readonly createdAt: string;
|
|
51
51
|
};
|
|
52
|
-
}, import("./
|
|
52
|
+
}, 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>;
|
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { forGroup } from "./internal/operation.js";
|
|
3
|
+
import { AttachmentsGroup } from "./generated/attachments.js";
|
|
4
|
+
//#region src/effect/attachments.ts
|
|
5
|
+
var attachments_exports = /* @__PURE__ */ __exportAll({
|
|
6
|
+
downloadUrl: () => downloadUrl,
|
|
7
|
+
getById: () => getById,
|
|
8
|
+
list: () => list,
|
|
9
|
+
remove: () => remove
|
|
10
|
+
});
|
|
11
|
+
const make = /* @__PURE__ */ forGroup(AttachmentsGroup);
|
|
12
|
+
const list = /* @__PURE__ */ make("attachmentsList");
|
|
13
|
+
const getById = /* @__PURE__ */ make("attachmentsGetById");
|
|
14
|
+
const remove = /* @__PURE__ */ make("attachmentsRemove");
|
|
15
|
+
const downloadUrl = /* @__PURE__ */ make("attachmentsDownloadUrl");
|
|
16
|
+
//#endregion
|
|
17
|
+
export { attachments_exports, downloadUrl, getById, list, remove };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=attachments.js.map
|
package/dist/effect/brands.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare const list: (_?: never) => import("effect/Effect").Effect<{
|
|
|
30
30
|
readonly createdAt: string;
|
|
31
31
|
readonly updatedAt: string;
|
|
32
32
|
}[];
|
|
33
|
-
}, import("./
|
|
33
|
+
}, 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>;
|
|
34
34
|
export declare const create: (input: {
|
|
35
35
|
readonly slug: string;
|
|
36
36
|
readonly name: string;
|
|
@@ -85,7 +85,7 @@ export declare const create: (input: {
|
|
|
85
85
|
readonly digest: string;
|
|
86
86
|
readonly createdAt: string;
|
|
87
87
|
readonly updatedAt: string;
|
|
88
|
-
}, import("./
|
|
88
|
+
}, import("./errors").ConflictError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
89
89
|
export declare const get: (input: {
|
|
90
90
|
readonly slug: string;
|
|
91
91
|
}) => import("effect/Effect").Effect<{
|
|
@@ -117,7 +117,7 @@ export declare const get: (input: {
|
|
|
117
117
|
readonly digest: string;
|
|
118
118
|
readonly createdAt: string;
|
|
119
119
|
readonly updatedAt: string;
|
|
120
|
-
}, import("./
|
|
120
|
+
}, 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>;
|
|
121
121
|
export declare const update: (input: {
|
|
122
122
|
readonly slug: string;
|
|
123
123
|
readonly newSlug?: string | null | undefined;
|
|
@@ -172,12 +172,12 @@ export declare const update: (input: {
|
|
|
172
172
|
readonly digest: string;
|
|
173
173
|
readonly createdAt: string;
|
|
174
174
|
readonly updatedAt: string;
|
|
175
|
-
}, import("./
|
|
175
|
+
}, 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>;
|
|
176
176
|
export declare const remove: (input: {
|
|
177
177
|
readonly slug: string;
|
|
178
178
|
}) => import("effect/Effect").Effect<{
|
|
179
179
|
readonly success: boolean;
|
|
180
|
-
}, import("./
|
|
180
|
+
}, 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>;
|
|
181
181
|
export declare const setDefault: (input: {
|
|
182
182
|
readonly slug: string;
|
|
183
183
|
}) => import("effect/Effect").Effect<{
|
|
@@ -209,4 +209,4 @@ export declare const setDefault: (input: {
|
|
|
209
209
|
readonly digest: string;
|
|
210
210
|
readonly createdAt: string;
|
|
211
211
|
readonly updatedAt: string;
|
|
212
|
-
}, import("./
|
|
212
|
+
}, 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>;
|
package/dist/effect/brands.js
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { __exportAll } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { CreateBrand, UpdateBrand } from "./generated/shared.js";
|
|
3
|
+
import { forGroup } from "./internal/operation.js";
|
|
4
|
+
import { BrandsGroup } from "./generated/brands.js";
|
|
5
|
+
//#region src/effect/brands.ts
|
|
6
|
+
var brands_exports = /* @__PURE__ */ __exportAll({
|
|
7
|
+
CreatePayload: () => CreateBrand,
|
|
8
|
+
UpdatePayload: () => UpdateBrand,
|
|
9
|
+
create: () => create,
|
|
10
|
+
get: () => get,
|
|
11
|
+
list: () => list,
|
|
12
|
+
remove: () => remove,
|
|
13
|
+
setDefault: () => setDefault,
|
|
14
|
+
update: () => update
|
|
15
|
+
});
|
|
16
|
+
const make = /* @__PURE__ */ forGroup(BrandsGroup);
|
|
17
|
+
const list = /* @__PURE__ */ make("brandsList");
|
|
18
|
+
const create = /* @__PURE__ */ make("brandsCreate");
|
|
19
|
+
const get = /* @__PURE__ */ make("brandsGet");
|
|
20
|
+
const update = /* @__PURE__ */ make("brandsUpdate");
|
|
21
|
+
const remove = /* @__PURE__ */ make("brandsRemove");
|
|
22
|
+
const setDefault = /* @__PURE__ */ make("brandsSetDefault");
|
|
23
|
+
//#endregion
|
|
24
|
+
export { CreateBrand as CreatePayload, UpdateBrand as UpdatePayload, brands_exports, create, get, list, remove, setDefault, update };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=brands.js.map
|
|
@@ -78,7 +78,7 @@ export declare const list: ((input?: {
|
|
|
78
78
|
readonly series: readonly number[];
|
|
79
79
|
}[];
|
|
80
80
|
readonly nextCursor: string | null;
|
|
81
|
-
}, import("./
|
|
81
|
+
}, 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>) & {
|
|
82
82
|
readonly pages: (input?: {
|
|
83
83
|
readonly status?: "archived" | "draft" | null | undefined;
|
|
84
84
|
readonly limit?: string | null | undefined;
|
|
@@ -159,7 +159,7 @@ export declare const list: ((input?: {
|
|
|
159
159
|
readonly series: readonly number[];
|
|
160
160
|
}[];
|
|
161
161
|
readonly nextCursor: string | null;
|
|
162
|
-
}, import("./
|
|
162
|
+
}, 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>;
|
|
163
163
|
readonly items: (input?: {
|
|
164
164
|
readonly status?: "archived" | "draft" | null | undefined;
|
|
165
165
|
readonly limit?: string | null | undefined;
|
|
@@ -237,7 +237,7 @@ export declare const list: ((input?: {
|
|
|
237
237
|
readonly createdAt: string;
|
|
238
238
|
readonly updatedAt: string;
|
|
239
239
|
readonly series: readonly number[];
|
|
240
|
-
}, import("./
|
|
240
|
+
}, 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>;
|
|
241
241
|
};
|
|
242
242
|
export declare const create: (input: {
|
|
243
243
|
readonly name: string;
|
|
@@ -410,7 +410,7 @@ export declare const create: (input: {
|
|
|
410
410
|
readonly memberRole: string;
|
|
411
411
|
readonly createdAt: string;
|
|
412
412
|
readonly updatedAt: string;
|
|
413
|
-
}, import("./
|
|
413
|
+
}, import("./errors").FlagDisabledError | 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>;
|
|
414
414
|
export declare const get: (input: {
|
|
415
415
|
readonly id: string;
|
|
416
416
|
}) => import("effect/Effect").Effect<{
|
|
@@ -485,7 +485,7 @@ export declare const get: (input: {
|
|
|
485
485
|
readonly memberRole: string;
|
|
486
486
|
readonly createdAt: string;
|
|
487
487
|
readonly updatedAt: string;
|
|
488
|
-
}, import("./
|
|
488
|
+
}, 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>;
|
|
489
489
|
export declare const archive: (input: {
|
|
490
490
|
readonly id: string;
|
|
491
491
|
}) => import("effect/Effect").Effect<{
|
|
@@ -560,7 +560,7 @@ export declare const archive: (input: {
|
|
|
560
560
|
readonly memberRole: string;
|
|
561
561
|
readonly createdAt: string;
|
|
562
562
|
readonly updatedAt: string;
|
|
563
|
-
}, import("./
|
|
563
|
+
}, 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>;
|
|
564
564
|
export declare const update: (input: {
|
|
565
565
|
readonly id: string;
|
|
566
566
|
readonly name?: string | null | undefined;
|
|
@@ -732,7 +732,7 @@ export declare const update: (input: {
|
|
|
732
732
|
readonly memberRole: string;
|
|
733
733
|
readonly createdAt: string;
|
|
734
734
|
readonly updatedAt: string;
|
|
735
|
-
}, import("./
|
|
735
|
+
}, import("./errors").ConflictError | import("./errors").FlagDisabledError | 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>;
|
|
736
736
|
export declare const listRuns: ((input: {
|
|
737
737
|
readonly id: string;
|
|
738
738
|
readonly status?: "cancelled" | "completed" | "dispatching" | "failed" | "paused" | "resolving" | "scheduled" | null | undefined;
|
|
@@ -811,7 +811,7 @@ export declare const listRuns: ((input: {
|
|
|
811
811
|
readonly updatedAt: string;
|
|
812
812
|
}[];
|
|
813
813
|
readonly nextCursor: string | null;
|
|
814
|
-
}, import("./
|
|
814
|
+
}, 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>) & {
|
|
815
815
|
readonly pages: (input: {
|
|
816
816
|
readonly id: string;
|
|
817
817
|
readonly status?: "cancelled" | "completed" | "dispatching" | "failed" | "paused" | "resolving" | "scheduled" | null | undefined;
|
|
@@ -890,7 +890,7 @@ export declare const listRuns: ((input: {
|
|
|
890
890
|
readonly updatedAt: string;
|
|
891
891
|
}[];
|
|
892
892
|
readonly nextCursor: string | null;
|
|
893
|
-
}, import("./
|
|
893
|
+
}, 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>;
|
|
894
894
|
readonly items: (input: {
|
|
895
895
|
readonly id: string;
|
|
896
896
|
readonly status?: "cancelled" | "completed" | "dispatching" | "failed" | "paused" | "resolving" | "scheduled" | null | undefined;
|
|
@@ -966,7 +966,7 @@ export declare const listRuns: ((input: {
|
|
|
966
966
|
readonly memberRole: string;
|
|
967
967
|
readonly createdAt: string;
|
|
968
968
|
readonly updatedAt: string;
|
|
969
|
-
}, import("./
|
|
969
|
+
}, 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>;
|
|
970
970
|
};
|
|
971
971
|
export declare const scheduleRun: (input: {
|
|
972
972
|
readonly id: string;
|
|
@@ -1042,7 +1042,7 @@ export declare const scheduleRun: (input: {
|
|
|
1042
1042
|
readonly memberRole: string;
|
|
1043
1043
|
readonly createdAt: string;
|
|
1044
1044
|
readonly updatedAt: string;
|
|
1045
|
-
}, import("./
|
|
1045
|
+
}, import("./errors").BrandAddressRequiredError | import("./errors").CampaignFooterRequiredError | import("./errors").ConflictError | import("./errors").ExternalServiceError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
1046
1046
|
export declare const getRun: (input: {
|
|
1047
1047
|
readonly id: string;
|
|
1048
1048
|
readonly runId: string;
|
|
@@ -1116,7 +1116,7 @@ export declare const getRun: (input: {
|
|
|
1116
1116
|
readonly memberRole: string;
|
|
1117
1117
|
readonly createdAt: string;
|
|
1118
1118
|
readonly updatedAt: string;
|
|
1119
|
-
}, import("./
|
|
1119
|
+
}, 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>;
|
|
1120
1120
|
export declare const pauseRun: (input: {
|
|
1121
1121
|
readonly id: string;
|
|
1122
1122
|
readonly runId: string;
|
|
@@ -1193,7 +1193,7 @@ export declare const pauseRun: (input: {
|
|
|
1193
1193
|
readonly createdAt: string;
|
|
1194
1194
|
readonly updatedAt: string;
|
|
1195
1195
|
};
|
|
1196
|
-
}, import("./
|
|
1196
|
+
}, import("./errors").ConflictError | import("./errors").ExternalServiceError | 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>;
|
|
1197
1197
|
export declare const resumeRun: (input: {
|
|
1198
1198
|
readonly id: string;
|
|
1199
1199
|
readonly runId: string;
|
|
@@ -1270,7 +1270,7 @@ export declare const resumeRun: (input: {
|
|
|
1270
1270
|
readonly createdAt: string;
|
|
1271
1271
|
readonly updatedAt: string;
|
|
1272
1272
|
};
|
|
1273
|
-
}, import("./
|
|
1273
|
+
}, import("./errors").ConflictError | import("./errors").ExternalServiceError | 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>;
|
|
1274
1274
|
export declare const cancelRun: (input: {
|
|
1275
1275
|
readonly id: string;
|
|
1276
1276
|
readonly runId: string;
|
|
@@ -1347,7 +1347,7 @@ export declare const cancelRun: (input: {
|
|
|
1347
1347
|
readonly createdAt: string;
|
|
1348
1348
|
readonly updatedAt: string;
|
|
1349
1349
|
};
|
|
1350
|
-
}, import("./
|
|
1350
|
+
}, import("./errors").ConflictError | import("./errors").ExternalServiceError | 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>;
|
|
1351
1351
|
export declare const listRecipients: ((input: {
|
|
1352
1352
|
readonly id: string;
|
|
1353
1353
|
readonly runId: string;
|
|
@@ -1367,7 +1367,7 @@ export declare const listRecipients: ((input: {
|
|
|
1367
1367
|
readonly updatedAt: string;
|
|
1368
1368
|
}[];
|
|
1369
1369
|
readonly nextCursor: string | null;
|
|
1370
|
-
}, import("./
|
|
1370
|
+
}, 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>) & {
|
|
1371
1371
|
readonly pages: (input: {
|
|
1372
1372
|
readonly id: string;
|
|
1373
1373
|
readonly runId: string;
|
|
@@ -1387,7 +1387,7 @@ export declare const listRecipients: ((input: {
|
|
|
1387
1387
|
readonly updatedAt: string;
|
|
1388
1388
|
}[];
|
|
1389
1389
|
readonly nextCursor: string | null;
|
|
1390
|
-
}, import("./
|
|
1390
|
+
}, 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>;
|
|
1391
1391
|
readonly items: (input: {
|
|
1392
1392
|
readonly id: string;
|
|
1393
1393
|
readonly runId: string;
|
|
@@ -1404,5 +1404,5 @@ export declare const listRecipients: ((input: {
|
|
|
1404
1404
|
readonly skippedReason: "blocked" | "inactive" | "no_identity" | "run_cancelled" | "run_failed" | "suppressed" | "unsubscribed" | null;
|
|
1405
1405
|
readonly createdAt: string;
|
|
1406
1406
|
readonly updatedAt: string;
|
|
1407
|
-
}, import("./
|
|
1407
|
+
}, 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>;
|
|
1408
1408
|
};
|