samva 0.3.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 +5 -1
- package/dist/client/sdk.gen.d.ts +167 -184
- package/dist/client/types.gen.d.ts +1362 -662
- package/dist/{client-BOghX8fr.js → client-BmZK_uCt.js} +1797 -935
- 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 +253 -219
- 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 +225 -225
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.d.ts +293 -293
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/design.d.ts +76 -76
- package/dist/effect/design.js +1 -1
- package/dist/effect/email.d.ts +225 -213
- package/dist/effect/email.js +2 -2
- package/dist/effect/generated.d.ts +12174 -11888
- package/dist/effect/index.js +1 -1
- package/dist/effect/internal/client.d.ts +1 -1
- package/dist/effect/internal/operation.d.ts +20 -19
- package/dist/effect/media.d.ts +9 -9
- package/dist/effect/media.js +1 -1
- package/dist/effect/messages.d.ts +64 -61
- 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 -162
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/runtime.d.ts +0 -2
- package/dist/effect/scheduled-messages.d.ts +290 -276
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/templates.d.ts +1371 -1554
- package/dist/effect/templates.js +40 -30
- package/dist/effect/webhooks.d.ts +47 -47
- package/dist/effect/webhooks.js +2 -2
- package/dist/index.js +1 -1
- package/dist/{normalize-BKFjbR9t.js → normalize-BiIJnycv.js} +2 -3
- package/dist/{operation-C2Q4cFJL.js → operation-B1knNlxk.js} +65 -38
- package/dist/promises/index.d.ts +10 -8
- package/dist/promises/index.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/{promises-oiy7mOyu.js → promises-n1opem5V.js} +293 -262
- package/dist/service-map.d.ts +70 -44
- package/package.json +13 -14
|
@@ -17,32 +17,7 @@ export declare const bootstrap: (input: {
|
|
|
17
17
|
readonly [x: string]: import("./generated").JsonValue;
|
|
18
18
|
} | null;
|
|
19
19
|
readonly design: {
|
|
20
|
-
readonly footer?: {
|
|
21
|
-
readonly address?: {
|
|
22
|
-
readonly country: string;
|
|
23
|
-
readonly city: string;
|
|
24
|
-
readonly street1: string;
|
|
25
|
-
readonly region: string;
|
|
26
|
-
readonly postalCode: string;
|
|
27
|
-
readonly street2?: string | null;
|
|
28
|
-
} | null;
|
|
29
|
-
readonly companyName?: string | null;
|
|
30
|
-
readonly socialLinks?: readonly {
|
|
31
|
-
readonly label: string;
|
|
32
|
-
readonly url: string;
|
|
33
|
-
}[] | null;
|
|
34
|
-
readonly customHtml?: string | null;
|
|
35
|
-
} | null;
|
|
36
20
|
readonly theme?: {
|
|
37
|
-
readonly text?: {
|
|
38
|
-
readonly [x: string]: {
|
|
39
|
-
readonly sizePx: number;
|
|
40
|
-
readonly lineHeightPx: number;
|
|
41
|
-
};
|
|
42
|
-
} | null;
|
|
43
|
-
readonly tracking?: {
|
|
44
|
-
readonly [x: string]: number;
|
|
45
|
-
} | null;
|
|
46
21
|
readonly colors?: {
|
|
47
22
|
readonly [x: string]: string;
|
|
48
23
|
} | null;
|
|
@@ -54,12 +29,12 @@ export declare const bootstrap: (input: {
|
|
|
54
29
|
} | null;
|
|
55
30
|
readonly fontFamilies?: {
|
|
56
31
|
readonly [x: string]: {
|
|
32
|
+
readonly source: "custom" | "google" | "system";
|
|
57
33
|
readonly family: string;
|
|
58
|
-
readonly source: "system" | "google" | "custom";
|
|
59
34
|
readonly fallback: string;
|
|
60
35
|
readonly faces?: readonly {
|
|
61
|
-
readonly style: "normal" | "italic";
|
|
62
36
|
readonly weight: number;
|
|
37
|
+
readonly style: "italic" | "normal";
|
|
63
38
|
readonly src: string;
|
|
64
39
|
readonly unicodeRange?: string | null;
|
|
65
40
|
}[] | null;
|
|
@@ -68,6 +43,12 @@ export declare const bootstrap: (input: {
|
|
|
68
43
|
readonly fontWeights?: {
|
|
69
44
|
readonly [x: string]: number;
|
|
70
45
|
} | null;
|
|
46
|
+
readonly text?: {
|
|
47
|
+
readonly [x: string]: {
|
|
48
|
+
readonly sizePx: number;
|
|
49
|
+
readonly lineHeightPx: number;
|
|
50
|
+
};
|
|
51
|
+
} | null;
|
|
71
52
|
readonly leading?: {
|
|
72
53
|
readonly [x: string]: number;
|
|
73
54
|
} | null;
|
|
@@ -75,12 +56,31 @@ export declare const bootstrap: (input: {
|
|
|
75
56
|
readonly containerPx?: {
|
|
76
57
|
readonly [x: string]: number;
|
|
77
58
|
} | null;
|
|
59
|
+
readonly tracking?: {
|
|
60
|
+
readonly [x: string]: number;
|
|
61
|
+
} | null;
|
|
78
62
|
} | null;
|
|
79
63
|
readonly assets?: {
|
|
80
64
|
readonly logoUrl?: string | null;
|
|
81
65
|
readonly logoDarkUrl?: string | null;
|
|
82
66
|
readonly iconUrl?: string | null;
|
|
83
67
|
} | null;
|
|
68
|
+
readonly footer?: {
|
|
69
|
+
readonly companyName?: string | null;
|
|
70
|
+
readonly address?: {
|
|
71
|
+
readonly street1: string;
|
|
72
|
+
readonly street2?: string | null;
|
|
73
|
+
readonly city: string;
|
|
74
|
+
readonly region: string;
|
|
75
|
+
readonly postalCode: string;
|
|
76
|
+
readonly country: string;
|
|
77
|
+
} | null;
|
|
78
|
+
readonly socialLinks?: readonly {
|
|
79
|
+
readonly label: string;
|
|
80
|
+
readonly url: string;
|
|
81
|
+
}[] | null;
|
|
82
|
+
readonly customHtml?: string | null;
|
|
83
|
+
} | null;
|
|
84
84
|
} | null;
|
|
85
85
|
readonly replyToDefault: readonly string[] | null;
|
|
86
86
|
readonly defaultUnsubscribeGroupId: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
@@ -93,7 +93,7 @@ export declare const bootstrap: (input: {
|
|
|
93
93
|
readonly conversationsUsed: number;
|
|
94
94
|
readonly teamMembersUsed: number;
|
|
95
95
|
readonly messagesResetAt: string | null;
|
|
96
|
-
}, import("./generated").
|
|
96
|
+
}, import("./generated").BillingProviderError | 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>;
|
|
97
97
|
export declare const create: (input: {
|
|
98
98
|
readonly name: string;
|
|
99
99
|
}) => import("effect/Effect").Effect<{
|
|
@@ -113,32 +113,7 @@ export declare const create: (input: {
|
|
|
113
113
|
readonly [x: string]: import("./generated").JsonValue;
|
|
114
114
|
} | null;
|
|
115
115
|
readonly design: {
|
|
116
|
-
readonly footer?: {
|
|
117
|
-
readonly address?: {
|
|
118
|
-
readonly country: string;
|
|
119
|
-
readonly city: string;
|
|
120
|
-
readonly street1: string;
|
|
121
|
-
readonly region: string;
|
|
122
|
-
readonly postalCode: string;
|
|
123
|
-
readonly street2?: string | null;
|
|
124
|
-
} | null;
|
|
125
|
-
readonly companyName?: string | null;
|
|
126
|
-
readonly socialLinks?: readonly {
|
|
127
|
-
readonly label: string;
|
|
128
|
-
readonly url: string;
|
|
129
|
-
}[] | null;
|
|
130
|
-
readonly customHtml?: string | null;
|
|
131
|
-
} | null;
|
|
132
116
|
readonly theme?: {
|
|
133
|
-
readonly text?: {
|
|
134
|
-
readonly [x: string]: {
|
|
135
|
-
readonly sizePx: number;
|
|
136
|
-
readonly lineHeightPx: number;
|
|
137
|
-
};
|
|
138
|
-
} | null;
|
|
139
|
-
readonly tracking?: {
|
|
140
|
-
readonly [x: string]: number;
|
|
141
|
-
} | null;
|
|
142
117
|
readonly colors?: {
|
|
143
118
|
readonly [x: string]: string;
|
|
144
119
|
} | null;
|
|
@@ -150,12 +125,12 @@ export declare const create: (input: {
|
|
|
150
125
|
} | null;
|
|
151
126
|
readonly fontFamilies?: {
|
|
152
127
|
readonly [x: string]: {
|
|
128
|
+
readonly source: "custom" | "google" | "system";
|
|
153
129
|
readonly family: string;
|
|
154
|
-
readonly source: "system" | "google" | "custom";
|
|
155
130
|
readonly fallback: string;
|
|
156
131
|
readonly faces?: readonly {
|
|
157
|
-
readonly style: "normal" | "italic";
|
|
158
132
|
readonly weight: number;
|
|
133
|
+
readonly style: "italic" | "normal";
|
|
159
134
|
readonly src: string;
|
|
160
135
|
readonly unicodeRange?: string | null;
|
|
161
136
|
}[] | null;
|
|
@@ -164,6 +139,12 @@ export declare const create: (input: {
|
|
|
164
139
|
readonly fontWeights?: {
|
|
165
140
|
readonly [x: string]: number;
|
|
166
141
|
} | null;
|
|
142
|
+
readonly text?: {
|
|
143
|
+
readonly [x: string]: {
|
|
144
|
+
readonly sizePx: number;
|
|
145
|
+
readonly lineHeightPx: number;
|
|
146
|
+
};
|
|
147
|
+
} | null;
|
|
167
148
|
readonly leading?: {
|
|
168
149
|
readonly [x: string]: number;
|
|
169
150
|
} | null;
|
|
@@ -171,12 +152,31 @@ export declare const create: (input: {
|
|
|
171
152
|
readonly containerPx?: {
|
|
172
153
|
readonly [x: string]: number;
|
|
173
154
|
} | null;
|
|
155
|
+
readonly tracking?: {
|
|
156
|
+
readonly [x: string]: number;
|
|
157
|
+
} | null;
|
|
174
158
|
} | null;
|
|
175
159
|
readonly assets?: {
|
|
176
160
|
readonly logoUrl?: string | null;
|
|
177
161
|
readonly logoDarkUrl?: string | null;
|
|
178
162
|
readonly iconUrl?: string | null;
|
|
179
163
|
} | null;
|
|
164
|
+
readonly footer?: {
|
|
165
|
+
readonly companyName?: string | null;
|
|
166
|
+
readonly address?: {
|
|
167
|
+
readonly street1: string;
|
|
168
|
+
readonly street2?: string | null;
|
|
169
|
+
readonly city: string;
|
|
170
|
+
readonly region: string;
|
|
171
|
+
readonly postalCode: string;
|
|
172
|
+
readonly country: string;
|
|
173
|
+
} | null;
|
|
174
|
+
readonly socialLinks?: readonly {
|
|
175
|
+
readonly label: string;
|
|
176
|
+
readonly url: string;
|
|
177
|
+
}[] | null;
|
|
178
|
+
readonly customHtml?: string | null;
|
|
179
|
+
} | null;
|
|
180
180
|
} | null;
|
|
181
181
|
readonly replyToDefault: readonly string[] | null;
|
|
182
182
|
readonly defaultUnsubscribeGroupId: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
@@ -189,7 +189,7 @@ export declare const create: (input: {
|
|
|
189
189
|
readonly conversationsUsed: number;
|
|
190
190
|
readonly teamMembersUsed: number;
|
|
191
191
|
readonly messagesResetAt: string | null;
|
|
192
|
-
}, import("./generated").
|
|
192
|
+
}, import("./generated").BillingProviderError | import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").PaymentRequiredError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
193
193
|
export declare const get: (_?: never) => import("effect/Effect").Effect<{
|
|
194
194
|
readonly id: string;
|
|
195
195
|
readonly billingAccountId: string;
|
|
@@ -207,32 +207,7 @@ export declare const get: (_?: never) => import("effect/Effect").Effect<{
|
|
|
207
207
|
readonly [x: string]: import("./generated").JsonValue;
|
|
208
208
|
} | null;
|
|
209
209
|
readonly design: {
|
|
210
|
-
readonly footer?: {
|
|
211
|
-
readonly address?: {
|
|
212
|
-
readonly country: string;
|
|
213
|
-
readonly city: string;
|
|
214
|
-
readonly street1: string;
|
|
215
|
-
readonly region: string;
|
|
216
|
-
readonly postalCode: string;
|
|
217
|
-
readonly street2?: string | null;
|
|
218
|
-
} | null;
|
|
219
|
-
readonly companyName?: string | null;
|
|
220
|
-
readonly socialLinks?: readonly {
|
|
221
|
-
readonly label: string;
|
|
222
|
-
readonly url: string;
|
|
223
|
-
}[] | null;
|
|
224
|
-
readonly customHtml?: string | null;
|
|
225
|
-
} | null;
|
|
226
210
|
readonly theme?: {
|
|
227
|
-
readonly text?: {
|
|
228
|
-
readonly [x: string]: {
|
|
229
|
-
readonly sizePx: number;
|
|
230
|
-
readonly lineHeightPx: number;
|
|
231
|
-
};
|
|
232
|
-
} | null;
|
|
233
|
-
readonly tracking?: {
|
|
234
|
-
readonly [x: string]: number;
|
|
235
|
-
} | null;
|
|
236
211
|
readonly colors?: {
|
|
237
212
|
readonly [x: string]: string;
|
|
238
213
|
} | null;
|
|
@@ -244,12 +219,12 @@ export declare const get: (_?: never) => import("effect/Effect").Effect<{
|
|
|
244
219
|
} | null;
|
|
245
220
|
readonly fontFamilies?: {
|
|
246
221
|
readonly [x: string]: {
|
|
222
|
+
readonly source: "custom" | "google" | "system";
|
|
247
223
|
readonly family: string;
|
|
248
|
-
readonly source: "system" | "google" | "custom";
|
|
249
224
|
readonly fallback: string;
|
|
250
225
|
readonly faces?: readonly {
|
|
251
|
-
readonly style: "normal" | "italic";
|
|
252
226
|
readonly weight: number;
|
|
227
|
+
readonly style: "italic" | "normal";
|
|
253
228
|
readonly src: string;
|
|
254
229
|
readonly unicodeRange?: string | null;
|
|
255
230
|
}[] | null;
|
|
@@ -258,6 +233,12 @@ export declare const get: (_?: never) => import("effect/Effect").Effect<{
|
|
|
258
233
|
readonly fontWeights?: {
|
|
259
234
|
readonly [x: string]: number;
|
|
260
235
|
} | null;
|
|
236
|
+
readonly text?: {
|
|
237
|
+
readonly [x: string]: {
|
|
238
|
+
readonly sizePx: number;
|
|
239
|
+
readonly lineHeightPx: number;
|
|
240
|
+
};
|
|
241
|
+
} | null;
|
|
261
242
|
readonly leading?: {
|
|
262
243
|
readonly [x: string]: number;
|
|
263
244
|
} | null;
|
|
@@ -265,12 +246,31 @@ export declare const get: (_?: never) => import("effect/Effect").Effect<{
|
|
|
265
246
|
readonly containerPx?: {
|
|
266
247
|
readonly [x: string]: number;
|
|
267
248
|
} | null;
|
|
249
|
+
readonly tracking?: {
|
|
250
|
+
readonly [x: string]: number;
|
|
251
|
+
} | null;
|
|
268
252
|
} | null;
|
|
269
253
|
readonly assets?: {
|
|
270
254
|
readonly logoUrl?: string | null;
|
|
271
255
|
readonly logoDarkUrl?: string | null;
|
|
272
256
|
readonly iconUrl?: string | null;
|
|
273
257
|
} | null;
|
|
258
|
+
readonly footer?: {
|
|
259
|
+
readonly companyName?: string | null;
|
|
260
|
+
readonly address?: {
|
|
261
|
+
readonly street1: string;
|
|
262
|
+
readonly street2?: string | null;
|
|
263
|
+
readonly city: string;
|
|
264
|
+
readonly region: string;
|
|
265
|
+
readonly postalCode: string;
|
|
266
|
+
readonly country: string;
|
|
267
|
+
} | null;
|
|
268
|
+
readonly socialLinks?: readonly {
|
|
269
|
+
readonly label: string;
|
|
270
|
+
readonly url: string;
|
|
271
|
+
}[] | null;
|
|
272
|
+
readonly customHtml?: string | null;
|
|
273
|
+
} | null;
|
|
274
274
|
} | null;
|
|
275
275
|
readonly replyToDefault: readonly string[] | null;
|
|
276
276
|
readonly defaultUnsubscribeGroupId: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
@@ -283,67 +283,44 @@ export declare const get: (_?: never) => import("effect/Effect").Effect<{
|
|
|
283
283
|
readonly conversationsUsed: number;
|
|
284
284
|
readonly teamMembersUsed: number;
|
|
285
285
|
readonly messagesResetAt: string | null;
|
|
286
|
-
}, import("./generated").
|
|
286
|
+
}, 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>;
|
|
287
287
|
export declare const update: (input?: {
|
|
288
288
|
readonly name?: string | null | undefined;
|
|
289
|
+
readonly slug?: string | null | undefined;
|
|
290
|
+
readonly billingEmail?: string | null | undefined;
|
|
291
|
+
readonly countryCode?: string | null | undefined;
|
|
292
|
+
readonly currency?: string | null | undefined;
|
|
293
|
+
readonly timezone?: string | null | undefined;
|
|
294
|
+
readonly isActive?: boolean | null | undefined;
|
|
289
295
|
readonly metadata?: {
|
|
290
296
|
readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | /*elided*/ any | {
|
|
291
297
|
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
292
298
|
} | null)[] | {
|
|
293
|
-
readonly [x: string]: string | number | boolean |
|
|
299
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
294
300
|
} | null)[] | {
|
|
295
|
-
readonly [x: string]: string | number | boolean |
|
|
301
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
296
302
|
} | null)[] | {
|
|
297
|
-
readonly [x: string]: string | number | boolean |
|
|
303
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
298
304
|
} | null)[] | {
|
|
299
|
-
readonly [x: string]: string | number | boolean |
|
|
305
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
300
306
|
} | null)[] | {
|
|
301
|
-
readonly [x: string]: string | number | boolean |
|
|
307
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
302
308
|
} | null)[] | {
|
|
303
|
-
readonly [x: string]: string | number | boolean |
|
|
309
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
304
310
|
} | null)[] | {
|
|
305
|
-
readonly [x: string]: string | number | boolean |
|
|
311
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
306
312
|
} | null)[] | {
|
|
307
|
-
readonly [x: string]: string | number | boolean |
|
|
313
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
308
314
|
} | null)[] | {
|
|
309
|
-
readonly [x: string]: string | number | boolean |
|
|
315
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
310
316
|
} | null)[] | {
|
|
311
|
-
readonly [x: string]: string | number | boolean |
|
|
317
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
312
318
|
} | null)[] | {
|
|
313
|
-
readonly [x: string]: string | number | boolean |
|
|
319
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
314
320
|
} | null | undefined;
|
|
315
321
|
} | null | undefined;
|
|
316
|
-
readonly timezone?: string | null | undefined;
|
|
317
|
-
readonly isActive?: boolean | null | undefined;
|
|
318
|
-
readonly slug?: string | null | undefined;
|
|
319
|
-
readonly currency?: string | null | undefined;
|
|
320
322
|
readonly design?: {
|
|
321
|
-
readonly footer?: {
|
|
322
|
-
readonly address?: {
|
|
323
|
-
readonly country: string;
|
|
324
|
-
readonly city: string;
|
|
325
|
-
readonly street1: string;
|
|
326
|
-
readonly region: string;
|
|
327
|
-
readonly postalCode: string;
|
|
328
|
-
readonly street2?: string | null | undefined;
|
|
329
|
-
} | null | undefined;
|
|
330
|
-
readonly companyName?: string | null | undefined;
|
|
331
|
-
readonly socialLinks?: readonly {
|
|
332
|
-
readonly label: string;
|
|
333
|
-
readonly url: string;
|
|
334
|
-
}[] | null | undefined;
|
|
335
|
-
readonly customHtml?: string | null | undefined;
|
|
336
|
-
} | null | undefined;
|
|
337
323
|
readonly theme?: {
|
|
338
|
-
readonly text?: {
|
|
339
|
-
readonly [x: string]: {
|
|
340
|
-
readonly sizePx: number;
|
|
341
|
-
readonly lineHeightPx: number;
|
|
342
|
-
} | undefined;
|
|
343
|
-
} | null | undefined;
|
|
344
|
-
readonly tracking?: {
|
|
345
|
-
readonly [x: string]: number | undefined;
|
|
346
|
-
} | null | undefined;
|
|
347
324
|
readonly colors?: {
|
|
348
325
|
readonly [x: string]: string | undefined;
|
|
349
326
|
} | null | undefined;
|
|
@@ -355,12 +332,12 @@ export declare const update: (input?: {
|
|
|
355
332
|
} | null | undefined;
|
|
356
333
|
readonly fontFamilies?: {
|
|
357
334
|
readonly [x: string]: {
|
|
358
|
-
readonly family: string;
|
|
359
335
|
readonly source: string;
|
|
336
|
+
readonly family: string;
|
|
360
337
|
readonly fallback: string;
|
|
361
338
|
readonly faces?: readonly {
|
|
362
|
-
readonly style: string;
|
|
363
339
|
readonly weight: number;
|
|
340
|
+
readonly style: string;
|
|
364
341
|
readonly src: string;
|
|
365
342
|
readonly unicodeRange?: string | null | undefined;
|
|
366
343
|
}[] | null | undefined;
|
|
@@ -369,6 +346,12 @@ export declare const update: (input?: {
|
|
|
369
346
|
readonly fontWeights?: {
|
|
370
347
|
readonly [x: string]: number | undefined;
|
|
371
348
|
} | null | undefined;
|
|
349
|
+
readonly text?: {
|
|
350
|
+
readonly [x: string]: {
|
|
351
|
+
readonly sizePx: number;
|
|
352
|
+
readonly lineHeightPx: number;
|
|
353
|
+
} | undefined;
|
|
354
|
+
} | null | undefined;
|
|
372
355
|
readonly leading?: {
|
|
373
356
|
readonly [x: string]: number | undefined;
|
|
374
357
|
} | null | undefined;
|
|
@@ -376,18 +359,35 @@ export declare const update: (input?: {
|
|
|
376
359
|
readonly containerPx?: {
|
|
377
360
|
readonly [x: string]: number | undefined;
|
|
378
361
|
} | null | undefined;
|
|
362
|
+
readonly tracking?: {
|
|
363
|
+
readonly [x: string]: number | undefined;
|
|
364
|
+
} | null | undefined;
|
|
379
365
|
} | null | undefined;
|
|
380
366
|
readonly assets?: {
|
|
381
367
|
readonly logoUrl?: string | null | undefined;
|
|
382
368
|
readonly logoDarkUrl?: string | null | undefined;
|
|
383
369
|
readonly iconUrl?: string | null | undefined;
|
|
384
370
|
} | null | undefined;
|
|
371
|
+
readonly footer?: {
|
|
372
|
+
readonly companyName?: string | null | undefined;
|
|
373
|
+
readonly address?: {
|
|
374
|
+
readonly street1: string;
|
|
375
|
+
readonly street2?: string | null | undefined;
|
|
376
|
+
readonly city: string;
|
|
377
|
+
readonly region: string;
|
|
378
|
+
readonly postalCode: string;
|
|
379
|
+
readonly country: string;
|
|
380
|
+
} | null | undefined;
|
|
381
|
+
readonly socialLinks?: readonly {
|
|
382
|
+
readonly label: string;
|
|
383
|
+
readonly url: string;
|
|
384
|
+
}[] | null | undefined;
|
|
385
|
+
readonly customHtml?: string | null | undefined;
|
|
386
|
+
} | null | undefined;
|
|
385
387
|
} | null | undefined;
|
|
386
|
-
readonly billingEmail?: string | null | undefined;
|
|
387
388
|
readonly replyToDefault?: readonly string[] | null | undefined;
|
|
388
389
|
readonly defaultUnsubscribeGroupId?: string | null | undefined;
|
|
389
390
|
readonly emailFooterEnabledDefault?: boolean | null | undefined;
|
|
390
|
-
readonly countryCode?: string | null | undefined;
|
|
391
391
|
} | undefined) => import("effect/Effect").Effect<{
|
|
392
392
|
readonly id: string;
|
|
393
393
|
readonly billingAccountId: string;
|
|
@@ -405,32 +405,7 @@ export declare const update: (input?: {
|
|
|
405
405
|
readonly [x: string]: import("./generated").JsonValue;
|
|
406
406
|
} | null;
|
|
407
407
|
readonly design: {
|
|
408
|
-
readonly footer?: {
|
|
409
|
-
readonly address?: {
|
|
410
|
-
readonly country: string;
|
|
411
|
-
readonly city: string;
|
|
412
|
-
readonly street1: string;
|
|
413
|
-
readonly region: string;
|
|
414
|
-
readonly postalCode: string;
|
|
415
|
-
readonly street2?: string | null;
|
|
416
|
-
} | null;
|
|
417
|
-
readonly companyName?: string | null;
|
|
418
|
-
readonly socialLinks?: readonly {
|
|
419
|
-
readonly label: string;
|
|
420
|
-
readonly url: string;
|
|
421
|
-
}[] | null;
|
|
422
|
-
readonly customHtml?: string | null;
|
|
423
|
-
} | null;
|
|
424
408
|
readonly theme?: {
|
|
425
|
-
readonly text?: {
|
|
426
|
-
readonly [x: string]: {
|
|
427
|
-
readonly sizePx: number;
|
|
428
|
-
readonly lineHeightPx: number;
|
|
429
|
-
};
|
|
430
|
-
} | null;
|
|
431
|
-
readonly tracking?: {
|
|
432
|
-
readonly [x: string]: number;
|
|
433
|
-
} | null;
|
|
434
409
|
readonly colors?: {
|
|
435
410
|
readonly [x: string]: string;
|
|
436
411
|
} | null;
|
|
@@ -442,12 +417,12 @@ export declare const update: (input?: {
|
|
|
442
417
|
} | null;
|
|
443
418
|
readonly fontFamilies?: {
|
|
444
419
|
readonly [x: string]: {
|
|
420
|
+
readonly source: "custom" | "google" | "system";
|
|
445
421
|
readonly family: string;
|
|
446
|
-
readonly source: "system" | "google" | "custom";
|
|
447
422
|
readonly fallback: string;
|
|
448
423
|
readonly faces?: readonly {
|
|
449
|
-
readonly style: "normal" | "italic";
|
|
450
424
|
readonly weight: number;
|
|
425
|
+
readonly style: "italic" | "normal";
|
|
451
426
|
readonly src: string;
|
|
452
427
|
readonly unicodeRange?: string | null;
|
|
453
428
|
}[] | null;
|
|
@@ -456,6 +431,12 @@ export declare const update: (input?: {
|
|
|
456
431
|
readonly fontWeights?: {
|
|
457
432
|
readonly [x: string]: number;
|
|
458
433
|
} | null;
|
|
434
|
+
readonly text?: {
|
|
435
|
+
readonly [x: string]: {
|
|
436
|
+
readonly sizePx: number;
|
|
437
|
+
readonly lineHeightPx: number;
|
|
438
|
+
};
|
|
439
|
+
} | null;
|
|
459
440
|
readonly leading?: {
|
|
460
441
|
readonly [x: string]: number;
|
|
461
442
|
} | null;
|
|
@@ -463,12 +444,31 @@ export declare const update: (input?: {
|
|
|
463
444
|
readonly containerPx?: {
|
|
464
445
|
readonly [x: string]: number;
|
|
465
446
|
} | null;
|
|
447
|
+
readonly tracking?: {
|
|
448
|
+
readonly [x: string]: number;
|
|
449
|
+
} | null;
|
|
466
450
|
} | null;
|
|
467
451
|
readonly assets?: {
|
|
468
452
|
readonly logoUrl?: string | null;
|
|
469
453
|
readonly logoDarkUrl?: string | null;
|
|
470
454
|
readonly iconUrl?: string | null;
|
|
471
455
|
} | null;
|
|
456
|
+
readonly footer?: {
|
|
457
|
+
readonly companyName?: string | null;
|
|
458
|
+
readonly address?: {
|
|
459
|
+
readonly street1: string;
|
|
460
|
+
readonly street2?: string | null;
|
|
461
|
+
readonly city: string;
|
|
462
|
+
readonly region: string;
|
|
463
|
+
readonly postalCode: string;
|
|
464
|
+
readonly country: string;
|
|
465
|
+
} | null;
|
|
466
|
+
readonly socialLinks?: readonly {
|
|
467
|
+
readonly label: string;
|
|
468
|
+
readonly url: string;
|
|
469
|
+
}[] | null;
|
|
470
|
+
readonly customHtml?: string | null;
|
|
471
|
+
} | null;
|
|
472
472
|
} | null;
|
|
473
473
|
readonly replyToDefault: readonly string[] | null;
|
|
474
474
|
readonly defaultUnsubscribeGroupId: (string & import("effect/Brand").Brand<"UnsubscribeId">) | null;
|
|
@@ -481,7 +481,7 @@ export declare const update: (input?: {
|
|
|
481
481
|
readonly conversationsUsed: number;
|
|
482
482
|
readonly teamMembersUsed: number;
|
|
483
483
|
readonly messagesResetAt: string | null;
|
|
484
|
-
}, import("./generated").
|
|
484
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("./generated").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
|
|
485
485
|
export declare const getUsage: (input?: {
|
|
486
486
|
readonly period?: string | null | undefined;
|
|
487
487
|
} | undefined) => import("effect/Effect").Effect<{
|
|
@@ -498,7 +498,7 @@ export declare const getUsage: (input?: {
|
|
|
498
498
|
readonly overageEmails: number | null;
|
|
499
499
|
readonly overageCost: number | null;
|
|
500
500
|
};
|
|
501
|
-
}, import("./generated").
|
|
501
|
+
}, import("./generated").ForbiddenError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError, import("./client").Service>;
|
|
502
502
|
declare const deleteOrganization: (input: {
|
|
503
503
|
readonly confirmationName: string;
|
|
504
504
|
} & {
|
|
@@ -513,13 +513,13 @@ declare const deleteOrganization: (input: {
|
|
|
513
513
|
readonly id: string;
|
|
514
514
|
};
|
|
515
515
|
readonly actor: {
|
|
516
|
-
readonly type: "
|
|
516
|
+
readonly type: "api-key" | "system" | "user";
|
|
517
517
|
readonly id: string;
|
|
518
518
|
};
|
|
519
|
-
readonly status: "
|
|
520
|
-
readonly phase: "accepted" | "
|
|
519
|
+
readonly status: "failed" | "pending" | "running" | "succeeded";
|
|
520
|
+
readonly phase: "accepted" | "completed" | "deleting" | "dispatching" | "finalizing" | "provisioning";
|
|
521
521
|
readonly error: {
|
|
522
|
-
readonly code: "
|
|
522
|
+
readonly code: "capacity-unavailable" | "conflict" | "internal" | "provider-rejected" | "provider-unavailable" | "timed-out" | "validation-failed";
|
|
523
523
|
readonly message: string;
|
|
524
524
|
} | null;
|
|
525
525
|
readonly createdAt: string;
|
|
@@ -537,5 +537,5 @@ declare const deleteOrganization: (input: {
|
|
|
537
537
|
readonly href: string;
|
|
538
538
|
};
|
|
539
539
|
};
|
|
540
|
-
}, import("./generated").
|
|
540
|
+
}, import("./generated").ConflictError | 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>;
|
|
541
541
|
export { deleteOrganization as delete };
|
|
@@ -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/organizations.ts
|
|
4
4
|
var organizations_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
bootstrap: () => bootstrap,
|
package/dist/effect/runtime.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
/** Decode wire secrets to redacted values and require redacted values when encoding. */
|
|
3
|
-
export declare const Sensitive: <A, E, RD, RE>(schema: Schema.Codec<A, E, RD, RE>) => Schema.RedactedFromValue<Schema.Codec<A, E, RD, RE>>;
|
|
4
2
|
export declare const SensitiveString: Schema.RedactedFromValue<Schema.Codec<string, string, never, never>>;
|
|
5
3
|
export type SensitiveString = typeof SensitiveString.Type;
|
|
6
4
|
export declare const AbsoluteInstant: Schema.decodeTo<Schema.Date, Schema.String, never, never>;
|