@modly_public/sdk 0.1.0 → 0.2.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/README.md +39 -6
- package/dist/client.d.ts +212 -31
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +182 -43
- package/dist/client.js.map +1 -1
- package/dist/generated/account.js +6 -6
- package/dist/generated/account.js.map +1 -1
- package/dist/generated/appealPortal.js +2 -2
- package/dist/generated/appealPortal.js.map +1 -1
- package/dist/generated/auth.d.ts +7 -1
- package/dist/generated/auth.d.ts.map +1 -1
- package/dist/generated/auth.js +10 -4
- package/dist/generated/auth.js.map +1 -1
- package/dist/generated/authUpgrade.js +2 -2
- package/dist/generated/authUpgrade.js.map +1 -1
- package/dist/generated/billing.js +5 -5
- package/dist/generated/billing.js.map +1 -1
- package/dist/generated/commands.js +7 -7
- package/dist/generated/commands.js.map +1 -1
- package/dist/generated/connections.js +6 -6
- package/dist/generated/connections.js.map +1 -1
- package/dist/generated/discovery.js +8 -8
- package/dist/generated/discovery.js.map +1 -1
- package/dist/generated/giveaways.js +1 -1
- package/dist/generated/giveaways.js.map +1 -1
- package/dist/generated/guilds.d.ts +2 -0
- package/dist/generated/guilds.d.ts.map +1 -1
- package/dist/generated/guilds.js +8 -6
- package/dist/generated/guilds.js.map +1 -1
- package/dist/generated/index.d.ts +10 -0
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +9 -0
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/integrations.js +1 -1
- package/dist/generated/integrations.js.map +1 -1
- package/dist/generated/mcp.js +2 -2
- package/dist/generated/mcp.js.map +1 -1
- package/dist/generated/me.js +9 -9
- package/dist/generated/me.js.map +1 -1
- package/dist/generated/meAutoBump.d.ts +24 -0
- package/dist/generated/meAutoBump.d.ts.map +1 -0
- package/dist/generated/meAutoBump.js +25 -0
- package/dist/generated/meAutoBump.js.map +1 -0
- package/dist/generated/meTokens.js +3 -3
- package/dist/generated/meTokens.js.map +1 -1
- package/dist/generated/meWebhooks.d.ts +48 -0
- package/dist/generated/meWebhooks.d.ts.map +1 -0
- package/dist/generated/meWebhooks.js +49 -0
- package/dist/generated/meWebhooks.js.map +1 -0
- package/dist/generated/metrics.d.ts +6 -0
- package/dist/generated/metrics.d.ts.map +1 -0
- package/dist/generated/metrics.js +7 -0
- package/dist/generated/metrics.js.map +1 -0
- package/dist/generated/modules.js +2 -2
- package/dist/generated/modules.js.map +1 -1
- package/dist/generated/nightmode.d.ts +8 -0
- package/dist/generated/nightmode.d.ts.map +1 -0
- package/dist/generated/nightmode.js +9 -0
- package/dist/generated/nightmode.js.map +1 -0
- package/dist/generated/public.js +2 -2
- package/dist/generated/public.js.map +1 -1
- package/dist/generated/publicUploads.d.ts +8 -0
- package/dist/generated/publicUploads.d.ts.map +1 -0
- package/dist/generated/publicUploads.js +9 -0
- package/dist/generated/publicUploads.js.map +1 -0
- package/dist/generated/recipes.d.ts +2 -0
- package/dist/generated/recipes.d.ts.map +1 -1
- package/dist/generated/recipes.js +4 -1
- package/dist/generated/recipes.js.map +1 -1
- package/dist/generated/seasonal.d.ts +8 -0
- package/dist/generated/seasonal.d.ts.map +1 -0
- package/dist/generated/seasonal.js +9 -0
- package/dist/generated/seasonal.js.map +1 -0
- package/dist/generated/secrets.js +3 -3
- package/dist/generated/secrets.js.map +1 -1
- package/dist/generated/serverStats.d.ts +6 -0
- package/dist/generated/serverStats.d.ts.map +1 -1
- package/dist/generated/serverStats.js +6 -0
- package/dist/generated/serverStats.js.map +1 -1
- package/dist/generated/serverStatsIngest.d.ts +6 -0
- package/dist/generated/serverStatsIngest.d.ts.map +1 -0
- package/dist/generated/serverStatsIngest.js +7 -0
- package/dist/generated/serverStatsIngest.js.map +1 -0
- package/dist/generated/stats.js +1 -1
- package/dist/generated/stats.js.map +1 -1
- package/dist/generated/suggestionsRoadmap.js +1 -1
- package/dist/generated/suggestionsRoadmap.js.map +1 -1
- package/dist/generated/webhookEvents.d.ts +3 -0
- package/dist/generated/webhookEvents.d.ts.map +1 -0
- package/dist/generated/webhookEvents.js +546 -0
- package/dist/generated/webhookEvents.js.map +1 -0
- package/dist/generated/webhookModeration.d.ts +16 -0
- package/dist/generated/webhookModeration.d.ts.map +1 -0
- package/dist/generated/webhookModeration.js +17 -0
- package/dist/generated/webhookModeration.js.map +1 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/signing.d.ts +30 -0
- package/dist/signing.d.ts.map +1 -0
- package/dist/signing.js +53 -0
- package/dist/signing.js.map +1 -0
- package/dist/types.d.ts +362 -4
- package/dist/types.d.ts.map +1 -1
- package/package.json +17 -5
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ npm install @modly_public/sdk
|
|
|
14
14
|
|
|
15
15
|
## Run without npm registry
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
To install straight from GitHub instead:
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
npm install github:modly-public/modly-sdk
|
|
@@ -48,10 +48,11 @@ await modly.embeds.save("weekly-update", {
|
|
|
48
48
|
embeds: [{ title: "What shipped", color: 0x7c3aed }],
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
const targets = await modly.
|
|
52
|
-
await modly.
|
|
51
|
+
const targets = await modly.broadcaster.targets.list();
|
|
52
|
+
await modly.broadcaster.send({
|
|
53
53
|
targetIds: [targets[0]!.id],
|
|
54
54
|
embedTemplateName: "weekly-update",
|
|
55
|
+
variables: { week: 49 }, // fills {week} in the template
|
|
55
56
|
});
|
|
56
57
|
|
|
57
58
|
// 3. Create a custom command
|
|
@@ -65,6 +66,36 @@ await modly.customCommands.save({
|
|
|
65
66
|
|
|
66
67
|
Three end-to-end walkthroughs live in [`docs/quickstart.md`](./docs/quickstart.md).
|
|
67
68
|
|
|
69
|
+
## Webhooks
|
|
70
|
+
|
|
71
|
+
```ts
|
|
72
|
+
// Outbound: Modly POSTs events to you, signed when a secret is set
|
|
73
|
+
const hook = await modly.webhooks.create({
|
|
74
|
+
name: "CRM", url: "https://hooks.example.com/modly",
|
|
75
|
+
events: ["member.joined"], secret: process.env.MODLY_WEBHOOK_SECRET,
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
// Your receiver (raw body!)
|
|
79
|
+
import { verifyWebhookSignature, sendInboundWebhook } from "@modly_public/sdk";
|
|
80
|
+
const ok = await verifyWebhookSignature(rawBody, req.headers["x-modly-signature"], secret);
|
|
81
|
+
|
|
82
|
+
// Inbound: your systems post into a Discord channel
|
|
83
|
+
const inbound = await modly.inboundWebhooks.create({ name: "Signups", channelId, postTemplate: "New: {{body.email}}" });
|
|
84
|
+
await sendInboundWebhook(inbound.publicUrl, { email: "a@b.co" });
|
|
85
|
+
|
|
86
|
+
// Scheduled broadcast with variables
|
|
87
|
+
await modly.broadcaster.schedules.create({
|
|
88
|
+
name: "Weekly promo", groupId, embedTemplateName: "weekly-promo",
|
|
89
|
+
cron: "0 9 * * 1", timezone: "Europe/London", variables: { offer: "20% off" },
|
|
90
|
+
});
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Full guide: [`docs/webhooks.md`](./docs/webhooks.md) (outbound, signature verification, inbound, broadcaster, schedules, automations).
|
|
94
|
+
|
|
95
|
+
## Raw requests
|
|
96
|
+
|
|
97
|
+
`modly.request(method, path, body?)` reaches any endpoint. Guild-relative paths (`/automod/rules`) get `/api/guilds/<guildId>` prepended; `/api/...` paths are sent as-is. Errors throw `ApiError` (`status`, `code`, `body`).
|
|
98
|
+
|
|
68
99
|
## Authentication
|
|
69
100
|
|
|
70
101
|
Generate a personal access token in the dashboard at **Account Settings → API tokens**. Tokens look like `modly_pat_...` and are sent on every request as `Authorization: Bearer <token>`. Each token is bound to your dashboard session's permissions; the `guildId` you pass on the client decides which guild every call targets.
|
|
@@ -84,10 +115,12 @@ modly-sdk/
|
|
|
84
115
|
│ ├── index.ts # public entry point (re-exports)
|
|
85
116
|
│ ├── errors.ts # ApiError shape
|
|
86
117
|
│ ├── types.ts # shared response/request types
|
|
118
|
+
│ ├── signing.ts # webhook signature helpers
|
|
87
119
|
│ └── generated/ # 70+ auto-generated route namespaces
|
|
88
120
|
├── dist/ # compiled output (published to npm)
|
|
89
121
|
├── docs/
|
|
90
|
-
│
|
|
122
|
+
│ ├── quickstart.md # three end-to-end examples
|
|
123
|
+
│ └── webhooks.md # webhooks, broadcasts, schedules, automations
|
|
91
124
|
├── package.json
|
|
92
125
|
├── tsconfig.json
|
|
93
126
|
├── LICENSE
|
|
@@ -103,7 +136,7 @@ modly-sdk/
|
|
|
103
136
|
|
|
104
137
|
## Coverage
|
|
105
138
|
|
|
106
|
-
The
|
|
139
|
+
The 90+ generated namespaces cover every bot route (request bodies are `Record<string, unknown>` and responses `unknown` there). These namespaces are hand-typed on top: `webhooks`, `inboundWebhooks`, `broadcaster`, `scheduledActions`, `automations`, `embeds`, `modules`, `moderation`, `safety`, `customCommands`, `personas`. Generated method names on the same namespaces keep working. See [`src/generated/README.md`](./src/generated/README.md) for the full namespace list with descriptions.
|
|
107
140
|
|
|
108
141
|
## Compatibility
|
|
109
142
|
|
|
@@ -123,4 +156,4 @@ MIT — see [`LICENSE`](./LICENSE).
|
|
|
123
156
|
|
|
124
157
|
Built with ❤ for [Modly](https://modly.net).
|
|
125
158
|
|
|
126
|
-
Last updated: 2026-
|
|
159
|
+
Last updated: 2026-12-02
|
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { EmbedTemplate, ModuleConfigSchema, ModuleSummary, EvaderDetectionRun, EvaderResolution, CustomCommandsOverview, CustomCommandRecord, ModerationCase, PersonasResponse, StoredMessage, WebhookEventCatalog, WebhookGroup, WebhookSchedule, WebhookSendInput, WebhookSendResult, WebhookTarget } from "./types.js";
|
|
1
|
+
import type { EmbedTemplate, ModuleConfigSchema, ModuleSummary, EvaderDetectionRun, EvaderResolution, CustomCommandsOverview, CustomCommandRecord, ModerationCase, PersonasResponse, StoredMessage, AutomationRule, AutomationRuleInput, AutomationsOverview, EmbedSaveOptions, InboundWebhook, InboundWebhookCreateInput, InboundWebhookInput, InboundWebhookList, InboundWebhookPreset, OutboundWebhook, OutboundWebhookCreateInput, OutboundWebhookInput, OutboundWebhookList, OutboundWebhookTestResult, ScheduledAction, ScheduledActionCreateInput, ScheduledActionKind, ScheduledActionUpdateInput, WebhookBroadcasterExport, WebhookEvent, WebhookEventCatalog, WebhookGroup, WebhookGroupInput, WebhookSchedule, WebhookScheduleInput, WebhookSendInput, WebhookSendResult, WebhookTarget, WebhookTargetInput } from "./types.js";
|
|
2
2
|
import * as gen from "./generated/index.js";
|
|
3
3
|
export interface ModlyClientOptions {
|
|
4
4
|
/** Snowflake of the Discord guild the API key is scoped to. */
|
|
@@ -10,8 +10,13 @@ export interface ModlyClientOptions {
|
|
|
10
10
|
/** Custom fetch (e.g. `undici` agent, edge runtimes). Defaults to global fetch. */
|
|
11
11
|
fetch?: typeof fetch;
|
|
12
12
|
}
|
|
13
|
+
export type HttpMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
13
14
|
export interface RequestOptions {
|
|
14
15
|
signal?: AbortSignal;
|
|
16
|
+
/** Content-Type for raw (binary) bodies. */
|
|
17
|
+
contentType?: string;
|
|
18
|
+
/** Query-string params; undefined/null/"" values are skipped. Works on every method, incl. generated ones. */
|
|
19
|
+
query?: Record<string, string | number | boolean | undefined | null>;
|
|
15
20
|
}
|
|
16
21
|
export declare class ModlyClient {
|
|
17
22
|
readonly guildId: string;
|
|
@@ -19,6 +24,7 @@ export declare class ModlyClient {
|
|
|
19
24
|
private readonly apiKey;
|
|
20
25
|
private readonly fetchImpl;
|
|
21
26
|
readonly account: ReturnType<typeof gen.attachAccount>;
|
|
27
|
+
readonly afk: ReturnType<typeof gen.attachAfk>;
|
|
22
28
|
readonly ai: ReturnType<typeof gen.attachAi>;
|
|
23
29
|
readonly ama: ReturnType<typeof gen.attachAma>;
|
|
24
30
|
readonly analytics: ReturnType<typeof gen.attachAnalytics>;
|
|
@@ -27,11 +33,11 @@ export declare class ModlyClient {
|
|
|
27
33
|
readonly applications: ReturnType<typeof gen.attachApplications>;
|
|
28
34
|
readonly auth: ReturnType<typeof gen.attachAuth>;
|
|
29
35
|
readonly authUpgrade: ReturnType<typeof gen.attachAuthUpgrade>;
|
|
30
|
-
readonly automations: ReturnType<typeof gen.attachAutomations>;
|
|
31
36
|
readonly automod: ReturnType<typeof gen.attachAutomod>;
|
|
32
37
|
readonly autoping: ReturnType<typeof gen.attachAutoping>;
|
|
33
38
|
readonly autoresponders: ReturnType<typeof gen.attachAutoresponders>;
|
|
34
39
|
readonly billing: ReturnType<typeof gen.attachBilling>;
|
|
40
|
+
readonly birthdays: ReturnType<typeof gen.attachBirthdays>;
|
|
35
41
|
readonly captcha: ReturnType<typeof gen.attachCaptcha>;
|
|
36
42
|
readonly cases: ReturnType<typeof gen.attachCases>;
|
|
37
43
|
readonly channelGames: ReturnType<typeof gen.attachChannelGames>;
|
|
@@ -39,6 +45,7 @@ export declare class ModlyClient {
|
|
|
39
45
|
readonly commands: ReturnType<typeof gen.attachCommands>;
|
|
40
46
|
readonly compatibility: ReturnType<typeof gen.attachCompatibility>;
|
|
41
47
|
readonly compliance: ReturnType<typeof gen.attachCompliance>;
|
|
48
|
+
readonly confessions: ReturnType<typeof gen.attachConfessions>;
|
|
42
49
|
readonly connections: ReturnType<typeof gen.attachConnections>;
|
|
43
50
|
readonly counters: ReturnType<typeof gen.attachCounters>;
|
|
44
51
|
readonly discord: ReturnType<typeof gen.attachDiscord>;
|
|
@@ -48,8 +55,8 @@ export declare class ModlyClient {
|
|
|
48
55
|
readonly games: ReturnType<typeof gen.attachGames>;
|
|
49
56
|
readonly giveaways: ReturnType<typeof gen.attachGiveaways>;
|
|
50
57
|
readonly guilds: ReturnType<typeof gen.attachGuilds>;
|
|
58
|
+
readonly highlights: ReturnType<typeof gen.attachHighlights>;
|
|
51
59
|
readonly honeypot: ReturnType<typeof gen.attachHoneypot>;
|
|
52
|
-
readonly inboundWebhooks: ReturnType<typeof gen.attachInboundWebhooks>;
|
|
53
60
|
readonly incidents: ReturnType<typeof gen.attachIncidents>;
|
|
54
61
|
readonly integrations: ReturnType<typeof gen.attachIntegrations>;
|
|
55
62
|
readonly inviteTracker: ReturnType<typeof gen.attachInviteTracker>;
|
|
@@ -57,88 +64,253 @@ export declare class ModlyClient {
|
|
|
57
64
|
readonly logs: ReturnType<typeof gen.attachLogs>;
|
|
58
65
|
readonly mcp: ReturnType<typeof gen.attachMcp>;
|
|
59
66
|
readonly me: ReturnType<typeof gen.attachMe>;
|
|
67
|
+
readonly meAutoBump: ReturnType<typeof gen.attachMeAutoBump>;
|
|
60
68
|
readonly memberNotes: ReturnType<typeof gen.attachMemberNotes>;
|
|
61
69
|
readonly messages: ReturnType<typeof gen.attachMessages>;
|
|
62
70
|
readonly meTokens: ReturnType<typeof gen.attachMeTokens>;
|
|
71
|
+
readonly metrics: ReturnType<typeof gen.attachMetrics>;
|
|
72
|
+
readonly meWebhooks: ReturnType<typeof gen.attachMeWebhooks>;
|
|
63
73
|
readonly modCoach: ReturnType<typeof gen.attachModCoach>;
|
|
74
|
+
readonly nightmode: ReturnType<typeof gen.attachNightmode>;
|
|
64
75
|
readonly onboarding: ReturnType<typeof gen.attachOnboarding>;
|
|
65
76
|
readonly personalization: ReturnType<typeof gen.attachPersonalization>;
|
|
66
77
|
readonly polls: ReturnType<typeof gen.attachPolls>;
|
|
78
|
+
readonly public: ReturnType<typeof gen.attachPublic>;
|
|
79
|
+
readonly publicUploads: ReturnType<typeof gen.attachPublicUploads>;
|
|
80
|
+
readonly recipes: ReturnType<typeof gen.attachRecipes>;
|
|
81
|
+
readonly relay: ReturnType<typeof gen.attachRelay>;
|
|
67
82
|
readonly reputation: ReturnType<typeof gen.attachReputation>;
|
|
68
83
|
readonly roleEvents: ReturnType<typeof gen.attachRoleEvents>;
|
|
69
84
|
readonly roles: ReturnType<typeof gen.attachRoles>;
|
|
70
85
|
readonly savedResponses: ReturnType<typeof gen.attachSavedResponses>;
|
|
86
|
+
readonly seasonal: ReturnType<typeof gen.attachSeasonal>;
|
|
71
87
|
readonly secrets: ReturnType<typeof gen.attachSecrets>;
|
|
72
88
|
readonly serverGoals: ReturnType<typeof gen.attachServerGoals>;
|
|
73
89
|
readonly serverStats: ReturnType<typeof gen.attachServerStats>;
|
|
90
|
+
readonly serverStatsIngest: ReturnType<typeof gen.attachServerStatsIngest>;
|
|
74
91
|
readonly settingsIo: ReturnType<typeof gen.attachSettingsIo>;
|
|
75
92
|
readonly socialTracking: ReturnType<typeof gen.attachSocialTracking>;
|
|
76
93
|
readonly starboard: ReturnType<typeof gen.attachStarboard>;
|
|
77
94
|
readonly stats: ReturnType<typeof gen.attachStats>;
|
|
95
|
+
readonly suggestions: ReturnType<typeof gen.attachSuggestions>;
|
|
96
|
+
readonly suggestionsRoadmap: ReturnType<typeof gen.attachSuggestionsRoadmap>;
|
|
78
97
|
readonly timeCapsule: ReturnType<typeof gen.attachTimeCapsule>;
|
|
79
98
|
readonly translation: ReturnType<typeof gen.attachTranslation>;
|
|
80
99
|
readonly tts: ReturnType<typeof gen.attachTts>;
|
|
81
100
|
readonly userInput: ReturnType<typeof gen.attachUserInput>;
|
|
82
|
-
readonly public: ReturnType<typeof gen.attachPublic>;
|
|
83
101
|
readonly voiceBots: ReturnType<typeof gen.attachVoiceBots>;
|
|
84
102
|
readonly voiceClipper: ReturnType<typeof gen.attachVoiceClipper>;
|
|
85
103
|
readonly voiceRecording: ReturnType<typeof gen.attachVoiceRecording>;
|
|
86
104
|
readonly webhookBroadcaster: ReturnType<typeof gen.attachWebhookBroadcaster>;
|
|
105
|
+
readonly webhookModeration: ReturnType<typeof gen.attachWebhookModeration>;
|
|
87
106
|
readonly welcome: ReturnType<typeof gen.attachWelcome>;
|
|
88
107
|
readonly workload: ReturnType<typeof gen.attachWorkload>;
|
|
89
108
|
constructor(opts: ModlyClientOptions);
|
|
90
109
|
/**
|
|
91
|
-
* Low-level
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
110
|
+
* Low-level escape hatch for any endpoint, typed or not.
|
|
111
|
+
*
|
|
112
|
+
* - `path` starting with `/api/` is sent as-is (e.g. `/api/me/webhooks/targets`).
|
|
113
|
+
* - Any other path is guild-scoped: `/automod/rules` → `/api/guilds/<guildId>/automod/rules`.
|
|
114
|
+
* - `body` is JSON-encoded, unless it is a Blob / ArrayBuffer / Uint8Array, which is sent
|
|
115
|
+
* raw with `opts.contentType` (default `application/octet-stream`).
|
|
95
116
|
*
|
|
96
|
-
*
|
|
97
|
-
* `client.automod.listRules()`, …) over calling this directly.
|
|
117
|
+
* Throws `ApiError` on non-2xx. Returns `undefined` for 204.
|
|
98
118
|
*/
|
|
99
|
-
|
|
119
|
+
request<T = unknown>(method: HttpMethod, path: string, body?: unknown, opts?: RequestOptions): Promise<T>;
|
|
120
|
+
/** @deprecated Use `request()`. Kept for generated namespaces and older callers. */
|
|
121
|
+
_request<T = unknown>(method: HttpMethod, path: string, body?: unknown, opts?: RequestOptions): Promise<T>;
|
|
100
122
|
private querySuffix;
|
|
101
123
|
readonly modules: {
|
|
102
124
|
list: (locale?: string, opts?: RequestOptions) => Promise<ModuleSummary[]>;
|
|
103
125
|
schema: (key: string, locale?: string, opts?: RequestOptions) => Promise<ModuleConfigSchema>;
|
|
104
126
|
};
|
|
105
127
|
readonly webhooks: {
|
|
128
|
+
/** Event catalog + template variables + example payloads. */
|
|
106
129
|
events: (locale?: string, opts?: RequestOptions) => Promise<WebhookEventCatalog>;
|
|
130
|
+
/** All hooks plus 30-day analytics and the last 75 deliveries. */
|
|
131
|
+
list: (opts?: RequestOptions) => Promise<OutboundWebhookList>;
|
|
132
|
+
/** Convenience: one hook by id (filters `list()`); undefined if missing. */
|
|
133
|
+
get: (hookId: string, opts?: RequestOptions) => Promise<OutboundWebhook | undefined>;
|
|
134
|
+
create: (body: OutboundWebhookCreateInput, opts?: RequestOptions) => Promise<OutboundWebhook>;
|
|
135
|
+
update: (hookId: string, body: OutboundWebhookInput, opts?: RequestOptions) => Promise<OutboundWebhook>;
|
|
136
|
+
delete: (hookId: string, opts?: RequestOptions) => Promise<{
|
|
137
|
+
ok: true;
|
|
138
|
+
}>;
|
|
139
|
+
/** Fire a real (signed) delivery at the hook's URL. */
|
|
140
|
+
test: (hookId: string, body?: {
|
|
141
|
+
event?: WebhookEvent;
|
|
142
|
+
payload?: Record<string, unknown>;
|
|
143
|
+
}, opts?: RequestOptions) => Promise<OutboundWebhookTestResult>;
|
|
144
|
+
/** Render payload + headers for a hook config without sending anything. */
|
|
145
|
+
preview: (input: OutboundWebhookInput & {
|
|
146
|
+
event?: WebhookEvent;
|
|
147
|
+
payload?: Record<string, unknown>;
|
|
148
|
+
}, opts?: RequestOptions) => Promise<{
|
|
149
|
+
payload: Record<string, unknown>;
|
|
150
|
+
headers: Record<string, string>;
|
|
151
|
+
}>;
|
|
152
|
+
/** Recent deliveries (last 75 guild-wide), optionally for one hook. */
|
|
153
|
+
deliveries: (hookId?: string, opts?: RequestOptions) => Promise<import("./types.js").OutboundWebhookDelivery[]>;
|
|
154
|
+
replay: (hookId: string, deliveryId: string, opts?: RequestOptions) => Promise<{
|
|
155
|
+
ok: true;
|
|
156
|
+
}>;
|
|
107
157
|
listTargets: (opts?: RequestOptions) => Promise<WebhookTarget[]>;
|
|
108
158
|
listGroups: (opts?: RequestOptions) => Promise<WebhookGroup[]>;
|
|
109
159
|
listSchedules: (opts?: RequestOptions) => Promise<WebhookSchedule[]>;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
160
|
+
sendNow: (input: WebhookSendInput, opts?: RequestOptions) => Promise<WebhookSendResult[]>;
|
|
161
|
+
listEvents: (opts?: RequestOptions) => Promise<unknown>;
|
|
162
|
+
listOutboundWebhooks: (opts?: RequestOptions) => Promise<unknown>;
|
|
163
|
+
outboundWebhooksPreview: (body: Record<string, unknown>, opts?: RequestOptions) => Promise<unknown>;
|
|
164
|
+
outboundWebhooks: (body: Record<string, unknown>, opts?: RequestOptions) => Promise<unknown>;
|
|
165
|
+
updateOutboundWebhooks: (hookId: string, body: Record<string, unknown>, opts?: RequestOptions) => Promise<unknown>;
|
|
166
|
+
outboundWebhooksTest: (hookId: string, body: Record<string, unknown>, opts?: RequestOptions) => Promise<unknown>;
|
|
167
|
+
outboundWebhooksDeliveriesReplay: (hookId: string, deliveryId: string, opts?: RequestOptions) => Promise<unknown>;
|
|
168
|
+
deleteOutboundWebhooks: (hookId: string, opts?: RequestOptions) => Promise<unknown>;
|
|
169
|
+
};
|
|
170
|
+
readonly inboundWebhooks: {
|
|
171
|
+
list: (opts?: RequestOptions) => Promise<InboundWebhookList>;
|
|
172
|
+
presets: (opts?: RequestOptions) => Promise<InboundWebhookPreset[]>;
|
|
173
|
+
create: (body: InboundWebhookCreateInput, opts?: RequestOptions) => Promise<InboundWebhook>;
|
|
174
|
+
update: (hookId: string, body: InboundWebhookInput, opts?: RequestOptions) => Promise<InboundWebhook>;
|
|
175
|
+
delete: (hookId: string, opts?: RequestOptions) => Promise<{
|
|
176
|
+
ok: true;
|
|
177
|
+
}>;
|
|
178
|
+
/** New token → new `publicUrl`. The old URL stops working immediately. */
|
|
179
|
+
rotate: (hookId: string, opts?: RequestOptions) => Promise<InboundWebhook>;
|
|
180
|
+
/** Server POSTs `payload` (or the hook's samplePayload) to its own public URL. */
|
|
181
|
+
test: (hookId: string, body?: {
|
|
182
|
+
payload?: unknown;
|
|
117
183
|
}, opts?: RequestOptions) => Promise<{
|
|
118
|
-
|
|
119
|
-
|
|
184
|
+
ok: boolean;
|
|
185
|
+
status: number;
|
|
186
|
+
}>;
|
|
187
|
+
replay: (hookId: string, deliveryId: string, opts?: RequestOptions) => Promise<{
|
|
188
|
+
ok: true;
|
|
189
|
+
deliveryId: string;
|
|
190
|
+
}>;
|
|
191
|
+
/** `{{body.*}}` paths seen in samplePayload + recent hits, and header/query tokens. */
|
|
192
|
+
variables: (hookId: string, opts?: RequestOptions) => Promise<{
|
|
193
|
+
variables: string[];
|
|
194
|
+
headerVariables: string[];
|
|
195
|
+
}>;
|
|
196
|
+
/** Per-hook secrets usable as `{{secrets.<key>}}` in templates/actions. */
|
|
197
|
+
hookSecrets: {
|
|
198
|
+
list: (hookId: string, opts?: RequestOptions) => Promise<string[]>;
|
|
199
|
+
set: (hookId: string, key: string, value: string, opts?: RequestOptions) => Promise<{
|
|
200
|
+
ok: true;
|
|
201
|
+
key: string;
|
|
202
|
+
}>;
|
|
203
|
+
delete: (hookId: string, key: string, opts?: RequestOptions) => Promise<{
|
|
204
|
+
ok: true;
|
|
205
|
+
}>;
|
|
206
|
+
};
|
|
207
|
+
listPresets: (opts?: RequestOptions) => Promise<unknown>;
|
|
208
|
+
listVariables: (hookId: string, opts?: RequestOptions) => Promise<unknown>;
|
|
209
|
+
listSecrets: (hookId: string, opts?: RequestOptions) => Promise<unknown>;
|
|
210
|
+
secrets: (hookId: string, body: Record<string, unknown>, opts?: RequestOptions) => Promise<unknown>;
|
|
211
|
+
deleteSecrets: (hookId: string, key: string, opts?: RequestOptions) => Promise<unknown>;
|
|
212
|
+
get: (opts?: RequestOptions) => Promise<unknown>;
|
|
213
|
+
updateHook: (hookId: string, body: Record<string, unknown>, opts?: RequestOptions) => Promise<unknown>;
|
|
214
|
+
deliveriesReplay: (hookId: string, deliveryId: string, opts?: RequestOptions) => Promise<unknown>;
|
|
215
|
+
deleteHook: (hookId: string, opts?: RequestOptions) => Promise<unknown>;
|
|
216
|
+
};
|
|
217
|
+
readonly broadcaster: {
|
|
218
|
+
targets: {
|
|
219
|
+
list: (opts?: RequestOptions) => Promise<WebhookTarget[]>;
|
|
220
|
+
create: (body: WebhookTargetInput, opts?: RequestOptions) => Promise<WebhookTarget>;
|
|
221
|
+
update: (id: string, body: Partial<WebhookTargetInput>, opts?: RequestOptions) => Promise<WebhookTarget>;
|
|
222
|
+
delete: (id: string, opts?: RequestOptions) => Promise<{
|
|
223
|
+
ok: true;
|
|
224
|
+
}>;
|
|
225
|
+
};
|
|
226
|
+
groups: {
|
|
227
|
+
list: (opts?: RequestOptions) => Promise<WebhookGroup[]>;
|
|
228
|
+
create: (body: WebhookGroupInput, opts?: RequestOptions) => Promise<WebhookGroup>;
|
|
229
|
+
update: (id: string, body: Partial<WebhookGroupInput>, opts?: RequestOptions) => Promise<{
|
|
230
|
+
ok: true;
|
|
231
|
+
}>;
|
|
232
|
+
delete: (id: string, opts?: RequestOptions) => Promise<{
|
|
233
|
+
ok: true;
|
|
234
|
+
}>;
|
|
235
|
+
duplicate: (id: string, body?: {
|
|
236
|
+
name?: string;
|
|
237
|
+
}, opts?: RequestOptions) => Promise<WebhookGroup>;
|
|
238
|
+
/** Copy targets from group `id` into `targetGroupId`. */
|
|
239
|
+
copyTargets: (id: string, body: {
|
|
240
|
+
targetGroupId: string;
|
|
241
|
+
targetIds: string[];
|
|
242
|
+
mode?: "merge" | "replace";
|
|
243
|
+
}, opts?: RequestOptions) => Promise<{
|
|
244
|
+
ok: true;
|
|
245
|
+
}>;
|
|
246
|
+
};
|
|
247
|
+
schedules: {
|
|
248
|
+
list: (opts?: RequestOptions) => Promise<WebhookSchedule[]>;
|
|
249
|
+
create: (body: WebhookScheduleInput, opts?: RequestOptions) => Promise<WebhookSchedule>;
|
|
250
|
+
update: (id: string, body: Partial<WebhookScheduleInput>, opts?: RequestOptions) => Promise<{
|
|
251
|
+
ok: true;
|
|
252
|
+
}>;
|
|
253
|
+
delete: (id: string, opts?: RequestOptions) => Promise<{
|
|
254
|
+
ok: true;
|
|
255
|
+
}>;
|
|
256
|
+
};
|
|
257
|
+
/** Send now to saved targets/groups and/or an ad-hoc webhookUrl. */
|
|
258
|
+
send: (input: WebhookSendInput, opts?: RequestOptions) => Promise<WebhookSendResult[]>;
|
|
259
|
+
/** Backup of targets (URLs blanked), groups, schedules, marketing embeds. */
|
|
260
|
+
export: (opts?: RequestOptions) => Promise<WebhookBroadcasterExport>;
|
|
261
|
+
};
|
|
262
|
+
readonly scheduledActions: {
|
|
263
|
+
list: (filter?: {
|
|
264
|
+
kind?: ScheduledActionKind;
|
|
265
|
+
done?: boolean;
|
|
266
|
+
limit?: number;
|
|
267
|
+
}, opts?: RequestOptions) => Promise<ScheduledAction[]>;
|
|
268
|
+
retrieve: (id: string, opts?: RequestOptions) => Promise<ScheduledAction>;
|
|
269
|
+
create: (body: ScheduledActionCreateInput, opts?: RequestOptions) => Promise<ScheduledAction>;
|
|
270
|
+
update: (id: string, body: ScheduledActionUpdateInput, opts?: RequestOptions) => Promise<ScheduledAction>;
|
|
271
|
+
delete: (id: string, opts?: RequestOptions) => Promise<{
|
|
272
|
+
ok: true;
|
|
120
273
|
}>;
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
274
|
+
/** Run now (requires the `mcp` scope on the token). */
|
|
275
|
+
runNow: (id: string, opts?: RequestOptions) => Promise<ScheduledAction>;
|
|
276
|
+
get: (opts?: RequestOptions) => Promise<unknown>;
|
|
277
|
+
getId: (id: string, opts?: RequestOptions) => Promise<unknown>;
|
|
278
|
+
updateId: (id: string, body: Record<string, unknown>, opts?: RequestOptions) => Promise<unknown>;
|
|
279
|
+
deleteId: (id: string, opts?: RequestOptions) => Promise<unknown>;
|
|
280
|
+
run: (id: string, opts?: RequestOptions) => Promise<unknown>;
|
|
281
|
+
};
|
|
282
|
+
readonly automations: {
|
|
283
|
+
/** Rules, recent runs, analytics, event catalog, condition + action types. */
|
|
284
|
+
overview: (opts?: RequestOptions) => Promise<AutomationsOverview>;
|
|
285
|
+
listRules: (opts?: RequestOptions) => Promise<AutomationRule[]>;
|
|
286
|
+
getRule: (ruleId: string, opts?: RequestOptions) => Promise<AutomationRule>;
|
|
287
|
+
/** Create, or upsert when `body.id` is set. */
|
|
288
|
+
saveRule: (body: AutomationRuleInput, opts?: RequestOptions) => Promise<AutomationRule>;
|
|
289
|
+
updateRule: (ruleId: string, body: Partial<AutomationRuleInput>, opts?: RequestOptions) => Promise<AutomationRule>;
|
|
290
|
+
deleteRule: (ruleId: string, opts?: RequestOptions) => Promise<{
|
|
291
|
+
ok: true;
|
|
124
292
|
}>;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
293
|
+
/** Execute a rule against a synthetic event. */
|
|
294
|
+
test: (body: {
|
|
295
|
+
ruleId: string;
|
|
128
296
|
event?: string;
|
|
129
297
|
payload?: Record<string, unknown>;
|
|
130
|
-
}, opts?: RequestOptions) => Promise<
|
|
131
|
-
replay: (hookId: string, deliveryId: string, opts?: RequestOptions) => Promise<{
|
|
298
|
+
}, opts?: RequestOptions) => Promise<{
|
|
132
299
|
ok: true;
|
|
300
|
+
overview: AutomationsOverview;
|
|
133
301
|
}>;
|
|
134
|
-
|
|
302
|
+
runRule: (ruleId: string, payload?: Record<string, unknown>, opts?: RequestOptions) => Promise<{
|
|
135
303
|
ok: true;
|
|
136
304
|
}>;
|
|
137
|
-
|
|
305
|
+
get: (opts?: RequestOptions) => Promise<unknown>;
|
|
306
|
+
rules: (body: Record<string, unknown>, opts?: RequestOptions) => Promise<unknown>;
|
|
307
|
+
deleteRules: (ruleId: string, opts?: RequestOptions) => Promise<unknown>;
|
|
308
|
+
updateRules: (ruleId: string, body: Record<string, unknown>, opts?: RequestOptions) => Promise<unknown>;
|
|
309
|
+
rulesRun: (ruleId: string, body?: unknown, opts?: RequestOptions) => Promise<unknown>;
|
|
138
310
|
};
|
|
139
311
|
readonly embeds: {
|
|
140
312
|
list: (opts?: RequestOptions) => Promise<EmbedTemplate[]>;
|
|
141
|
-
save: (name: string, json: StoredMessage, opts?: RequestOptions) => Promise<EmbedTemplate>;
|
|
313
|
+
save: (name: string, json: StoredMessage, opts?: RequestOptions & EmbedSaveOptions) => Promise<EmbedTemplate>;
|
|
142
314
|
duplicate: (name: string, body: {
|
|
143
315
|
name: string;
|
|
144
316
|
description?: string | null;
|
|
@@ -157,6 +329,15 @@ export declare class ModlyClient {
|
|
|
157
329
|
authorId: string;
|
|
158
330
|
}[]>;
|
|
159
331
|
restoreVersion: (name: string, version: number, opts?: RequestOptions) => Promise<EmbedTemplate>;
|
|
332
|
+
/** Upload an image (png/jpeg/webp/gif, ≤8 MB); returns its hosted URL. */
|
|
333
|
+
uploadAsset: (data: Blob | ArrayBuffer | Uint8Array, contentType?: string, opts?: RequestOptions) => Promise<string>;
|
|
334
|
+
get: (opts?: RequestOptions) => Promise<unknown>;
|
|
335
|
+
put: (body: Record<string, unknown>, opts?: RequestOptions) => Promise<unknown>;
|
|
336
|
+
deleteName: (name: string, opts?: RequestOptions) => Promise<unknown>;
|
|
337
|
+
listVersions: (name: string, opts?: RequestOptions) => Promise<unknown>;
|
|
338
|
+
versionsRestore: (name: string, version: string, opts?: RequestOptions) => Promise<unknown>;
|
|
339
|
+
send: (name: string, body: Record<string, unknown>, opts?: RequestOptions) => Promise<unknown>;
|
|
340
|
+
setAssets: (opts?: RequestOptions) => Promise<unknown>;
|
|
160
341
|
};
|
|
161
342
|
readonly moderation: {
|
|
162
343
|
listCases: (opts?: RequestOptions & {
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACd,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,GAAG,MAAM,sBAAsB,CAAC;AAE5C,MAAM,WAAW,kBAAkB;IACjC,+DAA+D;IAC/D,OAAO,EAAE,MAAM,CAAC;IAChB,gGAAgG;IAChG,MAAM,EAAE,MAAM,CA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