samva 0.2.0 → 0.4.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 +1 -1
- package/README.md +14 -3
- package/dist/client/sdk.gen.d.ts +321 -129
- package/dist/client/types.gen.d.ts +1818 -777
- package/dist/{client-BqkU-sFv.js → client-BmZK_uCt.js} +2699 -1839
- package/dist/client-attribution-BslSOa_8.js +9 -0
- package/dist/client-attribution.d.ts +2 -0
- package/dist/effect/api-keys.d.ts +51 -51
- package/dist/effect/api-keys.js +1 -1
- package/dist/effect/campaigns.d.ts +320 -1005
- package/dist/effect/campaigns.js +1 -1
- package/dist/effect/categories.d.ts +6 -6
- package/dist/effect/client.js +1 -1
- package/dist/effect/contacts.d.ts +292 -314
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.d.ts +305 -437
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/design.d.ts +74 -74
- package/dist/effect/design.js +1 -1
- package/dist/effect/email.d.ts +233 -265
- package/dist/effect/email.js +2 -2
- package/dist/effect/generated.d.ts +13410 -14526
- package/dist/effect/index.d.ts +1 -0
- package/dist/effect/index.js +3 -2
- package/dist/effect/internal/client.d.ts +1 -1
- package/dist/effect/internal/operation.d.ts +32 -129
- package/dist/effect/media.d.ts +80 -0
- package/dist/effect/media.js +19 -0
- package/dist/effect/messages.d.ts +90 -307
- package/dist/effect/messages.js +1 -1
- package/dist/effect/operations.d.ts +17 -17
- package/dist/effect/operations.js +1 -1
- package/dist/effect/organizations.d.ts +162 -180
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/runtime.d.ts +0 -2
- package/dist/effect/scheduled-messages.d.ts +242 -639
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.d.ts +1376 -2033
- package/dist/effect/templates.js +40 -30
- package/dist/effect/webhooks.d.ts +53 -54
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +1 -1
- package/dist/{normalize-LkWl4HUF.js → normalize-BiIJnycv.js} +6 -15
- package/dist/normalize.d.ts +3 -33
- package/dist/{operation-Ccqh_yxb.js → operation-B1knNlxk.js} +83 -38
- package/dist/promises/index.d.ts +13 -21
- package/dist/promises/index.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-Dgv8UmCC.js → promises-n1opem5V.js} +572 -184
- package/dist/service-map.d.ts +96 -44
- package/package.json +23 -19
package/dist/effect/messages.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { i as sendMessage, n as make } from "../operation-
|
|
2
|
+
import { i as sendMessage, n as make } from "../operation-B1knNlxk.js";
|
|
3
3
|
//#region src/effect/messages.ts
|
|
4
4
|
var messages_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
get: () => get,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const list: (input?: {
|
|
2
|
-
readonly limit?: string | null | undefined;
|
|
3
|
-
readonly status?: string | null | undefined;
|
|
4
2
|
readonly page?: string | null | undefined;
|
|
3
|
+
readonly limit?: string | null | undefined;
|
|
5
4
|
readonly kind?: string | null | undefined;
|
|
5
|
+
readonly status?: string | null | undefined;
|
|
6
6
|
} | undefined) => import("effect/Effect").Effect<{
|
|
7
7
|
readonly items: readonly {
|
|
8
8
|
readonly id: string & import("effect/Brand").Brand<"OperationId">;
|
|
@@ -13,13 +13,13 @@ export declare const list: (input?: {
|
|
|
13
13
|
readonly id: string;
|
|
14
14
|
};
|
|
15
15
|
readonly actor: {
|
|
16
|
-
readonly type: "
|
|
16
|
+
readonly type: "api-key" | "system" | "user";
|
|
17
17
|
readonly id: string;
|
|
18
18
|
};
|
|
19
|
-
readonly status: "
|
|
20
|
-
readonly phase: "accepted" | "
|
|
19
|
+
readonly status: "failed" | "pending" | "running" | "succeeded";
|
|
20
|
+
readonly phase: "accepted" | "completed" | "deleting" | "dispatching" | "finalizing" | "provisioning";
|
|
21
21
|
readonly error: {
|
|
22
|
-
readonly code: "
|
|
22
|
+
readonly code: "capacity-unavailable" | "conflict" | "internal" | "provider-rejected" | "provider-unavailable" | "timed-out" | "validation-failed";
|
|
23
23
|
readonly message: string;
|
|
24
24
|
} | null;
|
|
25
25
|
readonly createdAt: string;
|
|
@@ -32,7 +32,7 @@ export declare const list: (input?: {
|
|
|
32
32
|
readonly limit: number;
|
|
33
33
|
readonly total: number;
|
|
34
34
|
};
|
|
35
|
-
}, import("
|
|
35
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
36
36
|
export declare const get: (input: {
|
|
37
37
|
readonly operationId: string;
|
|
38
38
|
}) => import("effect/Effect").Effect<{
|
|
@@ -44,20 +44,20 @@ export declare const get: (input: {
|
|
|
44
44
|
readonly id: string;
|
|
45
45
|
};
|
|
46
46
|
readonly actor: {
|
|
47
|
-
readonly type: "
|
|
47
|
+
readonly type: "api-key" | "system" | "user";
|
|
48
48
|
readonly id: string;
|
|
49
49
|
};
|
|
50
|
-
readonly status: "
|
|
51
|
-
readonly phase: "accepted" | "
|
|
50
|
+
readonly status: "failed" | "pending" | "running" | "succeeded";
|
|
51
|
+
readonly phase: "accepted" | "completed" | "deleting" | "dispatching" | "finalizing" | "provisioning";
|
|
52
52
|
readonly error: {
|
|
53
|
-
readonly code: "
|
|
53
|
+
readonly code: "capacity-unavailable" | "conflict" | "internal" | "provider-rejected" | "provider-unavailable" | "timed-out" | "validation-failed";
|
|
54
54
|
readonly message: string;
|
|
55
55
|
} | null;
|
|
56
56
|
readonly createdAt: string;
|
|
57
57
|
readonly updatedAt: string;
|
|
58
58
|
readonly startedAt: string | null;
|
|
59
59
|
readonly completedAt: string | null;
|
|
60
|
-
}, import("
|
|
60
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
61
61
|
export declare const retry: (input: {
|
|
62
62
|
readonly operationId: string;
|
|
63
63
|
}) => import("effect/Effect").Effect<{
|
|
@@ -70,13 +70,13 @@ export declare const retry: (input: {
|
|
|
70
70
|
readonly id: string;
|
|
71
71
|
};
|
|
72
72
|
readonly actor: {
|
|
73
|
-
readonly type: "
|
|
73
|
+
readonly type: "api-key" | "system" | "user";
|
|
74
74
|
readonly id: string;
|
|
75
75
|
};
|
|
76
|
-
readonly status: "
|
|
77
|
-
readonly phase: "accepted" | "
|
|
76
|
+
readonly status: "failed" | "pending" | "running" | "succeeded";
|
|
77
|
+
readonly phase: "accepted" | "completed" | "deleting" | "dispatching" | "finalizing" | "provisioning";
|
|
78
78
|
readonly error: {
|
|
79
|
-
readonly code: "
|
|
79
|
+
readonly code: "capacity-unavailable" | "conflict" | "internal" | "provider-rejected" | "provider-unavailable" | "timed-out" | "validation-failed";
|
|
80
80
|
readonly message: string;
|
|
81
81
|
} | null;
|
|
82
82
|
readonly createdAt: string;
|
|
@@ -94,4 +94,4 @@ export declare const retry: (input: {
|
|
|
94
94
|
readonly href: string;
|
|
95
95
|
};
|
|
96
96
|
};
|
|
97
|
-
}, import("
|
|
97
|
+
}, import("./generated").ConflictError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
-
import { n as make } from "../operation-
|
|
2
|
+
import { n as make } from "../operation-B1knNlxk.js";
|
|
3
3
|
//#region src/effect/operations.ts
|
|
4
4
|
var operations_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
get: () => get,
|