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