@dynamoi/mcp 0.6.2 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/README.md +117 -70
- package/dist/auth/protected-resource.d.ts +2 -1
- package/dist/auth/protected-resource.js +1 -1
- package/dist/{chunk-53YNLVA3.js → chunk-CHQUK72A.js} +14 -14
- package/dist/chunk-CHQUK72A.js.map +1 -0
- package/dist/index.d.ts +109 -64
- package/dist/index.js +400 -391
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/server.json +3 -3
- package/dist/chunk-53YNLVA3.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -347,7 +347,7 @@ type GetCurrentUserData = {
|
|
|
347
347
|
recommendedNextActions: string[];
|
|
348
348
|
hints: string[];
|
|
349
349
|
};
|
|
350
|
-
type SmartLinkClaimStatus = "auto_approved" | "pending_ops_review" | "approved_by_ops" | "rejected";
|
|
350
|
+
type SmartLinkClaimStatus = "auto_approved" | "pending_ops_review" | "verification_deferred" | "approved_by_ops" | "rejected";
|
|
351
351
|
type SmartLinkPublishState = "published" | "unpublished";
|
|
352
352
|
type SmartLinkTakedownStatus = "none" | "active" | "resolved";
|
|
353
353
|
type SmartLinkOdesliStatus = "pending" | "resolved" | "failed";
|
|
@@ -415,6 +415,7 @@ type GetSmartLinkSummaryData = {
|
|
|
415
415
|
type SmartLinkAnalyticsTotals = {
|
|
416
416
|
anonymousVisits: number;
|
|
417
417
|
streamingServiceClicks: number;
|
|
418
|
+
youtubeVideoPlays: number;
|
|
418
419
|
shareClicks: number;
|
|
419
420
|
promoteCtaClicks: number;
|
|
420
421
|
};
|
|
@@ -733,47 +734,6 @@ declare const DynamoiOpenAiFetchInputSchema: z.ZodObject<{
|
|
|
733
734
|
id: z.ZodString;
|
|
734
735
|
}, z.core.$strict>;
|
|
735
736
|
|
|
736
|
-
type Phase3Adapter = {
|
|
737
|
-
getCurrentUser(input: unknown): Promise<ResultEnvelope<GetCurrentUserData | GetCurrentUserSummaryData>>;
|
|
738
|
-
listArtists(input: unknown): Promise<ResultEnvelope<ListArtistsData | ListArtistsSummaryData>>;
|
|
739
|
-
search(input: unknown): Promise<ResultEnvelope<SearchData | SearchSummaryData>>;
|
|
740
|
-
openAiSearch(input: unknown): Promise<ResultEnvelope<OpenAiSearchData>>;
|
|
741
|
-
openAiFetch(input: unknown): Promise<ResultEnvelope<OpenAiFetchData>>;
|
|
742
|
-
getArtist(input: unknown): Promise<ResultEnvelope<GetArtistData | GetArtistSummaryData>>;
|
|
743
|
-
getArtistAnalytics(input: unknown): Promise<ResultEnvelope<GetArtistAnalyticsJsonData | GetArtistAnalyticsSummaryData>>;
|
|
744
|
-
listCampaigns(input: unknown): Promise<ResultEnvelope<ListCampaignsJsonData | ListCampaignsSummaryData>>;
|
|
745
|
-
getCampaign(input: unknown): Promise<ResultEnvelope<GetCampaignData | GetCampaignSummaryData>>;
|
|
746
|
-
getCampaignAnalytics(input: unknown): Promise<ResultEnvelope<GetCampaignAnalyticsJsonData | GetCampaignAnalyticsSummaryData>>;
|
|
747
|
-
getBilling(input: unknown): Promise<ResultEnvelope<GetBillingData | GetBillingSummaryData>>;
|
|
748
|
-
startMetaConnection(input: unknown): Promise<ResultEnvelope<StartMetaConnectionData>>;
|
|
749
|
-
getPlatformStatus(input: unknown): Promise<ResultEnvelope<GetPlatformStatusData | GetPlatformStatusSummaryData>>;
|
|
750
|
-
startYoutubeChannelLink(input: unknown): Promise<ResultEnvelope<StartYoutubeChannelLinkData>>;
|
|
751
|
-
listAvailableCountries(input: unknown): Promise<ResultEnvelope<ListAvailableCountriesData | ListAvailableCountriesSummaryData>>;
|
|
752
|
-
getOnboardingStatus(input: unknown): Promise<ResultEnvelope<GetOnboardingStatusData | GetOnboardingStatusSummaryData>>;
|
|
753
|
-
getCampaignReadiness(input: unknown): Promise<ResultEnvelope<GetCampaignReadinessData | GetCampaignReadinessSummaryData>>;
|
|
754
|
-
getCampaignDeploymentStatus(input: unknown): Promise<ResultEnvelope<GetCampaignDeploymentStatusData | GetCampaignDeploymentStatusSummaryData>>;
|
|
755
|
-
pauseCampaign(input: unknown): Promise<ResultEnvelope<PauseResumeCampaignData>>;
|
|
756
|
-
resumeCampaign(input: unknown): Promise<ResultEnvelope<PauseResumeCampaignData>>;
|
|
757
|
-
updateBudget(input: unknown): Promise<ResultEnvelope<UpdateBudgetData>>;
|
|
758
|
-
updateCampaign(input: unknown): Promise<ResultEnvelope<UpdateCampaignData>>;
|
|
759
|
-
listMediaAssets(input: unknown): Promise<ResultEnvelope<ListMediaAssetsData | ListMediaAssetsSummaryData>>;
|
|
760
|
-
launchCampaign(input: unknown): Promise<ResultEnvelope<LaunchCampaignData>>;
|
|
761
|
-
createSmartLinkFromSpotify(input: unknown): Promise<ResultEnvelope<CreateSmartLinkFromSpotifyData>>;
|
|
762
|
-
createSmartLinksFromSpotifyArtist(input: unknown): Promise<ResultEnvelope<CreateSmartLinksFromSpotifyArtistData>>;
|
|
763
|
-
listSmartLinks(input: unknown): Promise<ResultEnvelope<ListSmartLinksData | ListSmartLinksSummaryData>>;
|
|
764
|
-
getSmartLink(input: unknown): Promise<ResultEnvelope<GetSmartLinkData | GetSmartLinkSummaryData>>;
|
|
765
|
-
getSmartLinkAnalytics(input: unknown): Promise<ResultEnvelope<GetSmartLinkAnalyticsData | GetSmartLinkAnalyticsSummaryData>>;
|
|
766
|
-
getSmartLinkArtistSettings(input: unknown): Promise<ResultEnvelope<SmartLinkSettingsData>>;
|
|
767
|
-
updateSmartLink(input: unknown): Promise<ResultEnvelope<UpdateSmartLinkData | UpdateSmartLinkArtistSettingsData | PublishSmartLinkData>>;
|
|
768
|
-
updateSmartLinkArtistSettings(input: unknown): Promise<ResultEnvelope<UpdateSmartLinkArtistSettingsData>>;
|
|
769
|
-
publishSmartLink(input: unknown): Promise<ResultEnvelope<PublishSmartLinkData>>;
|
|
770
|
-
unpublishSmartLink(input: unknown): Promise<ResultEnvelope<PublishSmartLinkData>>;
|
|
771
|
-
};
|
|
772
|
-
declare function createDynamoiMcpServer(options: {
|
|
773
|
-
adapter: Phase3Adapter;
|
|
774
|
-
websiteUrl?: string;
|
|
775
|
-
}): McpServer;
|
|
776
|
-
|
|
777
737
|
declare const DynamoiCreateSmartLinkFromSpotifyInputSchema: z.ZodObject<{
|
|
778
738
|
artistId: z.ZodString;
|
|
779
739
|
clientRequestId: z.ZodOptional<z.ZodString>;
|
|
@@ -799,6 +759,7 @@ declare const DynamoiListSmartLinksInputSchema: z.ZodObject<{
|
|
|
799
759
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
800
760
|
auto_approved: "auto_approved";
|
|
801
761
|
pending_ops_review: "pending_ops_review";
|
|
762
|
+
verification_deferred: "verification_deferred";
|
|
802
763
|
approved_by_ops: "approved_by_ops";
|
|
803
764
|
rejected: "rejected";
|
|
804
765
|
}>>;
|
|
@@ -835,14 +796,26 @@ declare const DynamoiGetSmartLinkInputSchema: z.ZodObject<{
|
|
|
835
796
|
DAILY: "DAILY";
|
|
836
797
|
TOTAL: "TOTAL";
|
|
837
798
|
}>>;
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
artist_settings: "artist_settings";
|
|
841
|
-
}>>>;
|
|
799
|
+
includeAnalytics: z.ZodOptional<z.ZodBoolean>;
|
|
800
|
+
includeArtistSettings: z.ZodOptional<z.ZodBoolean>;
|
|
842
801
|
includeBreakdowns: z.ZodOptional<z.ZodBoolean>;
|
|
843
802
|
playLinkId: z.ZodOptional<z.ZodString>;
|
|
844
803
|
spotifyUrl: z.ZodOptional<z.ZodString>;
|
|
845
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
|
+
};
|
|
846
819
|
declare const DynamoiGetSmartLinkAnalyticsInputSchema: z.ZodObject<{
|
|
847
820
|
dateRange: z.ZodOptional<z.ZodObject<{
|
|
848
821
|
end: z.ZodString;
|
|
@@ -917,7 +890,7 @@ declare const DynamoiPublishSmartLinkInputSchema: z.ZodObject<{
|
|
|
917
890
|
userIntentSummary: z.ZodOptional<z.ZodString>;
|
|
918
891
|
}, z.core.$strict>;
|
|
919
892
|
declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
|
|
920
|
-
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
|
|
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.";
|
|
921
894
|
readonly destructiveHint: true;
|
|
922
895
|
readonly idempotentHint: true;
|
|
923
896
|
readonly name: "dynamoi_create_smart_link_from_spotify";
|
|
@@ -930,6 +903,7 @@ declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
|
|
|
930
903
|
claimStatus: z.ZodEnum<{
|
|
931
904
|
auto_approved: "auto_approved";
|
|
932
905
|
pending_ops_review: "pending_ops_review";
|
|
906
|
+
verification_deferred: "verification_deferred";
|
|
933
907
|
approved_by_ops: "approved_by_ops";
|
|
934
908
|
rejected: "rejected";
|
|
935
909
|
}>;
|
|
@@ -1010,8 +984,8 @@ declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
|
|
|
1010
984
|
}, z.core.$strict>;
|
|
1011
985
|
readonly title: "Create Free Smart Link from Spotify";
|
|
1012
986
|
}, {
|
|
1013
|
-
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
|
|
1014
|
-
readonly destructiveHint:
|
|
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;
|
|
1015
989
|
readonly idempotentHint: true;
|
|
1016
990
|
readonly name: "dynamoi_create_smart_links_from_spotify_artist";
|
|
1017
991
|
readonly openWorldHint: true;
|
|
@@ -1036,6 +1010,7 @@ declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
|
|
|
1036
1010
|
claimStatus: z.ZodEnum<{
|
|
1037
1011
|
auto_approved: "auto_approved";
|
|
1038
1012
|
pending_ops_review: "pending_ops_review";
|
|
1013
|
+
verification_deferred: "verification_deferred";
|
|
1039
1014
|
approved_by_ops: "approved_by_ops";
|
|
1040
1015
|
rejected: "rejected";
|
|
1041
1016
|
}>;
|
|
@@ -1085,6 +1060,7 @@ declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
|
|
|
1085
1060
|
claimStatus: z.ZodEnum<{
|
|
1086
1061
|
auto_approved: "auto_approved";
|
|
1087
1062
|
pending_ops_review: "pending_ops_review";
|
|
1063
|
+
verification_deferred: "verification_deferred";
|
|
1088
1064
|
approved_by_ops: "approved_by_ops";
|
|
1089
1065
|
rejected: "rejected";
|
|
1090
1066
|
}>;
|
|
@@ -1167,6 +1143,7 @@ declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
|
|
|
1167
1143
|
claimStatus: z.ZodEnum<{
|
|
1168
1144
|
auto_approved: "auto_approved";
|
|
1169
1145
|
pending_ops_review: "pending_ops_review";
|
|
1146
|
+
verification_deferred: "verification_deferred";
|
|
1170
1147
|
approved_by_ops: "approved_by_ops";
|
|
1171
1148
|
rejected: "rejected";
|
|
1172
1149
|
}>;
|
|
@@ -1228,6 +1205,7 @@ declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
|
|
|
1228
1205
|
claimStatus: z.ZodOptional<z.ZodEnum<{
|
|
1229
1206
|
auto_approved: "auto_approved";
|
|
1230
1207
|
pending_ops_review: "pending_ops_review";
|
|
1208
|
+
verification_deferred: "verification_deferred";
|
|
1231
1209
|
approved_by_ops: "approved_by_ops";
|
|
1232
1210
|
rejected: "rejected";
|
|
1233
1211
|
}>>;
|
|
@@ -1252,7 +1230,7 @@ declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
|
|
|
1252
1230
|
}, z.core.$strict>;
|
|
1253
1231
|
readonly title: "List Smart Links";
|
|
1254
1232
|
}, {
|
|
1255
|
-
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.
|
|
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.";
|
|
1256
1234
|
readonly destructiveHint: false;
|
|
1257
1235
|
readonly name: "dynamoi_get_smart_link";
|
|
1258
1236
|
readonly openWorldHint: false;
|
|
@@ -1288,10 +1266,8 @@ declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
|
|
|
1288
1266
|
DAILY: "DAILY";
|
|
1289
1267
|
TOTAL: "TOTAL";
|
|
1290
1268
|
}>>;
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
artist_settings: "artist_settings";
|
|
1294
|
-
}>>>;
|
|
1269
|
+
includeAnalytics: z.ZodOptional<z.ZodBoolean>;
|
|
1270
|
+
includeArtistSettings: z.ZodOptional<z.ZodBoolean>;
|
|
1295
1271
|
includeBreakdowns: z.ZodOptional<z.ZodBoolean>;
|
|
1296
1272
|
playLinkId: z.ZodOptional<z.ZodString>;
|
|
1297
1273
|
spotifyUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -1351,6 +1327,10 @@ declare const PHASE_4_TOOL_DEFINITIONS: readonly [{
|
|
|
1351
1327
|
readonly title: "Update Smart Link";
|
|
1352
1328
|
}];
|
|
1353
1329
|
|
|
1330
|
+
declare const DateRangeSchema: z.ZodObject<{
|
|
1331
|
+
end: z.ZodString;
|
|
1332
|
+
start: z.ZodString;
|
|
1333
|
+
}, z.core.$strict>;
|
|
1354
1334
|
declare const ToolFormatSchema: z.ZodEnum<{
|
|
1355
1335
|
summary: "summary";
|
|
1356
1336
|
json: "json";
|
|
@@ -1411,11 +1391,17 @@ declare const DynamoiListCampaignsInputSchema: z.ZodObject<{
|
|
|
1411
1391
|
json: "json";
|
|
1412
1392
|
}>>;
|
|
1413
1393
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1414
|
-
status: z.ZodOptional<z.
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
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
|
+
}>>;
|
|
1419
1405
|
}, z.core.$strict>;
|
|
1420
1406
|
declare const DynamoiGetCampaignInputSchema: z.ZodObject<{
|
|
1421
1407
|
analyticsDateRange: z.ZodOptional<z.ZodObject<{
|
|
@@ -1710,7 +1696,7 @@ declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
1710
1696
|
}, z.core.$strict>;
|
|
1711
1697
|
readonly title: "Get Account Overview";
|
|
1712
1698
|
}, {
|
|
1713
|
-
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';
|
|
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.";
|
|
1714
1700
|
readonly destructiveHint: false;
|
|
1715
1701
|
readonly name: "dynamoi_list_artists";
|
|
1716
1702
|
readonly openWorldHint: false;
|
|
@@ -1743,7 +1729,7 @@ declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
1743
1729
|
}, z.core.$strict>;
|
|
1744
1730
|
readonly title: "List Artists";
|
|
1745
1731
|
}, {
|
|
1746
|
-
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
|
|
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.";
|
|
1747
1733
|
readonly destructiveHint: false;
|
|
1748
1734
|
readonly name: "dynamoi_search";
|
|
1749
1735
|
readonly openWorldHint: false;
|
|
@@ -1871,7 +1857,17 @@ declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
1871
1857
|
json: "json";
|
|
1872
1858
|
}>>;
|
|
1873
1859
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
1874
|
-
status: z.ZodOptional<z.
|
|
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
|
+
}>>;
|
|
1875
1871
|
}, z.core.$strict>;
|
|
1876
1872
|
readonly title: "List Campaigns";
|
|
1877
1873
|
}, {
|
|
@@ -1988,7 +1984,7 @@ declare const PHASE_1_TOOL_DEFINITIONS: readonly [{
|
|
|
1988
1984
|
}, z.core.$strict>;
|
|
1989
1985
|
readonly title: "Get Billing";
|
|
1990
1986
|
}, {
|
|
1991
|
-
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
|
|
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.";
|
|
1992
1988
|
readonly destructiveHint: false;
|
|
1993
1989
|
readonly name: "dynamoi_get_platform_status";
|
|
1994
1990
|
readonly openWorldHint: false;
|
|
@@ -2392,6 +2388,53 @@ declare const PHASE_3_TOOL_DEFINITIONS: readonly [{
|
|
|
2392
2388
|
readonly title: "Start Campaign Launch Workflow";
|
|
2393
2389
|
}];
|
|
2394
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
|
+
|
|
2395
2438
|
type HandleOptions = {
|
|
2396
2439
|
createServer: () => McpServer;
|
|
2397
2440
|
request: Request;
|
|
@@ -2416,4 +2459,6 @@ type HandleOptions = {
|
|
|
2416
2459
|
};
|
|
2417
2460
|
declare function handleMcpHttpRequest(options: HandleOptions): Promise<Response>;
|
|
2418
2461
|
|
|
2419
|
-
|
|
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 };
|