@dynamoi/mcp 0.6.4 → 0.6.5

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 (60) hide show
  1. package/CHANGELOG.md +21 -1
  2. package/README.md +4 -3
  3. package/dist/auth/protected-resource.d.ts +32 -5
  4. package/dist/auth/protected-resource.d.ts.map +1 -0
  5. package/dist/auth/protected-resource.js +10 -4
  6. package/dist/auth/protected-resource.js.map +9 -1
  7. package/dist/auth/verify-token.d.ts +21 -0
  8. package/dist/auth/verify-token.d.ts.map +1 -0
  9. package/dist/chunk-4jfaxshz.js +83 -0
  10. package/dist/chunk-4jfaxshz.js.map +10 -0
  11. package/dist/chunk-kb3xpcrb.js +9 -0
  12. package/dist/chunk-kb3xpcrb.js.map +10 -0
  13. package/dist/consent.d.ts +4 -0
  14. package/dist/consent.d.ts.map +1 -0
  15. package/dist/consent.js +13 -0
  16. package/dist/consent.js.map +9 -0
  17. package/dist/flow-types.d.ts +150 -0
  18. package/dist/flow-types.d.ts.map +1 -0
  19. package/dist/index.d.ts +13 -2464
  20. package/dist/index.d.ts.map +1 -0
  21. package/dist/index.js +1364 -1242
  22. package/dist/index.js.map +25 -1
  23. package/dist/readiness-types.d.ts +88 -0
  24. package/dist/readiness-types.d.ts.map +1 -0
  25. package/dist/server/create-server.d.ts +81 -0
  26. package/dist/server/create-server.d.ts.map +1 -0
  27. package/dist/server/instructions.d.ts +3 -0
  28. package/dist/server/instructions.d.ts.map +1 -0
  29. package/dist/server/onboarding-tool-definitions.d.ts +56 -0
  30. package/dist/server/onboarding-tool-definitions.d.ts.map +1 -0
  31. package/dist/server/openai-tools.d.ts +88 -0
  32. package/dist/server/openai-tools.d.ts.map +1 -0
  33. package/dist/server/output-schemas.d.ts +122 -0
  34. package/dist/server/output-schemas.d.ts.map +1 -0
  35. package/dist/server/playbook-resources.d.ts +3 -0
  36. package/dist/server/playbook-resources.d.ts.map +1 -0
  37. package/dist/server/prompts.d.ts +3 -0
  38. package/dist/server/prompts.d.ts.map +1 -0
  39. package/dist/server/resources.d.ts +4 -0
  40. package/dist/server/resources.d.ts.map +1 -0
  41. package/dist/server/shared-schemas.d.ts +14 -0
  42. package/dist/server/shared-schemas.d.ts.map +1 -0
  43. package/dist/server/smart-link-theme-preview.d.ts +48 -0
  44. package/dist/server/smart-link-theme-preview.d.ts.map +1 -0
  45. package/dist/server/smart-link-tools.d.ts +346 -0
  46. package/dist/server/smart-link-tools.d.ts.map +1 -0
  47. package/dist/server/tools.d.ts +870 -0
  48. package/dist/server/tools.d.ts.map +1 -0
  49. package/dist/server/workflow-tools.d.ts +93 -0
  50. package/dist/server/workflow-tools.d.ts.map +1 -0
  51. package/dist/transport/http.d.ts +9 -0
  52. package/dist/transport/http.d.ts.map +1 -0
  53. package/dist/types.d.ts +429 -0
  54. package/dist/types.d.ts.map +1 -0
  55. package/dist/version.d.ts +2 -0
  56. package/dist/version.d.ts.map +1 -0
  57. package/package.json +16 -8
  58. package/server.json +3 -3
  59. package/dist/chunk-CHQUK72A.js +0 -35
  60. package/dist/chunk-CHQUK72A.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,2464 +1,13 @@
1
- export { DYNAMOI_MCP_SCOPES, buildProtectedResourceMetadata, buildWwwAuthenticateHeader } from './auth/protected-resource.js';
2
- import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
3
- import * as z from 'zod/v4';
4
- import * as zod_v4_core from 'zod/v4/core';
5
-
6
- type VerifiedAccessToken = {
7
- sub: string;
8
- iss: string;
9
- aud: string | string[] | undefined;
10
- exp: number;
11
- clientId: string | null;
12
- scopes: string[];
13
- };
14
- type VerifyAccessTokenOptions = {
15
- token: string;
16
- jwksUrl: string;
17
- issuer: string;
18
- audienceAllowlist: string[];
19
- };
20
- declare function verifyAccessToken(options: VerifyAccessTokenOptions): Promise<VerifiedAccessToken>;
21
-
22
- type GetBillingData = {
23
- tier: ArtistTier;
24
- billingStatus: BillingStatus;
25
- creditBalance: MoneyDisplay | null;
26
- recentUsage?: {
27
- period: string;
28
- totalSpend: MoneyDisplay;
29
- campaignCount: number;
30
- };
31
- isPromoArtist: boolean;
32
- promoLimits?: {
33
- campaignsUsed: number;
34
- campaignsAllowed: number;
35
- remainingBudget: MoneyDisplay;
36
- };
37
- warnings?: string[];
38
- actionRequired?: string[];
39
- };
40
- type GetBillingSummaryData = {
41
- summary: string;
42
- warnings?: string[];
43
- actionRequired?: string[];
44
- };
45
- type GetPlatformStatusData = {
46
- platforms: {
47
- spotify: {
48
- connected: boolean;
49
- artistName?: string;
50
- artistUrl?: string;
51
- };
52
- meta: {
53
- connected: boolean;
54
- status: "not_connected" | "oauth_complete" | "selection_pending" | "partnership_pending" | "partnership_active";
55
- pageName?: string;
56
- tokenExpiresAt?: string;
57
- isTokenExpired?: boolean;
58
- };
59
- youtube: {
60
- connected: boolean;
61
- channelName?: string;
62
- channelUrl?: string;
63
- };
64
- };
65
- onboardingComplete: boolean;
66
- missingForSmartCampaign: string[];
67
- missingForYouTube: string[];
68
- warnings?: string[];
69
- actionRequired?: string[];
70
- };
71
- type GetPlatformStatusSummaryData = {
72
- summary: string;
73
- warnings?: string[];
74
- actionRequired?: string[];
75
- };
76
- type StartYoutubeChannelLinkData = {
77
- artistId: string;
78
- artistName: string;
79
- onboardingAttemptId: string;
80
- authorizationUrl: string;
81
- expiresAt: string;
82
- completionCheck: {
83
- pollTools: string[];
84
- onboardingFlow: "youtube";
85
- connectedFlag: "platforms.youtube.connected";
86
- readyValue: true;
87
- };
88
- nextActions: string[];
89
- summary: string;
90
- warnings?: string[];
91
- actionRequired?: string[];
92
- };
93
- type StartMetaConnectionData = {
94
- artistId: string;
95
- artistName: string;
96
- onboardingAttemptId: string | null;
97
- status: "authorization_url" | "already_connected" | "billing_check_unavailable" | "billing_required";
98
- authorizationUrl: string | null;
99
- expiresAt: string | null;
100
- completionCheck: {
101
- pollTools: string[];
102
- onboardingFlow: "meta";
103
- connectedFlag: "platforms.meta.connected";
104
- statusField: "platforms.meta.status";
105
- readyStatuses: Array<"oauth_complete" | "partnership_pending" | "partnership_active">;
106
- };
107
- nextActions: string[];
108
- summary: string;
109
- warnings?: string[];
110
- actionRequired?: string[];
111
- };
112
- type PauseResumePlatformResult = {
113
- platform: "META" | "GOOGLE";
114
- success: boolean;
115
- message?: string;
116
- };
117
- type PauseResumeCampaignData = {
118
- id: string;
119
- contentTitle: string;
120
- newStatus: "PAUSED" | "ACTIVE";
121
- platformResults: PauseResumePlatformResult[];
122
- warnings?: string[];
123
- actionRequired?: string[];
124
- };
125
- type UpdateBudgetData = {
126
- id: string;
127
- contentTitle: string;
128
- previousBudget: MoneyDisplay;
129
- newBudget: MoneyDisplay;
130
- budgetType: "DAILY" | "TOTAL";
131
- endDate?: string;
132
- warnings?: string[];
133
- actionRequired?: string[];
134
- };
135
- type UpdateCampaignData = PauseResumeCampaignData | UpdateBudgetData;
136
- type MediaAssetSummary = {
137
- id: string;
138
- url?: string;
139
- urlExpiresAt?: string;
140
- fileType: string;
141
- fileName?: string;
142
- width?: number;
143
- height?: number;
144
- aspectRatio?: string;
145
- createdAt: string;
146
- };
147
- type ListMediaAssetsData = {
148
- assets: MediaAssetSummary[];
149
- nextCursor?: string;
150
- };
151
- type ListMediaAssetsSummaryData = {
152
- summary: string;
153
- totalCount: number;
154
- nextCursor?: string;
155
- };
156
- type LaunchCampaignData = {
157
- summary: string;
158
- id: string;
159
- contentTitle: string;
160
- campaignType: CampaignType;
161
- status: CampaignDisplayStatus;
162
- budget: MoneyDisplay;
163
- budgetType: "DAILY" | "TOTAL";
164
- platforms: string[];
165
- deliveryState: "ACTIVE" | "PENDING_REVIEW" | "CONTENT_VALIDATION";
166
- isLive: boolean;
167
- nextSteps: string[];
168
- warnings?: string[];
169
- };
170
-
171
- type CountryCatalogSource = "SMART_CAMPAIGN_COUNTRIES" | "GOOGLE_ADS_COUNTRIES";
172
- type AvailableCountry = {
173
- code: string;
174
- name: string;
175
- googleAdsId: number;
176
- dominantLanguage?: string;
177
- };
178
- type ListAvailableCountriesData = {
179
- campaignType: CampaignType;
180
- source: CountryCatalogSource;
181
- countries: AvailableCountry[];
182
- totalCount: number;
183
- nextCursor?: string;
184
- notes: string[];
185
- };
186
- type ListAvailableCountriesSummaryData = {
187
- summary: string;
188
- totalCount: number;
189
- nextCursor?: string;
190
- };
191
- type ProductReadiness = {
192
- isReady: boolean;
193
- missingRequirements: string[];
194
- nextAction?: string;
195
- blockers: string[];
196
- warnings: string[];
197
- };
198
- type GetOnboardingStatusData = {
199
- artistId: string;
200
- artistName: string;
201
- smartCampaign: ProductReadiness;
202
- youtube: ProductReadiness;
203
- overallNextAction?: string;
204
- };
205
- type GetOnboardingStatusSummaryData = {
206
- summary: string;
207
- warnings?: string[];
208
- actionRequired?: string[];
209
- };
210
- type GetCampaignReadinessData = {
211
- artistId: string;
212
- artistName: string;
213
- campaignType: CampaignType;
214
- isReady: boolean;
215
- blockingIssues: string[];
216
- warnings: string[];
217
- missingInputs: string[];
218
- normalizedTargeting: {
219
- mode: "GLOBAL";
220
- } | {
221
- mode: "COUNTRIES";
222
- countries: Array<{
223
- code: string;
224
- name: string;
225
- }>;
226
- };
227
- recommendedNextAction: string;
228
- };
229
- type GetCampaignReadinessSummaryData = {
230
- summary: string;
231
- warnings?: string[];
232
- actionRequired?: string[];
233
- };
234
- type GetCampaignDeploymentStatusData = {
235
- campaignId: string;
236
- artistId: string;
237
- artistName: string;
238
- contentTitle: string;
239
- campaignType: CampaignType;
240
- status: CampaignDisplayStatus;
241
- deliveryState: "LIVE" | "PENDING" | "BLOCKED" | "PAUSED" | "ENDED";
242
- platforms: Array<{
243
- platform: "META" | "GOOGLE";
244
- status: string;
245
- linkedProviderId?: string;
246
- errorMessage?: string;
247
- }>;
248
- blockers: string[];
249
- warnings: string[];
250
- nextAction?: string;
251
- };
252
- type GetCampaignDeploymentStatusSummaryData = {
253
- summary: string;
254
- warnings?: string[];
255
- actionRequired?: string[];
256
- };
257
-
258
- type ResultEnvelope<T> = {
259
- status: "success";
260
- data: T;
261
- } | {
262
- status: "partial_success";
263
- data: T;
264
- message: string;
265
- } | {
266
- status: "error";
267
- message: string;
268
- kind?: "validation" | "business" | "platform" | "unknown";
269
- };
270
- type MoneyDisplay = {
271
- formatted: string;
272
- amountUsd: number;
273
- };
274
- type AccessRole = "admin" | "editor" | "viewer";
275
- type ArtistTier = "none" | "starter" | "plus";
276
- type BillingStatus = "ACTIVE" | "SUSPENDED" | "INACTIVE" | "NEVER_SUBSCRIBED";
277
- type CampaignType = "SMART_CAMPAIGN" | "YOUTUBE";
278
- type CampaignDisplayStatus = "AWAITING_SMART_LINK" | "CONTENT_VALIDATION" | "DEPLOYING" | "READY_FOR_REVIEW" | "ACTIVE" | "PAUSED" | "SUBSCRIPTION_PAUSED" | "ARCHIVED" | "FAILED" | "ENDED";
279
- type ListArtistsData = {
280
- artists: Array<{
281
- id: string;
282
- name: string;
283
- organizationName?: string;
284
- tier: ArtistTier;
285
- billingStatus: BillingStatus;
286
- activeCampaignCount: number;
287
- role: AccessRole;
288
- }>;
289
- nextCursor?: string;
290
- };
291
- type ListArtistsSummaryData = {
292
- summary: string;
293
- totalCount: number;
294
- nextCursor?: string;
295
- };
296
- type SearchResultType = "artist" | "campaign" | "smartlink";
297
- type SearchData = {
298
- results: Array<{
299
- type: SearchResultType;
300
- id: string;
301
- name: string;
302
- status?: string;
303
- artistName?: string;
304
- publicUrl?: string;
305
- resultReason?: string;
306
- }>;
307
- nextCursor?: string;
308
- };
309
- type SearchSummaryData = {
310
- summary: string;
311
- totalCount: number;
312
- nextCursor?: string;
313
- };
314
- type GetCurrentUserArtistSummary = {
315
- id: string;
316
- name: string;
317
- slug: string | null;
318
- hasConnectedMeta: boolean;
319
- hasConnectedSpotify: boolean;
320
- hasConnectedYoutube: boolean;
321
- artistHasActiveCampaigns: boolean;
322
- smartLinkCount: number;
323
- };
324
- type GetCurrentUserState = {
325
- hasAnyArtist: boolean;
326
- hasAnyConnectedMeta: boolean;
327
- hasAnyConnectedSpotify: boolean;
328
- hasAnyConnectedYoutube: boolean;
329
- hasAnySmartLink: boolean;
330
- hasAnyActiveCampaign: boolean;
331
- isFirstSession: boolean;
332
- };
333
- type GetCurrentUserData = {
334
- user: {
335
- id: string;
336
- email?: string;
337
- name?: string;
338
- isSuperAdmin: boolean;
339
- };
340
- organizationCount: number;
341
- artistCount: number;
342
- artists: {
343
- count: number;
344
- summaries: GetCurrentUserArtistSummary[];
345
- };
346
- state: GetCurrentUserState;
347
- recommendedNextActions: string[];
348
- hints: string[];
349
- };
350
- type SmartLinkClaimStatus = "auto_approved" | "pending_ops_review" | "verification_deferred" | "approved_by_ops" | "rejected";
351
- type SmartLinkPublishState = "published" | "unpublished";
352
- type SmartLinkTakedownStatus = "none" | "active" | "resolved";
353
- type SmartLinkOdesliStatus = "pending" | "resolved" | "failed";
354
- type SmartLinkRenderState = "queued" | "rendering" | "rendered" | "failed";
355
- type SmartLinkTheme = "classic" | "brutalist" | "aurora" | "cinematic";
356
- type SmartLinkSummary = {
357
- id: string;
358
- artistId: string;
359
- artistName: string;
360
- artistHubUrl: string;
361
- releaseTitle: string;
362
- releaseType: string;
363
- releaseSlug: string;
364
- spotifyUrl: string | null;
365
- publicUrl: string;
366
- localizedPublicUrls?: string[];
367
- isPublic: boolean;
368
- claimStatus: SmartLinkClaimStatus;
369
- publishState: SmartLinkPublishState;
370
- takedownStatus: SmartLinkTakedownStatus;
371
- odesliStatus: SmartLinkOdesliStatus;
372
- renderState: SmartLinkRenderState;
373
- theme: SmartLinkTheme;
374
- createdAt: string;
375
- updatedAt: string;
376
- };
377
- type SmartLinkSettingsData = {
378
- artistId: string;
379
- artistName: string;
380
- isEnabled: boolean;
381
- defaultTheme: SmartLinkTheme;
382
- pixels: {
383
- metaPixelId: string | null;
384
- tiktokPixelId: string | null;
385
- googleAdsConversionId: string | null;
386
- };
387
- availableThemes: SmartLinkTheme[];
388
- summary?: string;
389
- };
390
- type ListSmartLinksData = {
391
- smartLinks: SmartLinkSummary[];
392
- nextCursor?: string;
393
- };
394
- type ListSmartLinksSummaryData = {
395
- summary: string;
396
- totalCount: number;
397
- nextCursor?: string;
398
- };
399
- type GetSmartLinkData = SmartLinkSummary & {
400
- customDescription: string | null;
401
- originalSpotifyUrl: string | null;
402
- spotifyDiscographyId: string;
403
- resourceUri: string;
404
- settingsResourceUri: string;
405
- nextActions: string[];
406
- summary: string;
407
- warnings?: string[];
408
- actionRequired?: string[];
409
- };
410
- type GetSmartLinkSummaryData = {
411
- summary: string;
412
- warnings?: string[];
413
- actionRequired?: string[];
414
- };
415
- type SmartLinkAnalyticsTotals = {
416
- anonymousVisits: number;
417
- streamingServiceClicks: number;
418
- youtubeVideoPlays: number;
419
- shareClicks: number;
420
- promoteCtaClicks: number;
421
- };
422
- type GetSmartLinkAnalyticsData = {
423
- playLinkId: string;
424
- artistId: string;
425
- releaseTitle: string;
426
- dateRange: {
427
- start: string;
428
- end: string;
429
- };
430
- totals: SmartLinkAnalyticsTotals;
431
- daily?: Array<SmartLinkAnalyticsTotals & {
432
- date: string;
433
- }>;
434
- breakdowns?: {
435
- serviceClicks?: Record<string, number>;
436
- countryViews?: Record<string, number>;
437
- countryClicks?: Record<string, number>;
438
- referrerViews?: Record<string, number>;
439
- referrerClicks?: Record<string, number>;
440
- utmViews?: Record<string, number>;
441
- utmClicks?: Record<string, number>;
442
- deviceViews?: Record<string, number>;
443
- deviceClicks?: Record<string, number>;
444
- localeViews?: Record<string, number>;
445
- localeClicks?: Record<string, number>;
446
- themeViews?: Record<string, number>;
447
- themeClicks?: Record<string, number>;
448
- };
449
- warnings?: string[];
450
- };
451
- type GetSmartLinkAnalyticsSummaryData = {
452
- summary: string;
453
- warnings?: string[];
454
- };
455
- type CreateSmartLinkFromSpotifyData = GetSmartLinkData & {
456
- outcome: "created" | "existing";
457
- workflowRunId: string | null;
458
- workflowWarning: string | null;
459
- };
460
- type CreateSmartLinksFromSpotifyArtistData = {
461
- artistId: string;
462
- artistName: string;
463
- artistHubUrl: string;
464
- spotifyArtistUrl: string;
465
- artistCreatedFromSpotify?: boolean;
466
- catalogImportStatus: "started" | "start_failed";
467
- catalogWorkflowRunId: string | null;
468
- initialSmartLink: SmartLinkSummary | null;
469
- initialRenderRunId: string | null;
470
- currentSmartLinkCount: number;
471
- newlyAvailableCount: number;
472
- existingCount: number;
473
- smartLinks: SmartLinkSummary[];
474
- summary: string;
475
- nextActions: string[];
476
- warnings?: string[];
477
- };
478
- type UpdateSmartLinkData = GetSmartLinkData & {
479
- renderRunId: string | null;
480
- renderWarning: string | null;
481
- };
482
- type UpdateSmartLinkArtistSettingsData = SmartLinkSettingsData & {
483
- renderQueuedCount: number;
484
- renderWarning: string | null;
485
- };
486
- type PublishSmartLinkData = GetSmartLinkData & {
487
- workflowRunId: string | null;
488
- workflowWarning: string | null;
489
- };
490
- type GetCurrentUserSummaryData = {
491
- summary: string;
492
- organizationCount: number;
493
- artistCount: number;
494
- recommendedNextActions: string[];
495
- };
496
- type GetArtistData = {
497
- id: string;
498
- name: string;
499
- slug: string;
500
- tier: ArtistTier;
501
- billingStatus: BillingStatus;
502
- connections: {
503
- spotify: {
504
- connected: boolean;
505
- artistName?: string;
506
- };
507
- meta: {
508
- connected: boolean;
509
- status?: string;
510
- };
511
- youtube: {
512
- connected: boolean;
513
- channelName?: string;
514
- };
515
- };
516
- onboarding: {
517
- smartCampaign: {
518
- isReady: boolean;
519
- missingRequirements: string[];
520
- nextAction?: string;
521
- };
522
- youtube: {
523
- isReady: boolean;
524
- missingRequirements: string[];
525
- nextAction?: string;
526
- };
527
- };
528
- organization?: {
529
- id: string;
530
- name: string;
531
- };
532
- warnings?: string[];
533
- actionRequired?: string[];
534
- };
535
- type GetArtistSummaryData = {
536
- summary: string;
537
- warnings?: string[];
538
- actionRequired?: string[];
539
- };
540
- type ListCampaignsJsonData = {
541
- campaigns: Array<{
542
- id: string;
543
- contentTitle: string;
544
- campaignType: CampaignType;
545
- status: CampaignDisplayStatus;
546
- budget: MoneyDisplay;
547
- budgetType: "DAILY" | "TOTAL";
548
- platforms: string[];
549
- createdAt: string;
550
- endDate?: string;
551
- }>;
552
- nextCursor?: string;
553
- };
554
- type ListCampaignsSummaryData = {
555
- summary: string;
556
- totalCount: number;
557
- nextCursor?: string;
558
- };
559
- type GetCampaignData = {
560
- summary: string;
561
- id: string;
562
- contentTitle: string;
563
- contentType: "TRACK" | "ALBUM" | "PLAYLIST" | "VIDEO";
564
- campaignType: CampaignType;
565
- status: CampaignDisplayStatus;
566
- budget: MoneyDisplay;
567
- budgetType: "DAILY" | "TOTAL";
568
- locationTargets: {
569
- mode: "GLOBAL";
570
- } | {
571
- mode: "COUNTRIES";
572
- countryCount: number;
573
- countries?: Array<{
574
- code: string;
575
- name: string;
576
- }>;
577
- };
578
- platforms: Array<{
579
- name: "META" | "GOOGLE";
580
- status: string;
581
- budgetAllocation: MoneyDisplay;
582
- }>;
583
- createdAt: string;
584
- updatedAt: string;
585
- endDate?: string;
586
- artistId: string;
587
- artistName: string;
588
- smartLinkUrl?: string;
589
- blockedReason?: string;
590
- nextAction?: string;
591
- warnings?: string[];
592
- actionRequired?: string[];
593
- };
594
- type GetCampaignSummaryData = {
595
- summary: string;
596
- warnings?: string[];
597
- actionRequired?: string[];
598
- };
599
- type GetCampaignAnalyticsJsonData = {
600
- campaignId: string;
601
- contentTitle: string;
602
- status: CampaignDisplayStatus;
603
- dateRange: {
604
- start: string;
605
- end: string;
606
- };
607
- totals: {
608
- impressions: number;
609
- clicks: number;
610
- spend: MoneyDisplay;
611
- cpc: MoneyDisplay | null;
612
- cpm: MoneyDisplay | null;
613
- ctr: number | null;
614
- };
615
- byPlatform?: Array<{
616
- platform: "META" | "GOOGLE";
617
- impressions: number;
618
- clicks: number;
619
- spend: MoneyDisplay;
620
- daily?: Array<{
621
- date: string;
622
- impressions: number;
623
- clicks: number;
624
- spend: MoneyDisplay;
625
- }>;
626
- }>;
627
- daily?: Array<{
628
- date: string;
629
- impressions: number;
630
- clicks: number;
631
- spend: MoneyDisplay;
632
- }>;
633
- warnings?: string[];
634
- };
635
- type GetCampaignAnalyticsSummaryData = {
636
- summary: string;
637
- warnings?: string[];
638
- };
639
- type GetArtistAnalyticsJsonData = {
640
- artistId: string;
641
- campaignCount: number;
642
- dateRange: {
643
- start: string;
644
- end: string;
645
- };
646
- totals: {
647
- impressions: number;
648
- clicks: number;
649
- spend: MoneyDisplay;
650
- cpc: MoneyDisplay | null;
651
- cpm: MoneyDisplay | null;
652
- ctr: number | null;
653
- };
654
- byPlatform?: Array<{
655
- platform: "META" | "GOOGLE";
656
- impressions: number;
657
- clicks: number;
658
- spend: MoneyDisplay;
659
- daily?: Array<{
660
- date: string;
661
- impressions: number;
662
- clicks: number;
663
- spend: MoneyDisplay;
664
- }>;
665
- }>;
666
- daily?: Array<{
667
- date: string;
668
- impressions: number;
669
- clicks: number;
670
- spend: MoneyDisplay;
671
- }>;
672
- strongestCampaign?: {
673
- campaignId: string;
674
- contentTitle: string;
675
- status: string;
676
- impressions: number;
677
- clicks: number;
678
- spend: MoneyDisplay;
679
- };
680
- warnings?: string[];
681
- };
682
- type GetArtistAnalyticsSummaryData = {
683
- summary: string;
684
- campaignCount?: number;
685
- dateRange?: {
686
- start: string;
687
- end: string;
688
- };
689
- hasDailyBreakdown?: boolean;
690
- strongestCampaign?: {
691
- campaignId: string;
692
- contentTitle: string;
693
- status: string;
694
- impressions: number;
695
- clicks: number;
696
- spend: MoneyDisplay;
697
- };
698
- warnings?: string[];
699
- };
700
-
701
- /**
702
- * OpenAI ChatGPT Connectors / Deep Research spec requires every connector
703
- * to expose tools literally named `search` and `fetch`. These schemas are
704
- * intentionally minimal to match the spec exactly.
705
- */
706
- /**
707
- * OpenAI ChatGPT Connectors / Deep Research search tool result shape.
708
- * The spec requires `results: [{id, title, url?, text?}]`. We prefix `id`
709
- * with `${type}:` so the matching `fetch` tool can route.
710
- */
711
- type OpenAiSearchData = {
712
- results: Array<{
713
- id: string;
714
- title: string;
715
- url?: string;
716
- text?: string;
717
- }>;
718
- };
719
- /**
720
- * OpenAI Deep Research fetch tool result shape.
721
- * The spec requires `id`, `title`, `text`, `url`, optional `metadata`.
722
- */
723
- type OpenAiFetchData = {
724
- id: string;
725
- title: string;
726
- text: string;
727
- url: string;
728
- metadata?: Record<string, unknown>;
729
- };
730
- declare const DynamoiOpenAiSearchInputSchema: z.ZodObject<{
731
- query: z.ZodString;
732
- }, z.core.$strict>;
733
- declare const DynamoiOpenAiFetchInputSchema: z.ZodObject<{
734
- id: z.ZodString;
735
- }, z.core.$strict>;
736
-
737
- declare const DynamoiCreateSmartLinkFromSpotifyInputSchema: z.ZodObject<{
738
- artistId: z.ZodString;
739
- clientRequestId: z.ZodOptional<z.ZodString>;
740
- customDescription: z.ZodOptional<z.ZodString>;
741
- format: z.ZodOptional<z.ZodEnum<{
742
- summary: "summary";
743
- json: "json";
744
- }>>;
745
- spotifyUrl: z.ZodString;
746
- userIntentSummary: z.ZodOptional<z.ZodString>;
747
- }, z.core.$strict>;
748
- declare const DynamoiCreateSmartLinksFromSpotifyArtistInputSchema: z.ZodObject<{
749
- artistId: z.ZodOptional<z.ZodString>;
750
- clientRequestId: z.ZodOptional<z.ZodString>;
751
- format: z.ZodOptional<z.ZodEnum<{
752
- summary: "summary";
753
- json: "json";
754
- }>>;
755
- spotifyArtistUrl: z.ZodString;
756
- userIntentSummary: z.ZodOptional<z.ZodString>;
757
- }, z.core.$strict>;
758
- declare const DynamoiListSmartLinksInputSchema: z.ZodObject<{
759
- claimStatus: z.ZodOptional<z.ZodEnum<{
760
- auto_approved: "auto_approved";
761
- pending_ops_review: "pending_ops_review";
762
- verification_deferred: "verification_deferred";
763
- approved_by_ops: "approved_by_ops";
764
- rejected: "rejected";
765
- }>>;
766
- publishState: z.ZodOptional<z.ZodEnum<{
767
- published: "published";
768
- unpublished: "unpublished";
769
- }>>;
770
- renderState: z.ZodOptional<z.ZodEnum<{
771
- failed: "failed";
772
- queued: "queued";
773
- rendering: "rendering";
774
- rendered: "rendered";
775
- }>>;
776
- artistId: z.ZodString;
777
- cursor: z.ZodOptional<z.ZodString>;
778
- format: z.ZodOptional<z.ZodEnum<{
779
- summary: "summary";
780
- json: "json";
781
- }>>;
782
- limit: z.ZodOptional<z.ZodNumber>;
783
- query: z.ZodOptional<z.ZodString>;
784
- }, z.core.$strict>;
785
- declare const DynamoiGetSmartLinkInputSchema: z.ZodObject<{
786
- artistId: z.ZodOptional<z.ZodString>;
787
- dateRange: z.ZodOptional<z.ZodObject<{
788
- end: z.ZodString;
789
- start: z.ZodString;
790
- }, z.core.$strict>>;
791
- format: z.ZodOptional<z.ZodEnum<{
792
- summary: "summary";
793
- json: "json";
794
- }>>;
795
- granularity: z.ZodOptional<z.ZodEnum<{
796
- DAILY: "DAILY";
797
- TOTAL: "TOTAL";
798
- }>>;
799
- includeAnalytics: z.ZodOptional<z.ZodBoolean>;
800
- includeArtistSettings: z.ZodOptional<z.ZodBoolean>;
801
- includeBreakdowns: z.ZodOptional<z.ZodBoolean>;
802
- playLinkId: z.ZodOptional<z.ZodString>;
803
- spotifyUrl: z.ZodOptional<z.ZodString>;
804
- }, z.core.$strict>;
805
- declare function parseDynamoiGetSmartLinkInput(rawInput: unknown): {
806
- artistId?: string | undefined;
807
- dateRange?: {
808
- end: string;
809
- start: string;
810
- } | undefined;
811
- format?: "summary" | "json" | undefined;
812
- granularity?: "DAILY" | "TOTAL" | undefined;
813
- includeAnalytics?: boolean | undefined;
814
- includeArtistSettings?: boolean | undefined;
815
- includeBreakdowns?: boolean | undefined;
816
- playLinkId?: string | undefined;
817
- spotifyUrl?: string | undefined;
818
- };
819
- declare const DynamoiGetSmartLinkAnalyticsInputSchema: z.ZodObject<{
820
- dateRange: z.ZodOptional<z.ZodObject<{
821
- end: z.ZodString;
822
- start: z.ZodString;
823
- }, z.core.$strict>>;
824
- format: z.ZodOptional<z.ZodEnum<{
825
- summary: "summary";
826
- json: "json";
827
- }>>;
828
- granularity: z.ZodOptional<z.ZodEnum<{
829
- DAILY: "DAILY";
830
- TOTAL: "TOTAL";
831
- }>>;
832
- includeBreakdowns: z.ZodOptional<z.ZodBoolean>;
833
- playLinkId: z.ZodString;
834
- }, z.core.$strict>;
835
- declare const DynamoiGetSmartLinkArtistSettingsInputSchema: z.ZodObject<{
836
- artistId: z.ZodString;
837
- format: z.ZodOptional<z.ZodEnum<{
838
- summary: "summary";
839
- json: "json";
840
- }>>;
841
- }, z.core.$strict>;
842
- declare const DynamoiUpdateSmartLinkInputSchema: z.ZodObject<{
843
- action: z.ZodEnum<{
844
- update_description: "update_description";
845
- update_artist_settings: "update_artist_settings";
846
- publish: "publish";
847
- unpublish: "unpublish";
848
- }>;
849
- artistId: z.ZodOptional<z.ZodString>;
850
- clientRequestId: z.ZodOptional<z.ZodString>;
851
- customDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
852
- expectedPublishState: z.ZodOptional<z.ZodEnum<{
853
- published: "published";
854
- unpublished: "unpublished";
855
- }>>;
856
- expectedUpdatedAt: z.ZodOptional<z.ZodString>;
857
- googleAdsConversionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
858
- metaPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
859
- playLinkId: z.ZodOptional<z.ZodString>;
860
- theme: z.ZodOptional<z.ZodEnum<{
861
- classic: "classic";
862
- brutalist: "brutalist";
863
- aurora: "aurora";
864
- cinematic: "cinematic";
865
- }>>;
866
- tiktokPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
867
- userIntentSummary: z.ZodOptional<z.ZodString>;
868
- }, z.core.$strict>;
869
- declare const DynamoiUpdateSmartLinkArtistSettingsInputSchema: z.ZodObject<{
870
- artistId: z.ZodString;
871
- clientRequestId: z.ZodOptional<z.ZodString>;
872
- googleAdsConversionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
873
- metaPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
874
- theme: z.ZodOptional<z.ZodEnum<{
875
- classic: "classic";
876
- brutalist: "brutalist";
877
- aurora: "aurora";
878
- cinematic: "cinematic";
879
- }>>;
880
- tiktokPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
881
- userIntentSummary: z.ZodOptional<z.ZodString>;
882
- }, z.core.$strict>;
883
- declare const DynamoiPublishSmartLinkInputSchema: z.ZodObject<{
884
- clientRequestId: z.ZodOptional<z.ZodString>;
885
- expectedPublishState: z.ZodOptional<z.ZodEnum<{
886
- published: "published";
887
- unpublished: "unpublished";
888
- }>>;
889
- playLinkId: z.ZodString;
890
- userIntentSummary: z.ZodOptional<z.ZodString>;
891
- }, z.core.$strict>;
892
- declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
893
- readonly description: "Use this when the user wants to create one free Dynamoi Smart Link from a Spotify album or track URL/URI, or a single starter release from a Spotify artist URL. For full-catalog artist imports or artist hub requests, prefer dynamoi_create_smart_links_from_spotify_artist. Smart Links are free to create and manage. High-popularity or unverifiable artist links may stay unpublished in verification hold until Dynamoi can verify the client relationship. This does not create a paid ad campaign. Spotify playlist URLs are not supported today. If the Smart Link already exists, return the existing link instead of creating a duplicate; if customDescription is provided, update that Smart Link's public description. In the final answer, lead with the public URL and do not expose internal IDs unless asked.";
894
- readonly destructiveHint: true;
895
- readonly idempotentHint: true;
896
- readonly name: "dynamoi_create_smart_link_from_spotify";
897
- readonly openWorldHint: true;
898
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
899
- data: z.ZodObject<{
900
- artistHubUrl: z.ZodString;
901
- artistId: z.ZodString;
902
- artistName: z.ZodString;
903
- claimStatus: z.ZodEnum<{
904
- auto_approved: "auto_approved";
905
- pending_ops_review: "pending_ops_review";
906
- verification_deferred: "verification_deferred";
907
- approved_by_ops: "approved_by_ops";
908
- rejected: "rejected";
909
- }>;
910
- createdAt: z.ZodString;
911
- id: z.ZodString;
912
- isPublic: z.ZodBoolean;
913
- localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
914
- odesliStatus: z.ZodEnum<{
915
- resolved: "resolved";
916
- pending: "pending";
917
- failed: "failed";
918
- }>;
919
- publicUrl: z.ZodString;
920
- publishState: z.ZodEnum<{
921
- published: "published";
922
- unpublished: "unpublished";
923
- }>;
924
- releaseSlug: z.ZodString;
925
- releaseTitle: z.ZodString;
926
- releaseType: z.ZodString;
927
- renderState: z.ZodEnum<{
928
- failed: "failed";
929
- queued: "queued";
930
- rendering: "rendering";
931
- rendered: "rendered";
932
- }>;
933
- spotifyUrl: z.ZodNullable<z.ZodString>;
934
- takedownStatus: z.ZodEnum<{
935
- none: "none";
936
- active: "active";
937
- resolved: "resolved";
938
- }>;
939
- theme: z.ZodEnum<{
940
- classic: "classic";
941
- brutalist: "brutalist";
942
- aurora: "aurora";
943
- cinematic: "cinematic";
944
- }>;
945
- updatedAt: z.ZodString;
946
- actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
947
- customDescription: z.ZodNullable<z.ZodString>;
948
- nextActions: z.ZodArray<z.ZodString>;
949
- originalSpotifyUrl: z.ZodNullable<z.ZodString>;
950
- resourceUri: z.ZodString;
951
- settingsResourceUri: z.ZodString;
952
- spotifyDiscographyId: z.ZodString;
953
- summary: z.ZodString;
954
- warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
955
- outcome: z.ZodEnum<{
956
- created: "created";
957
- existing: "existing";
958
- }>;
959
- workflowRunId: z.ZodNullable<z.ZodString>;
960
- workflowWarning: z.ZodNullable<z.ZodString>;
961
- }, z.core.$strict>;
962
- status: z.ZodLiteral<"success">;
963
- }, z.core.$strip>, z.ZodObject<{
964
- kind: z.ZodOptional<z.ZodEnum<{
965
- validation: "validation";
966
- business: "business";
967
- platform: "platform";
968
- unknown: "unknown";
969
- }>>;
970
- message: z.ZodString;
971
- status: z.ZodLiteral<"error">;
972
- }, z.core.$strict>]>;
973
- readonly readOnlyHint: false;
974
- readonly schema: z.ZodObject<{
975
- artistId: z.ZodString;
976
- clientRequestId: z.ZodOptional<z.ZodString>;
977
- customDescription: z.ZodOptional<z.ZodString>;
978
- format: z.ZodOptional<z.ZodEnum<{
979
- summary: "summary";
980
- json: "json";
981
- }>>;
982
- spotifyUrl: z.ZodString;
983
- userIntentSummary: z.ZodOptional<z.ZodString>;
984
- }, z.core.$strict>;
985
- readonly title: "Create Free Smart Link from Spotify";
986
- }, {
987
- readonly description: "Use this when the user gives a Spotify artist URL and wants Dynamoi to create, import, or refresh free Smart Links for the artist catalog and return the artist hub. If the signed-in user has no Dynamoi artist yet, omit artistId so Dynamoi can create the first artist from the Spotify artist profile. This starts the background catalog import so the user does not need to open the dashboard. Smart Links are free to create and manage. High-popularity or unverifiable artist catalog links may stay unpublished in verification hold until Dynamoi can verify the client relationship. This does not create a paid ad campaign. In the final answer, lead with the artist hub URL and current public Smart Link URLs; do not expose internal IDs unless asked.";
988
- readonly destructiveHint: true;
989
- readonly idempotentHint: true;
990
- readonly name: "dynamoi_create_smart_links_from_spotify_artist";
991
- readonly openWorldHint: true;
992
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
993
- data: z.ZodObject<{
994
- artistCreatedFromSpotify: z.ZodOptional<z.ZodBoolean>;
995
- artistHubUrl: z.ZodString;
996
- artistId: z.ZodString;
997
- artistName: z.ZodString;
998
- catalogImportStatus: z.ZodEnum<{
999
- started: "started";
1000
- start_failed: "start_failed";
1001
- }>;
1002
- catalogWorkflowRunId: z.ZodNullable<z.ZodString>;
1003
- currentSmartLinkCount: z.ZodNumber;
1004
- existingCount: z.ZodNumber;
1005
- initialRenderRunId: z.ZodNullable<z.ZodString>;
1006
- initialSmartLink: z.ZodNullable<z.ZodObject<{
1007
- artistHubUrl: z.ZodString;
1008
- artistId: z.ZodString;
1009
- artistName: z.ZodString;
1010
- claimStatus: z.ZodEnum<{
1011
- auto_approved: "auto_approved";
1012
- pending_ops_review: "pending_ops_review";
1013
- verification_deferred: "verification_deferred";
1014
- approved_by_ops: "approved_by_ops";
1015
- rejected: "rejected";
1016
- }>;
1017
- createdAt: z.ZodString;
1018
- id: z.ZodString;
1019
- isPublic: z.ZodBoolean;
1020
- localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
1021
- odesliStatus: z.ZodEnum<{
1022
- resolved: "resolved";
1023
- pending: "pending";
1024
- failed: "failed";
1025
- }>;
1026
- publicUrl: z.ZodString;
1027
- publishState: z.ZodEnum<{
1028
- published: "published";
1029
- unpublished: "unpublished";
1030
- }>;
1031
- releaseSlug: z.ZodString;
1032
- releaseTitle: z.ZodString;
1033
- releaseType: z.ZodString;
1034
- renderState: z.ZodEnum<{
1035
- failed: "failed";
1036
- queued: "queued";
1037
- rendering: "rendering";
1038
- rendered: "rendered";
1039
- }>;
1040
- spotifyUrl: z.ZodNullable<z.ZodString>;
1041
- takedownStatus: z.ZodEnum<{
1042
- none: "none";
1043
- active: "active";
1044
- resolved: "resolved";
1045
- }>;
1046
- theme: z.ZodEnum<{
1047
- classic: "classic";
1048
- brutalist: "brutalist";
1049
- aurora: "aurora";
1050
- cinematic: "cinematic";
1051
- }>;
1052
- updatedAt: z.ZodString;
1053
- }, z.core.$strict>>;
1054
- newlyAvailableCount: z.ZodNumber;
1055
- nextActions: z.ZodArray<z.ZodString>;
1056
- smartLinks: z.ZodArray<z.ZodObject<{
1057
- artistHubUrl: z.ZodString;
1058
- artistId: z.ZodString;
1059
- artistName: z.ZodString;
1060
- claimStatus: z.ZodEnum<{
1061
- auto_approved: "auto_approved";
1062
- pending_ops_review: "pending_ops_review";
1063
- verification_deferred: "verification_deferred";
1064
- approved_by_ops: "approved_by_ops";
1065
- rejected: "rejected";
1066
- }>;
1067
- createdAt: z.ZodString;
1068
- id: z.ZodString;
1069
- isPublic: z.ZodBoolean;
1070
- localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
1071
- odesliStatus: z.ZodEnum<{
1072
- resolved: "resolved";
1073
- pending: "pending";
1074
- failed: "failed";
1075
- }>;
1076
- publicUrl: z.ZodString;
1077
- publishState: z.ZodEnum<{
1078
- published: "published";
1079
- unpublished: "unpublished";
1080
- }>;
1081
- releaseSlug: z.ZodString;
1082
- releaseTitle: z.ZodString;
1083
- releaseType: z.ZodString;
1084
- renderState: z.ZodEnum<{
1085
- failed: "failed";
1086
- queued: "queued";
1087
- rendering: "rendering";
1088
- rendered: "rendered";
1089
- }>;
1090
- spotifyUrl: z.ZodNullable<z.ZodString>;
1091
- takedownStatus: z.ZodEnum<{
1092
- none: "none";
1093
- active: "active";
1094
- resolved: "resolved";
1095
- }>;
1096
- theme: z.ZodEnum<{
1097
- classic: "classic";
1098
- brutalist: "brutalist";
1099
- aurora: "aurora";
1100
- cinematic: "cinematic";
1101
- }>;
1102
- updatedAt: z.ZodString;
1103
- }, z.core.$strict>>;
1104
- spotifyArtistUrl: z.ZodString;
1105
- summary: z.ZodString;
1106
- warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1107
- }, z.core.$strict>;
1108
- status: z.ZodLiteral<"success">;
1109
- }, z.core.$strip>, z.ZodObject<{
1110
- kind: z.ZodOptional<z.ZodEnum<{
1111
- validation: "validation";
1112
- business: "business";
1113
- platform: "platform";
1114
- unknown: "unknown";
1115
- }>>;
1116
- message: z.ZodString;
1117
- status: z.ZodLiteral<"error">;
1118
- }, z.core.$strict>]>;
1119
- readonly readOnlyHint: false;
1120
- readonly schema: z.ZodObject<{
1121
- artistId: z.ZodOptional<z.ZodString>;
1122
- clientRequestId: z.ZodOptional<z.ZodString>;
1123
- format: z.ZodOptional<z.ZodEnum<{
1124
- summary: "summary";
1125
- json: "json";
1126
- }>>;
1127
- spotifyArtistUrl: z.ZodString;
1128
- userIntentSummary: z.ZodOptional<z.ZodString>;
1129
- }, z.core.$strict>;
1130
- readonly title: "Create Free Smart Links for Spotify Artist";
1131
- }, {
1132
- readonly description: "Use this when the user wants to list free Smart Links for one artist, including release title, public URL, publish state, claim state, render state, and theme. Do not use this for paid campaign lists; use dynamoi_list_campaigns for campaigns. In the final answer, show public URLs and avoid internal IDs unless asked. If empty for an artist with connected Spotify, suggest dynamoi_create_smart_links_from_spotify_artist for catalog import or dynamoi_create_smart_link_from_spotify for one release instead of stopping at 'no Smart Links yet'.";
1133
- readonly destructiveHint: false;
1134
- readonly name: "dynamoi_list_smart_links";
1135
- readonly openWorldHint: false;
1136
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1137
- data: z.ZodUnion<readonly [z.ZodObject<{
1138
- nextCursor: z.ZodOptional<z.ZodString>;
1139
- smartLinks: z.ZodArray<z.ZodObject<{
1140
- artistHubUrl: z.ZodString;
1141
- artistId: z.ZodString;
1142
- artistName: z.ZodString;
1143
- claimStatus: z.ZodEnum<{
1144
- auto_approved: "auto_approved";
1145
- pending_ops_review: "pending_ops_review";
1146
- verification_deferred: "verification_deferred";
1147
- approved_by_ops: "approved_by_ops";
1148
- rejected: "rejected";
1149
- }>;
1150
- createdAt: z.ZodString;
1151
- id: z.ZodString;
1152
- isPublic: z.ZodBoolean;
1153
- localizedPublicUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
1154
- odesliStatus: z.ZodEnum<{
1155
- resolved: "resolved";
1156
- pending: "pending";
1157
- failed: "failed";
1158
- }>;
1159
- publicUrl: z.ZodString;
1160
- publishState: z.ZodEnum<{
1161
- published: "published";
1162
- unpublished: "unpublished";
1163
- }>;
1164
- releaseSlug: z.ZodString;
1165
- releaseTitle: z.ZodString;
1166
- releaseType: z.ZodString;
1167
- renderState: z.ZodEnum<{
1168
- failed: "failed";
1169
- queued: "queued";
1170
- rendering: "rendering";
1171
- rendered: "rendered";
1172
- }>;
1173
- spotifyUrl: z.ZodNullable<z.ZodString>;
1174
- takedownStatus: z.ZodEnum<{
1175
- none: "none";
1176
- active: "active";
1177
- resolved: "resolved";
1178
- }>;
1179
- theme: z.ZodEnum<{
1180
- classic: "classic";
1181
- brutalist: "brutalist";
1182
- aurora: "aurora";
1183
- cinematic: "cinematic";
1184
- }>;
1185
- updatedAt: z.ZodString;
1186
- }, z.core.$strict>>;
1187
- }, z.core.$strict>, z.ZodObject<{
1188
- nextCursor: z.ZodOptional<z.ZodString>;
1189
- summary: z.ZodString;
1190
- totalCount: z.ZodNumber;
1191
- }, z.core.$strict>]>;
1192
- status: z.ZodLiteral<"success">;
1193
- }, z.core.$strip>, z.ZodObject<{
1194
- kind: z.ZodOptional<z.ZodEnum<{
1195
- validation: "validation";
1196
- business: "business";
1197
- platform: "platform";
1198
- unknown: "unknown";
1199
- }>>;
1200
- message: z.ZodString;
1201
- status: z.ZodLiteral<"error">;
1202
- }, z.core.$strict>]>;
1203
- readonly readOnlyHint: true;
1204
- readonly schema: z.ZodObject<{
1205
- claimStatus: z.ZodOptional<z.ZodEnum<{
1206
- auto_approved: "auto_approved";
1207
- pending_ops_review: "pending_ops_review";
1208
- verification_deferred: "verification_deferred";
1209
- approved_by_ops: "approved_by_ops";
1210
- rejected: "rejected";
1211
- }>>;
1212
- publishState: z.ZodOptional<z.ZodEnum<{
1213
- published: "published";
1214
- unpublished: "unpublished";
1215
- }>>;
1216
- renderState: z.ZodOptional<z.ZodEnum<{
1217
- failed: "failed";
1218
- queued: "queued";
1219
- rendering: "rendering";
1220
- rendered: "rendered";
1221
- }>>;
1222
- artistId: z.ZodString;
1223
- cursor: z.ZodOptional<z.ZodString>;
1224
- format: z.ZodOptional<z.ZodEnum<{
1225
- summary: "summary";
1226
- json: "json";
1227
- }>>;
1228
- limit: z.ZodOptional<z.ZodNumber>;
1229
- query: z.ZodOptional<z.ZodString>;
1230
- }, z.core.$strict>;
1231
- readonly title: "List Smart Links";
1232
- }, {
1233
- readonly description: "Use this when the user wants full details for one free Smart Link, including release, Spotify URL, public play.dynamoi.com URL, current status, theme source, and next actions. Set includeAnalytics=true for visit/click analytics and includeArtistSettings=true for artist-level theme/pixel settings. In the final answer, lead with the public URL and do not expose internal IDs unless asked.";
1234
- readonly destructiveHint: false;
1235
- readonly name: "dynamoi_get_smart_link";
1236
- readonly openWorldHint: false;
1237
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1238
- data: z.ZodObject<{}, z.core.$loose>;
1239
- status: z.ZodLiteral<"success">;
1240
- }, z.core.$strip>, z.ZodObject<{
1241
- data: z.ZodObject<{}, z.core.$loose>;
1242
- message: z.ZodString;
1243
- status: z.ZodLiteral<"partial_success">;
1244
- }, z.core.$strip>, z.ZodObject<{
1245
- kind: z.ZodOptional<z.ZodEnum<{
1246
- validation: "validation";
1247
- business: "business";
1248
- platform: "platform";
1249
- unknown: "unknown";
1250
- }>>;
1251
- message: z.ZodString;
1252
- status: z.ZodLiteral<"error">;
1253
- }, z.core.$strict>]>;
1254
- readonly readOnlyHint: true;
1255
- readonly schema: z.ZodObject<{
1256
- artistId: z.ZodOptional<z.ZodString>;
1257
- dateRange: z.ZodOptional<z.ZodObject<{
1258
- end: z.ZodString;
1259
- start: z.ZodString;
1260
- }, z.core.$strict>>;
1261
- format: z.ZodOptional<z.ZodEnum<{
1262
- summary: "summary";
1263
- json: "json";
1264
- }>>;
1265
- granularity: z.ZodOptional<z.ZodEnum<{
1266
- DAILY: "DAILY";
1267
- TOTAL: "TOTAL";
1268
- }>>;
1269
- includeAnalytics: z.ZodOptional<z.ZodBoolean>;
1270
- includeArtistSettings: z.ZodOptional<z.ZodBoolean>;
1271
- includeBreakdowns: z.ZodOptional<z.ZodBoolean>;
1272
- playLinkId: z.ZodOptional<z.ZodString>;
1273
- spotifyUrl: z.ZodOptional<z.ZodString>;
1274
- }, z.core.$strict>;
1275
- readonly title: "Get Smart Link";
1276
- }, {
1277
- readonly description: "Use this when the user wants to change one Smart Link's public description, publish/unpublish the public landing page, or update artist-level Smart Link theme/pixel settings. Set action to update_description, publish, unpublish, or update_artist_settings. This updates public landing-page behavior and may queue background rendering.";
1278
- readonly destructiveHint: true;
1279
- readonly idempotentHint: true;
1280
- readonly name: "dynamoi_update_smart_link";
1281
- readonly openWorldHint: true;
1282
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1283
- data: z.ZodObject<{}, z.core.$loose>;
1284
- status: z.ZodLiteral<"success">;
1285
- }, z.core.$strip>, z.ZodObject<{
1286
- data: z.ZodObject<{}, z.core.$loose>;
1287
- message: z.ZodString;
1288
- status: z.ZodLiteral<"partial_success">;
1289
- }, z.core.$strip>, z.ZodObject<{
1290
- kind: z.ZodOptional<z.ZodEnum<{
1291
- validation: "validation";
1292
- business: "business";
1293
- platform: "platform";
1294
- unknown: "unknown";
1295
- }>>;
1296
- message: z.ZodString;
1297
- status: z.ZodLiteral<"error">;
1298
- }, z.core.$strict>]>;
1299
- readonly readOnlyHint: false;
1300
- readonly schema: z.ZodObject<{
1301
- action: z.ZodEnum<{
1302
- update_description: "update_description";
1303
- update_artist_settings: "update_artist_settings";
1304
- publish: "publish";
1305
- unpublish: "unpublish";
1306
- }>;
1307
- artistId: z.ZodOptional<z.ZodString>;
1308
- clientRequestId: z.ZodOptional<z.ZodString>;
1309
- customDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1310
- expectedPublishState: z.ZodOptional<z.ZodEnum<{
1311
- published: "published";
1312
- unpublished: "unpublished";
1313
- }>>;
1314
- expectedUpdatedAt: z.ZodOptional<z.ZodString>;
1315
- googleAdsConversionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1316
- metaPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1317
- playLinkId: z.ZodOptional<z.ZodString>;
1318
- theme: z.ZodOptional<z.ZodEnum<{
1319
- classic: "classic";
1320
- brutalist: "brutalist";
1321
- aurora: "aurora";
1322
- cinematic: "cinematic";
1323
- }>>;
1324
- tiktokPixelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1325
- userIntentSummary: z.ZodOptional<z.ZodString>;
1326
- }, z.core.$strict>;
1327
- readonly title: "Update Smart Link";
1328
- }];
1329
-
1330
- declare const DateRangeSchema: z.ZodObject<{
1331
- end: z.ZodString;
1332
- start: z.ZodString;
1333
- }, z.core.$strict>;
1334
- declare const ToolFormatSchema: z.ZodEnum<{
1335
- summary: "summary";
1336
- json: "json";
1337
- }>;
1338
- declare const DynamoiListArtistsInputSchema: z.ZodObject<{
1339
- artistId: z.ZodOptional<z.ZodString>;
1340
- cursor: z.ZodOptional<z.ZodString>;
1341
- format: z.ZodOptional<z.ZodEnum<{
1342
- summary: "summary";
1343
- json: "json";
1344
- }>>;
1345
- limit: z.ZodOptional<z.ZodNumber>;
1346
- }, z.core.$strict>;
1347
- declare const DynamoiSearchInputSchema: z.ZodObject<{
1348
- artistId: z.ZodOptional<z.ZodString>;
1349
- cursor: z.ZodOptional<z.ZodString>;
1350
- format: z.ZodOptional<z.ZodEnum<{
1351
- summary: "summary";
1352
- json: "json";
1353
- }>>;
1354
- includeArchived: z.ZodOptional<z.ZodBoolean>;
1355
- limit: z.ZodOptional<z.ZodNumber>;
1356
- query: z.ZodOptional<z.ZodString>;
1357
- type: z.ZodOptional<z.ZodEnum<{
1358
- artist: "artist";
1359
- campaign: "campaign";
1360
- smartlink: "smartlink";
1361
- }>>;
1362
- }, z.core.$strict>;
1363
- declare const DynamoiGetCurrentUserInputSchema: z.ZodObject<{
1364
- format: z.ZodOptional<z.ZodEnum<{
1365
- summary: "summary";
1366
- json: "json";
1367
- }>>;
1368
- intent: z.ZodEnum<{
1369
- account_overview: "account_overview";
1370
- artist_access_check: "artist_access_check";
1371
- organization_access_check: "organization_access_check";
1372
- platform_connection_check: "platform_connection_check";
1373
- }>;
1374
- }, z.core.$strict>;
1375
- declare const DynamoiGetArtistInputSchema: z.ZodObject<{
1376
- artistId: z.ZodString;
1377
- format: z.ZodOptional<z.ZodEnum<{
1378
- summary: "summary";
1379
- json: "json";
1380
- }>>;
1381
- }, z.core.$strict>;
1382
- declare const DynamoiListCampaignsInputSchema: z.ZodObject<{
1383
- artistId: z.ZodString;
1384
- campaignType: z.ZodOptional<z.ZodEnum<{
1385
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
1386
- YOUTUBE: "YOUTUBE";
1387
- }>>;
1388
- cursor: z.ZodOptional<z.ZodString>;
1389
- format: z.ZodOptional<z.ZodEnum<{
1390
- summary: "summary";
1391
- json: "json";
1392
- }>>;
1393
- limit: z.ZodOptional<z.ZodNumber>;
1394
- status: z.ZodOptional<z.ZodEnum<{
1395
- ACTIVE: "ACTIVE";
1396
- PAUSED: "PAUSED";
1397
- AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
1398
- CONTENT_VALIDATION: "CONTENT_VALIDATION";
1399
- DEPLOYING: "DEPLOYING";
1400
- READY_FOR_REVIEW: "READY_FOR_REVIEW";
1401
- SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
1402
- ARCHIVED: "ARCHIVED";
1403
- FAILED: "FAILED";
1404
- }>>;
1405
- }, z.core.$strict>;
1406
- declare const DynamoiGetCampaignInputSchema: z.ZodObject<{
1407
- analyticsDateRange: z.ZodOptional<z.ZodObject<{
1408
- end: z.ZodString;
1409
- start: z.ZodString;
1410
- }, z.core.$strict>>;
1411
- analyticsGranularity: z.ZodOptional<z.ZodEnum<{
1412
- DAILY: "DAILY";
1413
- TOTAL: "TOTAL";
1414
- }>>;
1415
- campaignId: z.ZodString;
1416
- format: z.ZodOptional<z.ZodEnum<{
1417
- summary: "summary";
1418
- json: "json";
1419
- }>>;
1420
- includeAnalytics: z.ZodOptional<z.ZodBoolean>;
1421
- includeCountries: z.ZodOptional<z.ZodBoolean>;
1422
- includeDeploymentStatus: z.ZodOptional<z.ZodBoolean>;
1423
- }, z.core.$strict>;
1424
- declare const DynamoiGetCampaignAnalyticsInputSchema: z.ZodObject<{
1425
- campaignId: z.ZodString;
1426
- dateRange: z.ZodOptional<z.ZodObject<{
1427
- end: z.ZodString;
1428
- start: z.ZodString;
1429
- }, z.core.$strict>>;
1430
- format: z.ZodOptional<z.ZodEnum<{
1431
- summary: "summary";
1432
- json: "json";
1433
- }>>;
1434
- granularity: z.ZodOptional<z.ZodEnum<{
1435
- DAILY: "DAILY";
1436
- TOTAL: "TOTAL";
1437
- }>>;
1438
- }, z.core.$strict>;
1439
- declare const DynamoiGetArtistAnalyticsInputSchema: z.ZodObject<{
1440
- artistId: z.ZodString;
1441
- dateRange: z.ZodOptional<z.ZodObject<{
1442
- end: z.ZodString;
1443
- start: z.ZodString;
1444
- }, z.core.$strict>>;
1445
- format: z.ZodOptional<z.ZodEnum<{
1446
- summary: "summary";
1447
- json: "json";
1448
- }>>;
1449
- granularity: z.ZodOptional<z.ZodEnum<{
1450
- DAILY: "DAILY";
1451
- TOTAL: "TOTAL";
1452
- }>>;
1453
- }, z.core.$strict>;
1454
- declare const DynamoiGetBillingInputSchema: z.ZodObject<{
1455
- artistId: z.ZodString;
1456
- format: z.ZodOptional<z.ZodEnum<{
1457
- summary: "summary";
1458
- json: "json";
1459
- }>>;
1460
- onboardingAttemptId: z.ZodOptional<z.ZodString>;
1461
- }, z.core.$strict>;
1462
- declare const DynamoiGetPlatformStatusInputSchema: z.ZodObject<{
1463
- artistId: z.ZodString;
1464
- format: z.ZodOptional<z.ZodEnum<{
1465
- summary: "summary";
1466
- json: "json";
1467
- }>>;
1468
- onboardingAttemptId: z.ZodOptional<z.ZodString>;
1469
- onboardingFlow: z.ZodOptional<z.ZodEnum<{
1470
- youtube: "youtube";
1471
- meta: "meta";
1472
- }>>;
1473
- }, z.core.$strict>;
1474
- declare const DynamoiStartYoutubeChannelLinkInputSchema: z.ZodObject<{
1475
- artistId: z.ZodString;
1476
- format: z.ZodOptional<z.ZodEnum<{
1477
- summary: "summary";
1478
- json: "json";
1479
- }>>;
1480
- userIntentSummary: z.ZodOptional<z.ZodString>;
1481
- }, z.core.$strict>;
1482
- declare const DynamoiStartMetaConnectionInputSchema: z.ZodObject<{
1483
- artistId: z.ZodString;
1484
- format: z.ZodOptional<z.ZodEnum<{
1485
- summary: "summary";
1486
- json: "json";
1487
- }>>;
1488
- userIntentSummary: z.ZodOptional<z.ZodString>;
1489
- }, z.core.$strict>;
1490
- declare const DynamoiListAvailableCountriesInputSchema: z.ZodObject<{
1491
- campaignType: z.ZodEnum<{
1492
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
1493
- YOUTUBE: "YOUTUBE";
1494
- }>;
1495
- cursor: z.ZodOptional<z.ZodString>;
1496
- format: z.ZodOptional<z.ZodEnum<{
1497
- summary: "summary";
1498
- json: "json";
1499
- }>>;
1500
- limit: z.ZodOptional<z.ZodNumber>;
1501
- query: z.ZodOptional<z.ZodString>;
1502
- }, z.core.$strict>;
1503
- declare const DynamoiGetOnboardingStatusInputSchema: z.ZodObject<{
1504
- artistId: z.ZodString;
1505
- format: z.ZodOptional<z.ZodEnum<{
1506
- summary: "summary";
1507
- json: "json";
1508
- }>>;
1509
- }, z.core.$strict>;
1510
- declare const DynamoiGetCampaignReadinessInputSchema: z.ZodObject<{
1511
- artistId: z.ZodString;
1512
- budgetAmount: z.ZodOptional<z.ZodNumber>;
1513
- budgetType: z.ZodOptional<z.ZodEnum<{
1514
- DAILY: "DAILY";
1515
- TOTAL: "TOTAL";
1516
- }>>;
1517
- campaignType: z.ZodEnum<{
1518
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
1519
- YOUTUBE: "YOUTUBE";
1520
- }>;
1521
- contentType: z.ZodOptional<z.ZodEnum<{
1522
- TRACK: "TRACK";
1523
- ALBUM: "ALBUM";
1524
- PLAYLIST: "PLAYLIST";
1525
- VIDEO: "VIDEO";
1526
- }>>;
1527
- endDate: z.ZodOptional<z.ZodString>;
1528
- format: z.ZodOptional<z.ZodEnum<{
1529
- summary: "summary";
1530
- json: "json";
1531
- }>>;
1532
- locationTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1533
- code: z.ZodString;
1534
- name: z.ZodString;
1535
- }, z.core.$strict>>>;
1536
- mediaAssetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1537
- spotifyUrl: z.ZodOptional<z.ZodString>;
1538
- youtubeVideoId: z.ZodOptional<z.ZodString>;
1539
- }, z.core.$strict>;
1540
- declare const DynamoiGetCampaignDeploymentStatusInputSchema: z.ZodObject<{
1541
- campaignId: z.ZodString;
1542
- format: z.ZodOptional<z.ZodEnum<{
1543
- summary: "summary";
1544
- json: "json";
1545
- }>>;
1546
- }, z.core.$strict>;
1547
- declare const DynamoiPauseCampaignInputSchema: z.ZodObject<{
1548
- campaignId: z.ZodString;
1549
- clientRequestId: z.ZodOptional<z.ZodString>;
1550
- expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
1551
- ACTIVE: "ACTIVE";
1552
- PAUSED: "PAUSED";
1553
- AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
1554
- CONTENT_VALIDATION: "CONTENT_VALIDATION";
1555
- DEPLOYING: "DEPLOYING";
1556
- READY_FOR_REVIEW: "READY_FOR_REVIEW";
1557
- SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
1558
- ARCHIVED: "ARCHIVED";
1559
- FAILED: "FAILED";
1560
- ENDED: "ENDED";
1561
- }>>;
1562
- userIntentSummary: z.ZodOptional<z.ZodString>;
1563
- }, z.core.$strict>;
1564
- declare const DynamoiResumeCampaignInputSchema: z.ZodObject<{
1565
- campaignId: z.ZodString;
1566
- clientRequestId: z.ZodOptional<z.ZodString>;
1567
- expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
1568
- ACTIVE: "ACTIVE";
1569
- PAUSED: "PAUSED";
1570
- AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
1571
- CONTENT_VALIDATION: "CONTENT_VALIDATION";
1572
- DEPLOYING: "DEPLOYING";
1573
- READY_FOR_REVIEW: "READY_FOR_REVIEW";
1574
- SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
1575
- ARCHIVED: "ARCHIVED";
1576
- FAILED: "FAILED";
1577
- ENDED: "ENDED";
1578
- }>>;
1579
- userIntentSummary: z.ZodOptional<z.ZodString>;
1580
- }, z.core.$strict>;
1581
- declare const DynamoiUpdateBudgetInputSchema: z.ZodObject<{
1582
- budgetAmount: z.ZodNumber;
1583
- campaignId: z.ZodString;
1584
- clientRequestId: z.ZodOptional<z.ZodString>;
1585
- endDate: z.ZodOptional<z.ZodString>;
1586
- expectedCurrentBudgetAmount: z.ZodOptional<z.ZodNumber>;
1587
- expectedCurrentEndDate: z.ZodOptional<z.ZodString>;
1588
- userIntentSummary: z.ZodOptional<z.ZodString>;
1589
- }, z.core.$strict>;
1590
- declare const DynamoiUpdateCampaignInputSchema: z.ZodObject<{
1591
- action: z.ZodEnum<{
1592
- pause: "pause";
1593
- resume: "resume";
1594
- update_budget: "update_budget";
1595
- }>;
1596
- budgetAmount: z.ZodOptional<z.ZodNumber>;
1597
- campaignId: z.ZodString;
1598
- clientRequestId: z.ZodOptional<z.ZodString>;
1599
- endDate: z.ZodOptional<z.ZodString>;
1600
- expectedCurrentBudgetAmount: z.ZodOptional<z.ZodNumber>;
1601
- expectedCurrentEndDate: z.ZodOptional<z.ZodString>;
1602
- expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
1603
- ACTIVE: "ACTIVE";
1604
- PAUSED: "PAUSED";
1605
- AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
1606
- CONTENT_VALIDATION: "CONTENT_VALIDATION";
1607
- DEPLOYING: "DEPLOYING";
1608
- READY_FOR_REVIEW: "READY_FOR_REVIEW";
1609
- SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
1610
- ARCHIVED: "ARCHIVED";
1611
- FAILED: "FAILED";
1612
- ENDED: "ENDED";
1613
- }>>;
1614
- userIntentSummary: z.ZodOptional<z.ZodString>;
1615
- }, z.core.$strict>;
1616
- declare const DynamoiListMediaAssetsInputSchema: z.ZodObject<{
1617
- artistId: z.ZodString;
1618
- cursor: z.ZodOptional<z.ZodString>;
1619
- format: z.ZodOptional<z.ZodEnum<{
1620
- summary: "summary";
1621
- json: "json";
1622
- }>>;
1623
- includeUrls: z.ZodOptional<z.ZodBoolean>;
1624
- limit: z.ZodOptional<z.ZodNumber>;
1625
- }, z.core.$strict>;
1626
- declare const DynamoiLaunchCampaignInputSchema: z.ZodObject<{
1627
- adCopy: z.ZodOptional<z.ZodString>;
1628
- appleMusicUrl: z.ZodOptional<z.ZodString>;
1629
- artistId: z.ZodString;
1630
- budgetAmount: z.ZodNumber;
1631
- budgetSplits: z.ZodRecord<z.ZodEnum<{
1632
- META: "META";
1633
- GOOGLE: "GOOGLE";
1634
- }>, z.ZodNumber>;
1635
- budgetType: z.ZodEnum<{
1636
- DAILY: "DAILY";
1637
- TOTAL: "TOTAL";
1638
- }>;
1639
- campaignType: z.ZodEnum<{
1640
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
1641
- YOUTUBE: "YOUTUBE";
1642
- }>;
1643
- clientRequestId: z.ZodString;
1644
- contentTitle: z.ZodString;
1645
- contentType: z.ZodEnum<{
1646
- TRACK: "TRACK";
1647
- ALBUM: "ALBUM";
1648
- PLAYLIST: "PLAYLIST";
1649
- VIDEO: "VIDEO";
1650
- }>;
1651
- endDate: z.ZodOptional<z.ZodString>;
1652
- locationTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1653
- code: z.ZodString;
1654
- name: z.ZodString;
1655
- }, z.core.$strict>>>;
1656
- mediaAssetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1657
- spotifyUrl: z.ZodOptional<z.ZodString>;
1658
- useAiGeneratedCopy: z.ZodOptional<z.ZodBoolean>;
1659
- userIntentSummary: z.ZodOptional<z.ZodString>;
1660
- youtubeVideoId: z.ZodOptional<z.ZodString>;
1661
- }, z.core.$strict>;
1662
- declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1663
- readonly description: "Use this when the user explicitly asks about the signed-in Dynamoi account itself, such as who is logged in, how many organizations or artists it can access, or whether account-level platform connections exist. Always pass intent to match that explicit account question. Do not use this to confirm a specific Meta or YouTube onboarding attempt because this account-level state can span multiple artists; use dynamoi_get_platform_status for the target artist instead. Do not use this to enumerate artists one by one; use dynamoi_list_artists for that. Never use this to 'check context' before answering generic Instagram, lyrics, songwriting, or marketing-advice questions, even if Dynamoi is attached.";
1664
- readonly destructiveHint: false;
1665
- readonly name: "dynamoi_get_account_overview";
1666
- readonly openWorldHint: false;
1667
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1668
- data: z.ZodObject<{}, z.core.$loose>;
1669
- status: z.ZodLiteral<"success">;
1670
- }, z.core.$strip>, z.ZodObject<{
1671
- data: z.ZodObject<{}, z.core.$loose>;
1672
- message: z.ZodString;
1673
- status: z.ZodLiteral<"partial_success">;
1674
- }, z.core.$strip>, z.ZodObject<{
1675
- kind: z.ZodOptional<z.ZodEnum<{
1676
- validation: "validation";
1677
- business: "business";
1678
- platform: "platform";
1679
- unknown: "unknown";
1680
- }>>;
1681
- message: z.ZodString;
1682
- status: z.ZodLiteral<"error">;
1683
- }, z.core.$strict>]>;
1684
- readonly readOnlyHint: true;
1685
- readonly schema: z.ZodObject<{
1686
- format: z.ZodOptional<z.ZodEnum<{
1687
- summary: "summary";
1688
- json: "json";
1689
- }>>;
1690
- intent: z.ZodEnum<{
1691
- account_overview: "account_overview";
1692
- artist_access_check: "artist_access_check";
1693
- organization_access_check: "organization_access_check";
1694
- platform_connection_check: "platform_connection_check";
1695
- }>;
1696
- }, z.core.$strict>;
1697
- readonly title: "Get Account Overview";
1698
- }, {
1699
- readonly description: "Use this when the user wants to see which artists or YouTube channels they manage, along with billing status, active campaign count, and their role. Pass artistId when you need the full profile/readiness details for one artist instead of a roster page. Do not use this for campaign details; use dynamoi_list_campaigns or dynamoi_get_campaign. Never use this for generic social-media or marketing advice, including Instagram follower-growth questions, unless the user explicitly asked about their Dynamoi roster. If the result is empty, the user is brand-new — do not stop with 'no records found'; route through dynamoi_get_account_overview.recommendedNextActions.";
1700
- readonly destructiveHint: false;
1701
- readonly name: "dynamoi_list_artists";
1702
- readonly openWorldHint: false;
1703
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1704
- data: z.ZodObject<{}, z.core.$loose>;
1705
- status: z.ZodLiteral<"success">;
1706
- }, z.core.$strip>, z.ZodObject<{
1707
- data: z.ZodObject<{}, z.core.$loose>;
1708
- message: z.ZodString;
1709
- status: z.ZodLiteral<"partial_success">;
1710
- }, z.core.$strip>, z.ZodObject<{
1711
- kind: z.ZodOptional<z.ZodEnum<{
1712
- validation: "validation";
1713
- business: "business";
1714
- platform: "platform";
1715
- unknown: "unknown";
1716
- }>>;
1717
- message: z.ZodString;
1718
- status: z.ZodLiteral<"error">;
1719
- }, z.core.$strict>]>;
1720
- readonly readOnlyHint: true;
1721
- readonly schema: z.ZodObject<{
1722
- artistId: z.ZodOptional<z.ZodString>;
1723
- cursor: z.ZodOptional<z.ZodString>;
1724
- format: z.ZodOptional<z.ZodEnum<{
1725
- summary: "summary";
1726
- json: "json";
1727
- }>>;
1728
- limit: z.ZodOptional<z.ZodNumber>;
1729
- }, z.core.$strict>;
1730
- readonly title: "List Artists";
1731
- }, {
1732
- readonly description: "Use this when the user mentions an artist, release, campaign, or smart link but you do not yet know the exact record to inspect. Do not use this for analytics summaries or billing questions once you already know the target record. If the result is empty for a brand-new user (no artists yet), do not respond 'no records found' as a terminal answer — instead suggest creating their first artist hub via dynamoi_create_smart_links_from_spotify_artist.";
1733
- readonly destructiveHint: false;
1734
- readonly name: "dynamoi_search";
1735
- readonly openWorldHint: false;
1736
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1737
- data: z.ZodObject<{}, z.core.$loose>;
1738
- status: z.ZodLiteral<"success">;
1739
- }, z.core.$strip>, z.ZodObject<{
1740
- data: z.ZodObject<{}, z.core.$loose>;
1741
- message: z.ZodString;
1742
- status: z.ZodLiteral<"partial_success">;
1743
- }, z.core.$strip>, z.ZodObject<{
1744
- kind: z.ZodOptional<z.ZodEnum<{
1745
- validation: "validation";
1746
- business: "business";
1747
- platform: "platform";
1748
- unknown: "unknown";
1749
- }>>;
1750
- message: z.ZodString;
1751
- status: z.ZodLiteral<"error">;
1752
- }, z.core.$strict>]>;
1753
- readonly readOnlyHint: true;
1754
- readonly schema: z.ZodObject<{
1755
- artistId: z.ZodOptional<z.ZodString>;
1756
- cursor: z.ZodOptional<z.ZodString>;
1757
- format: z.ZodOptional<z.ZodEnum<{
1758
- summary: "summary";
1759
- json: "json";
1760
- }>>;
1761
- includeArchived: z.ZodOptional<z.ZodBoolean>;
1762
- limit: z.ZodOptional<z.ZodNumber>;
1763
- query: z.ZodOptional<z.ZodString>;
1764
- type: z.ZodOptional<z.ZodEnum<{
1765
- artist: "artist";
1766
- campaign: "campaign";
1767
- smartlink: "smartlink";
1768
- }>>;
1769
- }, z.core.$strict>;
1770
- readonly title: "Search Dynamoi";
1771
- }, {
1772
- readonly description: "OpenAI ChatGPT Deep Research / Connectors search contract. Returns matching Dynamoi artists, campaigns, and Smart Links so they can be cited in a deep-research session. For regular ChatGPT chat use dynamoi_search instead.";
1773
- readonly destructiveHint: false;
1774
- readonly name: "search";
1775
- readonly openWorldHint: false;
1776
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1777
- data: z.ZodObject<{}, z.core.$loose>;
1778
- status: z.ZodLiteral<"success">;
1779
- }, z.core.$strip>, z.ZodObject<{
1780
- data: z.ZodObject<{}, z.core.$loose>;
1781
- message: z.ZodString;
1782
- status: z.ZodLiteral<"partial_success">;
1783
- }, z.core.$strip>, z.ZodObject<{
1784
- kind: z.ZodOptional<z.ZodEnum<{
1785
- validation: "validation";
1786
- business: "business";
1787
- platform: "platform";
1788
- unknown: "unknown";
1789
- }>>;
1790
- message: z.ZodString;
1791
- status: z.ZodLiteral<"error">;
1792
- }, z.core.$strict>]>;
1793
- readonly readOnlyHint: true;
1794
- readonly schema: z.ZodObject<{
1795
- query: z.ZodString;
1796
- }, z.core.$strict>;
1797
- readonly title: "Search (OpenAI Connectors)";
1798
- }, {
1799
- readonly description: "OpenAI ChatGPT Deep Research / Connectors fetch contract. Given an id returned by `search` (formatted as 'artist:<uuid>', 'campaign:<uuid>', or 'smartlink:<uuid>'), returns the full record for citation.";
1800
- readonly destructiveHint: false;
1801
- readonly name: "fetch";
1802
- readonly openWorldHint: false;
1803
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1804
- data: z.ZodObject<{}, z.core.$loose>;
1805
- status: z.ZodLiteral<"success">;
1806
- }, z.core.$strip>, z.ZodObject<{
1807
- data: z.ZodObject<{}, z.core.$loose>;
1808
- message: z.ZodString;
1809
- status: z.ZodLiteral<"partial_success">;
1810
- }, z.core.$strip>, z.ZodObject<{
1811
- kind: z.ZodOptional<z.ZodEnum<{
1812
- validation: "validation";
1813
- business: "business";
1814
- platform: "platform";
1815
- unknown: "unknown";
1816
- }>>;
1817
- message: z.ZodString;
1818
- status: z.ZodLiteral<"error">;
1819
- }, z.core.$strict>]>;
1820
- readonly readOnlyHint: true;
1821
- readonly schema: z.ZodObject<{
1822
- id: z.ZodString;
1823
- }, z.core.$strict>;
1824
- readonly title: "Fetch (OpenAI Connectors)";
1825
- }, {
1826
- readonly description: "Use this when the user wants to browse campaigns for one artist, optionally filtered by type or status. Do not use this for a single campaign deep dive; use dynamoi_get_campaign for that. Never use this to personalize generic marketing advice. If the user has no artists yet, do not call this — route via dynamoi_get_account_overview first.";
1827
- readonly destructiveHint: false;
1828
- readonly name: "dynamoi_list_campaigns";
1829
- readonly openWorldHint: false;
1830
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1831
- data: z.ZodObject<{}, z.core.$loose>;
1832
- status: z.ZodLiteral<"success">;
1833
- }, z.core.$strip>, z.ZodObject<{
1834
- data: z.ZodObject<{}, z.core.$loose>;
1835
- message: z.ZodString;
1836
- status: z.ZodLiteral<"partial_success">;
1837
- }, z.core.$strip>, z.ZodObject<{
1838
- kind: z.ZodOptional<z.ZodEnum<{
1839
- validation: "validation";
1840
- business: "business";
1841
- platform: "platform";
1842
- unknown: "unknown";
1843
- }>>;
1844
- message: z.ZodString;
1845
- status: z.ZodLiteral<"error">;
1846
- }, z.core.$strict>]>;
1847
- readonly readOnlyHint: true;
1848
- readonly schema: z.ZodObject<{
1849
- artistId: z.ZodString;
1850
- campaignType: z.ZodOptional<z.ZodEnum<{
1851
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
1852
- YOUTUBE: "YOUTUBE";
1853
- }>>;
1854
- cursor: z.ZodOptional<z.ZodString>;
1855
- format: z.ZodOptional<z.ZodEnum<{
1856
- summary: "summary";
1857
- json: "json";
1858
- }>>;
1859
- limit: z.ZodOptional<z.ZodNumber>;
1860
- status: z.ZodOptional<z.ZodEnum<{
1861
- ACTIVE: "ACTIVE";
1862
- PAUSED: "PAUSED";
1863
- AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
1864
- CONTENT_VALIDATION: "CONTENT_VALIDATION";
1865
- DEPLOYING: "DEPLOYING";
1866
- READY_FOR_REVIEW: "READY_FOR_REVIEW";
1867
- SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
1868
- ARCHIVED: "ARCHIVED";
1869
- FAILED: "FAILED";
1870
- }>>;
1871
- }, z.core.$strict>;
1872
- readonly title: "List Campaigns";
1873
- }, {
1874
- readonly description: "Use this when the user wants full details for one campaign, including budget, targeting, platform status, and next actions. Set includeAnalytics=true for one-campaign performance, includeDeploymentStatus=true for delivery/deployment blockers, and includeCountries=true only when the full country list is needed. Do not use this for a campaign list; use dynamoi_list_campaigns instead. After a successful launch or campaign mutation, prefer format=summary when you need a follow-up read to relay the final answer.";
1875
- readonly destructiveHint: false;
1876
- readonly name: "dynamoi_get_campaign";
1877
- readonly openWorldHint: false;
1878
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1879
- data: z.ZodObject<{}, z.core.$loose>;
1880
- status: z.ZodLiteral<"success">;
1881
- }, z.core.$strip>, z.ZodObject<{
1882
- data: z.ZodObject<{}, z.core.$loose>;
1883
- message: z.ZodString;
1884
- status: z.ZodLiteral<"partial_success">;
1885
- }, z.core.$strip>, z.ZodObject<{
1886
- kind: z.ZodOptional<z.ZodEnum<{
1887
- validation: "validation";
1888
- business: "business";
1889
- platform: "platform";
1890
- unknown: "unknown";
1891
- }>>;
1892
- message: z.ZodString;
1893
- status: z.ZodLiteral<"error">;
1894
- }, z.core.$strict>]>;
1895
- readonly readOnlyHint: true;
1896
- readonly schema: z.ZodObject<{
1897
- analyticsDateRange: z.ZodOptional<z.ZodObject<{
1898
- end: z.ZodString;
1899
- start: z.ZodString;
1900
- }, z.core.$strict>>;
1901
- analyticsGranularity: z.ZodOptional<z.ZodEnum<{
1902
- DAILY: "DAILY";
1903
- TOTAL: "TOTAL";
1904
- }>>;
1905
- campaignId: z.ZodString;
1906
- format: z.ZodOptional<z.ZodEnum<{
1907
- summary: "summary";
1908
- json: "json";
1909
- }>>;
1910
- includeAnalytics: z.ZodOptional<z.ZodBoolean>;
1911
- includeCountries: z.ZodOptional<z.ZodBoolean>;
1912
- includeDeploymentStatus: z.ZodOptional<z.ZodBoolean>;
1913
- }, z.core.$strict>;
1914
- readonly title: "Get Campaign";
1915
- }, {
1916
- readonly description: "Use this when the user wants artist-level performance across all campaigns, including 30-day rollups or daily breakdowns. Pass granularity=DAILY when the user asks for a daily breakdown. Pass format=summary when the user wants a written rollup, a strongest-campaign verdict, or a direct answer you can relay immediately. If this tool already returned the requested strongest-campaign comparison, stop and answer instead of calling more analytics tools. For one campaign's metrics, use dynamoi_get_campaign with includeAnalytics=true.";
1917
- readonly destructiveHint: false;
1918
- readonly name: "dynamoi_get_artist_analytics";
1919
- readonly openWorldHint: false;
1920
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1921
- data: z.ZodObject<{}, z.core.$loose>;
1922
- status: z.ZodLiteral<"success">;
1923
- }, z.core.$strip>, z.ZodObject<{
1924
- data: z.ZodObject<{}, z.core.$loose>;
1925
- message: z.ZodString;
1926
- status: z.ZodLiteral<"partial_success">;
1927
- }, z.core.$strip>, z.ZodObject<{
1928
- kind: z.ZodOptional<z.ZodEnum<{
1929
- validation: "validation";
1930
- business: "business";
1931
- platform: "platform";
1932
- unknown: "unknown";
1933
- }>>;
1934
- message: z.ZodString;
1935
- status: z.ZodLiteral<"error">;
1936
- }, z.core.$strict>]>;
1937
- readonly readOnlyHint: true;
1938
- readonly schema: z.ZodObject<{
1939
- artistId: z.ZodString;
1940
- dateRange: z.ZodOptional<z.ZodObject<{
1941
- end: z.ZodString;
1942
- start: z.ZodString;
1943
- }, z.core.$strict>>;
1944
- format: z.ZodOptional<z.ZodEnum<{
1945
- summary: "summary";
1946
- json: "json";
1947
- }>>;
1948
- granularity: z.ZodOptional<z.ZodEnum<{
1949
- DAILY: "DAILY";
1950
- TOTAL: "TOTAL";
1951
- }>>;
1952
- }, z.core.$strict>;
1953
- readonly title: "Get Artist Analytics";
1954
- }, {
1955
- readonly description: "Use this when the user asks about billing state, credit balance, promo limits, subscription status, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. If billing blocks a launch, direct the user to start or restore managed advertising in the Dynamoi dashboard, then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.";
1956
- readonly destructiveHint: false;
1957
- readonly name: "dynamoi_get_billing";
1958
- readonly openWorldHint: false;
1959
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1960
- data: z.ZodObject<{}, z.core.$loose>;
1961
- status: z.ZodLiteral<"success">;
1962
- }, z.core.$strip>, z.ZodObject<{
1963
- data: z.ZodObject<{}, z.core.$loose>;
1964
- message: z.ZodString;
1965
- status: z.ZodLiteral<"partial_success">;
1966
- }, z.core.$strip>, z.ZodObject<{
1967
- kind: z.ZodOptional<z.ZodEnum<{
1968
- validation: "validation";
1969
- business: "business";
1970
- platform: "platform";
1971
- unknown: "unknown";
1972
- }>>;
1973
- message: z.ZodString;
1974
- status: z.ZodLiteral<"error">;
1975
- }, z.core.$strict>]>;
1976
- readonly readOnlyHint: true;
1977
- readonly schema: z.ZodObject<{
1978
- artistId: z.ZodString;
1979
- format: z.ZodOptional<z.ZodEnum<{
1980
- summary: "summary";
1981
- json: "json";
1982
- }>>;
1983
- onboardingAttemptId: z.ZodOptional<z.ZodString>;
1984
- }, z.core.$strict>;
1985
- readonly title: "Get Billing";
1986
- }, {
1987
- readonly description: "Use this when the user wants to know whether Spotify, Meta, or YouTube are connected and what setup steps still block launches. When polling after a connection-start flow, pass the returned onboardingAttemptId and onboardingFlow so Dynamoi ops can correlate the browser step. Do not use this for detailed billing questions. Never use this to personalize generic Instagram or marketing-advice questions.";
1988
- readonly destructiveHint: false;
1989
- readonly name: "dynamoi_get_platform_status";
1990
- readonly openWorldHint: false;
1991
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
1992
- data: z.ZodObject<{}, z.core.$loose>;
1993
- status: z.ZodLiteral<"success">;
1994
- }, z.core.$strip>, z.ZodObject<{
1995
- data: z.ZodObject<{}, z.core.$loose>;
1996
- message: z.ZodString;
1997
- status: z.ZodLiteral<"partial_success">;
1998
- }, z.core.$strip>, z.ZodObject<{
1999
- kind: z.ZodOptional<z.ZodEnum<{
2000
- validation: "validation";
2001
- business: "business";
2002
- platform: "platform";
2003
- unknown: "unknown";
2004
- }>>;
2005
- message: z.ZodString;
2006
- status: z.ZodLiteral<"error">;
2007
- }, z.core.$strict>]>;
2008
- readonly readOnlyHint: true;
2009
- readonly schema: z.ZodObject<{
2010
- artistId: z.ZodString;
2011
- format: z.ZodOptional<z.ZodEnum<{
2012
- summary: "summary";
2013
- json: "json";
2014
- }>>;
2015
- onboardingAttemptId: z.ZodOptional<z.ZodString>;
2016
- onboardingFlow: z.ZodOptional<z.ZodEnum<{
2017
- youtube: "youtube";
2018
- meta: "meta";
2019
- }>>;
2020
- }, z.core.$strict>;
2021
- readonly title: "Get Platform Status";
2022
- }, {
2023
- readonly description: "Use this when the user asks which countries they can target for a Smart Campaign or YouTube campaign. Always pass campaignType because Smart Campaign and YouTube country catalogs are different. Do not use this for generic country marketing advice.";
2024
- readonly destructiveHint: false;
2025
- readonly name: "dynamoi_list_available_countries";
2026
- readonly openWorldHint: false;
2027
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2028
- data: z.ZodUnion<readonly [z.ZodObject<{
2029
- campaignType: z.ZodEnum<{
2030
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
2031
- YOUTUBE: "YOUTUBE";
2032
- }>;
2033
- countries: z.ZodArray<z.ZodObject<{
2034
- code: z.ZodString;
2035
- dominantLanguage: z.ZodOptional<z.ZodString>;
2036
- googleAdsId: z.ZodNumber;
2037
- name: z.ZodString;
2038
- }, z.core.$strict>>;
2039
- nextCursor: z.ZodOptional<z.ZodString>;
2040
- notes: z.ZodArray<z.ZodString>;
2041
- source: z.ZodEnum<{
2042
- SMART_CAMPAIGN_COUNTRIES: "SMART_CAMPAIGN_COUNTRIES";
2043
- GOOGLE_ADS_COUNTRIES: "GOOGLE_ADS_COUNTRIES";
2044
- }>;
2045
- totalCount: z.ZodNumber;
2046
- }, z.core.$strict>, z.ZodObject<{
2047
- nextCursor: z.ZodOptional<z.ZodString>;
2048
- summary: z.ZodString;
2049
- totalCount: z.ZodNumber;
2050
- }, z.core.$strict>]>;
2051
- status: z.ZodLiteral<"success">;
2052
- }, z.core.$strip>, z.ZodObject<{
2053
- kind: z.ZodOptional<z.ZodEnum<{
2054
- validation: "validation";
2055
- business: "business";
2056
- platform: "platform";
2057
- unknown: "unknown";
2058
- }>>;
2059
- message: z.ZodString;
2060
- status: z.ZodLiteral<"error">;
2061
- }, z.core.$strict>]>;
2062
- readonly readOnlyHint: true;
2063
- readonly schema: z.ZodObject<{
2064
- campaignType: z.ZodEnum<{
2065
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
2066
- YOUTUBE: "YOUTUBE";
2067
- }>;
2068
- cursor: z.ZodOptional<z.ZodString>;
2069
- format: z.ZodOptional<z.ZodEnum<{
2070
- summary: "summary";
2071
- json: "json";
2072
- }>>;
2073
- limit: z.ZodOptional<z.ZodNumber>;
2074
- query: z.ZodOptional<z.ZodString>;
2075
- }, z.core.$strict>;
2076
- readonly title: "List Available Countries";
2077
- }, {
2078
- readonly description: "Use this when the user is planning a campaign and wants to know if the proposed inputs are ready before dynamoi_launch_campaign. This validates readiness and targeting without creating a campaign. Do not use this to create or mutate campaigns.";
2079
- readonly destructiveHint: false;
2080
- readonly name: "dynamoi_get_campaign_readiness";
2081
- readonly openWorldHint: false;
2082
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2083
- data: z.ZodUnion<readonly [z.ZodObject<{
2084
- artistId: z.ZodString;
2085
- artistName: z.ZodString;
2086
- blockingIssues: z.ZodArray<z.ZodString>;
2087
- campaignType: z.ZodEnum<{
2088
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
2089
- YOUTUBE: "YOUTUBE";
2090
- }>;
2091
- isReady: z.ZodBoolean;
2092
- missingInputs: z.ZodArray<z.ZodString>;
2093
- normalizedTargeting: z.ZodUnion<readonly [z.ZodObject<{
2094
- mode: z.ZodLiteral<"GLOBAL">;
2095
- }, z.core.$strict>, z.ZodObject<{
2096
- countries: z.ZodArray<z.ZodObject<{
2097
- code: z.ZodString;
2098
- name: z.ZodString;
2099
- }, z.core.$strict>>;
2100
- mode: z.ZodLiteral<"COUNTRIES">;
2101
- }, z.core.$strict>]>;
2102
- recommendedNextAction: z.ZodString;
2103
- warnings: z.ZodArray<z.ZodString>;
2104
- }, z.core.$strict>, z.ZodObject<{
2105
- actionRequired: z.ZodOptional<z.ZodArray<z.ZodString>>;
2106
- summary: z.ZodString;
2107
- warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2108
- }, z.core.$strict>]>;
2109
- status: z.ZodLiteral<"success">;
2110
- }, z.core.$strip>, z.ZodObject<{
2111
- kind: z.ZodOptional<z.ZodEnum<{
2112
- validation: "validation";
2113
- business: "business";
2114
- platform: "platform";
2115
- unknown: "unknown";
2116
- }>>;
2117
- message: z.ZodString;
2118
- status: z.ZodLiteral<"error">;
2119
- }, z.core.$strict>]>;
2120
- readonly readOnlyHint: true;
2121
- readonly schema: z.ZodObject<{
2122
- artistId: z.ZodString;
2123
- budgetAmount: z.ZodOptional<z.ZodNumber>;
2124
- budgetType: z.ZodOptional<z.ZodEnum<{
2125
- DAILY: "DAILY";
2126
- TOTAL: "TOTAL";
2127
- }>>;
2128
- campaignType: z.ZodEnum<{
2129
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
2130
- YOUTUBE: "YOUTUBE";
2131
- }>;
2132
- contentType: z.ZodOptional<z.ZodEnum<{
2133
- TRACK: "TRACK";
2134
- ALBUM: "ALBUM";
2135
- PLAYLIST: "PLAYLIST";
2136
- VIDEO: "VIDEO";
2137
- }>>;
2138
- endDate: z.ZodOptional<z.ZodString>;
2139
- format: z.ZodOptional<z.ZodEnum<{
2140
- summary: "summary";
2141
- json: "json";
2142
- }>>;
2143
- locationTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2144
- code: z.ZodString;
2145
- name: z.ZodString;
2146
- }, z.core.$strict>>>;
2147
- mediaAssetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2148
- spotifyUrl: z.ZodOptional<z.ZodString>;
2149
- youtubeVideoId: z.ZodOptional<z.ZodString>;
2150
- }, z.core.$strict>;
2151
- readonly title: "Get Campaign Readiness";
2152
- }];
2153
- declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
2154
- readonly description: "Use this when the user is ready to link a YouTube channel to one Dynamoi artist from chat. This returns a Google OAuth URL bound to the signed-in user and artist. Google returns to a Dynamoi page that tells the user to come back to the AI assistant; after that, poll dynamoi_get_platform_status with the returned onboardingAttemptId and onboardingFlow=youtube until platforms.youtube.connected is true.";
2155
- readonly destructiveHint: false;
2156
- readonly idempotentHint: true;
2157
- readonly name: "dynamoi_start_youtube_channel_link";
2158
- readonly openWorldHint: true;
2159
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2160
- data: z.ZodObject<{}, z.core.$loose>;
2161
- status: z.ZodLiteral<"success">;
2162
- }, z.core.$strip>, z.ZodObject<{
2163
- data: z.ZodObject<{}, z.core.$loose>;
2164
- message: z.ZodString;
2165
- status: z.ZodLiteral<"partial_success">;
2166
- }, z.core.$strip>, z.ZodObject<{
2167
- kind: z.ZodOptional<z.ZodEnum<{
2168
- validation: "validation";
2169
- business: "business";
2170
- platform: "platform";
2171
- unknown: "unknown";
2172
- }>>;
2173
- message: z.ZodString;
2174
- status: z.ZodLiteral<"error">;
2175
- }, z.core.$strict>]>;
2176
- readonly readOnlyHint: false;
2177
- readonly schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
2178
- readonly title: "Start YouTube Channel Link";
2179
- }, {
2180
- readonly description: "Use this when billing is active and the user is ready to connect Meta for Spotify Smart Campaigns from chat. This returns a signed Meta OAuth URL and may send the user through a Page/Instagram selection step before the chat-first return page. If billing is not active, it returns billing_required instead of an OAuth URL. If billing cannot be verified due to a transient snapshot/API issue, it returns billing_check_unavailable and should be retried shortly. After the user returns, poll dynamoi_get_platform_status with the returned onboardingAttemptId and onboardingFlow=meta until platforms.meta.status is oauth_complete, partnership_pending, or partnership_active.";
2181
- readonly destructiveHint: false;
2182
- readonly idempotentHint: true;
2183
- readonly name: "dynamoi_start_meta_connection";
2184
- readonly openWorldHint: true;
2185
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2186
- data: z.ZodObject<{}, z.core.$loose>;
2187
- status: z.ZodLiteral<"success">;
2188
- }, z.core.$strip>, z.ZodObject<{
2189
- data: z.ZodObject<{}, z.core.$loose>;
2190
- message: z.ZodString;
2191
- status: z.ZodLiteral<"partial_success">;
2192
- }, z.core.$strip>, z.ZodObject<{
2193
- kind: z.ZodOptional<z.ZodEnum<{
2194
- validation: "validation";
2195
- business: "business";
2196
- platform: "platform";
2197
- unknown: "unknown";
2198
- }>>;
2199
- message: z.ZodString;
2200
- status: z.ZodLiteral<"error">;
2201
- }, z.core.$strict>]>;
2202
- readonly readOnlyHint: false;
2203
- readonly schema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
2204
- readonly title: "Start Meta Connection";
2205
- }];
2206
- declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
2207
- readonly description: "Use this when the user explicitly wants to pause, resume, or update the budget/end date for an existing campaign. Set action to pause, resume, or update_budget. Do not use this for inspection-only questions; this changes live campaign workflow state or external campaign settings.";
2208
- readonly destructiveHint: true;
2209
- readonly idempotentHint: true;
2210
- readonly name: "dynamoi_update_campaign";
2211
- readonly openWorldHint: true;
2212
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2213
- data: z.ZodObject<{}, z.core.$loose>;
2214
- status: z.ZodLiteral<"success">;
2215
- }, z.core.$strip>, z.ZodObject<{
2216
- data: z.ZodObject<{}, z.core.$loose>;
2217
- message: z.ZodString;
2218
- status: z.ZodLiteral<"partial_success">;
2219
- }, z.core.$strip>, z.ZodObject<{
2220
- kind: z.ZodOptional<z.ZodEnum<{
2221
- validation: "validation";
2222
- business: "business";
2223
- platform: "platform";
2224
- unknown: "unknown";
2225
- }>>;
2226
- message: z.ZodString;
2227
- status: z.ZodLiteral<"error">;
2228
- }, z.core.$strict>]>;
2229
- readonly readOnlyHint: false;
2230
- readonly schema: z.ZodObject<{
2231
- action: z.ZodEnum<{
2232
- pause: "pause";
2233
- resume: "resume";
2234
- update_budget: "update_budget";
2235
- }>;
2236
- budgetAmount: z.ZodOptional<z.ZodNumber>;
2237
- campaignId: z.ZodString;
2238
- clientRequestId: z.ZodOptional<z.ZodString>;
2239
- endDate: z.ZodOptional<z.ZodString>;
2240
- expectedCurrentBudgetAmount: z.ZodOptional<z.ZodNumber>;
2241
- expectedCurrentEndDate: z.ZodOptional<z.ZodString>;
2242
- expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
2243
- ACTIVE: "ACTIVE";
2244
- PAUSED: "PAUSED";
2245
- AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
2246
- CONTENT_VALIDATION: "CONTENT_VALIDATION";
2247
- DEPLOYING: "DEPLOYING";
2248
- READY_FOR_REVIEW: "READY_FOR_REVIEW";
2249
- SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
2250
- ARCHIVED: "ARCHIVED";
2251
- FAILED: "FAILED";
2252
- ENDED: "ENDED";
2253
- }>>;
2254
- userIntentSummary: z.ZodOptional<z.ZodString>;
2255
- }, z.core.$strict>;
2256
- readonly title: "Update Campaign";
2257
- }];
2258
-
2259
- declare const PHASE_3_TOOL_DEFINITIONS: readonly [{
2260
- readonly description: "Use this when the user wants to choose from uploaded images or videos that can be reused in a campaign launch. Do not use this when the user only wants campaign status or analytics. Use format=json when you need asset IDs for a follow-up launch. Request includeUrls only when the assistant must display or inspect public-safe asset URLs.";
2261
- readonly destructiveHint: false;
2262
- readonly name: "dynamoi_list_media_assets";
2263
- readonly openWorldHint: false;
2264
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2265
- data: z.ZodUnion<readonly [z.ZodObject<{
2266
- assets: z.ZodArray<z.ZodObject<{
2267
- aspectRatio: z.ZodOptional<z.ZodString>;
2268
- createdAt: z.ZodString;
2269
- fileName: z.ZodOptional<z.ZodString>;
2270
- fileType: z.ZodString;
2271
- height: z.ZodOptional<z.ZodNumber>;
2272
- id: z.ZodString;
2273
- url: z.ZodOptional<z.ZodString>;
2274
- urlExpiresAt: z.ZodOptional<z.ZodString>;
2275
- width: z.ZodOptional<z.ZodNumber>;
2276
- }, zod_v4_core.$strict>>;
2277
- nextCursor: z.ZodOptional<z.ZodString>;
2278
- }, zod_v4_core.$strict>, z.ZodObject<{
2279
- nextCursor: z.ZodOptional<z.ZodString>;
2280
- summary: z.ZodString;
2281
- totalCount: z.ZodNumber;
2282
- }, zod_v4_core.$strict>]>;
2283
- status: z.ZodLiteral<"success">;
2284
- }, zod_v4_core.$strip>, z.ZodObject<{
2285
- kind: z.ZodOptional<z.ZodEnum<{
2286
- validation: "validation";
2287
- business: "business";
2288
- platform: "platform";
2289
- unknown: "unknown";
2290
- }>>;
2291
- message: z.ZodString;
2292
- status: z.ZodLiteral<"error">;
2293
- }, zod_v4_core.$strict>]>;
2294
- readonly readOnlyHint: true;
2295
- readonly schema: z.ZodObject<{
2296
- artistId: z.ZodString;
2297
- cursor: z.ZodOptional<z.ZodString>;
2298
- format: z.ZodOptional<z.ZodEnum<{
2299
- summary: "summary";
2300
- json: "json";
2301
- }>>;
2302
- includeUrls: z.ZodOptional<z.ZodBoolean>;
2303
- limit: z.ZodOptional<z.ZodNumber>;
2304
- }, zod_v4_core.$strict>;
2305
- readonly title: "List Media Assets";
2306
- }, {
2307
- readonly description: "Use this when the user explicitly wants to create a new Smart Campaign or YouTube Campaign and start the launch workflow with provided details. Ads are not necessarily live until the returned delivery state is ACTIVE. For review or demo Smart Campaign launches that already specify the artist, content title, budget, countries, and reusable media assets, you may omit spotifyUrl and endDate because Dynamoi can infer reviewer-safe defaults. Do not invent placeholder spotifyUrl or endDate values for those review/demo launches; omit them and let Dynamoi infer them. After a successful launch, answer from the returned campaign details directly instead of chaining more tools unless the user explicitly asked for more. Do not use this for recommendations or previews; this creates a real campaign workflow or demo-safe simulated campaign.";
2308
- readonly destructiveHint: true;
2309
- readonly idempotentHint: true;
2310
- readonly name: "dynamoi_launch_campaign";
2311
- readonly openWorldHint: true;
2312
- readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
2313
- data: z.ZodObject<{
2314
- budget: z.ZodObject<{
2315
- amountUsd: z.ZodNumber;
2316
- formatted: z.ZodString;
2317
- }, zod_v4_core.$strict>;
2318
- budgetType: z.ZodEnum<{
2319
- DAILY: "DAILY";
2320
- TOTAL: "TOTAL";
2321
- }>;
2322
- campaignType: z.ZodEnum<{
2323
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
2324
- YOUTUBE: "YOUTUBE";
2325
- }>;
2326
- contentTitle: z.ZodString;
2327
- deliveryState: z.ZodEnum<{
2328
- ACTIVE: "ACTIVE";
2329
- CONTENT_VALIDATION: "CONTENT_VALIDATION";
2330
- PENDING_REVIEW: "PENDING_REVIEW";
2331
- }>;
2332
- id: z.ZodString;
2333
- isLive: z.ZodBoolean;
2334
- nextSteps: z.ZodArray<z.ZodString>;
2335
- platforms: z.ZodArray<z.ZodString>;
2336
- status: z.ZodString;
2337
- summary: z.ZodString;
2338
- warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2339
- }, zod_v4_core.$strict>;
2340
- status: z.ZodLiteral<"success">;
2341
- }, zod_v4_core.$strip>, z.ZodObject<{
2342
- kind: z.ZodOptional<z.ZodEnum<{
2343
- validation: "validation";
2344
- business: "business";
2345
- platform: "platform";
2346
- unknown: "unknown";
2347
- }>>;
2348
- message: z.ZodString;
2349
- status: z.ZodLiteral<"error">;
2350
- }, zod_v4_core.$strict>]>;
2351
- readonly readOnlyHint: false;
2352
- readonly schema: z.ZodObject<{
2353
- adCopy: z.ZodOptional<z.ZodString>;
2354
- appleMusicUrl: z.ZodOptional<z.ZodString>;
2355
- artistId: z.ZodString;
2356
- budgetAmount: z.ZodNumber;
2357
- budgetSplits: z.ZodRecord<z.ZodEnum<{
2358
- META: "META";
2359
- GOOGLE: "GOOGLE";
2360
- }>, z.ZodNumber>;
2361
- budgetType: z.ZodEnum<{
2362
- DAILY: "DAILY";
2363
- TOTAL: "TOTAL";
2364
- }>;
2365
- campaignType: z.ZodEnum<{
2366
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
2367
- YOUTUBE: "YOUTUBE";
2368
- }>;
2369
- clientRequestId: z.ZodString;
2370
- contentTitle: z.ZodString;
2371
- contentType: z.ZodEnum<{
2372
- TRACK: "TRACK";
2373
- ALBUM: "ALBUM";
2374
- PLAYLIST: "PLAYLIST";
2375
- VIDEO: "VIDEO";
2376
- }>;
2377
- endDate: z.ZodOptional<z.ZodString>;
2378
- locationTargets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2379
- code: z.ZodString;
2380
- name: z.ZodString;
2381
- }, zod_v4_core.$strict>>>;
2382
- mediaAssetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2383
- spotifyUrl: z.ZodOptional<z.ZodString>;
2384
- useAiGeneratedCopy: z.ZodOptional<z.ZodBoolean>;
2385
- userIntentSummary: z.ZodOptional<z.ZodString>;
2386
- youtubeVideoId: z.ZodOptional<z.ZodString>;
2387
- }, zod_v4_core.$strict>;
2388
- readonly title: "Start Campaign Launch Workflow";
2389
- }];
2390
-
2391
- type DynamoiMcpToolProfile = "full" | "chatgpt-app";
2392
- type DynamoiToolDefinition = (typeof PHASE_1_TOOL_DEFINITIONS)[number] | (typeof PHASE_ONBOARDING_TOOL_DEFINITIONS)[number] | (typeof PHASE_2_TOOL_DEFINITIONS)[number] | (typeof PHASE_3_TOOL_DEFINITIONS)[number] | (typeof PHASE_4_TOOL_DEFINITIONS)[number];
2393
- declare function getDynamoiToolDefinitions(options?: {
2394
- toolProfile?: DynamoiMcpToolProfile;
2395
- }): DynamoiToolDefinition[];
2396
- type Phase3Adapter = {
2397
- getCurrentUser(input: unknown): Promise<ResultEnvelope<GetCurrentUserData | GetCurrentUserSummaryData>>;
2398
- listArtists(input: unknown): Promise<ResultEnvelope<ListArtistsData | ListArtistsSummaryData>>;
2399
- search(input: unknown): Promise<ResultEnvelope<SearchData | SearchSummaryData>>;
2400
- openAiSearch(input: unknown): Promise<ResultEnvelope<OpenAiSearchData>>;
2401
- openAiFetch(input: unknown): Promise<ResultEnvelope<OpenAiFetchData>>;
2402
- getArtist(input: unknown): Promise<ResultEnvelope<GetArtistData | GetArtistSummaryData>>;
2403
- getArtistAnalytics(input: unknown): Promise<ResultEnvelope<GetArtistAnalyticsJsonData | GetArtistAnalyticsSummaryData>>;
2404
- listCampaigns(input: unknown): Promise<ResultEnvelope<ListCampaignsJsonData | ListCampaignsSummaryData>>;
2405
- getCampaign(input: unknown): Promise<ResultEnvelope<GetCampaignData | GetCampaignSummaryData>>;
2406
- getCampaignAnalytics(input: unknown): Promise<ResultEnvelope<GetCampaignAnalyticsJsonData | GetCampaignAnalyticsSummaryData>>;
2407
- getBilling(input: unknown): Promise<ResultEnvelope<GetBillingData | GetBillingSummaryData>>;
2408
- startMetaConnection(input: unknown): Promise<ResultEnvelope<StartMetaConnectionData>>;
2409
- getPlatformStatus(input: unknown): Promise<ResultEnvelope<GetPlatformStatusData | GetPlatformStatusSummaryData>>;
2410
- startYoutubeChannelLink(input: unknown): Promise<ResultEnvelope<StartYoutubeChannelLinkData>>;
2411
- listAvailableCountries(input: unknown): Promise<ResultEnvelope<ListAvailableCountriesData | ListAvailableCountriesSummaryData>>;
2412
- getOnboardingStatus(input: unknown): Promise<ResultEnvelope<GetOnboardingStatusData | GetOnboardingStatusSummaryData>>;
2413
- getCampaignReadiness(input: unknown): Promise<ResultEnvelope<GetCampaignReadinessData | GetCampaignReadinessSummaryData>>;
2414
- getCampaignDeploymentStatus(input: unknown): Promise<ResultEnvelope<GetCampaignDeploymentStatusData | GetCampaignDeploymentStatusSummaryData>>;
2415
- pauseCampaign(input: unknown): Promise<ResultEnvelope<PauseResumeCampaignData>>;
2416
- resumeCampaign(input: unknown): Promise<ResultEnvelope<PauseResumeCampaignData>>;
2417
- updateBudget(input: unknown): Promise<ResultEnvelope<UpdateBudgetData>>;
2418
- updateCampaign(input: unknown): Promise<ResultEnvelope<UpdateCampaignData>>;
2419
- listMediaAssets(input: unknown): Promise<ResultEnvelope<ListMediaAssetsData | ListMediaAssetsSummaryData>>;
2420
- launchCampaign(input: unknown): Promise<ResultEnvelope<LaunchCampaignData>>;
2421
- createSmartLinkFromSpotify(input: unknown): Promise<ResultEnvelope<CreateSmartLinkFromSpotifyData>>;
2422
- createSmartLinksFromSpotifyArtist(input: unknown): Promise<ResultEnvelope<CreateSmartLinksFromSpotifyArtistData>>;
2423
- listSmartLinks(input: unknown): Promise<ResultEnvelope<ListSmartLinksData | ListSmartLinksSummaryData>>;
2424
- getSmartLink(input: unknown): Promise<ResultEnvelope<GetSmartLinkData | GetSmartLinkSummaryData>>;
2425
- getSmartLinkAnalytics(input: unknown): Promise<ResultEnvelope<GetSmartLinkAnalyticsData | GetSmartLinkAnalyticsSummaryData>>;
2426
- getSmartLinkArtistSettings(input: unknown): Promise<ResultEnvelope<SmartLinkSettingsData>>;
2427
- updateSmartLink(input: unknown): Promise<ResultEnvelope<UpdateSmartLinkData | UpdateSmartLinkArtistSettingsData | PublishSmartLinkData>>;
2428
- updateSmartLinkArtistSettings(input: unknown): Promise<ResultEnvelope<UpdateSmartLinkArtistSettingsData>>;
2429
- publishSmartLink(input: unknown): Promise<ResultEnvelope<PublishSmartLinkData>>;
2430
- unpublishSmartLink(input: unknown): Promise<ResultEnvelope<PublishSmartLinkData>>;
2431
- };
2432
- declare function createDynamoiMcpServer(options: {
2433
- adapter: Phase3Adapter;
2434
- toolProfile?: DynamoiMcpToolProfile;
2435
- websiteUrl?: string;
2436
- }): McpServer;
2437
-
2438
- type HandleOptions = {
2439
- createServer: () => McpServer;
2440
- request: Request;
2441
- parsedBody: unknown;
2442
- /**
2443
- * Context key used to bind an in-memory session to the authenticated principal.
2444
- * This prevents cross-user/session confusion if an MCP client accidentally reuses
2445
- * a `mcp-session-id` across different end users.
2446
- *
2447
- * Recommended: `${sub}:${clientId ?? "unknown"}`.
2448
- */
2449
- sessionContextKey: string;
2450
- /**
2451
- * Whether initialize requests should create reusable MCP sessions.
2452
- * Public capability discovery can run statelessly so an unauthenticated
2453
- * discovery initialize does not produce a session ID that later collides with
2454
- * an authenticated principal-bound session.
2455
- *
2456
- * Default: true.
2457
- */
2458
- enableSessions?: boolean;
2459
- };
2460
- declare function handleMcpHttpRequest(options: HandleOptions): Promise<Response>;
2461
-
2462
- declare const DYNAMOI_MCP_VERSION: string;
2463
-
2464
- export { type AccessRole, type ArtistTier, type BillingStatus, type CampaignDisplayStatus, type CampaignType, type CountryCatalogSource, type CreateSmartLinkFromSpotifyData, type CreateSmartLinksFromSpotifyArtistData, DYNAMOI_MCP_VERSION, DateRangeSchema, DynamoiCreateSmartLinkFromSpotifyInputSchema, DynamoiCreateSmartLinksFromSpotifyArtistInputSchema, DynamoiGetArtistAnalyticsInputSchema, DynamoiGetArtistInputSchema, DynamoiGetBillingInputSchema, DynamoiGetCampaignAnalyticsInputSchema, DynamoiGetCampaignDeploymentStatusInputSchema, DynamoiGetCampaignInputSchema, DynamoiGetCampaignReadinessInputSchema, DynamoiGetCurrentUserInputSchema, DynamoiGetOnboardingStatusInputSchema, DynamoiGetPlatformStatusInputSchema, DynamoiGetSmartLinkAnalyticsInputSchema, DynamoiGetSmartLinkArtistSettingsInputSchema, DynamoiGetSmartLinkInputSchema, DynamoiLaunchCampaignInputSchema, DynamoiListArtistsInputSchema, DynamoiListAvailableCountriesInputSchema, DynamoiListCampaignsInputSchema, DynamoiListMediaAssetsInputSchema, DynamoiListSmartLinksInputSchema, type DynamoiMcpToolProfile, DynamoiOpenAiFetchInputSchema, DynamoiOpenAiSearchInputSchema, DynamoiPauseCampaignInputSchema, DynamoiPublishSmartLinkInputSchema, DynamoiResumeCampaignInputSchema, DynamoiSearchInputSchema, DynamoiStartMetaConnectionInputSchema, DynamoiStartYoutubeChannelLinkInputSchema, DynamoiUpdateBudgetInputSchema, DynamoiUpdateCampaignInputSchema, DynamoiUpdateSmartLinkArtistSettingsInputSchema, DynamoiUpdateSmartLinkInputSchema, type GetArtistAnalyticsJsonData, type GetArtistAnalyticsSummaryData, type GetArtistData, type GetArtistSummaryData, type GetBillingData, type GetBillingSummaryData, type GetCampaignAnalyticsJsonData, type GetCampaignAnalyticsSummaryData, type GetCampaignData, type GetCampaignDeploymentStatusData, type GetCampaignDeploymentStatusSummaryData, type GetCampaignReadinessData, type GetCampaignReadinessSummaryData, type GetCampaignSummaryData, type GetCurrentUserArtistSummary, type GetCurrentUserData, type GetCurrentUserState, type GetCurrentUserSummaryData, type GetOnboardingStatusData, type GetOnboardingStatusSummaryData, type GetPlatformStatusData, type GetPlatformStatusSummaryData, type GetSmartLinkAnalyticsData, type GetSmartLinkAnalyticsSummaryData, type GetSmartLinkData, type GetSmartLinkSummaryData, type LaunchCampaignData, type ListArtistsData, type ListArtistsSummaryData, type ListAvailableCountriesData, type ListAvailableCountriesSummaryData, type ListCampaignsJsonData, type ListCampaignsSummaryData, type ListMediaAssetsData, type ListMediaAssetsSummaryData, type ListSmartLinksData, type ListSmartLinksSummaryData, type MediaAssetSummary, type MoneyDisplay, type OpenAiFetchData, type OpenAiSearchData, PHASE_1_TOOL_DEFINITIONS, PHASE_2_TOOL_DEFINITIONS, PHASE_3_TOOL_DEFINITIONS, PHASE_4_TOOL_DEFINITIONS, PHASE_ONBOARDING_TOOL_DEFINITIONS, type PauseResumeCampaignData, type PauseResumePlatformResult, type Phase3Adapter, type PublishSmartLinkData, type ResultEnvelope, type SearchData, type SearchResultType, type SearchSummaryData, type SmartLinkSettingsData, type SmartLinkSummary, type StartMetaConnectionData, type StartYoutubeChannelLinkData, ToolFormatSchema, type UpdateBudgetData, type UpdateCampaignData, type UpdateSmartLinkArtistSettingsData, type UpdateSmartLinkData, createDynamoiMcpServer, getDynamoiToolDefinitions, handleMcpHttpRequest, parseDynamoiGetSmartLinkInput, verifyAccessToken };
1
+ export { buildProtectedResourceMetadata, buildWwwAuthenticateHeader, DYNAMOI_BETTER_AUTH_MCP_SCOPES, DYNAMOI_MCP_SCOPES, DYNAMOI_MCP_TOOL_SCOPES, } from "./auth/protected-resource";
2
+ export { verifyAccessToken } from "./auth/verify-token";
3
+ export type { Phase3Adapter } from "./server/create-server";
4
+ export { createDynamoiMcpServer, type DynamoiMcpToolProfile, getDynamoiToolDefinitions, } from "./server/create-server";
5
+ export { DynamoiOpenAiFetchInputSchema, DynamoiOpenAiSearchInputSchema, type OpenAiFetchData, type OpenAiSearchData, } from "./server/openai-tools";
6
+ export { DynamoiCreateSmartLinkFromSpotifyInputSchema, DynamoiCreateSmartLinksFromSpotifyArtistInputSchema, DynamoiGetSmartLinkAnalyticsInputSchema, DynamoiGetSmartLinkArtistSettingsInputSchema, DynamoiGetSmartLinkInputSchema, DynamoiListSmartLinksInputSchema, DynamoiUpdateSmartLinkArtistSettingsInputSchema, DynamoiUpdateSmartLinkInputSchema, PHASE_4_TOOL_DEFINITIONS, parseDynamoiGetSmartLinkInput, } from "./server/smart-link-tools";
7
+ export { DateRangeSchema, DynamoiGetArtistAnalyticsInputSchema, DynamoiGetArtistInputSchema, DynamoiGetBillingInputSchema, DynamoiGetCampaignAnalyticsInputSchema, DynamoiGetCampaignDeploymentStatusInputSchema, DynamoiGetCampaignInputSchema, DynamoiGetCampaignReadinessInputSchema, DynamoiGetCurrentUserInputSchema, DynamoiGetOnboardingStatusInputSchema, DynamoiGetPlatformStatusInputSchema, DynamoiLaunchCampaignInputSchema, DynamoiListArtistsInputSchema, DynamoiListAvailableCountriesInputSchema, DynamoiListCampaignsInputSchema, DynamoiListMediaAssetsInputSchema, DynamoiPauseCampaignInputSchema, DynamoiResumeCampaignInputSchema, DynamoiSearchInputSchema, DynamoiStartMetaConnectionInputSchema, DynamoiStartYoutubeChannelLinkInputSchema, DynamoiUpdateBudgetInputSchema, DynamoiUpdateCampaignInputSchema, PHASE_1_TOOL_DEFINITIONS, PHASE_2_TOOL_DEFINITIONS, PHASE_ONBOARDING_TOOL_DEFINITIONS, ToolFormatSchema, } from "./server/tools";
8
+ export { PROSPECTIVE_BUDGET_FUNDING_CONSENT_COPY, PROSPECTIVE_BUDGET_FUNDING_CONSENT_COPY_HASH, PROSPECTIVE_BUDGET_FUNDING_CONSENT_VERSION, } from "./consent";
9
+ export { PHASE_3_TOOL_DEFINITIONS } from "./server/workflow-tools";
10
+ export { handleMcpHttpRequest } from "./transport/http";
11
+ export type { AccessRole, ArtistTier, BillingStatus, CampaignDisplayStatus, CampaignType, CountryCatalogSource, CreateSmartLinkFromSpotifyData, CreateSmartLinksFromSpotifyArtistData, GetArtistAnalyticsJsonData, GetArtistAnalyticsSummaryData, GetArtistData, GetArtistSummaryData, GetBillingData, GetBillingSummaryData, GetCampaignAnalyticsJsonData, GetCampaignAnalyticsSummaryData, GetCampaignData, GetCampaignDeploymentStatusData, GetCampaignDeploymentStatusSummaryData, GetCampaignReadinessData, GetCampaignReadinessSummaryData, GetCampaignSummaryData, GetCurrentUserArtistSummary, GetCurrentUserData, GetCurrentUserState, GetCurrentUserSummaryData, GetOnboardingStatusData, GetOnboardingStatusSummaryData, GetPlatformStatusData, GetPlatformStatusSummaryData, GetSmartLinkAnalyticsData, GetSmartLinkAnalyticsSummaryData, GetSmartLinkData, GetSmartLinkSummaryData, LaunchCampaignData, ListArtistsData, ListArtistsSummaryData, ListAvailableCountriesData, ListAvailableCountriesSummaryData, ListCampaignsJsonData, ListCampaignsSummaryData, ListMediaAssetsData, ListMediaAssetsSummaryData, ListSmartLinksData, ListSmartLinksSummaryData, MediaAssetSummary, MoneyDisplay, PauseResumeCampaignData, PauseResumePlatformResult, ResultEnvelope, SearchData, SearchResultType, SearchSummaryData, SmartLinkSettingsData, SmartLinkSummary, StartMetaConnectionData, StartYoutubeChannelLinkData, UpdateBudgetData, UpdateCampaignData, UpdateSmartLinkArtistSettingsData, UpdateSmartLinkData, } from "./types";
12
+ export { DYNAMOI_MCP_VERSION } from "./version";
13
+ //# sourceMappingURL=index.d.ts.map