@ichos/sdk 1.0.9 → 1.0.10
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/dist/Client.d.ts +0 -3
- package/dist/Client.d.ts.map +1 -1
- package/dist/Client.js +0 -5
- package/dist/Client.js.map +1 -1
- package/dist/api/errors/ForbiddenError.d.ts +1 -1
- package/dist/api/errors/ForbiddenError.d.ts.map +1 -1
- package/dist/api/errors/ForbiddenError.js.map +1 -1
- package/dist/api/errors/TooManyRequestsError.d.ts +7 -0
- package/dist/api/errors/TooManyRequestsError.d.ts.map +1 -0
- package/dist/api/errors/TooManyRequestsError.js +18 -0
- package/dist/api/errors/TooManyRequestsError.js.map +1 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/errors/index.d.ts.map +1 -1
- package/dist/api/errors/index.js +1 -0
- package/dist/api/errors/index.js.map +1 -1
- package/dist/api/resources/ads/client/Client.d.ts +12 -0
- package/dist/api/resources/ads/client/Client.d.ts.map +1 -1
- package/dist/api/resources/ads/client/Client.js +36 -0
- package/dist/api/resources/ads/client/Client.js.map +1 -1
- package/dist/api/resources/audio/client/Client.d.ts +7 -0
- package/dist/api/resources/audio/client/Client.d.ts.map +1 -1
- package/dist/api/resources/audio/client/Client.js +21 -0
- package/dist/api/resources/audio/client/Client.js.map +1 -1
- package/dist/api/resources/episodes/client/Client.d.ts +13 -19
- package/dist/api/resources/episodes/client/Client.d.ts.map +1 -1
- package/dist/api/resources/episodes/client/Client.js +37 -60
- package/dist/api/resources/episodes/client/Client.js.map +1 -1
- package/dist/api/resources/episodes/client/requests/EpisodeCreate.d.ts +0 -10
- package/dist/api/resources/episodes/client/requests/EpisodeCreate.d.ts.map +1 -1
- package/dist/api/resources/episodes/client/requests/EpisodeCreate.js +0 -6
- package/dist/api/resources/episodes/client/requests/EpisodeCreate.js.map +1 -1
- package/dist/api/resources/episodes/client/requests/EpisodeUpdate.d.ts +1 -10
- package/dist/api/resources/episodes/client/requests/EpisodeUpdate.d.ts.map +1 -1
- package/dist/api/resources/episodes/client/requests/EpisodeUpdate.js +0 -6
- package/dist/api/resources/episodes/client/requests/EpisodeUpdate.js.map +1 -1
- package/dist/api/resources/episodes/client/requests/index.d.ts +0 -1
- package/dist/api/resources/episodes/client/requests/index.d.ts.map +1 -1
- package/dist/api/resources/index.d.ts +0 -2
- package/dist/api/resources/index.d.ts.map +1 -1
- package/dist/api/resources/index.js +0 -2
- package/dist/api/resources/index.js.map +1 -1
- package/dist/api/resources/organizations/client/Client.d.ts +3 -0
- package/dist/api/resources/organizations/client/Client.d.ts.map +1 -1
- package/dist/api/resources/organizations/client/Client.js +9 -0
- package/dist/api/resources/organizations/client/Client.js.map +1 -1
- package/dist/api/resources/podcasts/client/Client.d.ts +34 -19
- package/dist/api/resources/podcasts/client/Client.d.ts.map +1 -1
- package/dist/api/resources/podcasts/client/Client.js +100 -59
- package/dist/api/resources/podcasts/client/Client.js.map +1 -1
- package/dist/api/resources/podcasts/client/requests/GetAverageMonthlyListenersRequest.d.ts.map +1 -0
- package/dist/api/resources/podcasts/client/requests/GetAverageMonthlyListenersRequest.js.map +1 -0
- package/dist/api/resources/podcasts/client/requests/PodcastCreate.d.ts +1 -0
- package/dist/api/resources/podcasts/client/requests/PodcastCreate.d.ts.map +1 -1
- package/dist/api/resources/podcasts/client/requests/PodcastCreate.js.map +1 -1
- package/dist/api/resources/podcasts/client/requests/PodcastUpdate.d.ts +1 -0
- package/dist/api/resources/podcasts/client/requests/PodcastUpdate.d.ts.map +1 -1
- package/dist/api/resources/podcasts/client/requests/PodcastUpdate.js.map +1 -1
- package/dist/api/resources/podcasts/client/requests/index.d.ts +1 -1
- package/dist/api/resources/podcasts/client/requests/index.d.ts.map +1 -1
- package/dist/api/resources/segments/client/Client.js.map +1 -1
- package/dist/api/resources/users/client/Client.d.ts +5 -0
- package/dist/api/resources/users/client/Client.d.ts.map +1 -1
- package/dist/api/resources/users/client/Client.js +15 -0
- package/dist/api/resources/users/client/Client.js.map +1 -1
- package/dist/api/resources/webhooks/client/Client.d.ts +4 -0
- package/dist/api/resources/webhooks/client/Client.d.ts.map +1 -1
- package/dist/api/resources/webhooks/client/Client.js +12 -0
- package/dist/api/resources/webhooks/client/Client.js.map +1 -1
- package/dist/api/types/EpisodeCreateResponse.d.ts +1 -1
- package/dist/api/types/EpisodeCreateResponse.d.ts.map +1 -1
- package/dist/api/types/{EpisodeCreatedResponseData.d.ts → EpisodeCreateResponseData.d.ts} +6 -6
- package/dist/api/types/EpisodeCreateResponseData.d.ts.map +1 -0
- package/dist/api/types/{EpisodeCreatedResponseData.js → EpisodeCreateResponseData.js} +7 -7
- package/dist/api/types/EpisodeCreateResponseData.js.map +1 -0
- package/dist/api/types/ForbiddenErrorBody.d.ts +6 -0
- package/dist/api/types/ForbiddenErrorBody.d.ts.map +1 -0
- package/dist/api/types/{StringOrNullResponse.js → ForbiddenErrorBody.js} +1 -1
- package/dist/api/types/ForbiddenErrorBody.js.map +1 -0
- package/dist/api/types/ForbiddenErrorResponse.d.ts +7 -0
- package/dist/api/types/ForbiddenErrorResponse.d.ts.map +1 -0
- package/dist/api/{resources/episodes/client/requests/GetEpisodeCoverRequest.js → types/ForbiddenErrorResponse.js} +1 -1
- package/dist/api/types/ForbiddenErrorResponse.js.map +1 -0
- package/dist/api/types/InternalServerErrorBody.d.ts +0 -3
- package/dist/api/types/InternalServerErrorBody.d.ts.map +1 -1
- package/dist/api/types/NotFoundErrorBody.d.ts +0 -3
- package/dist/api/types/NotFoundErrorBody.d.ts.map +1 -1
- package/dist/api/types/PodcastCreateResponse.d.ts +7 -0
- package/dist/api/types/PodcastCreateResponse.d.ts.map +1 -0
- package/dist/api/types/{RetrieveCoverResponse.js → PodcastCreateResponse.js} +1 -1
- package/dist/api/types/PodcastCreateResponse.js.map +1 -0
- package/dist/api/types/PodcastCreateResponseData.d.ts +79 -0
- package/dist/api/types/PodcastCreateResponseData.d.ts.map +1 -0
- package/dist/api/types/PodcastCreateResponseData.js +22 -0
- package/dist/api/types/PodcastCreateResponseData.js.map +1 -0
- package/dist/api/types/TooManyRequestsErrorBody.d.ts +7 -0
- package/dist/api/types/TooManyRequestsErrorBody.d.ts.map +1 -0
- package/dist/api/{resources/podcasts/client/requests/GetPodcastCoverRequest.js → types/TooManyRequestsErrorBody.js} +1 -1
- package/dist/api/types/TooManyRequestsErrorBody.js.map +1 -0
- package/dist/api/types/TooManyRequestsErrorResponse.d.ts +7 -0
- package/dist/api/types/TooManyRequestsErrorResponse.d.ts.map +1 -0
- package/dist/api/types/TooManyRequestsErrorResponse.js +3 -0
- package/dist/api/types/TooManyRequestsErrorResponse.js.map +1 -0
- package/dist/api/types/UnauthorizedErrorBody.d.ts +0 -3
- package/dist/api/types/UnauthorizedErrorBody.d.ts.map +1 -1
- package/dist/api/types/ValidationError.d.ts +8 -0
- package/dist/api/types/ValidationError.d.ts.map +1 -0
- package/dist/api/types/{UnauthenticatedError.js → ValidationError.js} +1 -1
- package/dist/api/types/ValidationError.js.map +1 -0
- package/dist/api/types/ValidationErrorResponse.d.ts +1 -1
- package/dist/api/types/ValidationErrorResponse.d.ts.map +1 -1
- package/dist/api/types/ValidationIssue.d.ts +1 -0
- package/dist/api/types/ValidationIssue.d.ts.map +1 -1
- package/dist/api/types/ValidationIssue.js +1 -0
- package/dist/api/types/ValidationIssue.js.map +1 -1
- package/dist/api/types/index.d.ts +8 -5
- package/dist/api/types/index.d.ts.map +1 -1
- package/dist/api/types/index.js +8 -5
- package/dist/api/types/index.js.map +1 -1
- package/package.json +1 -1
- package/src/Client.ts +0 -6
- package/src/api/errors/ForbiddenError.ts +1 -1
- package/src/api/errors/TooManyRequestsError.ts +22 -0
- package/src/api/errors/index.ts +1 -0
- package/src/api/resources/ads/client/Client.ts +84 -12
- package/src/api/resources/audio/client/Client.ts +42 -0
- package/src/api/resources/episodes/client/Client.ts +85 -107
- package/src/api/resources/episodes/client/requests/EpisodeCreate.ts +0 -10
- package/src/api/resources/episodes/client/requests/EpisodeUpdate.ts +1 -10
- package/src/api/resources/episodes/client/requests/index.ts +0 -1
- package/src/api/resources/index.ts +0 -2
- package/src/api/resources/organizations/client/Client.ts +21 -3
- package/src/api/resources/podcasts/client/Client.ts +190 -110
- package/src/api/resources/podcasts/client/requests/PodcastCreate.ts +1 -0
- package/src/api/resources/podcasts/client/requests/PodcastUpdate.ts +1 -0
- package/src/api/resources/podcasts/client/requests/index.ts +1 -1
- package/src/api/resources/segments/client/Client.ts +6 -6
- package/src/api/resources/users/client/Client.ts +35 -5
- package/src/api/resources/webhooks/client/Client.ts +28 -4
- package/src/api/types/EpisodeCreateResponse.ts +1 -1
- package/src/api/types/{EpisodeCreatedResponseData.ts → EpisodeCreateResponseData.ts} +5 -5
- package/src/api/types/{UnauthenticatedError.ts → ForbiddenErrorBody.ts} +1 -4
- package/src/api/types/{UnauthenticatedErrorResponse.ts → ForbiddenErrorResponse.ts} +2 -2
- package/src/api/types/InternalServerErrorBody.ts +0 -3
- package/src/api/types/NotFoundErrorBody.ts +0 -3
- package/src/api/types/{StringOrNullResponse.ts → PodcastCreateResponse.ts} +2 -2
- package/src/api/types/PodcastCreateResponseData.ts +82 -0
- package/src/api/types/TooManyRequestsErrorBody.ts +8 -0
- package/src/api/types/TooManyRequestsErrorResponse.ts +9 -0
- package/src/api/types/UnauthorizedErrorBody.ts +0 -3
- package/src/api/types/ValidationError.ts +10 -0
- package/src/api/types/ValidationErrorResponse.ts +1 -1
- package/src/api/types/ValidationIssue.ts +1 -0
- package/src/api/types/index.ts +8 -5
- package/dist/api/resources/analytics/client/Client.d.ts +0 -29
- package/dist/api/resources/analytics/client/Client.d.ts.map +0 -1
- package/dist/api/resources/analytics/client/Client.js +0 -69
- package/dist/api/resources/analytics/client/Client.js.map +0 -1
- package/dist/api/resources/analytics/client/index.d.ts +0 -2
- package/dist/api/resources/analytics/client/index.d.ts.map +0 -1
- package/dist/api/resources/analytics/client/index.js +0 -2
- package/dist/api/resources/analytics/client/index.js.map +0 -1
- package/dist/api/resources/analytics/client/requests/GetAverageMonthlyListenersRequest.d.ts.map +0 -1
- package/dist/api/resources/analytics/client/requests/GetAverageMonthlyListenersRequest.js.map +0 -1
- package/dist/api/resources/analytics/client/requests/index.d.ts +0 -2
- package/dist/api/resources/analytics/client/requests/index.d.ts.map +0 -1
- package/dist/api/resources/analytics/client/requests/index.js +0 -2
- package/dist/api/resources/analytics/client/requests/index.js.map +0 -1
- package/dist/api/resources/analytics/index.d.ts +0 -2
- package/dist/api/resources/analytics/index.d.ts.map +0 -1
- package/dist/api/resources/analytics/index.js +0 -2
- package/dist/api/resources/analytics/index.js.map +0 -1
- package/dist/api/resources/episodes/client/requests/GetEpisodeCoverRequest.d.ts +0 -11
- package/dist/api/resources/episodes/client/requests/GetEpisodeCoverRequest.d.ts.map +0 -1
- package/dist/api/resources/episodes/client/requests/GetEpisodeCoverRequest.js.map +0 -1
- package/dist/api/resources/podcasts/client/requests/GetPodcastCoverRequest.d.ts +0 -11
- package/dist/api/resources/podcasts/client/requests/GetPodcastCoverRequest.d.ts.map +0 -1
- package/dist/api/resources/podcasts/client/requests/GetPodcastCoverRequest.js.map +0 -1
- package/dist/api/types/EpisodeCreatedResponseData.d.ts.map +0 -1
- package/dist/api/types/EpisodeCreatedResponseData.js.map +0 -1
- package/dist/api/types/RetrieveCoverResponse.d.ts +0 -12
- package/dist/api/types/RetrieveCoverResponse.d.ts.map +0 -1
- package/dist/api/types/RetrieveCoverResponse.js.map +0 -1
- package/dist/api/types/StringOrNullResponse.d.ts +0 -7
- package/dist/api/types/StringOrNullResponse.d.ts.map +0 -1
- package/dist/api/types/StringOrNullResponse.js.map +0 -1
- package/dist/api/types/UnauthenticatedError.d.ts +0 -9
- package/dist/api/types/UnauthenticatedError.d.ts.map +0 -1
- package/dist/api/types/UnauthenticatedError.js.map +0 -1
- package/dist/api/types/UnauthenticatedErrorResponse.d.ts +0 -7
- package/dist/api/types/UnauthenticatedErrorResponse.d.ts.map +0 -1
- package/dist/api/types/UnauthenticatedErrorResponse.js +0 -3
- package/dist/api/types/UnauthenticatedErrorResponse.js.map +0 -1
- package/src/api/resources/analytics/client/Client.ts +0 -110
- package/src/api/resources/analytics/client/index.ts +0 -1
- package/src/api/resources/analytics/client/requests/index.ts +0 -1
- package/src/api/resources/analytics/index.ts +0 -1
- package/src/api/resources/episodes/client/requests/GetEpisodeCoverRequest.ts +0 -12
- package/src/api/resources/podcasts/client/requests/GetPodcastCoverRequest.ts +0 -12
- package/src/api/types/RetrieveCoverResponse.ts +0 -15
- /package/dist/api/resources/{analytics → podcasts}/client/requests/GetAverageMonthlyListenersRequest.d.ts +0 -0
- /package/dist/api/resources/{analytics → podcasts}/client/requests/GetAverageMonthlyListenersRequest.js +0 -0
- /package/src/api/resources/{analytics → podcasts}/client/requests/GetAverageMonthlyListenersRequest.ts +0 -0
|
@@ -30,6 +30,7 @@ export class UsersClient {
|
|
|
30
30
|
* @throws {@link Ichos.UnauthorizedError}
|
|
31
31
|
* @throws {@link Ichos.ForbiddenError}
|
|
32
32
|
* @throws {@link Ichos.NotFoundError}
|
|
33
|
+
* @throws {@link Ichos.TooManyRequestsError}
|
|
33
34
|
* @throws {@link Ichos.InternalServerError}
|
|
34
35
|
*
|
|
35
36
|
* @example
|
|
@@ -80,7 +81,7 @@ export class UsersClient {
|
|
|
80
81
|
);
|
|
81
82
|
case 403:
|
|
82
83
|
throw new Ichos.ForbiddenError(
|
|
83
|
-
_response.error.body as Ichos.
|
|
84
|
+
_response.error.body as Ichos.ForbiddenErrorResponse,
|
|
84
85
|
_response.rawResponse,
|
|
85
86
|
);
|
|
86
87
|
case 404:
|
|
@@ -88,6 +89,11 @@ export class UsersClient {
|
|
|
88
89
|
_response.error.body as Ichos.NotFoundErrorResponse,
|
|
89
90
|
_response.rawResponse,
|
|
90
91
|
);
|
|
92
|
+
case 429:
|
|
93
|
+
throw new Ichos.TooManyRequestsError(
|
|
94
|
+
_response.error.body as Ichos.TooManyRequestsErrorResponse,
|
|
95
|
+
_response.rawResponse,
|
|
96
|
+
);
|
|
91
97
|
case 500:
|
|
92
98
|
throw new Ichos.InternalServerError(
|
|
93
99
|
_response.error.body as Ichos.InternalServerErrorResponse,
|
|
@@ -113,6 +119,7 @@ export class UsersClient {
|
|
|
113
119
|
* @throws {@link Ichos.UnauthorizedError}
|
|
114
120
|
* @throws {@link Ichos.ForbiddenError}
|
|
115
121
|
* @throws {@link Ichos.NotFoundError}
|
|
122
|
+
* @throws {@link Ichos.TooManyRequestsError}
|
|
116
123
|
* @throws {@link Ichos.InternalServerError}
|
|
117
124
|
*
|
|
118
125
|
* @example
|
|
@@ -163,7 +170,7 @@ export class UsersClient {
|
|
|
163
170
|
);
|
|
164
171
|
case 403:
|
|
165
172
|
throw new Ichos.ForbiddenError(
|
|
166
|
-
_response.error.body as Ichos.
|
|
173
|
+
_response.error.body as Ichos.ForbiddenErrorResponse,
|
|
167
174
|
_response.rawResponse,
|
|
168
175
|
);
|
|
169
176
|
case 404:
|
|
@@ -171,6 +178,11 @@ export class UsersClient {
|
|
|
171
178
|
_response.error.body as Ichos.NotFoundErrorResponse,
|
|
172
179
|
_response.rawResponse,
|
|
173
180
|
);
|
|
181
|
+
case 429:
|
|
182
|
+
throw new Ichos.TooManyRequestsError(
|
|
183
|
+
_response.error.body as Ichos.TooManyRequestsErrorResponse,
|
|
184
|
+
_response.rawResponse,
|
|
185
|
+
);
|
|
174
186
|
case 500:
|
|
175
187
|
throw new Ichos.InternalServerError(
|
|
176
188
|
_response.error.body as Ichos.InternalServerErrorResponse,
|
|
@@ -197,6 +209,7 @@ export class UsersClient {
|
|
|
197
209
|
* @throws {@link Ichos.UnauthorizedError}
|
|
198
210
|
* @throws {@link Ichos.ForbiddenError}
|
|
199
211
|
* @throws {@link Ichos.NotFoundError}
|
|
212
|
+
* @throws {@link Ichos.TooManyRequestsError}
|
|
200
213
|
* @throws {@link Ichos.InternalServerError}
|
|
201
214
|
*
|
|
202
215
|
* @example
|
|
@@ -252,7 +265,7 @@ export class UsersClient {
|
|
|
252
265
|
);
|
|
253
266
|
case 403:
|
|
254
267
|
throw new Ichos.ForbiddenError(
|
|
255
|
-
_response.error.body as Ichos.
|
|
268
|
+
_response.error.body as Ichos.ForbiddenErrorResponse,
|
|
256
269
|
_response.rawResponse,
|
|
257
270
|
);
|
|
258
271
|
case 404:
|
|
@@ -260,6 +273,11 @@ export class UsersClient {
|
|
|
260
273
|
_response.error.body as Ichos.NotFoundErrorResponse,
|
|
261
274
|
_response.rawResponse,
|
|
262
275
|
);
|
|
276
|
+
case 429:
|
|
277
|
+
throw new Ichos.TooManyRequestsError(
|
|
278
|
+
_response.error.body as Ichos.TooManyRequestsErrorResponse,
|
|
279
|
+
_response.rawResponse,
|
|
280
|
+
);
|
|
263
281
|
case 500:
|
|
264
282
|
throw new Ichos.InternalServerError(
|
|
265
283
|
_response.error.body as Ichos.InternalServerErrorResponse,
|
|
@@ -285,6 +303,7 @@ export class UsersClient {
|
|
|
285
303
|
* @throws {@link Ichos.UnauthorizedError}
|
|
286
304
|
* @throws {@link Ichos.ForbiddenError}
|
|
287
305
|
* @throws {@link Ichos.NotFoundError}
|
|
306
|
+
* @throws {@link Ichos.TooManyRequestsError}
|
|
288
307
|
* @throws {@link Ichos.InternalServerError}
|
|
289
308
|
*
|
|
290
309
|
* @example
|
|
@@ -335,7 +354,7 @@ export class UsersClient {
|
|
|
335
354
|
);
|
|
336
355
|
case 403:
|
|
337
356
|
throw new Ichos.ForbiddenError(
|
|
338
|
-
_response.error.body as Ichos.
|
|
357
|
+
_response.error.body as Ichos.ForbiddenErrorResponse,
|
|
339
358
|
_response.rawResponse,
|
|
340
359
|
);
|
|
341
360
|
case 404:
|
|
@@ -343,6 +362,11 @@ export class UsersClient {
|
|
|
343
362
|
_response.error.body as Ichos.NotFoundErrorResponse,
|
|
344
363
|
_response.rawResponse,
|
|
345
364
|
);
|
|
365
|
+
case 429:
|
|
366
|
+
throw new Ichos.TooManyRequestsError(
|
|
367
|
+
_response.error.body as Ichos.TooManyRequestsErrorResponse,
|
|
368
|
+
_response.rawResponse,
|
|
369
|
+
);
|
|
346
370
|
case 500:
|
|
347
371
|
throw new Ichos.InternalServerError(
|
|
348
372
|
_response.error.body as Ichos.InternalServerErrorResponse,
|
|
@@ -368,6 +392,7 @@ export class UsersClient {
|
|
|
368
392
|
* @throws {@link Ichos.UnauthorizedError}
|
|
369
393
|
* @throws {@link Ichos.ForbiddenError}
|
|
370
394
|
* @throws {@link Ichos.NotFoundError}
|
|
395
|
+
* @throws {@link Ichos.TooManyRequestsError}
|
|
371
396
|
* @throws {@link Ichos.InternalServerError}
|
|
372
397
|
*
|
|
373
398
|
* @example
|
|
@@ -418,7 +443,7 @@ export class UsersClient {
|
|
|
418
443
|
);
|
|
419
444
|
case 403:
|
|
420
445
|
throw new Ichos.ForbiddenError(
|
|
421
|
-
_response.error.body as Ichos.
|
|
446
|
+
_response.error.body as Ichos.ForbiddenErrorResponse,
|
|
422
447
|
_response.rawResponse,
|
|
423
448
|
);
|
|
424
449
|
case 404:
|
|
@@ -426,6 +451,11 @@ export class UsersClient {
|
|
|
426
451
|
_response.error.body as Ichos.NotFoundErrorResponse,
|
|
427
452
|
_response.rawResponse,
|
|
428
453
|
);
|
|
454
|
+
case 429:
|
|
455
|
+
throw new Ichos.TooManyRequestsError(
|
|
456
|
+
_response.error.body as Ichos.TooManyRequestsErrorResponse,
|
|
457
|
+
_response.rawResponse,
|
|
458
|
+
);
|
|
429
459
|
case 500:
|
|
430
460
|
throw new Ichos.InternalServerError(
|
|
431
461
|
_response.error.body as Ichos.InternalServerErrorResponse,
|
|
@@ -31,6 +31,7 @@ export class WebhooksClient {
|
|
|
31
31
|
*
|
|
32
32
|
* @throws {@link Ichos.UnauthorizedError}
|
|
33
33
|
* @throws {@link Ichos.ForbiddenError}
|
|
34
|
+
* @throws {@link Ichos.TooManyRequestsError}
|
|
34
35
|
* @throws {@link Ichos.InternalServerError}
|
|
35
36
|
*
|
|
36
37
|
* @example
|
|
@@ -88,7 +89,12 @@ export class WebhooksClient {
|
|
|
88
89
|
);
|
|
89
90
|
case 403:
|
|
90
91
|
throw new Ichos.ForbiddenError(
|
|
91
|
-
_response.error.body as Ichos.
|
|
92
|
+
_response.error.body as Ichos.ForbiddenErrorResponse,
|
|
93
|
+
_response.rawResponse,
|
|
94
|
+
);
|
|
95
|
+
case 429:
|
|
96
|
+
throw new Ichos.TooManyRequestsError(
|
|
97
|
+
_response.error.body as Ichos.TooManyRequestsErrorResponse,
|
|
92
98
|
_response.rawResponse,
|
|
93
99
|
);
|
|
94
100
|
case 500:
|
|
@@ -115,6 +121,7 @@ export class WebhooksClient {
|
|
|
115
121
|
*
|
|
116
122
|
* @throws {@link Ichos.UnauthorizedError}
|
|
117
123
|
* @throws {@link Ichos.ForbiddenError}
|
|
124
|
+
* @throws {@link Ichos.TooManyRequestsError}
|
|
118
125
|
* @throws {@link Ichos.InternalServerError}
|
|
119
126
|
*
|
|
120
127
|
* @example
|
|
@@ -168,7 +175,12 @@ export class WebhooksClient {
|
|
|
168
175
|
);
|
|
169
176
|
case 403:
|
|
170
177
|
throw new Ichos.ForbiddenError(
|
|
171
|
-
_response.error.body as Ichos.
|
|
178
|
+
_response.error.body as Ichos.ForbiddenErrorResponse,
|
|
179
|
+
_response.rawResponse,
|
|
180
|
+
);
|
|
181
|
+
case 429:
|
|
182
|
+
throw new Ichos.TooManyRequestsError(
|
|
183
|
+
_response.error.body as Ichos.TooManyRequestsErrorResponse,
|
|
172
184
|
_response.rawResponse,
|
|
173
185
|
);
|
|
174
186
|
case 500:
|
|
@@ -196,6 +208,7 @@ export class WebhooksClient {
|
|
|
196
208
|
*
|
|
197
209
|
* @throws {@link Ichos.UnauthorizedError}
|
|
198
210
|
* @throws {@link Ichos.ForbiddenError}
|
|
211
|
+
* @throws {@link Ichos.TooManyRequestsError}
|
|
199
212
|
* @throws {@link Ichos.InternalServerError}
|
|
200
213
|
*
|
|
201
214
|
* @example
|
|
@@ -251,7 +264,12 @@ export class WebhooksClient {
|
|
|
251
264
|
);
|
|
252
265
|
case 403:
|
|
253
266
|
throw new Ichos.ForbiddenError(
|
|
254
|
-
_response.error.body as Ichos.
|
|
267
|
+
_response.error.body as Ichos.ForbiddenErrorResponse,
|
|
268
|
+
_response.rawResponse,
|
|
269
|
+
);
|
|
270
|
+
case 429:
|
|
271
|
+
throw new Ichos.TooManyRequestsError(
|
|
272
|
+
_response.error.body as Ichos.TooManyRequestsErrorResponse,
|
|
255
273
|
_response.rawResponse,
|
|
256
274
|
);
|
|
257
275
|
case 500:
|
|
@@ -283,6 +301,7 @@ export class WebhooksClient {
|
|
|
283
301
|
*
|
|
284
302
|
* @throws {@link Ichos.UnauthorizedError}
|
|
285
303
|
* @throws {@link Ichos.ForbiddenError}
|
|
304
|
+
* @throws {@link Ichos.TooManyRequestsError}
|
|
286
305
|
* @throws {@link Ichos.InternalServerError}
|
|
287
306
|
*
|
|
288
307
|
* @example
|
|
@@ -333,7 +352,12 @@ export class WebhooksClient {
|
|
|
333
352
|
);
|
|
334
353
|
case 403:
|
|
335
354
|
throw new Ichos.ForbiddenError(
|
|
336
|
-
_response.error.body as Ichos.
|
|
355
|
+
_response.error.body as Ichos.ForbiddenErrorResponse,
|
|
356
|
+
_response.rawResponse,
|
|
357
|
+
);
|
|
358
|
+
case 429:
|
|
359
|
+
throw new Ichos.TooManyRequestsError(
|
|
360
|
+
_response.error.body as Ichos.TooManyRequestsErrorResponse,
|
|
337
361
|
_response.rawResponse,
|
|
338
362
|
);
|
|
339
363
|
case 500:
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type * as Ichos from "../index.js";
|
|
4
4
|
|
|
5
|
-
export interface
|
|
5
|
+
export interface EpisodeCreateResponseData {
|
|
6
6
|
id: string;
|
|
7
7
|
adsEnabled: boolean;
|
|
8
8
|
title: string;
|
|
@@ -13,14 +13,14 @@ export interface EpisodeCreatedResponseData {
|
|
|
13
13
|
pubDate: string;
|
|
14
14
|
season: number | null;
|
|
15
15
|
episode: number | null;
|
|
16
|
-
episodeType:
|
|
16
|
+
episodeType: EpisodeCreateResponseData.EpisodeType;
|
|
17
17
|
coverUrl: string | null;
|
|
18
|
-
coverUploadStatus:
|
|
18
|
+
coverUploadStatus: EpisodeCreateResponseData.CoverUploadStatus | null;
|
|
19
19
|
transcripts: Ichos.EpisodeTranscript[] | null;
|
|
20
20
|
chaptersUrl: string | null;
|
|
21
21
|
persons: Ichos.Person[] | null;
|
|
22
22
|
license: string | null;
|
|
23
|
-
status?:
|
|
23
|
+
status?: EpisodeCreateResponseData.Status;
|
|
24
24
|
podcastId: string;
|
|
25
25
|
audioId: string | null;
|
|
26
26
|
guid: string;
|
|
@@ -33,7 +33,7 @@ export interface EpisodeCreatedResponseData {
|
|
|
33
33
|
audioUpload: Ichos.AudioUploadResponse;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
export namespace
|
|
36
|
+
export namespace EpisodeCreateResponseData {
|
|
37
37
|
export const EpisodeType = {
|
|
38
38
|
Full: "full",
|
|
39
39
|
Trailer: "trailer",
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
export interface
|
|
4
|
-
name: string;
|
|
5
|
-
message: string;
|
|
6
|
-
stack?: string;
|
|
3
|
+
export interface ForbiddenErrorBody {
|
|
7
4
|
statusCode: number;
|
|
8
5
|
errorCode: string;
|
|
9
6
|
errorMessage: string;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
import type * as Ichos from "../index.js";
|
|
4
|
+
|
|
5
|
+
export interface PodcastCreateResponseData {
|
|
6
|
+
/** Unique identifier for the podcast. */
|
|
7
|
+
id: string;
|
|
8
|
+
/** The title of the podcast. */
|
|
9
|
+
title: string;
|
|
10
|
+
/**
|
|
11
|
+
* The unique GUID for the podcast.
|
|
12
|
+
* A GUIDv5 based on the podcast's feed URL.
|
|
13
|
+
*/
|
|
14
|
+
guid: string;
|
|
15
|
+
/** The current status of the podcast. */
|
|
16
|
+
status: PodcastCreateResponseData.Status;
|
|
17
|
+
/** The website link for the podcast. */
|
|
18
|
+
link: string | null;
|
|
19
|
+
/** A detailed description of the podcast. */
|
|
20
|
+
description: string | null;
|
|
21
|
+
/** The language of the podcast (ISO 639-1 code). */
|
|
22
|
+
language: string | null;
|
|
23
|
+
/** Current cover upload status. */
|
|
24
|
+
coverUploadStatus: PodcastCreateResponseData.CoverUploadStatus | null;
|
|
25
|
+
/** Whether ads are enabled for the podcast. */
|
|
26
|
+
adsEnabled?: boolean;
|
|
27
|
+
/** Categories associated with the podcast. */
|
|
28
|
+
categories: Ichos.ApplePodcastCategory[] | null;
|
|
29
|
+
/** Whether the podcast contains explicit content. */
|
|
30
|
+
explicit: boolean;
|
|
31
|
+
/** The author of the podcast. */
|
|
32
|
+
author: string | null;
|
|
33
|
+
/** The name of the podcast owner. */
|
|
34
|
+
ownerName: string | null;
|
|
35
|
+
/** The email of the podcast owner. */
|
|
36
|
+
ownerEmail: string | null;
|
|
37
|
+
/** Copyright information for the podcast. */
|
|
38
|
+
copyright: string | null;
|
|
39
|
+
/** The type of podcast (e.g., episodic, serial). */
|
|
40
|
+
type: PodcastCreateResponseData.Type;
|
|
41
|
+
/** The new URL for the podcast feed if it has moved. */
|
|
42
|
+
newFeedUrl: string | null;
|
|
43
|
+
/** Whether the podcast is complete. */
|
|
44
|
+
complete: boolean;
|
|
45
|
+
/** Whether the podcast is blocked. */
|
|
46
|
+
block: boolean;
|
|
47
|
+
/** Whether the podcast is locked. */
|
|
48
|
+
locked: boolean;
|
|
49
|
+
/** The URL for funding/donations. */
|
|
50
|
+
fundingUrl: string | null;
|
|
51
|
+
/** The text to display for the funding link. */
|
|
52
|
+
fundingText: string | null;
|
|
53
|
+
rssUrl: string | null;
|
|
54
|
+
pubDate: string;
|
|
55
|
+
metadata: Ichos.Metadata;
|
|
56
|
+
createdAt: string;
|
|
57
|
+
updatedAt: string;
|
|
58
|
+
coverUpload?: Ichos.CoverUploadResponse;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export namespace PodcastCreateResponseData {
|
|
62
|
+
/** The current status of the podcast. */
|
|
63
|
+
export const Status = {
|
|
64
|
+
Draft: "draft",
|
|
65
|
+
Published: "published",
|
|
66
|
+
Deleted: "deleted",
|
|
67
|
+
} as const;
|
|
68
|
+
export type Status = (typeof Status)[keyof typeof Status];
|
|
69
|
+
/** Current cover upload status. */
|
|
70
|
+
export const CoverUploadStatus = {
|
|
71
|
+
Pending: "pending",
|
|
72
|
+
Complete: "complete",
|
|
73
|
+
Failed: "failed",
|
|
74
|
+
} as const;
|
|
75
|
+
export type CoverUploadStatus = (typeof CoverUploadStatus)[keyof typeof CoverUploadStatus];
|
|
76
|
+
/** The type of podcast (e.g., episodic, serial). */
|
|
77
|
+
export const Type = {
|
|
78
|
+
Episodic: "episodic",
|
|
79
|
+
Serial: "serial",
|
|
80
|
+
} as const;
|
|
81
|
+
export type Type = (typeof Type)[keyof typeof Type];
|
|
82
|
+
}
|
package/src/api/types/index.ts
CHANGED
|
@@ -23,12 +23,14 @@ export * from "./Chapter.js";
|
|
|
23
23
|
export * from "./CoverUploadOptions.js";
|
|
24
24
|
export * from "./CoverUploadResponse.js";
|
|
25
25
|
export * from "./Episode.js";
|
|
26
|
-
export * from "./EpisodeCreatedResponseData.js";
|
|
27
26
|
export * from "./EpisodeCreateResponse.js";
|
|
27
|
+
export * from "./EpisodeCreateResponseData.js";
|
|
28
28
|
export * from "./EpisodeResponse.js";
|
|
29
29
|
export * from "./EpisodeSearchParams.js";
|
|
30
30
|
export * from "./EpisodesResponse.js";
|
|
31
31
|
export * from "./EpisodeTranscript.js";
|
|
32
|
+
export * from "./ForbiddenErrorBody.js";
|
|
33
|
+
export * from "./ForbiddenErrorResponse.js";
|
|
32
34
|
export * from "./InternalServerErrorBody.js";
|
|
33
35
|
export * from "./InternalServerErrorResponse.js";
|
|
34
36
|
export * from "./Listeners.js";
|
|
@@ -46,21 +48,21 @@ export * from "./OrganizationWhitelabelConfiguration.js";
|
|
|
46
48
|
export * from "./OrganizationWhitelabelConfigurationResponse.js";
|
|
47
49
|
export * from "./Person.js";
|
|
48
50
|
export * from "./Podcast.js";
|
|
51
|
+
export * from "./PodcastCreateResponse.js";
|
|
52
|
+
export * from "./PodcastCreateResponseData.js";
|
|
49
53
|
export * from "./PodcastImportCompletedPayload.js";
|
|
50
54
|
export * from "./PodcastImportFailedPayload.js";
|
|
51
55
|
export * from "./PodcastResponse.js";
|
|
52
56
|
export * from "./PodcastSearchParams.js";
|
|
53
57
|
export * from "./PodcastsResponse.js";
|
|
54
58
|
export * from "./PublishPodcastOutput.js";
|
|
55
|
-
export * from "./RetrieveCoverResponse.js";
|
|
56
59
|
export * from "./Segment.js";
|
|
57
60
|
export * from "./SegmentListResponse.js";
|
|
58
61
|
export * from "./SegmentResponse.js";
|
|
59
|
-
export * from "./StringOrNullResponse.js";
|
|
60
62
|
export * from "./StringResponse.js";
|
|
63
|
+
export * from "./TooManyRequestsErrorBody.js";
|
|
64
|
+
export * from "./TooManyRequestsErrorResponse.js";
|
|
61
65
|
export * from "./TranscriptCompletedPayload.js";
|
|
62
|
-
export * from "./UnauthenticatedError.js";
|
|
63
|
-
export * from "./UnauthenticatedErrorResponse.js";
|
|
64
66
|
export * from "./UnauthorizedErrorBody.js";
|
|
65
67
|
export * from "./UnauthorizedErrorResponse.js";
|
|
66
68
|
export * from "./UserUploadAudioResponse.js";
|
|
@@ -68,6 +70,7 @@ export * from "./UserUploadAudioResult.js";
|
|
|
68
70
|
export * from "./UserUploadCoverResponse.js";
|
|
69
71
|
export * from "./UserUploadCoverResult.js";
|
|
70
72
|
export * from "./UserUploadCoverResultResponse.js";
|
|
73
|
+
export * from "./ValidationError.js";
|
|
71
74
|
export * from "./ValidationErrorResponse.js";
|
|
72
75
|
export * from "./ValidationIssue.js";
|
|
73
76
|
export * from "./VirtualUser.js";
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
-
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
-
import * as core from "../../../../core/index.js";
|
|
4
|
-
import * as Ichos from "../../../index.js";
|
|
5
|
-
export declare namespace AnalyticsClient {
|
|
6
|
-
type Options = BaseClientOptions;
|
|
7
|
-
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
export declare class AnalyticsClient {
|
|
11
|
-
protected readonly _options: NormalizedClientOptionsWithAuth<AnalyticsClient.Options>;
|
|
12
|
-
constructor(options: AnalyticsClient.Options);
|
|
13
|
-
/**
|
|
14
|
-
* @param {Ichos.GetAverageMonthlyListenersRequest} request
|
|
15
|
-
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
|
-
*
|
|
17
|
-
* @throws {@link Ichos.UnauthorizedError}
|
|
18
|
-
* @throws {@link Ichos.ForbiddenError}
|
|
19
|
-
* @throws {@link Ichos.InternalServerError}
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* await client.analytics.getAverageMonthlyListeners({
|
|
23
|
-
* podcastId: "podcastId"
|
|
24
|
-
* })
|
|
25
|
-
*/
|
|
26
|
-
getAverageMonthlyListeners(request: Ichos.GetAverageMonthlyListenersRequest, requestOptions?: AnalyticsClient.RequestOptions): core.HttpResponsePromise<Ichos.MonthlyListenersResponse>;
|
|
27
|
-
private __getAverageMonthlyListeners;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=Client.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../../../../../src/api/resources/analytics/client/Client.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AACvF,OAAO,EAAE,KAAK,+BAA+B,EAAkC,MAAM,2BAA2B,CAAC;AAEjH,OAAO,KAAK,IAAI,MAAM,2BAA2B,CAAC;AAIlD,OAAO,KAAK,KAAK,MAAM,mBAAmB,CAAC;AAE3C,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACrC,KAAY,OAAO,GAAG,iBAAiB,CAAC;IAExC,UAAiB,cAAe,SAAQ,kBAAkB;KAAG;CAChE;AAED,qBAAa,eAAe;IACxB,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,+BAA+B,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;gBAE1E,OAAO,EAAE,eAAe,CAAC,OAAO;IAI5C;;;;;;;;;;;;OAYG;IACI,0BAA0B,CAC7B,OAAO,EAAE,KAAK,CAAC,iCAAiC,EAChD,cAAc,CAAC,EAAE,eAAe,CAAC,cAAc,GAChD,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,wBAAwB,CAAC;YAI7C,4BAA4B;CAiE7C"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
import { normalizeClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
3
|
-
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js";
|
|
4
|
-
import * as core from "../../../../core/index.js";
|
|
5
|
-
import * as environments from "../../../../environments.js";
|
|
6
|
-
import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCodeError.js";
|
|
7
|
-
import * as errors from "../../../../errors/index.js";
|
|
8
|
-
import * as Ichos from "../../../index.js";
|
|
9
|
-
export class AnalyticsClient {
|
|
10
|
-
_options;
|
|
11
|
-
constructor(options) {
|
|
12
|
-
this._options = normalizeClientOptionsWithAuth(options);
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @param {Ichos.GetAverageMonthlyListenersRequest} request
|
|
16
|
-
* @param {AnalyticsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
17
|
-
*
|
|
18
|
-
* @throws {@link Ichos.UnauthorizedError}
|
|
19
|
-
* @throws {@link Ichos.ForbiddenError}
|
|
20
|
-
* @throws {@link Ichos.InternalServerError}
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* await client.analytics.getAverageMonthlyListeners({
|
|
24
|
-
* podcastId: "podcastId"
|
|
25
|
-
* })
|
|
26
|
-
*/
|
|
27
|
-
getAverageMonthlyListeners(request, requestOptions) {
|
|
28
|
-
return core.HttpResponsePromise.fromPromise(this.__getAverageMonthlyListeners(request, requestOptions));
|
|
29
|
-
}
|
|
30
|
-
async __getAverageMonthlyListeners(request, requestOptions) {
|
|
31
|
-
const { podcastId } = request;
|
|
32
|
-
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
33
|
-
const _headers = mergeHeaders(_authRequest.headers, this._options?.headers, mergeOnlyDefinedHeaders({ "x-virtual-user": requestOptions?.virtualUser ?? this._options?.virtualUser }), requestOptions?.headers);
|
|
34
|
-
const _response = await core.fetcher({
|
|
35
|
-
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
36
|
-
(await core.Supplier.get(this._options.environment)) ??
|
|
37
|
-
environments.IchosEnvironment.Default, `v1/analytics/${core.url.encodePathParam(podcastId)}/monthly-listeners`),
|
|
38
|
-
method: "GET",
|
|
39
|
-
headers: _headers,
|
|
40
|
-
queryParameters: requestOptions?.queryParams,
|
|
41
|
-
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
42
|
-
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
43
|
-
abortSignal: requestOptions?.abortSignal,
|
|
44
|
-
fetchFn: this._options?.fetch,
|
|
45
|
-
logging: this._options.logging,
|
|
46
|
-
});
|
|
47
|
-
if (_response.ok) {
|
|
48
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
49
|
-
}
|
|
50
|
-
if (_response.error.reason === "status-code") {
|
|
51
|
-
switch (_response.error.statusCode) {
|
|
52
|
-
case 401:
|
|
53
|
-
throw new Ichos.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
54
|
-
case 403:
|
|
55
|
-
throw new Ichos.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
56
|
-
case 500:
|
|
57
|
-
throw new Ichos.InternalServerError(_response.error.body, _response.rawResponse);
|
|
58
|
-
default:
|
|
59
|
-
throw new errors.IchosError({
|
|
60
|
-
statusCode: _response.error.statusCode,
|
|
61
|
-
body: _response.error.body,
|
|
62
|
-
rawResponse: _response.rawResponse,
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/v1/analytics/{podcastId}/monthly-listeners");
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
//# sourceMappingURL=Client.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Client.js","sourceRoot":"","sources":["../../../../../src/api/resources/analytics/client/Client.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/api/resources/analytics/client/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/api/resources/analytics/client/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
package/dist/api/resources/analytics/client/requests/GetAverageMonthlyListenersRequest.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetAverageMonthlyListenersRequest.d.ts","sourceRoot":"","sources":["../../../../../../src/api/resources/analytics/client/requests/GetAverageMonthlyListenersRequest.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,MAAM,WAAW,iCAAiC;IAC9C,SAAS,EAAE,MAAM,CAAC;CACrB"}
|
package/dist/api/resources/analytics/client/requests/GetAverageMonthlyListenersRequest.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetAverageMonthlyListenersRequest.js","sourceRoot":"","sources":["../../../../../../src/api/resources/analytics/client/requests/GetAverageMonthlyListenersRequest.ts"],"names":[],"mappings":"AAAA,gEAAgE"}
|