shipmail 0.5.9 → 0.5.10
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/dist/api-key-scopes.cjs +2 -2
- package/dist/api-key-scopes.cjs.map +1 -1
- package/dist/api-key-scopes.js +2 -2
- package/dist/api-key-scopes.js.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1044,7 +1044,7 @@ type AutoReply = {
|
|
|
1044
1044
|
readonly from_date: string | null;
|
|
1045
1045
|
readonly to_date: string | null;
|
|
1046
1046
|
};
|
|
1047
|
-
type MailboxSuspensionReason = "billing" | "manual" | "security";
|
|
1047
|
+
type MailboxSuspensionReason = "billing" | "manual" | "security" | "abuse";
|
|
1048
1048
|
type Mailbox = {
|
|
1049
1049
|
readonly object: "mailbox";
|
|
1050
1050
|
readonly id: string;
|
|
@@ -2246,6 +2246,8 @@ type Webhook = {
|
|
|
2246
2246
|
readonly events: readonly string[];
|
|
2247
2247
|
readonly active: boolean;
|
|
2248
2248
|
readonly description: string | null;
|
|
2249
|
+
readonly mailbox_ids: readonly string[] | null;
|
|
2250
|
+
readonly domain_ids: readonly string[] | null;
|
|
2249
2251
|
readonly created_at: string;
|
|
2250
2252
|
readonly updated_at: string;
|
|
2251
2253
|
};
|
|
@@ -2256,12 +2258,16 @@ type CreateWebhookParams = {
|
|
|
2256
2258
|
readonly url: string;
|
|
2257
2259
|
readonly events: readonly WebhookEventType[];
|
|
2258
2260
|
readonly description?: string | undefined;
|
|
2261
|
+
readonly mailbox_ids?: readonly string[] | null | undefined;
|
|
2262
|
+
readonly domain_ids?: readonly string[] | null | undefined;
|
|
2259
2263
|
};
|
|
2260
2264
|
type UpdateWebhookParams = {
|
|
2261
2265
|
readonly url?: string | undefined;
|
|
2262
2266
|
readonly events?: readonly WebhookEventType[] | undefined;
|
|
2263
2267
|
readonly description?: string | null | undefined;
|
|
2264
2268
|
readonly active?: boolean | undefined;
|
|
2269
|
+
readonly mailbox_ids?: readonly string[] | null | undefined;
|
|
2270
|
+
readonly domain_ids?: readonly string[] | null | undefined;
|
|
2265
2271
|
};
|
|
2266
2272
|
type ListWebhooksParams = PaginationParams;
|
|
2267
2273
|
type RotateSecretResponse = {
|
package/dist/index.d.ts
CHANGED
|
@@ -1044,7 +1044,7 @@ type AutoReply = {
|
|
|
1044
1044
|
readonly from_date: string | null;
|
|
1045
1045
|
readonly to_date: string | null;
|
|
1046
1046
|
};
|
|
1047
|
-
type MailboxSuspensionReason = "billing" | "manual" | "security";
|
|
1047
|
+
type MailboxSuspensionReason = "billing" | "manual" | "security" | "abuse";
|
|
1048
1048
|
type Mailbox = {
|
|
1049
1049
|
readonly object: "mailbox";
|
|
1050
1050
|
readonly id: string;
|
|
@@ -2246,6 +2246,8 @@ type Webhook = {
|
|
|
2246
2246
|
readonly events: readonly string[];
|
|
2247
2247
|
readonly active: boolean;
|
|
2248
2248
|
readonly description: string | null;
|
|
2249
|
+
readonly mailbox_ids: readonly string[] | null;
|
|
2250
|
+
readonly domain_ids: readonly string[] | null;
|
|
2249
2251
|
readonly created_at: string;
|
|
2250
2252
|
readonly updated_at: string;
|
|
2251
2253
|
};
|
|
@@ -2256,12 +2258,16 @@ type CreateWebhookParams = {
|
|
|
2256
2258
|
readonly url: string;
|
|
2257
2259
|
readonly events: readonly WebhookEventType[];
|
|
2258
2260
|
readonly description?: string | undefined;
|
|
2261
|
+
readonly mailbox_ids?: readonly string[] | null | undefined;
|
|
2262
|
+
readonly domain_ids?: readonly string[] | null | undefined;
|
|
2259
2263
|
};
|
|
2260
2264
|
type UpdateWebhookParams = {
|
|
2261
2265
|
readonly url?: string | undefined;
|
|
2262
2266
|
readonly events?: readonly WebhookEventType[] | undefined;
|
|
2263
2267
|
readonly description?: string | null | undefined;
|
|
2264
2268
|
readonly active?: boolean | undefined;
|
|
2269
|
+
readonly mailbox_ids?: readonly string[] | null | undefined;
|
|
2270
|
+
readonly domain_ids?: readonly string[] | null | undefined;
|
|
2265
2271
|
};
|
|
2266
2272
|
type ListWebhooksParams = PaginationParams;
|
|
2267
2273
|
type RotateSecretResponse = {
|
package/dist/index.js
CHANGED
|
@@ -53,9 +53,9 @@ var API_KEY_SCOPE_DESCRIPTIONS = {
|
|
|
53
53
|
"domains:write": "Create, update, and delete domains.",
|
|
54
54
|
"mailboxes:read": "List and retrieve mailboxes.",
|
|
55
55
|
"mailboxes:export": "Create and download mailbox content exports.",
|
|
56
|
-
"mailboxes:write": "Create, update, suspend, resume, and delete mailboxes.",
|
|
56
|
+
"mailboxes:write": "Create, update, suspend, resume, and delete mailboxes. Does not include setting mailbox passwords.",
|
|
57
57
|
"mailbox_credentials:read": "List revocable app passwords for allowed mailboxes.",
|
|
58
|
-
"mailbox_credentials:write": "
|
|
58
|
+
"mailbox_credentials:write": "Set primary mailbox passwords and create and revoke app passwords for allowed mailboxes.",
|
|
59
59
|
"mailbox_forwarding:read": "List forwarding destinations for allowed mailboxes.",
|
|
60
60
|
"mailbox_forwarding:write": "Create and remove forwarding destinations for allowed mailboxes.",
|
|
61
61
|
"mailbox_rules:read": "List deterministic server-side rules for allowed mailboxes.",
|
|
@@ -1706,7 +1706,7 @@ var Webhooks = class extends ApiResource {
|
|
|
1706
1706
|
};
|
|
1707
1707
|
|
|
1708
1708
|
// src/version.ts
|
|
1709
|
-
var VERSION = "0.5.
|
|
1709
|
+
var VERSION = "0.5.10";
|
|
1710
1710
|
|
|
1711
1711
|
// src/client.ts
|
|
1712
1712
|
var DEFAULT_BASE_URL = "https://shipmail.to/api/v1";
|