@dynamoi/mcp 1.0.7 → 1.0.9
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/CAPABILITY_PARITY.md +18 -8
- package/CHANGELOG.md +12 -0
- package/README.md +36 -23
- package/dist/auth/protected-resource.d.ts +19 -1
- package/dist/auth/protected-resource.js +396 -4
- package/dist/campaign-limits.d.ts +16 -0
- package/dist/campaign-limits.js +22 -0
- package/dist/flow-types.d.ts +16 -8
- package/dist/index.d.ts +9 -5
- package/dist/index.js +2139 -1188
- package/dist/readiness-types.d.ts +6 -1
- package/dist/server/about.d.ts +17 -3
- package/dist/server/account-settings-tools.d.ts +328 -0
- package/dist/server/artist-intake-tools.d.ts +93 -0
- package/dist/server/channel-results-schema.d.ts +1 -0
- package/dist/server/create-server.d.ts +25 -7
- package/dist/server/distribution-tools.d.ts +233 -9
- package/dist/server/openai-tools.d.ts +32 -4
- package/dist/server/output-schemas.d.ts +386 -28
- package/dist/server/shop-tools.d.ts +83 -3
- package/dist/server/smart-campaign-creative.d.ts +477 -0
- package/dist/server/smart-link-theme-preview.d.ts +78 -0
- package/dist/server/smart-link-tools.d.ts +298 -33
- package/dist/server/support-tools.d.ts +21 -7
- package/dist/server/tools.d.ts +1258 -133
- package/dist/server/workflow-tools.d.ts +32 -4
- package/dist/server/workspace/tool.d.ts +2 -2
- package/dist/server/youtube-channel-data-schema.d.ts +1 -1
- package/dist/shop-limits.d.ts +6 -0
- package/dist/shop-limits.js +13 -0
- package/dist/types.d.ts +18 -0
- package/package.json +22 -4
- package/server.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
export declare const DYNAMOI_SHOP_FULL_SCOPE: "dynamoi:mcp.full";
|
|
3
|
-
export
|
|
3
|
+
export { SHOP_MAX_TARGET_COUNTRY_CODES as DYNAMOI_SHOP_MAX_TARGET_COUNTRY_CODES } from "../shop-limits";
|
|
4
4
|
export declare const DynamoiShopSelectionInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
5
|
kind: z.ZodLiteral<"package">;
|
|
6
6
|
tier: z.ZodEnum<{
|
|
@@ -132,7 +132,87 @@ export type DynamoiShopGetQuoteInput = z.infer<typeof DynamoiShopGetQuoteInputSc
|
|
|
132
132
|
export type DynamoiShopCreateCheckoutInput = z.infer<typeof DynamoiShopCreateCheckoutInputSchema>;
|
|
133
133
|
export type DynamoiShopQuoteData = z.infer<typeof DynamoiShopQuoteDataSchema>;
|
|
134
134
|
export type DynamoiShopCheckoutData = z.infer<typeof DynamoiShopCheckoutDataSchema>;
|
|
135
|
+
export declare const DynamoiShopListOrdersInputSchema: z.ZodObject<{
|
|
136
|
+
artistId: z.ZodString;
|
|
137
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
138
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
139
|
+
}, z.core.$strict>;
|
|
140
|
+
export declare const DynamoiShopOrdersDataSchema: z.ZodObject<{
|
|
141
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
142
|
+
campaignStatus: z.ZodNullable<z.ZodString>;
|
|
143
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
144
|
+
createdAt: z.ZodString;
|
|
145
|
+
deploymentCompletedAt: z.ZodNullable<z.ZodString>;
|
|
146
|
+
orderId: z.ZodString;
|
|
147
|
+
status: z.ZodString;
|
|
148
|
+
}, z.core.$strict>>;
|
|
149
|
+
}, z.core.$strict>;
|
|
150
|
+
export type DynamoiShopOrdersData = z.infer<typeof DynamoiShopOrdersDataSchema>;
|
|
135
151
|
export declare const SHOP_TOOL_DEFINITIONS: readonly [{
|
|
152
|
+
readonly description: "Read up to 20 newest Shop orders for an authorized artist, optionally filtered by order ID. Returns observed order status, campaign status and fulfillment timestamps. No refunds or fulfillment changes.";
|
|
153
|
+
readonly destructiveHint: false;
|
|
154
|
+
readonly idempotentHint: true;
|
|
155
|
+
readonly name: "dynamoi_shop_list_orders";
|
|
156
|
+
readonly openWorldHint: false;
|
|
157
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
158
|
+
data: z.ZodObject<{
|
|
159
|
+
orders: z.ZodArray<z.ZodObject<{
|
|
160
|
+
campaignStatus: z.ZodNullable<z.ZodString>;
|
|
161
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
162
|
+
createdAt: z.ZodString;
|
|
163
|
+
deploymentCompletedAt: z.ZodNullable<z.ZodString>;
|
|
164
|
+
orderId: z.ZodString;
|
|
165
|
+
status: z.ZodString;
|
|
166
|
+
}, z.core.$strict>>;
|
|
167
|
+
}, z.core.$strict>;
|
|
168
|
+
status: z.ZodLiteral<"success">;
|
|
169
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
170
|
+
status: z.ZodLiteral<"error">;
|
|
171
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
172
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
173
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
174
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
175
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
176
|
+
TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
|
|
177
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
178
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
179
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
180
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
181
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
182
|
+
}>>;
|
|
183
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
184
|
+
failureStage: z.ZodOptional<z.ZodString>;
|
|
185
|
+
field: z.ZodOptional<z.ZodString>;
|
|
186
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
187
|
+
field: z.ZodOptional<z.ZodString>;
|
|
188
|
+
kind: z.ZodEnum<{
|
|
189
|
+
provide_input: "provide_input";
|
|
190
|
+
read_status: "read_status";
|
|
191
|
+
reconnect: "reconnect";
|
|
192
|
+
handoff: "handoff";
|
|
193
|
+
}>;
|
|
194
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
195
|
+
}, z.core.$strict>>;
|
|
196
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
197
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
198
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
+
screeningResult: z.ZodOptional<z.ZodString>;
|
|
200
|
+
kind: z.ZodEnum<{
|
|
201
|
+
unknown: "unknown";
|
|
202
|
+
platform: "platform";
|
|
203
|
+
validation: "validation";
|
|
204
|
+
business: "business";
|
|
205
|
+
}>;
|
|
206
|
+
message: z.ZodString;
|
|
207
|
+
}, z.core.$strict>]>;
|
|
208
|
+
readonly readOnlyHint: true;
|
|
209
|
+
readonly schema: z.ZodObject<{
|
|
210
|
+
artistId: z.ZodString;
|
|
211
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
212
|
+
orderId: z.ZodOptional<z.ZodString>;
|
|
213
|
+
}, z.core.$strict>;
|
|
214
|
+
readonly title: "Read Shop Orders";
|
|
215
|
+
}, {
|
|
136
216
|
readonly description: "Calculate a read-only Dynamoi Shop estimate for a one-off YouTube video promotion. The server derives storefront price, currency, targeting, and estimated views. This does not reserve a price, create checkout, collect payment, create an order, or launch a campaign.";
|
|
137
217
|
readonly destructiveHint: false;
|
|
138
218
|
readonly idempotentHint: true;
|
|
@@ -216,9 +296,9 @@ export declare const SHOP_TOOL_DEFINITIONS: readonly [{
|
|
|
216
296
|
screeningResult: z.ZodOptional<z.ZodString>;
|
|
217
297
|
kind: z.ZodEnum<{
|
|
218
298
|
unknown: "unknown";
|
|
299
|
+
platform: "platform";
|
|
219
300
|
validation: "validation";
|
|
220
301
|
business: "business";
|
|
221
|
-
platform: "platform";
|
|
222
302
|
}>;
|
|
223
303
|
message: z.ZodString;
|
|
224
304
|
}, z.core.$strict>]>;
|
|
@@ -301,9 +381,9 @@ export declare const SHOP_TOOL_DEFINITIONS: readonly [{
|
|
|
301
381
|
screeningResult: z.ZodOptional<z.ZodString>;
|
|
302
382
|
kind: z.ZodEnum<{
|
|
303
383
|
unknown: "unknown";
|
|
384
|
+
platform: "platform";
|
|
304
385
|
validation: "validation";
|
|
305
386
|
business: "business";
|
|
306
|
-
platform: "platform";
|
|
307
387
|
}>;
|
|
308
388
|
message: z.ZodString;
|
|
309
389
|
}, z.core.$strict>]>;
|
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
export declare const CreativeSelectionSchema: z.ZodObject<{
|
|
3
|
+
campaignId: z.ZodUUID;
|
|
4
|
+
expectedUpdatedAt: z.ZodISODateTime;
|
|
5
|
+
selectedCreativeIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
6
|
+
selectedSocialPosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7
|
+
source: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
generate: "generate";
|
|
9
|
+
posts: "posts";
|
|
10
|
+
upload: "upload";
|
|
11
|
+
}>>;
|
|
12
|
+
uploadedAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13
|
+
fileName: z.ZodDefault<z.ZodString>;
|
|
14
|
+
fileSize: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
fileType: z.ZodDefault<z.ZodString>;
|
|
16
|
+
id: z.ZodDefault<z.ZodString>;
|
|
17
|
+
mediaAssetId: z.ZodUUID;
|
|
18
|
+
}, z.core.$strict>>>;
|
|
19
|
+
}, z.core.$strict>;
|
|
20
|
+
export declare const CreativeGenerationSchema: z.ZodObject<{
|
|
21
|
+
campaignId: z.ZodUUID;
|
|
22
|
+
expectedUpdatedAt: z.ZodISODateTime;
|
|
23
|
+
}, z.core.$strict>;
|
|
24
|
+
export declare const SourceAudioUploadStatusSchema: z.ZodObject<{
|
|
25
|
+
campaignId: z.ZodUUID;
|
|
26
|
+
expectedUpdatedAt: z.ZodISODateTime;
|
|
27
|
+
uploadId: z.ZodString;
|
|
28
|
+
uploadSessionId: z.ZodUUID;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
export declare const SourceAudioUploadSchema: z.ZodObject<{
|
|
31
|
+
campaignId: z.ZodUUID;
|
|
32
|
+
expectedUpdatedAt: z.ZodISODateTime;
|
|
33
|
+
fileSizeBytes: z.ZodNumber;
|
|
34
|
+
hookSeconds: z.ZodArray<z.ZodNumber>;
|
|
35
|
+
trackDurationSeconds: z.ZodNumber;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
export declare const SourceAudioImportSchema: z.ZodObject<{
|
|
38
|
+
campaignId: z.ZodUUID;
|
|
39
|
+
expectedUpdatedAt: z.ZodISODateTime;
|
|
40
|
+
hookSeconds: z.ZodArray<z.ZodNumber>;
|
|
41
|
+
trackDurationSeconds: z.ZodNumber;
|
|
42
|
+
url: z.ZodString;
|
|
43
|
+
}, z.core.$strict>;
|
|
44
|
+
export declare const SourceAudioUploadCompleteSchema: z.ZodObject<{
|
|
45
|
+
campaignId: z.ZodUUID;
|
|
46
|
+
expectedUpdatedAt: z.ZodISODateTime;
|
|
47
|
+
fileSizeBytes: z.ZodNumber;
|
|
48
|
+
hookSeconds: z.ZodArray<z.ZodNumber>;
|
|
49
|
+
trackDurationSeconds: z.ZodNumber;
|
|
50
|
+
parts: z.ZodArray<z.ZodObject<{
|
|
51
|
+
etag: z.ZodString;
|
|
52
|
+
partNumber: z.ZodNumber;
|
|
53
|
+
}, z.core.$strict>>;
|
|
54
|
+
uploadId: z.ZodString;
|
|
55
|
+
uploadSessionId: z.ZodUUID;
|
|
56
|
+
}, z.core.$strict>;
|
|
57
|
+
export declare const SmartCampaignCreativeInputSchema: z.ZodObject<{
|
|
58
|
+
campaignId: z.ZodOptional<z.ZodUUID>;
|
|
59
|
+
expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
60
|
+
fileSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
hookSeconds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
62
|
+
trackDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
64
|
+
etag: z.ZodString;
|
|
65
|
+
partNumber: z.ZodNumber;
|
|
66
|
+
}, z.core.$strict>>>;
|
|
67
|
+
uploadId: z.ZodOptional<z.ZodString>;
|
|
68
|
+
uploadSessionId: z.ZodOptional<z.ZodUUID>;
|
|
69
|
+
selectedCreativeIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUUID>>>;
|
|
70
|
+
selectedSocialPosts: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
71
|
+
source: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
generate: "generate";
|
|
73
|
+
posts: "posts";
|
|
74
|
+
upload: "upload";
|
|
75
|
+
}>>>;
|
|
76
|
+
uploadedAssets: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
77
|
+
fileName: z.ZodDefault<z.ZodString>;
|
|
78
|
+
fileSize: z.ZodDefault<z.ZodNumber>;
|
|
79
|
+
fileType: z.ZodDefault<z.ZodString>;
|
|
80
|
+
id: z.ZodDefault<z.ZodString>;
|
|
81
|
+
mediaAssetId: z.ZodUUID;
|
|
82
|
+
}, z.core.$strict>>>>;
|
|
83
|
+
action: z.ZodEnum<{
|
|
84
|
+
save_setup: "save_setup";
|
|
85
|
+
read_budget: "read_budget";
|
|
86
|
+
save_budget: "save_budget";
|
|
87
|
+
read: "read";
|
|
88
|
+
read_location: "read_location";
|
|
89
|
+
save_location: "save_location";
|
|
90
|
+
start_generation: "start_generation";
|
|
91
|
+
retry_generation: "retry_generation";
|
|
92
|
+
clear_generation: "clear_generation";
|
|
93
|
+
source_audio_upload_status: "source_audio_upload_status";
|
|
94
|
+
abort_source_audio_upload: "abort_source_audio_upload";
|
|
95
|
+
select: "select";
|
|
96
|
+
import_source_audio: "import_source_audio";
|
|
97
|
+
start_source_audio_upload: "start_source_audio_upload";
|
|
98
|
+
complete_source_audio_upload: "complete_source_audio_upload";
|
|
99
|
+
start_media_upload: "start_media_upload";
|
|
100
|
+
media_upload_status: "media_upload_status";
|
|
101
|
+
complete_media_upload: "complete_media_upload";
|
|
102
|
+
abort_media_upload: "abort_media_upload";
|
|
103
|
+
}>;
|
|
104
|
+
artistId: z.ZodUUID;
|
|
105
|
+
budgetSave: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
campaignId: z.ZodUUID;
|
|
107
|
+
expectedUpdatedAt: z.ZodISODateTime;
|
|
108
|
+
budgetAmountCents: z.ZodNumber;
|
|
109
|
+
budgetAmountMinor: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
budgetType: z.ZodEnum<{
|
|
111
|
+
DAILY: "DAILY";
|
|
112
|
+
TOTAL: "TOTAL";
|
|
113
|
+
}>;
|
|
114
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
115
|
+
endDate: z.ZodNullable<z.ZodISODate>;
|
|
116
|
+
}, z.core.$strict>>;
|
|
117
|
+
catalog: z.ZodOptional<z.ZodObject<{
|
|
118
|
+
after: z.ZodOptional<z.ZodString>;
|
|
119
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
120
|
+
source: z.ZodEnum<{
|
|
121
|
+
facebook: "facebook";
|
|
122
|
+
instagram: "instagram";
|
|
123
|
+
}>;
|
|
124
|
+
}, z.core.$strict>>;
|
|
125
|
+
locationSave: z.ZodOptional<z.ZodObject<{
|
|
126
|
+
campaignId: z.ZodUUID;
|
|
127
|
+
expectedUpdatedAt: z.ZodISODateTime;
|
|
128
|
+
targeting: z.ZodUnion<readonly [z.ZodObject<{
|
|
129
|
+
mode: z.ZodLiteral<"WORLDWIDE">;
|
|
130
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
131
|
+
countryCodes: z.ZodArray<z.ZodString>;
|
|
132
|
+
mode: z.ZodLiteral<"INCLUDE">;
|
|
133
|
+
}, z.core.$strict>]>;
|
|
134
|
+
}, z.core.$strict>>;
|
|
135
|
+
mediaUpload: z.ZodOptional<z.ZodObject<{
|
|
136
|
+
assetId: z.ZodOptional<z.ZodUUID>;
|
|
137
|
+
contentType: z.ZodOptional<z.ZodEnum<{
|
|
138
|
+
"image/jpeg": "image/jpeg";
|
|
139
|
+
"image/png": "image/png";
|
|
140
|
+
"video/mp4": "video/mp4";
|
|
141
|
+
}>>;
|
|
142
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
143
|
+
fileSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
fileType: z.ZodOptional<z.ZodEnum<{
|
|
145
|
+
"image/jpeg": "image/jpeg";
|
|
146
|
+
"image/png": "image/png";
|
|
147
|
+
"video/mp4": "video/mp4";
|
|
148
|
+
}>>;
|
|
149
|
+
key: z.ZodOptional<z.ZodString>;
|
|
150
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
151
|
+
etag: z.ZodString;
|
|
152
|
+
partNumber: z.ZodNumber;
|
|
153
|
+
}, z.core.$strict>>>;
|
|
154
|
+
uploadId: z.ZodOptional<z.ZodString>;
|
|
155
|
+
}, z.core.$strict>>;
|
|
156
|
+
setupRequestId: z.ZodOptional<z.ZodUUID>;
|
|
157
|
+
setupSave: z.ZodOptional<z.ZodObject<{
|
|
158
|
+
appleMusicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
159
|
+
playLinkId: z.ZodString;
|
|
160
|
+
sourceSurface: z.ZodDefault<z.ZodLiteral<"mcp">>;
|
|
161
|
+
}, z.core.$strict>>;
|
|
162
|
+
url: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, z.core.$strict>;
|
|
164
|
+
export declare const SmartCampaignCreativeOutputSchema: z.ZodObject<{
|
|
165
|
+
budgetDraft: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
166
|
+
campaignId: z.ZodUUID;
|
|
167
|
+
catalog: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
items: z.ZodArray<z.ZodObject<{
|
|
169
|
+
createdAt: z.ZodString;
|
|
170
|
+
eligibleForPromotion: z.ZodNullable<z.ZodBoolean>;
|
|
171
|
+
id: z.ZodString;
|
|
172
|
+
mediaType: z.ZodString;
|
|
173
|
+
text: z.ZodString;
|
|
174
|
+
}, z.core.$strict>>;
|
|
175
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
176
|
+
source: z.ZodEnum<{
|
|
177
|
+
facebook: "facebook";
|
|
178
|
+
instagram: "instagram";
|
|
179
|
+
}>;
|
|
180
|
+
}, z.core.$strict>>;
|
|
181
|
+
draftState: z.ZodOptional<z.ZodEnum<{
|
|
182
|
+
available: "available";
|
|
183
|
+
missing: "missing";
|
|
184
|
+
}>>;
|
|
185
|
+
generation: z.ZodNullable<z.ZodObject<{
|
|
186
|
+
items: z.ZodArray<z.ZodObject<{
|
|
187
|
+
clipDurationSeconds: z.ZodNumber;
|
|
188
|
+
clipStartSeconds: z.ZodNumber;
|
|
189
|
+
errorMessage: z.ZodNullable<z.ZodString>;
|
|
190
|
+
id: z.ZodUUID;
|
|
191
|
+
progressPercent: z.ZodNullable<z.ZodNumber>;
|
|
192
|
+
status: z.ZodEnum<{
|
|
193
|
+
FAILED: "FAILED";
|
|
194
|
+
PENDING: "PENDING";
|
|
195
|
+
COMPLETED: "COMPLETED";
|
|
196
|
+
PROCESSING: "PROCESSING";
|
|
197
|
+
}>;
|
|
198
|
+
templateVariant: z.ZodString;
|
|
199
|
+
thumbnailUrl: z.ZodString;
|
|
200
|
+
videoUrl: z.ZodString;
|
|
201
|
+
}, z.core.$strict>>;
|
|
202
|
+
jobId: z.ZodUUID;
|
|
203
|
+
phase: z.ZodEnum<{
|
|
204
|
+
FAILED: "FAILED";
|
|
205
|
+
ANALYZING_AUDIO: "ANALYZING_AUDIO";
|
|
206
|
+
CHECKING_RENDERER: "CHECKING_RENDERER";
|
|
207
|
+
FINALIZING: "FINALIZING";
|
|
208
|
+
PREPARING_TEMPLATES: "PREPARING_TEMPLATES";
|
|
209
|
+
RENDERING: "RENDERING";
|
|
210
|
+
}>;
|
|
211
|
+
}, z.core.$strict>>;
|
|
212
|
+
generationJobId: z.ZodOptional<z.ZodUUID>;
|
|
213
|
+
locationDraft: z.ZodOptional<z.ZodObject<{
|
|
214
|
+
activeStep: z.ZodEnum<{
|
|
215
|
+
location: "location";
|
|
216
|
+
adCopy: "adCopy";
|
|
217
|
+
}>;
|
|
218
|
+
availableCountries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
219
|
+
code: z.ZodString;
|
|
220
|
+
name: z.ZodString;
|
|
221
|
+
}, z.core.$strict>>>;
|
|
222
|
+
campaignId: z.ZodUUID;
|
|
223
|
+
completedSteps: z.ZodOptional<z.ZodTuple<[z.ZodLiteral<"content">, z.ZodLiteral<"creative">, z.ZodLiteral<"location">], null>>;
|
|
224
|
+
location: z.ZodObject<{
|
|
225
|
+
countries: z.ZodArray<z.ZodObject<{
|
|
226
|
+
code: z.ZodString;
|
|
227
|
+
name: z.ZodString;
|
|
228
|
+
}, z.core.$strict>>;
|
|
229
|
+
mode: z.ZodEnum<{
|
|
230
|
+
INCLUDE: "INCLUDE";
|
|
231
|
+
WORLDWIDE: "WORLDWIDE";
|
|
232
|
+
}>;
|
|
233
|
+
}, z.core.$strict>;
|
|
234
|
+
recommendedCountries: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
235
|
+
code: z.ZodString;
|
|
236
|
+
name: z.ZodString;
|
|
237
|
+
}, z.core.$strict>>>;
|
|
238
|
+
updatedAt: z.ZodISODateTime;
|
|
239
|
+
}, z.core.$strict>>;
|
|
240
|
+
mediaUpload: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
241
|
+
expiresAt: z.ZodISODateTime;
|
|
242
|
+
key: z.ZodString;
|
|
243
|
+
partSizeBytes: z.ZodNumber;
|
|
244
|
+
presignedPartUrls: z.ZodArray<z.ZodURL>;
|
|
245
|
+
uploadId: z.ZodString;
|
|
246
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
247
|
+
completed: z.ZodBoolean;
|
|
248
|
+
uploadedParts: z.ZodArray<z.ZodObject<{
|
|
249
|
+
etag: z.ZodString;
|
|
250
|
+
partNumber: z.ZodNumber;
|
|
251
|
+
sizeBytes: z.ZodNumber;
|
|
252
|
+
}, z.core.$strict>>;
|
|
253
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
254
|
+
etag: z.ZodString;
|
|
255
|
+
key: z.ZodString;
|
|
256
|
+
mediaAssetId: z.ZodUUID;
|
|
257
|
+
moderationStatus: z.ZodString;
|
|
258
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
259
|
+
ok: z.ZodLiteral<true>;
|
|
260
|
+
}, z.core.$strict>]>>;
|
|
261
|
+
selectedCreativeIds: z.ZodArray<z.ZodUUID>;
|
|
262
|
+
selectedSocialPosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
263
|
+
setupDraft: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
264
|
+
source: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
265
|
+
generate: "generate";
|
|
266
|
+
posts: "posts";
|
|
267
|
+
upload: "upload";
|
|
268
|
+
}>>>;
|
|
269
|
+
sourceAudio: z.ZodOptional<z.ZodObject<{
|
|
270
|
+
fileName: z.ZodNullable<z.ZodString>;
|
|
271
|
+
fileSizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
272
|
+
hookSeconds: z.ZodArray<z.ZodNumber>;
|
|
273
|
+
isUploaded: z.ZodBoolean;
|
|
274
|
+
trackDurationSeconds: z.ZodNullable<z.ZodNumber>;
|
|
275
|
+
}, z.core.$strict>>;
|
|
276
|
+
updatedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
277
|
+
upload: z.ZodOptional<z.ZodObject<{
|
|
278
|
+
campaignId: z.ZodUUID;
|
|
279
|
+
expiresAt: z.ZodISODateTime;
|
|
280
|
+
partSizeBytes: z.ZodNumber;
|
|
281
|
+
presignedPartUrls: z.ZodArray<z.ZodString>;
|
|
282
|
+
uploadId: z.ZodString;
|
|
283
|
+
uploadSessionId: z.ZodUUID;
|
|
284
|
+
}, z.core.$strict>>;
|
|
285
|
+
uploadedAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
286
|
+
fileName: z.ZodDefault<z.ZodString>;
|
|
287
|
+
fileSize: z.ZodDefault<z.ZodNumber>;
|
|
288
|
+
fileType: z.ZodDefault<z.ZodString>;
|
|
289
|
+
id: z.ZodDefault<z.ZodString>;
|
|
290
|
+
mediaAssetId: z.ZodUUID;
|
|
291
|
+
uploadStatus: z.ZodEnum<{
|
|
292
|
+
success: "success";
|
|
293
|
+
error: "error";
|
|
294
|
+
}>;
|
|
295
|
+
}, z.core.$strict>>>;
|
|
296
|
+
uploadStatus: z.ZodOptional<z.ZodObject<{
|
|
297
|
+
campaignId: z.ZodUUID;
|
|
298
|
+
uploadedParts: z.ZodArray<z.ZodObject<{
|
|
299
|
+
etag: z.ZodString;
|
|
300
|
+
partNumber: z.ZodNumber;
|
|
301
|
+
sizeBytes: z.ZodNumber;
|
|
302
|
+
}, z.core.$strict>>;
|
|
303
|
+
}, z.core.$strict>>;
|
|
304
|
+
}, z.core.$strict>;
|
|
305
|
+
export declare const SMART_CAMPAIGN_CREATIVE_TOOL_DEFINITION: {
|
|
306
|
+
readonly description: "Use save_setup with setupSave={playLinkId, appleMusicUrl?} and a stable UUID-v4 setupRequestId per setup flow; reuse it on retries, and start a new flow for different content. It returns setupDraft. Use read_budget for budgetDraft and save_budget with budgetSave={campaignId, expectedUpdatedAt, budgetAmountCents, budgetAmountMinor?, currency?, budgetType:DAILY|TOTAL, endDate:YYYY-MM-DD|null}. Amounts are exact minor units in the artist currency; use the budget policy from read_budget. Setup and budget saves only edit drafts and never launch or charge. Use read_location to read native draft targeting and save_location with locationSave={campaignId, expectedUpdatedAt, targeting:{mode:WORLDWIDE}|{mode:INCLUDE,countryCodes:[US]}} to save it. Read locationDraft first for the current revision; both location actions return locationDraft. Read generation progress, generated creatives and current selection with action=read. To discover owned social posts, explicitly add catalog={source:facebook|instagram,limit:1..25,after?:nextCursor}. Only requested catalog reads fetch connected-account posts; use catalog.items[].id directly in selectedSocialPosts. Pass nextCursor as after for another page. Catalog reads never alter selections, token state, or campaigns; provider failure is an error, and selection revalidates ownership. Use start_generation, retry_generation or clear_generation with campaignId and expectedUpdatedAt from read. Generation runs asynchronously; poll with read. Use source_audio_upload_status or abort_source_audio_upload with campaignId, expectedUpdatedAt, uploadId and uploadSessionId to inspect uploaded parts or abort the direct upload. Agents never approve or submit. Use action=select with campaignId and expectedUpdatedAt from read, source=generate|posts|upload, and selectedCreativeIds, selectedSocialPosts (owned META:post IDs), or uploadedAssets=[{mediaAssetId}] from dynamoi_list_media_assets. Omit selectedCreativeIds for social or uploaded media. Uploaded metadata is resolved by the server; only owned, moderation-approved uploads can be selected. Selection never attests artist approval and never submits the campaign. Upload private JPEG/PNG/MP4 campaign media (1 GiB maximum) with start_media_upload, campaignId, expectedUpdatedAt and mediaUpload={assetId:UUID,fileName,fileSizeBytes,contentType}. Retain the returned key/uploadId and PUT each presigned part URL. Complete with complete_media_upload, a freshly inspected expectedUpdatedAt, and mediaUpload={assetId,fileName,fileSizeBytes,fileType,key,uploadId,parts:[{partNumber,etag}]}. Use media_upload_status or abort_media_upload with campaignId and mediaUpload={key,uploadId}; both remain usable after draft edits. A completed status means retry completion, not re-upload. Completion returns only a moderation receipt; poll dynamoi_list_media_assets and select only after APPROVED. Uploads do not edit the draft selection. Attach source MP3 audio to a draft with start_source_audio_upload, PUT each returned presigned part URL, then complete_source_audio_upload with the returned uploadId/uploadSessionId and part ETags. Both actions require campaignId, expectedUpdatedAt, fileSizeBytes, trackDurationSeconds and 0–2 hookSeconds. Read sourceAudio to confirm. Use import_source_audio with a public Dropbox share url, campaignId, expectedUpdatedAt, trackDurationSeconds and 0–2 hookSeconds (250 MiB maximum). Google Drive is unsupported because it requires a Google API key. On timeout or an ambiguous result, re-read sourceAudio before retrying.";
|
|
307
|
+
readonly destructiveHint: true;
|
|
308
|
+
readonly name: "dynamoi_manage_smart_campaign_creative";
|
|
309
|
+
readonly openWorldHint: false;
|
|
310
|
+
readonly outputSchema: z.ZodObject<{
|
|
311
|
+
status: z.ZodEnum<{
|
|
312
|
+
success: "success";
|
|
313
|
+
error: "error";
|
|
314
|
+
partial_success: "partial_success";
|
|
315
|
+
}>;
|
|
316
|
+
recovery?: z.ZodOptional<z.ZodObject<{
|
|
317
|
+
actions: z.ZodArray<z.ZodString>;
|
|
318
|
+
affectedSelection: z.ZodNullable<z.ZodObject<{
|
|
319
|
+
id: z.ZodString;
|
|
320
|
+
kind: z.ZodString;
|
|
321
|
+
}, z.core.$strip>>;
|
|
322
|
+
kind: z.ZodString;
|
|
323
|
+
occurredAt: z.ZodString;
|
|
324
|
+
reasonCode: z.ZodOptional<z.ZodString>;
|
|
325
|
+
retryAfter: z.ZodNullable<z.ZodString>;
|
|
326
|
+
stage: z.ZodString;
|
|
327
|
+
}, z.core.$strip>> | undefined;
|
|
328
|
+
validationCode?: z.ZodOptional<z.ZodString> | undefined;
|
|
329
|
+
validationStage?: z.ZodOptional<z.ZodString> | undefined;
|
|
330
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
331
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
332
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
333
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
334
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
335
|
+
TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
|
|
336
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
337
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
338
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
339
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
340
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
341
|
+
}>>;
|
|
342
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
343
|
+
failureStage: z.ZodOptional<z.ZodString>;
|
|
344
|
+
field: z.ZodOptional<z.ZodString>;
|
|
345
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
346
|
+
field: z.ZodOptional<z.ZodString>;
|
|
347
|
+
kind: z.ZodEnum<{
|
|
348
|
+
provide_input: "provide_input";
|
|
349
|
+
read_status: "read_status";
|
|
350
|
+
reconnect: "reconnect";
|
|
351
|
+
handoff: "handoff";
|
|
352
|
+
}>;
|
|
353
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
354
|
+
}, z.core.$strict>>;
|
|
355
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
356
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
357
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
358
|
+
screeningResult: z.ZodOptional<z.ZodString>;
|
|
359
|
+
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
360
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
361
|
+
unknown: "unknown";
|
|
362
|
+
platform: "platform";
|
|
363
|
+
validation: "validation";
|
|
364
|
+
business: "business";
|
|
365
|
+
}>>;
|
|
366
|
+
message: z.ZodOptional<z.ZodString>;
|
|
367
|
+
}, z.core.$strict>;
|
|
368
|
+
readonly readOnlyHint: false;
|
|
369
|
+
readonly schema: z.ZodObject<{
|
|
370
|
+
campaignId: z.ZodOptional<z.ZodUUID>;
|
|
371
|
+
expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
372
|
+
fileSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
373
|
+
hookSeconds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
374
|
+
trackDurationSeconds: z.ZodOptional<z.ZodNumber>;
|
|
375
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
376
|
+
etag: z.ZodString;
|
|
377
|
+
partNumber: z.ZodNumber;
|
|
378
|
+
}, z.core.$strict>>>;
|
|
379
|
+
uploadId: z.ZodOptional<z.ZodString>;
|
|
380
|
+
uploadSessionId: z.ZodOptional<z.ZodUUID>;
|
|
381
|
+
selectedCreativeIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUUID>>>;
|
|
382
|
+
selectedSocialPosts: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
383
|
+
source: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
384
|
+
generate: "generate";
|
|
385
|
+
posts: "posts";
|
|
386
|
+
upload: "upload";
|
|
387
|
+
}>>>;
|
|
388
|
+
uploadedAssets: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
389
|
+
fileName: z.ZodDefault<z.ZodString>;
|
|
390
|
+
fileSize: z.ZodDefault<z.ZodNumber>;
|
|
391
|
+
fileType: z.ZodDefault<z.ZodString>;
|
|
392
|
+
id: z.ZodDefault<z.ZodString>;
|
|
393
|
+
mediaAssetId: z.ZodUUID;
|
|
394
|
+
}, z.core.$strict>>>>;
|
|
395
|
+
action: z.ZodEnum<{
|
|
396
|
+
save_setup: "save_setup";
|
|
397
|
+
read_budget: "read_budget";
|
|
398
|
+
save_budget: "save_budget";
|
|
399
|
+
read: "read";
|
|
400
|
+
read_location: "read_location";
|
|
401
|
+
save_location: "save_location";
|
|
402
|
+
start_generation: "start_generation";
|
|
403
|
+
retry_generation: "retry_generation";
|
|
404
|
+
clear_generation: "clear_generation";
|
|
405
|
+
source_audio_upload_status: "source_audio_upload_status";
|
|
406
|
+
abort_source_audio_upload: "abort_source_audio_upload";
|
|
407
|
+
select: "select";
|
|
408
|
+
import_source_audio: "import_source_audio";
|
|
409
|
+
start_source_audio_upload: "start_source_audio_upload";
|
|
410
|
+
complete_source_audio_upload: "complete_source_audio_upload";
|
|
411
|
+
start_media_upload: "start_media_upload";
|
|
412
|
+
media_upload_status: "media_upload_status";
|
|
413
|
+
complete_media_upload: "complete_media_upload";
|
|
414
|
+
abort_media_upload: "abort_media_upload";
|
|
415
|
+
}>;
|
|
416
|
+
artistId: z.ZodUUID;
|
|
417
|
+
budgetSave: z.ZodOptional<z.ZodObject<{
|
|
418
|
+
campaignId: z.ZodUUID;
|
|
419
|
+
expectedUpdatedAt: z.ZodISODateTime;
|
|
420
|
+
budgetAmountCents: z.ZodNumber;
|
|
421
|
+
budgetAmountMinor: z.ZodOptional<z.ZodNumber>;
|
|
422
|
+
budgetType: z.ZodEnum<{
|
|
423
|
+
DAILY: "DAILY";
|
|
424
|
+
TOTAL: "TOTAL";
|
|
425
|
+
}>;
|
|
426
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
427
|
+
endDate: z.ZodNullable<z.ZodISODate>;
|
|
428
|
+
}, z.core.$strict>>;
|
|
429
|
+
catalog: z.ZodOptional<z.ZodObject<{
|
|
430
|
+
after: z.ZodOptional<z.ZodString>;
|
|
431
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
432
|
+
source: z.ZodEnum<{
|
|
433
|
+
facebook: "facebook";
|
|
434
|
+
instagram: "instagram";
|
|
435
|
+
}>;
|
|
436
|
+
}, z.core.$strict>>;
|
|
437
|
+
locationSave: z.ZodOptional<z.ZodObject<{
|
|
438
|
+
campaignId: z.ZodUUID;
|
|
439
|
+
expectedUpdatedAt: z.ZodISODateTime;
|
|
440
|
+
targeting: z.ZodUnion<readonly [z.ZodObject<{
|
|
441
|
+
mode: z.ZodLiteral<"WORLDWIDE">;
|
|
442
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
443
|
+
countryCodes: z.ZodArray<z.ZodString>;
|
|
444
|
+
mode: z.ZodLiteral<"INCLUDE">;
|
|
445
|
+
}, z.core.$strict>]>;
|
|
446
|
+
}, z.core.$strict>>;
|
|
447
|
+
mediaUpload: z.ZodOptional<z.ZodObject<{
|
|
448
|
+
assetId: z.ZodOptional<z.ZodUUID>;
|
|
449
|
+
contentType: z.ZodOptional<z.ZodEnum<{
|
|
450
|
+
"image/jpeg": "image/jpeg";
|
|
451
|
+
"image/png": "image/png";
|
|
452
|
+
"video/mp4": "video/mp4";
|
|
453
|
+
}>>;
|
|
454
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
455
|
+
fileSizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
456
|
+
fileType: z.ZodOptional<z.ZodEnum<{
|
|
457
|
+
"image/jpeg": "image/jpeg";
|
|
458
|
+
"image/png": "image/png";
|
|
459
|
+
"video/mp4": "video/mp4";
|
|
460
|
+
}>>;
|
|
461
|
+
key: z.ZodOptional<z.ZodString>;
|
|
462
|
+
parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
463
|
+
etag: z.ZodString;
|
|
464
|
+
partNumber: z.ZodNumber;
|
|
465
|
+
}, z.core.$strict>>>;
|
|
466
|
+
uploadId: z.ZodOptional<z.ZodString>;
|
|
467
|
+
}, z.core.$strict>>;
|
|
468
|
+
setupRequestId: z.ZodOptional<z.ZodUUID>;
|
|
469
|
+
setupSave: z.ZodOptional<z.ZodObject<{
|
|
470
|
+
appleMusicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
471
|
+
playLinkId: z.ZodString;
|
|
472
|
+
sourceSurface: z.ZodDefault<z.ZodLiteral<"mcp">>;
|
|
473
|
+
}, z.core.$strict>>;
|
|
474
|
+
url: z.ZodOptional<z.ZodString>;
|
|
475
|
+
}, z.core.$strict>;
|
|
476
|
+
readonly title: "Manage Smart Campaign Draft Creative";
|
|
477
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { McpServer } from "@modelcontextprotocol/server";
|
|
2
|
+
import * as z from "zod/v4";
|
|
3
|
+
export declare const SMART_LINK_THEME_PREVIEW_RESOURCE_URI = "ui://dynamoi/smart-link-theme-preview-v1.html";
|
|
4
|
+
export declare const DynamoiPreviewSmartLinkThemesInputSchema: z.ZodObject<{
|
|
5
|
+
artistName: z.ZodOptional<z.ZodString>;
|
|
6
|
+
releaseTitle: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strict>;
|
|
8
|
+
export declare const SMART_LINK_THEME_PREVIEW_TOOL_DEFINITION: {
|
|
9
|
+
readonly description: "Use this when the user asks what Dynamoi Smart Link pages can look like, wants to compare Smart Link themes, or asks to preview the available themes before creating or updating a free Smart Link. This is a read-only visual preview and does not create, publish, update, or promote a Smart Link.";
|
|
10
|
+
readonly destructiveHint: false;
|
|
11
|
+
readonly name: "dynamoi_preview_smart_link_themes";
|
|
12
|
+
readonly openWorldHint: false;
|
|
13
|
+
readonly outputSchema: z.ZodObject<{
|
|
14
|
+
status: z.ZodEnum<{
|
|
15
|
+
success: "success";
|
|
16
|
+
error: "error";
|
|
17
|
+
partial_success: "partial_success";
|
|
18
|
+
}>;
|
|
19
|
+
recovery?: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
actions: z.ZodArray<z.ZodString>;
|
|
21
|
+
affectedSelection: z.ZodNullable<z.ZodObject<{
|
|
22
|
+
id: z.ZodString;
|
|
23
|
+
kind: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
kind: z.ZodString;
|
|
26
|
+
occurredAt: z.ZodString;
|
|
27
|
+
reasonCode: z.ZodOptional<z.ZodString>;
|
|
28
|
+
retryAfter: z.ZodNullable<z.ZodString>;
|
|
29
|
+
stage: z.ZodString;
|
|
30
|
+
}, z.core.$strip>> | undefined;
|
|
31
|
+
validationCode?: z.ZodOptional<z.ZodString> | undefined;
|
|
32
|
+
validationStage?: z.ZodOptional<z.ZodString> | undefined;
|
|
33
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
34
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
35
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
36
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
37
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
38
|
+
TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
|
|
39
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
40
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
41
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
42
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
43
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
44
|
+
}>>;
|
|
45
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
46
|
+
failureStage: z.ZodOptional<z.ZodString>;
|
|
47
|
+
field: z.ZodOptional<z.ZodString>;
|
|
48
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
field: z.ZodOptional<z.ZodString>;
|
|
50
|
+
kind: z.ZodEnum<{
|
|
51
|
+
provide_input: "provide_input";
|
|
52
|
+
read_status: "read_status";
|
|
53
|
+
reconnect: "reconnect";
|
|
54
|
+
handoff: "handoff";
|
|
55
|
+
}>;
|
|
56
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
57
|
+
}, z.core.$strict>>;
|
|
58
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
59
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
+
screeningResult: z.ZodOptional<z.ZodString>;
|
|
62
|
+
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
63
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
64
|
+
unknown: "unknown";
|
|
65
|
+
platform: "platform";
|
|
66
|
+
validation: "validation";
|
|
67
|
+
business: "business";
|
|
68
|
+
}>>;
|
|
69
|
+
message: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, z.core.$strict>;
|
|
71
|
+
readonly readOnlyHint: true;
|
|
72
|
+
readonly schema: z.ZodObject<{
|
|
73
|
+
artistName: z.ZodOptional<z.ZodString>;
|
|
74
|
+
releaseTitle: z.ZodOptional<z.ZodString>;
|
|
75
|
+
}, z.core.$strict>;
|
|
76
|
+
readonly title: "Preview Smart Link Themes";
|
|
77
|
+
};
|
|
78
|
+
export declare function registerSmartLinkThemePreviewResource(server: McpServer, uiDomain?: string): void;
|