@dynamoi/mcp 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,14 +44,14 @@ export declare const DynamoiListCampaignsInputSchema: z.ZodObject<{
44
44
  }>>;
45
45
  limit: z.ZodOptional<z.ZodNumber>;
46
46
  status: z.ZodOptional<z.ZodEnum<{
47
- ACTIVE: "ACTIVE";
48
- PAUSED: "PAUSED";
49
- ARCHIVED: "ARCHIVED";
50
47
  AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
51
48
  CONTENT_VALIDATION: "CONTENT_VALIDATION";
52
49
  DEPLOYING: "DEPLOYING";
53
50
  READY_FOR_REVIEW: "READY_FOR_REVIEW";
51
+ ACTIVE: "ACTIVE";
52
+ PAUSED: "PAUSED";
54
53
  SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
54
+ ARCHIVED: "ARCHIVED";
55
55
  FAILED: "FAILED";
56
56
  ENDED: "ENDED";
57
57
  }>>;
@@ -120,6 +120,11 @@ export declare const DynamoiGetAudienceAnalyticsInputSchema: z.ZodObject<{
120
120
  }>>;
121
121
  }, z.core.$strict>;
122
122
  export declare const DynamoiGetBillingInputSchema: z.ZodObject<{
123
+ action: z.ZodOptional<z.ZodEnum<{
124
+ summary: "summary";
125
+ native_deposits: "native_deposits";
126
+ native_commerce: "native_commerce";
127
+ }>>;
123
128
  artistId: z.ZodString;
124
129
  format: z.ZodOptional<z.ZodEnum<{
125
130
  json: "json";
@@ -127,6 +132,82 @@ export declare const DynamoiGetBillingInputSchema: z.ZodObject<{
127
132
  }>>;
128
133
  onboardingAttemptId: z.ZodOptional<z.ZodString>;
129
134
  }, z.core.$strict>;
135
+ export declare const DynamoiManageTeamInputSchema: z.ZodObject<{
136
+ action: z.ZodEnum<{
137
+ update_role: "update_role";
138
+ remove_member: "remove_member";
139
+ revoke_invitation: "revoke_invitation";
140
+ }>;
141
+ role: z.ZodOptional<z.ZodEnum<{
142
+ admin: "admin";
143
+ editor: "editor";
144
+ viewer: "viewer";
145
+ }>>;
146
+ targetId: z.ZodString;
147
+ }, z.core.$strict>;
148
+ export declare const DynamoiGetTeamInputSchema: z.ZodObject<{
149
+ artistId: z.ZodString;
150
+ }, z.core.$strict>;
151
+ export declare const DynamoiGetAuditLogInputSchema: z.ZodObject<{
152
+ artistId: z.ZodString;
153
+ cursor: z.ZodOptional<z.ZodString>;
154
+ scope: z.ZodDefault<z.ZodEnum<{
155
+ artist: "artist";
156
+ organization: "organization";
157
+ account: "account";
158
+ }>>;
159
+ }, z.core.$strict>;
160
+ export declare const DynamoiClaimReferralCodeInputSchema: z.ZodObject<{
161
+ code: z.ZodString;
162
+ }, z.core.$strict>;
163
+ export declare const DynamoiGetReferralsInputSchema: z.ZodObject<{
164
+ artistId: z.ZodString;
165
+ filter: z.ZodDefault<z.ZodEnum<{
166
+ void: "void";
167
+ paid: "paid";
168
+ available: "available";
169
+ pending: "pending";
170
+ all: "all";
171
+ }>>;
172
+ page: z.ZodDefault<z.ZodNumber>;
173
+ pageSize: z.ZodDefault<z.ZodNumber>;
174
+ }, z.core.$strict>;
175
+ export declare const DynamoiGetActionCenterInputSchema: z.ZodObject<{
176
+ artistId: z.ZodString;
177
+ }, z.core.$strict>;
178
+ export declare const DynamoiGetEarningsInputSchema: z.ZodObject<{
179
+ action: z.ZodDefault<z.ZodEnum<{
180
+ overview: "overview";
181
+ ranking: "ranking";
182
+ geography: "geography";
183
+ statement: "statement";
184
+ }>>;
185
+ artistIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
186
+ axis: z.ZodDefault<z.ZodEnum<{
187
+ statement: "statement";
188
+ earned: "earned";
189
+ }>>;
190
+ countryCode: z.ZodOptional<z.ZodString>;
191
+ cursor: z.ZodOptional<z.ZodObject<{
192
+ countryCode: z.ZodString;
193
+ month: z.ZodString;
194
+ storeKey: z.ZodString;
195
+ trackKey: z.ZodString;
196
+ }, z.core.$strict>>;
197
+ dimension: z.ZodDefault<z.ZodEnum<{
198
+ artist: "artist";
199
+ country: "country";
200
+ track: "track";
201
+ store: "store";
202
+ }>>;
203
+ fromMonth: z.ZodString;
204
+ limit: z.ZodDefault<z.ZodNumber>;
205
+ storeFamily: z.ZodOptional<z.ZodString>;
206
+ storeKey: z.ZodOptional<z.ZodString>;
207
+ toMonth: z.ZodString;
208
+ trackKey: z.ZodOptional<z.ZodString>;
209
+ withPrior: z.ZodDefault<z.ZodBoolean>;
210
+ }, z.core.$strict>;
130
211
  export declare const DynamoiGetPlatformStatusInputSchema: z.ZodObject<{
131
212
  artistId: z.ZodString;
132
213
  format: z.ZodOptional<z.ZodEnum<{
@@ -227,15 +308,76 @@ export declare const DynamoiGetCampaignReadinessInputSchema: z.ZodObject<{
227
308
  }>>;
228
309
  youtubeVideoId: z.ZodOptional<z.ZodString>;
229
310
  }, z.core.$strict>;
311
+ export declare const DynamoiSmartCampaignAdCopyInputSchema: z.ZodObject<{
312
+ artistId: z.ZodString;
313
+ campaignId: z.ZodString;
314
+ save: z.ZodOptional<z.ZodObject<{
315
+ adCopy: z.ZodString;
316
+ expectedUpdatedAt: z.ZodString;
317
+ mode: z.ZodEnum<{
318
+ assisted: "assisted";
319
+ preserve: "preserve";
320
+ }>;
321
+ }, z.core.$strict>>;
322
+ }, z.core.$strict>;
230
323
  export declare const DynamoiManageYoutubeDraftInputSchema: z.ZodObject<{
231
324
  action: z.ZodEnum<{
325
+ save_budget: "save_budget";
326
+ save_location: "save_location";
232
327
  inspect: "inspect";
233
328
  discard: "discard";
329
+ setup: "setup";
330
+ videos: "videos";
331
+ screen: "screen";
332
+ save_content: "save_content";
333
+ save_ad_copy: "save_ad_copy";
234
334
  }>;
335
+ adCopySave: z.ZodOptional<z.ZodObject<{
336
+ adCopy: z.ZodString;
337
+ campaignId: z.ZodUUID;
338
+ mode: z.ZodEnum<{
339
+ assisted: "assisted";
340
+ preserve: "preserve";
341
+ }>;
342
+ }, z.core.$strict>>;
235
343
  artistId: z.ZodString;
344
+ budgetSave: z.ZodOptional<z.ZodObject<{
345
+ budgetAmountCents: z.ZodNumber;
346
+ budgetAmountMinor: z.ZodOptional<z.ZodNumber>;
347
+ budgetType: z.ZodEnum<{
348
+ DAILY: "DAILY";
349
+ TOTAL: "TOTAL";
350
+ }>;
351
+ campaignId: z.ZodUUID;
352
+ currency: z.ZodOptional<z.ZodString>;
353
+ endDate: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
354
+ }, z.core.$strict>>;
236
355
  campaignId: z.ZodOptional<z.ZodString>;
356
+ contentSave: z.ZodOptional<z.ZodObject<{
357
+ campaignId: z.ZodUUID;
358
+ playlistId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
359
+ strategy: z.ZodEnum<{
360
+ CHEAPEST_VIEWS: "CHEAPEST_VIEWS";
361
+ ORGANIC_VIEWS: "ORGANIC_VIEWS";
362
+ SUBSCRIBERS: "SUBSCRIBERS";
363
+ ORGANIC_VIEWS_AND_SUBSCRIBERS: "ORGANIC_VIEWS_AND_SUBSCRIBERS";
364
+ ADSENSE_ROI: "ADSENSE_ROI";
365
+ }>;
366
+ videoId: z.ZodString;
367
+ }, z.core.$strict>>;
237
368
  expectedUpdatedAt: z.ZodOptional<z.ZodString>;
369
+ locationSave: z.ZodOptional<z.ZodObject<{
370
+ campaignId: z.ZodUUID;
371
+ targeting: z.ZodUnion<readonly [z.ZodObject<{
372
+ mode: z.ZodLiteral<"GLOBAL">;
373
+ }, z.core.$strict>, z.ZodObject<{
374
+ countries: z.ZodArray<z.ZodString>;
375
+ mode: z.ZodLiteral<"COUNTRIES">;
376
+ }, z.core.$strict>]>;
377
+ }, z.core.$strict>>;
378
+ pageToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
379
  userIntentSummary: z.ZodOptional<z.ZodOptional<z.ZodString>>;
380
+ videoId: z.ZodOptional<z.ZodString>;
239
381
  }, z.core.$strict>;
240
382
  export declare const DynamoiGetCampaignDeploymentStatusInputSchema: z.ZodObject<{
241
383
  campaignId: z.ZodString;
@@ -248,14 +390,14 @@ export declare const DynamoiPauseCampaignInputSchema: z.ZodObject<{
248
390
  campaignId: z.ZodString;
249
391
  clientRequestId: z.ZodOptional<z.ZodString>;
250
392
  expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
251
- ACTIVE: "ACTIVE";
252
- PAUSED: "PAUSED";
253
- ARCHIVED: "ARCHIVED";
254
393
  AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
255
394
  CONTENT_VALIDATION: "CONTENT_VALIDATION";
256
395
  DEPLOYING: "DEPLOYING";
257
396
  READY_FOR_REVIEW: "READY_FOR_REVIEW";
397
+ ACTIVE: "ACTIVE";
398
+ PAUSED: "PAUSED";
258
399
  SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
400
+ ARCHIVED: "ARCHIVED";
259
401
  FAILED: "FAILED";
260
402
  ENDED: "ENDED";
261
403
  }>>;
@@ -288,14 +430,14 @@ export declare const DynamoiResumeCampaignInputSchema: z.ZodObject<{
288
430
  campaignId: z.ZodString;
289
431
  clientRequestId: z.ZodOptional<z.ZodString>;
290
432
  expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
291
- ACTIVE: "ACTIVE";
292
- PAUSED: "PAUSED";
293
- ARCHIVED: "ARCHIVED";
294
433
  AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
295
434
  CONTENT_VALIDATION: "CONTENT_VALIDATION";
296
435
  DEPLOYING: "DEPLOYING";
297
436
  READY_FOR_REVIEW: "READY_FOR_REVIEW";
437
+ ACTIVE: "ACTIVE";
438
+ PAUSED: "PAUSED";
298
439
  SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
440
+ ARCHIVED: "ARCHIVED";
299
441
  FAILED: "FAILED";
300
442
  ENDED: "ENDED";
301
443
  }>>;
@@ -338,14 +480,14 @@ export declare const DynamoiUpdateCampaignInputSchema: z.ZodObject<{
338
480
  expectedCurrentBudgetAmount: z.ZodOptional<z.ZodNumber>;
339
481
  expectedCurrentEndDate: z.ZodOptional<z.ZodString>;
340
482
  expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
341
- ACTIVE: "ACTIVE";
342
- PAUSED: "PAUSED";
343
- ARCHIVED: "ARCHIVED";
344
483
  AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
345
484
  CONTENT_VALIDATION: "CONTENT_VALIDATION";
346
485
  DEPLOYING: "DEPLOYING";
347
486
  READY_FOR_REVIEW: "READY_FOR_REVIEW";
487
+ ACTIVE: "ACTIVE";
488
+ PAUSED: "PAUSED";
348
489
  SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
490
+ ARCHIVED: "ARCHIVED";
349
491
  FAILED: "FAILED";
350
492
  ENDED: "ENDED";
351
493
  }>>;
@@ -441,9 +583,23 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
441
583
  readonly outputSchema: z.ZodObject<{
442
584
  status: z.ZodEnum<{
443
585
  success: "success";
444
- partial_success: "partial_success";
445
586
  error: "error";
587
+ partial_success: "partial_success";
446
588
  }>;
589
+ recovery?: z.ZodOptional<z.ZodObject<{
590
+ actions: z.ZodArray<z.ZodString>;
591
+ affectedSelection: z.ZodNullable<z.ZodObject<{
592
+ id: z.ZodString;
593
+ kind: z.ZodString;
594
+ }, z.core.$strip>>;
595
+ kind: z.ZodString;
596
+ occurredAt: z.ZodString;
597
+ reasonCode: z.ZodOptional<z.ZodString>;
598
+ retryAfter: z.ZodNullable<z.ZodString>;
599
+ stage: z.ZodString;
600
+ }, z.core.$strip>> | undefined;
601
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
602
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
447
603
  code: z.ZodOptional<z.ZodEnum<{
448
604
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
449
605
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -476,9 +632,9 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
476
632
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
477
633
  kind: z.ZodOptional<z.ZodEnum<{
478
634
  unknown: "unknown";
635
+ platform: "platform";
479
636
  validation: "validation";
480
637
  business: "business";
481
- platform: "platform";
482
638
  }>>;
483
639
  message: z.ZodOptional<z.ZodString>;
484
640
  }, z.core.$strict>;
@@ -504,9 +660,23 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
504
660
  readonly outputSchema: z.ZodObject<{
505
661
  status: z.ZodEnum<{
506
662
  success: "success";
507
- partial_success: "partial_success";
508
663
  error: "error";
664
+ partial_success: "partial_success";
509
665
  }>;
666
+ recovery?: z.ZodOptional<z.ZodObject<{
667
+ actions: z.ZodArray<z.ZodString>;
668
+ affectedSelection: z.ZodNullable<z.ZodObject<{
669
+ id: z.ZodString;
670
+ kind: z.ZodString;
671
+ }, z.core.$strip>>;
672
+ kind: z.ZodString;
673
+ occurredAt: z.ZodString;
674
+ reasonCode: z.ZodOptional<z.ZodString>;
675
+ retryAfter: z.ZodNullable<z.ZodString>;
676
+ stage: z.ZodString;
677
+ }, z.core.$strip>> | undefined;
678
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
679
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
510
680
  code: z.ZodOptional<z.ZodEnum<{
511
681
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
512
682
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -539,9 +709,9 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
539
709
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
540
710
  kind: z.ZodOptional<z.ZodEnum<{
541
711
  unknown: "unknown";
712
+ platform: "platform";
542
713
  validation: "validation";
543
714
  business: "business";
544
- platform: "platform";
545
715
  }>>;
546
716
  message: z.ZodOptional<z.ZodString>;
547
717
  }, z.core.$strict>;
@@ -564,9 +734,23 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
564
734
  readonly outputSchema: z.ZodObject<{
565
735
  status: z.ZodEnum<{
566
736
  success: "success";
567
- partial_success: "partial_success";
568
737
  error: "error";
738
+ partial_success: "partial_success";
569
739
  }>;
740
+ recovery?: z.ZodOptional<z.ZodObject<{
741
+ actions: z.ZodArray<z.ZodString>;
742
+ affectedSelection: z.ZodNullable<z.ZodObject<{
743
+ id: z.ZodString;
744
+ kind: z.ZodString;
745
+ }, z.core.$strip>>;
746
+ kind: z.ZodString;
747
+ occurredAt: z.ZodString;
748
+ reasonCode: z.ZodOptional<z.ZodString>;
749
+ retryAfter: z.ZodNullable<z.ZodString>;
750
+ stage: z.ZodString;
751
+ }, z.core.$strip>> | undefined;
752
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
753
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
570
754
  code: z.ZodOptional<z.ZodEnum<{
571
755
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
572
756
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -599,9 +783,9 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
599
783
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
600
784
  kind: z.ZodOptional<z.ZodEnum<{
601
785
  unknown: "unknown";
786
+ platform: "platform";
602
787
  validation: "validation";
603
788
  business: "business";
604
- platform: "platform";
605
789
  }>>;
606
790
  message: z.ZodOptional<z.ZodString>;
607
791
  }, z.core.$strict>;
@@ -631,9 +815,23 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
631
815
  readonly outputSchema: z.ZodObject<{
632
816
  status: z.ZodEnum<{
633
817
  success: "success";
634
- partial_success: "partial_success";
635
818
  error: "error";
819
+ partial_success: "partial_success";
636
820
  }>;
821
+ recovery?: z.ZodOptional<z.ZodObject<{
822
+ actions: z.ZodArray<z.ZodString>;
823
+ affectedSelection: z.ZodNullable<z.ZodObject<{
824
+ id: z.ZodString;
825
+ kind: z.ZodString;
826
+ }, z.core.$strip>>;
827
+ kind: z.ZodString;
828
+ occurredAt: z.ZodString;
829
+ reasonCode: z.ZodOptional<z.ZodString>;
830
+ retryAfter: z.ZodNullable<z.ZodString>;
831
+ stage: z.ZodString;
832
+ }, z.core.$strip>> | undefined;
833
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
834
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
637
835
  code: z.ZodOptional<z.ZodEnum<{
638
836
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
639
837
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -666,9 +864,9 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
666
864
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
667
865
  kind: z.ZodOptional<z.ZodEnum<{
668
866
  unknown: "unknown";
867
+ platform: "platform";
669
868
  validation: "validation";
670
869
  business: "business";
671
- platform: "platform";
672
870
  }>>;
673
871
  message: z.ZodOptional<z.ZodString>;
674
872
  }, z.core.$strict>;
@@ -685,9 +883,23 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
685
883
  readonly outputSchema: z.ZodObject<{
686
884
  status: z.ZodEnum<{
687
885
  success: "success";
688
- partial_success: "partial_success";
689
886
  error: "error";
887
+ partial_success: "partial_success";
690
888
  }>;
889
+ recovery?: z.ZodOptional<z.ZodObject<{
890
+ actions: z.ZodArray<z.ZodString>;
891
+ affectedSelection: z.ZodNullable<z.ZodObject<{
892
+ id: z.ZodString;
893
+ kind: z.ZodString;
894
+ }, z.core.$strip>>;
895
+ kind: z.ZodString;
896
+ occurredAt: z.ZodString;
897
+ reasonCode: z.ZodOptional<z.ZodString>;
898
+ retryAfter: z.ZodNullable<z.ZodString>;
899
+ stage: z.ZodString;
900
+ }, z.core.$strip>> | undefined;
901
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
902
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
691
903
  code: z.ZodOptional<z.ZodEnum<{
692
904
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
693
905
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -720,9 +932,9 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
720
932
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
721
933
  kind: z.ZodOptional<z.ZodEnum<{
722
934
  unknown: "unknown";
935
+ platform: "platform";
723
936
  validation: "validation";
724
937
  business: "business";
725
- platform: "platform";
726
938
  }>>;
727
939
  message: z.ZodOptional<z.ZodString>;
728
940
  }, z.core.$strict>;
@@ -739,9 +951,23 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
739
951
  readonly outputSchema: z.ZodObject<{
740
952
  status: z.ZodEnum<{
741
953
  success: "success";
742
- partial_success: "partial_success";
743
954
  error: "error";
955
+ partial_success: "partial_success";
744
956
  }>;
957
+ recovery?: z.ZodOptional<z.ZodObject<{
958
+ actions: z.ZodArray<z.ZodString>;
959
+ affectedSelection: z.ZodNullable<z.ZodObject<{
960
+ id: z.ZodString;
961
+ kind: z.ZodString;
962
+ }, z.core.$strip>>;
963
+ kind: z.ZodString;
964
+ occurredAt: z.ZodString;
965
+ reasonCode: z.ZodOptional<z.ZodString>;
966
+ retryAfter: z.ZodNullable<z.ZodString>;
967
+ stage: z.ZodString;
968
+ }, z.core.$strip>> | undefined;
969
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
970
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
745
971
  code: z.ZodOptional<z.ZodEnum<{
746
972
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
747
973
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -774,9 +1000,9 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
774
1000
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
775
1001
  kind: z.ZodOptional<z.ZodEnum<{
776
1002
  unknown: "unknown";
1003
+ platform: "platform";
777
1004
  validation: "validation";
778
1005
  business: "business";
779
- platform: "platform";
780
1006
  }>>;
781
1007
  message: z.ZodOptional<z.ZodString>;
782
1008
  }, z.core.$strict>;
@@ -794,14 +1020,14 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
794
1020
  }>>;
795
1021
  limit: z.ZodOptional<z.ZodNumber>;
796
1022
  status: z.ZodOptional<z.ZodEnum<{
797
- ACTIVE: "ACTIVE";
798
- PAUSED: "PAUSED";
799
- ARCHIVED: "ARCHIVED";
800
1023
  AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
801
1024
  CONTENT_VALIDATION: "CONTENT_VALIDATION";
802
1025
  DEPLOYING: "DEPLOYING";
803
1026
  READY_FOR_REVIEW: "READY_FOR_REVIEW";
1027
+ ACTIVE: "ACTIVE";
1028
+ PAUSED: "PAUSED";
804
1029
  SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
1030
+ ARCHIVED: "ARCHIVED";
805
1031
  FAILED: "FAILED";
806
1032
  ENDED: "ENDED";
807
1033
  }>>;
@@ -815,9 +1041,23 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
815
1041
  readonly outputSchema: z.ZodObject<{
816
1042
  status: z.ZodEnum<{
817
1043
  success: "success";
818
- partial_success: "partial_success";
819
1044
  error: "error";
1045
+ partial_success: "partial_success";
820
1046
  }>;
1047
+ recovery?: z.ZodOptional<z.ZodObject<{
1048
+ actions: z.ZodArray<z.ZodString>;
1049
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1050
+ id: z.ZodString;
1051
+ kind: z.ZodString;
1052
+ }, z.core.$strip>>;
1053
+ kind: z.ZodString;
1054
+ occurredAt: z.ZodString;
1055
+ reasonCode: z.ZodOptional<z.ZodString>;
1056
+ retryAfter: z.ZodNullable<z.ZodString>;
1057
+ stage: z.ZodString;
1058
+ }, z.core.$strip>> | undefined;
1059
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1060
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
821
1061
  code: z.ZodOptional<z.ZodEnum<{
822
1062
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
823
1063
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -850,9 +1090,9 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
850
1090
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
851
1091
  kind: z.ZodOptional<z.ZodEnum<{
852
1092
  unknown: "unknown";
1093
+ platform: "platform";
853
1094
  validation: "validation";
854
1095
  business: "business";
855
- platform: "platform";
856
1096
  }>>;
857
1097
  message: z.ZodOptional<z.ZodString>;
858
1098
  }, z.core.$strict>;
@@ -885,9 +1125,23 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
885
1125
  readonly outputSchema: z.ZodObject<{
886
1126
  status: z.ZodEnum<{
887
1127
  success: "success";
888
- partial_success: "partial_success";
889
1128
  error: "error";
1129
+ partial_success: "partial_success";
890
1130
  }>;
1131
+ recovery?: z.ZodOptional<z.ZodObject<{
1132
+ actions: z.ZodArray<z.ZodString>;
1133
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1134
+ id: z.ZodString;
1135
+ kind: z.ZodString;
1136
+ }, z.core.$strip>>;
1137
+ kind: z.ZodString;
1138
+ occurredAt: z.ZodString;
1139
+ reasonCode: z.ZodOptional<z.ZodString>;
1140
+ retryAfter: z.ZodNullable<z.ZodString>;
1141
+ stage: z.ZodString;
1142
+ }, z.core.$strip>> | undefined;
1143
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1144
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
891
1145
  code: z.ZodOptional<z.ZodEnum<{
892
1146
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
893
1147
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -920,9 +1174,9 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
920
1174
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
921
1175
  kind: z.ZodOptional<z.ZodEnum<{
922
1176
  unknown: "unknown";
1177
+ platform: "platform";
923
1178
  validation: "validation";
924
1179
  business: "business";
925
- platform: "platform";
926
1180
  }>>;
927
1181
  message: z.ZodOptional<z.ZodString>;
928
1182
  }, z.core.$strict>;
@@ -944,16 +1198,26 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
944
1198
  }, z.core.$strict>;
945
1199
  readonly title: "Get Artist Analytics";
946
1200
  }, {
947
- readonly description: "Use this when the user asks for an artist's Spotify monthly listeners, listener growth over time, growth audit or score, playlist reach, or growth recommendations. The response carries its status, coverage dates, and limitations; preserve unavailable or stale status and do not treat a missing metric as zero. This is Spotify and market insight data, not paid campaign performance.";
948
- readonly destructiveHint: false;
949
- readonly name: "dynamoi_get_growth_audit";
950
- readonly openWorldHint: false;
951
1201
  readonly outputSchema: z.ZodObject<{
952
1202
  status: z.ZodEnum<{
953
1203
  success: "success";
954
- partial_success: "partial_success";
955
1204
  error: "error";
1205
+ partial_success: "partial_success";
956
1206
  }>;
1207
+ recovery?: z.ZodOptional<z.ZodObject<{
1208
+ actions: z.ZodArray<z.ZodString>;
1209
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1210
+ id: z.ZodString;
1211
+ kind: z.ZodString;
1212
+ }, z.core.$strip>>;
1213
+ kind: z.ZodString;
1214
+ occurredAt: z.ZodString;
1215
+ reasonCode: z.ZodOptional<z.ZodString>;
1216
+ retryAfter: z.ZodNullable<z.ZodString>;
1217
+ stage: z.ZodString;
1218
+ }, z.core.$strip>> | undefined;
1219
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1220
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
957
1221
  code: z.ZodOptional<z.ZodEnum<{
958
1222
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
959
1223
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -986,28 +1250,46 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
986
1250
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
987
1251
  kind: z.ZodOptional<z.ZodEnum<{
988
1252
  unknown: "unknown";
1253
+ platform: "platform";
989
1254
  validation: "validation";
990
1255
  business: "business";
991
- platform: "platform";
992
1256
  }>>;
993
1257
  message: z.ZodOptional<z.ZodString>;
994
1258
  }, z.core.$strict>;
1259
+ readonly description: "Use this when the user asks for an artist's Spotify monthly listeners, listener growth over time, growth audit or score, playlist reach, or growth recommendations. The response carries its status, coverage dates, and limitations; preserve unavailable or stale status and do not treat a missing metric as zero. This is Spotify and market insight data, not paid campaign performance.";
1260
+ readonly destructiveHint: false;
1261
+ readonly name: "dynamoi_get_growth_audit";
1262
+ readonly openWorldHint: false;
1263
+ readonly profiles: {
1264
+ readonly directory: "advertised";
1265
+ readonly full: "advertised";
1266
+ };
995
1267
  readonly readOnlyHint: true;
996
1268
  readonly schema: z.ZodObject<{
997
1269
  artistId: z.ZodString;
998
1270
  }, z.core.$strict>;
999
1271
  readonly title: "Get Spotify Growth Audit";
1000
1272
  }, {
1001
- readonly description: "Use this when the user asks about an artist's tracked playlist placements, reach, or playlist movement. The response includes freshness and snapshot dates with the playlist and movement rows. These observed placements are not attributed to a paid campaign.";
1002
- readonly destructiveHint: false;
1003
- readonly name: "dynamoi_get_playlist_analytics";
1004
- readonly openWorldHint: false;
1005
1273
  readonly outputSchema: z.ZodObject<{
1006
1274
  status: z.ZodEnum<{
1007
1275
  success: "success";
1008
- partial_success: "partial_success";
1009
1276
  error: "error";
1277
+ partial_success: "partial_success";
1010
1278
  }>;
1279
+ recovery?: z.ZodOptional<z.ZodObject<{
1280
+ actions: z.ZodArray<z.ZodString>;
1281
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1282
+ id: z.ZodString;
1283
+ kind: z.ZodString;
1284
+ }, z.core.$strip>>;
1285
+ kind: z.ZodString;
1286
+ occurredAt: z.ZodString;
1287
+ reasonCode: z.ZodOptional<z.ZodString>;
1288
+ retryAfter: z.ZodNullable<z.ZodString>;
1289
+ stage: z.ZodString;
1290
+ }, z.core.$strip>> | undefined;
1291
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1292
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1011
1293
  code: z.ZodOptional<z.ZodEnum<{
1012
1294
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1013
1295
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1040,28 +1322,46 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1040
1322
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1041
1323
  kind: z.ZodOptional<z.ZodEnum<{
1042
1324
  unknown: "unknown";
1325
+ platform: "platform";
1043
1326
  validation: "validation";
1044
1327
  business: "business";
1045
- platform: "platform";
1046
1328
  }>>;
1047
1329
  message: z.ZodOptional<z.ZodString>;
1048
1330
  }, z.core.$strict>;
1331
+ readonly description: "Use this when the user asks about an artist's tracked playlist placements, reach, or playlist movement. The response includes freshness and snapshot dates with the playlist and movement rows. These observed placements are not attributed to a paid campaign.";
1332
+ readonly destructiveHint: false;
1333
+ readonly name: "dynamoi_get_playlist_analytics";
1334
+ readonly openWorldHint: false;
1335
+ readonly profiles: {
1336
+ readonly directory: "advertised";
1337
+ readonly full: "advertised";
1338
+ };
1049
1339
  readonly readOnlyHint: true;
1050
1340
  readonly schema: z.ZodObject<{
1051
1341
  artistId: z.ZodString;
1052
1342
  }, z.core.$strict>;
1053
1343
  readonly title: "Get Playlist Analytics";
1054
1344
  }, {
1055
- readonly description: "Use this when the user asks about an artist's streaming audience by country, service, paid/free tier, or daily trend. Choose range=7d, 30d, or 90d; it defaults to 30d. The response comes from audience analytics and preserves the requested date range. If the source is temporarily unavailable, report that instead of treating it as zero audience.";
1056
- readonly destructiveHint: false;
1057
- readonly name: "dynamoi_get_audience_analytics";
1058
- readonly openWorldHint: false;
1059
1345
  readonly outputSchema: z.ZodObject<{
1060
1346
  status: z.ZodEnum<{
1061
1347
  success: "success";
1062
- partial_success: "partial_success";
1063
1348
  error: "error";
1349
+ partial_success: "partial_success";
1064
1350
  }>;
1351
+ recovery?: z.ZodOptional<z.ZodObject<{
1352
+ actions: z.ZodArray<z.ZodString>;
1353
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1354
+ id: z.ZodString;
1355
+ kind: z.ZodString;
1356
+ }, z.core.$strip>>;
1357
+ kind: z.ZodString;
1358
+ occurredAt: z.ZodString;
1359
+ reasonCode: z.ZodOptional<z.ZodString>;
1360
+ retryAfter: z.ZodNullable<z.ZodString>;
1361
+ stage: z.ZodString;
1362
+ }, z.core.$strip>> | undefined;
1363
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1364
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1065
1365
  code: z.ZodOptional<z.ZodEnum<{
1066
1366
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1067
1367
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1094,12 +1394,20 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1094
1394
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1095
1395
  kind: z.ZodOptional<z.ZodEnum<{
1096
1396
  unknown: "unknown";
1397
+ platform: "platform";
1097
1398
  validation: "validation";
1098
1399
  business: "business";
1099
- platform: "platform";
1100
1400
  }>>;
1101
1401
  message: z.ZodOptional<z.ZodString>;
1102
1402
  }, z.core.$strict>;
1403
+ readonly description: "Use this when the user asks about an artist's streaming audience by country, service, paid/free tier, or daily trend. Choose range=7d, 30d, or 90d; it defaults to 30d. The response comes from audience analytics and preserves the requested date range. If the source is temporarily unavailable, report that instead of treating it as zero audience.";
1404
+ readonly destructiveHint: false;
1405
+ readonly name: "dynamoi_get_audience_analytics";
1406
+ readonly openWorldHint: false;
1407
+ readonly profiles: {
1408
+ readonly directory: "advertised";
1409
+ readonly full: "advertised";
1410
+ };
1103
1411
  readonly readOnlyHint: true;
1104
1412
  readonly schema: z.ZodObject<{
1105
1413
  artistId: z.ZodString;
@@ -1118,9 +1426,23 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1118
1426
  readonly outputSchema: z.ZodObject<{
1119
1427
  status: z.ZodEnum<{
1120
1428
  success: "success";
1121
- partial_success: "partial_success";
1122
1429
  error: "error";
1430
+ partial_success: "partial_success";
1123
1431
  }>;
1432
+ recovery?: z.ZodOptional<z.ZodObject<{
1433
+ actions: z.ZodArray<z.ZodString>;
1434
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1435
+ id: z.ZodString;
1436
+ kind: z.ZodString;
1437
+ }, z.core.$strip>>;
1438
+ kind: z.ZodString;
1439
+ occurredAt: z.ZodString;
1440
+ reasonCode: z.ZodOptional<z.ZodString>;
1441
+ retryAfter: z.ZodNullable<z.ZodString>;
1442
+ stage: z.ZodString;
1443
+ }, z.core.$strip>> | undefined;
1444
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1445
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1124
1446
  code: z.ZodOptional<z.ZodEnum<{
1125
1447
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1126
1448
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1153,9 +1475,9 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1153
1475
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1154
1476
  kind: z.ZodOptional<z.ZodEnum<{
1155
1477
  unknown: "unknown";
1478
+ platform: "platform";
1156
1479
  validation: "validation";
1157
1480
  business: "business";
1158
- platform: "platform";
1159
1481
  }>>;
1160
1482
  message: z.ZodOptional<z.ZodString>;
1161
1483
  }, z.core.$strict>;
@@ -1187,16 +1509,30 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1187
1509
  }, z.core.$strict>;
1188
1510
  readonly title: "Get YouTube Channel Data";
1189
1511
  }, {
1190
- readonly description: "Use this when the user asks about billing state, credit balance, promo limits, subscription status, campaign-fund deposits, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. Each deposit in prefundPayments is pending (payment not yet confirmed), cleared (Stripe says paid and the funds are usable), failed (the payment did not complete) or held (paid, but funding is on hold for review and not usable yet). A Checkout link alone is never a deposit. To add campaign funds use dynamoi_add_campaign_funds; for other billing setup tell the user: 'You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard.' Then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.";
1512
+ readonly description: "Use action=native_commerce for the native commerce projection (full profile, read-only; no subscription changes or invoices). Use action=native_deposits for the native funding summary and pending deposit (not transaction history); hosted Checkout remains the payment boundary. Use this when the user asks about billing state, credit balance, promo limits, subscription status, campaign-fund deposits, or whether billing blocks launches for one artist. This is a read-only status check; it does not create checkout links or collect payment. paymentMethod contains only the shared masked display details (brand or bank, type, last four digits and expiry); null means details are unavailable, not proof that no method exists. Each deposit in prefundPayments is pending (payment not yet confirmed), cleared (Stripe says paid and the funds are usable), failed (the payment did not complete) or held (paid, but funding is on hold for review and not usable yet). A Checkout link alone is never a deposit. To add campaign funds use dynamoi_add_campaign_funds; for other billing setup tell the user: 'You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard.' Then call this tool again to confirm the status. Do not use this for campaign analytics or platform connection troubleshooting.";
1191
1513
  readonly destructiveHint: false;
1192
1514
  readonly name: "dynamoi_get_billing";
1193
1515
  readonly openWorldHint: false;
1194
1516
  readonly outputSchema: z.ZodObject<{
1195
1517
  status: z.ZodEnum<{
1196
1518
  success: "success";
1197
- partial_success: "partial_success";
1198
1519
  error: "error";
1520
+ partial_success: "partial_success";
1199
1521
  }>;
1522
+ recovery?: z.ZodOptional<z.ZodObject<{
1523
+ actions: z.ZodArray<z.ZodString>;
1524
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1525
+ id: z.ZodString;
1526
+ kind: z.ZodString;
1527
+ }, z.core.$strip>>;
1528
+ kind: z.ZodString;
1529
+ occurredAt: z.ZodString;
1530
+ reasonCode: z.ZodOptional<z.ZodString>;
1531
+ retryAfter: z.ZodNullable<z.ZodString>;
1532
+ stage: z.ZodString;
1533
+ }, z.core.$strip>> | undefined;
1534
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1535
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1200
1536
  code: z.ZodOptional<z.ZodEnum<{
1201
1537
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1202
1538
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1229,14 +1565,19 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1229
1565
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1230
1566
  kind: z.ZodOptional<z.ZodEnum<{
1231
1567
  unknown: "unknown";
1568
+ platform: "platform";
1232
1569
  validation: "validation";
1233
1570
  business: "business";
1234
- platform: "platform";
1235
1571
  }>>;
1236
1572
  message: z.ZodOptional<z.ZodString>;
1237
1573
  }, z.core.$strict>;
1238
1574
  readonly readOnlyHint: true;
1239
1575
  readonly schema: z.ZodObject<{
1576
+ action: z.ZodOptional<z.ZodEnum<{
1577
+ summary: "summary";
1578
+ native_deposits: "native_deposits";
1579
+ native_commerce: "native_commerce";
1580
+ }>>;
1240
1581
  artistId: z.ZodString;
1241
1582
  format: z.ZodOptional<z.ZodEnum<{
1242
1583
  json: "json";
@@ -1246,16 +1587,30 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1246
1587
  }, z.core.$strict>;
1247
1588
  readonly title: "Get Billing";
1248
1589
  }, {
1249
- readonly description: "Read the existing campaign's resume funding breakdown before requesting funding consent: campaign budget, funded-window coverage, usable credits, immediate charge, payment method, refusal and current consent. Amounts carry their commercial currency and minor-unit exponent. This read never reserves funds, authorizes collection or resumes delivery. A refusal is not a zero-charge approval. Use dynamoi_update_campaign to resume only after explicit user consent when required.";
1590
+ readonly description: "Read an artist's platform Action Center after authenticated artist access. Preserve revision, task states, steps and primary/secondary actions: open_url opens a URL; navigate is dashboard navigation. Reading does not complete or approve a task. Unavailable data is an error, not an empty task list. Full profile only.";
1250
1591
  readonly destructiveHint: false;
1251
- readonly name: "dynamoi_get_resume_funding";
1592
+ readonly name: "dynamoi_get_action_center";
1252
1593
  readonly openWorldHint: false;
1253
1594
  readonly outputSchema: z.ZodObject<{
1254
1595
  status: z.ZodEnum<{
1255
1596
  success: "success";
1256
- partial_success: "partial_success";
1257
1597
  error: "error";
1598
+ partial_success: "partial_success";
1258
1599
  }>;
1600
+ recovery?: z.ZodOptional<z.ZodObject<{
1601
+ actions: z.ZodArray<z.ZodString>;
1602
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1603
+ id: z.ZodString;
1604
+ kind: z.ZodString;
1605
+ }, z.core.$strip>>;
1606
+ kind: z.ZodString;
1607
+ occurredAt: z.ZodString;
1608
+ reasonCode: z.ZodOptional<z.ZodString>;
1609
+ retryAfter: z.ZodNullable<z.ZodString>;
1610
+ stage: z.ZodString;
1611
+ }, z.core.$strip>> | undefined;
1612
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1613
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1259
1614
  code: z.ZodOptional<z.ZodEnum<{
1260
1615
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1261
1616
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1288,32 +1643,42 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1288
1643
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1289
1644
  kind: z.ZodOptional<z.ZodEnum<{
1290
1645
  unknown: "unknown";
1646
+ platform: "platform";
1291
1647
  validation: "validation";
1292
1648
  business: "business";
1293
- platform: "platform";
1294
1649
  }>>;
1295
1650
  message: z.ZodOptional<z.ZodString>;
1296
1651
  }, z.core.$strict>;
1297
1652
  readonly readOnlyHint: true;
1298
1653
  readonly schema: z.ZodObject<{
1299
- campaignId: z.ZodString;
1300
- format: z.ZodOptional<z.ZodEnum<{
1301
- json: "json";
1302
- summary: "summary";
1303
- }>>;
1654
+ artistId: z.ZodString;
1304
1655
  }, z.core.$strict>;
1305
- readonly title: "Get Resume Funding";
1656
+ readonly title: "Get Action Center";
1306
1657
  }, {
1307
- 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.";
1658
+ readonly description: "Read distribution earnings for the authenticated payee only, optionally restricted to their artistIds. Team or artist access never grants payee access. action=overview returns the payee's own share in USD, range totals, monthly totals and at most 50 detail rows, narrowed by trackKey, storeKey, storeFamily and countryCode (totals remain for the whole range). action=ranking returns up to 300 rows by dimension (track, artist, store, country), with their filtered totalUsd, narrowed by trackKey, storeFamily and countryCode. action=geography returns {rows} of the country map with optional prior-window comparison. action=statement returns the web export data for one statement month: use axis=statement and equal fromMonth/toMonth, with no exploration filters or cursor. No new files are created. Rankings and prior-window geography read an equal preceding window within the owner's 60-month bound. For overview pagination, pass nextCursor unchanged to continue with the same range, axis, artists and filters. fromMonth/toMonth are inclusive YYYY-MM, at most 60 months. axis=statement groups by statement month; earned groups by royalty month, while payee share always follows statement month. Empty rows mean no matching data; an error means unavailable, never zero earnings. This grants no payout or tax authority and performs no writes. Full profile only.";
1308
1659
  readonly destructiveHint: false;
1309
- readonly name: "dynamoi_get_platform_status";
1660
+ readonly name: "dynamoi_get_earnings";
1310
1661
  readonly openWorldHint: false;
1311
1662
  readonly outputSchema: z.ZodObject<{
1312
1663
  status: z.ZodEnum<{
1313
1664
  success: "success";
1314
- partial_success: "partial_success";
1315
1665
  error: "error";
1666
+ partial_success: "partial_success";
1316
1667
  }>;
1668
+ recovery?: z.ZodOptional<z.ZodObject<{
1669
+ actions: z.ZodArray<z.ZodString>;
1670
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1671
+ id: z.ZodString;
1672
+ kind: z.ZodString;
1673
+ }, z.core.$strip>>;
1674
+ kind: z.ZodString;
1675
+ occurredAt: z.ZodString;
1676
+ reasonCode: z.ZodOptional<z.ZodString>;
1677
+ retryAfter: z.ZodNullable<z.ZodString>;
1678
+ stage: z.ZodString;
1679
+ }, z.core.$strip>> | undefined;
1680
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1681
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1317
1682
  code: z.ZodOptional<z.ZodEnum<{
1318
1683
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1319
1684
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1346,37 +1711,72 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1346
1711
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1347
1712
  kind: z.ZodOptional<z.ZodEnum<{
1348
1713
  unknown: "unknown";
1714
+ platform: "platform";
1349
1715
  validation: "validation";
1350
1716
  business: "business";
1351
- platform: "platform";
1352
1717
  }>>;
1353
1718
  message: z.ZodOptional<z.ZodString>;
1354
1719
  }, z.core.$strict>;
1355
1720
  readonly readOnlyHint: true;
1356
1721
  readonly schema: z.ZodObject<{
1357
- artistId: z.ZodString;
1358
- format: z.ZodOptional<z.ZodEnum<{
1359
- json: "json";
1360
- summary: "summary";
1361
- }>>;
1362
- onboardingAttemptId: z.ZodOptional<z.ZodString>;
1363
- onboardingFlow: z.ZodOptional<z.ZodEnum<{
1364
- youtube: "youtube";
1365
- meta: "meta";
1366
- }>>;
1722
+ action: z.ZodDefault<z.ZodEnum<{
1723
+ overview: "overview";
1724
+ ranking: "ranking";
1725
+ geography: "geography";
1726
+ statement: "statement";
1727
+ }>>;
1728
+ artistIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1729
+ axis: z.ZodDefault<z.ZodEnum<{
1730
+ statement: "statement";
1731
+ earned: "earned";
1732
+ }>>;
1733
+ countryCode: z.ZodOptional<z.ZodString>;
1734
+ cursor: z.ZodOptional<z.ZodObject<{
1735
+ countryCode: z.ZodString;
1736
+ month: z.ZodString;
1737
+ storeKey: z.ZodString;
1738
+ trackKey: z.ZodString;
1739
+ }, z.core.$strict>>;
1740
+ dimension: z.ZodDefault<z.ZodEnum<{
1741
+ artist: "artist";
1742
+ country: "country";
1743
+ track: "track";
1744
+ store: "store";
1745
+ }>>;
1746
+ fromMonth: z.ZodString;
1747
+ limit: z.ZodDefault<z.ZodNumber>;
1748
+ storeFamily: z.ZodOptional<z.ZodString>;
1749
+ storeKey: z.ZodOptional<z.ZodString>;
1750
+ toMonth: z.ZodString;
1751
+ trackKey: z.ZodOptional<z.ZodString>;
1752
+ withPrior: z.ZodDefault<z.ZodBoolean>;
1367
1753
  }, z.core.$strict>;
1368
- readonly title: "Get Platform Status";
1754
+ readonly title: "Get Distribution Earnings";
1369
1755
  }, {
1370
- 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.";
1756
+ readonly description: "Read organization members and pending invitations after artist and organization settings authority checks. Artist collaboration alone never grants roster access. No invitation tokens or role mutations. Full profile only.";
1371
1757
  readonly destructiveHint: false;
1372
- readonly name: "dynamoi_list_available_countries";
1758
+ readonly name: "dynamoi_get_team";
1373
1759
  readonly openWorldHint: false;
1374
1760
  readonly outputSchema: z.ZodObject<{
1375
1761
  status: z.ZodEnum<{
1376
1762
  success: "success";
1377
- partial_success: "partial_success";
1378
1763
  error: "error";
1764
+ partial_success: "partial_success";
1379
1765
  }>;
1766
+ recovery?: z.ZodOptional<z.ZodObject<{
1767
+ actions: z.ZodArray<z.ZodString>;
1768
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1769
+ id: z.ZodString;
1770
+ kind: z.ZodString;
1771
+ }, z.core.$strip>>;
1772
+ kind: z.ZodString;
1773
+ occurredAt: z.ZodString;
1774
+ reasonCode: z.ZodOptional<z.ZodString>;
1775
+ retryAfter: z.ZodNullable<z.ZodString>;
1776
+ stage: z.ZodString;
1777
+ }, z.core.$strip>> | undefined;
1778
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1779
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1380
1780
  code: z.ZodOptional<z.ZodEnum<{
1381
1781
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1382
1782
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1409,38 +1809,42 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1409
1809
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1410
1810
  kind: z.ZodOptional<z.ZodEnum<{
1411
1811
  unknown: "unknown";
1812
+ platform: "platform";
1412
1813
  validation: "validation";
1413
1814
  business: "business";
1414
- platform: "platform";
1415
1815
  }>>;
1416
1816
  message: z.ZodOptional<z.ZodString>;
1417
1817
  }, z.core.$strict>;
1418
1818
  readonly readOnlyHint: true;
1419
1819
  readonly schema: z.ZodObject<{
1420
- campaignType: z.ZodEnum<{
1421
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
1422
- YOUTUBE: "YOUTUBE";
1423
- }>;
1424
- cursor: z.ZodOptional<z.ZodString>;
1425
- format: z.ZodOptional<z.ZodEnum<{
1426
- json: "json";
1427
- summary: "summary";
1428
- }>>;
1429
- limit: z.ZodOptional<z.ZodNumber>;
1430
- query: z.ZodOptional<z.ZodString>;
1820
+ artistId: z.ZodString;
1431
1821
  }, z.core.$strict>;
1432
- readonly title: "List Available Countries";
1822
+ readonly title: "Get Team";
1433
1823
  }, {
1434
- readonly description: "Use this when a musician wants to promote a new single or release with ads (\"promote my new single\", \"run ads for my song\"): it checks whether a Smart Campaign or YouTube campaign is ready before dynamoi_launch_campaign. This validates readiness and targeting without creating a campaign. Complete budget inputs also return the shared, nonbinding campaign funding preview with known or unavailable credit coverage, card upper bounds and expiry timing. For TOTAL budgets the preview describes total-daily funding for web and native creation; MCP TOTAL launch uses existing credits only, cannot authorize card funding, and does not accept the preview's total-daily consent. Do not use this to create or mutate campaigns.";
1435
- readonly destructiveHint: false;
1436
- readonly name: "dynamoi_get_campaign_readiness";
1824
+ readonly description: "Change an organization member's role, remove a member or revoke a pending organization invitation using the same authority and transactional protections as web. Full profile only. targetId is the organization membership or pending invitation row ID from dynamoi_get_team. Owner and last-admin protections apply; removal can revoke access and pending invitations.";
1825
+ readonly destructiveHint: true;
1826
+ readonly name: "dynamoi_manage_team";
1437
1827
  readonly openWorldHint: false;
1438
1828
  readonly outputSchema: z.ZodObject<{
1439
1829
  status: z.ZodEnum<{
1440
1830
  success: "success";
1441
- partial_success: "partial_success";
1442
1831
  error: "error";
1832
+ partial_success: "partial_success";
1443
1833
  }>;
1834
+ recovery?: z.ZodOptional<z.ZodObject<{
1835
+ actions: z.ZodArray<z.ZodString>;
1836
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1837
+ id: z.ZodString;
1838
+ kind: z.ZodString;
1839
+ }, z.core.$strip>>;
1840
+ kind: z.ZodString;
1841
+ occurredAt: z.ZodString;
1842
+ reasonCode: z.ZodOptional<z.ZodString>;
1843
+ retryAfter: z.ZodNullable<z.ZodString>;
1844
+ stage: z.ZodString;
1845
+ }, z.core.$strip>> | undefined;
1846
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1847
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1444
1848
  code: z.ZodOptional<z.ZodEnum<{
1445
1849
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1446
1850
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1473,32 +1877,556 @@ export declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
1473
1877
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1474
1878
  kind: z.ZodOptional<z.ZodEnum<{
1475
1879
  unknown: "unknown";
1880
+ platform: "platform";
1476
1881
  validation: "validation";
1477
1882
  business: "business";
1478
- platform: "platform";
1479
1883
  }>>;
1480
1884
  message: z.ZodOptional<z.ZodString>;
1481
1885
  }, z.core.$strict>;
1482
- readonly readOnlyHint: true;
1886
+ readonly readOnlyHint: false;
1483
1887
  readonly schema: z.ZodObject<{
1484
- adCopy: z.ZodOptional<z.ZodString>;
1485
- artistId: z.ZodString;
1486
- budgetAmount: z.ZodOptional<z.ZodNumber>;
1487
- budgetType: z.ZodOptional<z.ZodEnum<{
1488
- DAILY: "DAILY";
1489
- TOTAL: "TOTAL";
1888
+ action: z.ZodEnum<{
1889
+ update_role: "update_role";
1890
+ remove_member: "remove_member";
1891
+ revoke_invitation: "revoke_invitation";
1892
+ }>;
1893
+ role: z.ZodOptional<z.ZodEnum<{
1894
+ admin: "admin";
1895
+ editor: "editor";
1896
+ viewer: "viewer";
1490
1897
  }>>;
1491
- campaignType: z.ZodEnum<{
1492
- SMART_CAMPAIGN: "SMART_CAMPAIGN";
1493
- YOUTUBE: "YOUTUBE";
1898
+ targetId: z.ZodString;
1899
+ }, z.core.$strict>;
1900
+ readonly title: "Manage Organization Members";
1901
+ }, {
1902
+ readonly description: "Read sanitized artist or organization settings audit events, or your own 12 recent account activity entries with scope=account (artist access required; no cursor). Organization scope requires organization settings authority, beyond artist access. Pass nextCursor unchanged within the same scope; cursors are bounded and scope-checked. Full profile only.";
1903
+ readonly destructiveHint: false;
1904
+ readonly name: "dynamoi_get_audit_log";
1905
+ readonly openWorldHint: false;
1906
+ readonly outputSchema: z.ZodObject<{
1907
+ status: z.ZodEnum<{
1908
+ success: "success";
1909
+ error: "error";
1910
+ partial_success: "partial_success";
1494
1911
  }>;
1495
- contentType: z.ZodOptional<z.ZodEnum<{
1496
- TRACK: "TRACK";
1497
- ALBUM: "ALBUM";
1498
- PLAYLIST: "PLAYLIST";
1499
- VIDEO: "VIDEO";
1912
+ recovery?: z.ZodOptional<z.ZodObject<{
1913
+ actions: z.ZodArray<z.ZodString>;
1914
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1915
+ id: z.ZodString;
1916
+ kind: z.ZodString;
1917
+ }, z.core.$strip>>;
1918
+ kind: z.ZodString;
1919
+ occurredAt: z.ZodString;
1920
+ reasonCode: z.ZodOptional<z.ZodString>;
1921
+ retryAfter: z.ZodNullable<z.ZodString>;
1922
+ stage: z.ZodString;
1923
+ }, z.core.$strip>> | undefined;
1924
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1925
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1926
+ code: z.ZodOptional<z.ZodEnum<{
1927
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1928
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
1929
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
1930
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
1931
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
1932
+ STATE_CONFLICT: "STATE_CONFLICT";
1933
+ QUOTE_CHANGED: "QUOTE_CHANGED";
1934
+ RATE_LIMITED: "RATE_LIMITED";
1935
+ OUTPUT_INVALID: "OUTPUT_INVALID";
1936
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
1500
1937
  }>>;
1501
- endDate: z.ZodOptional<z.ZodString>;
1938
+ draftId: z.ZodOptional<z.ZodString>;
1939
+ failureStage: z.ZodOptional<z.ZodString>;
1940
+ field: z.ZodOptional<z.ZodString>;
1941
+ nextAction: z.ZodOptional<z.ZodObject<{
1942
+ field: z.ZodOptional<z.ZodString>;
1943
+ kind: z.ZodEnum<{
1944
+ provide_input: "provide_input";
1945
+ read_status: "read_status";
1946
+ reconnect: "reconnect";
1947
+ handoff: "handoff";
1948
+ }>;
1949
+ reason: z.ZodOptional<z.ZodString>;
1950
+ }, z.core.$strict>>;
1951
+ prerequisite: z.ZodOptional<z.ZodString>;
1952
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
1953
+ retryable: z.ZodOptional<z.ZodBoolean>;
1954
+ screeningResult: z.ZodOptional<z.ZodString>;
1955
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1956
+ kind: z.ZodOptional<z.ZodEnum<{
1957
+ unknown: "unknown";
1958
+ platform: "platform";
1959
+ validation: "validation";
1960
+ business: "business";
1961
+ }>>;
1962
+ message: z.ZodOptional<z.ZodString>;
1963
+ }, z.core.$strict>;
1964
+ readonly readOnlyHint: true;
1965
+ readonly schema: z.ZodObject<{
1966
+ artistId: z.ZodString;
1967
+ cursor: z.ZodOptional<z.ZodString>;
1968
+ scope: z.ZodDefault<z.ZodEnum<{
1969
+ artist: "artist";
1970
+ organization: "organization";
1971
+ account: "account";
1972
+ }>>;
1973
+ }, z.core.$strict>;
1974
+ readonly title: "Get AuditLog";
1975
+ }, {
1976
+ readonly description: "Claim or change your own referral code using the web claim rules. Claiming accepts the current referral program terms. Full profile only.";
1977
+ readonly destructiveHint: false;
1978
+ readonly name: "dynamoi_claim_referral_code";
1979
+ readonly openWorldHint: false;
1980
+ readonly outputSchema: z.ZodObject<{
1981
+ status: z.ZodEnum<{
1982
+ success: "success";
1983
+ error: "error";
1984
+ partial_success: "partial_success";
1985
+ }>;
1986
+ recovery?: z.ZodOptional<z.ZodObject<{
1987
+ actions: z.ZodArray<z.ZodString>;
1988
+ affectedSelection: z.ZodNullable<z.ZodObject<{
1989
+ id: z.ZodString;
1990
+ kind: z.ZodString;
1991
+ }, z.core.$strip>>;
1992
+ kind: z.ZodString;
1993
+ occurredAt: z.ZodString;
1994
+ reasonCode: z.ZodOptional<z.ZodString>;
1995
+ retryAfter: z.ZodNullable<z.ZodString>;
1996
+ stage: z.ZodString;
1997
+ }, z.core.$strip>> | undefined;
1998
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
1999
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
2000
+ code: z.ZodOptional<z.ZodEnum<{
2001
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
2002
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
2003
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
2004
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
2005
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
2006
+ STATE_CONFLICT: "STATE_CONFLICT";
2007
+ QUOTE_CHANGED: "QUOTE_CHANGED";
2008
+ RATE_LIMITED: "RATE_LIMITED";
2009
+ OUTPUT_INVALID: "OUTPUT_INVALID";
2010
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
2011
+ }>>;
2012
+ draftId: z.ZodOptional<z.ZodString>;
2013
+ failureStage: z.ZodOptional<z.ZodString>;
2014
+ field: z.ZodOptional<z.ZodString>;
2015
+ nextAction: z.ZodOptional<z.ZodObject<{
2016
+ field: z.ZodOptional<z.ZodString>;
2017
+ kind: z.ZodEnum<{
2018
+ provide_input: "provide_input";
2019
+ read_status: "read_status";
2020
+ reconnect: "reconnect";
2021
+ handoff: "handoff";
2022
+ }>;
2023
+ reason: z.ZodOptional<z.ZodString>;
2024
+ }, z.core.$strict>>;
2025
+ prerequisite: z.ZodOptional<z.ZodString>;
2026
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
2027
+ retryable: z.ZodOptional<z.ZodBoolean>;
2028
+ screeningResult: z.ZodOptional<z.ZodString>;
2029
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
2030
+ kind: z.ZodOptional<z.ZodEnum<{
2031
+ unknown: "unknown";
2032
+ platform: "platform";
2033
+ validation: "validation";
2034
+ business: "business";
2035
+ }>>;
2036
+ message: z.ZodOptional<z.ZodString>;
2037
+ }, z.core.$strict>;
2038
+ readonly readOnlyHint: false;
2039
+ readonly schema: z.ZodObject<{
2040
+ code: z.ZodString;
2041
+ }, z.core.$strict>;
2042
+ readonly title: "Claim Referral Code";
2043
+ }, {
2044
+ readonly description: "Read the authenticated caller's referral dashboard after artist access, without cookie attribution or commission refresh. USD cents and observed states: PENDING is not yet available; AVAILABLE is eligible, not payout approval; WITHDRAWAL_PENDING is awaiting payout; PAID is paid. Never describe pending or available amounts as approved or paid. Full profile only.";
2045
+ readonly destructiveHint: false;
2046
+ readonly name: "dynamoi_get_referrals";
2047
+ readonly openWorldHint: false;
2048
+ readonly outputSchema: z.ZodObject<{
2049
+ status: z.ZodEnum<{
2050
+ success: "success";
2051
+ error: "error";
2052
+ partial_success: "partial_success";
2053
+ }>;
2054
+ recovery?: z.ZodOptional<z.ZodObject<{
2055
+ actions: z.ZodArray<z.ZodString>;
2056
+ affectedSelection: z.ZodNullable<z.ZodObject<{
2057
+ id: z.ZodString;
2058
+ kind: z.ZodString;
2059
+ }, z.core.$strip>>;
2060
+ kind: z.ZodString;
2061
+ occurredAt: z.ZodString;
2062
+ reasonCode: z.ZodOptional<z.ZodString>;
2063
+ retryAfter: z.ZodNullable<z.ZodString>;
2064
+ stage: z.ZodString;
2065
+ }, z.core.$strip>> | undefined;
2066
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
2067
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
2068
+ code: z.ZodOptional<z.ZodEnum<{
2069
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
2070
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
2071
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
2072
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
2073
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
2074
+ STATE_CONFLICT: "STATE_CONFLICT";
2075
+ QUOTE_CHANGED: "QUOTE_CHANGED";
2076
+ RATE_LIMITED: "RATE_LIMITED";
2077
+ OUTPUT_INVALID: "OUTPUT_INVALID";
2078
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
2079
+ }>>;
2080
+ draftId: z.ZodOptional<z.ZodString>;
2081
+ failureStage: z.ZodOptional<z.ZodString>;
2082
+ field: z.ZodOptional<z.ZodString>;
2083
+ nextAction: z.ZodOptional<z.ZodObject<{
2084
+ field: z.ZodOptional<z.ZodString>;
2085
+ kind: z.ZodEnum<{
2086
+ provide_input: "provide_input";
2087
+ read_status: "read_status";
2088
+ reconnect: "reconnect";
2089
+ handoff: "handoff";
2090
+ }>;
2091
+ reason: z.ZodOptional<z.ZodString>;
2092
+ }, z.core.$strict>>;
2093
+ prerequisite: z.ZodOptional<z.ZodString>;
2094
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
2095
+ retryable: z.ZodOptional<z.ZodBoolean>;
2096
+ screeningResult: z.ZodOptional<z.ZodString>;
2097
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
2098
+ kind: z.ZodOptional<z.ZodEnum<{
2099
+ unknown: "unknown";
2100
+ platform: "platform";
2101
+ validation: "validation";
2102
+ business: "business";
2103
+ }>>;
2104
+ message: z.ZodOptional<z.ZodString>;
2105
+ }, z.core.$strict>;
2106
+ readonly readOnlyHint: true;
2107
+ readonly schema: z.ZodObject<{
2108
+ artistId: z.ZodString;
2109
+ filter: z.ZodDefault<z.ZodEnum<{
2110
+ void: "void";
2111
+ paid: "paid";
2112
+ available: "available";
2113
+ pending: "pending";
2114
+ all: "all";
2115
+ }>>;
2116
+ page: z.ZodDefault<z.ZodNumber>;
2117
+ pageSize: z.ZodDefault<z.ZodNumber>;
2118
+ }, z.core.$strict>;
2119
+ readonly title: "Get Referrals";
2120
+ }, {
2121
+ readonly description: "Read the existing campaign's resume funding breakdown before requesting funding consent: campaign budget, funded-window coverage, usable credits, immediate charge, payment method, refusal and current consent. Amounts carry their commercial currency and minor-unit exponent. This read never reserves funds, authorizes collection or resumes delivery. A refusal is not a zero-charge approval. Use dynamoi_update_campaign to resume only after explicit user consent when required.";
2122
+ readonly destructiveHint: false;
2123
+ readonly name: "dynamoi_get_resume_funding";
2124
+ readonly openWorldHint: false;
2125
+ readonly outputSchema: z.ZodObject<{
2126
+ status: z.ZodEnum<{
2127
+ success: "success";
2128
+ error: "error";
2129
+ partial_success: "partial_success";
2130
+ }>;
2131
+ recovery?: z.ZodOptional<z.ZodObject<{
2132
+ actions: z.ZodArray<z.ZodString>;
2133
+ affectedSelection: z.ZodNullable<z.ZodObject<{
2134
+ id: z.ZodString;
2135
+ kind: z.ZodString;
2136
+ }, z.core.$strip>>;
2137
+ kind: z.ZodString;
2138
+ occurredAt: z.ZodString;
2139
+ reasonCode: z.ZodOptional<z.ZodString>;
2140
+ retryAfter: z.ZodNullable<z.ZodString>;
2141
+ stage: z.ZodString;
2142
+ }, z.core.$strip>> | undefined;
2143
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
2144
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
2145
+ code: z.ZodOptional<z.ZodEnum<{
2146
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
2147
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
2148
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
2149
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
2150
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
2151
+ STATE_CONFLICT: "STATE_CONFLICT";
2152
+ QUOTE_CHANGED: "QUOTE_CHANGED";
2153
+ RATE_LIMITED: "RATE_LIMITED";
2154
+ OUTPUT_INVALID: "OUTPUT_INVALID";
2155
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
2156
+ }>>;
2157
+ draftId: z.ZodOptional<z.ZodString>;
2158
+ failureStage: z.ZodOptional<z.ZodString>;
2159
+ field: z.ZodOptional<z.ZodString>;
2160
+ nextAction: z.ZodOptional<z.ZodObject<{
2161
+ field: z.ZodOptional<z.ZodString>;
2162
+ kind: z.ZodEnum<{
2163
+ provide_input: "provide_input";
2164
+ read_status: "read_status";
2165
+ reconnect: "reconnect";
2166
+ handoff: "handoff";
2167
+ }>;
2168
+ reason: z.ZodOptional<z.ZodString>;
2169
+ }, z.core.$strict>>;
2170
+ prerequisite: z.ZodOptional<z.ZodString>;
2171
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
2172
+ retryable: z.ZodOptional<z.ZodBoolean>;
2173
+ screeningResult: z.ZodOptional<z.ZodString>;
2174
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
2175
+ kind: z.ZodOptional<z.ZodEnum<{
2176
+ unknown: "unknown";
2177
+ platform: "platform";
2178
+ validation: "validation";
2179
+ business: "business";
2180
+ }>>;
2181
+ message: z.ZodOptional<z.ZodString>;
2182
+ }, z.core.$strict>;
2183
+ readonly readOnlyHint: true;
2184
+ readonly schema: z.ZodObject<{
2185
+ campaignId: z.ZodString;
2186
+ format: z.ZodOptional<z.ZodEnum<{
2187
+ json: "json";
2188
+ summary: "summary";
2189
+ }>>;
2190
+ }, z.core.$strict>;
2191
+ readonly title: "Get Resume Funding";
2192
+ }, {
2193
+ 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.";
2194
+ readonly destructiveHint: false;
2195
+ readonly name: "dynamoi_get_platform_status";
2196
+ readonly openWorldHint: false;
2197
+ readonly outputSchema: z.ZodObject<{
2198
+ status: z.ZodEnum<{
2199
+ success: "success";
2200
+ error: "error";
2201
+ partial_success: "partial_success";
2202
+ }>;
2203
+ recovery?: z.ZodOptional<z.ZodObject<{
2204
+ actions: z.ZodArray<z.ZodString>;
2205
+ affectedSelection: z.ZodNullable<z.ZodObject<{
2206
+ id: z.ZodString;
2207
+ kind: z.ZodString;
2208
+ }, z.core.$strip>>;
2209
+ kind: z.ZodString;
2210
+ occurredAt: z.ZodString;
2211
+ reasonCode: z.ZodOptional<z.ZodString>;
2212
+ retryAfter: z.ZodNullable<z.ZodString>;
2213
+ stage: z.ZodString;
2214
+ }, z.core.$strip>> | undefined;
2215
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
2216
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
2217
+ code: z.ZodOptional<z.ZodEnum<{
2218
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
2219
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
2220
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
2221
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
2222
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
2223
+ STATE_CONFLICT: "STATE_CONFLICT";
2224
+ QUOTE_CHANGED: "QUOTE_CHANGED";
2225
+ RATE_LIMITED: "RATE_LIMITED";
2226
+ OUTPUT_INVALID: "OUTPUT_INVALID";
2227
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
2228
+ }>>;
2229
+ draftId: z.ZodOptional<z.ZodString>;
2230
+ failureStage: z.ZodOptional<z.ZodString>;
2231
+ field: z.ZodOptional<z.ZodString>;
2232
+ nextAction: z.ZodOptional<z.ZodObject<{
2233
+ field: z.ZodOptional<z.ZodString>;
2234
+ kind: z.ZodEnum<{
2235
+ provide_input: "provide_input";
2236
+ read_status: "read_status";
2237
+ reconnect: "reconnect";
2238
+ handoff: "handoff";
2239
+ }>;
2240
+ reason: z.ZodOptional<z.ZodString>;
2241
+ }, z.core.$strict>>;
2242
+ prerequisite: z.ZodOptional<z.ZodString>;
2243
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
2244
+ retryable: z.ZodOptional<z.ZodBoolean>;
2245
+ screeningResult: z.ZodOptional<z.ZodString>;
2246
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
2247
+ kind: z.ZodOptional<z.ZodEnum<{
2248
+ unknown: "unknown";
2249
+ platform: "platform";
2250
+ validation: "validation";
2251
+ business: "business";
2252
+ }>>;
2253
+ message: z.ZodOptional<z.ZodString>;
2254
+ }, z.core.$strict>;
2255
+ readonly readOnlyHint: true;
2256
+ readonly schema: z.ZodObject<{
2257
+ artistId: z.ZodString;
2258
+ format: z.ZodOptional<z.ZodEnum<{
2259
+ json: "json";
2260
+ summary: "summary";
2261
+ }>>;
2262
+ onboardingAttemptId: z.ZodOptional<z.ZodString>;
2263
+ onboardingFlow: z.ZodOptional<z.ZodEnum<{
2264
+ youtube: "youtube";
2265
+ meta: "meta";
2266
+ }>>;
2267
+ }, z.core.$strict>;
2268
+ readonly title: "Get Platform Status";
2269
+ }, {
2270
+ 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.";
2271
+ readonly destructiveHint: false;
2272
+ readonly name: "dynamoi_list_available_countries";
2273
+ readonly openWorldHint: false;
2274
+ readonly outputSchema: z.ZodObject<{
2275
+ status: z.ZodEnum<{
2276
+ success: "success";
2277
+ error: "error";
2278
+ partial_success: "partial_success";
2279
+ }>;
2280
+ recovery?: z.ZodOptional<z.ZodObject<{
2281
+ actions: z.ZodArray<z.ZodString>;
2282
+ affectedSelection: z.ZodNullable<z.ZodObject<{
2283
+ id: z.ZodString;
2284
+ kind: z.ZodString;
2285
+ }, z.core.$strip>>;
2286
+ kind: z.ZodString;
2287
+ occurredAt: z.ZodString;
2288
+ reasonCode: z.ZodOptional<z.ZodString>;
2289
+ retryAfter: z.ZodNullable<z.ZodString>;
2290
+ stage: z.ZodString;
2291
+ }, z.core.$strip>> | undefined;
2292
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
2293
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
2294
+ code: z.ZodOptional<z.ZodEnum<{
2295
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
2296
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
2297
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
2298
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
2299
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
2300
+ STATE_CONFLICT: "STATE_CONFLICT";
2301
+ QUOTE_CHANGED: "QUOTE_CHANGED";
2302
+ RATE_LIMITED: "RATE_LIMITED";
2303
+ OUTPUT_INVALID: "OUTPUT_INVALID";
2304
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
2305
+ }>>;
2306
+ draftId: z.ZodOptional<z.ZodString>;
2307
+ failureStage: z.ZodOptional<z.ZodString>;
2308
+ field: z.ZodOptional<z.ZodString>;
2309
+ nextAction: z.ZodOptional<z.ZodObject<{
2310
+ field: z.ZodOptional<z.ZodString>;
2311
+ kind: z.ZodEnum<{
2312
+ provide_input: "provide_input";
2313
+ read_status: "read_status";
2314
+ reconnect: "reconnect";
2315
+ handoff: "handoff";
2316
+ }>;
2317
+ reason: z.ZodOptional<z.ZodString>;
2318
+ }, z.core.$strict>>;
2319
+ prerequisite: z.ZodOptional<z.ZodString>;
2320
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
2321
+ retryable: z.ZodOptional<z.ZodBoolean>;
2322
+ screeningResult: z.ZodOptional<z.ZodString>;
2323
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
2324
+ kind: z.ZodOptional<z.ZodEnum<{
2325
+ unknown: "unknown";
2326
+ platform: "platform";
2327
+ validation: "validation";
2328
+ business: "business";
2329
+ }>>;
2330
+ message: z.ZodOptional<z.ZodString>;
2331
+ }, z.core.$strict>;
2332
+ readonly readOnlyHint: true;
2333
+ readonly schema: z.ZodObject<{
2334
+ campaignType: z.ZodEnum<{
2335
+ SMART_CAMPAIGN: "SMART_CAMPAIGN";
2336
+ YOUTUBE: "YOUTUBE";
2337
+ }>;
2338
+ cursor: z.ZodOptional<z.ZodString>;
2339
+ format: z.ZodOptional<z.ZodEnum<{
2340
+ json: "json";
2341
+ summary: "summary";
2342
+ }>>;
2343
+ limit: z.ZodOptional<z.ZodNumber>;
2344
+ query: z.ZodOptional<z.ZodString>;
2345
+ }, z.core.$strict>;
2346
+ readonly title: "List Available Countries";
2347
+ }, {
2348
+ readonly description: "Use this when a musician wants to promote a new single or release with ads (\"promote my new single\", \"run ads for my song\"): it checks whether a Smart Campaign or YouTube campaign is ready before dynamoi_launch_campaign. This validates readiness and targeting without creating a campaign. Complete budget inputs also return the shared, nonbinding campaign funding preview with known or unavailable credit coverage, card upper bounds and expiry timing. For TOTAL budgets the preview describes total-daily funding for web and native creation; MCP TOTAL launch uses existing credits only, cannot authorize card funding, and does not accept the preview's total-daily consent. Do not use this to create or mutate campaigns.";
2349
+ readonly destructiveHint: false;
2350
+ readonly name: "dynamoi_get_campaign_readiness";
2351
+ readonly openWorldHint: false;
2352
+ readonly outputSchema: z.ZodObject<{
2353
+ status: z.ZodEnum<{
2354
+ success: "success";
2355
+ error: "error";
2356
+ partial_success: "partial_success";
2357
+ }>;
2358
+ recovery?: z.ZodOptional<z.ZodObject<{
2359
+ actions: z.ZodArray<z.ZodString>;
2360
+ affectedSelection: z.ZodNullable<z.ZodObject<{
2361
+ id: z.ZodString;
2362
+ kind: z.ZodString;
2363
+ }, z.core.$strip>>;
2364
+ kind: z.ZodString;
2365
+ occurredAt: z.ZodString;
2366
+ reasonCode: z.ZodOptional<z.ZodString>;
2367
+ retryAfter: z.ZodNullable<z.ZodString>;
2368
+ stage: z.ZodString;
2369
+ }, z.core.$strip>> | undefined;
2370
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
2371
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
2372
+ code: z.ZodOptional<z.ZodEnum<{
2373
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
2374
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
2375
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
2376
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
2377
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
2378
+ STATE_CONFLICT: "STATE_CONFLICT";
2379
+ QUOTE_CHANGED: "QUOTE_CHANGED";
2380
+ RATE_LIMITED: "RATE_LIMITED";
2381
+ OUTPUT_INVALID: "OUTPUT_INVALID";
2382
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
2383
+ }>>;
2384
+ draftId: z.ZodOptional<z.ZodString>;
2385
+ failureStage: z.ZodOptional<z.ZodString>;
2386
+ field: z.ZodOptional<z.ZodString>;
2387
+ nextAction: z.ZodOptional<z.ZodObject<{
2388
+ field: z.ZodOptional<z.ZodString>;
2389
+ kind: z.ZodEnum<{
2390
+ provide_input: "provide_input";
2391
+ read_status: "read_status";
2392
+ reconnect: "reconnect";
2393
+ handoff: "handoff";
2394
+ }>;
2395
+ reason: z.ZodOptional<z.ZodString>;
2396
+ }, z.core.$strict>>;
2397
+ prerequisite: z.ZodOptional<z.ZodString>;
2398
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
2399
+ retryable: z.ZodOptional<z.ZodBoolean>;
2400
+ screeningResult: z.ZodOptional<z.ZodString>;
2401
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
2402
+ kind: z.ZodOptional<z.ZodEnum<{
2403
+ unknown: "unknown";
2404
+ platform: "platform";
2405
+ validation: "validation";
2406
+ business: "business";
2407
+ }>>;
2408
+ message: z.ZodOptional<z.ZodString>;
2409
+ }, z.core.$strict>;
2410
+ readonly readOnlyHint: true;
2411
+ readonly schema: z.ZodObject<{
2412
+ adCopy: z.ZodOptional<z.ZodString>;
2413
+ artistId: z.ZodString;
2414
+ budgetAmount: z.ZodOptional<z.ZodNumber>;
2415
+ budgetType: z.ZodOptional<z.ZodEnum<{
2416
+ DAILY: "DAILY";
2417
+ TOTAL: "TOTAL";
2418
+ }>>;
2419
+ campaignType: z.ZodEnum<{
2420
+ SMART_CAMPAIGN: "SMART_CAMPAIGN";
2421
+ YOUTUBE: "YOUTUBE";
2422
+ }>;
2423
+ contentType: z.ZodOptional<z.ZodEnum<{
2424
+ TRACK: "TRACK";
2425
+ ALBUM: "ALBUM";
2426
+ PLAYLIST: "PLAYLIST";
2427
+ VIDEO: "VIDEO";
2428
+ }>>;
2429
+ endDate: z.ZodOptional<z.ZodString>;
1502
2430
  format: z.ZodOptional<z.ZodEnum<{
1503
2431
  json: "json";
1504
2432
  summary: "summary";
@@ -1535,9 +2463,23 @@ export declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
1535
2463
  readonly outputSchema: z.ZodObject<{
1536
2464
  status: z.ZodEnum<{
1537
2465
  success: "success";
1538
- partial_success: "partial_success";
1539
2466
  error: "error";
2467
+ partial_success: "partial_success";
1540
2468
  }>;
2469
+ recovery?: z.ZodOptional<z.ZodObject<{
2470
+ actions: z.ZodArray<z.ZodString>;
2471
+ affectedSelection: z.ZodNullable<z.ZodObject<{
2472
+ id: z.ZodString;
2473
+ kind: z.ZodString;
2474
+ }, z.core.$strip>>;
2475
+ kind: z.ZodString;
2476
+ occurredAt: z.ZodString;
2477
+ reasonCode: z.ZodOptional<z.ZodString>;
2478
+ retryAfter: z.ZodNullable<z.ZodString>;
2479
+ stage: z.ZodString;
2480
+ }, z.core.$strip>> | undefined;
2481
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
2482
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1541
2483
  code: z.ZodOptional<z.ZodEnum<{
1542
2484
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1543
2485
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1570,9 +2512,9 @@ export declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
1570
2512
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1571
2513
  kind: z.ZodOptional<z.ZodEnum<{
1572
2514
  unknown: "unknown";
2515
+ platform: "platform";
1573
2516
  validation: "validation";
1574
2517
  business: "business";
1575
- platform: "platform";
1576
2518
  }>>;
1577
2519
  message: z.ZodOptional<z.ZodString>;
1578
2520
  }, z.core.$strict>;
@@ -1590,9 +2532,23 @@ export declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
1590
2532
  readonly outputSchema: z.ZodObject<{
1591
2533
  status: z.ZodEnum<{
1592
2534
  success: "success";
1593
- partial_success: "partial_success";
1594
2535
  error: "error";
2536
+ partial_success: "partial_success";
1595
2537
  }>;
2538
+ recovery?: z.ZodOptional<z.ZodObject<{
2539
+ actions: z.ZodArray<z.ZodString>;
2540
+ affectedSelection: z.ZodNullable<z.ZodObject<{
2541
+ id: z.ZodString;
2542
+ kind: z.ZodString;
2543
+ }, z.core.$strip>>;
2544
+ kind: z.ZodString;
2545
+ occurredAt: z.ZodString;
2546
+ reasonCode: z.ZodOptional<z.ZodString>;
2547
+ retryAfter: z.ZodNullable<z.ZodString>;
2548
+ stage: z.ZodString;
2549
+ }, z.core.$strip>> | undefined;
2550
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
2551
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1596
2552
  code: z.ZodOptional<z.ZodEnum<{
1597
2553
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1598
2554
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1625,9 +2581,9 @@ export declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
1625
2581
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1626
2582
  kind: z.ZodOptional<z.ZodEnum<{
1627
2583
  unknown: "unknown";
2584
+ platform: "platform";
1628
2585
  validation: "validation";
1629
2586
  business: "business";
1630
- platform: "platform";
1631
2587
  }>>;
1632
2588
  message: z.ZodOptional<z.ZodString>;
1633
2589
  }, z.core.$strict>;
@@ -1638,6 +2594,83 @@ export declare const PHASE_ONBOARDING_TOOL_DEFINITIONS: readonly [{
1638
2594
  readonly title: "Start Meta Connection";
1639
2595
  }];
1640
2596
  export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
2597
+ readonly description: "Read ad copy for a Smart Campaign creation draft, or save copy by providing save with the revision read. Full profile only; editor access required. Refuses submitted campaigns. Never launches, submits or publishes.";
2598
+ readonly destructiveHint: false;
2599
+ readonly name: "dynamoi_smart_campaign_ad_copy";
2600
+ readonly openWorldHint: false;
2601
+ readonly outputSchema: z.ZodObject<{
2602
+ status: z.ZodEnum<{
2603
+ success: "success";
2604
+ error: "error";
2605
+ partial_success: "partial_success";
2606
+ }>;
2607
+ recovery?: z.ZodOptional<z.ZodObject<{
2608
+ actions: z.ZodArray<z.ZodString>;
2609
+ affectedSelection: z.ZodNullable<z.ZodObject<{
2610
+ id: z.ZodString;
2611
+ kind: z.ZodString;
2612
+ }, z.core.$strip>>;
2613
+ kind: z.ZodString;
2614
+ occurredAt: z.ZodString;
2615
+ reasonCode: z.ZodOptional<z.ZodString>;
2616
+ retryAfter: z.ZodNullable<z.ZodString>;
2617
+ stage: z.ZodString;
2618
+ }, z.core.$strip>> | undefined;
2619
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
2620
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
2621
+ code: z.ZodOptional<z.ZodEnum<{
2622
+ ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
2623
+ INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
2624
+ CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
2625
+ INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
2626
+ TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
2627
+ STATE_CONFLICT: "STATE_CONFLICT";
2628
+ QUOTE_CHANGED: "QUOTE_CHANGED";
2629
+ RATE_LIMITED: "RATE_LIMITED";
2630
+ OUTPUT_INVALID: "OUTPUT_INVALID";
2631
+ UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
2632
+ }>>;
2633
+ draftId: z.ZodOptional<z.ZodString>;
2634
+ failureStage: z.ZodOptional<z.ZodString>;
2635
+ field: z.ZodOptional<z.ZodString>;
2636
+ nextAction: z.ZodOptional<z.ZodObject<{
2637
+ field: z.ZodOptional<z.ZodString>;
2638
+ kind: z.ZodEnum<{
2639
+ provide_input: "provide_input";
2640
+ read_status: "read_status";
2641
+ reconnect: "reconnect";
2642
+ handoff: "handoff";
2643
+ }>;
2644
+ reason: z.ZodOptional<z.ZodString>;
2645
+ }, z.core.$strict>>;
2646
+ prerequisite: z.ZodOptional<z.ZodString>;
2647
+ retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
2648
+ retryable: z.ZodOptional<z.ZodBoolean>;
2649
+ screeningResult: z.ZodOptional<z.ZodString>;
2650
+ data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
2651
+ kind: z.ZodOptional<z.ZodEnum<{
2652
+ unknown: "unknown";
2653
+ platform: "platform";
2654
+ validation: "validation";
2655
+ business: "business";
2656
+ }>>;
2657
+ message: z.ZodOptional<z.ZodString>;
2658
+ }, z.core.$strict>;
2659
+ readonly readOnlyHint: false;
2660
+ readonly schema: z.ZodObject<{
2661
+ artistId: z.ZodString;
2662
+ campaignId: z.ZodString;
2663
+ save: z.ZodOptional<z.ZodObject<{
2664
+ adCopy: z.ZodString;
2665
+ expectedUpdatedAt: z.ZodString;
2666
+ mode: z.ZodEnum<{
2667
+ assisted: "assisted";
2668
+ preserve: "preserve";
2669
+ }>;
2670
+ }, z.core.$strict>>;
2671
+ }, z.core.$strict>;
2672
+ readonly title: "Smart Campaign Ad Copy";
2673
+ }, {
1641
2674
  readonly description: "Create the same unpaid Stripe Checkout the dashboard's Add campaign funds button creates, in the artist's bound currency, and return its URL for the user to open and pay. Call it first WITHOUT confirm to get the exact amount and currency; show both to the user and obtain their explicit approval, then call again with confirm=true, that currency, the same amountMinor and the same requestId (retrying within 24 hours returns the same session; once a payment exists for that requestId, or after a day, use a new requestId). This never charges anyone or records a deposit: funds count as cleared only after Stripe says paid, which dynamoi_get_billing reports in prefundPayments (pending, cleared, failed or held). Refused when funding is on hold, billing setup is required, the amount is outside the allowed range or the currency is not live.";
1642
2675
  readonly destructiveHint: false;
1643
2676
  readonly idempotentHint: true;
@@ -1646,9 +2679,23 @@ export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
1646
2679
  readonly outputSchema: z.ZodObject<{
1647
2680
  status: z.ZodEnum<{
1648
2681
  success: "success";
1649
- partial_success: "partial_success";
1650
2682
  error: "error";
2683
+ partial_success: "partial_success";
1651
2684
  }>;
2685
+ recovery?: z.ZodOptional<z.ZodObject<{
2686
+ actions: z.ZodArray<z.ZodString>;
2687
+ affectedSelection: z.ZodNullable<z.ZodObject<{
2688
+ id: z.ZodString;
2689
+ kind: z.ZodString;
2690
+ }, z.core.$strip>>;
2691
+ kind: z.ZodString;
2692
+ occurredAt: z.ZodString;
2693
+ reasonCode: z.ZodOptional<z.ZodString>;
2694
+ retryAfter: z.ZodNullable<z.ZodString>;
2695
+ stage: z.ZodString;
2696
+ }, z.core.$strip>> | undefined;
2697
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
2698
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1652
2699
  code: z.ZodOptional<z.ZodEnum<{
1653
2700
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1654
2701
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1681,9 +2728,9 @@ export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
1681
2728
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1682
2729
  kind: z.ZodOptional<z.ZodEnum<{
1683
2730
  unknown: "unknown";
2731
+ platform: "platform";
1684
2732
  validation: "validation";
1685
2733
  business: "business";
1686
- platform: "platform";
1687
2734
  }>>;
1688
2735
  message: z.ZodOptional<z.ZodString>;
1689
2736
  }, z.core.$strict>;
@@ -1697,16 +2744,30 @@ export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
1697
2744
  }, z.core.$strict>;
1698
2745
  readonly title: "Add Campaign Funds";
1699
2746
  }, {
1700
- readonly description: "Inspect an artist's open YouTube draft with action=inspect after an interrupted launch. Returns completed steps, screening, failure stage, and updatedAt. Use action=discard only when the user explicitly asks to discard that draft, supplying its campaignId, expectedUpdatedAt from inspect, and userIntentSummary. Discard cannot be undone.";
2747
+ readonly description: "Full profile; editor access required. Returns the current draft summary in data and the native operation response in stepResult. Read native setup with setup, browse videos with videos and optional pageToken, screen with screen and videoId. Save draft steps with save_content/contentSave={campaignId,videoId,playlistId,strategy}, save_location/locationSave={campaignId,targeting:{mode:GLOBAL}|{mode:COUNTRIES,countries:[US]}}, save_ad_copy/adCopySave={campaignId,adCopy,mode:assisted|preserve}, or save_budget/budgetSave={campaignId,budgetAmountCents,budgetType,endDate,currency?,budgetAmountMinor?}. Amounts are exact minor units in the artist currency; use the setup budget policy. Reuse the campaignId when retrying. Saves use native last-write-wins semantics; re-read setup after ambiguous outcomes. Draft saves never launch, change live campaigns or call Google Ads; launch stays on dynamoi_launch_campaign. Inspect a recoverable draft with inspect. Use discard only on explicit user request with campaignId, expectedUpdatedAt from inspect and userIntentSummary. Discard cannot be undone.";
1701
2748
  readonly destructiveHint: true;
1702
2749
  readonly name: "dynamoi_manage_youtube_draft";
1703
2750
  readonly openWorldHint: false;
1704
2751
  readonly outputSchema: z.ZodObject<{
1705
2752
  status: z.ZodEnum<{
1706
2753
  success: "success";
1707
- partial_success: "partial_success";
1708
2754
  error: "error";
2755
+ partial_success: "partial_success";
1709
2756
  }>;
2757
+ recovery?: z.ZodOptional<z.ZodObject<{
2758
+ actions: z.ZodArray<z.ZodString>;
2759
+ affectedSelection: z.ZodNullable<z.ZodObject<{
2760
+ id: z.ZodString;
2761
+ kind: z.ZodString;
2762
+ }, z.core.$strip>>;
2763
+ kind: z.ZodString;
2764
+ occurredAt: z.ZodString;
2765
+ reasonCode: z.ZodOptional<z.ZodString>;
2766
+ retryAfter: z.ZodNullable<z.ZodString>;
2767
+ stage: z.ZodString;
2768
+ }, z.core.$strip>> | undefined;
2769
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
2770
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1710
2771
  code: z.ZodOptional<z.ZodEnum<{
1711
2772
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1712
2773
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1739,22 +2800,72 @@ export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
1739
2800
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1740
2801
  kind: z.ZodOptional<z.ZodEnum<{
1741
2802
  unknown: "unknown";
2803
+ platform: "platform";
1742
2804
  validation: "validation";
1743
2805
  business: "business";
1744
- platform: "platform";
1745
2806
  }>>;
1746
2807
  message: z.ZodOptional<z.ZodString>;
2808
+ stepResult: z.ZodOptional<z.ZodObject<{}, z.core.$loose>>;
1747
2809
  }, z.core.$strict>;
1748
2810
  readonly readOnlyHint: false;
1749
2811
  readonly schema: z.ZodObject<{
1750
2812
  action: z.ZodEnum<{
2813
+ save_budget: "save_budget";
2814
+ save_location: "save_location";
1751
2815
  inspect: "inspect";
1752
2816
  discard: "discard";
2817
+ setup: "setup";
2818
+ videos: "videos";
2819
+ screen: "screen";
2820
+ save_content: "save_content";
2821
+ save_ad_copy: "save_ad_copy";
1753
2822
  }>;
2823
+ adCopySave: z.ZodOptional<z.ZodObject<{
2824
+ adCopy: z.ZodString;
2825
+ campaignId: z.ZodUUID;
2826
+ mode: z.ZodEnum<{
2827
+ assisted: "assisted";
2828
+ preserve: "preserve";
2829
+ }>;
2830
+ }, z.core.$strict>>;
1754
2831
  artistId: z.ZodString;
2832
+ budgetSave: z.ZodOptional<z.ZodObject<{
2833
+ budgetAmountCents: z.ZodNumber;
2834
+ budgetAmountMinor: z.ZodOptional<z.ZodNumber>;
2835
+ budgetType: z.ZodEnum<{
2836
+ DAILY: "DAILY";
2837
+ TOTAL: "TOTAL";
2838
+ }>;
2839
+ campaignId: z.ZodUUID;
2840
+ currency: z.ZodOptional<z.ZodString>;
2841
+ endDate: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
2842
+ }, z.core.$strict>>;
1755
2843
  campaignId: z.ZodOptional<z.ZodString>;
2844
+ contentSave: z.ZodOptional<z.ZodObject<{
2845
+ campaignId: z.ZodUUID;
2846
+ playlistId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2847
+ strategy: z.ZodEnum<{
2848
+ CHEAPEST_VIEWS: "CHEAPEST_VIEWS";
2849
+ ORGANIC_VIEWS: "ORGANIC_VIEWS";
2850
+ SUBSCRIBERS: "SUBSCRIBERS";
2851
+ ORGANIC_VIEWS_AND_SUBSCRIBERS: "ORGANIC_VIEWS_AND_SUBSCRIBERS";
2852
+ ADSENSE_ROI: "ADSENSE_ROI";
2853
+ }>;
2854
+ videoId: z.ZodString;
2855
+ }, z.core.$strict>>;
1756
2856
  expectedUpdatedAt: z.ZodOptional<z.ZodString>;
2857
+ locationSave: z.ZodOptional<z.ZodObject<{
2858
+ campaignId: z.ZodUUID;
2859
+ targeting: z.ZodUnion<readonly [z.ZodObject<{
2860
+ mode: z.ZodLiteral<"GLOBAL">;
2861
+ }, z.core.$strict>, z.ZodObject<{
2862
+ countries: z.ZodArray<z.ZodString>;
2863
+ mode: z.ZodLiteral<"COUNTRIES">;
2864
+ }, z.core.$strict>]>;
2865
+ }, z.core.$strict>>;
2866
+ pageToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1757
2867
  userIntentSummary: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2868
+ videoId: z.ZodOptional<z.ZodString>;
1758
2869
  }, z.core.$strict>;
1759
2870
  readonly title: "Manage YouTube Draft";
1760
2871
  }, {
@@ -1766,9 +2877,23 @@ export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
1766
2877
  readonly outputSchema: z.ZodObject<{
1767
2878
  status: z.ZodEnum<{
1768
2879
  success: "success";
1769
- partial_success: "partial_success";
1770
2880
  error: "error";
2881
+ partial_success: "partial_success";
1771
2882
  }>;
2883
+ recovery?: z.ZodOptional<z.ZodObject<{
2884
+ actions: z.ZodArray<z.ZodString>;
2885
+ affectedSelection: z.ZodNullable<z.ZodObject<{
2886
+ id: z.ZodString;
2887
+ kind: z.ZodString;
2888
+ }, z.core.$strip>>;
2889
+ kind: z.ZodString;
2890
+ occurredAt: z.ZodString;
2891
+ reasonCode: z.ZodOptional<z.ZodString>;
2892
+ retryAfter: z.ZodNullable<z.ZodString>;
2893
+ stage: z.ZodString;
2894
+ }, z.core.$strip>> | undefined;
2895
+ validationCode?: z.ZodOptional<z.ZodString> | undefined;
2896
+ validationStage?: z.ZodOptional<z.ZodString> | undefined;
1772
2897
  code: z.ZodOptional<z.ZodEnum<{
1773
2898
  ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
1774
2899
  INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
@@ -1801,9 +2926,9 @@ export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
1801
2926
  data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
1802
2927
  kind: z.ZodOptional<z.ZodEnum<{
1803
2928
  unknown: "unknown";
2929
+ platform: "platform";
1804
2930
  validation: "validation";
1805
2931
  business: "business";
1806
- platform: "platform";
1807
2932
  }>>;
1808
2933
  message: z.ZodOptional<z.ZodString>;
1809
2934
  }, z.core.$strict>;
@@ -1827,14 +2952,14 @@ export declare const PHASE_2_TOOL_DEFINITIONS: readonly [{
1827
2952
  expectedCurrentBudgetAmount: z.ZodOptional<z.ZodNumber>;
1828
2953
  expectedCurrentEndDate: z.ZodOptional<z.ZodString>;
1829
2954
  expectedCurrentStatus: z.ZodOptional<z.ZodEnum<{
1830
- ACTIVE: "ACTIVE";
1831
- PAUSED: "PAUSED";
1832
- ARCHIVED: "ARCHIVED";
1833
2955
  AWAITING_SMART_LINK: "AWAITING_SMART_LINK";
1834
2956
  CONTENT_VALIDATION: "CONTENT_VALIDATION";
1835
2957
  DEPLOYING: "DEPLOYING";
1836
2958
  READY_FOR_REVIEW: "READY_FOR_REVIEW";
2959
+ ACTIVE: "ACTIVE";
2960
+ PAUSED: "PAUSED";
1837
2961
  SUBSCRIPTION_PAUSED: "SUBSCRIPTION_PAUSED";
2962
+ ARCHIVED: "ARCHIVED";
1838
2963
  FAILED: "FAILED";
1839
2964
  ENDED: "ENDED";
1840
2965
  }>>;