bundlesocial 2.17.0 → 2.18.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/dist/index.d.mts +1292 -148
- package/dist/index.d.ts +1292 -148
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4276,6 +4276,382 @@ type CommentCreateResponse = {
|
|
|
4276
4276
|
updatedAt: string | null;
|
|
4277
4277
|
deletedAt?: string | null;
|
|
4278
4278
|
};
|
|
4279
|
+
type MiscSetThumbnailData = {
|
|
4280
|
+
/**
|
|
4281
|
+
* Body
|
|
4282
|
+
*/
|
|
4283
|
+
requestBody?: {
|
|
4284
|
+
teamId: string;
|
|
4285
|
+
url: string;
|
|
4286
|
+
postId: string;
|
|
4287
|
+
};
|
|
4288
|
+
};
|
|
4289
|
+
type MiscSetThumbnailResponse = {
|
|
4290
|
+
items?: Array<{
|
|
4291
|
+
default?: {
|
|
4292
|
+
url: string;
|
|
4293
|
+
width?: number;
|
|
4294
|
+
height?: number;
|
|
4295
|
+
};
|
|
4296
|
+
medium?: {
|
|
4297
|
+
url: string;
|
|
4298
|
+
width?: number;
|
|
4299
|
+
height?: number;
|
|
4300
|
+
};
|
|
4301
|
+
high?: {
|
|
4302
|
+
url: string;
|
|
4303
|
+
width?: number;
|
|
4304
|
+
height?: number;
|
|
4305
|
+
};
|
|
4306
|
+
standard?: {
|
|
4307
|
+
url: string;
|
|
4308
|
+
width?: number;
|
|
4309
|
+
height?: number;
|
|
4310
|
+
};
|
|
4311
|
+
maxres?: {
|
|
4312
|
+
url: string;
|
|
4313
|
+
width?: number;
|
|
4314
|
+
height?: number;
|
|
4315
|
+
};
|
|
4316
|
+
}>;
|
|
4317
|
+
};
|
|
4318
|
+
type MiscGetChannelPlaylistData = {
|
|
4319
|
+
maxResults?: number;
|
|
4320
|
+
teamId: string;
|
|
4321
|
+
};
|
|
4322
|
+
type MiscGetChannelPlaylistResponse = {
|
|
4323
|
+
kind?: string;
|
|
4324
|
+
etag?: string;
|
|
4325
|
+
nextPageToken?: string;
|
|
4326
|
+
prevPageToken?: string;
|
|
4327
|
+
pageInfo?: {
|
|
4328
|
+
totalResults?: number;
|
|
4329
|
+
resultsPerPage?: number;
|
|
4330
|
+
};
|
|
4331
|
+
items?: Array<{
|
|
4332
|
+
kind?: string;
|
|
4333
|
+
etag?: string;
|
|
4334
|
+
id?: string;
|
|
4335
|
+
snippet?: {
|
|
4336
|
+
publishedAt?: string;
|
|
4337
|
+
channelId?: string;
|
|
4338
|
+
title?: string;
|
|
4339
|
+
description?: string;
|
|
4340
|
+
channelTitle?: string;
|
|
4341
|
+
thumbnails?: {
|
|
4342
|
+
default?: {
|
|
4343
|
+
url?: string;
|
|
4344
|
+
width?: number;
|
|
4345
|
+
height?: number;
|
|
4346
|
+
};
|
|
4347
|
+
medium?: {
|
|
4348
|
+
url?: string;
|
|
4349
|
+
width?: number;
|
|
4350
|
+
height?: number;
|
|
4351
|
+
};
|
|
4352
|
+
high?: {
|
|
4353
|
+
url?: string;
|
|
4354
|
+
width?: number;
|
|
4355
|
+
height?: number;
|
|
4356
|
+
};
|
|
4357
|
+
standard?: {
|
|
4358
|
+
url?: string;
|
|
4359
|
+
width?: number;
|
|
4360
|
+
height?: number;
|
|
4361
|
+
};
|
|
4362
|
+
maxres?: {
|
|
4363
|
+
url?: string;
|
|
4364
|
+
width?: number;
|
|
4365
|
+
height?: number;
|
|
4366
|
+
};
|
|
4367
|
+
};
|
|
4368
|
+
localized?: {
|
|
4369
|
+
title?: string;
|
|
4370
|
+
description?: string;
|
|
4371
|
+
};
|
|
4372
|
+
};
|
|
4373
|
+
status?: {
|
|
4374
|
+
privacyStatus?: string;
|
|
4375
|
+
};
|
|
4376
|
+
contentDetails?: {
|
|
4377
|
+
itemCount?: number;
|
|
4378
|
+
};
|
|
4379
|
+
}>;
|
|
4380
|
+
};
|
|
4381
|
+
type MiscCreateNewChannelPlaylistData = {
|
|
4382
|
+
/**
|
|
4383
|
+
* Body
|
|
4384
|
+
*/
|
|
4385
|
+
requestBody?: {
|
|
4386
|
+
teamId: string;
|
|
4387
|
+
/**
|
|
4388
|
+
* bundle.social does not store this value and YouTube overites it everytime so you need to pass it everytime
|
|
4389
|
+
*/
|
|
4390
|
+
title: string;
|
|
4391
|
+
/**
|
|
4392
|
+
* bundle.social does not store this value and YouTube overites it everytime so you need to pass it everytime
|
|
4393
|
+
*/
|
|
4394
|
+
description: string;
|
|
4395
|
+
privacyStatus?: 'public' | 'unlisted' | 'private';
|
|
4396
|
+
};
|
|
4397
|
+
};
|
|
4398
|
+
type MiscCreateNewChannelPlaylistResponse = {
|
|
4399
|
+
kind?: string;
|
|
4400
|
+
etag?: string;
|
|
4401
|
+
id?: string;
|
|
4402
|
+
snippet?: {
|
|
4403
|
+
publishedAt?: string;
|
|
4404
|
+
channelId?: string;
|
|
4405
|
+
title?: string;
|
|
4406
|
+
description?: string;
|
|
4407
|
+
channelTitle?: string;
|
|
4408
|
+
thumbnails?: {
|
|
4409
|
+
default?: {
|
|
4410
|
+
url?: string;
|
|
4411
|
+
width?: number;
|
|
4412
|
+
height?: number;
|
|
4413
|
+
};
|
|
4414
|
+
medium?: {
|
|
4415
|
+
url?: string;
|
|
4416
|
+
width?: number;
|
|
4417
|
+
height?: number;
|
|
4418
|
+
};
|
|
4419
|
+
high?: {
|
|
4420
|
+
url?: string;
|
|
4421
|
+
width?: number;
|
|
4422
|
+
height?: number;
|
|
4423
|
+
};
|
|
4424
|
+
standard?: {
|
|
4425
|
+
url?: string;
|
|
4426
|
+
width?: number;
|
|
4427
|
+
height?: number;
|
|
4428
|
+
};
|
|
4429
|
+
maxres?: {
|
|
4430
|
+
url?: string;
|
|
4431
|
+
width?: number;
|
|
4432
|
+
height?: number;
|
|
4433
|
+
};
|
|
4434
|
+
};
|
|
4435
|
+
localized?: {
|
|
4436
|
+
title?: string;
|
|
4437
|
+
description?: string;
|
|
4438
|
+
};
|
|
4439
|
+
};
|
|
4440
|
+
status?: {
|
|
4441
|
+
privacyStatus?: string;
|
|
4442
|
+
};
|
|
4443
|
+
contentDetails?: {
|
|
4444
|
+
itemCount?: number;
|
|
4445
|
+
};
|
|
4446
|
+
};
|
|
4447
|
+
type MiscUpdateChannelPlaylistData = {
|
|
4448
|
+
/**
|
|
4449
|
+
* Body
|
|
4450
|
+
*/
|
|
4451
|
+
requestBody?: {
|
|
4452
|
+
teamId: string;
|
|
4453
|
+
/**
|
|
4454
|
+
* bundle.social does not store this value and YouTube overites it everytime so you need to pass it everytime
|
|
4455
|
+
*/
|
|
4456
|
+
title: string;
|
|
4457
|
+
/**
|
|
4458
|
+
* bundle.social does not store this value and YouTube overites it everytime so you need to pass it everytime
|
|
4459
|
+
*/
|
|
4460
|
+
description: string;
|
|
4461
|
+
privacyStatus?: 'public' | 'unlisted' | 'private';
|
|
4462
|
+
playlistId: string;
|
|
4463
|
+
};
|
|
4464
|
+
};
|
|
4465
|
+
type MiscUpdateChannelPlaylistResponse = {
|
|
4466
|
+
kind?: string;
|
|
4467
|
+
etag?: string;
|
|
4468
|
+
id?: string;
|
|
4469
|
+
snippet?: {
|
|
4470
|
+
publishedAt?: string;
|
|
4471
|
+
channelId?: string;
|
|
4472
|
+
title?: string;
|
|
4473
|
+
description?: string;
|
|
4474
|
+
channelTitle?: string;
|
|
4475
|
+
thumbnails?: {
|
|
4476
|
+
default?: {
|
|
4477
|
+
url?: string;
|
|
4478
|
+
width?: number;
|
|
4479
|
+
height?: number;
|
|
4480
|
+
};
|
|
4481
|
+
medium?: {
|
|
4482
|
+
url?: string;
|
|
4483
|
+
width?: number;
|
|
4484
|
+
height?: number;
|
|
4485
|
+
};
|
|
4486
|
+
high?: {
|
|
4487
|
+
url?: string;
|
|
4488
|
+
width?: number;
|
|
4489
|
+
height?: number;
|
|
4490
|
+
};
|
|
4491
|
+
standard?: {
|
|
4492
|
+
url?: string;
|
|
4493
|
+
width?: number;
|
|
4494
|
+
height?: number;
|
|
4495
|
+
};
|
|
4496
|
+
maxres?: {
|
|
4497
|
+
url?: string;
|
|
4498
|
+
width?: number;
|
|
4499
|
+
height?: number;
|
|
4500
|
+
};
|
|
4501
|
+
};
|
|
4502
|
+
localized?: {
|
|
4503
|
+
title?: string;
|
|
4504
|
+
description?: string;
|
|
4505
|
+
};
|
|
4506
|
+
};
|
|
4507
|
+
status?: {
|
|
4508
|
+
privacyStatus?: string;
|
|
4509
|
+
};
|
|
4510
|
+
contentDetails?: {
|
|
4511
|
+
itemCount?: number;
|
|
4512
|
+
};
|
|
4513
|
+
};
|
|
4514
|
+
type MiscDeleteChannelPlaylistData = {
|
|
4515
|
+
playlistId: string;
|
|
4516
|
+
teamId: string;
|
|
4517
|
+
};
|
|
4518
|
+
type MiscDeleteChannelPlaylistResponse = boolean;
|
|
4519
|
+
type MiscAddVideoToPlaylistData = {
|
|
4520
|
+
/**
|
|
4521
|
+
* Body
|
|
4522
|
+
*/
|
|
4523
|
+
requestBody?: {
|
|
4524
|
+
teamId: string;
|
|
4525
|
+
playlistId: string;
|
|
4526
|
+
postId: string;
|
|
4527
|
+
position?: number;
|
|
4528
|
+
};
|
|
4529
|
+
};
|
|
4530
|
+
type MiscAddVideoToPlaylistResponse = {
|
|
4531
|
+
kind?: string;
|
|
4532
|
+
etag?: string;
|
|
4533
|
+
id?: string;
|
|
4534
|
+
snippet?: {
|
|
4535
|
+
publishedAt?: string;
|
|
4536
|
+
channelId?: string;
|
|
4537
|
+
title?: string;
|
|
4538
|
+
description?: string;
|
|
4539
|
+
channelTitle?: string;
|
|
4540
|
+
thumbnails?: {
|
|
4541
|
+
default?: {
|
|
4542
|
+
url?: string;
|
|
4543
|
+
width?: number;
|
|
4544
|
+
height?: number;
|
|
4545
|
+
};
|
|
4546
|
+
medium?: {
|
|
4547
|
+
url?: string;
|
|
4548
|
+
width?: number;
|
|
4549
|
+
height?: number;
|
|
4550
|
+
};
|
|
4551
|
+
high?: {
|
|
4552
|
+
url?: string;
|
|
4553
|
+
width?: number;
|
|
4554
|
+
height?: number;
|
|
4555
|
+
};
|
|
4556
|
+
standard?: {
|
|
4557
|
+
url?: string;
|
|
4558
|
+
width?: number;
|
|
4559
|
+
height?: number;
|
|
4560
|
+
};
|
|
4561
|
+
maxres?: {
|
|
4562
|
+
url?: string;
|
|
4563
|
+
width?: number;
|
|
4564
|
+
height?: number;
|
|
4565
|
+
};
|
|
4566
|
+
};
|
|
4567
|
+
playlistId?: string;
|
|
4568
|
+
position?: number;
|
|
4569
|
+
resourceId?: {
|
|
4570
|
+
kind?: string;
|
|
4571
|
+
videoId?: string;
|
|
4572
|
+
playlistId?: string;
|
|
4573
|
+
channelId?: string;
|
|
4574
|
+
};
|
|
4575
|
+
};
|
|
4576
|
+
contentDetails?: {
|
|
4577
|
+
videoId?: string;
|
|
4578
|
+
videoPublishedAt?: string;
|
|
4579
|
+
};
|
|
4580
|
+
};
|
|
4581
|
+
type MiscGetVideosFromPlaylistData = {
|
|
4582
|
+
maxResults?: number;
|
|
4583
|
+
playlistId: string;
|
|
4584
|
+
teamId: string;
|
|
4585
|
+
};
|
|
4586
|
+
type MiscGetVideosFromPlaylistResponse = {
|
|
4587
|
+
kind?: string;
|
|
4588
|
+
etag?: string;
|
|
4589
|
+
nextPageToken?: string;
|
|
4590
|
+
prevPageToken?: string;
|
|
4591
|
+
pageInfo?: {
|
|
4592
|
+
totalResults?: number;
|
|
4593
|
+
resultsPerPage?: number;
|
|
4594
|
+
};
|
|
4595
|
+
items?: Array<{
|
|
4596
|
+
kind?: string;
|
|
4597
|
+
etag?: string;
|
|
4598
|
+
id?: string;
|
|
4599
|
+
snippet?: {
|
|
4600
|
+
publishedAt?: string;
|
|
4601
|
+
channelId?: string;
|
|
4602
|
+
title?: string;
|
|
4603
|
+
description?: string;
|
|
4604
|
+
channelTitle?: string;
|
|
4605
|
+
thumbnails?: {
|
|
4606
|
+
default?: {
|
|
4607
|
+
url?: string;
|
|
4608
|
+
width?: number;
|
|
4609
|
+
height?: number;
|
|
4610
|
+
};
|
|
4611
|
+
medium?: {
|
|
4612
|
+
url?: string;
|
|
4613
|
+
width?: number;
|
|
4614
|
+
height?: number;
|
|
4615
|
+
};
|
|
4616
|
+
high?: {
|
|
4617
|
+
url?: string;
|
|
4618
|
+
width?: number;
|
|
4619
|
+
height?: number;
|
|
4620
|
+
};
|
|
4621
|
+
standard?: {
|
|
4622
|
+
url?: string;
|
|
4623
|
+
width?: number;
|
|
4624
|
+
height?: number;
|
|
4625
|
+
};
|
|
4626
|
+
maxres?: {
|
|
4627
|
+
url?: string;
|
|
4628
|
+
width?: number;
|
|
4629
|
+
height?: number;
|
|
4630
|
+
};
|
|
4631
|
+
};
|
|
4632
|
+
playlistId?: string;
|
|
4633
|
+
position?: number;
|
|
4634
|
+
resourceId?: {
|
|
4635
|
+
kind?: string;
|
|
4636
|
+
videoId?: string;
|
|
4637
|
+
playlistId?: string;
|
|
4638
|
+
channelId?: string;
|
|
4639
|
+
};
|
|
4640
|
+
};
|
|
4641
|
+
contentDetails?: {
|
|
4642
|
+
videoId?: string;
|
|
4643
|
+
videoPublishedAt?: string;
|
|
4644
|
+
};
|
|
4645
|
+
}>;
|
|
4646
|
+
};
|
|
4647
|
+
type MiscDeleteVideoFromPlaylistData = {
|
|
4648
|
+
/**
|
|
4649
|
+
* Playlist item ID (not video ID)
|
|
4650
|
+
*/
|
|
4651
|
+
playlistItemId: string;
|
|
4652
|
+
teamId: string;
|
|
4653
|
+
};
|
|
4654
|
+
type MiscDeleteVideoFromPlaylistResponse = boolean;
|
|
4279
4655
|
type $OpenApiTs = {
|
|
4280
4656
|
'/api/v1/': {
|
|
4281
4657
|
get: {
|
|
@@ -9730,153 +10106,847 @@ type $OpenApiTs = {
|
|
|
9730
10106
|
};
|
|
9731
10107
|
};
|
|
9732
10108
|
};
|
|
9733
|
-
|
|
9734
|
-
|
|
9735
|
-
|
|
9736
|
-
|
|
9737
|
-
|
|
9738
|
-
|
|
9739
|
-
|
|
9740
|
-
|
|
9741
|
-
|
|
9742
|
-
|
|
9743
|
-
|
|
9744
|
-
|
|
9745
|
-
|
|
9746
|
-
|
|
9747
|
-
|
|
9748
|
-
|
|
9749
|
-
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
|
|
9753
|
-
|
|
9754
|
-
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
|
|
9758
|
-
|
|
9759
|
-
|
|
9760
|
-
|
|
9761
|
-
|
|
9762
|
-
|
|
9763
|
-
|
|
9764
|
-
|
|
9765
|
-
|
|
9766
|
-
|
|
9767
|
-
|
|
9768
|
-
|
|
9769
|
-
|
|
9770
|
-
|
|
9771
|
-
|
|
9772
|
-
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
9776
|
-
|
|
9777
|
-
|
|
9778
|
-
|
|
9779
|
-
|
|
9780
|
-
|
|
9781
|
-
|
|
9782
|
-
|
|
9783
|
-
|
|
9784
|
-
|
|
9785
|
-
|
|
9786
|
-
|
|
9787
|
-
|
|
9788
|
-
|
|
9789
|
-
|
|
9790
|
-
|
|
9791
|
-
|
|
9792
|
-
|
|
9793
|
-
|
|
9794
|
-
|
|
9795
|
-
|
|
9796
|
-
|
|
9797
|
-
|
|
9798
|
-
|
|
9799
|
-
|
|
9800
|
-
|
|
9801
|
-
|
|
9802
|
-
|
|
9803
|
-
|
|
9804
|
-
|
|
9805
|
-
|
|
9806
|
-
|
|
9807
|
-
|
|
9808
|
-
|
|
9809
|
-
|
|
9810
|
-
|
|
9811
|
-
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
|
|
9815
|
-
|
|
9816
|
-
|
|
9817
|
-
|
|
9818
|
-
|
|
9819
|
-
|
|
9820
|
-
|
|
9821
|
-
|
|
9822
|
-
|
|
9823
|
-
|
|
9824
|
-
|
|
9825
|
-
|
|
9826
|
-
|
|
9827
|
-
|
|
9828
|
-
|
|
9829
|
-
|
|
9830
|
-
|
|
9831
|
-
|
|
9832
|
-
|
|
9833
|
-
|
|
9834
|
-
|
|
9835
|
-
|
|
9836
|
-
|
|
9837
|
-
|
|
9838
|
-
|
|
9839
|
-
|
|
9840
|
-
|
|
9841
|
-
|
|
9842
|
-
|
|
9843
|
-
|
|
9844
|
-
|
|
9845
|
-
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
|
|
9852
|
-
|
|
9853
|
-
|
|
9854
|
-
|
|
9855
|
-
|
|
9856
|
-
|
|
9857
|
-
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
|
|
9862
|
-
|
|
9863
|
-
|
|
9864
|
-
|
|
9865
|
-
|
|
9866
|
-
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
|
|
9870
|
-
|
|
9871
|
-
|
|
9872
|
-
|
|
9873
|
-
|
|
9874
|
-
|
|
9875
|
-
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
|
|
10109
|
+
'/api/v1/misc/youtube/thumbnail': {
|
|
10110
|
+
post: {
|
|
10111
|
+
req: MiscSetThumbnailData;
|
|
10112
|
+
res: {
|
|
10113
|
+
/**
|
|
10114
|
+
* 200
|
|
10115
|
+
*/
|
|
10116
|
+
200: {
|
|
10117
|
+
items?: Array<{
|
|
10118
|
+
default?: {
|
|
10119
|
+
url: string;
|
|
10120
|
+
width?: number;
|
|
10121
|
+
height?: number;
|
|
10122
|
+
};
|
|
10123
|
+
medium?: {
|
|
10124
|
+
url: string;
|
|
10125
|
+
width?: number;
|
|
10126
|
+
height?: number;
|
|
10127
|
+
};
|
|
10128
|
+
high?: {
|
|
10129
|
+
url: string;
|
|
10130
|
+
width?: number;
|
|
10131
|
+
height?: number;
|
|
10132
|
+
};
|
|
10133
|
+
standard?: {
|
|
10134
|
+
url: string;
|
|
10135
|
+
width?: number;
|
|
10136
|
+
height?: number;
|
|
10137
|
+
};
|
|
10138
|
+
maxres?: {
|
|
10139
|
+
url: string;
|
|
10140
|
+
width?: number;
|
|
10141
|
+
height?: number;
|
|
10142
|
+
};
|
|
10143
|
+
}>;
|
|
10144
|
+
};
|
|
10145
|
+
/**
|
|
10146
|
+
* 400
|
|
10147
|
+
*/
|
|
10148
|
+
400: {
|
|
10149
|
+
message: string;
|
|
10150
|
+
issues?: Array<{
|
|
10151
|
+
message: string;
|
|
10152
|
+
path?: Array<(string | number)> | null;
|
|
10153
|
+
}> | null;
|
|
10154
|
+
};
|
|
10155
|
+
/**
|
|
10156
|
+
* 401
|
|
10157
|
+
*/
|
|
10158
|
+
401: {
|
|
10159
|
+
message: string;
|
|
10160
|
+
};
|
|
10161
|
+
/**
|
|
10162
|
+
* 403
|
|
10163
|
+
*/
|
|
10164
|
+
403: {
|
|
10165
|
+
message: string;
|
|
10166
|
+
};
|
|
10167
|
+
/**
|
|
10168
|
+
* 404
|
|
10169
|
+
*/
|
|
10170
|
+
404: {
|
|
10171
|
+
message: string;
|
|
10172
|
+
};
|
|
10173
|
+
/**
|
|
10174
|
+
* 429
|
|
10175
|
+
*/
|
|
10176
|
+
429: {
|
|
10177
|
+
message: string;
|
|
10178
|
+
};
|
|
10179
|
+
/**
|
|
10180
|
+
* 500
|
|
10181
|
+
*/
|
|
10182
|
+
500: {
|
|
10183
|
+
message: string;
|
|
10184
|
+
};
|
|
10185
|
+
};
|
|
10186
|
+
};
|
|
10187
|
+
};
|
|
10188
|
+
'/api/v1/misc/youtube/playlist': {
|
|
10189
|
+
get: {
|
|
10190
|
+
req: MiscGetChannelPlaylistData;
|
|
10191
|
+
res: {
|
|
10192
|
+
/**
|
|
10193
|
+
* 200
|
|
10194
|
+
*/
|
|
10195
|
+
200: {
|
|
10196
|
+
kind?: string;
|
|
10197
|
+
etag?: string;
|
|
10198
|
+
nextPageToken?: string;
|
|
10199
|
+
prevPageToken?: string;
|
|
10200
|
+
pageInfo?: {
|
|
10201
|
+
totalResults?: number;
|
|
10202
|
+
resultsPerPage?: number;
|
|
10203
|
+
};
|
|
10204
|
+
items?: Array<{
|
|
10205
|
+
kind?: string;
|
|
10206
|
+
etag?: string;
|
|
10207
|
+
id?: string;
|
|
10208
|
+
snippet?: {
|
|
10209
|
+
publishedAt?: string;
|
|
10210
|
+
channelId?: string;
|
|
10211
|
+
title?: string;
|
|
10212
|
+
description?: string;
|
|
10213
|
+
channelTitle?: string;
|
|
10214
|
+
thumbnails?: {
|
|
10215
|
+
default?: {
|
|
10216
|
+
url?: string;
|
|
10217
|
+
width?: number;
|
|
10218
|
+
height?: number;
|
|
10219
|
+
};
|
|
10220
|
+
medium?: {
|
|
10221
|
+
url?: string;
|
|
10222
|
+
width?: number;
|
|
10223
|
+
height?: number;
|
|
10224
|
+
};
|
|
10225
|
+
high?: {
|
|
10226
|
+
url?: string;
|
|
10227
|
+
width?: number;
|
|
10228
|
+
height?: number;
|
|
10229
|
+
};
|
|
10230
|
+
standard?: {
|
|
10231
|
+
url?: string;
|
|
10232
|
+
width?: number;
|
|
10233
|
+
height?: number;
|
|
10234
|
+
};
|
|
10235
|
+
maxres?: {
|
|
10236
|
+
url?: string;
|
|
10237
|
+
width?: number;
|
|
10238
|
+
height?: number;
|
|
10239
|
+
};
|
|
10240
|
+
};
|
|
10241
|
+
localized?: {
|
|
10242
|
+
title?: string;
|
|
10243
|
+
description?: string;
|
|
10244
|
+
};
|
|
10245
|
+
};
|
|
10246
|
+
status?: {
|
|
10247
|
+
privacyStatus?: string;
|
|
10248
|
+
};
|
|
10249
|
+
contentDetails?: {
|
|
10250
|
+
itemCount?: number;
|
|
10251
|
+
};
|
|
10252
|
+
}>;
|
|
10253
|
+
};
|
|
10254
|
+
/**
|
|
10255
|
+
* 400
|
|
10256
|
+
*/
|
|
10257
|
+
400: {
|
|
10258
|
+
message: string;
|
|
10259
|
+
issues?: Array<{
|
|
10260
|
+
message: string;
|
|
10261
|
+
path?: Array<(string | number)> | null;
|
|
10262
|
+
}> | null;
|
|
10263
|
+
};
|
|
10264
|
+
/**
|
|
10265
|
+
* 401
|
|
10266
|
+
*/
|
|
10267
|
+
401: {
|
|
10268
|
+
message: string;
|
|
10269
|
+
};
|
|
10270
|
+
/**
|
|
10271
|
+
* 403
|
|
10272
|
+
*/
|
|
10273
|
+
403: {
|
|
10274
|
+
message: string;
|
|
10275
|
+
};
|
|
10276
|
+
/**
|
|
10277
|
+
* 404
|
|
10278
|
+
*/
|
|
10279
|
+
404: {
|
|
10280
|
+
message: string;
|
|
10281
|
+
};
|
|
10282
|
+
/**
|
|
10283
|
+
* 429
|
|
10284
|
+
*/
|
|
10285
|
+
429: {
|
|
10286
|
+
message: string;
|
|
10287
|
+
};
|
|
10288
|
+
/**
|
|
10289
|
+
* 500
|
|
10290
|
+
*/
|
|
10291
|
+
500: {
|
|
10292
|
+
message: string;
|
|
10293
|
+
};
|
|
10294
|
+
};
|
|
10295
|
+
};
|
|
10296
|
+
post: {
|
|
10297
|
+
req: MiscCreateNewChannelPlaylistData;
|
|
10298
|
+
res: {
|
|
10299
|
+
/**
|
|
10300
|
+
* 200
|
|
10301
|
+
*/
|
|
10302
|
+
200: {
|
|
10303
|
+
kind?: string;
|
|
10304
|
+
etag?: string;
|
|
10305
|
+
id?: string;
|
|
10306
|
+
snippet?: {
|
|
10307
|
+
publishedAt?: string;
|
|
10308
|
+
channelId?: string;
|
|
10309
|
+
title?: string;
|
|
10310
|
+
description?: string;
|
|
10311
|
+
channelTitle?: string;
|
|
10312
|
+
thumbnails?: {
|
|
10313
|
+
default?: {
|
|
10314
|
+
url?: string;
|
|
10315
|
+
width?: number;
|
|
10316
|
+
height?: number;
|
|
10317
|
+
};
|
|
10318
|
+
medium?: {
|
|
10319
|
+
url?: string;
|
|
10320
|
+
width?: number;
|
|
10321
|
+
height?: number;
|
|
10322
|
+
};
|
|
10323
|
+
high?: {
|
|
10324
|
+
url?: string;
|
|
10325
|
+
width?: number;
|
|
10326
|
+
height?: number;
|
|
10327
|
+
};
|
|
10328
|
+
standard?: {
|
|
10329
|
+
url?: string;
|
|
10330
|
+
width?: number;
|
|
10331
|
+
height?: number;
|
|
10332
|
+
};
|
|
10333
|
+
maxres?: {
|
|
10334
|
+
url?: string;
|
|
10335
|
+
width?: number;
|
|
10336
|
+
height?: number;
|
|
10337
|
+
};
|
|
10338
|
+
};
|
|
10339
|
+
localized?: {
|
|
10340
|
+
title?: string;
|
|
10341
|
+
description?: string;
|
|
10342
|
+
};
|
|
10343
|
+
};
|
|
10344
|
+
status?: {
|
|
10345
|
+
privacyStatus?: string;
|
|
10346
|
+
};
|
|
10347
|
+
contentDetails?: {
|
|
10348
|
+
itemCount?: number;
|
|
10349
|
+
};
|
|
10350
|
+
};
|
|
10351
|
+
/**
|
|
10352
|
+
* 400
|
|
10353
|
+
*/
|
|
10354
|
+
400: {
|
|
10355
|
+
message: string;
|
|
10356
|
+
issues?: Array<{
|
|
10357
|
+
message: string;
|
|
10358
|
+
path?: Array<(string | number)> | null;
|
|
10359
|
+
}> | null;
|
|
10360
|
+
};
|
|
10361
|
+
/**
|
|
10362
|
+
* 401
|
|
10363
|
+
*/
|
|
10364
|
+
401: {
|
|
10365
|
+
message: string;
|
|
10366
|
+
};
|
|
10367
|
+
/**
|
|
10368
|
+
* 403
|
|
10369
|
+
*/
|
|
10370
|
+
403: {
|
|
10371
|
+
message: string;
|
|
10372
|
+
};
|
|
10373
|
+
/**
|
|
10374
|
+
* 404
|
|
10375
|
+
*/
|
|
10376
|
+
404: {
|
|
10377
|
+
message: string;
|
|
10378
|
+
};
|
|
10379
|
+
/**
|
|
10380
|
+
* 429
|
|
10381
|
+
*/
|
|
10382
|
+
429: {
|
|
10383
|
+
message: string;
|
|
10384
|
+
};
|
|
10385
|
+
/**
|
|
10386
|
+
* 500
|
|
10387
|
+
*/
|
|
10388
|
+
500: {
|
|
10389
|
+
message: string;
|
|
10390
|
+
};
|
|
10391
|
+
};
|
|
10392
|
+
};
|
|
10393
|
+
put: {
|
|
10394
|
+
req: MiscUpdateChannelPlaylistData;
|
|
10395
|
+
res: {
|
|
10396
|
+
/**
|
|
10397
|
+
* 200
|
|
10398
|
+
*/
|
|
10399
|
+
200: {
|
|
10400
|
+
kind?: string;
|
|
10401
|
+
etag?: string;
|
|
10402
|
+
id?: string;
|
|
10403
|
+
snippet?: {
|
|
10404
|
+
publishedAt?: string;
|
|
10405
|
+
channelId?: string;
|
|
10406
|
+
title?: string;
|
|
10407
|
+
description?: string;
|
|
10408
|
+
channelTitle?: string;
|
|
10409
|
+
thumbnails?: {
|
|
10410
|
+
default?: {
|
|
10411
|
+
url?: string;
|
|
10412
|
+
width?: number;
|
|
10413
|
+
height?: number;
|
|
10414
|
+
};
|
|
10415
|
+
medium?: {
|
|
10416
|
+
url?: string;
|
|
10417
|
+
width?: number;
|
|
10418
|
+
height?: number;
|
|
10419
|
+
};
|
|
10420
|
+
high?: {
|
|
10421
|
+
url?: string;
|
|
10422
|
+
width?: number;
|
|
10423
|
+
height?: number;
|
|
10424
|
+
};
|
|
10425
|
+
standard?: {
|
|
10426
|
+
url?: string;
|
|
10427
|
+
width?: number;
|
|
10428
|
+
height?: number;
|
|
10429
|
+
};
|
|
10430
|
+
maxres?: {
|
|
10431
|
+
url?: string;
|
|
10432
|
+
width?: number;
|
|
10433
|
+
height?: number;
|
|
10434
|
+
};
|
|
10435
|
+
};
|
|
10436
|
+
localized?: {
|
|
10437
|
+
title?: string;
|
|
10438
|
+
description?: string;
|
|
10439
|
+
};
|
|
10440
|
+
};
|
|
10441
|
+
status?: {
|
|
10442
|
+
privacyStatus?: string;
|
|
10443
|
+
};
|
|
10444
|
+
contentDetails?: {
|
|
10445
|
+
itemCount?: number;
|
|
10446
|
+
};
|
|
10447
|
+
};
|
|
10448
|
+
/**
|
|
10449
|
+
* 400
|
|
10450
|
+
*/
|
|
10451
|
+
400: {
|
|
10452
|
+
message: string;
|
|
10453
|
+
issues?: Array<{
|
|
10454
|
+
message: string;
|
|
10455
|
+
path?: Array<(string | number)> | null;
|
|
10456
|
+
}> | null;
|
|
10457
|
+
};
|
|
10458
|
+
/**
|
|
10459
|
+
* 401
|
|
10460
|
+
*/
|
|
10461
|
+
401: {
|
|
10462
|
+
message: string;
|
|
10463
|
+
};
|
|
10464
|
+
/**
|
|
10465
|
+
* 403
|
|
10466
|
+
*/
|
|
10467
|
+
403: {
|
|
10468
|
+
message: string;
|
|
10469
|
+
};
|
|
10470
|
+
/**
|
|
10471
|
+
* 404
|
|
10472
|
+
*/
|
|
10473
|
+
404: {
|
|
10474
|
+
message: string;
|
|
10475
|
+
};
|
|
10476
|
+
/**
|
|
10477
|
+
* 429
|
|
10478
|
+
*/
|
|
10479
|
+
429: {
|
|
10480
|
+
message: string;
|
|
10481
|
+
};
|
|
10482
|
+
/**
|
|
10483
|
+
* 500
|
|
10484
|
+
*/
|
|
10485
|
+
500: {
|
|
10486
|
+
message: string;
|
|
10487
|
+
};
|
|
10488
|
+
};
|
|
10489
|
+
};
|
|
10490
|
+
};
|
|
10491
|
+
'/api/v1/misc/youtube/playlist/{playlistId}': {
|
|
10492
|
+
delete: {
|
|
10493
|
+
req: MiscDeleteChannelPlaylistData;
|
|
10494
|
+
res: {
|
|
10495
|
+
/**
|
|
10496
|
+
* 200
|
|
10497
|
+
*/
|
|
10498
|
+
200: boolean;
|
|
10499
|
+
/**
|
|
10500
|
+
* 400
|
|
10501
|
+
*/
|
|
10502
|
+
400: {
|
|
10503
|
+
message: string;
|
|
10504
|
+
issues?: Array<{
|
|
10505
|
+
message: string;
|
|
10506
|
+
path?: Array<(string | number)> | null;
|
|
10507
|
+
}> | null;
|
|
10508
|
+
};
|
|
10509
|
+
/**
|
|
10510
|
+
* 401
|
|
10511
|
+
*/
|
|
10512
|
+
401: {
|
|
10513
|
+
message: string;
|
|
10514
|
+
};
|
|
10515
|
+
/**
|
|
10516
|
+
* 403
|
|
10517
|
+
*/
|
|
10518
|
+
403: {
|
|
10519
|
+
message: string;
|
|
10520
|
+
};
|
|
10521
|
+
/**
|
|
10522
|
+
* 404
|
|
10523
|
+
*/
|
|
10524
|
+
404: {
|
|
10525
|
+
message: string;
|
|
10526
|
+
};
|
|
10527
|
+
/**
|
|
10528
|
+
* 429
|
|
10529
|
+
*/
|
|
10530
|
+
429: {
|
|
10531
|
+
message: string;
|
|
10532
|
+
};
|
|
10533
|
+
/**
|
|
10534
|
+
* 500
|
|
10535
|
+
*/
|
|
10536
|
+
500: {
|
|
10537
|
+
message: string;
|
|
10538
|
+
};
|
|
10539
|
+
};
|
|
10540
|
+
};
|
|
10541
|
+
};
|
|
10542
|
+
'/api/v1/misc/youtube/playlist-items': {
|
|
10543
|
+
post: {
|
|
10544
|
+
req: MiscAddVideoToPlaylistData;
|
|
10545
|
+
res: {
|
|
10546
|
+
/**
|
|
10547
|
+
* 200
|
|
10548
|
+
*/
|
|
10549
|
+
200: {
|
|
10550
|
+
kind?: string;
|
|
10551
|
+
etag?: string;
|
|
10552
|
+
id?: string;
|
|
10553
|
+
snippet?: {
|
|
10554
|
+
publishedAt?: string;
|
|
10555
|
+
channelId?: string;
|
|
10556
|
+
title?: string;
|
|
10557
|
+
description?: string;
|
|
10558
|
+
channelTitle?: string;
|
|
10559
|
+
thumbnails?: {
|
|
10560
|
+
default?: {
|
|
10561
|
+
url?: string;
|
|
10562
|
+
width?: number;
|
|
10563
|
+
height?: number;
|
|
10564
|
+
};
|
|
10565
|
+
medium?: {
|
|
10566
|
+
url?: string;
|
|
10567
|
+
width?: number;
|
|
10568
|
+
height?: number;
|
|
10569
|
+
};
|
|
10570
|
+
high?: {
|
|
10571
|
+
url?: string;
|
|
10572
|
+
width?: number;
|
|
10573
|
+
height?: number;
|
|
10574
|
+
};
|
|
10575
|
+
standard?: {
|
|
10576
|
+
url?: string;
|
|
10577
|
+
width?: number;
|
|
10578
|
+
height?: number;
|
|
10579
|
+
};
|
|
10580
|
+
maxres?: {
|
|
10581
|
+
url?: string;
|
|
10582
|
+
width?: number;
|
|
10583
|
+
height?: number;
|
|
10584
|
+
};
|
|
10585
|
+
};
|
|
10586
|
+
playlistId?: string;
|
|
10587
|
+
position?: number;
|
|
10588
|
+
resourceId?: {
|
|
10589
|
+
kind?: string;
|
|
10590
|
+
videoId?: string;
|
|
10591
|
+
playlistId?: string;
|
|
10592
|
+
channelId?: string;
|
|
10593
|
+
};
|
|
10594
|
+
};
|
|
10595
|
+
contentDetails?: {
|
|
10596
|
+
videoId?: string;
|
|
10597
|
+
videoPublishedAt?: string;
|
|
10598
|
+
};
|
|
10599
|
+
};
|
|
10600
|
+
/**
|
|
10601
|
+
* 400
|
|
10602
|
+
*/
|
|
10603
|
+
400: {
|
|
10604
|
+
message: string;
|
|
10605
|
+
issues?: Array<{
|
|
10606
|
+
message: string;
|
|
10607
|
+
path?: Array<(string | number)> | null;
|
|
10608
|
+
}> | null;
|
|
10609
|
+
};
|
|
10610
|
+
/**
|
|
10611
|
+
* 401
|
|
10612
|
+
*/
|
|
10613
|
+
401: {
|
|
10614
|
+
message: string;
|
|
10615
|
+
};
|
|
10616
|
+
/**
|
|
10617
|
+
* 403
|
|
10618
|
+
*/
|
|
10619
|
+
403: {
|
|
10620
|
+
message: string;
|
|
10621
|
+
};
|
|
10622
|
+
/**
|
|
10623
|
+
* 404
|
|
10624
|
+
*/
|
|
10625
|
+
404: {
|
|
10626
|
+
message: string;
|
|
10627
|
+
};
|
|
10628
|
+
/**
|
|
10629
|
+
* 429
|
|
10630
|
+
*/
|
|
10631
|
+
429: {
|
|
10632
|
+
message: string;
|
|
10633
|
+
};
|
|
10634
|
+
/**
|
|
10635
|
+
* 500
|
|
10636
|
+
*/
|
|
10637
|
+
500: {
|
|
10638
|
+
message: string;
|
|
10639
|
+
};
|
|
10640
|
+
};
|
|
10641
|
+
};
|
|
10642
|
+
get: {
|
|
10643
|
+
req: MiscGetVideosFromPlaylistData;
|
|
10644
|
+
res: {
|
|
10645
|
+
/**
|
|
10646
|
+
* 200
|
|
10647
|
+
*/
|
|
10648
|
+
200: {
|
|
10649
|
+
kind?: string;
|
|
10650
|
+
etag?: string;
|
|
10651
|
+
nextPageToken?: string;
|
|
10652
|
+
prevPageToken?: string;
|
|
10653
|
+
pageInfo?: {
|
|
10654
|
+
totalResults?: number;
|
|
10655
|
+
resultsPerPage?: number;
|
|
10656
|
+
};
|
|
10657
|
+
items?: Array<{
|
|
10658
|
+
kind?: string;
|
|
10659
|
+
etag?: string;
|
|
10660
|
+
id?: string;
|
|
10661
|
+
snippet?: {
|
|
10662
|
+
publishedAt?: string;
|
|
10663
|
+
channelId?: string;
|
|
10664
|
+
title?: string;
|
|
10665
|
+
description?: string;
|
|
10666
|
+
channelTitle?: string;
|
|
10667
|
+
thumbnails?: {
|
|
10668
|
+
default?: {
|
|
10669
|
+
url?: string;
|
|
10670
|
+
width?: number;
|
|
10671
|
+
height?: number;
|
|
10672
|
+
};
|
|
10673
|
+
medium?: {
|
|
10674
|
+
url?: string;
|
|
10675
|
+
width?: number;
|
|
10676
|
+
height?: number;
|
|
10677
|
+
};
|
|
10678
|
+
high?: {
|
|
10679
|
+
url?: string;
|
|
10680
|
+
width?: number;
|
|
10681
|
+
height?: number;
|
|
10682
|
+
};
|
|
10683
|
+
standard?: {
|
|
10684
|
+
url?: string;
|
|
10685
|
+
width?: number;
|
|
10686
|
+
height?: number;
|
|
10687
|
+
};
|
|
10688
|
+
maxres?: {
|
|
10689
|
+
url?: string;
|
|
10690
|
+
width?: number;
|
|
10691
|
+
height?: number;
|
|
10692
|
+
};
|
|
10693
|
+
};
|
|
10694
|
+
playlistId?: string;
|
|
10695
|
+
position?: number;
|
|
10696
|
+
resourceId?: {
|
|
10697
|
+
kind?: string;
|
|
10698
|
+
videoId?: string;
|
|
10699
|
+
playlistId?: string;
|
|
10700
|
+
channelId?: string;
|
|
10701
|
+
};
|
|
10702
|
+
};
|
|
10703
|
+
contentDetails?: {
|
|
10704
|
+
videoId?: string;
|
|
10705
|
+
videoPublishedAt?: string;
|
|
10706
|
+
};
|
|
10707
|
+
}>;
|
|
10708
|
+
};
|
|
10709
|
+
/**
|
|
10710
|
+
* 400
|
|
10711
|
+
*/
|
|
10712
|
+
400: {
|
|
10713
|
+
message: string;
|
|
10714
|
+
issues?: Array<{
|
|
10715
|
+
message: string;
|
|
10716
|
+
path?: Array<(string | number)> | null;
|
|
10717
|
+
}> | null;
|
|
10718
|
+
};
|
|
10719
|
+
/**
|
|
10720
|
+
* 401
|
|
10721
|
+
*/
|
|
10722
|
+
401: {
|
|
10723
|
+
message: string;
|
|
10724
|
+
};
|
|
10725
|
+
/**
|
|
10726
|
+
* 403
|
|
10727
|
+
*/
|
|
10728
|
+
403: {
|
|
10729
|
+
message: string;
|
|
10730
|
+
};
|
|
10731
|
+
/**
|
|
10732
|
+
* 404
|
|
10733
|
+
*/
|
|
10734
|
+
404: {
|
|
10735
|
+
message: string;
|
|
10736
|
+
};
|
|
10737
|
+
/**
|
|
10738
|
+
* 429
|
|
10739
|
+
*/
|
|
10740
|
+
429: {
|
|
10741
|
+
message: string;
|
|
10742
|
+
};
|
|
10743
|
+
/**
|
|
10744
|
+
* 500
|
|
10745
|
+
*/
|
|
10746
|
+
500: {
|
|
10747
|
+
message: string;
|
|
10748
|
+
};
|
|
10749
|
+
};
|
|
10750
|
+
};
|
|
10751
|
+
};
|
|
10752
|
+
'/api/v1/misc/youtube/playlist-items/{playlistItemId}': {
|
|
10753
|
+
delete: {
|
|
10754
|
+
req: MiscDeleteVideoFromPlaylistData;
|
|
10755
|
+
res: {
|
|
10756
|
+
/**
|
|
10757
|
+
* 200
|
|
10758
|
+
*/
|
|
10759
|
+
200: boolean;
|
|
10760
|
+
/**
|
|
10761
|
+
* 400
|
|
10762
|
+
*/
|
|
10763
|
+
400: {
|
|
10764
|
+
message: string;
|
|
10765
|
+
issues?: Array<{
|
|
10766
|
+
message: string;
|
|
10767
|
+
path?: Array<(string | number)> | null;
|
|
10768
|
+
}> | null;
|
|
10769
|
+
};
|
|
10770
|
+
/**
|
|
10771
|
+
* 401
|
|
10772
|
+
*/
|
|
10773
|
+
401: {
|
|
10774
|
+
message: string;
|
|
10775
|
+
};
|
|
10776
|
+
/**
|
|
10777
|
+
* 403
|
|
10778
|
+
*/
|
|
10779
|
+
403: {
|
|
10780
|
+
message: string;
|
|
10781
|
+
};
|
|
10782
|
+
/**
|
|
10783
|
+
* 404
|
|
10784
|
+
*/
|
|
10785
|
+
404: {
|
|
10786
|
+
message: string;
|
|
10787
|
+
};
|
|
10788
|
+
/**
|
|
10789
|
+
* 429
|
|
10790
|
+
*/
|
|
10791
|
+
429: {
|
|
10792
|
+
message: string;
|
|
10793
|
+
};
|
|
10794
|
+
/**
|
|
10795
|
+
* 500
|
|
10796
|
+
*/
|
|
10797
|
+
500: {
|
|
10798
|
+
message: string;
|
|
10799
|
+
};
|
|
10800
|
+
};
|
|
10801
|
+
};
|
|
10802
|
+
};
|
|
10803
|
+
};
|
|
10804
|
+
|
|
10805
|
+
declare class AppService {
|
|
10806
|
+
readonly httpRequest: BaseHttpRequest;
|
|
10807
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
10808
|
+
/**
|
|
10809
|
+
* Get health
|
|
10810
|
+
* @returns unknown 200
|
|
10811
|
+
* @throws ApiError
|
|
10812
|
+
*/
|
|
10813
|
+
appGetHealth(): CancelablePromise<AppGetHealthResponse>;
|
|
10814
|
+
}
|
|
10815
|
+
declare class OrganizationService {
|
|
10816
|
+
readonly httpRequest: BaseHttpRequest;
|
|
10817
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
10818
|
+
/**
|
|
10819
|
+
* Get organization
|
|
10820
|
+
* @returns unknown 200
|
|
10821
|
+
* @throws ApiError
|
|
10822
|
+
*/
|
|
10823
|
+
organizationGetOrganization(): CancelablePromise<OrganizationGetOrganizationResponse>;
|
|
10824
|
+
}
|
|
10825
|
+
declare class TeamService {
|
|
10826
|
+
readonly httpRequest: BaseHttpRequest;
|
|
10827
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
10828
|
+
/**
|
|
10829
|
+
* Get team
|
|
10830
|
+
* @param data The data for the request.
|
|
10831
|
+
* @param data.id
|
|
10832
|
+
* @returns unknown 200
|
|
10833
|
+
* @throws ApiError
|
|
10834
|
+
*/
|
|
10835
|
+
teamGetTeam(data: TeamGetTeamData): CancelablePromise<TeamGetTeamResponse>;
|
|
10836
|
+
/**
|
|
10837
|
+
* Update team
|
|
10838
|
+
* @param data The data for the request.
|
|
10839
|
+
* @param data.id
|
|
10840
|
+
* @param data.requestBody Body
|
|
10841
|
+
* @returns unknown 200
|
|
10842
|
+
* @throws ApiError
|
|
10843
|
+
*/
|
|
10844
|
+
teamUpdateTeam(data: TeamUpdateTeamData): CancelablePromise<TeamUpdateTeamResponse>;
|
|
10845
|
+
/**
|
|
10846
|
+
* Delete team
|
|
10847
|
+
* @param data The data for the request.
|
|
10848
|
+
* @param data.id
|
|
10849
|
+
* @returns unknown 200
|
|
10850
|
+
* @throws ApiError
|
|
10851
|
+
*/
|
|
10852
|
+
teamDeleteTeam(data: TeamDeleteTeamData): CancelablePromise<TeamDeleteTeamResponse>;
|
|
10853
|
+
/**
|
|
10854
|
+
* Get list of teams
|
|
10855
|
+
* @param data The data for the request.
|
|
10856
|
+
* @param data.offset
|
|
10857
|
+
* @param data.limit
|
|
10858
|
+
* @returns unknown 200
|
|
10859
|
+
* @throws ApiError
|
|
10860
|
+
*/
|
|
10861
|
+
teamGetList(data?: TeamGetListData): CancelablePromise<TeamGetListResponse>;
|
|
10862
|
+
/**
|
|
10863
|
+
* Create new team
|
|
10864
|
+
* @param data The data for the request.
|
|
10865
|
+
* @param data.requestBody Body
|
|
10866
|
+
* @returns unknown 200
|
|
10867
|
+
* @throws ApiError
|
|
10868
|
+
*/
|
|
10869
|
+
teamCreateTeam(data?: TeamCreateTeamData): CancelablePromise<TeamCreateTeamResponse>;
|
|
10870
|
+
}
|
|
10871
|
+
declare class SocialAccountService {
|
|
10872
|
+
readonly httpRequest: BaseHttpRequest;
|
|
10873
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
10874
|
+
/**
|
|
10875
|
+
* Connect social account for team
|
|
10876
|
+
* Generate OAuth URL for social account connection. Redirect user to this URL to connect social account.
|
|
10877
|
+
* @param data The data for the request.
|
|
10878
|
+
* @param data.requestBody Body
|
|
10879
|
+
* @returns unknown 200
|
|
10880
|
+
* @throws ApiError
|
|
10881
|
+
*/
|
|
10882
|
+
socialAccountConnect(data?: SocialAccountConnectData): CancelablePromise<SocialAccountConnectResponse>;
|
|
10883
|
+
/**
|
|
10884
|
+
* Disconnect social account from team
|
|
10885
|
+
* This will remove the social account from all the scheduled posts too.
|
|
10886
|
+
* @param data The data for the request.
|
|
10887
|
+
* @param data.requestBody Body
|
|
10888
|
+
* @returns unknown 200
|
|
10889
|
+
* @throws ApiError
|
|
10890
|
+
*/
|
|
10891
|
+
socialAccountDisconnect(data?: SocialAccountDisconnectData): CancelablePromise<SocialAccountDisconnectResponse>;
|
|
10892
|
+
/**
|
|
10893
|
+
* Set channel for social account
|
|
10894
|
+
* Needed only for some social account types - Youtube, Instagram, Facebook and Linkedin.
|
|
10895
|
+
* @param data The data for the request.
|
|
10896
|
+
* @param data.requestBody Body
|
|
10897
|
+
* @returns unknown 200
|
|
10898
|
+
* @throws ApiError
|
|
10899
|
+
*/
|
|
10900
|
+
socialAccountSetChannel(data?: SocialAccountSetChannelData): CancelablePromise<SocialAccountSetChannelResponse>;
|
|
10901
|
+
/**
|
|
10902
|
+
* Refresh channels for social account
|
|
10903
|
+
* Refresh channels saved on socialAccount.channels. This is only needed for some social account types - Reddit, Discord, Slack, Pinterest.
|
|
10904
|
+
* @param data The data for the request.
|
|
10905
|
+
* @param data.requestBody Body
|
|
10906
|
+
* @returns unknown 200
|
|
10907
|
+
* @throws ApiError
|
|
10908
|
+
*/
|
|
10909
|
+
socialAccountRefreshChannels(data?: SocialAccountRefreshChannelsData): CancelablePromise<SocialAccountRefreshChannelsResponse>;
|
|
10910
|
+
/**
|
|
10911
|
+
* Create portal link
|
|
10912
|
+
* Simplify connect flow. Create a portal link which can be used to manage connected social accounts directly on bundle.social platform without implementing the logic on your side.
|
|
10913
|
+
* @param data The data for the request.
|
|
10914
|
+
* @param data.requestBody Body
|
|
10915
|
+
* @returns unknown 200
|
|
10916
|
+
* @throws ApiError
|
|
10917
|
+
*/
|
|
10918
|
+
socialAccountCreatePortalLink(data?: SocialAccountCreatePortalLinkData): CancelablePromise<SocialAccountCreatePortalLinkResponse>;
|
|
10919
|
+
/**
|
|
10920
|
+
* Copy social accounts
|
|
10921
|
+
* @param data The data for the request.
|
|
10922
|
+
* @param data.requestBody Body
|
|
10923
|
+
* @returns unknown 200
|
|
10924
|
+
* @throws ApiError
|
|
10925
|
+
*/
|
|
10926
|
+
socialAccountCopy(data?: SocialAccountCopyData): CancelablePromise<SocialAccountCopyResponse>;
|
|
10927
|
+
}
|
|
10928
|
+
declare class UploadService {
|
|
10929
|
+
readonly httpRequest: BaseHttpRequest;
|
|
10930
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
10931
|
+
/**
|
|
10932
|
+
* Get upload list
|
|
10933
|
+
* @param data The data for the request.
|
|
10934
|
+
* @param data.teamId
|
|
10935
|
+
* @param data.type
|
|
10936
|
+
* @param data.status
|
|
10937
|
+
* @returns unknown 200
|
|
10938
|
+
* @throws ApiError
|
|
10939
|
+
*/
|
|
10940
|
+
uploadGetList(data?: UploadGetListData): CancelablePromise<UploadGetListResponse>;
|
|
10941
|
+
/**
|
|
10942
|
+
* Create upload
|
|
10943
|
+
* Upload a file. This is the only endpoint that uses multipart/form-data.
|
|
10944
|
+
* @param data The data for the request.
|
|
10945
|
+
* @param data.formData Body
|
|
10946
|
+
* @returns unknown 200
|
|
10947
|
+
* @throws ApiError
|
|
10948
|
+
*/
|
|
10949
|
+
uploadCreate(data?: UploadCreateData): CancelablePromise<UploadCreateResponse>;
|
|
9880
10950
|
/**
|
|
9881
10951
|
* Delete many uploads
|
|
9882
10952
|
* @param data The data for the request.
|
|
@@ -10110,12 +11180,86 @@ declare class CommentService {
|
|
|
10110
11180
|
*/
|
|
10111
11181
|
commentCreate(data?: CommentCreateData): CancelablePromise<CommentCreateResponse>;
|
|
10112
11182
|
}
|
|
11183
|
+
declare class MiscService {
|
|
11184
|
+
readonly httpRequest: BaseHttpRequest;
|
|
11185
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
11186
|
+
/**
|
|
11187
|
+
* Set or change thumbnail for a YouTube video
|
|
11188
|
+
* @param data The data for the request.
|
|
11189
|
+
* @param data.requestBody Body
|
|
11190
|
+
* @returns unknown 200
|
|
11191
|
+
* @throws ApiError
|
|
11192
|
+
*/
|
|
11193
|
+
miscSetThumbnail(data?: MiscSetThumbnailData): CancelablePromise<MiscSetThumbnailResponse>;
|
|
11194
|
+
/**
|
|
11195
|
+
* Get channel playlists
|
|
11196
|
+
* @param data The data for the request.
|
|
11197
|
+
* @param data.teamId
|
|
11198
|
+
* @param data.maxResults
|
|
11199
|
+
* @returns unknown 200
|
|
11200
|
+
* @throws ApiError
|
|
11201
|
+
*/
|
|
11202
|
+
miscGetChannelPlaylist(data: MiscGetChannelPlaylistData): CancelablePromise<MiscGetChannelPlaylistResponse>;
|
|
11203
|
+
/**
|
|
11204
|
+
* Create a new playlist
|
|
11205
|
+
* @param data The data for the request.
|
|
11206
|
+
* @param data.requestBody Body
|
|
11207
|
+
* @returns unknown 200
|
|
11208
|
+
* @throws ApiError
|
|
11209
|
+
*/
|
|
11210
|
+
miscCreateNewChannelPlaylist(data?: MiscCreateNewChannelPlaylistData): CancelablePromise<MiscCreateNewChannelPlaylistResponse>;
|
|
11211
|
+
/**
|
|
11212
|
+
* Update an existing playlist
|
|
11213
|
+
* @param data The data for the request.
|
|
11214
|
+
* @param data.requestBody Body
|
|
11215
|
+
* @returns unknown 200
|
|
11216
|
+
* @throws ApiError
|
|
11217
|
+
*/
|
|
11218
|
+
miscUpdateChannelPlaylist(data?: MiscUpdateChannelPlaylistData): CancelablePromise<MiscUpdateChannelPlaylistResponse>;
|
|
11219
|
+
/**
|
|
11220
|
+
* Remove a video from a playlist
|
|
11221
|
+
* @param data The data for the request.
|
|
11222
|
+
* @param data.playlistId
|
|
11223
|
+
* @param data.teamId
|
|
11224
|
+
* @returns boolean 200
|
|
11225
|
+
* @throws ApiError
|
|
11226
|
+
*/
|
|
11227
|
+
miscDeleteChannelPlaylist(data: MiscDeleteChannelPlaylistData): CancelablePromise<MiscDeleteChannelPlaylistResponse>;
|
|
11228
|
+
/**
|
|
11229
|
+
* Add a video to a playlist
|
|
11230
|
+
* @param data The data for the request.
|
|
11231
|
+
* @param data.requestBody Body
|
|
11232
|
+
* @returns unknown 200
|
|
11233
|
+
* @throws ApiError
|
|
11234
|
+
*/
|
|
11235
|
+
miscAddVideoToPlaylist(data?: MiscAddVideoToPlaylistData): CancelablePromise<MiscAddVideoToPlaylistResponse>;
|
|
11236
|
+
/**
|
|
11237
|
+
* Get videos from a playlist
|
|
11238
|
+
* @param data The data for the request.
|
|
11239
|
+
* @param data.teamId
|
|
11240
|
+
* @param data.playlistId
|
|
11241
|
+
* @param data.maxResults
|
|
11242
|
+
* @returns unknown 200
|
|
11243
|
+
* @throws ApiError
|
|
11244
|
+
*/
|
|
11245
|
+
miscGetVideosFromPlaylist(data: MiscGetVideosFromPlaylistData): CancelablePromise<MiscGetVideosFromPlaylistResponse>;
|
|
11246
|
+
/**
|
|
11247
|
+
* Remove a video from a playlist
|
|
11248
|
+
* @param data The data for the request.
|
|
11249
|
+
* @param data.playlistItemId Playlist item ID (not video ID)
|
|
11250
|
+
* @param data.teamId
|
|
11251
|
+
* @returns boolean 200
|
|
11252
|
+
* @throws ApiError
|
|
11253
|
+
*/
|
|
11254
|
+
miscDeleteVideoFromPlaylist(data: MiscDeleteVideoFromPlaylistData): CancelablePromise<MiscDeleteVideoFromPlaylistResponse>;
|
|
11255
|
+
}
|
|
10113
11256
|
|
|
10114
11257
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
10115
11258
|
declare class Client {
|
|
10116
11259
|
readonly analytics: AnalyticsService;
|
|
10117
11260
|
readonly app: AppService;
|
|
10118
11261
|
readonly comment: CommentService;
|
|
11262
|
+
readonly misc: MiscService;
|
|
10119
11263
|
readonly organization: OrganizationService;
|
|
10120
11264
|
readonly post: PostService;
|
|
10121
11265
|
readonly socialAccount: SocialAccountService;
|
|
@@ -10184,4 +11328,4 @@ declare class Bundlesocial extends Client {
|
|
|
10184
11328
|
constructor(apiKey: string, options?: OpenAPIConfig);
|
|
10185
11329
|
}
|
|
10186
11330
|
|
|
10187
|
-
export { $OpenApiTs, AnalyticsGetPostAnalyticsData, AnalyticsGetPostAnalyticsRawData, AnalyticsGetPostAnalyticsRawResponse, AnalyticsGetPostAnalyticsResponse, AnalyticsGetProfileAnalyticsResponse, AnalyticsGetProfilePostByPostIdData, AnalyticsGetProfilePostByPostIdResponse, AnalyticsGetProfilePostData, AnalyticsGetProfilePostResponse, AnalyticsGetProfilePostsResponse, AnalyticsGetRawPostsAnalyticsResponse, AnalyticsGetRawSocialAccountAnalyticsResponse, AnalyticsGetSocialAccountAnalyticsData, AnalyticsGetSocialAccountAnalyticsRawData, AnalyticsGetSocialAccountAnalyticsRawResponse, AnalyticsGetSocialAccountAnalyticsResponse, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, CommentCreateData, CommentCreateResponse, CommentDeleteData, CommentDeleteResponse, CommentGetData, CommentGetListData, CommentGetListResponse, CommentGetResponse, CommentUpdateData, CommentUpdateResponse, OpenAPI, OpenAPIConfig, OrganizationGetOrganizationResponse, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountCopyData, SocialAccountCopyResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetListData, TeamGetListResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadFinalizeLargeUploadData, UploadFinalizeLargeUploadResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, UploadInitLargeUploadData, UploadInitLargeUploadResponse, WebhookEvent, WebhookEventType, webhookEventTypes };
|
|
11331
|
+
export { $OpenApiTs, AnalyticsGetPostAnalyticsData, AnalyticsGetPostAnalyticsRawData, AnalyticsGetPostAnalyticsRawResponse, AnalyticsGetPostAnalyticsResponse, AnalyticsGetProfileAnalyticsResponse, AnalyticsGetProfilePostByPostIdData, AnalyticsGetProfilePostByPostIdResponse, AnalyticsGetProfilePostData, AnalyticsGetProfilePostResponse, AnalyticsGetProfilePostsResponse, AnalyticsGetRawPostsAnalyticsResponse, AnalyticsGetRawSocialAccountAnalyticsResponse, AnalyticsGetSocialAccountAnalyticsData, AnalyticsGetSocialAccountAnalyticsRawData, AnalyticsGetSocialAccountAnalyticsRawResponse, AnalyticsGetSocialAccountAnalyticsResponse, ApiError, AppGetHealthResponse, BaseHttpRequest, Bundlesocial, CancelError, CancelablePromise, CommentCreateData, CommentCreateResponse, CommentDeleteData, CommentDeleteResponse, CommentGetData, CommentGetListData, CommentGetListResponse, CommentGetResponse, CommentUpdateData, CommentUpdateResponse, MiscAddVideoToPlaylistData, MiscAddVideoToPlaylistResponse, MiscCreateNewChannelPlaylistData, MiscCreateNewChannelPlaylistResponse, MiscDeleteChannelPlaylistData, MiscDeleteChannelPlaylistResponse, MiscDeleteVideoFromPlaylistData, MiscDeleteVideoFromPlaylistResponse, MiscGetChannelPlaylistData, MiscGetChannelPlaylistResponse, MiscGetVideosFromPlaylistData, MiscGetVideosFromPlaylistResponse, MiscSetThumbnailData, MiscSetThumbnailResponse, MiscUpdateChannelPlaylistData, MiscUpdateChannelPlaylistResponse, OpenAPI, OpenAPIConfig, OrganizationGetOrganizationResponse, PostCreateData, PostCreateResponse, PostDeleteData, PostDeleteResponse, PostGetData, PostGetListData, PostGetListResponse, PostGetResponse, PostUpdateData, PostUpdateResponse, SocialAccountConnectData, SocialAccountConnectResponse, SocialAccountCopyData, SocialAccountCopyResponse, SocialAccountCreatePortalLinkData, SocialAccountCreatePortalLinkResponse, SocialAccountDisconnectData, SocialAccountDisconnectResponse, SocialAccountRefreshChannelsData, SocialAccountRefreshChannelsResponse, SocialAccountSetChannelData, SocialAccountSetChannelResponse, TeamCreateTeamData, TeamCreateTeamResponse, TeamDeleteTeamData, TeamDeleteTeamResponse, TeamGetListData, TeamGetListResponse, TeamGetTeamData, TeamGetTeamResponse, TeamUpdateTeamData, TeamUpdateTeamResponse, UploadCreateData, UploadCreateResponse, UploadDeleteData, UploadDeleteManyData, UploadDeleteManyResponse, UploadDeleteResponse, UploadFinalizeLargeUploadData, UploadFinalizeLargeUploadResponse, UploadGetData, UploadGetListData, UploadGetListResponse, UploadGetResponse, UploadInitLargeUploadData, UploadInitLargeUploadResponse, WebhookEvent, WebhookEventType, webhookEventTypes };
|