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
|
@@ -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/conversations.ts
|
|
4
4
|
var conversations_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
addContacts: () => addContacts,
|
package/dist/effect/design.d.ts
CHANGED
|
@@ -1,31 +1,6 @@
|
|
|
1
1
|
export declare const get: (_?: never) => import("effect/Effect").Effect<{
|
|
2
2
|
readonly design: {
|
|
3
|
-
readonly footer?: {
|
|
4
|
-
readonly address?: {
|
|
5
|
-
readonly region: string;
|
|
6
|
-
readonly street1: string;
|
|
7
|
-
readonly city: string;
|
|
8
|
-
readonly postalCode: string;
|
|
9
|
-
readonly country: string;
|
|
10
|
-
readonly street2?: string | null;
|
|
11
|
-
} | null;
|
|
12
|
-
readonly companyName?: string | null;
|
|
13
|
-
readonly socialLinks?: readonly {
|
|
14
|
-
readonly label: string;
|
|
15
|
-
readonly url: string;
|
|
16
|
-
}[] | null;
|
|
17
|
-
readonly customHtml?: string | null;
|
|
18
|
-
} | null;
|
|
19
3
|
readonly theme?: {
|
|
20
|
-
readonly text?: {
|
|
21
|
-
readonly [x: string]: {
|
|
22
|
-
readonly sizePx: number;
|
|
23
|
-
readonly lineHeightPx: number;
|
|
24
|
-
};
|
|
25
|
-
} | null;
|
|
26
|
-
readonly tracking?: {
|
|
27
|
-
readonly [x: string]: number;
|
|
28
|
-
} | null;
|
|
29
4
|
readonly colors?: {
|
|
30
5
|
readonly [x: string]: string;
|
|
31
6
|
} | null;
|
|
@@ -37,12 +12,12 @@ export declare const get: (_?: never) => import("effect/Effect").Effect<{
|
|
|
37
12
|
} | null;
|
|
38
13
|
readonly fontFamilies?: {
|
|
39
14
|
readonly [x: string]: {
|
|
15
|
+
readonly source: "custom" | "google" | "system";
|
|
40
16
|
readonly family: string;
|
|
41
|
-
readonly source: "system" | "google" | "custom";
|
|
42
17
|
readonly fallback: string;
|
|
43
18
|
readonly faces?: readonly {
|
|
44
|
-
readonly style: "normal" | "italic";
|
|
45
19
|
readonly weight: number;
|
|
20
|
+
readonly style: "italic" | "normal";
|
|
46
21
|
readonly src: string;
|
|
47
22
|
readonly unicodeRange?: string | null;
|
|
48
23
|
}[] | null;
|
|
@@ -51,6 +26,12 @@ export declare const get: (_?: never) => import("effect/Effect").Effect<{
|
|
|
51
26
|
readonly fontWeights?: {
|
|
52
27
|
readonly [x: string]: number;
|
|
53
28
|
} | null;
|
|
29
|
+
readonly text?: {
|
|
30
|
+
readonly [x: string]: {
|
|
31
|
+
readonly sizePx: number;
|
|
32
|
+
readonly lineHeightPx: number;
|
|
33
|
+
};
|
|
34
|
+
} | null;
|
|
54
35
|
readonly leading?: {
|
|
55
36
|
readonly [x: string]: number;
|
|
56
37
|
} | null;
|
|
@@ -58,45 +39,39 @@ export declare const get: (_?: never) => import("effect/Effect").Effect<{
|
|
|
58
39
|
readonly containerPx?: {
|
|
59
40
|
readonly [x: string]: number;
|
|
60
41
|
} | null;
|
|
42
|
+
readonly tracking?: {
|
|
43
|
+
readonly [x: string]: number;
|
|
44
|
+
} | null;
|
|
61
45
|
} | null;
|
|
62
46
|
readonly assets?: {
|
|
63
47
|
readonly logoUrl?: string | null;
|
|
64
48
|
readonly logoDarkUrl?: string | null;
|
|
65
49
|
readonly iconUrl?: string | null;
|
|
66
50
|
} | null;
|
|
67
|
-
} | null;
|
|
68
|
-
readonly footerCompleteness: {
|
|
69
|
-
readonly missingAddress: boolean;
|
|
70
|
-
};
|
|
71
|
-
}, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
|
|
72
|
-
export declare const update: (input: {
|
|
73
|
-
readonly design: {
|
|
74
51
|
readonly footer?: {
|
|
52
|
+
readonly companyName?: string | null;
|
|
75
53
|
readonly address?: {
|
|
76
|
-
readonly region: string;
|
|
77
54
|
readonly street1: string;
|
|
55
|
+
readonly street2?: string | null;
|
|
78
56
|
readonly city: string;
|
|
57
|
+
readonly region: string;
|
|
79
58
|
readonly postalCode: string;
|
|
80
59
|
readonly country: string;
|
|
81
|
-
|
|
82
|
-
} | null | undefined;
|
|
83
|
-
readonly companyName?: string | null | undefined;
|
|
60
|
+
} | null;
|
|
84
61
|
readonly socialLinks?: readonly {
|
|
85
62
|
readonly label: string;
|
|
86
63
|
readonly url: string;
|
|
87
|
-
}[] | null
|
|
88
|
-
readonly customHtml?: string | null
|
|
89
|
-
} | null
|
|
64
|
+
}[] | null;
|
|
65
|
+
readonly customHtml?: string | null;
|
|
66
|
+
} | null;
|
|
67
|
+
} | null;
|
|
68
|
+
readonly footerCompleteness: {
|
|
69
|
+
readonly missingAddress: boolean;
|
|
70
|
+
};
|
|
71
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
72
|
+
export declare const update: (input: {
|
|
73
|
+
readonly design: {
|
|
90
74
|
readonly theme?: {
|
|
91
|
-
readonly text?: {
|
|
92
|
-
readonly [x: string]: {
|
|
93
|
-
readonly sizePx: number;
|
|
94
|
-
readonly lineHeightPx: number;
|
|
95
|
-
} | undefined;
|
|
96
|
-
} | null | undefined;
|
|
97
|
-
readonly tracking?: {
|
|
98
|
-
readonly [x: string]: number | undefined;
|
|
99
|
-
} | null | undefined;
|
|
100
75
|
readonly colors?: {
|
|
101
76
|
readonly [x: string]: string | undefined;
|
|
102
77
|
} | null | undefined;
|
|
@@ -108,12 +83,12 @@ export declare const update: (input: {
|
|
|
108
83
|
} | null | undefined;
|
|
109
84
|
readonly fontFamilies?: {
|
|
110
85
|
readonly [x: string]: {
|
|
111
|
-
readonly family: string;
|
|
112
86
|
readonly source: string;
|
|
87
|
+
readonly family: string;
|
|
113
88
|
readonly fallback: string;
|
|
114
89
|
readonly faces?: readonly {
|
|
115
|
-
readonly style: string;
|
|
116
90
|
readonly weight: number;
|
|
91
|
+
readonly style: string;
|
|
117
92
|
readonly src: string;
|
|
118
93
|
readonly unicodeRange?: string | null | undefined;
|
|
119
94
|
}[] | null | undefined;
|
|
@@ -122,6 +97,12 @@ export declare const update: (input: {
|
|
|
122
97
|
readonly fontWeights?: {
|
|
123
98
|
readonly [x: string]: number | undefined;
|
|
124
99
|
} | null | undefined;
|
|
100
|
+
readonly text?: {
|
|
101
|
+
readonly [x: string]: {
|
|
102
|
+
readonly sizePx: number;
|
|
103
|
+
readonly lineHeightPx: number;
|
|
104
|
+
} | undefined;
|
|
105
|
+
} | null | undefined;
|
|
125
106
|
readonly leading?: {
|
|
126
107
|
readonly [x: string]: number | undefined;
|
|
127
108
|
} | null | undefined;
|
|
@@ -129,41 +110,35 @@ export declare const update: (input: {
|
|
|
129
110
|
readonly containerPx?: {
|
|
130
111
|
readonly [x: string]: number | undefined;
|
|
131
112
|
} | null | undefined;
|
|
113
|
+
readonly tracking?: {
|
|
114
|
+
readonly [x: string]: number | undefined;
|
|
115
|
+
} | null | undefined;
|
|
132
116
|
} | null | undefined;
|
|
133
117
|
readonly assets?: {
|
|
134
118
|
readonly logoUrl?: string | null | undefined;
|
|
135
119
|
readonly logoDarkUrl?: string | null | undefined;
|
|
136
120
|
readonly iconUrl?: string | null | undefined;
|
|
137
121
|
} | null | undefined;
|
|
138
|
-
} | null;
|
|
139
|
-
}) => import("effect/Effect").Effect<{
|
|
140
|
-
readonly design: {
|
|
141
122
|
readonly footer?: {
|
|
123
|
+
readonly companyName?: string | null | undefined;
|
|
142
124
|
readonly address?: {
|
|
143
|
-
readonly region: string;
|
|
144
125
|
readonly street1: string;
|
|
126
|
+
readonly street2?: string | null | undefined;
|
|
145
127
|
readonly city: string;
|
|
128
|
+
readonly region: string;
|
|
146
129
|
readonly postalCode: string;
|
|
147
130
|
readonly country: string;
|
|
148
|
-
|
|
149
|
-
} | null;
|
|
150
|
-
readonly companyName?: string | null;
|
|
131
|
+
} | null | undefined;
|
|
151
132
|
readonly socialLinks?: readonly {
|
|
152
133
|
readonly label: string;
|
|
153
134
|
readonly url: string;
|
|
154
|
-
}[] | null;
|
|
155
|
-
readonly customHtml?: string | null;
|
|
156
|
-
} | null;
|
|
135
|
+
}[] | null | undefined;
|
|
136
|
+
readonly customHtml?: string | null | undefined;
|
|
137
|
+
} | null | undefined;
|
|
138
|
+
} | null;
|
|
139
|
+
}) => import("effect/Effect").Effect<{
|
|
140
|
+
readonly design: {
|
|
157
141
|
readonly theme?: {
|
|
158
|
-
readonly text?: {
|
|
159
|
-
readonly [x: string]: {
|
|
160
|
-
readonly sizePx: number;
|
|
161
|
-
readonly lineHeightPx: number;
|
|
162
|
-
};
|
|
163
|
-
} | null;
|
|
164
|
-
readonly tracking?: {
|
|
165
|
-
readonly [x: string]: number;
|
|
166
|
-
} | null;
|
|
167
142
|
readonly colors?: {
|
|
168
143
|
readonly [x: string]: string;
|
|
169
144
|
} | null;
|
|
@@ -175,12 +150,12 @@ export declare const update: (input: {
|
|
|
175
150
|
} | null;
|
|
176
151
|
readonly fontFamilies?: {
|
|
177
152
|
readonly [x: string]: {
|
|
153
|
+
readonly source: "custom" | "google" | "system";
|
|
178
154
|
readonly family: string;
|
|
179
|
-
readonly source: "system" | "google" | "custom";
|
|
180
155
|
readonly fallback: string;
|
|
181
156
|
readonly faces?: readonly {
|
|
182
|
-
readonly style: "normal" | "italic";
|
|
183
157
|
readonly weight: number;
|
|
158
|
+
readonly style: "italic" | "normal";
|
|
184
159
|
readonly src: string;
|
|
185
160
|
readonly unicodeRange?: string | null;
|
|
186
161
|
}[] | null;
|
|
@@ -189,6 +164,12 @@ export declare const update: (input: {
|
|
|
189
164
|
readonly fontWeights?: {
|
|
190
165
|
readonly [x: string]: number;
|
|
191
166
|
} | null;
|
|
167
|
+
readonly text?: {
|
|
168
|
+
readonly [x: string]: {
|
|
169
|
+
readonly sizePx: number;
|
|
170
|
+
readonly lineHeightPx: number;
|
|
171
|
+
};
|
|
172
|
+
} | null;
|
|
192
173
|
readonly leading?: {
|
|
193
174
|
readonly [x: string]: number;
|
|
194
175
|
} | null;
|
|
@@ -196,14 +177,33 @@ export declare const update: (input: {
|
|
|
196
177
|
readonly containerPx?: {
|
|
197
178
|
readonly [x: string]: number;
|
|
198
179
|
} | null;
|
|
180
|
+
readonly tracking?: {
|
|
181
|
+
readonly [x: string]: number;
|
|
182
|
+
} | null;
|
|
199
183
|
} | null;
|
|
200
184
|
readonly assets?: {
|
|
201
185
|
readonly logoUrl?: string | null;
|
|
202
186
|
readonly logoDarkUrl?: string | null;
|
|
203
187
|
readonly iconUrl?: string | null;
|
|
204
188
|
} | null;
|
|
189
|
+
readonly footer?: {
|
|
190
|
+
readonly companyName?: string | null;
|
|
191
|
+
readonly address?: {
|
|
192
|
+
readonly street1: string;
|
|
193
|
+
readonly street2?: string | null;
|
|
194
|
+
readonly city: string;
|
|
195
|
+
readonly region: string;
|
|
196
|
+
readonly postalCode: string;
|
|
197
|
+
readonly country: string;
|
|
198
|
+
} | null;
|
|
199
|
+
readonly socialLinks?: readonly {
|
|
200
|
+
readonly label: string;
|
|
201
|
+
readonly url: string;
|
|
202
|
+
}[] | null;
|
|
203
|
+
readonly customHtml?: string | null;
|
|
204
|
+
} | null;
|
|
205
205
|
} | null;
|
|
206
206
|
readonly footerCompleteness: {
|
|
207
207
|
readonly missingAddress: boolean;
|
|
208
208
|
};
|
|
209
|
-
}, import("
|
|
209
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
package/dist/effect/design.js
CHANGED
|
@@ -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/design.ts
|
|
4
4
|
var design_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
get: () => get,
|