@dynamoi/mcp 1.0.7 → 1.0.9
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/CAPABILITY_PARITY.md +18 -8
- package/CHANGELOG.md +12 -0
- package/README.md +36 -23
- package/dist/auth/protected-resource.d.ts +19 -1
- package/dist/auth/protected-resource.js +396 -4
- package/dist/campaign-limits.d.ts +16 -0
- package/dist/campaign-limits.js +22 -0
- package/dist/flow-types.d.ts +16 -8
- package/dist/index.d.ts +9 -5
- package/dist/index.js +2139 -1188
- package/dist/readiness-types.d.ts +6 -1
- package/dist/server/about.d.ts +17 -3
- package/dist/server/account-settings-tools.d.ts +328 -0
- package/dist/server/artist-intake-tools.d.ts +93 -0
- package/dist/server/channel-results-schema.d.ts +1 -0
- package/dist/server/create-server.d.ts +25 -7
- package/dist/server/distribution-tools.d.ts +233 -9
- package/dist/server/openai-tools.d.ts +32 -4
- package/dist/server/output-schemas.d.ts +386 -28
- package/dist/server/shop-tools.d.ts +83 -3
- package/dist/server/smart-campaign-creative.d.ts +477 -0
- package/dist/server/smart-link-theme-preview.d.ts +78 -0
- package/dist/server/smart-link-tools.d.ts +298 -33
- package/dist/server/support-tools.d.ts +21 -7
- package/dist/server/tools.d.ts +1258 -133
- package/dist/server/workflow-tools.d.ts +32 -4
- package/dist/server/workspace/tool.d.ts +2 -2
- package/dist/server/youtube-channel-data-schema.d.ts +1 -1
- package/dist/shop-limits.d.ts +6 -0
- package/dist/shop-limits.js +13 -0
- package/dist/types.d.ts +18 -0
- package/package.json +22 -4
- package/server.json +1 -1
|
@@ -2,6 +2,16 @@ import * as z from "zod/v4";
|
|
|
2
2
|
export declare const DynamoiGetDistributionApplicationInputSchema: z.ZodObject<{
|
|
3
3
|
artistId: z.ZodString;
|
|
4
4
|
}, z.core.$strict>;
|
|
5
|
+
export declare const DynamoiGetDistributionStatusInputSchema: z.ZodObject<{
|
|
6
|
+
artistId: z.ZodString;
|
|
7
|
+
section: z.ZodEnum<{
|
|
8
|
+
application: "application";
|
|
9
|
+
agreement: "agreement";
|
|
10
|
+
catalog: "catalog";
|
|
11
|
+
releases: "releases";
|
|
12
|
+
foundation: "foundation";
|
|
13
|
+
}>;
|
|
14
|
+
}, z.core.$strict>;
|
|
5
15
|
export declare const DynamoiApplyForDistributionInputSchema: z.ZodObject<{
|
|
6
16
|
adultSignerAttestation: z.ZodLiteral<true>;
|
|
7
17
|
applicantCountry: z.ZodString;
|
|
@@ -11,7 +21,189 @@ export declare const DynamoiApplyForDistributionInputSchema: z.ZodObject<{
|
|
|
11
21
|
taxResidencyCountry: z.ZodString;
|
|
12
22
|
userIntentSummary: z.ZodString;
|
|
13
23
|
}, z.core.$strict>;
|
|
24
|
+
export declare const DynamoiPrepareDistributionReleaseInputSchema: z.ZodObject<{
|
|
25
|
+
artistId: z.ZodString;
|
|
26
|
+
desiredReleaseDate: z.ZodString;
|
|
27
|
+
hasCollaborators: z.ZodBoolean;
|
|
28
|
+
labelName: z.ZodNullable<z.ZodString>;
|
|
29
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
30
|
+
releaseTitle: z.ZodString;
|
|
31
|
+
releaseType: z.ZodString;
|
|
32
|
+
splits: z.ZodArray<z.ZodObject<{
|
|
33
|
+
payeeEmail: z.ZodString;
|
|
34
|
+
payeeName: z.ZodString;
|
|
35
|
+
payeeRole: z.ZodNullable<z.ZodString>;
|
|
36
|
+
sharePercent: z.ZodNumber;
|
|
37
|
+
}, z.core.$strict>>;
|
|
38
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
39
|
+
isrc: z.ZodNullable<z.ZodString>;
|
|
40
|
+
title: z.ZodString;
|
|
41
|
+
trackNumber: z.ZodNumber;
|
|
42
|
+
versionTitle: z.ZodNullable<z.ZodString>;
|
|
43
|
+
}, z.core.$strict>>;
|
|
44
|
+
}, z.core.$strict>;
|
|
14
45
|
export declare const DISTRIBUTION_TOOL_DEFINITIONS: readonly [{
|
|
46
|
+
readonly description: "Prepare metadata, tracks and proposed splits for artist review in a private expiring web form. Does not submit a release, attest rights, accept agreements or invite collaborators.";
|
|
47
|
+
readonly destructiveHint: true;
|
|
48
|
+
readonly name: "dynamoi_prepare_distribution_release";
|
|
49
|
+
readonly openWorldHint: false;
|
|
50
|
+
readonly outputSchema: z.ZodObject<{
|
|
51
|
+
status: z.ZodEnum<{
|
|
52
|
+
success: "success";
|
|
53
|
+
error: "error";
|
|
54
|
+
partial_success: "partial_success";
|
|
55
|
+
}>;
|
|
56
|
+
recovery?: z.ZodOptional<z.ZodObject<{
|
|
57
|
+
actions: z.ZodArray<z.ZodString>;
|
|
58
|
+
affectedSelection: z.ZodNullable<z.ZodObject<{
|
|
59
|
+
id: z.ZodString;
|
|
60
|
+
kind: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>;
|
|
62
|
+
kind: z.ZodString;
|
|
63
|
+
occurredAt: z.ZodString;
|
|
64
|
+
reasonCode: z.ZodOptional<z.ZodString>;
|
|
65
|
+
retryAfter: z.ZodNullable<z.ZodString>;
|
|
66
|
+
stage: z.ZodString;
|
|
67
|
+
}, z.core.$strip>> | undefined;
|
|
68
|
+
validationCode?: z.ZodOptional<z.ZodString> | undefined;
|
|
69
|
+
validationStage?: z.ZodOptional<z.ZodString> | undefined;
|
|
70
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
71
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
72
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
73
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
74
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
75
|
+
TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
|
|
76
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
77
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
78
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
79
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
80
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
81
|
+
}>>;
|
|
82
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
83
|
+
failureStage: z.ZodOptional<z.ZodString>;
|
|
84
|
+
field: z.ZodOptional<z.ZodString>;
|
|
85
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
86
|
+
field: z.ZodOptional<z.ZodString>;
|
|
87
|
+
kind: z.ZodEnum<{
|
|
88
|
+
provide_input: "provide_input";
|
|
89
|
+
read_status: "read_status";
|
|
90
|
+
reconnect: "reconnect";
|
|
91
|
+
handoff: "handoff";
|
|
92
|
+
}>;
|
|
93
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
94
|
+
}, z.core.$strict>>;
|
|
95
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
96
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
+
screeningResult: z.ZodOptional<z.ZodString>;
|
|
99
|
+
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
100
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
101
|
+
unknown: "unknown";
|
|
102
|
+
platform: "platform";
|
|
103
|
+
validation: "validation";
|
|
104
|
+
business: "business";
|
|
105
|
+
}>>;
|
|
106
|
+
message: z.ZodOptional<z.ZodString>;
|
|
107
|
+
}, z.core.$strict>;
|
|
108
|
+
readonly readOnlyHint: false;
|
|
109
|
+
readonly schema: z.ZodObject<{
|
|
110
|
+
artistId: z.ZodString;
|
|
111
|
+
desiredReleaseDate: z.ZodString;
|
|
112
|
+
hasCollaborators: z.ZodBoolean;
|
|
113
|
+
labelName: z.ZodNullable<z.ZodString>;
|
|
114
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
115
|
+
releaseTitle: z.ZodString;
|
|
116
|
+
releaseType: z.ZodString;
|
|
117
|
+
splits: z.ZodArray<z.ZodObject<{
|
|
118
|
+
payeeEmail: z.ZodString;
|
|
119
|
+
payeeName: z.ZodString;
|
|
120
|
+
payeeRole: z.ZodNullable<z.ZodString>;
|
|
121
|
+
sharePercent: z.ZodNumber;
|
|
122
|
+
}, z.core.$strict>>;
|
|
123
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
124
|
+
isrc: z.ZodNullable<z.ZodString>;
|
|
125
|
+
title: z.ZodString;
|
|
126
|
+
trackNumber: z.ZodNumber;
|
|
127
|
+
versionTitle: z.ZodNullable<z.ZodString>;
|
|
128
|
+
}, z.core.$strict>>;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
readonly title: "Prepare Release Handoff";
|
|
131
|
+
}, {
|
|
132
|
+
readonly description: "Read native foundation, application, agreement, catalog or release status for an accessible artist through the same owners as web/mobile. Release intake status requires editor access, as on web; catalog retains viewer scoping. Catalog is a status overview; releases returns the latest 20 submissions, not complete history. Rights and agreement attestation and sending releases to stores are done by the artist in web or the app.";
|
|
133
|
+
readonly destructiveHint: false;
|
|
134
|
+
readonly name: "dynamoi_get_distribution_status";
|
|
135
|
+
readonly openWorldHint: false;
|
|
136
|
+
readonly outputSchema: z.ZodObject<{
|
|
137
|
+
status: z.ZodEnum<{
|
|
138
|
+
success: "success";
|
|
139
|
+
error: "error";
|
|
140
|
+
partial_success: "partial_success";
|
|
141
|
+
}>;
|
|
142
|
+
recovery?: z.ZodOptional<z.ZodObject<{
|
|
143
|
+
actions: z.ZodArray<z.ZodString>;
|
|
144
|
+
affectedSelection: z.ZodNullable<z.ZodObject<{
|
|
145
|
+
id: z.ZodString;
|
|
146
|
+
kind: z.ZodString;
|
|
147
|
+
}, z.core.$strip>>;
|
|
148
|
+
kind: z.ZodString;
|
|
149
|
+
occurredAt: z.ZodString;
|
|
150
|
+
reasonCode: z.ZodOptional<z.ZodString>;
|
|
151
|
+
retryAfter: z.ZodNullable<z.ZodString>;
|
|
152
|
+
stage: z.ZodString;
|
|
153
|
+
}, z.core.$strip>> | undefined;
|
|
154
|
+
validationCode?: z.ZodOptional<z.ZodString> | undefined;
|
|
155
|
+
validationStage?: z.ZodOptional<z.ZodString> | undefined;
|
|
156
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
157
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
158
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
159
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
160
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
161
|
+
TENANT_ACCESS_DENIED: "TENANT_ACCESS_DENIED";
|
|
162
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
163
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
164
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
165
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
166
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
167
|
+
}>>;
|
|
168
|
+
draftId: z.ZodOptional<z.ZodString>;
|
|
169
|
+
failureStage: z.ZodOptional<z.ZodString>;
|
|
170
|
+
field: z.ZodOptional<z.ZodString>;
|
|
171
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
172
|
+
field: z.ZodOptional<z.ZodString>;
|
|
173
|
+
kind: z.ZodEnum<{
|
|
174
|
+
provide_input: "provide_input";
|
|
175
|
+
read_status: "read_status";
|
|
176
|
+
reconnect: "reconnect";
|
|
177
|
+
handoff: "handoff";
|
|
178
|
+
}>;
|
|
179
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
180
|
+
}, z.core.$strict>>;
|
|
181
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
182
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
183
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
184
|
+
screeningResult: z.ZodOptional<z.ZodString>;
|
|
185
|
+
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
186
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
187
|
+
unknown: "unknown";
|
|
188
|
+
platform: "platform";
|
|
189
|
+
validation: "validation";
|
|
190
|
+
business: "business";
|
|
191
|
+
}>>;
|
|
192
|
+
message: z.ZodOptional<z.ZodString>;
|
|
193
|
+
}, z.core.$strict>;
|
|
194
|
+
readonly readOnlyHint: true;
|
|
195
|
+
readonly schema: z.ZodObject<{
|
|
196
|
+
artistId: z.ZodString;
|
|
197
|
+
section: z.ZodEnum<{
|
|
198
|
+
application: "application";
|
|
199
|
+
agreement: "agreement";
|
|
200
|
+
catalog: "catalog";
|
|
201
|
+
releases: "releases";
|
|
202
|
+
foundation: "foundation";
|
|
203
|
+
}>;
|
|
204
|
+
}, z.core.$strict>;
|
|
205
|
+
readonly title: "Read Distribution Status";
|
|
206
|
+
}, {
|
|
15
207
|
readonly description: "Use this for \"get my music on Spotify\" or \"distribute my song\": Dynamoi distributes to 100+ stores and artists keep 90% of net receipts. Use this when the user asks whether an artist qualifies for Dynamoi music distribution, wants the five application requirements, or wants the status of an existing distribution application. It checks Spotify connection, at least 1,000 Spotify followers, at least 10,000 verified monthly listeners, connected Facebook Page plus Instagram professional identity, and a connected YouTube channel. Meeting all five requirements permits an application but never guarantees approval. When the connection tools are available, use purpose=distribution_identity for missing Meta or YouTube identity; otherwise tell the user: 'You can do this in the Dynamoi dashboard at https://dynamoi.com/dashboard.' Identity connections do not require advertising billing.";
|
|
16
208
|
readonly destructiveHint: false;
|
|
17
209
|
readonly name: "dynamoi_get_distribution_application";
|
|
@@ -19,9 +211,23 @@ export declare const DISTRIBUTION_TOOL_DEFINITIONS: readonly [{
|
|
|
19
211
|
readonly outputSchema: z.ZodObject<{
|
|
20
212
|
status: z.ZodEnum<{
|
|
21
213
|
success: "success";
|
|
22
|
-
partial_success: "partial_success";
|
|
23
214
|
error: "error";
|
|
215
|
+
partial_success: "partial_success";
|
|
24
216
|
}>;
|
|
217
|
+
recovery?: z.ZodOptional<z.ZodObject<{
|
|
218
|
+
actions: z.ZodArray<z.ZodString>;
|
|
219
|
+
affectedSelection: z.ZodNullable<z.ZodObject<{
|
|
220
|
+
id: z.ZodString;
|
|
221
|
+
kind: z.ZodString;
|
|
222
|
+
}, z.core.$strip>>;
|
|
223
|
+
kind: z.ZodString;
|
|
224
|
+
occurredAt: z.ZodString;
|
|
225
|
+
reasonCode: z.ZodOptional<z.ZodString>;
|
|
226
|
+
retryAfter: z.ZodNullable<z.ZodString>;
|
|
227
|
+
stage: z.ZodString;
|
|
228
|
+
}, z.core.$strip>> | undefined;
|
|
229
|
+
validationCode?: z.ZodOptional<z.ZodString> | undefined;
|
|
230
|
+
validationStage?: z.ZodOptional<z.ZodString> | undefined;
|
|
25
231
|
code: z.ZodOptional<z.ZodEnum<{
|
|
26
232
|
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
27
233
|
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
@@ -54,9 +260,9 @@ export declare const DISTRIBUTION_TOOL_DEFINITIONS: readonly [{
|
|
|
54
260
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
55
261
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
56
262
|
unknown: "unknown";
|
|
263
|
+
platform: "platform";
|
|
57
264
|
validation: "validation";
|
|
58
265
|
business: "business";
|
|
59
|
-
platform: "platform";
|
|
60
266
|
}>>;
|
|
61
267
|
message: z.ZodOptional<z.ZodString>;
|
|
62
268
|
}, z.core.$strict>;
|
|
@@ -66,17 +272,26 @@ export declare const DISTRIBUTION_TOOL_DEFINITIONS: readonly [{
|
|
|
66
272
|
}, z.core.$strict>;
|
|
67
273
|
readonly title: "Check Distribution Application";
|
|
68
274
|
}, {
|
|
69
|
-
readonly description: "Submit an artist's application for Dynamoi music distribution after the user explicitly asks to apply and all five eligibility requirements are met. This records an application for manual review; it does not approve distribution, accept an agreement, submit a release, transfer rights, configure splits or tax forms, or deliver music to stores. All three valid ISO 3166-1 alpha-2 country or territory codes, an adult signer attestation, confirmApplicationSubmission=true, and a concise userIntentSummary are required. Country, tax, payout, sanctions, and provider-delivery checks remain manual progression gates after intake; a valid code does not imply approval. Repeated submission is idempotent for an active application.";
|
|
70
|
-
readonly destructiveHint: false;
|
|
71
|
-
readonly idempotentHint: true;
|
|
72
|
-
readonly name: "dynamoi_apply_for_distribution";
|
|
73
|
-
readonly openWorldHint: true;
|
|
74
275
|
readonly outputSchema: z.ZodObject<{
|
|
75
276
|
status: z.ZodEnum<{
|
|
76
277
|
success: "success";
|
|
77
|
-
partial_success: "partial_success";
|
|
78
278
|
error: "error";
|
|
279
|
+
partial_success: "partial_success";
|
|
79
280
|
}>;
|
|
281
|
+
recovery?: z.ZodOptional<z.ZodObject<{
|
|
282
|
+
actions: z.ZodArray<z.ZodString>;
|
|
283
|
+
affectedSelection: z.ZodNullable<z.ZodObject<{
|
|
284
|
+
id: z.ZodString;
|
|
285
|
+
kind: z.ZodString;
|
|
286
|
+
}, z.core.$strip>>;
|
|
287
|
+
kind: z.ZodString;
|
|
288
|
+
occurredAt: z.ZodString;
|
|
289
|
+
reasonCode: z.ZodOptional<z.ZodString>;
|
|
290
|
+
retryAfter: z.ZodNullable<z.ZodString>;
|
|
291
|
+
stage: z.ZodString;
|
|
292
|
+
}, z.core.$strip>> | undefined;
|
|
293
|
+
validationCode?: z.ZodOptional<z.ZodString> | undefined;
|
|
294
|
+
validationStage?: z.ZodOptional<z.ZodString> | undefined;
|
|
80
295
|
code: z.ZodOptional<z.ZodEnum<{
|
|
81
296
|
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
82
297
|
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
@@ -109,12 +324,21 @@ export declare const DISTRIBUTION_TOOL_DEFINITIONS: readonly [{
|
|
|
109
324
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
110
325
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
111
326
|
unknown: "unknown";
|
|
327
|
+
platform: "platform";
|
|
112
328
|
validation: "validation";
|
|
113
329
|
business: "business";
|
|
114
|
-
platform: "platform";
|
|
115
330
|
}>>;
|
|
116
331
|
message: z.ZodOptional<z.ZodString>;
|
|
117
332
|
}, z.core.$strict>;
|
|
333
|
+
readonly description: "Submit an artist's application for Dynamoi music distribution after the user explicitly asks to apply and all five eligibility requirements are met. This records an application for manual review; it does not approve distribution, accept an agreement, submit a release, transfer rights, configure splits or tax forms, or deliver music to stores. All three valid ISO 3166-1 alpha-2 country or territory codes, an adult signer attestation, confirmApplicationSubmission=true, and a concise userIntentSummary are required. Country, tax, payout, sanctions, and provider-delivery checks remain manual progression gates after intake; a valid code does not imply approval. Repeated submission is idempotent for an active application.";
|
|
334
|
+
readonly destructiveHint: true;
|
|
335
|
+
readonly idempotentHint: true;
|
|
336
|
+
readonly name: "dynamoi_apply_for_distribution";
|
|
337
|
+
readonly openWorldHint: true;
|
|
338
|
+
readonly profiles: {
|
|
339
|
+
readonly directory: "advertised";
|
|
340
|
+
readonly full: "advertised";
|
|
341
|
+
};
|
|
118
342
|
readonly readOnlyHint: false;
|
|
119
343
|
readonly schema: z.ZodObject<{
|
|
120
344
|
adultSignerAttestation: z.ZodLiteral<true>;
|
|
@@ -42,9 +42,23 @@ export declare const OPENAI_TOOL_DEFINITIONS: readonly [{
|
|
|
42
42
|
readonly outputSchema: z.ZodObject<{
|
|
43
43
|
status: z.ZodEnum<{
|
|
44
44
|
success: "success";
|
|
45
|
-
partial_success: "partial_success";
|
|
46
45
|
error: "error";
|
|
46
|
+
partial_success: "partial_success";
|
|
47
47
|
}>;
|
|
48
|
+
recovery?: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
actions: z.ZodArray<z.ZodString>;
|
|
50
|
+
affectedSelection: z.ZodNullable<z.ZodObject<{
|
|
51
|
+
id: z.ZodString;
|
|
52
|
+
kind: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
kind: z.ZodString;
|
|
55
|
+
occurredAt: z.ZodString;
|
|
56
|
+
reasonCode: z.ZodOptional<z.ZodString>;
|
|
57
|
+
retryAfter: z.ZodNullable<z.ZodString>;
|
|
58
|
+
stage: z.ZodString;
|
|
59
|
+
}, z.core.$strip>> | undefined;
|
|
60
|
+
validationCode?: z.ZodOptional<z.ZodString> | undefined;
|
|
61
|
+
validationStage?: z.ZodOptional<z.ZodString> | undefined;
|
|
48
62
|
code: z.ZodOptional<z.ZodEnum<{
|
|
49
63
|
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
50
64
|
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
@@ -77,9 +91,9 @@ export declare const OPENAI_TOOL_DEFINITIONS: readonly [{
|
|
|
77
91
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
78
92
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
79
93
|
unknown: "unknown";
|
|
94
|
+
platform: "platform";
|
|
80
95
|
validation: "validation";
|
|
81
96
|
business: "business";
|
|
82
|
-
platform: "platform";
|
|
83
97
|
}>>;
|
|
84
98
|
message: z.ZodOptional<z.ZodString>;
|
|
85
99
|
}, z.core.$strict>;
|
|
@@ -96,9 +110,23 @@ export declare const OPENAI_TOOL_DEFINITIONS: readonly [{
|
|
|
96
110
|
readonly outputSchema: z.ZodObject<{
|
|
97
111
|
status: z.ZodEnum<{
|
|
98
112
|
success: "success";
|
|
99
|
-
partial_success: "partial_success";
|
|
100
113
|
error: "error";
|
|
114
|
+
partial_success: "partial_success";
|
|
101
115
|
}>;
|
|
116
|
+
recovery?: z.ZodOptional<z.ZodObject<{
|
|
117
|
+
actions: z.ZodArray<z.ZodString>;
|
|
118
|
+
affectedSelection: z.ZodNullable<z.ZodObject<{
|
|
119
|
+
id: z.ZodString;
|
|
120
|
+
kind: z.ZodString;
|
|
121
|
+
}, z.core.$strip>>;
|
|
122
|
+
kind: z.ZodString;
|
|
123
|
+
occurredAt: z.ZodString;
|
|
124
|
+
reasonCode: z.ZodOptional<z.ZodString>;
|
|
125
|
+
retryAfter: z.ZodNullable<z.ZodString>;
|
|
126
|
+
stage: z.ZodString;
|
|
127
|
+
}, z.core.$strip>> | undefined;
|
|
128
|
+
validationCode?: z.ZodOptional<z.ZodString> | undefined;
|
|
129
|
+
validationStage?: z.ZodOptional<z.ZodString> | undefined;
|
|
102
130
|
code: z.ZodOptional<z.ZodEnum<{
|
|
103
131
|
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
104
132
|
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
@@ -131,9 +159,9 @@ export declare const OPENAI_TOOL_DEFINITIONS: readonly [{
|
|
|
131
159
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
132
160
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
133
161
|
unknown: "unknown";
|
|
162
|
+
platform: "platform";
|
|
134
163
|
validation: "validation";
|
|
135
164
|
business: "business";
|
|
136
|
-
platform: "platform";
|
|
137
165
|
}>>;
|
|
138
166
|
message: z.ZodOptional<z.ZodString>;
|
|
139
167
|
}, z.core.$strict>;
|