samva 0.0.1 → 0.2.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 +13 -0
- package/LICENSE +21 -0
- package/README.md +392 -5
- package/dist/categories-CsUa8ojo.js +143 -0
- package/dist/client/client/client.gen.d.ts +2 -0
- package/dist/client/client/index.d.ts +10 -0
- package/dist/client/client/types.gen.d.ts +120 -0
- package/dist/client/client/utils.gen.d.ts +37 -0
- package/dist/client/client.gen.d.ts +12 -0
- package/dist/client/core/auth.gen.d.ts +25 -0
- package/dist/client/core/bodySerializer.gen.d.ts +25 -0
- package/dist/client/core/params.gen.d.ts +43 -0
- package/dist/client/core/pathSerializer.gen.d.ts +33 -0
- package/dist/client/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/client/core/types.gen.d.ts +83 -0
- package/dist/client/core/utils.gen.d.ts +19 -0
- package/dist/client/sdk.gen.d.ts +1558 -0
- package/dist/client/types.gen.d.ts +7917 -0
- package/dist/client-BqkU-sFv.js +6049 -0
- package/dist/effect/api-keys.d.ts +190 -0
- package/dist/effect/api-keys.js +27 -0
- package/dist/effect/campaigns.d.ts +2055 -0
- package/dist/effect/campaigns.js +33 -0
- package/dist/effect/categories.d.ts +65 -0
- package/dist/effect/categories.js +2 -0
- package/dist/effect/client.d.ts +9 -0
- package/dist/effect/client.js +13 -0
- package/dist/effect/contacts.d.ts +1278 -0
- package/dist/effect/contacts.js +39 -0
- package/dist/effect/conversations.d.ts +1604 -0
- package/dist/effect/conversations.js +23 -0
- package/dist/effect/design.d.ts +209 -0
- package/dist/effect/design.js +13 -0
- package/dist/effect/email.d.ts +1022 -0
- package/dist/effect/email.js +111 -0
- package/dist/effect/generated-metadata.d.ts +54 -0
- package/dist/effect/generated.d.ts +32156 -0
- package/dist/effect/index.d.ts +36 -0
- package/dist/effect/index.js +17 -0
- package/dist/effect/internal/client.d.ts +35 -0
- package/dist/effect/internal/operation.d.ts +466 -0
- package/dist/effect/messages.d.ts +1047 -0
- package/dist/effect/messages.js +23 -0
- package/dist/effect/operations.d.ts +97 -0
- package/dist/effect/operations.js +15 -0
- package/dist/effect/organizations.d.ts +559 -0
- package/dist/effect/organizations.js +21 -0
- package/dist/effect/pagination.d.ts +37 -0
- package/dist/effect/retry.d.ts +60 -0
- package/dist/effect/retry.js +112 -0
- package/dist/effect/runtime.d.ts +7 -0
- package/dist/effect/scheduled-messages.d.ts +1009 -0
- package/dist/effect/scheduled-messages.js +17 -0
- package/dist/effect/templates.d.ts +2591 -0
- package/dist/effect/templates.js +66 -0
- package/dist/effect/webhooks.d.ts +228 -0
- package/dist/effect/webhooks.js +33 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/normalize-LkWl4HUF.js +82 -0
- package/dist/normalize.d.ts +87 -0
- package/dist/operation-Ccqh_yxb.js +596 -0
- package/dist/promises/errors.gen.d.ts +179 -0
- package/dist/promises/index.d.ts +153 -0
- package/dist/promises/index.js +2 -0
- package/dist/promises/types.gen.d.ts +1 -0
- package/dist/promises-Dgv8UmCC.js +5911 -0
- package/dist/rolldown-runtime-D7D4PA-g.js +13 -0
- package/dist/service-map.d.ts +732 -0
- package/dist/webhooks/effect.d.ts +1 -0
- package/dist/webhooks/effect.js +1 -0
- package/dist/webhooks/promise.d.ts +1 -0
- package/dist/webhooks/promise.js +1 -0
- package/package.json +151 -4
- package/CLAUDE.md +0 -111
- package/bun.lock +0 -29
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
+
import { n as make } from "../operation-Ccqh_yxb.js";
|
|
3
|
+
//#region src/effect/conversations.ts
|
|
4
|
+
var conversations_exports = /* @__PURE__ */ __exportAll({
|
|
5
|
+
addContacts: () => addContacts,
|
|
6
|
+
create: () => create,
|
|
7
|
+
getById: () => getById,
|
|
8
|
+
list: () => list,
|
|
9
|
+
listMessages: () => listMessages,
|
|
10
|
+
removeContacts: () => removeContacts,
|
|
11
|
+
update: () => update
|
|
12
|
+
});
|
|
13
|
+
const list = make("conversationsList");
|
|
14
|
+
const create = make("conversationsCreate");
|
|
15
|
+
const getById = make("conversationsGetById");
|
|
16
|
+
const listMessages = make("conversationsListMessages");
|
|
17
|
+
const update = make("conversationsUpdate");
|
|
18
|
+
const addContacts = make("conversationsAddContacts");
|
|
19
|
+
const removeContacts = make("conversationsRemoveContacts");
|
|
20
|
+
//#endregion
|
|
21
|
+
export { addContacts, create, getById, list, listMessages, removeContacts, conversations_exports as t, update };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=conversations.js.map
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
export declare const get: (_?: never) => import("effect/Effect").Effect<{
|
|
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
|
+
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
|
+
readonly colors?: {
|
|
30
|
+
readonly [x: string]: string;
|
|
31
|
+
} | null;
|
|
32
|
+
readonly colorsDark?: {
|
|
33
|
+
readonly [x: string]: string;
|
|
34
|
+
} | null;
|
|
35
|
+
readonly radiusPx?: {
|
|
36
|
+
readonly [x: string]: number;
|
|
37
|
+
} | null;
|
|
38
|
+
readonly fontFamilies?: {
|
|
39
|
+
readonly [x: string]: {
|
|
40
|
+
readonly family: string;
|
|
41
|
+
readonly source: "system" | "google" | "custom";
|
|
42
|
+
readonly fallback: string;
|
|
43
|
+
readonly faces?: readonly {
|
|
44
|
+
readonly style: "normal" | "italic";
|
|
45
|
+
readonly weight: number;
|
|
46
|
+
readonly src: string;
|
|
47
|
+
readonly unicodeRange?: string | null;
|
|
48
|
+
}[] | null;
|
|
49
|
+
};
|
|
50
|
+
} | null;
|
|
51
|
+
readonly fontWeights?: {
|
|
52
|
+
readonly [x: string]: number;
|
|
53
|
+
} | null;
|
|
54
|
+
readonly leading?: {
|
|
55
|
+
readonly [x: string]: number;
|
|
56
|
+
} | null;
|
|
57
|
+
readonly spacingPx?: number | null;
|
|
58
|
+
readonly containerPx?: {
|
|
59
|
+
readonly [x: string]: number;
|
|
60
|
+
} | null;
|
|
61
|
+
} | null;
|
|
62
|
+
readonly assets?: {
|
|
63
|
+
readonly logoUrl?: string | null;
|
|
64
|
+
readonly logoDarkUrl?: string | null;
|
|
65
|
+
readonly iconUrl?: string | null;
|
|
66
|
+
} | 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
|
+
readonly footer?: {
|
|
75
|
+
readonly address?: {
|
|
76
|
+
readonly region: string;
|
|
77
|
+
readonly street1: string;
|
|
78
|
+
readonly city: string;
|
|
79
|
+
readonly postalCode: string;
|
|
80
|
+
readonly country: string;
|
|
81
|
+
readonly street2?: string | null | undefined;
|
|
82
|
+
} | null | undefined;
|
|
83
|
+
readonly companyName?: string | null | undefined;
|
|
84
|
+
readonly socialLinks?: readonly {
|
|
85
|
+
readonly label: string;
|
|
86
|
+
readonly url: string;
|
|
87
|
+
}[] | null | undefined;
|
|
88
|
+
readonly customHtml?: string | null | undefined;
|
|
89
|
+
} | null | undefined;
|
|
90
|
+
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
|
+
readonly colors?: {
|
|
101
|
+
readonly [x: string]: string | undefined;
|
|
102
|
+
} | null | undefined;
|
|
103
|
+
readonly colorsDark?: {
|
|
104
|
+
readonly [x: string]: string | undefined;
|
|
105
|
+
} | null | undefined;
|
|
106
|
+
readonly radiusPx?: {
|
|
107
|
+
readonly [x: string]: number | undefined;
|
|
108
|
+
} | null | undefined;
|
|
109
|
+
readonly fontFamilies?: {
|
|
110
|
+
readonly [x: string]: {
|
|
111
|
+
readonly family: string;
|
|
112
|
+
readonly source: string;
|
|
113
|
+
readonly fallback: string;
|
|
114
|
+
readonly faces?: readonly {
|
|
115
|
+
readonly style: string;
|
|
116
|
+
readonly weight: number;
|
|
117
|
+
readonly src: string;
|
|
118
|
+
readonly unicodeRange?: string | null | undefined;
|
|
119
|
+
}[] | null | undefined;
|
|
120
|
+
} | undefined;
|
|
121
|
+
} | null | undefined;
|
|
122
|
+
readonly fontWeights?: {
|
|
123
|
+
readonly [x: string]: number | undefined;
|
|
124
|
+
} | null | undefined;
|
|
125
|
+
readonly leading?: {
|
|
126
|
+
readonly [x: string]: number | undefined;
|
|
127
|
+
} | null | undefined;
|
|
128
|
+
readonly spacingPx?: number | null | undefined;
|
|
129
|
+
readonly containerPx?: {
|
|
130
|
+
readonly [x: string]: number | undefined;
|
|
131
|
+
} | null | undefined;
|
|
132
|
+
} | null | undefined;
|
|
133
|
+
readonly assets?: {
|
|
134
|
+
readonly logoUrl?: string | null | undefined;
|
|
135
|
+
readonly logoDarkUrl?: string | null | undefined;
|
|
136
|
+
readonly iconUrl?: string | null | undefined;
|
|
137
|
+
} | null | undefined;
|
|
138
|
+
} | null;
|
|
139
|
+
}) => import("effect/Effect").Effect<{
|
|
140
|
+
readonly design: {
|
|
141
|
+
readonly footer?: {
|
|
142
|
+
readonly address?: {
|
|
143
|
+
readonly region: string;
|
|
144
|
+
readonly street1: string;
|
|
145
|
+
readonly city: string;
|
|
146
|
+
readonly postalCode: string;
|
|
147
|
+
readonly country: string;
|
|
148
|
+
readonly street2?: string | null;
|
|
149
|
+
} | null;
|
|
150
|
+
readonly companyName?: string | null;
|
|
151
|
+
readonly socialLinks?: readonly {
|
|
152
|
+
readonly label: string;
|
|
153
|
+
readonly url: string;
|
|
154
|
+
}[] | null;
|
|
155
|
+
readonly customHtml?: string | null;
|
|
156
|
+
} | null;
|
|
157
|
+
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
|
+
readonly colors?: {
|
|
168
|
+
readonly [x: string]: string;
|
|
169
|
+
} | null;
|
|
170
|
+
readonly colorsDark?: {
|
|
171
|
+
readonly [x: string]: string;
|
|
172
|
+
} | null;
|
|
173
|
+
readonly radiusPx?: {
|
|
174
|
+
readonly [x: string]: number;
|
|
175
|
+
} | null;
|
|
176
|
+
readonly fontFamilies?: {
|
|
177
|
+
readonly [x: string]: {
|
|
178
|
+
readonly family: string;
|
|
179
|
+
readonly source: "system" | "google" | "custom";
|
|
180
|
+
readonly fallback: string;
|
|
181
|
+
readonly faces?: readonly {
|
|
182
|
+
readonly style: "normal" | "italic";
|
|
183
|
+
readonly weight: number;
|
|
184
|
+
readonly src: string;
|
|
185
|
+
readonly unicodeRange?: string | null;
|
|
186
|
+
}[] | null;
|
|
187
|
+
};
|
|
188
|
+
} | null;
|
|
189
|
+
readonly fontWeights?: {
|
|
190
|
+
readonly [x: string]: number;
|
|
191
|
+
} | null;
|
|
192
|
+
readonly leading?: {
|
|
193
|
+
readonly [x: string]: number;
|
|
194
|
+
} | null;
|
|
195
|
+
readonly spacingPx?: number | null;
|
|
196
|
+
readonly containerPx?: {
|
|
197
|
+
readonly [x: string]: number;
|
|
198
|
+
} | null;
|
|
199
|
+
} | null;
|
|
200
|
+
readonly assets?: {
|
|
201
|
+
readonly logoUrl?: string | null;
|
|
202
|
+
readonly logoDarkUrl?: string | null;
|
|
203
|
+
readonly iconUrl?: string | null;
|
|
204
|
+
} | null;
|
|
205
|
+
} | null;
|
|
206
|
+
readonly footerCompleteness: {
|
|
207
|
+
readonly missingAddress: boolean;
|
|
208
|
+
};
|
|
209
|
+
}, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").UnauthorizedError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
|
|
2
|
+
import { n as make } from "../operation-Ccqh_yxb.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
|