samva 0.44.0 → 0.45.1
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 +3 -0
- package/README.md +4 -0
- package/dist/client/sdk.gen.d.ts +281 -1
- package/dist/client/sdk.gen.js +856 -1
- package/dist/client/types.gen.d.ts +1858 -46
- package/dist/effect/agents.d.ts +86 -86
- package/dist/effect/agents.js +2 -2
- package/dist/effect/api-keys.d.ts +36 -36
- package/dist/effect/api-keys.js +2 -2
- package/dist/effect/attachments.d.ts +3 -3
- package/dist/effect/attachments.js +1 -1
- package/dist/effect/campaigns.d.ts +250 -250
- package/dist/effect/campaigns.js +3 -3
- package/dist/effect/categories.d.ts +23 -5
- package/dist/effect/categories.js +11 -20
- package/dist/effect/contact-groups.d.ts +44 -44
- package/dist/effect/contact-groups.js +3 -3
- package/dist/effect/contacts.d.ts +3 -3
- package/dist/effect/contacts.js +1 -1
- package/dist/effect/conversations.d.ts +53 -53
- package/dist/effect/conversations.js +1 -1
- package/dist/effect/email.d.ts +97 -97
- package/dist/effect/email.js +21 -21
- package/dist/effect/errors.d.ts +1 -1
- package/dist/effect/errors.js +2 -2
- package/dist/effect/extension-installations.d.ts +6 -6
- package/dist/effect/extension-installations.js +1 -1
- package/dist/effect/generated/analytics.d.ts +6 -0
- package/dist/effect/generated/analytics.js +4 -2
- package/dist/effect/generated/index.d.ts +9 -1
- package/dist/effect/generated/journeys.d.ts +1 -3
- package/dist/effect/generated/journeys.js +2 -6
- package/dist/effect/generated/messages.d.ts +1 -5
- package/dist/effect/generated/messages.js +2 -10
- package/dist/effect/generated/shared.d.ts +92 -2
- package/dist/effect/generated/shared.js +43 -2
- package/dist/effect/generated/template-registrations.d.ts +651 -0
- package/dist/effect/generated/template-registrations.js +138 -0
- package/dist/effect/generated/whats-app-flows.d.ts +1838 -0
- package/dist/effect/generated/whats-app-flows.js +338 -0
- package/dist/effect/generated/whats-app-setup-links.d.ts +705 -0
- package/dist/effect/generated/whats-app-setup-links.js +150 -0
- package/dist/effect/generated/whats-app.d.ts +2089 -0
- package/dist/effect/generated/whats-app.js +633 -0
- package/dist/effect/generated-metadata.d.ts +245 -0
- package/dist/effect/generated-metadata.js +221 -48
- package/dist/effect/index.d.ts +4 -0
- package/dist/effect/index.js +6 -2
- package/dist/effect/mailboxes.d.ts +298 -298
- package/dist/effect/mailboxes.js +3 -3
- package/dist/effect/media.d.ts +4 -4
- package/dist/effect/media.js +2 -2
- package/dist/effect/messages.d.ts +17 -17
- package/dist/effect/messages.js +4 -4
- package/dist/effect/namespaces.d.ts +5 -5
- package/dist/effect/namespaces.js +1 -1
- package/dist/effect/newsletter-issues.d.ts +8 -8
- package/dist/effect/newsletter-issues.js +2 -2
- package/dist/effect/newsletters.d.ts +3 -3
- package/dist/effect/newsletters.js +1 -1
- package/dist/effect/organizations.d.ts +10 -10
- package/dist/effect/organizations.js +1 -1
- package/dist/effect/runtime.d.ts +2 -0
- package/dist/effect/runtime.js +2 -1
- package/dist/effect/scheduled-messages.d.ts +839 -839
- package/dist/effect/scheduled-messages.js +1 -1
- package/dist/effect/template-registrations.d.ts +12 -0
- package/dist/effect/template-registrations.js +16 -0
- package/dist/effect/templates.d.ts +66 -66
- package/dist/effect/templates.js +13 -13
- package/dist/effect/topic-forms.d.ts +4 -4
- package/dist/effect/topic-forms.js +1 -1
- package/dist/effect/topics.d.ts +11 -11
- package/dist/effect/topics.js +2 -2
- package/dist/effect/webhooks.d.ts +18 -18
- package/dist/effect/webhooks.js +3 -3
- package/dist/effect/whatsapp-flows.d.ts +34 -0
- package/dist/effect/whatsapp-flows.js +30 -0
- package/dist/effect/whatsapp-setup-links.d.ts +66 -0
- package/dist/effect/whatsapp-setup-links.js +18 -0
- package/dist/effect/whatsapp.d.ts +51 -0
- package/dist/effect/whatsapp.js +34 -0
- package/dist/index.js +2 -2
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +9 -1
- package/dist/promises/client.js +11 -3
- package/dist/promises/errors.gen.d.ts +38 -2
- package/dist/promises/errors.gen.js +160 -3
- package/dist/promises/index.js +2 -2
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +917 -736
- package/dist/service-map.js +288 -235
- package/package.json +19 -3
|
@@ -133,43 +133,15 @@ export declare const update: (input: {
|
|
|
133
133
|
export declare const remove: (input: {
|
|
134
134
|
readonly id: string;
|
|
135
135
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"contactGroupsRemove">;
|
|
136
|
-
export declare const
|
|
137
|
-
readonly criteria: {
|
|
138
|
-
readonly tags?: readonly string[] | null | undefined;
|
|
139
|
-
readonly channels?: readonly string[] | null | undefined;
|
|
140
|
-
readonly match?: "all" | "any" | null | undefined;
|
|
141
|
-
readonly conditions?: readonly {
|
|
142
|
-
readonly field: string;
|
|
143
|
-
readonly operator: string;
|
|
144
|
-
readonly value: 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 | {
|
|
145
|
-
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
146
|
-
} | null)[] | {
|
|
147
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
148
|
-
} | null)[] | {
|
|
149
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
150
|
-
} | null)[] | {
|
|
151
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
152
|
-
} | null)[] | {
|
|
153
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
154
|
-
} | null)[] | {
|
|
155
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
156
|
-
} | null)[] | {
|
|
157
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
158
|
-
} | null)[] | {
|
|
159
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
160
|
-
} | null)[] | {
|
|
161
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
162
|
-
} | null)[] | {
|
|
163
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
164
|
-
} | null)[] | {
|
|
165
|
-
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
166
|
-
} | null;
|
|
167
|
-
}[] | null | undefined;
|
|
168
|
-
};
|
|
169
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"contactGroupsPreview">;
|
|
170
|
-
export declare const evaluateDynamic: (input: {
|
|
136
|
+
export declare const addMembers: (input: {
|
|
171
137
|
readonly id: string;
|
|
172
|
-
|
|
138
|
+
readonly contactIds: readonly string[];
|
|
139
|
+
readonly role?: "admin" | "member" | "moderator" | null | undefined;
|
|
140
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"contactGroupsAddMembers">;
|
|
141
|
+
export declare const removeMembers: (input: {
|
|
142
|
+
readonly id: string;
|
|
143
|
+
readonly contactIds: readonly string[];
|
|
144
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"contactGroupsRemoveMembers">;
|
|
173
145
|
export declare const getMembers: ((input: {
|
|
174
146
|
readonly id: string;
|
|
175
147
|
readonly limit?: number | null | undefined;
|
|
@@ -255,12 +227,40 @@ export declare const getMembers: ((input: {
|
|
|
255
227
|
} | null;
|
|
256
228
|
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
257
229
|
};
|
|
258
|
-
export declare const
|
|
259
|
-
readonly id: string;
|
|
260
|
-
readonly contactIds: readonly string[];
|
|
261
|
-
readonly role?: "admin" | "member" | "moderator" | null | undefined;
|
|
262
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"contactGroupsAddMembers">;
|
|
263
|
-
export declare const removeMembers: (input: {
|
|
230
|
+
export declare const evaluateDynamic: (input: {
|
|
264
231
|
readonly id: string;
|
|
265
|
-
|
|
266
|
-
|
|
232
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"contactGroupsEvaluateDynamic">;
|
|
233
|
+
export declare const preview: (input: {
|
|
234
|
+
readonly criteria: {
|
|
235
|
+
readonly tags?: readonly string[] | null | undefined;
|
|
236
|
+
readonly channels?: readonly string[] | null | undefined;
|
|
237
|
+
readonly match?: "all" | "any" | null | undefined;
|
|
238
|
+
readonly conditions?: readonly {
|
|
239
|
+
readonly field: string;
|
|
240
|
+
readonly operator: string;
|
|
241
|
+
readonly value: 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 | {
|
|
242
|
+
readonly [x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null | undefined;
|
|
243
|
+
} | null)[] | {
|
|
244
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
245
|
+
} | null)[] | {
|
|
246
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
247
|
+
} | null)[] | {
|
|
248
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
249
|
+
} | null)[] | {
|
|
250
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
251
|
+
} | null)[] | {
|
|
252
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
253
|
+
} | null)[] | {
|
|
254
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
255
|
+
} | null)[] | {
|
|
256
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
257
|
+
} | null)[] | {
|
|
258
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
259
|
+
} | null)[] | {
|
|
260
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
261
|
+
} | null)[] | {
|
|
262
|
+
readonly [x: string]: string | number | boolean | any | any | null | undefined;
|
|
263
|
+
} | null;
|
|
264
|
+
}[] | null | undefined;
|
|
265
|
+
};
|
|
266
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"contactGroupsPreview">;
|
|
@@ -20,11 +20,11 @@ const create = /* @__PURE__ */ make("contactGroupsCreate");
|
|
|
20
20
|
const getById = /* @__PURE__ */ make("contactGroupsGetById");
|
|
21
21
|
const update = /* @__PURE__ */ make("contactGroupsUpdate");
|
|
22
22
|
const remove = /* @__PURE__ */ make("contactGroupsRemove");
|
|
23
|
-
const preview = /* @__PURE__ */ make("contactGroupsPreview");
|
|
24
|
-
const evaluateDynamic = /* @__PURE__ */ make("contactGroupsEvaluateDynamic");
|
|
25
|
-
const getMembers = /* @__PURE__ */ make("contactGroupsGetMembers");
|
|
26
23
|
const addMembers = /* @__PURE__ */ make("contactGroupsAddMembers");
|
|
27
24
|
const removeMembers = /* @__PURE__ */ make("contactGroupsRemoveMembers");
|
|
25
|
+
const getMembers = /* @__PURE__ */ make("contactGroupsGetMembers");
|
|
26
|
+
const evaluateDynamic = /* @__PURE__ */ make("contactGroupsEvaluateDynamic");
|
|
27
|
+
const preview = /* @__PURE__ */ make("contactGroupsPreview");
|
|
28
28
|
export { addMembers, contact_groups_exports, create, evaluateDynamic, getById, getMembers, list, preview, remove, removeMembers, update };
|
|
29
29
|
|
|
30
30
|
//# sourceMappingURL=contact-groups.js.map
|
|
@@ -197,9 +197,6 @@ export declare const findOrCreate: (input: {
|
|
|
197
197
|
export declare const get: (input: {
|
|
198
198
|
readonly id: string;
|
|
199
199
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"contactsGet">;
|
|
200
|
-
export declare const remove: (input: {
|
|
201
|
-
readonly id: string;
|
|
202
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"contactsRemove">;
|
|
203
200
|
export declare const update: (input: {
|
|
204
201
|
readonly id: string;
|
|
205
202
|
readonly name?: string | null | undefined;
|
|
@@ -265,6 +262,9 @@ export declare const update: (input: {
|
|
|
265
262
|
} | null | undefined;
|
|
266
263
|
} | null | undefined;
|
|
267
264
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"contactsUpdate">;
|
|
265
|
+
export declare const remove: (input: {
|
|
266
|
+
readonly id: string;
|
|
267
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"contactsRemove">;
|
|
268
268
|
export declare const addIdentity: (input: {
|
|
269
269
|
readonly id: string;
|
|
270
270
|
readonly type: "email" | "phone";
|
package/dist/effect/contacts.js
CHANGED
|
@@ -34,8 +34,8 @@ const create = /* @__PURE__ */ make("contactsCreate");
|
|
|
34
34
|
const find = /* @__PURE__ */ make("contactsFind");
|
|
35
35
|
const findOrCreate = /* @__PURE__ */ make("contactsFindOrCreate");
|
|
36
36
|
const get = /* @__PURE__ */ make("contactsGet");
|
|
37
|
-
const remove = /* @__PURE__ */ make("contactsRemove");
|
|
38
37
|
const update = /* @__PURE__ */ make("contactsUpdate");
|
|
38
|
+
const remove = /* @__PURE__ */ make("contactsRemove");
|
|
39
39
|
const addIdentity = /* @__PURE__ */ make("contactsAddIdentity");
|
|
40
40
|
const removeIdentity = /* @__PURE__ */ make("contactsRemoveIdentity");
|
|
41
41
|
const setConsent = /* @__PURE__ */ make("contactsSetConsent");
|
|
@@ -203,59 +203,6 @@ export declare const create: (input: {
|
|
|
203
203
|
export declare const getById: (input: {
|
|
204
204
|
readonly id: string;
|
|
205
205
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"conversationsGetById">;
|
|
206
|
-
export declare const listMessages: ((input: {
|
|
207
|
-
readonly id: string;
|
|
208
|
-
readonly limit?: number | null | undefined;
|
|
209
|
-
readonly cursor?: string | undefined;
|
|
210
|
-
readonly after?: string | undefined;
|
|
211
|
-
readonly before?: string | undefined;
|
|
212
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"conversationsListMessages">) & {
|
|
213
|
-
readonly pages: (input: {
|
|
214
|
-
readonly id: string;
|
|
215
|
-
readonly limit?: number | null | undefined;
|
|
216
|
-
readonly cursor?: string | undefined;
|
|
217
|
-
readonly after?: string | undefined;
|
|
218
|
-
readonly before?: string | undefined;
|
|
219
|
-
}) => import("effect/Stream").Stream<{
|
|
220
|
-
readonly items: readonly {
|
|
221
|
-
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
222
|
-
readonly campaign?: {
|
|
223
|
-
readonly campaignId: string & import("effect/Brand").Brand<"CampaignId">;
|
|
224
|
-
readonly runId: string & import("effect/Brand").Brand<"CampaignRunId">;
|
|
225
|
-
} | null;
|
|
226
|
-
readonly channel: "email" | "sms" | "whatsapp";
|
|
227
|
-
readonly direction: "inbound" | "outbound";
|
|
228
|
-
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
229
|
-
readonly from: string | null;
|
|
230
|
-
readonly to: readonly string[];
|
|
231
|
-
readonly subject: string | null;
|
|
232
|
-
readonly waitReason: "campaign-paused" | "content-review" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "screening-unavailable" | "sending-paused" | "upstream-unavailable" | null;
|
|
233
|
-
readonly createdAt: string;
|
|
234
|
-
}[];
|
|
235
|
-
readonly nextCursor: string | null;
|
|
236
|
-
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
237
|
-
readonly items: (input: {
|
|
238
|
-
readonly id: string;
|
|
239
|
-
readonly limit?: number | null | undefined;
|
|
240
|
-
readonly cursor?: string | undefined;
|
|
241
|
-
readonly after?: string | undefined;
|
|
242
|
-
readonly before?: string | undefined;
|
|
243
|
-
}) => import("effect/Stream").Stream<{
|
|
244
|
-
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
245
|
-
readonly campaign?: {
|
|
246
|
-
readonly campaignId: string & import("effect/Brand").Brand<"CampaignId">;
|
|
247
|
-
readonly runId: string & import("effect/Brand").Brand<"CampaignRunId">;
|
|
248
|
-
} | null;
|
|
249
|
-
readonly channel: "email" | "sms" | "whatsapp";
|
|
250
|
-
readonly direction: "inbound" | "outbound";
|
|
251
|
-
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
252
|
-
readonly from: string | null;
|
|
253
|
-
readonly to: readonly string[];
|
|
254
|
-
readonly subject: string | null;
|
|
255
|
-
readonly waitReason: "campaign-paused" | "content-review" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "screening-unavailable" | "sending-paused" | "upstream-unavailable" | null;
|
|
256
|
-
readonly createdAt: string;
|
|
257
|
-
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
258
|
-
};
|
|
259
206
|
export declare const update: (input: {
|
|
260
207
|
readonly id: string;
|
|
261
208
|
readonly title?: string | null | undefined;
|
|
@@ -388,6 +335,59 @@ export declare const update: (input: {
|
|
|
388
335
|
readonly isInternal?: boolean | null | undefined;
|
|
389
336
|
readonly isPrivate?: boolean | null | undefined;
|
|
390
337
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"conversationsUpdate">;
|
|
338
|
+
export declare const listMessages: ((input: {
|
|
339
|
+
readonly id: string;
|
|
340
|
+
readonly limit?: number | null | undefined;
|
|
341
|
+
readonly cursor?: string | undefined;
|
|
342
|
+
readonly after?: string | undefined;
|
|
343
|
+
readonly before?: string | undefined;
|
|
344
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"conversationsListMessages">) & {
|
|
345
|
+
readonly pages: (input: {
|
|
346
|
+
readonly id: string;
|
|
347
|
+
readonly limit?: number | null | undefined;
|
|
348
|
+
readonly cursor?: string | undefined;
|
|
349
|
+
readonly after?: string | undefined;
|
|
350
|
+
readonly before?: string | undefined;
|
|
351
|
+
}) => import("effect/Stream").Stream<{
|
|
352
|
+
readonly items: readonly {
|
|
353
|
+
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
354
|
+
readonly campaign?: {
|
|
355
|
+
readonly campaignId: string & import("effect/Brand").Brand<"CampaignId">;
|
|
356
|
+
readonly runId: string & import("effect/Brand").Brand<"CampaignRunId">;
|
|
357
|
+
} | null;
|
|
358
|
+
readonly channel: "email" | "sms" | "whatsapp";
|
|
359
|
+
readonly direction: "inbound" | "outbound";
|
|
360
|
+
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
361
|
+
readonly from: string | null;
|
|
362
|
+
readonly to: readonly string[];
|
|
363
|
+
readonly subject: string | null;
|
|
364
|
+
readonly waitReason: "campaign-paused" | "content-review" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "screening-unavailable" | "sending-paused" | "upstream-unavailable" | null;
|
|
365
|
+
readonly createdAt: string;
|
|
366
|
+
}[];
|
|
367
|
+
readonly nextCursor: string | null;
|
|
368
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
369
|
+
readonly items: (input: {
|
|
370
|
+
readonly id: string;
|
|
371
|
+
readonly limit?: number | null | undefined;
|
|
372
|
+
readonly cursor?: string | undefined;
|
|
373
|
+
readonly after?: string | undefined;
|
|
374
|
+
readonly before?: string | undefined;
|
|
375
|
+
}) => import("effect/Stream").Stream<{
|
|
376
|
+
readonly id: string & import("effect/Brand").Brand<"MessageId">;
|
|
377
|
+
readonly campaign?: {
|
|
378
|
+
readonly campaignId: string & import("effect/Brand").Brand<"CampaignId">;
|
|
379
|
+
readonly runId: string & import("effect/Brand").Brand<"CampaignRunId">;
|
|
380
|
+
} | null;
|
|
381
|
+
readonly channel: "email" | "sms" | "whatsapp";
|
|
382
|
+
readonly direction: "inbound" | "outbound";
|
|
383
|
+
readonly status: "bounced" | "complained" | "delivered" | "failed" | "pending" | "processing" | "queued" | "read" | "scheduled" | "sent";
|
|
384
|
+
readonly from: string | null;
|
|
385
|
+
readonly to: readonly string[];
|
|
386
|
+
readonly subject: string | null;
|
|
387
|
+
readonly waitReason: "campaign-paused" | "content-review" | "daily-quota" | "domain-health" | "domain-warming" | "onboarding-review" | "rate" | "retry" | "screening-unavailable" | "sending-paused" | "upstream-unavailable" | null;
|
|
388
|
+
readonly createdAt: string;
|
|
389
|
+
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
390
|
+
};
|
|
391
391
|
export declare const addTags: (input: {
|
|
392
392
|
readonly id: string;
|
|
393
393
|
readonly tags: readonly string[];
|
|
@@ -21,8 +21,8 @@ const make = /* @__PURE__ */ forGroup(ConversationsGroup);
|
|
|
21
21
|
const list = /* @__PURE__ */ make("conversationsList");
|
|
22
22
|
const create = /* @__PURE__ */ make("conversationsCreate");
|
|
23
23
|
const getById = /* @__PURE__ */ make("conversationsGetById");
|
|
24
|
-
const listMessages = /* @__PURE__ */ make("conversationsListMessages");
|
|
25
24
|
const update = /* @__PURE__ */ make("conversationsUpdate");
|
|
25
|
+
const listMessages = /* @__PURE__ */ make("conversationsListMessages");
|
|
26
26
|
const addTags = /* @__PURE__ */ make("conversationsAddTags");
|
|
27
27
|
const removeTags = /* @__PURE__ */ make("conversationsRemoveTags");
|
|
28
28
|
const addCategories = /* @__PURE__ */ make("conversationsAddCategories");
|
package/dist/effect/email.d.ts
CHANGED
|
@@ -14,6 +14,15 @@ export declare const send: (input: EmailSendInput, options?: SendOptions | undef
|
|
|
14
14
|
}[];
|
|
15
15
|
readonly createdAt: string;
|
|
16
16
|
}, import("./errors").BillingProviderError | import("./errors").ConflictError | import("./errors").DeliveryUnavailableError | import("./errors").ExternalServiceError | import("./errors").FlagDisabledError | import("./errors").ForbiddenError | import("./errors").FromAddressRequiredError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("..").MediaUploadError | import("./errors").OnboardingReviewRequiredError | import("./errors").PaymentRequiredError | import("./errors").RateLimitedError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").SenderNotReadyError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
17
|
+
export declare const getOnboardingReview: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetOnboardingReview">;
|
|
18
|
+
export declare const reapplyOnboardingReview: (input: {
|
|
19
|
+
readonly expectedGeneration: number;
|
|
20
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailReapplyOnboardingReview">;
|
|
21
|
+
export declare const respondToOnboardingInformationRequest: (input: {
|
|
22
|
+
readonly expectedGeneration: number;
|
|
23
|
+
readonly responseText: string;
|
|
24
|
+
readonly evidenceMediaIds: readonly string[];
|
|
25
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRespondToOnboardingInformationRequest">;
|
|
17
26
|
export declare const getTrackingDefaults: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetTrackingDefaults">;
|
|
18
27
|
export declare const updateTrackingDefaults: (input?: {
|
|
19
28
|
readonly opens?: boolean | undefined;
|
|
@@ -26,6 +35,15 @@ export declare const updateRecipientTrackingPreference: (input: {
|
|
|
26
35
|
readonly email: string;
|
|
27
36
|
readonly optedOut: boolean;
|
|
28
37
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateRecipientTrackingPreference">;
|
|
38
|
+
export declare const addDomain: (input: {
|
|
39
|
+
readonly domain: string;
|
|
40
|
+
readonly connection?: {
|
|
41
|
+
readonly connectionId: string;
|
|
42
|
+
readonly zone: string;
|
|
43
|
+
} | null | undefined;
|
|
44
|
+
readonly namespaceId?: string | null | undefined;
|
|
45
|
+
readonly shared?: boolean | null | undefined;
|
|
46
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailAddDomain">;
|
|
29
47
|
export declare const listDomains: ((input?: {
|
|
30
48
|
readonly limit?: number | null | undefined;
|
|
31
49
|
readonly cursor?: string | undefined;
|
|
@@ -89,21 +107,12 @@ export declare const listDomains: ((input?: {
|
|
|
89
107
|
readonly updatedAt: string;
|
|
90
108
|
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
91
109
|
};
|
|
92
|
-
export declare const addDomain: (input: {
|
|
93
|
-
readonly domain: string;
|
|
94
|
-
readonly connection?: {
|
|
95
|
-
readonly connectionId: string;
|
|
96
|
-
readonly zone: string;
|
|
97
|
-
} | null | undefined;
|
|
98
|
-
readonly namespaceId?: string | null | undefined;
|
|
99
|
-
readonly shared?: boolean | null | undefined;
|
|
100
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailAddDomain">;
|
|
101
|
-
export declare const rotateDomainDkim: (input: {
|
|
102
|
-
readonly id: string;
|
|
103
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRotateDomainDkim">;
|
|
104
110
|
export declare const getDomainVerification: (input: {
|
|
105
111
|
readonly id: string;
|
|
106
112
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetDomainVerification">;
|
|
113
|
+
export declare const rotateDomainDkim: (input: {
|
|
114
|
+
readonly id: string;
|
|
115
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRotateDomainDkim">;
|
|
107
116
|
export declare const advanceDomainVerification: (input: {
|
|
108
117
|
readonly id: string;
|
|
109
118
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailAdvanceDomainVerification">;
|
|
@@ -113,19 +122,6 @@ export declare const getDomainById: (input: {
|
|
|
113
122
|
export declare const removeDomain: (input: {
|
|
114
123
|
readonly id: string;
|
|
115
124
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRemoveDomain">;
|
|
116
|
-
export declare const setDefaultDomain: (input: {
|
|
117
|
-
readonly id: string;
|
|
118
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailSetDefaultDomain">;
|
|
119
|
-
export declare const updateDomainConfig: (input: {
|
|
120
|
-
readonly id: string;
|
|
121
|
-
readonly shared?: boolean | null | undefined;
|
|
122
|
-
readonly openTracking?: boolean | null | undefined;
|
|
123
|
-
readonly clickTracking?: boolean | null | undefined;
|
|
124
|
-
readonly replyTo?: readonly string[] | null | undefined;
|
|
125
|
-
readonly topicId?: string | null | undefined;
|
|
126
|
-
readonly footerEnabled?: boolean | null | undefined;
|
|
127
|
-
readonly brandSlug?: string | null | undefined;
|
|
128
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateDomainConfig">;
|
|
129
125
|
export declare const detectRegistrar: (input: {
|
|
130
126
|
readonly id: string;
|
|
131
127
|
readonly domain: string;
|
|
@@ -154,6 +150,19 @@ export declare const enableReceiving: (input: {
|
|
|
154
150
|
export declare const getReceivingStatus: (input: {
|
|
155
151
|
readonly id: string;
|
|
156
152
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetReceivingStatus">;
|
|
153
|
+
export declare const setDefaultDomain: (input: {
|
|
154
|
+
readonly id: string;
|
|
155
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailSetDefaultDomain">;
|
|
156
|
+
export declare const updateDomainConfig: (input: {
|
|
157
|
+
readonly id: string;
|
|
158
|
+
readonly shared?: boolean | null | undefined;
|
|
159
|
+
readonly openTracking?: boolean | null | undefined;
|
|
160
|
+
readonly clickTracking?: boolean | null | undefined;
|
|
161
|
+
readonly replyTo?: readonly string[] | null | undefined;
|
|
162
|
+
readonly topicId?: string | null | undefined;
|
|
163
|
+
readonly footerEnabled?: boolean | null | undefined;
|
|
164
|
+
readonly brandSlug?: string | null | undefined;
|
|
165
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateDomainConfig">;
|
|
157
166
|
export declare const enableCustomTracking: (input: {
|
|
158
167
|
readonly id: string;
|
|
159
168
|
readonly label?: string | null | undefined;
|
|
@@ -162,6 +171,9 @@ export declare const enableCustomTracking: (input: {
|
|
|
162
171
|
export declare const getCustomTracking: (input: {
|
|
163
172
|
readonly id: string;
|
|
164
173
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetCustomTracking">;
|
|
174
|
+
export declare const disableCustomTracking: (input: {
|
|
175
|
+
readonly id: string;
|
|
176
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailDisableCustomTracking">;
|
|
165
177
|
export declare const recheckCustomTracking: (input: {
|
|
166
178
|
readonly id: string;
|
|
167
179
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRecheckCustomTracking">;
|
|
@@ -177,50 +189,14 @@ export declare const completeCustomTrackingDomainConnect: (input: {
|
|
|
177
189
|
readonly error?: string | null | undefined;
|
|
178
190
|
readonly errorDescription?: string | null | undefined;
|
|
179
191
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCompleteCustomTrackingDomainConnect">;
|
|
180
|
-
export declare const
|
|
181
|
-
readonly id: string
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
readonly
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
readonly identity: "migrating" | "new" | "returning";
|
|
189
|
-
readonly initialDailyRecipients: number;
|
|
190
|
-
readonly dailyGrowthPercent: number;
|
|
191
|
-
readonly targetDailyRecipients: number;
|
|
192
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCreateDomainWarmingPlan">;
|
|
193
|
-
export declare const updateDomainWarmingPolicy: (input: {
|
|
194
|
-
readonly id: string;
|
|
195
|
-
readonly dailyGrowthPercent: number;
|
|
196
|
-
readonly targetDailyRecipients: number;
|
|
197
|
-
readonly note?: string | null | undefined;
|
|
198
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateDomainWarmingPolicy">;
|
|
199
|
-
export declare const cancelDomainWarmingBatch: (input: {
|
|
200
|
-
readonly id: string;
|
|
201
|
-
readonly batchId: string;
|
|
202
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCancelDomainWarmingBatch">;
|
|
203
|
-
export declare const pauseDomainWarming: (input: {
|
|
204
|
-
readonly id: string;
|
|
205
|
-
readonly note?: string | null | undefined;
|
|
206
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailPauseDomainWarming">;
|
|
207
|
-
export declare const resumeDomainWarming: (input: {
|
|
208
|
-
readonly id: string;
|
|
209
|
-
readonly note?: string | null | undefined;
|
|
210
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailResumeDomainWarming">;
|
|
211
|
-
export declare const completeDomainWarming: (input: {
|
|
212
|
-
readonly id: string;
|
|
213
|
-
readonly note?: string | null | undefined;
|
|
214
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCompleteDomainWarming">;
|
|
215
|
-
export declare const getOnboardingReview: (input?: never, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetOnboardingReview">;
|
|
216
|
-
export declare const reapplyOnboardingReview: (input: {
|
|
217
|
-
readonly expectedGeneration: number;
|
|
218
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailReapplyOnboardingReview">;
|
|
219
|
-
export declare const respondToOnboardingInformationRequest: (input: {
|
|
220
|
-
readonly expectedGeneration: number;
|
|
221
|
-
readonly responseText: string;
|
|
222
|
-
readonly evidenceMediaIds: readonly string[];
|
|
223
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRespondToOnboardingInformationRequest">;
|
|
192
|
+
export declare const addSender: (input: EmailAddSenderInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
193
|
+
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
194
|
+
readonly email: string;
|
|
195
|
+
readonly status: "failed" | "pending" | "verified";
|
|
196
|
+
readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
|
|
197
|
+
readonly providerFailureCode: string | null;
|
|
198
|
+
readonly createdAt: string;
|
|
199
|
+
}, import("./errors").ConflictError | import("./errors").ExternalServiceError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
224
200
|
export declare const listSenders: ((input?: {
|
|
225
201
|
readonly limit?: number | null | undefined;
|
|
226
202
|
readonly cursor?: string | undefined;
|
|
@@ -299,20 +275,12 @@ export declare const listSenders: ((input?: {
|
|
|
299
275
|
readonly updatedAt: string;
|
|
300
276
|
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
301
277
|
};
|
|
302
|
-
export declare const getSender: (input: {
|
|
303
|
-
readonly id: string;
|
|
304
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetSender">;
|
|
305
|
-
export declare const addSender: (input: EmailAddSenderInput, options?: SendOptions | undefined) => import("effect/Effect").Effect<{
|
|
306
|
-
readonly id: string & import("effect/Brand").Brand<"EmailSenderId">;
|
|
307
|
-
readonly email: string;
|
|
308
|
-
readonly status: "failed" | "pending" | "verified";
|
|
309
|
-
readonly providerLifecycle: "active" | "deleting" | "failed" | "provisioning";
|
|
310
|
-
readonly providerFailureCode: string | null;
|
|
311
|
-
readonly createdAt: string;
|
|
312
|
-
}, import("./errors").ConflictError | import("./errors").ExternalServiceError | import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
313
278
|
export declare const checkSenderVerification: (input: {
|
|
314
279
|
readonly id: string;
|
|
315
280
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCheckSenderVerification">;
|
|
281
|
+
export declare const getSender: (input: {
|
|
282
|
+
readonly id: string;
|
|
283
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetSender">;
|
|
316
284
|
export declare const removeSender: (input: {
|
|
317
285
|
readonly id: string;
|
|
318
286
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRemoveSender">;
|
|
@@ -331,14 +299,14 @@ export declare const enableCatchAll: (input: {
|
|
|
331
299
|
export declare const disableCatchAll: (input: {
|
|
332
300
|
readonly id: string;
|
|
333
301
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailDisableCatchAll">;
|
|
334
|
-
export declare const getCatchAllConfig: (input: {
|
|
335
|
-
readonly domainId: string;
|
|
336
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetCatchAllConfig">;
|
|
337
302
|
export declare const updateCatchAllConfig: (input: {
|
|
338
303
|
readonly domainId: string;
|
|
339
304
|
readonly endpointId?: string | null | undefined;
|
|
340
305
|
readonly unknownRecipientMailboxId?: string | null | undefined;
|
|
341
306
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateCatchAllConfig">;
|
|
307
|
+
export declare const getCatchAllConfig: (input: {
|
|
308
|
+
readonly domainId: string;
|
|
309
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetCatchAllConfig">;
|
|
342
310
|
export declare const getCatchAllStats: (input: {
|
|
343
311
|
readonly domainId: string;
|
|
344
312
|
readonly after?: string | undefined;
|
|
@@ -402,6 +370,13 @@ export declare const countSuppressions: (input?: {
|
|
|
402
370
|
export declare const removeSuppression: (input: {
|
|
403
371
|
readonly id: string;
|
|
404
372
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRemoveSuppression">;
|
|
373
|
+
export declare const addBlock: (input: {
|
|
374
|
+
readonly blockType: "domain" | "email";
|
|
375
|
+
readonly blockValue: string;
|
|
376
|
+
readonly reason: string;
|
|
377
|
+
readonly notes?: string | null | undefined;
|
|
378
|
+
readonly expiresAt?: string | null | undefined;
|
|
379
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailAddBlock">;
|
|
405
380
|
export declare const listBlocks: ((input?: {
|
|
406
381
|
readonly blockType?: "domain" | "email" | undefined;
|
|
407
382
|
readonly isActive?: boolean | null | undefined;
|
|
@@ -446,13 +421,6 @@ export declare const listBlocks: ((input?: {
|
|
|
446
421
|
readonly createdAt: string;
|
|
447
422
|
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
448
423
|
};
|
|
449
|
-
export declare const addBlock: (input: {
|
|
450
|
-
readonly blockType: "domain" | "email";
|
|
451
|
-
readonly blockValue: string;
|
|
452
|
-
readonly reason: string;
|
|
453
|
-
readonly notes?: string | null | undefined;
|
|
454
|
-
readonly expiresAt?: string | null | undefined;
|
|
455
|
-
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailAddBlock">;
|
|
456
424
|
export declare const removeBlock: (input: {
|
|
457
425
|
readonly id: string;
|
|
458
426
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailRemoveBlock">;
|
|
@@ -518,10 +486,6 @@ export declare const getBlockLogs: ((input?: {
|
|
|
518
486
|
export declare const checkBlocked: (input: {
|
|
519
487
|
readonly emailAddress: string;
|
|
520
488
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCheckBlocked">;
|
|
521
|
-
export declare const listForwardingRules: (input?: {
|
|
522
|
-
readonly domainId?: string | undefined;
|
|
523
|
-
readonly isActive?: boolean | null | undefined;
|
|
524
|
-
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailListForwardingRules">;
|
|
525
489
|
export declare const createForwardingRule: (input: {
|
|
526
490
|
readonly name: string;
|
|
527
491
|
readonly description?: string | null | undefined;
|
|
@@ -565,9 +529,10 @@ export declare const createForwardingRule: (input: {
|
|
|
565
529
|
} | null | undefined;
|
|
566
530
|
} | null | undefined;
|
|
567
531
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCreateForwardingRule">;
|
|
568
|
-
export declare const
|
|
569
|
-
readonly
|
|
570
|
-
|
|
532
|
+
export declare const listForwardingRules: (input?: {
|
|
533
|
+
readonly domainId?: string | undefined;
|
|
534
|
+
readonly isActive?: boolean | null | undefined;
|
|
535
|
+
} | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailListForwardingRules">;
|
|
571
536
|
export declare const updateForwardingRule: (input: {
|
|
572
537
|
readonly id: string;
|
|
573
538
|
readonly name?: string | null | undefined;
|
|
@@ -612,6 +577,9 @@ export declare const updateForwardingRule: (input: {
|
|
|
612
577
|
} | null | undefined;
|
|
613
578
|
} | null | undefined;
|
|
614
579
|
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateForwardingRule">;
|
|
580
|
+
export declare const deleteForwardingRule: (input: {
|
|
581
|
+
readonly id: string;
|
|
582
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailDeleteForwardingRule">;
|
|
615
583
|
export declare const getForwardingLog: ((input?: {
|
|
616
584
|
readonly forwardingRuleId?: string | undefined;
|
|
617
585
|
readonly status?: "failed" | "forwarded" | "pending" | undefined;
|
|
@@ -664,3 +632,35 @@ export declare const getForwardingLog: ((input?: {
|
|
|
664
632
|
readonly createdAt: string;
|
|
665
633
|
}, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
|
|
666
634
|
};
|
|
635
|
+
export declare const getDomainWarming: (input: {
|
|
636
|
+
readonly id: string;
|
|
637
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailGetDomainWarming">;
|
|
638
|
+
export declare const createDomainWarmingPlan: (input: {
|
|
639
|
+
readonly id: string;
|
|
640
|
+
readonly identity: "migrating" | "new" | "returning";
|
|
641
|
+
readonly initialDailyRecipients: number;
|
|
642
|
+
readonly dailyGrowthPercent: number;
|
|
643
|
+
readonly targetDailyRecipients: number;
|
|
644
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCreateDomainWarmingPlan">;
|
|
645
|
+
export declare const updateDomainWarmingPolicy: (input: {
|
|
646
|
+
readonly id: string;
|
|
647
|
+
readonly dailyGrowthPercent: number;
|
|
648
|
+
readonly targetDailyRecipients: number;
|
|
649
|
+
readonly note?: string | null | undefined;
|
|
650
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailUpdateDomainWarmingPolicy">;
|
|
651
|
+
export declare const cancelDomainWarmingBatch: (input: {
|
|
652
|
+
readonly id: string;
|
|
653
|
+
readonly batchId: string;
|
|
654
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCancelDomainWarmingBatch">;
|
|
655
|
+
export declare const pauseDomainWarming: (input: {
|
|
656
|
+
readonly id: string;
|
|
657
|
+
readonly note?: string | null | undefined;
|
|
658
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailPauseDomainWarming">;
|
|
659
|
+
export declare const resumeDomainWarming: (input: {
|
|
660
|
+
readonly id: string;
|
|
661
|
+
readonly note?: string | null | undefined;
|
|
662
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailResumeDomainWarming">;
|
|
663
|
+
export declare const completeDomainWarming: (input: {
|
|
664
|
+
readonly id: string;
|
|
665
|
+
readonly note?: string | null | undefined;
|
|
666
|
+
}, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"emailCompleteDomainWarming">;
|