@dynamoi/mcp 1.0.10 → 1.0.11

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.
Files changed (49) hide show
  1. package/CAPABILITY_PARITY.md +3 -9
  2. package/CHANGELOG.md +10 -14
  3. package/README.md +22 -11
  4. package/dist/auth/protected-resource.d.ts +14 -0
  5. package/dist/auth/protected-resource.js +41 -2
  6. package/dist/campaign-limits.d.ts +1 -7
  7. package/dist/campaign-limits.js +11 -7
  8. package/dist/consent.d.ts +6 -50
  9. package/dist/consent.js +16 -26
  10. package/dist/flow-types.d.ts +18 -2
  11. package/dist/index.d.ts +8 -2
  12. package/dist/index.js +5496 -2447
  13. package/dist/server/about.d.ts +16 -17
  14. package/dist/server/about.generated.d.ts +68 -0
  15. package/dist/server/account-schema.generated.d.ts +4 -3
  16. package/dist/server/account-settings-tools.d.ts +212 -196
  17. package/dist/server/artist-intake-tools.d.ts +57 -62
  18. package/dist/server/artist-intake-wire.generated.d.ts +39 -0
  19. package/dist/server/audit-log.generated.d.ts +120 -0
  20. package/dist/server/create-server.d.ts +20 -1
  21. package/dist/server/distribution-tools.d.ts +38 -14
  22. package/dist/server/draft-media-read.d.ts +109 -0
  23. package/dist/server/drafts-media.generated.d.ts +1185 -0
  24. package/dist/server/funding-consent.generated.d.ts +6 -0
  25. package/dist/server/intake-native.generated.d.ts +58 -0
  26. package/dist/server/media-moderation.generated.d.ts +189 -0
  27. package/dist/server/openai-tools.d.ts +102 -87
  28. package/dist/server/output-schemas.d.ts +141 -18
  29. package/dist/server/shop-order-status.d.ts +301 -0
  30. package/dist/server/shop-order-video.d.ts +195 -0
  31. package/dist/server/shop-purchase-history.d.ts +92 -0
  32. package/dist/server/shop-rebuy.d.ts +323 -0
  33. package/dist/server/shop-tools.d.ts +29 -168
  34. package/dist/server/smart-ad-copy.generated.d.ts +41 -0
  35. package/dist/server/smart-campaign-creative.d.ts +118 -413
  36. package/dist/server/smart-link-theme-preview.d.ts +55 -48
  37. package/dist/server/smart-link-tools.d.ts +212 -266
  38. package/dist/server/smart-link-wire.generated.d.ts +433 -0
  39. package/dist/server/support-tools.d.ts +23 -13
  40. package/dist/server/tools.d.ts +816 -295
  41. package/dist/server/wire-creative-agent-wire.generated.d.ts +423 -0
  42. package/dist/server/wire-shop-agent-wire.generated.d.ts +249 -0
  43. package/dist/server/workflow-tools.d.ts +21 -9
  44. package/dist/server/workspace/tool.d.ts +8 -4
  45. package/dist/server/youtube-channel-data-schema.d.ts +23 -23
  46. package/dist/server/youtube-strategy-guide.d.ts +1 -1
  47. package/dist/types.d.ts +20 -16
  48. package/package.json +21 -5
  49. package/server.json +1 -1
@@ -1,333 +1,26 @@
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>;
1
+ export { CreativeGenerationSchema, CreativeSelectionSchema, SmartCampaignCreativeInputSchema, SmartCampaignCreativeOutputSchema, SourceAudioImportSchema, SourceAudioUploadCompleteSchema, SourceAudioUploadSchema, SourceAudioUploadStatusSchema } from "./wire-creative-agent-wire.generated";
305
2
  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: true;
310
- readonly outputSchema: z.ZodObject<{
311
- status: z.ZodEnum<{
3
+ outputSchema: import("zod").ZodObject<{
4
+ status: import("zod").ZodEnum<{
312
5
  success: "success";
313
6
  error: "error";
314
7
  partial_success: "partial_success";
315
8
  }>;
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<{
9
+ recovery?: import("zod").ZodOptional<import("zod").ZodObject<{
10
+ actions: import("zod").ZodArray<import("zod").ZodString>;
11
+ affectedSelection: import("zod").ZodNullable<import("zod").ZodObject<{
12
+ id: import("zod").ZodString;
13
+ kind: import("zod").ZodString;
14
+ }, import("zod/v4/core").$strip>>;
15
+ kind: import("zod").ZodString;
16
+ occurredAt: import("zod").ZodString;
17
+ reasonCode: import("zod").ZodOptional<import("zod").ZodString>;
18
+ retryAfter: import("zod").ZodNullable<import("zod").ZodString>;
19
+ stage: import("zod").ZodString;
20
+ }, import("zod/v4/core").$strip>> | undefined;
21
+ validationCode?: import("zod").ZodOptional<import("zod").ZodString> | undefined;
22
+ validationStage?: import("zod").ZodOptional<import("zod").ZodString> | undefined;
23
+ code: import("zod").ZodOptional<import("zod").ZodEnum<{
331
24
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
332
25
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
333
26
  CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
@@ -339,60 +32,72 @@ export declare const SMART_CAMPAIGN_CREATIVE_TOOL_DEFINITION: {
339
32
  OUTPUT_INVALID: "OUTPUT_INVALID";
340
33
  UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
341
34
  }>>;
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<{
35
+ draftId: import("zod").ZodOptional<import("zod").ZodString>;
36
+ failureStage: import("zod").ZodOptional<import("zod").ZodString>;
37
+ field: import("zod").ZodOptional<import("zod").ZodString>;
38
+ nextAction: import("zod").ZodOptional<import("zod").ZodObject<{
39
+ field: import("zod").ZodOptional<import("zod").ZodString>;
40
+ kind: import("zod").ZodEnum<{
348
41
  provide_input: "provide_input";
349
42
  read_status: "read_status";
350
43
  reconnect: "reconnect";
351
44
  handoff: "handoff";
352
45
  }>;
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<{
46
+ reason: import("zod").ZodOptional<import("zod").ZodString>;
47
+ }, import("zod/v4/core").$strict>>;
48
+ prerequisite: import("zod").ZodOptional<import("zod").ZodString>;
49
+ retryAfterSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
50
+ retryable: import("zod").ZodOptional<import("zod").ZodBoolean>;
51
+ screeningResult: import("zod").ZodOptional<import("zod").ZodString>;
52
+ kind: import("zod").ZodOptional<import("zod").ZodEnum<{
361
53
  unknown: "unknown";
362
54
  platform: "platform";
363
55
  validation: "validation";
364
56
  business: "business";
365
57
  }>>;
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<{
58
+ message: import("zod").ZodOptional<import("zod").ZodString>;
59
+ reason?: import("zod").ZodOptional<import("zod").ZodEnum<{
60
+ member_changed: "member_changed";
61
+ invitation_changed: "invitation_changed";
62
+ }>> | undefined;
63
+ data: import("zod").ZodOptional<import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>>;
64
+ }, import("zod/v4/core").$strict>;
65
+ 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.";
66
+ destructiveHint: true;
67
+ profiles: {
68
+ readonly directory: "advertised";
69
+ readonly full: "advertised";
70
+ };
71
+ name: "dynamoi_manage_smart_campaign_creative";
72
+ openWorldHint: true;
73
+ readOnlyHint: false;
74
+ schema: import("zod").ZodObject<{
75
+ campaignId: import("zod").ZodOptional<import("zod").ZodUUID>;
76
+ expectedUpdatedAt: import("zod").ZodOptional<import("zod").ZodISODateTime>;
77
+ fileSizeBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
78
+ hookSeconds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodNumber>>;
79
+ trackDurationSeconds: import("zod").ZodOptional<import("zod").ZodNumber>;
80
+ parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
81
+ etag: import("zod").ZodString;
82
+ partNumber: import("zod").ZodNumber;
83
+ }, import("zod/v4/core").$strict>>>;
84
+ uploadId: import("zod").ZodOptional<import("zod").ZodString>;
85
+ uploadSessionId: import("zod").ZodOptional<import("zod").ZodUUID>;
86
+ selectedCreativeIds: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUUID>>>;
87
+ selectedSocialPosts: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>>;
88
+ source: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<{
384
89
  generate: "generate";
385
90
  posts: "posts";
386
91
  upload: "upload";
387
92
  }>>>;
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<{
93
+ uploadedAssets: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
94
+ fileName: import("zod").ZodDefault<import("zod").ZodString>;
95
+ fileSize: import("zod").ZodDefault<import("zod").ZodNumber>;
96
+ fileType: import("zod").ZodDefault<import("zod").ZodString>;
97
+ id: import("zod").ZodDefault<import("zod").ZodString>;
98
+ mediaAssetId: import("zod").ZodUUID;
99
+ }, import("zod/v4/core").$strict>>>>;
100
+ action: import("zod").ZodEnum<{
396
101
  save_setup: "save_setup";
397
102
  read_budget: "read_budget";
398
103
  save_budget: "save_budget";
@@ -413,65 +118,65 @@ export declare const SMART_CAMPAIGN_CREATIVE_TOOL_DEFINITION: {
413
118
  complete_media_upload: "complete_media_upload";
414
119
  abort_media_upload: "abort_media_upload";
415
120
  }>;
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";
121
+ artistId: import("zod").ZodUUID;
122
+ budgetSave: import("zod").ZodOptional<import("zod").ZodObject<{
123
+ campaignId: import("zod").ZodUUID;
124
+ expectedUpdatedAt: import("zod").ZodISODateTime;
125
+ budgetAmountCents: import("zod").ZodNumber;
126
+ budgetAmountMinor: import("zod").ZodOptional<import("zod").ZodNumber>;
127
+ budgetType: import("zod").ZodEnum<{
424
128
  TOTAL: "TOTAL";
129
+ DAILY: "DAILY";
425
130
  }>;
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<{
131
+ currency: import("zod").ZodOptional<import("zod").ZodString>;
132
+ endDate: import("zod").ZodNullable<import("zod").ZodISODate>;
133
+ }, import("zod/v4/core").$strict>>;
134
+ catalog: import("zod").ZodOptional<import("zod").ZodObject<{
135
+ after: import("zod").ZodOptional<import("zod").ZodString>;
136
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
137
+ source: import("zod").ZodEnum<{
433
138
  facebook: "facebook";
434
139
  instagram: "instagram";
435
140
  }>;
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<{
141
+ }, import("zod/v4/core").$strict>>;
142
+ locationSave: import("zod").ZodOptional<import("zod").ZodObject<{
143
+ campaignId: import("zod").ZodUUID;
144
+ expectedUpdatedAt: import("zod").ZodISODateTime;
145
+ targeting: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
146
+ mode: import("zod").ZodLiteral<"WORLDWIDE">;
147
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
148
+ countryCodes: import("zod").ZodArray<import("zod").ZodString>;
149
+ mode: import("zod").ZodLiteral<"INCLUDE">;
150
+ }, import("zod/v4/core").$strict>]>;
151
+ }, import("zod/v4/core").$strict>>;
152
+ mediaUpload: import("zod").ZodOptional<import("zod").ZodObject<{
153
+ assetId: import("zod").ZodOptional<import("zod").ZodUUID>;
154
+ contentType: import("zod").ZodOptional<import("zod").ZodEnum<{
450
155
  "image/jpeg": "image/jpeg";
451
156
  "image/png": "image/png";
452
157
  "video/mp4": "video/mp4";
453
158
  }>>;
454
- fileName: z.ZodOptional<z.ZodString>;
455
- fileSizeBytes: z.ZodOptional<z.ZodNumber>;
456
- fileType: z.ZodOptional<z.ZodEnum<{
159
+ fileName: import("zod").ZodOptional<import("zod").ZodString>;
160
+ fileSizeBytes: import("zod").ZodOptional<import("zod").ZodNumber>;
161
+ fileType: import("zod").ZodOptional<import("zod").ZodEnum<{
457
162
  "image/jpeg": "image/jpeg";
458
163
  "image/png": "image/png";
459
164
  "video/mp4": "video/mp4";
460
165
  }>>;
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";
166
+ key: import("zod").ZodOptional<import("zod").ZodString>;
167
+ parts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
168
+ etag: import("zod").ZodString;
169
+ partNumber: import("zod").ZodNumber;
170
+ }, import("zod/v4/core").$strict>>>;
171
+ uploadId: import("zod").ZodOptional<import("zod").ZodString>;
172
+ }, import("zod/v4/core").$strict>>;
173
+ setupRequestId: import("zod").ZodOptional<import("zod").ZodUUID>;
174
+ setupSave: import("zod").ZodOptional<import("zod").ZodObject<{
175
+ appleMusicUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
176
+ playLinkId: import("zod").ZodString;
177
+ sourceSurface: import("zod").ZodDefault<import("zod").ZodLiteral<"mcp">>;
178
+ }, import("zod/v4/core").$strict>>;
179
+ url: import("zod").ZodOptional<import("zod").ZodString>;
180
+ }, import("zod/v4/core").$strict>;
181
+ title: "Manage Smart Campaign Draft Creative";
477
182
  };