@dynamoi/mcp 1.0.7 → 1.0.8

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.
@@ -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,447 @@
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
+ locationSave: z.ZodOptional<z.ZodObject<{
118
+ campaignId: z.ZodUUID;
119
+ expectedUpdatedAt: z.ZodISODateTime;
120
+ targeting: z.ZodUnion<readonly [z.ZodObject<{
121
+ mode: z.ZodLiteral<"WORLDWIDE">;
122
+ }, z.core.$strict>, z.ZodObject<{
123
+ countryCodes: z.ZodArray<z.ZodString>;
124
+ mode: z.ZodLiteral<"INCLUDE">;
125
+ }, z.core.$strict>]>;
126
+ }, z.core.$strict>>;
127
+ mediaUpload: z.ZodOptional<z.ZodObject<{
128
+ assetId: z.ZodOptional<z.ZodUUID>;
129
+ contentType: z.ZodOptional<z.ZodEnum<{
130
+ "image/jpeg": "image/jpeg";
131
+ "image/png": "image/png";
132
+ "video/mp4": "video/mp4";
133
+ }>>;
134
+ fileName: z.ZodOptional<z.ZodString>;
135
+ fileSizeBytes: z.ZodOptional<z.ZodNumber>;
136
+ fileType: z.ZodOptional<z.ZodEnum<{
137
+ "image/jpeg": "image/jpeg";
138
+ "image/png": "image/png";
139
+ "video/mp4": "video/mp4";
140
+ }>>;
141
+ key: z.ZodOptional<z.ZodString>;
142
+ parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
143
+ etag: z.ZodString;
144
+ partNumber: z.ZodNumber;
145
+ }, z.core.$strict>>>;
146
+ uploadId: z.ZodOptional<z.ZodString>;
147
+ }, z.core.$strict>>;
148
+ setupRequestId: z.ZodOptional<z.ZodUUID>;
149
+ setupSave: z.ZodOptional<z.ZodObject<{
150
+ appleMusicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
151
+ playLinkId: z.ZodString;
152
+ sourceSurface: z.ZodDefault<z.ZodLiteral<"mcp">>;
153
+ }, z.core.$strict>>;
154
+ url: z.ZodOptional<z.ZodString>;
155
+ }, z.core.$strict>;
156
+ export declare const SmartCampaignCreativeOutputSchema: z.ZodObject<{
157
+ budgetDraft: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
158
+ campaignId: z.ZodUUID;
159
+ draftState: z.ZodOptional<z.ZodEnum<{
160
+ available: "available";
161
+ missing: "missing";
162
+ }>>;
163
+ generation: z.ZodNullable<z.ZodObject<{
164
+ items: z.ZodArray<z.ZodObject<{
165
+ clipDurationSeconds: z.ZodNumber;
166
+ clipStartSeconds: z.ZodNumber;
167
+ errorMessage: z.ZodNullable<z.ZodString>;
168
+ id: z.ZodUUID;
169
+ progressPercent: z.ZodNullable<z.ZodNumber>;
170
+ status: z.ZodEnum<{
171
+ FAILED: "FAILED";
172
+ PENDING: "PENDING";
173
+ COMPLETED: "COMPLETED";
174
+ PROCESSING: "PROCESSING";
175
+ }>;
176
+ templateVariant: z.ZodString;
177
+ thumbnailUrl: z.ZodString;
178
+ videoUrl: z.ZodString;
179
+ }, z.core.$strict>>;
180
+ jobId: z.ZodUUID;
181
+ phase: z.ZodEnum<{
182
+ FAILED: "FAILED";
183
+ ANALYZING_AUDIO: "ANALYZING_AUDIO";
184
+ CHECKING_RENDERER: "CHECKING_RENDERER";
185
+ FINALIZING: "FINALIZING";
186
+ PREPARING_TEMPLATES: "PREPARING_TEMPLATES";
187
+ RENDERING: "RENDERING";
188
+ }>;
189
+ }, z.core.$strict>>;
190
+ generationJobId: z.ZodOptional<z.ZodUUID>;
191
+ locationDraft: z.ZodOptional<z.ZodObject<{
192
+ activeStep: z.ZodEnum<{
193
+ location: "location";
194
+ adCopy: "adCopy";
195
+ }>;
196
+ availableCountries: z.ZodOptional<z.ZodArray<z.ZodObject<{
197
+ code: z.ZodString;
198
+ name: z.ZodString;
199
+ }, z.core.$strict>>>;
200
+ campaignId: z.ZodUUID;
201
+ completedSteps: z.ZodOptional<z.ZodTuple<[z.ZodLiteral<"content">, z.ZodLiteral<"creative">, z.ZodLiteral<"location">], null>>;
202
+ location: z.ZodObject<{
203
+ countries: z.ZodArray<z.ZodObject<{
204
+ code: z.ZodString;
205
+ name: z.ZodString;
206
+ }, z.core.$strict>>;
207
+ mode: z.ZodEnum<{
208
+ INCLUDE: "INCLUDE";
209
+ WORLDWIDE: "WORLDWIDE";
210
+ }>;
211
+ }, z.core.$strict>;
212
+ recommendedCountries: z.ZodOptional<z.ZodArray<z.ZodObject<{
213
+ code: z.ZodString;
214
+ name: z.ZodString;
215
+ }, z.core.$strict>>>;
216
+ updatedAt: z.ZodISODateTime;
217
+ }, z.core.$strict>>;
218
+ mediaUpload: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
219
+ expiresAt: z.ZodISODateTime;
220
+ key: z.ZodString;
221
+ partSizeBytes: z.ZodNumber;
222
+ presignedPartUrls: z.ZodArray<z.ZodURL>;
223
+ uploadId: z.ZodString;
224
+ }, z.core.$strict>, z.ZodObject<{
225
+ completed: z.ZodBoolean;
226
+ uploadedParts: z.ZodArray<z.ZodObject<{
227
+ etag: z.ZodString;
228
+ partNumber: z.ZodNumber;
229
+ sizeBytes: z.ZodNumber;
230
+ }, z.core.$strict>>;
231
+ }, z.core.$strict>, z.ZodObject<{
232
+ etag: z.ZodString;
233
+ key: z.ZodString;
234
+ mediaAssetId: z.ZodUUID;
235
+ moderationStatus: z.ZodString;
236
+ }, z.core.$strict>, z.ZodObject<{
237
+ ok: z.ZodLiteral<true>;
238
+ }, z.core.$strict>]>>;
239
+ selectedCreativeIds: z.ZodArray<z.ZodUUID>;
240
+ selectedSocialPosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
241
+ setupDraft: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
242
+ source: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
243
+ generate: "generate";
244
+ posts: "posts";
245
+ upload: "upload";
246
+ }>>>;
247
+ sourceAudio: z.ZodOptional<z.ZodObject<{
248
+ fileName: z.ZodNullable<z.ZodString>;
249
+ fileSizeBytes: z.ZodNullable<z.ZodNumber>;
250
+ hookSeconds: z.ZodArray<z.ZodNumber>;
251
+ isUploaded: z.ZodBoolean;
252
+ trackDurationSeconds: z.ZodNullable<z.ZodNumber>;
253
+ }, z.core.$strict>>;
254
+ updatedAt: z.ZodNullable<z.ZodISODateTime>;
255
+ upload: z.ZodOptional<z.ZodObject<{
256
+ campaignId: z.ZodUUID;
257
+ expiresAt: z.ZodISODateTime;
258
+ partSizeBytes: z.ZodNumber;
259
+ presignedPartUrls: z.ZodArray<z.ZodString>;
260
+ uploadId: z.ZodString;
261
+ uploadSessionId: z.ZodUUID;
262
+ }, z.core.$strict>>;
263
+ uploadedAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
264
+ fileName: z.ZodDefault<z.ZodString>;
265
+ fileSize: z.ZodDefault<z.ZodNumber>;
266
+ fileType: z.ZodDefault<z.ZodString>;
267
+ id: z.ZodDefault<z.ZodString>;
268
+ mediaAssetId: z.ZodUUID;
269
+ uploadStatus: z.ZodEnum<{
270
+ success: "success";
271
+ error: "error";
272
+ }>;
273
+ }, z.core.$strict>>>;
274
+ uploadStatus: z.ZodOptional<z.ZodObject<{
275
+ campaignId: z.ZodUUID;
276
+ uploadedParts: z.ZodArray<z.ZodObject<{
277
+ etag: z.ZodString;
278
+ partNumber: z.ZodNumber;
279
+ sizeBytes: z.ZodNumber;
280
+ }, z.core.$strict>>;
281
+ }, z.core.$strict>>;
282
+ }, z.core.$strict>;
283
+ export declare const SMART_CAMPAIGN_CREATIVE_TOOL_DEFINITION: {
284
+ 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. 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.";
285
+ readonly destructiveHint: false;
286
+ readonly name: "dynamoi_manage_smart_campaign_creative";
287
+ readonly openWorldHint: false;
288
+ readonly outputSchema: z.ZodObject<{
289
+ status: z.ZodEnum<{
290
+ success: "success";
291
+ error: "error";
292
+ partial_success: "partial_success";
293
+ }>;
294
+ recovery?: z.ZodOptional<z.ZodObject<{
295
+ actions: z.ZodArray<z.ZodString>;
296
+ affectedSelection: z.ZodNullable<z.ZodObject<{
297
+ id: z.ZodString;
298
+ kind: z.ZodString;
299
+ }, z.core.$strip>>;
300
+ kind: z.ZodString;
301
+ occurredAt: z.ZodString;
302
+ reasonCode: z.ZodOptional<z.ZodString>;
303
+ retryAfter: z.ZodNullable<z.ZodString>;
304
+ stage: z.ZodString;
305
+ }, z.core.$strip>> | undefined;
306
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
307
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
308
+ code: z.ZodOptional<z.ZodEnum<{
309
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
310
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
311
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
312
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
313
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
314
+ STATE_CONFLICT: "STATE_CONFLICT";
315
+ QUOTE_CHANGED: "QUOTE_CHANGED";
316
+ RATE_LIMITED: "RATE_LIMITED";
317
+ OUTPUT_INVALID: "OUTPUT_INVALID";
318
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
319
+ }>>;
320
+ draftId: z.ZodOptional<z.ZodString>;
321
+ failureStage: z.ZodOptional<z.ZodString>;
322
+ field: z.ZodOptional<z.ZodString>;
323
+ nextAction: z.ZodOptional<z.ZodObject<{
324
+ field: z.ZodOptional<z.ZodString>;
325
+ kind: z.ZodEnum<{
326
+ provide_input: "provide_input";
327
+ read_status: "read_status";
328
+ reconnect: "reconnect";
329
+ handoff: "handoff";
330
+ }>;
331
+ reason: z.ZodOptional<z.ZodString>;
332
+ }, z.core.$strict>>;
333
+ prerequisite: z.ZodOptional<z.ZodString>;
334
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
335
+ retryable: z.ZodOptional<z.ZodBoolean>;
336
+ screeningResult: z.ZodOptional<z.ZodString>;
337
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
338
+ kind: z.ZodOptional<z.ZodEnum<{
339
+ unknown: "unknown";
340
+ platform: "platform";
341
+ validation: "validation";
342
+ business: "business";
343
+ }>>;
344
+ message: z.ZodOptional<z.ZodString>;
345
+ }, z.core.$strict>;
346
+ readonly readOnlyHint: false;
347
+ readonly schema: z.ZodObject<{
348
+ campaignId: z.ZodOptional<z.ZodUUID>;
349
+ expectedUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
350
+ fileSizeBytes: z.ZodOptional<z.ZodNumber>;
351
+ hookSeconds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
352
+ trackDurationSeconds: z.ZodOptional<z.ZodNumber>;
353
+ parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
354
+ etag: z.ZodString;
355
+ partNumber: z.ZodNumber;
356
+ }, z.core.$strict>>>;
357
+ uploadId: z.ZodOptional<z.ZodString>;
358
+ uploadSessionId: z.ZodOptional<z.ZodUUID>;
359
+ selectedCreativeIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUUID>>>;
360
+ selectedSocialPosts: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
361
+ source: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
362
+ generate: "generate";
363
+ posts: "posts";
364
+ upload: "upload";
365
+ }>>>;
366
+ uploadedAssets: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
367
+ fileName: z.ZodDefault<z.ZodString>;
368
+ fileSize: z.ZodDefault<z.ZodNumber>;
369
+ fileType: z.ZodDefault<z.ZodString>;
370
+ id: z.ZodDefault<z.ZodString>;
371
+ mediaAssetId: z.ZodUUID;
372
+ }, z.core.$strict>>>>;
373
+ action: z.ZodEnum<{
374
+ save_setup: "save_setup";
375
+ read_budget: "read_budget";
376
+ save_budget: "save_budget";
377
+ read: "read";
378
+ read_location: "read_location";
379
+ save_location: "save_location";
380
+ start_generation: "start_generation";
381
+ retry_generation: "retry_generation";
382
+ clear_generation: "clear_generation";
383
+ source_audio_upload_status: "source_audio_upload_status";
384
+ abort_source_audio_upload: "abort_source_audio_upload";
385
+ select: "select";
386
+ import_source_audio: "import_source_audio";
387
+ start_source_audio_upload: "start_source_audio_upload";
388
+ complete_source_audio_upload: "complete_source_audio_upload";
389
+ start_media_upload: "start_media_upload";
390
+ media_upload_status: "media_upload_status";
391
+ complete_media_upload: "complete_media_upload";
392
+ abort_media_upload: "abort_media_upload";
393
+ }>;
394
+ artistId: z.ZodUUID;
395
+ budgetSave: z.ZodOptional<z.ZodObject<{
396
+ campaignId: z.ZodUUID;
397
+ expectedUpdatedAt: z.ZodISODateTime;
398
+ budgetAmountCents: z.ZodNumber;
399
+ budgetAmountMinor: z.ZodOptional<z.ZodNumber>;
400
+ budgetType: z.ZodEnum<{
401
+ DAILY: "DAILY";
402
+ TOTAL: "TOTAL";
403
+ }>;
404
+ currency: z.ZodOptional<z.ZodString>;
405
+ endDate: z.ZodNullable<z.ZodISODate>;
406
+ }, z.core.$strict>>;
407
+ locationSave: z.ZodOptional<z.ZodObject<{
408
+ campaignId: z.ZodUUID;
409
+ expectedUpdatedAt: z.ZodISODateTime;
410
+ targeting: z.ZodUnion<readonly [z.ZodObject<{
411
+ mode: z.ZodLiteral<"WORLDWIDE">;
412
+ }, z.core.$strict>, z.ZodObject<{
413
+ countryCodes: z.ZodArray<z.ZodString>;
414
+ mode: z.ZodLiteral<"INCLUDE">;
415
+ }, z.core.$strict>]>;
416
+ }, z.core.$strict>>;
417
+ mediaUpload: z.ZodOptional<z.ZodObject<{
418
+ assetId: z.ZodOptional<z.ZodUUID>;
419
+ contentType: z.ZodOptional<z.ZodEnum<{
420
+ "image/jpeg": "image/jpeg";
421
+ "image/png": "image/png";
422
+ "video/mp4": "video/mp4";
423
+ }>>;
424
+ fileName: z.ZodOptional<z.ZodString>;
425
+ fileSizeBytes: z.ZodOptional<z.ZodNumber>;
426
+ fileType: z.ZodOptional<z.ZodEnum<{
427
+ "image/jpeg": "image/jpeg";
428
+ "image/png": "image/png";
429
+ "video/mp4": "video/mp4";
430
+ }>>;
431
+ key: z.ZodOptional<z.ZodString>;
432
+ parts: z.ZodOptional<z.ZodArray<z.ZodObject<{
433
+ etag: z.ZodString;
434
+ partNumber: z.ZodNumber;
435
+ }, z.core.$strict>>>;
436
+ uploadId: z.ZodOptional<z.ZodString>;
437
+ }, z.core.$strict>>;
438
+ setupRequestId: z.ZodOptional<z.ZodUUID>;
439
+ setupSave: z.ZodOptional<z.ZodObject<{
440
+ appleMusicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
441
+ playLinkId: z.ZodString;
442
+ sourceSurface: z.ZodDefault<z.ZodLiteral<"mcp">>;
443
+ }, z.core.$strict>>;
444
+ url: z.ZodOptional<z.ZodString>;
445
+ }, z.core.$strict>;
446
+ readonly title: "Manage Smart Campaign Draft Creative";
447
+ };
@@ -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): void;