polyv-live-api-sdk 1.0.11 → 1.0.13
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/LICENSE +21 -0
- package/dist/index.cjs +380 -128
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +478 -169
- package/dist/index.js +380 -128
- package/dist/index.js.map +1 -1
- package/dist/services/account.service.d.ts +4 -2
- package/dist/services/account.service.d.ts.map +1 -1
- package/dist/services/live-interaction.service.d.ts +10 -1
- package/dist/services/live-interaction.service.d.ts.map +1 -1
- package/dist/services/v4/channel.service.d.ts +38 -13
- package/dist/services/v4/channel.service.d.ts.map +1 -1
- package/dist/services/v4/user.service.d.ts.map +1 -1
- package/dist/types/account.d.ts +16 -3
- package/dist/types/account.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/live-interaction.d.ts +80 -26
- package/dist/types/live-interaction.d.ts.map +1 -1
- package/dist/types/v4-channel.d.ts +308 -124
- package/dist/types/v4-channel.d.ts.map +1 -1
- package/dist/types/v4-user.d.ts +13 -4
- package/dist/types/v4-user.d.ts.map +1 -1
- package/package.json +16 -17
package/dist/index.d.cts
CHANGED
|
@@ -2799,11 +2799,24 @@ interface SwitchConfig {
|
|
|
2799
2799
|
danmuEnabled: boolean;
|
|
2800
2800
|
[key: string]: boolean | string | number;
|
|
2801
2801
|
}
|
|
2802
|
-
interface
|
|
2803
|
-
|
|
2802
|
+
interface SwitchGetParams {
|
|
2803
|
+
/** Channel ID. Omit to query global switch settings. */
|
|
2804
|
+
channelId?: string;
|
|
2805
|
+
}
|
|
2806
|
+
interface SwitchConfigItem {
|
|
2807
|
+
type: string;
|
|
2808
|
+
enabled: 'Y' | 'N';
|
|
2804
2809
|
}
|
|
2810
|
+
type SwitchGetResponse = SwitchConfigItem[] | {
|
|
2811
|
+
config: SwitchConfig;
|
|
2812
|
+
};
|
|
2805
2813
|
interface SwitchUpdateParams {
|
|
2806
|
-
|
|
2814
|
+
/** Channel ID. Omit to update global switch settings. */
|
|
2815
|
+
channelId?: string;
|
|
2816
|
+
/** Switch type from the source API. */
|
|
2817
|
+
type?: string;
|
|
2818
|
+
/** Deprecated compatibility alias for type. */
|
|
2819
|
+
param?: string;
|
|
2807
2820
|
enabled: 'Y' | 'N' | boolean;
|
|
2808
2821
|
}
|
|
2809
2822
|
interface SwitchUpdateResponse {
|
|
@@ -4439,11 +4452,14 @@ interface DonateSettings {
|
|
|
4439
4452
|
/** Channel ID */
|
|
4440
4453
|
channelId: string;
|
|
4441
4454
|
/** Donate enabled */
|
|
4442
|
-
donateEnabled
|
|
4455
|
+
donateEnabled?: YNFlag;
|
|
4456
|
+
donateGiftEnabled?: YNFlag;
|
|
4443
4457
|
/** Donate tips */
|
|
4444
|
-
donateTips
|
|
4458
|
+
donateTips?: string;
|
|
4445
4459
|
/** Donate amounts */
|
|
4446
|
-
donateAmounts
|
|
4460
|
+
donateAmounts?: number[];
|
|
4461
|
+
giftDonate?: GiftDonateConfig;
|
|
4462
|
+
[key: string]: unknown;
|
|
4447
4463
|
}
|
|
4448
4464
|
/**
|
|
4449
4465
|
* Parameters for getting donate settings
|
|
@@ -4460,10 +4476,32 @@ interface UpdateDonateParams {
|
|
|
4460
4476
|
channelId: string;
|
|
4461
4477
|
/** Donate enabled */
|
|
4462
4478
|
donateEnabled?: YNFlag;
|
|
4479
|
+
donateGiftEnabled?: YNFlag;
|
|
4463
4480
|
/** Donate tips */
|
|
4464
4481
|
donateTips?: string;
|
|
4465
4482
|
/** Donate amounts */
|
|
4466
4483
|
donateAmounts?: number[];
|
|
4484
|
+
giftDonate?: GiftDonateConfig;
|
|
4485
|
+
}
|
|
4486
|
+
interface GiftDonatePayItem {
|
|
4487
|
+
name?: string;
|
|
4488
|
+
enabled?: YNFlag;
|
|
4489
|
+
imgType?: 'STATIC' | 'DYNAMIC' | string;
|
|
4490
|
+
img?: string;
|
|
4491
|
+
dynamicImg?: string;
|
|
4492
|
+
dynamicFile?: string;
|
|
4493
|
+
price?: number | string;
|
|
4494
|
+
}
|
|
4495
|
+
interface GiftDonateConfig {
|
|
4496
|
+
payWay?: 'CASH' | 'POINT' | string;
|
|
4497
|
+
pointUnit?: string;
|
|
4498
|
+
cashPays?: GiftDonatePayItem[];
|
|
4499
|
+
pointPays?: GiftDonatePayItem[];
|
|
4500
|
+
}
|
|
4501
|
+
interface UpdateDonateGiftParams {
|
|
4502
|
+
channelId: string | number;
|
|
4503
|
+
donateGiftEnabled: YNFlag;
|
|
4504
|
+
giftDonate?: GiftDonateConfig;
|
|
4467
4505
|
}
|
|
4468
4506
|
/**
|
|
4469
4507
|
* Distribute info
|
|
@@ -4629,94 +4667,210 @@ interface WinnerViewerInfo {
|
|
|
4629
4667
|
/** Win time */
|
|
4630
4668
|
winTime: number;
|
|
4631
4669
|
}
|
|
4670
|
+
interface LotteryReceiveInfo {
|
|
4671
|
+
type?: 'userName' | 'userPhone' | 'custom' | string;
|
|
4672
|
+
field: string;
|
|
4673
|
+
tips?: string;
|
|
4674
|
+
required?: boolean;
|
|
4675
|
+
}
|
|
4676
|
+
interface LotteryPrizeInfo {
|
|
4677
|
+
prizeItem: string;
|
|
4678
|
+
correctAnswerCount: number;
|
|
4679
|
+
[key: string]: unknown;
|
|
4680
|
+
}
|
|
4632
4681
|
/**
|
|
4633
4682
|
* Lottery activity info
|
|
4634
4683
|
*/
|
|
4635
4684
|
interface LotteryActivity {
|
|
4636
4685
|
/** Activity ID */
|
|
4637
|
-
|
|
4686
|
+
id: number;
|
|
4638
4687
|
/** Channel ID */
|
|
4639
|
-
channelId
|
|
4688
|
+
channelId?: string;
|
|
4640
4689
|
/** Activity name */
|
|
4641
|
-
|
|
4642
|
-
/**
|
|
4643
|
-
|
|
4690
|
+
activityName: string;
|
|
4691
|
+
/** Lottery condition type */
|
|
4692
|
+
lotteryCondition: 'none' | 'invite' | 'duration' | 'comment' | 'question' | string;
|
|
4644
4693
|
/** Status */
|
|
4645
|
-
status
|
|
4646
|
-
/**
|
|
4647
|
-
|
|
4648
|
-
/**
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4694
|
+
status?: string | null;
|
|
4695
|
+
/** Winner count */
|
|
4696
|
+
amount: number;
|
|
4697
|
+
/** Prize name */
|
|
4698
|
+
prizeName: string;
|
|
4699
|
+
hiddenWinnerAmount?: YNFlag;
|
|
4700
|
+
lotteryRange?: 'all' | 'customGroup' | string;
|
|
4701
|
+
customGroup?: Array<Record<string, unknown>>;
|
|
4702
|
+
customGroupIds?: Array<string | number>;
|
|
4703
|
+
customGroupLotteryType?: 'average' | 'random' | string;
|
|
4704
|
+
customGroupLotteryAmount?: number | null;
|
|
4705
|
+
hiddenAttendeeNumber?: YNFlag;
|
|
4706
|
+
repeatWinEnabled?: YNFlag;
|
|
4707
|
+
receiveEnabled?: YNFlag;
|
|
4708
|
+
receiveInfo?: LotteryReceiveInfo[] | null;
|
|
4709
|
+
thumbnail?: string | null;
|
|
4710
|
+
activityDuration?: string | number | null;
|
|
4711
|
+
activityDurationType?: 'second' | 'minute' | 'hour' | string | null;
|
|
4712
|
+
inviteType?: 'poster' | 'external' | string | null;
|
|
4713
|
+
externalListLink?: string | null;
|
|
4714
|
+
externalInviteNumLink?: string | null;
|
|
4715
|
+
inviteNum?: number | null;
|
|
4716
|
+
duration?: number | null;
|
|
4717
|
+
comment?: string | null;
|
|
4718
|
+
acceptType?: 'form' | 'link' | 'qrCode' | string | null;
|
|
4719
|
+
formInfo?: LotteryReceiveInfo[] | null;
|
|
4720
|
+
prizeUrl?: string | null;
|
|
4721
|
+
qrCode?: string | null;
|
|
4722
|
+
qrCodeTips?: string | null;
|
|
4723
|
+
realPrice?: number | null;
|
|
4724
|
+
price?: number | null;
|
|
4725
|
+
prizeInfo?: LotteryPrizeInfo[] | null;
|
|
4726
|
+
questionGroupId?: number | null;
|
|
4727
|
+
perAnswerDuration?: number | null;
|
|
4728
|
+
lotteryOnlineEnabled?: YNFlag;
|
|
4729
|
+
answerType?: 'pushQuestion' | 'autonomyAnswer' | string;
|
|
4730
|
+
showWinnerCode?: YNFlag;
|
|
4731
|
+
showWinners?: YNFlag;
|
|
4732
|
+
[key: string]: unknown;
|
|
4652
4733
|
}
|
|
4653
4734
|
/**
|
|
4654
4735
|
* Parameters for creating lottery activity
|
|
4655
4736
|
*/
|
|
4656
4737
|
interface LotteryActivityCreateParams {
|
|
4657
4738
|
/** Channel ID */
|
|
4658
|
-
channelId: string;
|
|
4739
|
+
channelId: string | number;
|
|
4659
4740
|
/** Activity name */
|
|
4660
|
-
|
|
4661
|
-
/**
|
|
4662
|
-
|
|
4663
|
-
/**
|
|
4664
|
-
|
|
4665
|
-
/**
|
|
4666
|
-
|
|
4741
|
+
activityName: string;
|
|
4742
|
+
/** Lottery condition type */
|
|
4743
|
+
lotteryCondition: 'none' | 'invite' | 'duration' | 'comment' | 'question' | string;
|
|
4744
|
+
/** Winner count */
|
|
4745
|
+
amount: number;
|
|
4746
|
+
/** Prize name */
|
|
4747
|
+
prizeName: string;
|
|
4748
|
+
hiddenWinnerAmount?: YNFlag;
|
|
4749
|
+
lotteryRange?: 'all' | 'customGroup' | string;
|
|
4750
|
+
customGroupIds?: Array<string | number>;
|
|
4751
|
+
customGroupLotteryType?: 'average' | 'random' | string;
|
|
4752
|
+
customGroupLotteryAmount?: number;
|
|
4753
|
+
hiddenAttendeeNumber?: YNFlag;
|
|
4754
|
+
repeatWinEnabled?: YNFlag;
|
|
4755
|
+
receiveEnabled?: YNFlag;
|
|
4756
|
+
receiveInfo?: LotteryReceiveInfo[];
|
|
4757
|
+
thumbnail?: string;
|
|
4758
|
+
activityDuration?: string | number;
|
|
4759
|
+
activityDurationType?: 'second' | 'minute' | 'hour' | string;
|
|
4760
|
+
inviteType?: 'poster' | 'external' | string;
|
|
4761
|
+
externalListLink?: string;
|
|
4762
|
+
externalInviteNumLink?: string;
|
|
4763
|
+
inviteNum?: number;
|
|
4764
|
+
duration?: number;
|
|
4765
|
+
comment?: string;
|
|
4766
|
+
acceptType?: 'form' | 'link' | 'qrCode' | string;
|
|
4767
|
+
formInfo?: LotteryReceiveInfo[];
|
|
4768
|
+
prizeUrl?: string;
|
|
4769
|
+
qrCode?: string;
|
|
4770
|
+
qrCodeTips?: string;
|
|
4771
|
+
realPrice?: number;
|
|
4772
|
+
price?: number;
|
|
4773
|
+
prizeInfo?: LotteryPrizeInfo[];
|
|
4774
|
+
questionGroupId?: number;
|
|
4775
|
+
perAnswerDuration?: number;
|
|
4776
|
+
lotteryOnlineEnabled?: YNFlag;
|
|
4777
|
+
answerType?: 'pushQuestion' | 'autonomyAnswer' | string;
|
|
4778
|
+
showWinnerCode?: YNFlag;
|
|
4779
|
+
showWinners?: YNFlag;
|
|
4667
4780
|
}
|
|
4668
4781
|
/**
|
|
4669
4782
|
* Response for creating lottery activity
|
|
4670
4783
|
*/
|
|
4671
4784
|
interface LotteryActivityCreateResponse {
|
|
4672
4785
|
/** Activity ID */
|
|
4673
|
-
|
|
4786
|
+
id: number;
|
|
4674
4787
|
}
|
|
4675
4788
|
/**
|
|
4676
4789
|
* Parameters for getting lottery activity
|
|
4677
4790
|
*/
|
|
4678
4791
|
interface LotteryActivityGetParams {
|
|
4679
4792
|
/** Channel ID */
|
|
4680
|
-
channelId: string;
|
|
4793
|
+
channelId: string | number;
|
|
4681
4794
|
/** Activity ID */
|
|
4682
|
-
|
|
4795
|
+
id: string | number;
|
|
4683
4796
|
}
|
|
4684
4797
|
/**
|
|
4685
4798
|
* Parameters for listing lottery activities
|
|
4686
4799
|
*/
|
|
4687
|
-
interface LotteryActivityListParams {
|
|
4800
|
+
interface LotteryActivityListParams extends V4PaginationParams {
|
|
4688
4801
|
/** Channel ID */
|
|
4689
|
-
channelId: string;
|
|
4802
|
+
channelId: string | number;
|
|
4803
|
+
}
|
|
4804
|
+
/**
|
|
4805
|
+
* Response for listing lottery activities
|
|
4806
|
+
*/
|
|
4807
|
+
interface LotteryActivityListResponse {
|
|
4690
4808
|
/** Page number */
|
|
4691
|
-
pageNumber
|
|
4809
|
+
pageNumber: number;
|
|
4692
4810
|
/** Page size */
|
|
4693
|
-
pageSize
|
|
4811
|
+
pageSize: number;
|
|
4812
|
+
/** Total items */
|
|
4813
|
+
totalItems: number;
|
|
4814
|
+
/** Contents */
|
|
4815
|
+
contents: LotteryActivity[];
|
|
4694
4816
|
}
|
|
4695
4817
|
/**
|
|
4696
4818
|
* Parameters for updating lottery activity
|
|
4697
4819
|
*/
|
|
4698
4820
|
interface LotteryActivityUpdateParams {
|
|
4699
4821
|
/** Channel ID */
|
|
4700
|
-
channelId: string;
|
|
4822
|
+
channelId: string | number;
|
|
4701
4823
|
/** Activity ID */
|
|
4702
|
-
|
|
4824
|
+
id: string | number;
|
|
4703
4825
|
/** Activity name */
|
|
4704
|
-
|
|
4705
|
-
/**
|
|
4706
|
-
|
|
4707
|
-
/**
|
|
4708
|
-
|
|
4709
|
-
/**
|
|
4710
|
-
|
|
4826
|
+
activityName: string;
|
|
4827
|
+
/** Lottery condition type */
|
|
4828
|
+
lotteryCondition: 'none' | 'invite' | 'duration' | 'comment' | 'question' | string;
|
|
4829
|
+
/** Winner count */
|
|
4830
|
+
amount: number;
|
|
4831
|
+
/** Prize name */
|
|
4832
|
+
prizeName: string;
|
|
4833
|
+
hiddenWinnerAmount?: YNFlag;
|
|
4834
|
+
lotteryRange?: 'all' | 'customGroup' | string;
|
|
4835
|
+
customGroupIds?: Array<string | number>;
|
|
4836
|
+
customGroupLotteryType?: 'average' | 'random' | string;
|
|
4837
|
+
customGroupLotteryAmount?: number;
|
|
4838
|
+
hiddenAttendeeNumber?: YNFlag;
|
|
4839
|
+
repeatWinEnabled?: YNFlag;
|
|
4840
|
+
receiveEnabled?: YNFlag;
|
|
4841
|
+
receiveInfo?: LotteryReceiveInfo[];
|
|
4842
|
+
thumbnail?: string;
|
|
4843
|
+
activityDuration?: string | number;
|
|
4844
|
+
activityDurationType?: 'second' | 'minute' | 'hour' | string;
|
|
4845
|
+
inviteType?: 'poster' | 'external' | string;
|
|
4846
|
+
externalListLink?: string;
|
|
4847
|
+
externalInviteNumLink?: string;
|
|
4848
|
+
inviteNum?: number;
|
|
4849
|
+
duration?: number;
|
|
4850
|
+
comment?: string;
|
|
4851
|
+
acceptType?: 'form' | 'link' | 'qrCode' | string;
|
|
4852
|
+
formInfo?: LotteryReceiveInfo[];
|
|
4853
|
+
prizeUrl?: string;
|
|
4854
|
+
qrCode?: string;
|
|
4855
|
+
qrCodeTips?: string;
|
|
4856
|
+
realPrice?: number;
|
|
4857
|
+
price?: number;
|
|
4858
|
+
prizeInfo?: LotteryPrizeInfo[];
|
|
4859
|
+
questionGroupId?: number;
|
|
4860
|
+
perAnswerDuration?: number;
|
|
4861
|
+
lotteryOnlineEnabled?: YNFlag;
|
|
4862
|
+
answerType?: 'pushQuestion' | 'autonomyAnswer' | string;
|
|
4863
|
+
showWinnerCode?: YNFlag;
|
|
4864
|
+
showWinners?: YNFlag;
|
|
4711
4865
|
}
|
|
4712
4866
|
/**
|
|
4713
4867
|
* Parameters for deleting lottery activity
|
|
4714
4868
|
*/
|
|
4715
4869
|
interface LotteryActivityDeleteParams {
|
|
4716
4870
|
/** Channel ID */
|
|
4717
|
-
channelId: string;
|
|
4871
|
+
channelId: string | number;
|
|
4718
4872
|
/** Activity ID */
|
|
4719
|
-
|
|
4873
|
+
id: string | number;
|
|
4720
4874
|
}
|
|
4721
4875
|
/**
|
|
4722
4876
|
* Parameters for adding to blacklist
|
|
@@ -4957,126 +5111,137 @@ interface DiskVideoScriptDeleteParams {
|
|
|
4957
5111
|
* Share settings
|
|
4958
5112
|
*/
|
|
4959
5113
|
interface ShareSettings {
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
5114
|
+
shareBtnEnable?: YNFlag;
|
|
5115
|
+
titleType?: 'follow' | 'custom' | string;
|
|
5116
|
+
weixinShareTitle?: string;
|
|
5117
|
+
weixinShareDesc?: string;
|
|
5118
|
+
weixinShareCustomUrl?: string;
|
|
5119
|
+
webShareCustomUrl?: string;
|
|
5120
|
+
weixinShareCustomUrlWithParamEnabled?: YNFlag;
|
|
5121
|
+
webShareCustomUrlWithParamEnabled?: YNFlag;
|
|
5122
|
+
[key: string]: unknown;
|
|
4968
5123
|
}
|
|
4969
5124
|
/**
|
|
4970
5125
|
* Parameters for getting share settings
|
|
4971
5126
|
*/
|
|
4972
5127
|
interface ShareGetParams {
|
|
4973
5128
|
/** Channel ID */
|
|
4974
|
-
channelId: string;
|
|
5129
|
+
channelId: string | number;
|
|
4975
5130
|
}
|
|
4976
5131
|
/**
|
|
4977
5132
|
* Parameters for updating share settings
|
|
4978
5133
|
*/
|
|
4979
5134
|
interface ShareUpdateParams {
|
|
4980
5135
|
/** Channel ID */
|
|
4981
|
-
channelId: string;
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
5136
|
+
channelId: string | number;
|
|
5137
|
+
shareBtnEnable: YNFlag;
|
|
5138
|
+
titleType: 'follow' | 'custom' | string;
|
|
5139
|
+
weixinShareTitle?: string;
|
|
5140
|
+
weixinShareDesc?: string;
|
|
5141
|
+
weixinShareCustomUrl?: string;
|
|
5142
|
+
webShareCustomUrl?: string;
|
|
5143
|
+
weixinShareCustomUrlWithParamEnabled?: YNFlag;
|
|
5144
|
+
webShareCustomUrlWithParamEnabled?: YNFlag;
|
|
4988
5145
|
}
|
|
4989
5146
|
/**
|
|
4990
5147
|
* Card push info
|
|
4991
5148
|
*/
|
|
4992
5149
|
interface CardPushInfo {
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
type: string;
|
|
5003
|
-
/** Card URL */
|
|
5004
|
-
url: string;
|
|
5005
|
-
/** Created time */
|
|
5006
|
-
createdTime: number;
|
|
5150
|
+
cardPushId?: number | string;
|
|
5151
|
+
channelId?: string | number;
|
|
5152
|
+
cardType?: 'common' | 'qrCode' | string;
|
|
5153
|
+
imageType?: 'giftbox' | 'redpack' | 'custom' | 'weixinWork' | string;
|
|
5154
|
+
title?: string;
|
|
5155
|
+
link?: string;
|
|
5156
|
+
duration?: 0 | 5 | 10 | 20 | 30 | number;
|
|
5157
|
+
showCondition?: 'PUSH' | 'WATCH' | string;
|
|
5158
|
+
[key: string]: unknown;
|
|
5007
5159
|
}
|
|
5008
5160
|
/**
|
|
5009
5161
|
* Parameters for creating card push
|
|
5010
5162
|
*/
|
|
5011
5163
|
interface CardPushCreateParams {
|
|
5012
5164
|
/** Channel ID */
|
|
5013
|
-
channelId: string;
|
|
5014
|
-
|
|
5165
|
+
channelId: string | number;
|
|
5166
|
+
cardType?: 'common' | 'qrCode' | string;
|
|
5167
|
+
imageType: 'giftbox' | 'redpack' | 'custom' | 'weixinWork' | string;
|
|
5015
5168
|
title: string;
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5169
|
+
link: string;
|
|
5170
|
+
duration: 0 | 5 | 10 | 20 | 30 | number;
|
|
5171
|
+
durationPosition?: 'bottom' | 'top' | string;
|
|
5172
|
+
showCondition: 'PUSH' | 'WATCH' | string;
|
|
5173
|
+
conditionValue?: number;
|
|
5174
|
+
conditionUnit?: 'SECONDS' | 'MINUTES' | string;
|
|
5175
|
+
countdownMsg?: string;
|
|
5176
|
+
enterEnabled?: YNFlag;
|
|
5177
|
+
linkEnabled?: YNFlag;
|
|
5178
|
+
redirectType?: 'iframe' | 'tab' | string;
|
|
5179
|
+
enterImage?: string;
|
|
5180
|
+
cardImage?: string;
|
|
5181
|
+
weixinWordQrCodeId?: string;
|
|
5182
|
+
qrCodeImage?: string;
|
|
5183
|
+
hrefType?: 'common' | 'multiplatform' | string;
|
|
5184
|
+
pcLink?: string;
|
|
5185
|
+
mobileLink?: string;
|
|
5186
|
+
wxMiniprogramOriginalId?: string;
|
|
5187
|
+
wxMiniprogramAppId?: string;
|
|
5188
|
+
wxMiniprogramLink?: string;
|
|
5189
|
+
mobileAppLink?: string;
|
|
5022
5190
|
}
|
|
5023
5191
|
/**
|
|
5024
5192
|
* Response for creating card push
|
|
5025
5193
|
*/
|
|
5026
5194
|
interface CardPushCreateResponse {
|
|
5027
5195
|
/** Card push ID */
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
/**
|
|
5031
|
-
* Parameters for getting card push
|
|
5032
|
-
*/
|
|
5033
|
-
interface CardPushGetParams {
|
|
5034
|
-
/** Channel ID */
|
|
5035
|
-
channelId: string;
|
|
5036
|
-
/** Card push ID */
|
|
5037
|
-
id: number;
|
|
5196
|
+
cardPushId?: number | string;
|
|
5197
|
+
[key: string]: unknown;
|
|
5038
5198
|
}
|
|
5039
5199
|
/**
|
|
5040
5200
|
* Parameters for updating card push
|
|
5041
5201
|
*/
|
|
5042
5202
|
interface CardPushUpdateParams {
|
|
5043
5203
|
/** Channel ID */
|
|
5044
|
-
channelId: string;
|
|
5204
|
+
channelId: string | number;
|
|
5045
5205
|
/** Card push ID */
|
|
5046
|
-
|
|
5047
|
-
/** Card title */
|
|
5206
|
+
cardPushId: string | number;
|
|
5048
5207
|
title?: string;
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5208
|
+
duration?: 0 | 5 | 10 | 20 | 30 | number;
|
|
5209
|
+
imageType?: 'giftbox' | 'redpack' | 'custom' | 'weixinWork' | string;
|
|
5210
|
+
link?: string;
|
|
5211
|
+
showCondition?: 'PUSH' | 'WATCH' | string;
|
|
5212
|
+
conditionValue?: number;
|
|
5213
|
+
conditionUnit?: 'SECONDS' | 'MINUTES' | string;
|
|
5214
|
+
countdownMsg?: string;
|
|
5215
|
+
enterEnabled?: YNFlag;
|
|
5216
|
+
linkEnabled?: YNFlag;
|
|
5217
|
+
[key: string]: unknown;
|
|
5053
5218
|
}
|
|
5054
5219
|
/**
|
|
5055
5220
|
* Parameters for deleting card push
|
|
5056
5221
|
*/
|
|
5057
5222
|
interface CardPushDeleteParams {
|
|
5058
5223
|
/** Channel ID */
|
|
5059
|
-
channelId: string;
|
|
5224
|
+
channelId: string | number;
|
|
5060
5225
|
/** Card push ID */
|
|
5061
|
-
|
|
5226
|
+
cardPushId: string | number;
|
|
5062
5227
|
}
|
|
5063
5228
|
/**
|
|
5064
5229
|
* Parameters for pushing card
|
|
5065
5230
|
*/
|
|
5066
5231
|
interface CardPushPushParams {
|
|
5067
5232
|
/** Channel ID */
|
|
5068
|
-
channelId: string;
|
|
5233
|
+
channelId: string | number;
|
|
5069
5234
|
/** Card push ID */
|
|
5070
|
-
|
|
5235
|
+
cardPushId: string | number;
|
|
5071
5236
|
}
|
|
5072
5237
|
/**
|
|
5073
5238
|
* Parameters for canceling card push
|
|
5074
5239
|
*/
|
|
5075
5240
|
interface CardPushCancelPushParams {
|
|
5076
5241
|
/** Channel ID */
|
|
5077
|
-
channelId: string;
|
|
5242
|
+
channelId: string | number;
|
|
5078
5243
|
/** Card push ID */
|
|
5079
|
-
|
|
5244
|
+
cardPushId: string | number;
|
|
5080
5245
|
}
|
|
5081
5246
|
/**
|
|
5082
5247
|
* Parameters for browsers summary
|
|
@@ -5297,67 +5462,64 @@ interface ProductStats {
|
|
|
5297
5462
|
*/
|
|
5298
5463
|
interface ProductTag$1 {
|
|
5299
5464
|
/** Tag ID */
|
|
5300
|
-
|
|
5465
|
+
id?: number | string;
|
|
5301
5466
|
/** Tag name */
|
|
5302
|
-
name
|
|
5303
|
-
|
|
5304
|
-
color: string;
|
|
5467
|
+
name?: string;
|
|
5468
|
+
[key: string]: unknown;
|
|
5305
5469
|
}
|
|
5306
5470
|
/**
|
|
5307
5471
|
* Parameters for creating product tag
|
|
5308
5472
|
*/
|
|
5309
5473
|
interface ProductTagCreateParams {
|
|
5310
5474
|
/** Channel ID */
|
|
5311
|
-
channelId: string;
|
|
5475
|
+
channelId: string | number;
|
|
5312
5476
|
/** Tag name */
|
|
5313
5477
|
name: string;
|
|
5314
|
-
/** Tag color */
|
|
5315
|
-
color?: string;
|
|
5316
5478
|
}
|
|
5317
5479
|
/**
|
|
5318
5480
|
* Response for creating product tag
|
|
5319
5481
|
*/
|
|
5320
5482
|
interface ProductTagCreateResponse {
|
|
5321
5483
|
/** Tag ID */
|
|
5322
|
-
|
|
5484
|
+
id?: number | string;
|
|
5485
|
+
name?: string;
|
|
5486
|
+
[key: string]: unknown;
|
|
5323
5487
|
}
|
|
5324
5488
|
/**
|
|
5325
5489
|
* Parameters for getting product tag
|
|
5326
5490
|
*/
|
|
5327
5491
|
interface ProductTagGetParams {
|
|
5328
5492
|
/** Channel ID */
|
|
5329
|
-
channelId: string;
|
|
5493
|
+
channelId: string | number;
|
|
5330
5494
|
/** Tag ID */
|
|
5331
|
-
|
|
5495
|
+
id: string | number;
|
|
5332
5496
|
}
|
|
5333
5497
|
/**
|
|
5334
5498
|
* Parameters for listing product tags
|
|
5335
5499
|
*/
|
|
5336
|
-
interface ProductTagListParams {
|
|
5500
|
+
interface ProductTagListParams extends V4PaginationParams {
|
|
5337
5501
|
/** Channel ID */
|
|
5338
|
-
channelId: string;
|
|
5502
|
+
channelId: string | number;
|
|
5339
5503
|
}
|
|
5340
5504
|
/**
|
|
5341
5505
|
* Parameters for updating product tag
|
|
5342
5506
|
*/
|
|
5343
5507
|
interface ProductTagUpdateParams {
|
|
5344
5508
|
/** Channel ID */
|
|
5345
|
-
channelId: string;
|
|
5509
|
+
channelId: string | number;
|
|
5346
5510
|
/** Tag ID */
|
|
5347
|
-
|
|
5511
|
+
id: string | number;
|
|
5348
5512
|
/** Tag name */
|
|
5349
|
-
name
|
|
5350
|
-
/** Tag color */
|
|
5351
|
-
color?: string;
|
|
5513
|
+
name: string;
|
|
5352
5514
|
}
|
|
5353
5515
|
/**
|
|
5354
5516
|
* Parameters for deleting product tag
|
|
5355
5517
|
*/
|
|
5356
5518
|
interface ProductTagDeleteParams {
|
|
5357
5519
|
/** Channel ID */
|
|
5358
|
-
channelId: string;
|
|
5520
|
+
channelId: string | number;
|
|
5359
5521
|
/** Tag ID */
|
|
5360
|
-
|
|
5522
|
+
id: string | number;
|
|
5361
5523
|
}
|
|
5362
5524
|
/**
|
|
5363
5525
|
* Parameters for paging gifts
|
|
@@ -5417,6 +5579,48 @@ interface LikeInfo {
|
|
|
5417
5579
|
/** Like time */
|
|
5418
5580
|
likeTime: number;
|
|
5419
5581
|
}
|
|
5582
|
+
interface RewardGiftRecord {
|
|
5583
|
+
viewerId?: string;
|
|
5584
|
+
viewerName?: string;
|
|
5585
|
+
giftName?: string;
|
|
5586
|
+
price?: number;
|
|
5587
|
+
count?: number;
|
|
5588
|
+
createTime?: number;
|
|
5589
|
+
[key: string]: unknown;
|
|
5590
|
+
}
|
|
5591
|
+
interface ListRewardGiftsParams extends V4PaginationParams {
|
|
5592
|
+
channelId: string | number;
|
|
5593
|
+
start: number;
|
|
5594
|
+
end: number;
|
|
5595
|
+
}
|
|
5596
|
+
interface ListRewardGiftsResponse {
|
|
5597
|
+
pageNumber?: number;
|
|
5598
|
+
pageSize?: number;
|
|
5599
|
+
totalItems?: number;
|
|
5600
|
+
totalPages?: number;
|
|
5601
|
+
contents?: RewardGiftRecord[];
|
|
5602
|
+
[key: string]: unknown;
|
|
5603
|
+
}
|
|
5604
|
+
interface RewardLikeRecord {
|
|
5605
|
+
viewerId?: string;
|
|
5606
|
+
viewerName?: string;
|
|
5607
|
+
likeCount?: number;
|
|
5608
|
+
createTime?: number;
|
|
5609
|
+
[key: string]: unknown;
|
|
5610
|
+
}
|
|
5611
|
+
interface ListRewardLikesParams extends V4PaginationParams {
|
|
5612
|
+
channelId: string | number;
|
|
5613
|
+
start?: number;
|
|
5614
|
+
end?: number;
|
|
5615
|
+
}
|
|
5616
|
+
interface ListRewardLikesResponse {
|
|
5617
|
+
pageNumber?: number;
|
|
5618
|
+
pageSize?: number;
|
|
5619
|
+
totalItems?: number;
|
|
5620
|
+
totalPages?: number;
|
|
5621
|
+
contents?: RewardLikeRecord[];
|
|
5622
|
+
[key: string]: unknown;
|
|
5623
|
+
}
|
|
5420
5624
|
/**
|
|
5421
5625
|
* Task reward info
|
|
5422
5626
|
*/
|
|
@@ -5765,6 +5969,10 @@ interface LiveSessionInfo {
|
|
|
5765
5969
|
/** Max viewer count */
|
|
5766
5970
|
maxViewerCount: number;
|
|
5767
5971
|
}
|
|
5972
|
+
interface ListCardPushesParams {
|
|
5973
|
+
channelId: string | number;
|
|
5974
|
+
}
|
|
5975
|
+
type ListCardPushesResponse = CardPushInfo[];
|
|
5768
5976
|
/** V4 Pagination parameters */
|
|
5769
5977
|
interface V4PaginationParams {
|
|
5770
5978
|
/** Page number (1-based) */
|
|
@@ -5785,6 +5993,7 @@ interface V4PaginatedResponse<T> {
|
|
|
5785
5993
|
/** Page size */
|
|
5786
5994
|
pageSize?: number;
|
|
5787
5995
|
}
|
|
5996
|
+
type V4ChannelPageResponse<T> = V4PaginatedResponse<T>;
|
|
5788
5997
|
/** Channel ID parameter */
|
|
5789
5998
|
interface ChannelIdParam {
|
|
5790
5999
|
/** Channel ID */
|
|
@@ -5816,6 +6025,7 @@ type CreateLotteryActivityParams = LotteryActivityCreateParams;
|
|
|
5816
6025
|
type CreateLotteryActivityResponse = LotteryActivityCreateResponse;
|
|
5817
6026
|
type GetLotteryActivityParams = LotteryActivityGetParams;
|
|
5818
6027
|
type ListLotteryActivitiesParams = LotteryActivityListParams;
|
|
6028
|
+
type ListLotteryActivitiesResponse = LotteryActivityListResponse;
|
|
5819
6029
|
type UpdateLotteryActivityParams = LotteryActivityUpdateParams;
|
|
5820
6030
|
type DeleteLotteryActivityParams = LotteryActivityDeleteParams;
|
|
5821
6031
|
type GroupResponse = GroupAddResponse;
|
|
@@ -5825,7 +6035,6 @@ type GetShareParams = ShareGetParams;
|
|
|
5825
6035
|
type UpdateShareParams = ShareUpdateParams;
|
|
5826
6036
|
type CreateCardPushParams = CardPushCreateParams;
|
|
5827
6037
|
type CreateCardPushResponse = CardPushCreateResponse;
|
|
5828
|
-
type GetCardPushParams = CardPushGetParams;
|
|
5829
6038
|
type UpdateCardPushParams = CardPushUpdateParams;
|
|
5830
6039
|
type DeleteCardPushParams = CardPushDeleteParams;
|
|
5831
6040
|
type PushCardParams = CardPushPushParams;
|
|
@@ -5840,6 +6049,7 @@ type CreateProductTagParams$1 = ProductTagCreateParams;
|
|
|
5840
6049
|
type CreateProductTagResponse$1 = ProductTagCreateResponse;
|
|
5841
6050
|
type GetProductTagParams = ProductTagGetParams;
|
|
5842
6051
|
type ListProductTagsParams = ProductTagListParams;
|
|
6052
|
+
type ListChannelProductTagsResponse = V4ChannelPageResponse<ProductTag$1>;
|
|
5843
6053
|
type UpdateProductTagParams$1 = ProductTagUpdateParams;
|
|
5844
6054
|
type DeleteProductTagParams$1 = ProductTagDeleteParams;
|
|
5845
6055
|
type GiftItem = GiftInfo;
|
|
@@ -7185,18 +7395,27 @@ interface UpdateVideoModerationSettingParams {
|
|
|
7185
7395
|
* Callback settings
|
|
7186
7396
|
*/
|
|
7187
7397
|
interface CallbackSettings {
|
|
7188
|
-
|
|
7398
|
+
streamCallbackUrl?: string;
|
|
7399
|
+
playbackCallbackUrl?: string;
|
|
7400
|
+
recordCallbackUrl?: string;
|
|
7401
|
+
rebirthVodCallbackUrl?: string;
|
|
7402
|
+
rebirthVodCallbackEnabled?: 'Y' | 'N';
|
|
7403
|
+
/** Compatibility aliases used by older SDK consumers. */
|
|
7189
7404
|
url?: string;
|
|
7190
|
-
/** Whether enabled */
|
|
7191
7405
|
enabled?: boolean;
|
|
7406
|
+
[key: string]: unknown;
|
|
7192
7407
|
}
|
|
7193
7408
|
/**
|
|
7194
7409
|
* Parameters for updating callback settings
|
|
7195
7410
|
*/
|
|
7196
7411
|
interface UpdateCallbackParams {
|
|
7197
|
-
|
|
7412
|
+
streamCallbackUrl?: string;
|
|
7413
|
+
playbackCallbackUrl?: string;
|
|
7414
|
+
recordCallbackUrl?: string;
|
|
7415
|
+
rebirthVodCallbackUrl?: string;
|
|
7416
|
+
rebirthVodCallbackEnabled?: 'Y' | 'N';
|
|
7417
|
+
/** Compatibility aliases used by older SDK consumers. */
|
|
7198
7418
|
url?: string;
|
|
7199
|
-
/** Whether enabled */
|
|
7200
7419
|
enabled?: boolean;
|
|
7201
7420
|
}
|
|
7202
7421
|
/**
|
|
@@ -13583,34 +13802,67 @@ interface GetCheckinByTimeParams {
|
|
|
13583
13802
|
startDate: string;
|
|
13584
13803
|
endDate: string;
|
|
13585
13804
|
}
|
|
13586
|
-
|
|
13587
|
-
|
|
13805
|
+
type LiveInteractionChannelId = string | number;
|
|
13806
|
+
type LiveInteractionYnFlag = 'Y' | 'N';
|
|
13807
|
+
type QuestionType = 'R' | 'C' | 'S' | 'V';
|
|
13808
|
+
type QuestionnaireQuestionType = 'R' | 'C' | 'Q' | 'J' | 'X' | string;
|
|
13809
|
+
interface QuestionnaireOption {
|
|
13810
|
+
id?: string;
|
|
13811
|
+
name?: string;
|
|
13812
|
+
[key: string]: unknown;
|
|
13588
13813
|
}
|
|
13589
|
-
interface
|
|
13814
|
+
interface QuestionnaireQuestion {
|
|
13815
|
+
name: string;
|
|
13816
|
+
type: QuestionnaireQuestionType;
|
|
13817
|
+
desc?: string;
|
|
13818
|
+
answer?: string;
|
|
13819
|
+
required?: LiveInteractionYnFlag | string;
|
|
13820
|
+
scoreEnabled?: LiveInteractionYnFlag | string;
|
|
13821
|
+
score?: number | string;
|
|
13822
|
+
scoreExt?: unknown;
|
|
13823
|
+
options?: string[];
|
|
13824
|
+
optionList?: QuestionnaireOption[];
|
|
13825
|
+
option1?: string;
|
|
13826
|
+
option2?: string;
|
|
13827
|
+
option3?: string;
|
|
13828
|
+
option4?: string;
|
|
13829
|
+
option5?: string;
|
|
13830
|
+
option6?: string;
|
|
13831
|
+
option7?: string;
|
|
13832
|
+
option8?: string;
|
|
13833
|
+
option9?: string;
|
|
13834
|
+
option10?: string;
|
|
13835
|
+
[key: string]: unknown;
|
|
13590
13836
|
}
|
|
13591
|
-
interface
|
|
13592
|
-
|
|
13593
|
-
|
|
13594
|
-
|
|
13595
|
-
|
|
13596
|
-
|
|
13597
|
-
|
|
13598
|
-
|
|
13599
|
-
|
|
13837
|
+
interface CreateQuestionnaireParams {
|
|
13838
|
+
channelId: LiveInteractionChannelId;
|
|
13839
|
+
questionnaireTitle: string;
|
|
13840
|
+
questions: QuestionnaireQuestion[];
|
|
13841
|
+
customQuestionnaireId?: string;
|
|
13842
|
+
autoPublishTime?: string | number;
|
|
13843
|
+
autoEndTime?: string | number;
|
|
13844
|
+
privacyEnabled?: LiveInteractionYnFlag | string;
|
|
13845
|
+
privacyContent?: string;
|
|
13846
|
+
userTags?: string[];
|
|
13847
|
+
desc?: string;
|
|
13848
|
+
[key: string]: unknown;
|
|
13600
13849
|
}
|
|
13601
|
-
interface
|
|
13602
|
-
|
|
13850
|
+
interface BatchCreateQuestionnaireParams {
|
|
13851
|
+
questionnaires: CreateQuestionnaireParams[];
|
|
13603
13852
|
}
|
|
13604
|
-
|
|
13605
|
-
|
|
13606
|
-
|
|
13607
|
-
|
|
13608
|
-
|
|
13853
|
+
type BatchCreateQuestionnaireBody = BatchCreateQuestionnaireParams;
|
|
13854
|
+
type AddEditQuestionnaireParams = {
|
|
13855
|
+
channelId: LiveInteractionChannelId;
|
|
13856
|
+
} & Partial<Omit<CreateQuestionnaireParams, 'channelId'>>;
|
|
13857
|
+
type AddEditQuestionnaireBody = Omit<CreateQuestionnaireParams, 'channelId'> & {
|
|
13858
|
+
title?: string;
|
|
13859
|
+
items?: Array<{
|
|
13860
|
+
type: 'R' | 'C' | 'S' | 'V' | string;
|
|
13609
13861
|
question: string;
|
|
13610
13862
|
options?: string[];
|
|
13611
13863
|
required?: boolean;
|
|
13612
13864
|
}>;
|
|
13613
|
-
}
|
|
13865
|
+
};
|
|
13614
13866
|
interface ListQuestionnaireParams {
|
|
13615
13867
|
channelId: string;
|
|
13616
13868
|
startTime?: number;
|
|
@@ -13644,30 +13896,51 @@ interface ListQuestionSendTimeParams {
|
|
|
13644
13896
|
channelId: string;
|
|
13645
13897
|
}
|
|
13646
13898
|
interface AddEditQuestionParams {
|
|
13647
|
-
channelId:
|
|
13899
|
+
channelId: LiveInteractionChannelId;
|
|
13648
13900
|
questionId?: string;
|
|
13649
|
-
|
|
13901
|
+
type?: QuestionType;
|
|
13902
|
+
_type?: QuestionType;
|
|
13650
13903
|
answer: string;
|
|
13651
13904
|
name: string;
|
|
13652
13905
|
itemType: number;
|
|
13653
13906
|
option1_option15?: string;
|
|
13654
13907
|
tips1_tips5?: string;
|
|
13908
|
+
option1?: string;
|
|
13909
|
+
option2?: string;
|
|
13910
|
+
option3?: string;
|
|
13911
|
+
option4?: string;
|
|
13912
|
+
option5?: string;
|
|
13913
|
+
option6?: string;
|
|
13914
|
+
option7?: string;
|
|
13915
|
+
option8?: string;
|
|
13916
|
+
option9?: string;
|
|
13917
|
+
option10?: string;
|
|
13918
|
+
option11?: string;
|
|
13919
|
+
option12?: string;
|
|
13920
|
+
option13?: string;
|
|
13921
|
+
option14?: string;
|
|
13922
|
+
option15?: string;
|
|
13923
|
+
tips1?: string;
|
|
13924
|
+
tips2?: string;
|
|
13925
|
+
tips3?: string;
|
|
13926
|
+
tips4?: string;
|
|
13927
|
+
tips5?: string;
|
|
13655
13928
|
}
|
|
13656
13929
|
interface DeleteQuestionParams {
|
|
13657
13930
|
channelId: string;
|
|
13658
13931
|
questionId: string;
|
|
13659
13932
|
}
|
|
13660
13933
|
interface SendQuestionParams {
|
|
13661
|
-
channelId:
|
|
13934
|
+
channelId: LiveInteractionChannelId;
|
|
13662
13935
|
questionId: string;
|
|
13663
13936
|
duration?: number;
|
|
13664
13937
|
}
|
|
13665
13938
|
interface StopQuestionParams {
|
|
13666
|
-
channelId:
|
|
13939
|
+
channelId: LiveInteractionChannelId;
|
|
13667
13940
|
questionId: string;
|
|
13668
13941
|
}
|
|
13669
13942
|
interface SendQuestionResultParams {
|
|
13670
|
-
channelId:
|
|
13943
|
+
channelId: LiveInteractionChannelId;
|
|
13671
13944
|
questionId: string;
|
|
13672
13945
|
}
|
|
13673
13946
|
interface GetAnswerListParams {
|
|
@@ -13880,6 +14153,15 @@ interface QuestionListResponse2 {
|
|
|
13880
14153
|
declare class LiveInteractionService {
|
|
13881
14154
|
private readonly client;
|
|
13882
14155
|
constructor(client: PolyVClient);
|
|
14156
|
+
private compactParams;
|
|
14157
|
+
private validateRequiredString;
|
|
14158
|
+
private validateRequiredChannelId;
|
|
14159
|
+
private validateRequiredNumber;
|
|
14160
|
+
private validatePositiveInteger;
|
|
14161
|
+
private validatePageParams;
|
|
14162
|
+
private validateTimeRange;
|
|
14163
|
+
private validateQuestionnairePayload;
|
|
14164
|
+
private splitQuestionnairePayload;
|
|
13883
14165
|
/**
|
|
13884
14166
|
* 查询频道签到记录(仅返回已签到记录)
|
|
13885
14167
|
*
|
|
@@ -13974,7 +14256,7 @@ declare class LiveInteractionService {
|
|
|
13974
14256
|
* });
|
|
13975
14257
|
* ```
|
|
13976
14258
|
*/
|
|
13977
|
-
batchCreateQuestionnaire(params: BatchCreateQuestionnaireParams, body
|
|
14259
|
+
batchCreateQuestionnaire(params: BatchCreateQuestionnaireParams, body?: BatchCreateQuestionnaireBody): Promise<QuestionnaireDetailResponse>;
|
|
13978
14260
|
/**
|
|
13979
14261
|
* 编辑或添加问卷信息
|
|
13980
14262
|
*
|
|
@@ -14360,6 +14642,8 @@ declare class AccountService {
|
|
|
14360
14642
|
* @param client - The PolyVClient instance to use for API calls
|
|
14361
14643
|
*/
|
|
14362
14644
|
constructor(client: PolyVClient);
|
|
14645
|
+
private compactParams;
|
|
14646
|
+
private normalizeEnabled;
|
|
14363
14647
|
/**
|
|
14364
14648
|
* Get category list
|
|
14365
14649
|
* Query all live categories for the account
|
|
@@ -14605,7 +14889,7 @@ declare class AccountService {
|
|
|
14605
14889
|
* console.log(result.config);
|
|
14606
14890
|
* ```
|
|
14607
14891
|
*/
|
|
14608
|
-
switchGet(): Promise<SwitchGetResponse>;
|
|
14892
|
+
switchGet(params?: SwitchGetParams): Promise<SwitchGetResponse>;
|
|
14609
14893
|
/**
|
|
14610
14894
|
* Update switch configuration
|
|
14611
14895
|
*
|
|
@@ -17613,6 +17897,13 @@ declare class V4ChannelService {
|
|
|
17613
17897
|
* @param params - Update parameters
|
|
17614
17898
|
*/
|
|
17615
17899
|
updateDonate(params: UpdateDonateParams): Promise<void>;
|
|
17900
|
+
/**
|
|
17901
|
+
* Update channel gift donate settings.
|
|
17902
|
+
*
|
|
17903
|
+
* @param params - Update parameters
|
|
17904
|
+
* @returns Donate settings
|
|
17905
|
+
*/
|
|
17906
|
+
updateDonateGift(params: UpdateDonateGiftParams): Promise<DonateSettings>;
|
|
17616
17907
|
/**
|
|
17617
17908
|
* List distributes
|
|
17618
17909
|
*
|
|
@@ -17691,9 +17982,7 @@ declare class V4ChannelService {
|
|
|
17691
17982
|
* @param params - Query parameters
|
|
17692
17983
|
* @returns Lottery activities list
|
|
17693
17984
|
*/
|
|
17694
|
-
lotteryActivityList(params: ListLotteryActivitiesParams): Promise<
|
|
17695
|
-
contents: LotteryActivity[];
|
|
17696
|
-
}>;
|
|
17985
|
+
lotteryActivityList(params: ListLotteryActivitiesParams): Promise<ListLotteryActivitiesResponse>;
|
|
17697
17986
|
/**
|
|
17698
17987
|
* Update lottery activity
|
|
17699
17988
|
*
|
|
@@ -17829,7 +18118,7 @@ declare class V4ChannelService {
|
|
|
17829
18118
|
*
|
|
17830
18119
|
* @param params - Update parameters
|
|
17831
18120
|
*/
|
|
17832
|
-
shareUpdate(params: UpdateShareParams): Promise<
|
|
18121
|
+
shareUpdate(params: UpdateShareParams): Promise<ShareSettings>;
|
|
17833
18122
|
/**
|
|
17834
18123
|
* Create card push
|
|
17835
18124
|
*
|
|
@@ -17837,13 +18126,6 @@ declare class V4ChannelService {
|
|
|
17837
18126
|
* @returns Card ID
|
|
17838
18127
|
*/
|
|
17839
18128
|
cardPushCreate(params: CreateCardPushParams): Promise<CreateCardPushResponse>;
|
|
17840
|
-
/**
|
|
17841
|
-
* Get card push
|
|
17842
|
-
*
|
|
17843
|
-
* @param params - Query parameters
|
|
17844
|
-
* @returns Card push info
|
|
17845
|
-
*/
|
|
17846
|
-
cardPushGet(params: GetCardPushParams): Promise<CardPushItem>;
|
|
17847
18129
|
/**
|
|
17848
18130
|
* Update card push
|
|
17849
18131
|
*
|
|
@@ -17967,7 +18249,7 @@ declare class V4ChannelService {
|
|
|
17967
18249
|
* @param params - Query parameters
|
|
17968
18250
|
* @returns Product tags list
|
|
17969
18251
|
*/
|
|
17970
|
-
productTagList(params: ListProductTagsParams): Promise<
|
|
18252
|
+
productTagList(params: ListProductTagsParams): Promise<ListChannelProductTagsResponse>;
|
|
17971
18253
|
/**
|
|
17972
18254
|
* Update product tag
|
|
17973
18255
|
*
|
|
@@ -17998,6 +18280,20 @@ declare class V4ChannelService {
|
|
|
17998
18280
|
likePage(params: LikePageParams): Promise<{
|
|
17999
18281
|
contents: LikeItem[];
|
|
18000
18282
|
}>;
|
|
18283
|
+
/**
|
|
18284
|
+
* List gift reward records.
|
|
18285
|
+
*
|
|
18286
|
+
* @param params - Query parameters
|
|
18287
|
+
* @returns Gift reward records
|
|
18288
|
+
*/
|
|
18289
|
+
listRewardGifts(params: ListRewardGiftsParams): Promise<ListRewardGiftsResponse>;
|
|
18290
|
+
/**
|
|
18291
|
+
* List like reward records.
|
|
18292
|
+
*
|
|
18293
|
+
* @param params - Query parameters
|
|
18294
|
+
* @returns Like reward records
|
|
18295
|
+
*/
|
|
18296
|
+
listRewardLikes(params: ListRewardLikesParams): Promise<ListRewardLikesResponse>;
|
|
18001
18297
|
/**
|
|
18002
18298
|
* Create task reward
|
|
18003
18299
|
*
|
|
@@ -18141,6 +18437,18 @@ declare class V4ChannelService {
|
|
|
18141
18437
|
popularizationList(params: PopularizationListParams): Promise<{
|
|
18142
18438
|
contents: PopularizationInfo[];
|
|
18143
18439
|
}>;
|
|
18440
|
+
/**
|
|
18441
|
+
* List channel card pushes.
|
|
18442
|
+
*/
|
|
18443
|
+
listCardPushes(params: ListCardPushesParams): Promise<ListCardPushesResponse>;
|
|
18444
|
+
private validateRequiredString;
|
|
18445
|
+
private validateOptionalYn;
|
|
18446
|
+
private validateRequiredId;
|
|
18447
|
+
private validateRequiredNumber;
|
|
18448
|
+
private validateLotteryActivityBody;
|
|
18449
|
+
private validateCardPushCreateParams;
|
|
18450
|
+
private validateCardPushIdParams;
|
|
18451
|
+
private validateCardPushOptionalParams;
|
|
18144
18452
|
/**
|
|
18145
18453
|
* Validate channel ID
|
|
18146
18454
|
*/
|
|
@@ -18173,6 +18481,7 @@ declare class V4ChannelService {
|
|
|
18173
18481
|
* Validate pagination parameters
|
|
18174
18482
|
*/
|
|
18175
18483
|
private validatePaginationParams;
|
|
18484
|
+
private validateOptionalPaginationParams;
|
|
18176
18485
|
}
|
|
18177
18486
|
|
|
18178
18487
|
/**
|
|
@@ -20593,4 +20902,4 @@ declare function getErrorCodeCategory(code: number): string;
|
|
|
20593
20902
|
*/
|
|
20594
20903
|
declare const VERSION = "1.0.0";
|
|
20595
20904
|
|
|
20596
|
-
export { type AccountViewerSettings, type AddAccountParams, type AddBadwordsParams, type AddBadwordsResponse, type AddBannedIpParams, type AddBannedIpResponse, type AddChannelCouponParams, type AddChannelLabelRefsParams, type AddChannelProductParams, type AddChannelProductResponse, type AddCustomFieldParams, type AddCustomFieldResponse, type AddCustomFieldValueParams, type AddInviteSaleParams, type AddInviteSaleResponse, type AddRobotModel, type AddViewerLabelParams, type AddWhiteListParams, type AllocateLogType, type AllocateOrigin, type AllocationLogItem, type AnchorDetail, type AnchorItem, type AnchorRelationItem, type AntiRecordModelType, type AntiRecordSettingsParams, type AntiRecordSettingsResponse, type AntiRecordShowMode, type AntiRecordType, type ApiErrorDetail, type ApiErrorResponse, type ApiResponse, type ApiResponseStatus, type ApiSuccessResponse, type ApiVersion, type ArrayElement, type AudioModerationRecordItem, type AudioModerationSetting, type AudioModerationSettings, type AudioModerationStrategy, type AuthConfig, type AuthSetting$1 as AuthSetting, type AuthType, type BaseCallbackPayload, type BasicCreateChannelParams, type BatchCheckinItem, type BatchCheckinParams, type BatchCreateChannelsParams, type BatchCreateChannelsResponse, type BatchCreatePopularizationParams, type BatchCreateVideoProducesItem, type BatchCreateVideoProducesParams, type BatchCreateVideoProducesResponse, type BatchDeleteRobotsParams, type BatchPublishSubtitleParams, type BatchSaveRobotsParams, type BatchSaveRobotsResponse, type BatchUpdateOrderStatusParams, type BillUseDetailItem, type BillingDailyItem, type BlacklistAddParams, type BlacklistDeleteParams, type BlacklistItem, type BlacklistPageParams, type BroadcastType, type BrowsersSummary, type BrowsersSummaryParams, type Bulletin, type CallbackOriginType, type CallbackPayload, type CallbackSettings, type CancelCardPushParams, type CardPushItem, type Category, type ChannelBasicInfo, type ChannelBasicListItem, type ChannelDetail$2 as ChannelDetail, type ChannelDetailListItem, type ChannelDetailParams, type ChannelDetailResponse, type ChannelIdParam, type ChannelModel, type ChannelScene$1 as ChannelScene, ChannelService, type ChannelSimpleListItem, type ChannelStreamType, type ChannelsParams, type ChannelsResponse, type ChatHistoryPageResponse, type ChatMessage, type ChildAccount, type ChildAccountRole, type ChildAccountStatus, type CleanNoticesParams, type ContentGroupItem, type ContentGroupType, type ContentGroupTypeExtended, type Coupon, type CouponRule, type CouponViewer, type CreateAnchorParams, type CreateCardPushParams, type CreateCardPushResponse, type CreateCategoryParams, type CreateCategoryResponse, type CreateChannelParams, type CreateChannelRequest, type CreateChannelResponse, type CreateChildAccountParams, type CreateCouponParams, type CreateDistributeBatchParams, type CreateGroupUserParams, type CreateGroupUserResponse, type CreateLabelParams, type CreateLabelResponse, type CreateLotteryActivityParams, type CreateLotteryActivityResponse, type CreateMrChannelParams, type CreateMrChannelResponse, type CreateOrganizationParams, type CreateOrganizationResponse, type CreateProductParams, type CreateProductResponse, type CreateProductTagParams$1 as CreateProductTagParams, type CreateProductTagResponse$1 as CreateProductTagResponse, type CreateRoleParams, type CreateSessionParams, type CreateSessionResponse, type CreateTaskRewardParams, type CreateTaskRewardResponse, type CreateViewerLabelParams, type CreateViewerLabelResponse, type CreateViewerNameGroupParams, type CreateViewerRecordParams, type CreateWaitLotteryParams, type CreateWaitLotteryResponse, type CryptoSource, type CustomField, type DailyViewStatistics, type DecorateSettings, type DeepPartial, type DeleteAccountsParams, type DeleteCardPushParams, type DeleteCategoryParams, type DeleteCategoryResponse, type DeleteChannelBannedParams, type DeleteChannelBannedResponse, type DeleteChannelProductParams, type DeleteChildAccountsParams, type DeleteCouponsBatchParams, type DeleteDistributeBatchParams, type DeleteLabelParams, type DeleteLotteryActivityParams, type DeleteMaterialsParams, type DeleteMaterialsResult, type DeleteOrganizationParams, type DeleteProductParams, type DeleteProductTagParams$1 as DeleteProductTagParams, type DeleteSessionParams, type DeleteTaskRewardParams, type DeleteUserBadwordParams, type DeleteUserBadwordResponse, type DeleteVideoProduceParams, type DeleteViewerLabelParams, type DeleteViewerLabelRefParams, type DeleteViewerRecordParams, type DeleteWhiteListParams, type DigitalHuman, type DigitalHumanInfo, type DigitalHumanOrganization, type DirectAuthViewerParams, type DiskVideoScriptDeleteParams, type DiskVideoScriptInfo, type DiskVideoScriptQueryParams, type DiskVideoScriptUploadParams, type DiskVideoScriptUploadResponse, type DistributeItem, type DistributeListResponse, type DistributeStatistic, type DocConvertStatusItem, type DocConvertType, type DocListResponse, type DocModel, type DocStatus, type DocType, type DonateSettings, type DonateTemplate, type DoubleTeacherType, ERROR_CATEGORIES, ERROR_MESSAGES, type EnvironmentInfo, type ErrorCategory, type ErrorCategoryName, ExportSessionStatsParams, ExportSessionStatsResponse, type ExternalViewerItem, type FollowViewer, type ForbidChannelKickUsersBody, type ForbidChannelKickUsersParams, type ForbidChannelKickUsersResponse, type ForbidChannelUnkickUsersBody, type ForbidChannelUnkickUsersParams, type ForbidChannelUnkickUsersResponse, type ForbidKickUsersBody, type ForbidKickUsersGlobalResponse, type ForbidKickUsersResponse, type ForbidUnkickUsersGlobalResponse, type ForbidUser, type FullReduceRule, type GeoSummary, type GeoSummaryParams, type GetAccountViewerParams, type GetBillUseDetailListParams, type GetBillUseDetailListResponse, type GetByRoleParams, type GetBySaleParams, type GetCardPushParams, type GetCategoryListResponse, type GetChannelBannedListParams, type GetChannelBannedListResponse, type GetChannelBannedUserListParams, type GetChannelBannedUserListResponse, type GetChannelKickedUserListParams, type GetChannelKickedUserListResponse, type GetChildAccountParams, type GetDailyViewStatisticsParams, type GetDailyViewStatisticsResponse, type GetDecorateParams, type GetDistributeStatisticParams, type GetDocListRequest, type GetDonateParams, type GetForbidUserListParams, type GetForbidUserListResponse, type GetIncomeDetailParams, type GetIncomeDetailResponse, type GetInviteRankParams, type GetInviteStatsParams, type GetLiveSessionParams, type GetLotteryActivityParams, type GetMicDurationParams, type GetProductOrderParams, type GetProductSettingParams, type GetProductTagParams, type GetRelevanceParams, type GetRobotSettingParams, type GetRobotStatsParams, type GetRoleResponse, type GetSessionParams, type GetSessionStatsSummaryListParams, type GetSessionStatsSummaryListResponse, type GetShareParams, type GetSimpleChannelListParams, type GetSimpleChannelListResponse, type GetSubtitleParams, type GetTaskRewardParams, type GetTaskRewardStatsParams, type GetUserDurationsParams, type GetUserDurationsResponse, type GetUserInfoResponse, type GetVideoProduceParams, type GetVideoProducePptParams, type GetViewerDetailParams, type GetViewerRecordParams, type GetViewerUnionDetailParams, GetViewlogParams, GetViewlogResponse, type GetWatchConditionParams, type GetWatchLogDetailParams, type GetWatchLogListParams, type GetWatchLogListResponse, type GetWhiteListParams, type GetWhiteListResponse, type GiftItem, type GiftPageParams, type GlobalFooterSettings, type GlobalSwitchSettings, type GroupAddParams, type GroupAllocateLogContent, type GroupDeleteParams, type GroupInfo, type GroupListParams, type GroupPaginatedResponse, type GroupPaginationParams, type GroupResponse, type GroupUpdateParams, type GroupUserPackage, type GroupViewerAddParams, type GroupViewerDeleteParams, type GroupViewerInfo, type GroupViewerListParams, type HeadAdvertParams, type HeadAdvertType, HttpMethod, type IllegalNotifySettings, type ImageFrequency, type ImportExternalViewerParams, type InfoField$1 as InfoField, type InfoFieldType, type InteractionCallbackPayload, type InteractionEventDeleteParams, type InteractionEventSaveParams, type InteractionType, type InviteRankItem, type InviteSale, type InviteStats, type InviterCreateParams, type JsonArray, type JsonObject, type JsonValue, type KickedUser, type Label, type LanguageInfo, type LikeItem, type LikePageParams, type ListAllocateLogParams, type ListAllocateLogResponse, type ListAllocationLogsParams, type ListAllocationLogsResponse, type ListAnchorRelationsParams, type ListAnchorsParams, type ListAnchorsResponse, type ListAudioModerationRecordsParams, type ListAudioModerationRecordsResponse, type ListBillingDailyParams, type ListBillingDailyResponse, type ListBulletinsParams, type ListBulletinsResponse, type ListChannelBasicParams, type ListChildAccountsParams, type ListChildAccountsResponse, type ListContentGroupsParams, type ListCustomFieldsResponse, type ListDigitalHumansParams, type ListDigitalHumansResponse, type ListDistributeParams, type ListFollowViewersParams, type ListFollowViewersResponse, type ListGroupUserPackagesParams, type ListGroupUserPackagesResponse, type ListInviteSalesResponse, type ListLabelsResponse, type ListLotteryActivitiesParams, type ListMaterialCategoriesParams, type ListMaterialCategoriesResponse, type ListMaterialsParams, type ListMaterialsResponse, type ListOrganizationsParams, type ListOrganizationsResponse, type ListProductOrdersParams, type ListProductOrdersResponse, type ListProductTagsParams, type ListProductTagsResponse, type ListProductsParams, type ListProductsResponse, type ListQaParams, type ListQaResponse, type ListRobotsParams, type ListRobotsResponse, type ListRolesParams, type ListRolesResponse, type ListSessionsParams, type ListSessionsResponse, type ListVideoModerationResultsParams, type ListVideoModerationResultsResponse, type ListVideoProducePptsParams, type ListVideoProducePptsResponse, type ListVideoProducesParams, type ListVideoProducesResponse, type ListViewerLabelsResponse, type ListViewerRecordsParams, type ListViewerRecordsResponse, type LiveSessionInfo, type LiveStatusCallbackPayload, type LiveStatusItem, type LiveStatusType, type LiveSummary, type LiveSummaryParams, type LogoParams, type LogoPosition, type LotteryActivity, type LotteryListParams, type LotteryStatistics, MAX_DATE_RANGE_DAYS, type MarqueeTemplate, type MarqueeUrlParams, type Material, type MaterialCategory, type MaterialExtData, type MaterialInfo, type MaterialPaginatedResponse, type MaterialPaginationParams, type MemberStatusCallbackPayload, type MemberStatusType, type MicDurationParams, type MicDurationResponse$1 as MicDurationResponse, type ModerationLabel, type ModerationResultType, type MonitorStreamInfo, type MrConcurrencyDetailResponse, type Mutable, type NewScene, type NonNullable, type OptionalKeys, type Organization, type PageMRecordParams, type PageMRecordResponse, type PageSetting, type PaginatedForbidUserData, type PaginationOptions, type PaginationResponse, type PauseRobotParams, type Permission, type PlaybackCallbackPayload, type PlaybackItem, type PlaybackListParams, type PlaybackListResponse, type PlaybackSetting, type PlaybackVideoInfo, PolyVAPIError, type PolyVAPIErrorOptions, type PolyVAPIErrorResponse, PolyVClient, type PolyVClientConfig, PolyVError, PolyVErrorCode, type PolyVErrorOptions, PolyVValidationError, type PopularizationInfo, type PopularizationItem, type PopularizationListParams, PptStatus, type Primitive, type PrivacyParam, type Product, type ProductLinkType, type ProductOrder, type ProductPriceType, type ProductSetting, type ProductStatsItem, type ProductStatsPageParams, type ProductStatus, type ProductTag$1 as ProductTag, type ProductType, type PushCardParams, type PvShowEnableSettings, type Qa, type QaAnswer, type QueryPlaybackVideoInfoParams, type QueryWinnerViewerParams, type ReceiveListParams, type ReceiveListResponse, type RecordCallbackPayload, type RecordedFileItem, type RemoveInviteSaleParams, type RequestOptions, type RequireKeys, type ResolvedClientConfig, type Robot, type RobotSetting, type RobotStats, type Role, type RoleConfig, type RoleConfigTemplate, type RoleDetail, type RolePermission, type SaveRobotItem, type SearchCouponViewersParams, type SearchCouponViewersResponse, type SearchCouponsParams, type SearchCouponsResponse, type SendAdminMsgResponse, type SendCustomMessageEncodeParams, type SendCustomMessageParams, type SendSmsParams, type SessionInfo, type SessionRelevanceInfo, type SessionStatsSummary, type SetAuthTypeParams, type SetConcurrencesParams, type SetFlowParams, type SetLiveDurationsParams, type SetOrganizationsItem, type SetOrganizationsParams, type SetPlaybackCallbackParams, type SetPlaybackCallbackResponse, type SetPullBitrateParams, type SetRecordCallbackParams, type SetRecordCallbackResponse, type SetSpaceParams, type SetStreamCallbackParams, type SetStreamCallbackResponse, type SetUserChildrenLoginTokenParams, type SetUserChildrenLoginTokenResponse, type SetUserLoginTokenParams, type SetUserLoginTokenResponse, type SetWatchConditionParams, type SexType, type ShareSettings, type SignParams, type SignatureConfig, type SignatureInput, SignatureMethod, type SignatureOutput, type SignatureResult, type SortChannelProductParams, type SortOptions, type SsoConfigParams, type SsoConfigResponse, type SsoLoginParams, type SsoLoginResponse, type StatisticsCallbackPayload, type StopAdvertParams, type StopTaskRewardParams, type SubAuthType, type SubmitAcceptInfoParams, type SubtitleInfo$1 as SubtitleInfo, type SwitchGetResponse, type SwitchUpdateParams, type SwitchUpdateResponse, type TaskReward, type TaskRewardPageParams, type TaskRewardStats, type TaskRewardViewerDetail, type Template, type TtsVoice, type TtsVoiceInfo, TtsVoiceTag, type UnconditionalRule, type UpdateAccountParams, type UpdateAccountViewerParams, type UpdateAnchorParams, type UpdateAnchorStatusParams, type UpdateAudioModerationSettingParams, type UpdateAudioModerationSettingsParams, type UpdateAuthParams, type UpdateBannedUserParams, type UpdateBannedUserResponse, type UpdateBannedViewerParams, type UpdateBannedViewerResponse, type UpdateByRoleParams, type UpdateCallbackParams, type UpdateCardPushParams, type UpdateCategoryNameParams, type UpdateCategoryNameResponse, type UpdateCategoryRankParams, type UpdateCategoryRankResponse, type UpdateChannelConfigParams, type UpdateChannelParams, type UpdateChannelProductEnabledParams, type UpdateChannelProductParams, type UpdateChannelRequest, type UpdateChannelSubtitleParams, type UpdateChannelTemplateParams, type UpdateChatEnabledParams, type UpdateChildAccountParams, type UpdateCouponParams, type UpdateCouponsStatusBatchParams, type UpdateDecorateParams, type UpdateDistributeBatchParams, type UpdateDonateParams, type UpdateDonateTemplateParams, type UpdateGlobalFooterParams, type UpdateGlobalSwitchParams, type UpdateGroupUserPackageParams, type UpdateInviteSaleParams, type UpdateLabelParams, type UpdateLotteryActivityParams, type UpdateMarqueeTemplateParams, type UpdateMasterSwitchParams, type UpdatePageSettingParams, type UpdatePlaybackSettingParams, type UpdateProductParams, type UpdateProductSettingParams, type UpdateProductTagParams$1 as UpdateProductTagParams, type UpdatePvShowEnableParams, type UpdateRobotSettingParams, type UpdateRoleConfigTemplateParams, type UpdateRoleParams, type UpdateSessionParams, type UpdateShareParams, type UpdateSkinParams, type UpdateSubtitleParams, type UpdateSwitchParams, type UpdateTaskRewardParams, type UpdateVideoModerationSettingParams, type UpdateVideoModerationSettingsParams, type UpdateViewerLabelParams, type UpdateViewerRecordParams, type UpdateWhiteListParams, type UploadDocRequest, type UploadDocResponse, type UploadOptions, type UploadProgress, type UploadVideoProducePptParams, type UploadVideoProducePptResponse, type UserChannelBasicListParams, type UserChannelBasicListResponse, type CreateProductTagParams as UserCreateProductTagParams, type CreateProductTagResponse as UserCreateProductTagResponse, type DeleteProductTagParams as UserDeleteProductTagParams, type MicDurationResponse as UserMicDurationResponse, type UserPaginatedResponse, type UserPaginationParams, type UserPlaybackListParams, type UserPlaybackListResponse, type ProductTag as UserProductTag, type UpdateProductTagParams as UserUpdateProductTagParams, type ChannelDetail as V4ChannelDetail, type SubtitleInfo as V4ChannelSubtitleInfo, type V4PaginatedResponse, type V4PaginationParams, VERSION, type ValidationConstraints, type VersionConfig, type VideoModerationResultItem, type VideoModerationSetting, type VideoModerationSettings, type VideoModerationStrategy, type VideoProducePpt, VideoProduceStatus, type VideoProduceTask, type ViewerLabel, type ViewerLogoutParams, type ViewerLotteryWinParams, type ViewerLotteryWinResponse, type ViewerRecord, type ViewerSource, ViewlogItem, type WatchConditionResponse, type WatchFeedbackItem, type WatchFeedbackListParams, type WatchFeedbackListResponse, type WatchLogDetailResponse, type WatchLogItem, type WatchType, type WatermarkFontSize, type AuthSetting as WebAuthSetting, type InfoField as WebInfoField, type WeixinBookingStats, type WeixinBookingStatsParams, type WhiteListItem, type WinnerViewerInfo, type YNEnabled, type YNFlag$1 as YNFlag, type cleanChatParams, collectAll, createSignature, type delChatParams, generateSignature, generateTimestamp, getEnvironmentInfo, getErrorCodeCategory, getErrorMessage, getErrorMessageByCode, type getHistoryPageParams, isBrowser, isNode, isPolyVAPIError, isPolyVError, isPolyVErrorCode, isPolyVValidationError, isStartDateBeforeEndDate, isValidDateFormat, isWebWorker, paginate, type sendAdminMsgParams, sortParams, validateDateRange };
|
|
20905
|
+
export { type AccountViewerSettings, type AddAccountParams, type AddBadwordsParams, type AddBadwordsResponse, type AddBannedIpParams, type AddBannedIpResponse, type AddChannelCouponParams, type AddChannelLabelRefsParams, type AddChannelProductParams, type AddChannelProductResponse, type AddCustomFieldParams, type AddCustomFieldResponse, type AddCustomFieldValueParams, type AddInviteSaleParams, type AddInviteSaleResponse, type AddRobotModel, type AddViewerLabelParams, type AddWhiteListParams, type AllocateLogType, type AllocateOrigin, type AllocationLogItem, type AnchorDetail, type AnchorItem, type AnchorRelationItem, type AntiRecordModelType, type AntiRecordSettingsParams, type AntiRecordSettingsResponse, type AntiRecordShowMode, type AntiRecordType, type ApiErrorDetail, type ApiErrorResponse, type ApiResponse, type ApiResponseStatus, type ApiSuccessResponse, type ApiVersion, type ArrayElement, type AudioModerationRecordItem, type AudioModerationSetting, type AudioModerationSettings, type AudioModerationStrategy, type AuthConfig, type AuthSetting$1 as AuthSetting, type AuthType, type BaseCallbackPayload, type BasicCreateChannelParams, type BatchCheckinItem, type BatchCheckinParams, type BatchCreateChannelsParams, type BatchCreateChannelsResponse, type BatchCreatePopularizationParams, type BatchCreateVideoProducesItem, type BatchCreateVideoProducesParams, type BatchCreateVideoProducesResponse, type BatchDeleteRobotsParams, type BatchPublishSubtitleParams, type BatchSaveRobotsParams, type BatchSaveRobotsResponse, type BatchUpdateOrderStatusParams, type BillUseDetailItem, type BillingDailyItem, type BlacklistAddParams, type BlacklistDeleteParams, type BlacklistItem, type BlacklistPageParams, type BroadcastType, type BrowsersSummary, type BrowsersSummaryParams, type Bulletin, type CallbackOriginType, type CallbackPayload, type CallbackSettings, type CancelCardPushParams, type CardPushItem, type Category, type ChannelBasicInfo, type ChannelBasicListItem, type ChannelDetail$2 as ChannelDetail, type ChannelDetailListItem, type ChannelDetailParams, type ChannelDetailResponse, type ChannelIdParam, type ChannelModel, type ChannelScene$1 as ChannelScene, ChannelService, type ChannelSimpleListItem, type ChannelStreamType, type ChannelsParams, type ChannelsResponse, type ChatHistoryPageResponse, type ChatMessage, type ChildAccount, type ChildAccountRole, type ChildAccountStatus, type CleanNoticesParams, type ContentGroupItem, type ContentGroupType, type ContentGroupTypeExtended, type Coupon, type CouponRule, type CouponViewer, type CreateAnchorParams, type CreateCardPushParams, type CreateCardPushResponse, type CreateCategoryParams, type CreateCategoryResponse, type CreateChannelParams, type CreateChannelRequest, type CreateChannelResponse, type CreateChildAccountParams, type CreateCouponParams, type CreateDistributeBatchParams, type CreateGroupUserParams, type CreateGroupUserResponse, type CreateLabelParams, type CreateLabelResponse, type CreateLotteryActivityParams, type CreateLotteryActivityResponse, type CreateMrChannelParams, type CreateMrChannelResponse, type CreateOrganizationParams, type CreateOrganizationResponse, type CreateProductParams, type CreateProductResponse, type CreateProductTagParams$1 as CreateProductTagParams, type CreateProductTagResponse$1 as CreateProductTagResponse, type CreateRoleParams, type CreateSessionParams, type CreateSessionResponse, type CreateTaskRewardParams, type CreateTaskRewardResponse, type CreateViewerLabelParams, type CreateViewerLabelResponse, type CreateViewerNameGroupParams, type CreateViewerRecordParams, type CreateWaitLotteryParams, type CreateWaitLotteryResponse, type CryptoSource, type CustomField, type DailyViewStatistics, type DecorateSettings, type DeepPartial, type DeleteAccountsParams, type DeleteCardPushParams, type DeleteCategoryParams, type DeleteCategoryResponse, type DeleteChannelBannedParams, type DeleteChannelBannedResponse, type DeleteChannelProductParams, type DeleteChildAccountsParams, type DeleteCouponsBatchParams, type DeleteDistributeBatchParams, type DeleteLabelParams, type DeleteLotteryActivityParams, type DeleteMaterialsParams, type DeleteMaterialsResult, type DeleteOrganizationParams, type DeleteProductParams, type DeleteProductTagParams$1 as DeleteProductTagParams, type DeleteSessionParams, type DeleteTaskRewardParams, type DeleteUserBadwordParams, type DeleteUserBadwordResponse, type DeleteVideoProduceParams, type DeleteViewerLabelParams, type DeleteViewerLabelRefParams, type DeleteViewerRecordParams, type DeleteWhiteListParams, type DigitalHuman, type DigitalHumanInfo, type DigitalHumanOrganization, type DirectAuthViewerParams, type DiskVideoScriptDeleteParams, type DiskVideoScriptInfo, type DiskVideoScriptQueryParams, type DiskVideoScriptUploadParams, type DiskVideoScriptUploadResponse, type DistributeItem, type DistributeListResponse, type DistributeStatistic, type DocConvertStatusItem, type DocConvertType, type DocListResponse, type DocModel, type DocStatus, type DocType, type DonateSettings, type DonateTemplate, type DoubleTeacherType, ERROR_CATEGORIES, ERROR_MESSAGES, type EnvironmentInfo, type ErrorCategory, type ErrorCategoryName, ExportSessionStatsParams, ExportSessionStatsResponse, type ExternalViewerItem, type FollowViewer, type ForbidChannelKickUsersBody, type ForbidChannelKickUsersParams, type ForbidChannelKickUsersResponse, type ForbidChannelUnkickUsersBody, type ForbidChannelUnkickUsersParams, type ForbidChannelUnkickUsersResponse, type ForbidKickUsersBody, type ForbidKickUsersGlobalResponse, type ForbidKickUsersResponse, type ForbidUnkickUsersGlobalResponse, type ForbidUser, type FullReduceRule, type GeoSummary, type GeoSummaryParams, type GetAccountViewerParams, type GetBillUseDetailListParams, type GetBillUseDetailListResponse, type GetByRoleParams, type GetBySaleParams, type GetCategoryListResponse, type GetChannelBannedListParams, type GetChannelBannedListResponse, type GetChannelBannedUserListParams, type GetChannelBannedUserListResponse, type GetChannelKickedUserListParams, type GetChannelKickedUserListResponse, type GetChildAccountParams, type GetDailyViewStatisticsParams, type GetDailyViewStatisticsResponse, type GetDecorateParams, type GetDistributeStatisticParams, type GetDocListRequest, type GetDonateParams, type GetForbidUserListParams, type GetForbidUserListResponse, type GetIncomeDetailParams, type GetIncomeDetailResponse, type GetInviteRankParams, type GetInviteStatsParams, type GetLiveSessionParams, type GetLotteryActivityParams, type GetMicDurationParams, type GetProductOrderParams, type GetProductSettingParams, type GetProductTagParams, type GetRelevanceParams, type GetRobotSettingParams, type GetRobotStatsParams, type GetRoleResponse, type GetSessionParams, type GetSessionStatsSummaryListParams, type GetSessionStatsSummaryListResponse, type GetShareParams, type GetSimpleChannelListParams, type GetSimpleChannelListResponse, type GetSubtitleParams, type GetTaskRewardParams, type GetTaskRewardStatsParams, type GetUserDurationsParams, type GetUserDurationsResponse, type GetUserInfoResponse, type GetVideoProduceParams, type GetVideoProducePptParams, type GetViewerDetailParams, type GetViewerRecordParams, type GetViewerUnionDetailParams, GetViewlogParams, GetViewlogResponse, type GetWatchConditionParams, type GetWatchLogDetailParams, type GetWatchLogListParams, type GetWatchLogListResponse, type GetWhiteListParams, type GetWhiteListResponse, type GiftItem, type GiftPageParams, type GlobalFooterSettings, type GlobalSwitchSettings, type GroupAddParams, type GroupAllocateLogContent, type GroupDeleteParams, type GroupInfo, type GroupListParams, type GroupPaginatedResponse, type GroupPaginationParams, type GroupResponse, type GroupUpdateParams, type GroupUserPackage, type GroupViewerAddParams, type GroupViewerDeleteParams, type GroupViewerInfo, type GroupViewerListParams, type HeadAdvertParams, type HeadAdvertType, HttpMethod, type IllegalNotifySettings, type ImageFrequency, type ImportExternalViewerParams, type InfoField$1 as InfoField, type InfoFieldType, type InteractionCallbackPayload, type InteractionEventDeleteParams, type InteractionEventSaveParams, type InteractionType, type InviteRankItem, type InviteSale, type InviteStats, type InviterCreateParams, type JsonArray, type JsonObject, type JsonValue, type KickedUser, type Label, type LanguageInfo, type LikeItem, type LikePageParams, type ListAllocateLogParams, type ListAllocateLogResponse, type ListAllocationLogsParams, type ListAllocationLogsResponse, type ListAnchorRelationsParams, type ListAnchorsParams, type ListAnchorsResponse, type ListAudioModerationRecordsParams, type ListAudioModerationRecordsResponse, type ListBillingDailyParams, type ListBillingDailyResponse, type ListBulletinsParams, type ListBulletinsResponse, type ListCardPushesParams, type ListCardPushesResponse, type ListChannelBasicParams, type ListChannelProductTagsResponse, type ListChildAccountsParams, type ListChildAccountsResponse, type ListContentGroupsParams, type ListCustomFieldsResponse, type ListDigitalHumansParams, type ListDigitalHumansResponse, type ListDistributeParams, type ListFollowViewersParams, type ListFollowViewersResponse, type ListGroupUserPackagesParams, type ListGroupUserPackagesResponse, type ListInviteSalesResponse, type ListLabelsResponse, type ListLotteryActivitiesParams, type ListLotteryActivitiesResponse, type ListMaterialCategoriesParams, type ListMaterialCategoriesResponse, type ListMaterialsParams, type ListMaterialsResponse, type ListOrganizationsParams, type ListOrganizationsResponse, type ListProductOrdersParams, type ListProductOrdersResponse, type ListProductTagsParams, type ListProductTagsResponse, type ListProductsParams, type ListProductsResponse, type ListQaParams, type ListQaResponse, type ListRobotsParams, type ListRobotsResponse, type ListRolesParams, type ListRolesResponse, type ListSessionsParams, type ListSessionsResponse, type ListVideoModerationResultsParams, type ListVideoModerationResultsResponse, type ListVideoProducePptsParams, type ListVideoProducePptsResponse, type ListVideoProducesParams, type ListVideoProducesResponse, type ListViewerLabelsResponse, type ListViewerRecordsParams, type ListViewerRecordsResponse, type LiveSessionInfo, type LiveStatusCallbackPayload, type LiveStatusItem, type LiveStatusType, type LiveSummary, type LiveSummaryParams, type LogoParams, type LogoPosition, type LotteryActivity, type LotteryListParams, type LotteryStatistics, MAX_DATE_RANGE_DAYS, type MarqueeTemplate, type MarqueeUrlParams, type Material, type MaterialCategory, type MaterialExtData, type MaterialInfo, type MaterialPaginatedResponse, type MaterialPaginationParams, type MemberStatusCallbackPayload, type MemberStatusType, type MicDurationParams, type MicDurationResponse$1 as MicDurationResponse, type ModerationLabel, type ModerationResultType, type MonitorStreamInfo, type MrConcurrencyDetailResponse, type Mutable, type NewScene, type NonNullable, type OptionalKeys, type Organization, type PageMRecordParams, type PageMRecordResponse, type PageSetting, type PaginatedForbidUserData, type PaginationOptions, type PaginationResponse, type PauseRobotParams, type Permission, type PlaybackCallbackPayload, type PlaybackItem, type PlaybackListParams, type PlaybackListResponse, type PlaybackSetting, type PlaybackVideoInfo, PolyVAPIError, type PolyVAPIErrorOptions, type PolyVAPIErrorResponse, PolyVClient, type PolyVClientConfig, PolyVError, PolyVErrorCode, type PolyVErrorOptions, PolyVValidationError, type PopularizationInfo, type PopularizationItem, type PopularizationListParams, PptStatus, type Primitive, type PrivacyParam, type Product, type ProductLinkType, type ProductOrder, type ProductPriceType, type ProductSetting, type ProductStatsItem, type ProductStatsPageParams, type ProductStatus, type ProductTag$1 as ProductTag, type ProductType, type PushCardParams, type PvShowEnableSettings, type Qa, type QaAnswer, type QueryPlaybackVideoInfoParams, type QueryWinnerViewerParams, type ReceiveListParams, type ReceiveListResponse, type RecordCallbackPayload, type RecordedFileItem, type RemoveInviteSaleParams, type RequestOptions, type RequireKeys, type ResolvedClientConfig, type Robot, type RobotSetting, type RobotStats, type Role, type RoleConfig, type RoleConfigTemplate, type RoleDetail, type RolePermission, type SaveRobotItem, type SearchCouponViewersParams, type SearchCouponViewersResponse, type SearchCouponsParams, type SearchCouponsResponse, type SendAdminMsgResponse, type SendCustomMessageEncodeParams, type SendCustomMessageParams, type SendSmsParams, type SessionInfo, type SessionRelevanceInfo, type SessionStatsSummary, type SetAuthTypeParams, type SetConcurrencesParams, type SetFlowParams, type SetLiveDurationsParams, type SetOrganizationsItem, type SetOrganizationsParams, type SetPlaybackCallbackParams, type SetPlaybackCallbackResponse, type SetPullBitrateParams, type SetRecordCallbackParams, type SetRecordCallbackResponse, type SetSpaceParams, type SetStreamCallbackParams, type SetStreamCallbackResponse, type SetUserChildrenLoginTokenParams, type SetUserChildrenLoginTokenResponse, type SetUserLoginTokenParams, type SetUserLoginTokenResponse, type SetWatchConditionParams, type SexType, type ShareSettings, type SignParams, type SignatureConfig, type SignatureInput, SignatureMethod, type SignatureOutput, type SignatureResult, type SortChannelProductParams, type SortOptions, type SsoConfigParams, type SsoConfigResponse, type SsoLoginParams, type SsoLoginResponse, type StatisticsCallbackPayload, type StopAdvertParams, type StopTaskRewardParams, type SubAuthType, type SubmitAcceptInfoParams, type SubtitleInfo$1 as SubtitleInfo, type SwitchGetResponse, type SwitchUpdateParams, type SwitchUpdateResponse, type TaskReward, type TaskRewardPageParams, type TaskRewardStats, type TaskRewardViewerDetail, type Template, type TtsVoice, type TtsVoiceInfo, TtsVoiceTag, type UnconditionalRule, type UpdateAccountParams, type UpdateAccountViewerParams, type UpdateAnchorParams, type UpdateAnchorStatusParams, type UpdateAudioModerationSettingParams, type UpdateAudioModerationSettingsParams, type UpdateAuthParams, type UpdateBannedUserParams, type UpdateBannedUserResponse, type UpdateBannedViewerParams, type UpdateBannedViewerResponse, type UpdateByRoleParams, type UpdateCallbackParams, type UpdateCardPushParams, type UpdateCategoryNameParams, type UpdateCategoryNameResponse, type UpdateCategoryRankParams, type UpdateCategoryRankResponse, type UpdateChannelConfigParams, type UpdateChannelParams, type UpdateChannelProductEnabledParams, type UpdateChannelProductParams, type UpdateChannelRequest, type UpdateChannelSubtitleParams, type UpdateChannelTemplateParams, type UpdateChatEnabledParams, type UpdateChildAccountParams, type UpdateCouponParams, type UpdateCouponsStatusBatchParams, type UpdateDecorateParams, type UpdateDistributeBatchParams, type UpdateDonateParams, type UpdateDonateTemplateParams, type UpdateGlobalFooterParams, type UpdateGlobalSwitchParams, type UpdateGroupUserPackageParams, type UpdateInviteSaleParams, type UpdateLabelParams, type UpdateLotteryActivityParams, type UpdateMarqueeTemplateParams, type UpdateMasterSwitchParams, type UpdatePageSettingParams, type UpdatePlaybackSettingParams, type UpdateProductParams, type UpdateProductSettingParams, type UpdateProductTagParams$1 as UpdateProductTagParams, type UpdatePvShowEnableParams, type UpdateRobotSettingParams, type UpdateRoleConfigTemplateParams, type UpdateRoleParams, type UpdateSessionParams, type UpdateShareParams, type UpdateSkinParams, type UpdateSubtitleParams, type UpdateSwitchParams, type UpdateTaskRewardParams, type UpdateVideoModerationSettingParams, type UpdateVideoModerationSettingsParams, type UpdateViewerLabelParams, type UpdateViewerRecordParams, type UpdateWhiteListParams, type UploadDocRequest, type UploadDocResponse, type UploadOptions, type UploadProgress, type UploadVideoProducePptParams, type UploadVideoProducePptResponse, type UserChannelBasicListParams, type UserChannelBasicListResponse, type CreateProductTagParams as UserCreateProductTagParams, type CreateProductTagResponse as UserCreateProductTagResponse, type DeleteProductTagParams as UserDeleteProductTagParams, type MicDurationResponse as UserMicDurationResponse, type UserPaginatedResponse, type UserPaginationParams, type UserPlaybackListParams, type UserPlaybackListResponse, type ProductTag as UserProductTag, type UpdateProductTagParams as UserUpdateProductTagParams, type ChannelDetail as V4ChannelDetail, type SubtitleInfo as V4ChannelSubtitleInfo, type V4PaginatedResponse, type V4PaginationParams, VERSION, type ValidationConstraints, type VersionConfig, type VideoModerationResultItem, type VideoModerationSetting, type VideoModerationSettings, type VideoModerationStrategy, type VideoProducePpt, VideoProduceStatus, type VideoProduceTask, type ViewerLabel, type ViewerLogoutParams, type ViewerLotteryWinParams, type ViewerLotteryWinResponse, type ViewerRecord, type ViewerSource, ViewlogItem, type WatchConditionResponse, type WatchFeedbackItem, type WatchFeedbackListParams, type WatchFeedbackListResponse, type WatchLogDetailResponse, type WatchLogItem, type WatchType, type WatermarkFontSize, type AuthSetting as WebAuthSetting, type InfoField as WebInfoField, type WeixinBookingStats, type WeixinBookingStatsParams, type WhiteListItem, type WinnerViewerInfo, type YNEnabled, type YNFlag$1 as YNFlag, type cleanChatParams, collectAll, createSignature, type delChatParams, generateSignature, generateTimestamp, getEnvironmentInfo, getErrorCodeCategory, getErrorMessage, getErrorMessageByCode, type getHistoryPageParams, isBrowser, isNode, isPolyVAPIError, isPolyVError, isPolyVErrorCode, isPolyVValidationError, isStartDateBeforeEndDate, isValidDateFormat, isWebWorker, paginate, type sendAdminMsgParams, sortParams, validateDateRange };
|