@dynamoi/mcp 0.7.1 → 1.0.0
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 +57 -59
- package/CHANGELOG.md +160 -0
- package/README.md +241 -132
- package/dist/auth/protected-resource.d.ts +5 -18
- package/dist/auth/protected-resource.d.ts.map +1 -1
- package/dist/auth/protected-resource.js +8 -12
- package/dist/auth/protected-resource.js.map +1 -1
- package/dist/{chunk-2jm8hjsz.js → chunk-3htwe57a.js} +19 -30
- package/dist/chunk-3htwe57a.js.map +10 -0
- package/dist/chunk-n5xmtwjj.js +9 -0
- package/dist/chunk-n5xmtwjj.js.map +10 -0
- package/dist/consent.d.ts +3 -3
- package/dist/consent.d.ts.map +1 -1
- package/dist/consent.js +8 -8
- package/dist/consent.js.map +1 -1
- package/dist/flow-types.d.ts +3 -3
- package/dist/flow-types.d.ts.map +1 -1
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1192 -577
- package/dist/index.js.map +18 -17
- package/dist/server/about.d.ts +74 -0
- package/dist/server/about.d.ts.map +1 -0
- package/dist/server/create-server.d.ts +18 -12
- package/dist/server/create-server.d.ts.map +1 -1
- package/dist/server/distribution-tools.d.ts +53 -3
- package/dist/server/distribution-tools.d.ts.map +1 -1
- package/dist/server/instructions.d.ts.map +1 -1
- package/dist/server/onboarding-tool-definitions.d.ts +50 -0
- package/dist/server/onboarding-tool-definitions.d.ts.map +1 -1
- package/dist/server/openai-tools.d.ts +50 -0
- package/dist/server/openai-tools.d.ts.map +1 -1
- package/dist/server/output-schemas.d.ts +233 -0
- package/dist/server/output-schemas.d.ts.map +1 -1
- package/dist/server/playbook-resources.d.ts +1 -1
- package/dist/server/playbook-resources.d.ts.map +1 -1
- package/dist/server/prompts.d.ts +1 -1
- package/dist/server/prompts.d.ts.map +1 -1
- package/dist/server/resources.d.ts +1 -1
- package/dist/server/resources.d.ts.map +1 -1
- package/dist/server/shop-tools.d.ts +335 -0
- package/dist/server/shop-tools.d.ts.map +1 -0
- package/dist/server/smart-link-theme-preview.d.ts +26 -1
- package/dist/server/smart-link-theme-preview.d.ts.map +1 -1
- package/dist/server/smart-link-tools.d.ts +126 -2
- package/dist/server/smart-link-tools.d.ts.map +1 -1
- package/dist/server/tools.d.ts +402 -13
- package/dist/server/tools.d.ts.map +1 -1
- package/dist/server/workflow-tools.d.ts +62 -1
- package/dist/server/workflow-tools.d.ts.map +1 -1
- package/dist/transport/http.d.ts +7 -1
- package/dist/transport/http.d.ts.map +1 -1
- package/dist/types.d.ts +14 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +5 -5
- package/server.json +1 -12
- package/dist/auth/verify-token.d.ts +0 -21
- package/dist/auth/verify-token.d.ts.map +0 -1
- package/dist/chunk-2jm8hjsz.js.map +0 -10
- package/dist/chunk-kb3xpcrb.js +0 -9
- package/dist/chunk-kb3xpcrb.js.map +0 -10
|
@@ -1,5 +1,63 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
|
+
/** Optional, additive recovery metadata for error envelopes. */
|
|
3
|
+
export declare const ResultErrorRecoverySchema: z.ZodObject<{
|
|
4
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
5
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
6
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
7
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
8
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
9
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
10
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
11
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
12
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
13
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
14
|
+
}>>;
|
|
15
|
+
field: z.ZodOptional<z.ZodString>;
|
|
16
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
17
|
+
field: z.ZodOptional<z.ZodString>;
|
|
18
|
+
kind: z.ZodEnum<{
|
|
19
|
+
handoff: "handoff";
|
|
20
|
+
provide_input: "provide_input";
|
|
21
|
+
read_status: "read_status";
|
|
22
|
+
reconnect: "reconnect";
|
|
23
|
+
}>;
|
|
24
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, z.core.$strict>>;
|
|
26
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
27
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
/**
|
|
31
|
+
* Retryable recovery is reserved for a bounded rate-limit wait. Producers are
|
|
32
|
+
* responsible for confirming that retrying their operation is safe to repeat.
|
|
33
|
+
*/
|
|
34
|
+
export declare function addRecoverySafetyIssues(value: z.infer<typeof ResultErrorRecoverySchema>, context: z.RefinementCtx): void;
|
|
2
35
|
export declare const AnyOutputEnvelopeSchema: z.ZodObject<{
|
|
36
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
37
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
38
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
39
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
40
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
41
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
42
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
43
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
44
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
45
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
46
|
+
}>>;
|
|
47
|
+
field: z.ZodOptional<z.ZodString>;
|
|
48
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
field: z.ZodOptional<z.ZodString>;
|
|
50
|
+
kind: z.ZodEnum<{
|
|
51
|
+
handoff: "handoff";
|
|
52
|
+
provide_input: "provide_input";
|
|
53
|
+
read_status: "read_status";
|
|
54
|
+
reconnect: "reconnect";
|
|
55
|
+
}>;
|
|
56
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
57
|
+
}, z.core.$strict>>;
|
|
58
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
59
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
3
61
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
4
62
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
5
63
|
business: "business";
|
|
@@ -15,6 +73,31 @@ export declare const AnyOutputEnvelopeSchema: z.ZodObject<{
|
|
|
15
73
|
}>;
|
|
16
74
|
}, z.core.$strict>;
|
|
17
75
|
export declare const ListMediaAssetsOutputEnvelopeSchema: z.ZodObject<{
|
|
76
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
77
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
78
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
79
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
80
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
81
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
82
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
83
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
84
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
85
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
86
|
+
}>>;
|
|
87
|
+
field: z.ZodOptional<z.ZodString>;
|
|
88
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
89
|
+
field: z.ZodOptional<z.ZodString>;
|
|
90
|
+
kind: z.ZodEnum<{
|
|
91
|
+
handoff: "handoff";
|
|
92
|
+
provide_input: "provide_input";
|
|
93
|
+
read_status: "read_status";
|
|
94
|
+
reconnect: "reconnect";
|
|
95
|
+
}>;
|
|
96
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
97
|
+
}, z.core.$strict>>;
|
|
98
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
99
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
18
101
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
19
102
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
20
103
|
business: "business";
|
|
@@ -30,6 +113,31 @@ export declare const ListMediaAssetsOutputEnvelopeSchema: z.ZodObject<{
|
|
|
30
113
|
}>;
|
|
31
114
|
}, z.core.$strict>;
|
|
32
115
|
export declare const LaunchCampaignOutputEnvelopeSchema: z.ZodObject<{
|
|
116
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
117
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
118
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
119
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
120
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
121
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
122
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
123
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
124
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
125
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
126
|
+
}>>;
|
|
127
|
+
field: z.ZodOptional<z.ZodString>;
|
|
128
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
129
|
+
field: z.ZodOptional<z.ZodString>;
|
|
130
|
+
kind: z.ZodEnum<{
|
|
131
|
+
handoff: "handoff";
|
|
132
|
+
provide_input: "provide_input";
|
|
133
|
+
read_status: "read_status";
|
|
134
|
+
reconnect: "reconnect";
|
|
135
|
+
}>;
|
|
136
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
137
|
+
}, z.core.$strict>>;
|
|
138
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
139
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
140
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
33
141
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
34
142
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
35
143
|
business: "business";
|
|
@@ -45,6 +153,31 @@ export declare const LaunchCampaignOutputEnvelopeSchema: z.ZodObject<{
|
|
|
45
153
|
}>;
|
|
46
154
|
}, z.core.$strict>;
|
|
47
155
|
export declare const ListAvailableCountriesOutputEnvelopeSchema: z.ZodObject<{
|
|
156
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
157
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
158
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
159
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
160
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
161
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
162
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
163
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
164
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
165
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
166
|
+
}>>;
|
|
167
|
+
field: z.ZodOptional<z.ZodString>;
|
|
168
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
169
|
+
field: z.ZodOptional<z.ZodString>;
|
|
170
|
+
kind: z.ZodEnum<{
|
|
171
|
+
handoff: "handoff";
|
|
172
|
+
provide_input: "provide_input";
|
|
173
|
+
read_status: "read_status";
|
|
174
|
+
reconnect: "reconnect";
|
|
175
|
+
}>;
|
|
176
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
177
|
+
}, z.core.$strict>>;
|
|
178
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
179
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
180
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
48
181
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
49
182
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
50
183
|
business: "business";
|
|
@@ -60,6 +193,31 @@ export declare const ListAvailableCountriesOutputEnvelopeSchema: z.ZodObject<{
|
|
|
60
193
|
}>;
|
|
61
194
|
}, z.core.$strict>;
|
|
62
195
|
export declare const GetCampaignReadinessOutputEnvelopeSchema: z.ZodObject<{
|
|
196
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
197
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
198
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
199
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
200
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
201
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
202
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
203
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
204
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
205
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
206
|
+
}>>;
|
|
207
|
+
field: z.ZodOptional<z.ZodString>;
|
|
208
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
209
|
+
field: z.ZodOptional<z.ZodString>;
|
|
210
|
+
kind: z.ZodEnum<{
|
|
211
|
+
handoff: "handoff";
|
|
212
|
+
provide_input: "provide_input";
|
|
213
|
+
read_status: "read_status";
|
|
214
|
+
reconnect: "reconnect";
|
|
215
|
+
}>;
|
|
216
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
217
|
+
}, z.core.$strict>>;
|
|
218
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
219
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
63
221
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
64
222
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
65
223
|
business: "business";
|
|
@@ -75,6 +233,31 @@ export declare const GetCampaignReadinessOutputEnvelopeSchema: z.ZodObject<{
|
|
|
75
233
|
}>;
|
|
76
234
|
}, z.core.$strict>;
|
|
77
235
|
export declare const CreateSmartLinkFromSpotifyOutputEnvelopeSchema: z.ZodObject<{
|
|
236
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
237
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
238
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
239
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
240
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
241
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
242
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
243
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
244
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
245
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
246
|
+
}>>;
|
|
247
|
+
field: z.ZodOptional<z.ZodString>;
|
|
248
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
249
|
+
field: z.ZodOptional<z.ZodString>;
|
|
250
|
+
kind: z.ZodEnum<{
|
|
251
|
+
handoff: "handoff";
|
|
252
|
+
provide_input: "provide_input";
|
|
253
|
+
read_status: "read_status";
|
|
254
|
+
reconnect: "reconnect";
|
|
255
|
+
}>;
|
|
256
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
257
|
+
}, z.core.$strict>>;
|
|
258
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
259
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
260
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
78
261
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
79
262
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
80
263
|
business: "business";
|
|
@@ -90,6 +273,31 @@ export declare const CreateSmartLinkFromSpotifyOutputEnvelopeSchema: z.ZodObject
|
|
|
90
273
|
}>;
|
|
91
274
|
}, z.core.$strict>;
|
|
92
275
|
export declare const CreateSmartLinksFromSpotifyArtistOutputEnvelopeSchema: z.ZodObject<{
|
|
276
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
277
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
278
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
279
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
280
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
281
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
282
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
283
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
284
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
285
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
286
|
+
}>>;
|
|
287
|
+
field: z.ZodOptional<z.ZodString>;
|
|
288
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
289
|
+
field: z.ZodOptional<z.ZodString>;
|
|
290
|
+
kind: z.ZodEnum<{
|
|
291
|
+
handoff: "handoff";
|
|
292
|
+
provide_input: "provide_input";
|
|
293
|
+
read_status: "read_status";
|
|
294
|
+
reconnect: "reconnect";
|
|
295
|
+
}>;
|
|
296
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
297
|
+
}, z.core.$strict>>;
|
|
298
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
299
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
300
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
93
301
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
94
302
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
95
303
|
business: "business";
|
|
@@ -105,6 +313,31 @@ export declare const CreateSmartLinksFromSpotifyArtistOutputEnvelopeSchema: z.Zo
|
|
|
105
313
|
}>;
|
|
106
314
|
}, z.core.$strict>;
|
|
107
315
|
export declare const ListSmartLinksOutputEnvelopeSchema: z.ZodObject<{
|
|
316
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
317
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
318
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
319
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
320
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
321
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
322
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
323
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
324
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
325
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
326
|
+
}>>;
|
|
327
|
+
field: z.ZodOptional<z.ZodString>;
|
|
328
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
329
|
+
field: z.ZodOptional<z.ZodString>;
|
|
330
|
+
kind: z.ZodEnum<{
|
|
331
|
+
handoff: "handoff";
|
|
332
|
+
provide_input: "provide_input";
|
|
333
|
+
read_status: "read_status";
|
|
334
|
+
reconnect: "reconnect";
|
|
335
|
+
}>;
|
|
336
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
337
|
+
}, z.core.$strict>>;
|
|
338
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
339
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
108
341
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
109
342
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
110
343
|
business: "business";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-schemas.d.ts","sourceRoot":"","sources":["../../../src/server/output-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"output-schemas.d.ts","sourceRoot":"","sources":["../../../src/server/output-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAsB5B,gEAAgE;AAChE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;kBAS5B,CAAC;AAEX;;;GAGG;AACH,wBAAgB,uBAAuB,CACtC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,EAChD,OAAO,EAAE,CAAC,CAAC,aAAa,QA0BxB;AAwQD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGnC,CAAC;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAK/C,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAE9C,CAAC;AAEF,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAGrD,CAAC;AAEH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAMnD,CAAC;AAEH,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBACY,CAAC;AAExE,eAAO,MAAM,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBACY,CAAC;AAE/E,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAE9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playbook-resources.d.ts","sourceRoot":"","sources":["../../../src/server/playbook-resources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"playbook-resources.d.ts","sourceRoot":"","sources":["../../../src/server/playbook-resources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAE9D,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,SAAS,QAsQ1D"}
|
package/dist/server/prompts.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../src/server/prompts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../../src/server/prompts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAc9D,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,QAiKvD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type McpServer } from "@modelcontextprotocol/
|
|
1
|
+
import { type McpServer } from "@modelcontextprotocol/server";
|
|
2
2
|
import type { Phase3Adapter } from "./create-server";
|
|
3
3
|
export declare function registerDynamoiResources(server: McpServer, adapter: Phase3Adapter): void;
|
|
4
4
|
//# sourceMappingURL=resources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../../src/server/resources.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../../src/server/resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAoB,MAAM,8BAA8B,CAAC;AAEhF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,wBAAgB,wBAAwB,CACvC,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,aAAa,QAqftB"}
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
export declare const DYNAMOI_SHOP_FULL_SCOPE: "dynamoi:mcp.full";
|
|
3
|
+
export declare const DYNAMOI_SHOP_MAX_TARGET_COUNTRY_CODES = 50;
|
|
4
|
+
export declare const DynamoiShopSelectionInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5
|
+
kind: z.ZodLiteral<"package">;
|
|
6
|
+
tier: z.ZodEnum<{
|
|
7
|
+
premium: "premium";
|
|
8
|
+
standard: "standard";
|
|
9
|
+
starter: "starter";
|
|
10
|
+
}>;
|
|
11
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12
|
+
campaignDurationDays: z.ZodNumber;
|
|
13
|
+
kind: z.ZodLiteral<"custom">;
|
|
14
|
+
targetViews: z.ZodNumber;
|
|
15
|
+
}, z.core.$strict>], "kind">;
|
|
16
|
+
export declare const DynamoiShopTargetingInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17
|
+
mode: z.ZodLiteral<"GLOBAL">;
|
|
18
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
19
|
+
countryCodes: z.ZodArray<z.ZodString>;
|
|
20
|
+
mode: z.ZodLiteral<"INCLUDE">;
|
|
21
|
+
}, z.core.$strict>], "mode">;
|
|
22
|
+
export declare const DynamoiShopGetQuoteInputSchema: z.ZodObject<{
|
|
23
|
+
marketLocale: z.ZodString;
|
|
24
|
+
selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
25
|
+
kind: z.ZodLiteral<"package">;
|
|
26
|
+
tier: z.ZodEnum<{
|
|
27
|
+
premium: "premium";
|
|
28
|
+
standard: "standard";
|
|
29
|
+
starter: "starter";
|
|
30
|
+
}>;
|
|
31
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32
|
+
campaignDurationDays: z.ZodNumber;
|
|
33
|
+
kind: z.ZodLiteral<"custom">;
|
|
34
|
+
targetViews: z.ZodNumber;
|
|
35
|
+
}, z.core.$strict>], "kind">;
|
|
36
|
+
storefrontSlug: z.ZodString;
|
|
37
|
+
targeting: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
38
|
+
mode: z.ZodLiteral<"GLOBAL">;
|
|
39
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
40
|
+
countryCodes: z.ZodArray<z.ZodString>;
|
|
41
|
+
mode: z.ZodLiteral<"INCLUDE">;
|
|
42
|
+
}, z.core.$strict>], "mode">;
|
|
43
|
+
youtubeUrl: z.ZodString;
|
|
44
|
+
}, z.core.$strict>;
|
|
45
|
+
export declare const DynamoiShopCreateCheckoutInputSchema: z.ZodObject<{
|
|
46
|
+
expectedTotal: z.ZodObject<{
|
|
47
|
+
amountMinor: z.ZodNumber;
|
|
48
|
+
currency: z.ZodString;
|
|
49
|
+
}, z.core.$strict>;
|
|
50
|
+
promotion: z.ZodObject<{
|
|
51
|
+
marketLocale: z.ZodString;
|
|
52
|
+
selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
53
|
+
kind: z.ZodLiteral<"package">;
|
|
54
|
+
tier: z.ZodEnum<{
|
|
55
|
+
premium: "premium";
|
|
56
|
+
standard: "standard";
|
|
57
|
+
starter: "starter";
|
|
58
|
+
}>;
|
|
59
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
60
|
+
campaignDurationDays: z.ZodNumber;
|
|
61
|
+
kind: z.ZodLiteral<"custom">;
|
|
62
|
+
targetViews: z.ZodNumber;
|
|
63
|
+
}, z.core.$strict>], "kind">;
|
|
64
|
+
storefrontSlug: z.ZodString;
|
|
65
|
+
targeting: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
66
|
+
mode: z.ZodLiteral<"GLOBAL">;
|
|
67
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
68
|
+
countryCodes: z.ZodArray<z.ZodString>;
|
|
69
|
+
mode: z.ZodLiteral<"INCLUDE">;
|
|
70
|
+
}, z.core.$strict>], "mode">;
|
|
71
|
+
youtubeUrl: z.ZodString;
|
|
72
|
+
}, z.core.$strict>;
|
|
73
|
+
requestId: z.ZodString;
|
|
74
|
+
}, z.core.$strict>;
|
|
75
|
+
export declare const DynamoiShopQuoteDataSchema: z.ZodObject<{
|
|
76
|
+
campaignDurationDays: z.ZodNullable<z.ZodNumber>;
|
|
77
|
+
estimatedViews: z.ZodNullable<z.ZodObject<{
|
|
78
|
+
basis: z.ZodLiteral<"rolling_30_day_cpv">;
|
|
79
|
+
max: z.ZodNumber;
|
|
80
|
+
min: z.ZodNumber;
|
|
81
|
+
notGuaranteed: z.ZodLiteral<true>;
|
|
82
|
+
}, z.core.$strict>>;
|
|
83
|
+
kind: z.ZodLiteral<"shop_quote">;
|
|
84
|
+
reviewRequired: z.ZodBoolean;
|
|
85
|
+
selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
86
|
+
kind: z.ZodLiteral<"package">;
|
|
87
|
+
tier: z.ZodEnum<{
|
|
88
|
+
premium: "premium";
|
|
89
|
+
standard: "standard";
|
|
90
|
+
starter: "starter";
|
|
91
|
+
}>;
|
|
92
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
93
|
+
campaignDurationDays: z.ZodNumber;
|
|
94
|
+
kind: z.ZodLiteral<"custom">;
|
|
95
|
+
targetViews: z.ZodNumber;
|
|
96
|
+
}, z.core.$strict>], "kind">;
|
|
97
|
+
storefront: z.ZodObject<{
|
|
98
|
+
currency: z.ZodString;
|
|
99
|
+
marketLocale: z.ZodString;
|
|
100
|
+
slug: z.ZodString;
|
|
101
|
+
}, z.core.$strict>;
|
|
102
|
+
targeting: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
103
|
+
mode: z.ZodLiteral<"GLOBAL">;
|
|
104
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
105
|
+
countryCodes: z.ZodArray<z.ZodString>;
|
|
106
|
+
mode: z.ZodLiteral<"INCLUDE">;
|
|
107
|
+
}, z.core.$strict>], "mode">;
|
|
108
|
+
total: z.ZodObject<{
|
|
109
|
+
amountMinor: z.ZodNumber;
|
|
110
|
+
currency: z.ZodString;
|
|
111
|
+
formatted: z.ZodString;
|
|
112
|
+
}, z.core.$strict>;
|
|
113
|
+
video: z.ZodObject<{
|
|
114
|
+
normalizedUrl: z.ZodString;
|
|
115
|
+
videoId: z.ZodString;
|
|
116
|
+
}, z.core.$strict>;
|
|
117
|
+
}, z.core.$strict>;
|
|
118
|
+
export declare const DynamoiShopCheckoutDataSchema: z.ZodObject<{
|
|
119
|
+
checkoutUrl: z.ZodString;
|
|
120
|
+
expiresAt: z.ZodString;
|
|
121
|
+
kind: z.ZodLiteral<"shop_checkout">;
|
|
122
|
+
orderCreated: z.ZodLiteral<false>;
|
|
123
|
+
paymentCompleted: z.ZodLiteral<false>;
|
|
124
|
+
status: z.ZodLiteral<"checkout_required">;
|
|
125
|
+
total: z.ZodObject<{
|
|
126
|
+
amountMinor: z.ZodNumber;
|
|
127
|
+
currency: z.ZodString;
|
|
128
|
+
formatted: z.ZodString;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
}, z.core.$strict>;
|
|
131
|
+
export type DynamoiShopGetQuoteInput = z.infer<typeof DynamoiShopGetQuoteInputSchema>;
|
|
132
|
+
export type DynamoiShopCreateCheckoutInput = z.infer<typeof DynamoiShopCreateCheckoutInputSchema>;
|
|
133
|
+
export type DynamoiShopQuoteData = z.infer<typeof DynamoiShopQuoteDataSchema>;
|
|
134
|
+
export type DynamoiShopCheckoutData = z.infer<typeof DynamoiShopCheckoutDataSchema>;
|
|
135
|
+
export declare const SHOP_TOOL_DEFINITIONS: readonly [{
|
|
136
|
+
readonly description: "Calculate a read-only Dynamoi Shop estimate for a one-off YouTube video promotion. The server derives storefront price, currency, targeting, and estimated views. This does not reserve a price, create checkout, collect payment, create an order, or launch a campaign.";
|
|
137
|
+
readonly destructiveHint: false;
|
|
138
|
+
readonly idempotentHint: true;
|
|
139
|
+
readonly name: "dynamoi_shop_get_quote";
|
|
140
|
+
readonly openWorldHint: false;
|
|
141
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
142
|
+
data: z.ZodObject<{
|
|
143
|
+
campaignDurationDays: z.ZodNullable<z.ZodNumber>;
|
|
144
|
+
estimatedViews: z.ZodNullable<z.ZodObject<{
|
|
145
|
+
basis: z.ZodLiteral<"rolling_30_day_cpv">;
|
|
146
|
+
max: z.ZodNumber;
|
|
147
|
+
min: z.ZodNumber;
|
|
148
|
+
notGuaranteed: z.ZodLiteral<true>;
|
|
149
|
+
}, z.core.$strict>>;
|
|
150
|
+
kind: z.ZodLiteral<"shop_quote">;
|
|
151
|
+
reviewRequired: z.ZodBoolean;
|
|
152
|
+
selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
153
|
+
kind: z.ZodLiteral<"package">;
|
|
154
|
+
tier: z.ZodEnum<{
|
|
155
|
+
premium: "premium";
|
|
156
|
+
standard: "standard";
|
|
157
|
+
starter: "starter";
|
|
158
|
+
}>;
|
|
159
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
160
|
+
campaignDurationDays: z.ZodNumber;
|
|
161
|
+
kind: z.ZodLiteral<"custom">;
|
|
162
|
+
targetViews: z.ZodNumber;
|
|
163
|
+
}, z.core.$strict>], "kind">;
|
|
164
|
+
storefront: z.ZodObject<{
|
|
165
|
+
currency: z.ZodString;
|
|
166
|
+
marketLocale: z.ZodString;
|
|
167
|
+
slug: z.ZodString;
|
|
168
|
+
}, z.core.$strict>;
|
|
169
|
+
targeting: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
170
|
+
mode: z.ZodLiteral<"GLOBAL">;
|
|
171
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
172
|
+
countryCodes: z.ZodArray<z.ZodString>;
|
|
173
|
+
mode: z.ZodLiteral<"INCLUDE">;
|
|
174
|
+
}, z.core.$strict>], "mode">;
|
|
175
|
+
total: z.ZodObject<{
|
|
176
|
+
amountMinor: z.ZodNumber;
|
|
177
|
+
currency: z.ZodString;
|
|
178
|
+
formatted: z.ZodString;
|
|
179
|
+
}, z.core.$strict>;
|
|
180
|
+
video: z.ZodObject<{
|
|
181
|
+
normalizedUrl: z.ZodString;
|
|
182
|
+
videoId: z.ZodString;
|
|
183
|
+
}, z.core.$strict>;
|
|
184
|
+
}, z.core.$strict>;
|
|
185
|
+
status: z.ZodLiteral<"success">;
|
|
186
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
187
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
188
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
189
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
190
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
191
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
192
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
193
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
194
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
195
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
196
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
197
|
+
}>>;
|
|
198
|
+
field: z.ZodOptional<z.ZodString>;
|
|
199
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
field: z.ZodOptional<z.ZodString>;
|
|
201
|
+
kind: z.ZodEnum<{
|
|
202
|
+
handoff: "handoff";
|
|
203
|
+
provide_input: "provide_input";
|
|
204
|
+
read_status: "read_status";
|
|
205
|
+
reconnect: "reconnect";
|
|
206
|
+
}>;
|
|
207
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
208
|
+
}, z.core.$strict>>;
|
|
209
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
210
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
211
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
212
|
+
kind: z.ZodEnum<{
|
|
213
|
+
business: "business";
|
|
214
|
+
platform: "platform";
|
|
215
|
+
unknown: "unknown";
|
|
216
|
+
validation: "validation";
|
|
217
|
+
}>;
|
|
218
|
+
message: z.ZodString;
|
|
219
|
+
status: z.ZodLiteral<"error">;
|
|
220
|
+
}, z.core.$strict>]>;
|
|
221
|
+
readonly readOnlyHint: true;
|
|
222
|
+
readonly schema: z.ZodObject<{
|
|
223
|
+
marketLocale: z.ZodString;
|
|
224
|
+
selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
225
|
+
kind: z.ZodLiteral<"package">;
|
|
226
|
+
tier: z.ZodEnum<{
|
|
227
|
+
premium: "premium";
|
|
228
|
+
standard: "standard";
|
|
229
|
+
starter: "starter";
|
|
230
|
+
}>;
|
|
231
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
232
|
+
campaignDurationDays: z.ZodNumber;
|
|
233
|
+
kind: z.ZodLiteral<"custom">;
|
|
234
|
+
targetViews: z.ZodNumber;
|
|
235
|
+
}, z.core.$strict>], "kind">;
|
|
236
|
+
storefrontSlug: z.ZodString;
|
|
237
|
+
targeting: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
238
|
+
mode: z.ZodLiteral<"GLOBAL">;
|
|
239
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
240
|
+
countryCodes: z.ZodArray<z.ZodString>;
|
|
241
|
+
mode: z.ZodLiteral<"INCLUDE">;
|
|
242
|
+
}, z.core.$strict>], "mode">;
|
|
243
|
+
youtubeUrl: z.ZodString;
|
|
244
|
+
}, z.core.$strict>;
|
|
245
|
+
readonly title: "Get Shop Promotion Estimate";
|
|
246
|
+
}, {
|
|
247
|
+
readonly description: "After explicit user intent, revalidate and re-quote a one-off Dynamoi Shop YouTube promotion and create an unpaid Stripe Checkout Session. The expected total is a compare-and-reject guard, never a price instruction. This does not charge the user, create an order, or launch a campaign; the user must open and complete Stripe Checkout.";
|
|
248
|
+
readonly destructiveHint: false;
|
|
249
|
+
readonly idempotentHint: true;
|
|
250
|
+
readonly name: "dynamoi_shop_create_checkout";
|
|
251
|
+
readonly openWorldHint: true;
|
|
252
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
253
|
+
data: z.ZodObject<{
|
|
254
|
+
checkoutUrl: z.ZodString;
|
|
255
|
+
expiresAt: z.ZodString;
|
|
256
|
+
kind: z.ZodLiteral<"shop_checkout">;
|
|
257
|
+
orderCreated: z.ZodLiteral<false>;
|
|
258
|
+
paymentCompleted: z.ZodLiteral<false>;
|
|
259
|
+
status: z.ZodLiteral<"checkout_required">;
|
|
260
|
+
total: z.ZodObject<{
|
|
261
|
+
amountMinor: z.ZodNumber;
|
|
262
|
+
currency: z.ZodString;
|
|
263
|
+
formatted: z.ZodString;
|
|
264
|
+
}, z.core.$strict>;
|
|
265
|
+
}, z.core.$strict>;
|
|
266
|
+
status: z.ZodLiteral<"success">;
|
|
267
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
268
|
+
code: z.ZodOptional<z.ZodEnum<{
|
|
269
|
+
ACCOUNT_READ_ONLY: "ACCOUNT_READ_ONLY";
|
|
270
|
+
CAPABILITY_REQUIRED: "CAPABILITY_REQUIRED";
|
|
271
|
+
INSUFFICIENT_SCOPE: "INSUFFICIENT_SCOPE";
|
|
272
|
+
INVALID_SPOTIFY_SOURCE: "INVALID_SPOTIFY_SOURCE";
|
|
273
|
+
OUTPUT_INVALID: "OUTPUT_INVALID";
|
|
274
|
+
QUOTE_CHANGED: "QUOTE_CHANGED";
|
|
275
|
+
RATE_LIMITED: "RATE_LIMITED";
|
|
276
|
+
STATE_CONFLICT: "STATE_CONFLICT";
|
|
277
|
+
UNKNOWN_EFFECT: "UNKNOWN_EFFECT";
|
|
278
|
+
}>>;
|
|
279
|
+
field: z.ZodOptional<z.ZodString>;
|
|
280
|
+
nextAction: z.ZodOptional<z.ZodObject<{
|
|
281
|
+
field: z.ZodOptional<z.ZodString>;
|
|
282
|
+
kind: z.ZodEnum<{
|
|
283
|
+
handoff: "handoff";
|
|
284
|
+
provide_input: "provide_input";
|
|
285
|
+
read_status: "read_status";
|
|
286
|
+
reconnect: "reconnect";
|
|
287
|
+
}>;
|
|
288
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
289
|
+
}, z.core.$strict>>;
|
|
290
|
+
prerequisite: z.ZodOptional<z.ZodString>;
|
|
291
|
+
retryAfterSeconds: z.ZodOptional<z.ZodNumber>;
|
|
292
|
+
retryable: z.ZodOptional<z.ZodBoolean>;
|
|
293
|
+
kind: z.ZodEnum<{
|
|
294
|
+
business: "business";
|
|
295
|
+
platform: "platform";
|
|
296
|
+
unknown: "unknown";
|
|
297
|
+
validation: "validation";
|
|
298
|
+
}>;
|
|
299
|
+
message: z.ZodString;
|
|
300
|
+
status: z.ZodLiteral<"error">;
|
|
301
|
+
}, z.core.$strict>]>;
|
|
302
|
+
readonly readOnlyHint: false;
|
|
303
|
+
readonly schema: z.ZodObject<{
|
|
304
|
+
expectedTotal: z.ZodObject<{
|
|
305
|
+
amountMinor: z.ZodNumber;
|
|
306
|
+
currency: z.ZodString;
|
|
307
|
+
}, z.core.$strict>;
|
|
308
|
+
promotion: z.ZodObject<{
|
|
309
|
+
marketLocale: z.ZodString;
|
|
310
|
+
selection: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
311
|
+
kind: z.ZodLiteral<"package">;
|
|
312
|
+
tier: z.ZodEnum<{
|
|
313
|
+
premium: "premium";
|
|
314
|
+
standard: "standard";
|
|
315
|
+
starter: "starter";
|
|
316
|
+
}>;
|
|
317
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
318
|
+
campaignDurationDays: z.ZodNumber;
|
|
319
|
+
kind: z.ZodLiteral<"custom">;
|
|
320
|
+
targetViews: z.ZodNumber;
|
|
321
|
+
}, z.core.$strict>], "kind">;
|
|
322
|
+
storefrontSlug: z.ZodString;
|
|
323
|
+
targeting: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
324
|
+
mode: z.ZodLiteral<"GLOBAL">;
|
|
325
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
326
|
+
countryCodes: z.ZodArray<z.ZodString>;
|
|
327
|
+
mode: z.ZodLiteral<"INCLUDE">;
|
|
328
|
+
}, z.core.$strict>], "mode">;
|
|
329
|
+
youtubeUrl: z.ZodString;
|
|
330
|
+
}, z.core.$strict>;
|
|
331
|
+
requestId: z.ZodString;
|
|
332
|
+
}, z.core.$strict>;
|
|
333
|
+
readonly title: "Create Unpaid Shop Checkout";
|
|
334
|
+
}];
|
|
335
|
+
//# sourceMappingURL=shop-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shop-tools.d.ts","sourceRoot":"","sources":["../../../src/server/shop-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAM5B,eAAO,MAAM,uBAAuB,EAAG,kBAA2B,CAAC;AACnE,eAAO,MAAM,qCAAqC,KAAK,CAAC;AA6BxD,eAAO,MAAM,+BAA+B;;;;;;;;;;;4BAG1C,CAAC;AAgBH,eAAO,MAAM,+BAA+B;;;;;4BAG1C,CAAC;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;kBAajC,CAAC;AAEX,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAWvC,CAAC;AAqBX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA+B7B,CAAC;AAEX,eAAO,MAAM,6BAA6B;;;;;;;;;;;;kBAUhC,CAAC;AAkCX,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,8BAA8B,CACrC,CAAC;AACF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,oCAAoC,CAC3C,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,6BAA6B,CACpC,CAAC;AAEF,eAAO,MAAM,qBAAqB;aAEhC,WAAW,EACV,2QAA2Q;aAC5Q,eAAe;aACf,cAAc;aACd,IAAI,EAAE,wBAAwB;aAC9B,aAAa;aACb,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aACZ,YAAY;aACZ,MAAM;;;;;;;;;;;;;;;;;;;;;;;aACN,KAAK,EAAE,6BAA6B;;aAGpC,WAAW,EACV,gVAAgV;aACjV,eAAe;aACf,cAAc;aACd,IAAI,EAAE,8BAA8B;aACpC,aAAa;aACb,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aACZ,YAAY;aACZ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aACN,KAAK,EAAE,6BAA6B;EAE5B,CAAC"}
|