samva 0.6.0 → 0.7.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.
Files changed (50) hide show
  1. package/README.md +2 -2
  2. package/dist/{categories-4u9Az4No.js → categories-DvsHUJtX.js} +9 -1
  3. package/dist/client/sdk.gen.d.ts +91 -18
  4. package/dist/client/types.gen.d.ts +510 -94
  5. package/dist/{client-DCM6U0-I.js → client-5O8KsY5Z.js} +490 -165
  6. package/dist/{client-attribution-DYUSAa76.js → client-attribution-27MNycCV.js} +2 -2
  7. package/dist/effect/analytics.js +1 -1
  8. package/dist/effect/api-keys.js +1 -1
  9. package/dist/effect/attachments.js +1 -1
  10. package/dist/effect/brands.d.ts +212 -0
  11. package/dist/effect/brands.js +24 -0
  12. package/dist/effect/campaigns.d.ts +1 -1
  13. package/dist/effect/campaigns.js +1 -1
  14. package/dist/effect/categories.js +1 -1
  15. package/dist/effect/client.js +1 -1
  16. package/dist/effect/contact-groups.js +1 -1
  17. package/dist/effect/contacts.js +1 -1
  18. package/dist/effect/conversations.d.ts +12 -3
  19. package/dist/effect/conversations.js +1 -1
  20. package/dist/effect/custom-fields.js +1 -1
  21. package/dist/effect/email.d.ts +17 -6
  22. package/dist/effect/email.js +2 -2
  23. package/dist/effect/generated-metadata.d.ts +8 -0
  24. package/dist/effect/generated.d.ts +2742 -1810
  25. package/dist/effect/index.d.ts +2 -2
  26. package/dist/effect/index.js +4 -4
  27. package/dist/effect/internal/operation.d.ts +10 -4
  28. package/dist/effect/media.js +1 -1
  29. package/dist/effect/messages.d.ts +22 -6
  30. package/dist/effect/messages.js +1 -1
  31. package/dist/effect/operations.js +1 -1
  32. package/dist/effect/organizations.d.ts +0 -264
  33. package/dist/effect/organizations.js +1 -1
  34. package/dist/effect/retry.js +1 -1
  35. package/dist/effect/scheduled-messages.js +1 -1
  36. package/dist/effect/templates.d.ts +230 -0
  37. package/dist/effect/templates.js +7 -3
  38. package/dist/effect/unsubscribe-groups.js +1 -1
  39. package/dist/effect/webhooks.js +2 -2
  40. package/dist/index.js +2 -2
  41. package/dist/{operation-02YX3hY9.js → operation-Cb5V9FJ7.js} +29 -5
  42. package/dist/promises/errors.gen.d.ts +22 -4
  43. package/dist/promises/index.d.ts +3 -3
  44. package/dist/promises/index.js +2 -2
  45. package/dist/promises/types.gen.d.ts +1 -1
  46. package/dist/{promises-8MaPNAam.js → promises-C2yyw-pf.js} +329 -36
  47. package/dist/service-map.d.ts +36 -6
  48. package/package.json +7 -7
  49. package/dist/effect/design.d.ts +0 -209
  50. package/dist/effect/design.js +0 -13
@@ -1,209 +0,0 @@
1
- export declare const get: (_?: never) => import("effect/Effect").Effect<{
2
- readonly design: {
3
- readonly theme?: {
4
- readonly colors?: {
5
- readonly [x: string]: string;
6
- } | null;
7
- readonly colorsDark?: {
8
- readonly [x: string]: string;
9
- } | null;
10
- readonly radiusPx?: {
11
- readonly [x: string]: number;
12
- } | null;
13
- readonly fontFamilies?: {
14
- readonly [x: string]: {
15
- readonly source: "custom" | "google" | "system";
16
- readonly family: string;
17
- readonly fallback: string;
18
- readonly faces?: readonly {
19
- readonly weight: number;
20
- readonly style: "italic" | "normal";
21
- readonly src: string;
22
- readonly unicodeRange?: string | null;
23
- }[] | null;
24
- };
25
- } | null;
26
- readonly fontWeights?: {
27
- readonly [x: string]: number;
28
- } | null;
29
- readonly text?: {
30
- readonly [x: string]: {
31
- readonly sizePx: number;
32
- readonly lineHeightPx: number;
33
- };
34
- } | null;
35
- readonly leading?: {
36
- readonly [x: string]: number;
37
- } | null;
38
- readonly spacingPx?: number | null;
39
- readonly containerPx?: {
40
- readonly [x: string]: number;
41
- } | null;
42
- readonly tracking?: {
43
- readonly [x: string]: number;
44
- } | null;
45
- } | null;
46
- readonly assets?: {
47
- readonly logoUrl?: string | null;
48
- readonly logoDarkUrl?: string | null;
49
- readonly iconUrl?: string | null;
50
- } | null;
51
- readonly footer?: {
52
- readonly companyName?: string | null;
53
- readonly address?: {
54
- readonly street1: string;
55
- readonly street2?: string | null;
56
- readonly city: string;
57
- readonly region: string;
58
- readonly postalCode: string;
59
- readonly country: string;
60
- } | null;
61
- readonly socialLinks?: readonly {
62
- readonly label: string;
63
- readonly url: string;
64
- }[] | null;
65
- readonly customHtml?: string | null;
66
- } | null;
67
- } | null;
68
- readonly footerCompleteness: {
69
- readonly missingAddress: boolean;
70
- };
71
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | 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: {
74
- readonly theme?: {
75
- readonly colors?: {
76
- readonly [x: string]: string | undefined;
77
- } | null | undefined;
78
- readonly colorsDark?: {
79
- readonly [x: string]: string | undefined;
80
- } | null | undefined;
81
- readonly radiusPx?: {
82
- readonly [x: string]: number | undefined;
83
- } | null | undefined;
84
- readonly fontFamilies?: {
85
- readonly [x: string]: {
86
- readonly source: string;
87
- readonly family: string;
88
- readonly fallback: string;
89
- readonly faces?: readonly {
90
- readonly weight: number;
91
- readonly style: string;
92
- readonly src: string;
93
- readonly unicodeRange?: string | null | undefined;
94
- }[] | null | undefined;
95
- } | undefined;
96
- } | null | undefined;
97
- readonly fontWeights?: {
98
- readonly [x: string]: number | undefined;
99
- } | null | undefined;
100
- readonly text?: {
101
- readonly [x: string]: {
102
- readonly sizePx: number;
103
- readonly lineHeightPx: number;
104
- } | undefined;
105
- } | null | undefined;
106
- readonly leading?: {
107
- readonly [x: string]: number | undefined;
108
- } | null | undefined;
109
- readonly spacingPx?: number | null | undefined;
110
- readonly containerPx?: {
111
- readonly [x: string]: number | undefined;
112
- } | null | undefined;
113
- readonly tracking?: {
114
- readonly [x: string]: number | undefined;
115
- } | null | undefined;
116
- } | null | undefined;
117
- readonly assets?: {
118
- readonly logoUrl?: string | null | undefined;
119
- readonly logoDarkUrl?: string | null | undefined;
120
- readonly iconUrl?: string | null | undefined;
121
- } | null | undefined;
122
- readonly footer?: {
123
- readonly companyName?: string | null | undefined;
124
- readonly address?: {
125
- readonly street1: string;
126
- readonly street2?: string | null | undefined;
127
- readonly city: string;
128
- readonly region: string;
129
- readonly postalCode: string;
130
- readonly country: string;
131
- } | null | undefined;
132
- readonly socialLinks?: readonly {
133
- readonly label: string;
134
- readonly url: string;
135
- }[] | null | undefined;
136
- readonly customHtml?: string | null | undefined;
137
- } | null | undefined;
138
- } | null;
139
- }) => import("effect/Effect").Effect<{
140
- readonly design: {
141
- readonly theme?: {
142
- readonly colors?: {
143
- readonly [x: string]: string;
144
- } | null;
145
- readonly colorsDark?: {
146
- readonly [x: string]: string;
147
- } | null;
148
- readonly radiusPx?: {
149
- readonly [x: string]: number;
150
- } | null;
151
- readonly fontFamilies?: {
152
- readonly [x: string]: {
153
- readonly source: "custom" | "google" | "system";
154
- readonly family: string;
155
- readonly fallback: string;
156
- readonly faces?: readonly {
157
- readonly weight: number;
158
- readonly style: "italic" | "normal";
159
- readonly src: string;
160
- readonly unicodeRange?: string | null;
161
- }[] | null;
162
- };
163
- } | null;
164
- readonly fontWeights?: {
165
- readonly [x: string]: number;
166
- } | null;
167
- readonly text?: {
168
- readonly [x: string]: {
169
- readonly sizePx: number;
170
- readonly lineHeightPx: number;
171
- };
172
- } | null;
173
- readonly leading?: {
174
- readonly [x: string]: number;
175
- } | null;
176
- readonly spacingPx?: number | null;
177
- readonly containerPx?: {
178
- readonly [x: string]: number;
179
- } | null;
180
- readonly tracking?: {
181
- readonly [x: string]: number;
182
- } | null;
183
- } | null;
184
- readonly assets?: {
185
- readonly logoUrl?: string | null;
186
- readonly logoDarkUrl?: string | null;
187
- readonly iconUrl?: string | null;
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
- } | null;
206
- readonly footerCompleteness: {
207
- readonly missingAddress: boolean;
208
- };
209
- }, import("./generated").ForbiddenError | import("./generated").GatewayTimeoutError | import("effect/unstable/http/HttpClientError").HttpClientError | import("./generated").InternalError | import("effect/Schema").SchemaError | import("./generated").UnauthorizedError | import("./generated").ValidationError, import("./client").Service>;
@@ -1,13 +0,0 @@
1
- import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
2
- import { n as make } from "../operation-02YX3hY9.js";
3
- //#region src/effect/design.ts
4
- var design_exports = /* @__PURE__ */ __exportAll({
5
- get: () => get,
6
- update: () => update
7
- });
8
- const get = make("designGet");
9
- const update = make("designUpdate");
10
- //#endregion
11
- export { get, design_exports as t, update };
12
-
13
- //# sourceMappingURL=design.js.map