polyv-live-api-sdk 1.0.12 → 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/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 SwitchGetResponse {
2803
- config: SwitchConfig;
2802
+ interface SwitchGetParams {
2803
+ /** Channel ID. Omit to query global switch settings. */
2804
+ channelId?: string;
2804
2805
  }
2806
+ interface SwitchConfigItem {
2807
+ type: string;
2808
+ enabled: 'Y' | 'N';
2809
+ }
2810
+ type SwitchGetResponse = SwitchConfigItem[] | {
2811
+ config: SwitchConfig;
2812
+ };
2805
2813
  interface SwitchUpdateParams {
2806
- param: string;
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: YNFlag;
4455
+ donateEnabled?: YNFlag;
4456
+ donateGiftEnabled?: YNFlag;
4443
4457
  /** Donate tips */
4444
- donateTips: string;
4458
+ donateTips?: string;
4445
4459
  /** Donate amounts */
4446
- donateAmounts: number[];
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,6 +4667,17 @@ 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
  */
@@ -4640,336 +4689,186 @@ interface LotteryActivity {
4640
4689
  /** Activity name */
4641
4690
  activityName: string;
4642
4691
  /** Lottery condition type */
4643
- lotteryCondition: LotteryConditionType;
4692
+ lotteryCondition: 'none' | 'invite' | 'duration' | 'comment' | 'question' | string;
4644
4693
  /** Status */
4645
4694
  status?: string | null;
4646
4695
  /** Winner count */
4647
4696
  amount: number;
4648
4697
  /** Prize name */
4649
4698
  prizeName: string;
4650
- /** Hide winner count */
4651
4699
  hiddenWinnerAmount?: YNFlag;
4652
- /** Lottery participant range */
4653
- lotteryRange?: LotteryRange;
4654
- /** Custom group info */
4700
+ lotteryRange?: 'all' | 'customGroup' | string;
4655
4701
  customGroup?: Array<Record<string, unknown>>;
4656
- /** Custom group lottery type */
4657
- customGroupLotteryType?: CustomGroupLotteryType;
4658
- /** Per-group winner count */
4702
+ customGroupIds?: Array<string | number>;
4703
+ customGroupLotteryType?: 'average' | 'random' | string;
4659
4704
  customGroupLotteryAmount?: number | null;
4660
- /** Hide attendee count */
4661
4705
  hiddenAttendeeNumber?: YNFlag;
4662
- /** Allow repeat wins */
4663
4706
  repeatWinEnabled?: YNFlag;
4664
- /** Whether prize receive info is enabled */
4665
4707
  receiveEnabled?: YNFlag;
4666
- /** Prize receive info fields */
4667
4708
  receiveInfo?: LotteryReceiveInfo[] | null;
4668
- /** Prize image */
4669
4709
  thumbnail?: string | null;
4670
- /** Activity duration */
4671
4710
  activityDuration?: string | number | null;
4672
- /** Activity duration unit */
4673
- activityDurationType?: ActivityDurationType | null;
4674
- /** Invite type */
4675
- inviteType?: InviteType | null;
4676
- /** External invite list URL */
4711
+ activityDurationType?: 'second' | 'minute' | 'hour' | string | null;
4712
+ inviteType?: 'poster' | 'external' | string | null;
4677
4713
  externalListLink?: string | null;
4678
- /** External invite count URL */
4679
4714
  externalInviteNumLink?: string | null;
4680
- /** Invite count */
4681
4715
  inviteNum?: number | null;
4682
- /** Watch duration */
4683
4716
  duration?: number | null;
4684
- /** Comment keyword */
4685
4717
  comment?: string | null;
4686
- /** Prize accept type */
4687
- acceptType?: AcceptType | null;
4688
- /** Prize receive form fields */
4718
+ acceptType?: 'form' | 'link' | 'qrCode' | string | null;
4689
4719
  formInfo?: LotteryReceiveInfo[] | null;
4690
- /** Prize link */
4691
4720
  prizeUrl?: string | null;
4692
- /** Prize QR code URL */
4693
4721
  qrCode?: string | null;
4694
- /** Prize QR code tips */
4695
4722
  qrCodeTips?: string | null;
4696
- /** Discount price */
4697
4723
  realPrice?: number | null;
4698
- /** Original price */
4699
4724
  price?: number | null;
4700
- /** Question lottery prize info */
4701
4725
  prizeInfo?: LotteryPrizeInfo[] | null;
4702
- /** Question group ID */
4703
4726
  questionGroupId?: number | null;
4704
- /** Answer duration per question */
4705
4727
  perAnswerDuration?: number | null;
4706
- /** Winners must be online when drawing */
4707
4728
  lotteryOnlineEnabled?: YNFlag;
4708
- /** Question lottery answer type */
4709
- answerType?: AnswerType;
4710
- /** Show winner code */
4729
+ answerType?: 'pushQuestion' | 'autonomyAnswer' | string;
4711
4730
  showWinnerCode?: YNFlag;
4712
- /** Show winners */
4713
4731
  showWinners?: YNFlag;
4714
- }
4715
- /**
4716
- * Lottery condition type
4717
- */
4718
- type LotteryConditionType = 'none' | 'invite' | 'duration' | 'comment' | 'question';
4719
- /**
4720
- * Lottery participant range
4721
- */
4722
- type LotteryRange = 'all' | 'customGroup';
4723
- /**
4724
- * Custom group lottery type
4725
- */
4726
- type CustomGroupLotteryType = 'average' | 'random';
4727
- /**
4728
- * Activity duration unit
4729
- */
4730
- type ActivityDurationType = 'second' | 'minute' | 'hour';
4731
- /**
4732
- * Invite type
4733
- */
4734
- type InviteType = 'poster' | 'external';
4735
- /**
4736
- * Prize accept type
4737
- */
4738
- type AcceptType = 'form' | 'link' | 'qrCode';
4739
- /**
4740
- * Question lottery answer type
4741
- */
4742
- type AnswerType = 'pushQuestion' | 'autonomyAnswer';
4743
- /**
4744
- * Prize receive info field
4745
- */
4746
- interface LotteryReceiveInfo {
4747
- /** Field type */
4748
- type?: 'userName' | 'userPhone' | 'custom';
4749
- /** Field label */
4750
- field: string;
4751
- /** Field tips */
4752
- tips: string;
4753
- /** Whether field is required */
4754
- required?: boolean;
4755
- }
4756
- /**
4757
- * Question lottery prize info
4758
- */
4759
- interface LotteryPrizeInfo {
4760
- /** Prize item name */
4761
- prizeItem: string;
4762
- /** Correct answer count */
4763
- correctAnswerCount: number;
4764
- /** Prize name */
4765
- prizeName: string;
4766
- /** Prize image */
4767
- thumbnail?: string;
4768
- /** Discount price */
4769
- realPrice?: number;
4770
- /** Original price */
4771
- price?: number;
4772
- /** Prize accept type */
4773
- acceptType: AcceptType;
4774
- /** Prize receive form fields */
4775
- formInfo?: LotteryReceiveInfo[];
4776
- /** Prize link */
4777
- prizeUrl?: string;
4778
- /** Prize QR code URL */
4779
- qrCode?: string;
4780
- /** Prize QR code tips */
4781
- qrCodeTips?: string;
4782
- /** Winner count */
4783
- amount: number;
4784
- /** Hide winner count */
4785
- hiddenWinnerAmount?: YNFlag;
4732
+ [key: string]: unknown;
4786
4733
  }
4787
4734
  /**
4788
4735
  * Parameters for creating lottery activity
4789
4736
  */
4790
4737
  interface LotteryActivityCreateParams {
4791
4738
  /** Channel ID */
4792
- channelId: string;
4739
+ channelId: string | number;
4793
4740
  /** Activity name */
4794
4741
  activityName: string;
4795
4742
  /** Lottery condition type */
4796
- lotteryCondition: LotteryConditionType;
4743
+ lotteryCondition: 'none' | 'invite' | 'duration' | 'comment' | 'question' | string;
4797
4744
  /** Winner count */
4798
4745
  amount: number;
4799
- /** Hide winner count */
4746
+ /** Prize name */
4747
+ prizeName: string;
4800
4748
  hiddenWinnerAmount?: YNFlag;
4801
- /** Lottery participant range */
4802
- lotteryRange?: LotteryRange;
4803
- /** Custom group IDs */
4804
- customGroupIds?: number[];
4805
- /** Custom group lottery type */
4806
- customGroupLotteryType?: CustomGroupLotteryType;
4807
- /** Per-group winner count */
4749
+ lotteryRange?: 'all' | 'customGroup' | string;
4750
+ customGroupIds?: Array<string | number>;
4751
+ customGroupLotteryType?: 'average' | 'random' | string;
4808
4752
  customGroupLotteryAmount?: number;
4809
- /** Hide attendee count */
4810
4753
  hiddenAttendeeNumber?: YNFlag;
4811
- /** Allow repeat wins */
4812
4754
  repeatWinEnabled?: YNFlag;
4813
- /** Whether prize receive info is enabled */
4814
4755
  receiveEnabled?: YNFlag;
4815
- /** Prize receive info fields */
4816
4756
  receiveInfo?: LotteryReceiveInfo[];
4817
- /** Prize name */
4818
- prizeName: string;
4819
- /** Prize image */
4820
4757
  thumbnail?: string;
4821
- /** Activity duration */
4822
- activityDuration?: string;
4823
- /** Activity duration unit */
4824
- activityDurationType?: ActivityDurationType;
4825
- /** Invite type */
4826
- inviteType?: InviteType;
4827
- /** External invite list URL */
4758
+ activityDuration?: string | number;
4759
+ activityDurationType?: 'second' | 'minute' | 'hour' | string;
4760
+ inviteType?: 'poster' | 'external' | string;
4828
4761
  externalListLink?: string;
4829
- /** External invite count URL */
4830
4762
  externalInviteNumLink?: string;
4831
- /** Invite count */
4832
4763
  inviteNum?: number;
4833
- /** Watch duration */
4834
4764
  duration?: number;
4835
- /** Comment keyword */
4836
4765
  comment?: string;
4837
- /** Prize accept type */
4838
- acceptType?: AcceptType;
4839
- /** Prize receive form fields */
4766
+ acceptType?: 'form' | 'link' | 'qrCode' | string;
4840
4767
  formInfo?: LotteryReceiveInfo[];
4841
- /** Prize link */
4842
4768
  prizeUrl?: string;
4843
- /** Prize QR code URL */
4844
4769
  qrCode?: string;
4845
- /** Prize QR code tips */
4846
4770
  qrCodeTips?: string;
4847
- /** Discount price */
4848
4771
  realPrice?: number;
4849
- /** Original price */
4850
4772
  price?: number;
4851
- /** Question lottery prize info */
4852
4773
  prizeInfo?: LotteryPrizeInfo[];
4853
- /** Question group ID */
4854
4774
  questionGroupId?: number;
4855
- /** Answer duration per question */
4856
4775
  perAnswerDuration?: number;
4857
- /** Winners must be online when drawing */
4858
4776
  lotteryOnlineEnabled?: YNFlag;
4859
- /** Question lottery answer type */
4860
- answerType?: AnswerType;
4861
- /** Show winner code */
4777
+ answerType?: 'pushQuestion' | 'autonomyAnswer' | string;
4862
4778
  showWinnerCode?: YNFlag;
4863
- /** Show winners */
4864
4779
  showWinners?: YNFlag;
4865
4780
  }
4866
4781
  /**
4867
4782
  * Response for creating lottery activity
4868
4783
  */
4869
- type LotteryActivityCreateResponse = LotteryActivity;
4784
+ interface LotteryActivityCreateResponse {
4785
+ /** Activity ID */
4786
+ id: number;
4787
+ }
4870
4788
  /**
4871
4789
  * Parameters for getting lottery activity
4872
4790
  */
4873
4791
  interface LotteryActivityGetParams {
4874
4792
  /** Channel ID */
4875
- channelId: string;
4793
+ channelId: string | number;
4876
4794
  /** Activity ID */
4877
4795
  id: string | number;
4878
4796
  }
4879
4797
  /**
4880
4798
  * Parameters for listing lottery activities
4881
4799
  */
4882
- interface LotteryActivityListParams {
4800
+ interface LotteryActivityListParams extends V4PaginationParams {
4883
4801
  /** Channel ID */
4884
- channelId: string;
4802
+ channelId: string | number;
4803
+ }
4804
+ /**
4805
+ * Response for listing lottery activities
4806
+ */
4807
+ interface LotteryActivityListResponse {
4885
4808
  /** Page number */
4886
- pageNumber?: number;
4809
+ pageNumber: number;
4887
4810
  /** Page size */
4888
- pageSize?: number;
4811
+ pageSize: number;
4812
+ /** Total items */
4813
+ totalItems: number;
4814
+ /** Contents */
4815
+ contents: LotteryActivity[];
4889
4816
  }
4890
4817
  /**
4891
4818
  * Parameters for updating lottery activity
4892
4819
  */
4893
4820
  interface LotteryActivityUpdateParams {
4894
4821
  /** Channel ID */
4895
- channelId: string;
4822
+ channelId: string | number;
4896
4823
  /** Activity ID */
4897
4824
  id: string | number;
4898
4825
  /** Activity name */
4899
- activityName?: string;
4826
+ activityName: string;
4900
4827
  /** Lottery condition type */
4901
- lotteryCondition?: LotteryConditionType;
4828
+ lotteryCondition: 'none' | 'invite' | 'duration' | 'comment' | 'question' | string;
4902
4829
  /** Winner count */
4903
- amount?: number;
4904
- /** Hide winner count */
4830
+ amount: number;
4831
+ /** Prize name */
4832
+ prizeName: string;
4905
4833
  hiddenWinnerAmount?: YNFlag;
4906
- /** Lottery participant range */
4907
- lotteryRange?: LotteryRange;
4908
- /** Custom group IDs */
4909
- customGroupIds?: number[];
4910
- /** Custom group lottery type */
4911
- customGroupLotteryType?: CustomGroupLotteryType;
4912
- /** Per-group winner count */
4834
+ lotteryRange?: 'all' | 'customGroup' | string;
4835
+ customGroupIds?: Array<string | number>;
4836
+ customGroupLotteryType?: 'average' | 'random' | string;
4913
4837
  customGroupLotteryAmount?: number;
4914
- /** Hide attendee count */
4915
4838
  hiddenAttendeeNumber?: YNFlag;
4916
- /** Allow repeat wins */
4917
4839
  repeatWinEnabled?: YNFlag;
4918
- /** Whether prize receive info is enabled */
4919
4840
  receiveEnabled?: YNFlag;
4920
- /** Prize receive info fields */
4921
4841
  receiveInfo?: LotteryReceiveInfo[];
4922
- /** Prize name */
4923
- prizeName?: string;
4924
- /** Prize image */
4925
4842
  thumbnail?: string;
4926
- /** Activity duration */
4927
- activityDuration?: string;
4928
- /** Activity duration unit */
4929
- activityDurationType?: ActivityDurationType;
4930
- /** Invite type */
4931
- inviteType?: InviteType;
4932
- /** External invite list URL */
4843
+ activityDuration?: string | number;
4844
+ activityDurationType?: 'second' | 'minute' | 'hour' | string;
4845
+ inviteType?: 'poster' | 'external' | string;
4933
4846
  externalListLink?: string;
4934
- /** External invite count URL */
4935
4847
  externalInviteNumLink?: string;
4936
- /** Invite count */
4937
4848
  inviteNum?: number;
4938
- /** Watch duration */
4939
4849
  duration?: number;
4940
- /** Comment keyword */
4941
4850
  comment?: string;
4942
- /** Prize accept type */
4943
- acceptType?: AcceptType;
4944
- /** Prize receive form fields */
4851
+ acceptType?: 'form' | 'link' | 'qrCode' | string;
4945
4852
  formInfo?: LotteryReceiveInfo[];
4946
- /** Prize link */
4947
4853
  prizeUrl?: string;
4948
- /** Prize QR code URL */
4949
4854
  qrCode?: string;
4950
- /** Prize QR code tips */
4951
4855
  qrCodeTips?: string;
4952
- /** Discount price */
4953
4856
  realPrice?: number;
4954
- /** Original price */
4955
4857
  price?: number;
4956
- /** Question lottery prize info */
4957
4858
  prizeInfo?: LotteryPrizeInfo[];
4958
- /** Question group ID */
4959
4859
  questionGroupId?: number;
4960
- /** Answer duration per question */
4961
4860
  perAnswerDuration?: number;
4962
- /** Winners must be online when drawing */
4963
4861
  lotteryOnlineEnabled?: YNFlag;
4964
- /** Question lottery answer type */
4965
- answerType?: AnswerType;
4862
+ answerType?: 'pushQuestion' | 'autonomyAnswer' | string;
4863
+ showWinnerCode?: YNFlag;
4864
+ showWinners?: YNFlag;
4966
4865
  }
4967
4866
  /**
4968
4867
  * Parameters for deleting lottery activity
4969
4868
  */
4970
4869
  interface LotteryActivityDeleteParams {
4971
4870
  /** Channel ID */
4972
- channelId: string;
4871
+ channelId: string | number;
4973
4872
  /** Activity ID */
4974
4873
  id: string | number;
4975
4874
  }
@@ -5212,126 +5111,137 @@ interface DiskVideoScriptDeleteParams {
5212
5111
  * Share settings
5213
5112
  */
5214
5113
  interface ShareSettings {
5215
- /** Channel ID */
5216
- channelId: string;
5217
- /** Share title */
5218
- title: string;
5219
- /** Share description */
5220
- description: string;
5221
- /** Share image URL */
5222
- imageUrl: string;
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;
5223
5123
  }
5224
5124
  /**
5225
5125
  * Parameters for getting share settings
5226
5126
  */
5227
5127
  interface ShareGetParams {
5228
5128
  /** Channel ID */
5229
- channelId: string;
5129
+ channelId: string | number;
5230
5130
  }
5231
5131
  /**
5232
5132
  * Parameters for updating share settings
5233
5133
  */
5234
5134
  interface ShareUpdateParams {
5235
5135
  /** Channel ID */
5236
- channelId: string;
5237
- /** Share title */
5238
- title?: string;
5239
- /** Share description */
5240
- description?: string;
5241
- /** Share image URL */
5242
- imageUrl?: string;
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;
5243
5145
  }
5244
5146
  /**
5245
5147
  * Card push info
5246
5148
  */
5247
5149
  interface CardPushInfo {
5248
- /** Card push ID */
5249
- id: number;
5250
- /** Channel ID */
5251
- channelId: string;
5252
- /** Card title */
5253
- title: string;
5254
- /** Card content */
5255
- content: string;
5256
- /** Card type */
5257
- type: string;
5258
- /** Card URL */
5259
- url: string;
5260
- /** Created time */
5261
- 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;
5262
5159
  }
5263
5160
  /**
5264
5161
  * Parameters for creating card push
5265
5162
  */
5266
5163
  interface CardPushCreateParams {
5267
5164
  /** Channel ID */
5268
- channelId: string;
5269
- /** Card title */
5165
+ channelId: string | number;
5166
+ cardType?: 'common' | 'qrCode' | string;
5167
+ imageType: 'giftbox' | 'redpack' | 'custom' | 'weixinWork' | string;
5270
5168
  title: string;
5271
- /** Card content */
5272
- content: string;
5273
- /** Card type */
5274
- type: string;
5275
- /** Card URL */
5276
- url?: string;
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;
5277
5190
  }
5278
5191
  /**
5279
5192
  * Response for creating card push
5280
5193
  */
5281
5194
  interface CardPushCreateResponse {
5282
5195
  /** Card push ID */
5283
- id: number;
5284
- }
5285
- /**
5286
- * Parameters for getting card push
5287
- */
5288
- interface CardPushGetParams {
5289
- /** Channel ID */
5290
- channelId: string;
5291
- /** Card push ID */
5292
- id: number;
5196
+ cardPushId?: number | string;
5197
+ [key: string]: unknown;
5293
5198
  }
5294
5199
  /**
5295
5200
  * Parameters for updating card push
5296
5201
  */
5297
5202
  interface CardPushUpdateParams {
5298
5203
  /** Channel ID */
5299
- channelId: string;
5204
+ channelId: string | number;
5300
5205
  /** Card push ID */
5301
- id: number;
5302
- /** Card title */
5206
+ cardPushId: string | number;
5303
5207
  title?: string;
5304
- /** Card content */
5305
- content?: string;
5306
- /** Card URL */
5307
- url?: string;
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;
5308
5218
  }
5309
5219
  /**
5310
5220
  * Parameters for deleting card push
5311
5221
  */
5312
5222
  interface CardPushDeleteParams {
5313
5223
  /** Channel ID */
5314
- channelId: string;
5224
+ channelId: string | number;
5315
5225
  /** Card push ID */
5316
- id: number;
5226
+ cardPushId: string | number;
5317
5227
  }
5318
5228
  /**
5319
5229
  * Parameters for pushing card
5320
5230
  */
5321
5231
  interface CardPushPushParams {
5322
5232
  /** Channel ID */
5323
- channelId: string;
5233
+ channelId: string | number;
5324
5234
  /** Card push ID */
5325
- id: number;
5235
+ cardPushId: string | number;
5326
5236
  }
5327
5237
  /**
5328
5238
  * Parameters for canceling card push
5329
5239
  */
5330
5240
  interface CardPushCancelPushParams {
5331
5241
  /** Channel ID */
5332
- channelId: string;
5242
+ channelId: string | number;
5333
5243
  /** Card push ID */
5334
- id: number;
5244
+ cardPushId: string | number;
5335
5245
  }
5336
5246
  /**
5337
5247
  * Parameters for browsers summary
@@ -5552,67 +5462,64 @@ interface ProductStats {
5552
5462
  */
5553
5463
  interface ProductTag$1 {
5554
5464
  /** Tag ID */
5555
- tagId: string;
5465
+ id?: number | string;
5556
5466
  /** Tag name */
5557
- name: string;
5558
- /** Tag color */
5559
- color: string;
5467
+ name?: string;
5468
+ [key: string]: unknown;
5560
5469
  }
5561
5470
  /**
5562
5471
  * Parameters for creating product tag
5563
5472
  */
5564
5473
  interface ProductTagCreateParams {
5565
5474
  /** Channel ID */
5566
- channelId: string;
5475
+ channelId: string | number;
5567
5476
  /** Tag name */
5568
5477
  name: string;
5569
- /** Tag color */
5570
- color?: string;
5571
5478
  }
5572
5479
  /**
5573
5480
  * Response for creating product tag
5574
5481
  */
5575
5482
  interface ProductTagCreateResponse {
5576
5483
  /** Tag ID */
5577
- tagId: string;
5484
+ id?: number | string;
5485
+ name?: string;
5486
+ [key: string]: unknown;
5578
5487
  }
5579
5488
  /**
5580
5489
  * Parameters for getting product tag
5581
5490
  */
5582
5491
  interface ProductTagGetParams {
5583
5492
  /** Channel ID */
5584
- channelId: string;
5493
+ channelId: string | number;
5585
5494
  /** Tag ID */
5586
- tagId: string;
5495
+ id: string | number;
5587
5496
  }
5588
5497
  /**
5589
5498
  * Parameters for listing product tags
5590
5499
  */
5591
- interface ProductTagListParams {
5500
+ interface ProductTagListParams extends V4PaginationParams {
5592
5501
  /** Channel ID */
5593
- channelId: string;
5502
+ channelId: string | number;
5594
5503
  }
5595
5504
  /**
5596
5505
  * Parameters for updating product tag
5597
5506
  */
5598
5507
  interface ProductTagUpdateParams {
5599
5508
  /** Channel ID */
5600
- channelId: string;
5509
+ channelId: string | number;
5601
5510
  /** Tag ID */
5602
- tagId: string;
5511
+ id: string | number;
5603
5512
  /** Tag name */
5604
- name?: string;
5605
- /** Tag color */
5606
- color?: string;
5513
+ name: string;
5607
5514
  }
5608
5515
  /**
5609
5516
  * Parameters for deleting product tag
5610
5517
  */
5611
5518
  interface ProductTagDeleteParams {
5612
5519
  /** Channel ID */
5613
- channelId: string;
5520
+ channelId: string | number;
5614
5521
  /** Tag ID */
5615
- tagId: string;
5522
+ id: string | number;
5616
5523
  }
5617
5524
  /**
5618
5525
  * Parameters for paging gifts
@@ -5672,6 +5579,48 @@ interface LikeInfo {
5672
5579
  /** Like time */
5673
5580
  likeTime: number;
5674
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
+ }
5675
5624
  /**
5676
5625
  * Task reward info
5677
5626
  */
@@ -6020,6 +5969,10 @@ interface LiveSessionInfo {
6020
5969
  /** Max viewer count */
6021
5970
  maxViewerCount: number;
6022
5971
  }
5972
+ interface ListCardPushesParams {
5973
+ channelId: string | number;
5974
+ }
5975
+ type ListCardPushesResponse = CardPushInfo[];
6023
5976
  /** V4 Pagination parameters */
6024
5977
  interface V4PaginationParams {
6025
5978
  /** Page number (1-based) */
@@ -6040,6 +5993,7 @@ interface V4PaginatedResponse<T> {
6040
5993
  /** Page size */
6041
5994
  pageSize?: number;
6042
5995
  }
5996
+ type V4ChannelPageResponse<T> = V4PaginatedResponse<T>;
6043
5997
  /** Channel ID parameter */
6044
5998
  interface ChannelIdParam {
6045
5999
  /** Channel ID */
@@ -6071,6 +6025,7 @@ type CreateLotteryActivityParams = LotteryActivityCreateParams;
6071
6025
  type CreateLotteryActivityResponse = LotteryActivityCreateResponse;
6072
6026
  type GetLotteryActivityParams = LotteryActivityGetParams;
6073
6027
  type ListLotteryActivitiesParams = LotteryActivityListParams;
6028
+ type ListLotteryActivitiesResponse = LotteryActivityListResponse;
6074
6029
  type UpdateLotteryActivityParams = LotteryActivityUpdateParams;
6075
6030
  type DeleteLotteryActivityParams = LotteryActivityDeleteParams;
6076
6031
  type GroupResponse = GroupAddResponse;
@@ -6080,7 +6035,6 @@ type GetShareParams = ShareGetParams;
6080
6035
  type UpdateShareParams = ShareUpdateParams;
6081
6036
  type CreateCardPushParams = CardPushCreateParams;
6082
6037
  type CreateCardPushResponse = CardPushCreateResponse;
6083
- type GetCardPushParams = CardPushGetParams;
6084
6038
  type UpdateCardPushParams = CardPushUpdateParams;
6085
6039
  type DeleteCardPushParams = CardPushDeleteParams;
6086
6040
  type PushCardParams = CardPushPushParams;
@@ -6095,6 +6049,7 @@ type CreateProductTagParams$1 = ProductTagCreateParams;
6095
6049
  type CreateProductTagResponse$1 = ProductTagCreateResponse;
6096
6050
  type GetProductTagParams = ProductTagGetParams;
6097
6051
  type ListProductTagsParams = ProductTagListParams;
6052
+ type ListChannelProductTagsResponse = V4ChannelPageResponse<ProductTag$1>;
6098
6053
  type UpdateProductTagParams$1 = ProductTagUpdateParams;
6099
6054
  type DeleteProductTagParams$1 = ProductTagDeleteParams;
6100
6055
  type GiftItem = GiftInfo;
@@ -7440,18 +7395,27 @@ interface UpdateVideoModerationSettingParams {
7440
7395
  * Callback settings
7441
7396
  */
7442
7397
  interface CallbackSettings {
7443
- /** Callback URL */
7398
+ streamCallbackUrl?: string;
7399
+ playbackCallbackUrl?: string;
7400
+ recordCallbackUrl?: string;
7401
+ rebirthVodCallbackUrl?: string;
7402
+ rebirthVodCallbackEnabled?: 'Y' | 'N';
7403
+ /** Compatibility aliases used by older SDK consumers. */
7444
7404
  url?: string;
7445
- /** Whether enabled */
7446
7405
  enabled?: boolean;
7406
+ [key: string]: unknown;
7447
7407
  }
7448
7408
  /**
7449
7409
  * Parameters for updating callback settings
7450
7410
  */
7451
7411
  interface UpdateCallbackParams {
7452
- /** Callback URL */
7412
+ streamCallbackUrl?: string;
7413
+ playbackCallbackUrl?: string;
7414
+ recordCallbackUrl?: string;
7415
+ rebirthVodCallbackUrl?: string;
7416
+ rebirthVodCallbackEnabled?: 'Y' | 'N';
7417
+ /** Compatibility aliases used by older SDK consumers. */
7453
7418
  url?: string;
7454
- /** Whether enabled */
7455
7419
  enabled?: boolean;
7456
7420
  }
7457
7421
  /**
@@ -13838,34 +13802,67 @@ interface GetCheckinByTimeParams {
13838
13802
  startDate: string;
13839
13803
  endDate: string;
13840
13804
  }
13841
- interface CreateQuestionnaireParams {
13842
- channelId: number;
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;
13843
13813
  }
13844
- interface BatchCreateQuestionnaireParams {
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;
13845
13836
  }
13846
- interface BatchCreateQuestionnaireBody {
13847
- channelIds: number[];
13848
- title: string;
13849
- items: Array<{
13850
- type: string;
13851
- question: string;
13852
- options?: string[];
13853
- required?: boolean;
13854
- }>;
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;
13855
13849
  }
13856
- interface AddEditQuestionnaireParams {
13857
- channelId: string;
13850
+ interface BatchCreateQuestionnaireParams {
13851
+ questionnaires: CreateQuestionnaireParams[];
13858
13852
  }
13859
- interface AddEditQuestionnaireBody {
13860
- questionnaireId?: string;
13861
- title: string;
13862
- items: Array<{
13863
- type: 'R' | 'C' | 'S' | 'V';
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;
13864
13861
  question: string;
13865
13862
  options?: string[];
13866
13863
  required?: boolean;
13867
13864
  }>;
13868
- }
13865
+ };
13869
13866
  interface ListQuestionnaireParams {
13870
13867
  channelId: string;
13871
13868
  startTime?: number;
@@ -13899,30 +13896,51 @@ interface ListQuestionSendTimeParams {
13899
13896
  channelId: string;
13900
13897
  }
13901
13898
  interface AddEditQuestionParams {
13902
- channelId: string;
13899
+ channelId: LiveInteractionChannelId;
13903
13900
  questionId?: string;
13904
- _type: 'R' | 'C' | 'S' | 'V';
13901
+ type?: QuestionType;
13902
+ _type?: QuestionType;
13905
13903
  answer: string;
13906
13904
  name: string;
13907
13905
  itemType: number;
13908
13906
  option1_option15?: string;
13909
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;
13910
13928
  }
13911
13929
  interface DeleteQuestionParams {
13912
13930
  channelId: string;
13913
13931
  questionId: string;
13914
13932
  }
13915
13933
  interface SendQuestionParams {
13916
- channelId: number;
13934
+ channelId: LiveInteractionChannelId;
13917
13935
  questionId: string;
13918
13936
  duration?: number;
13919
13937
  }
13920
13938
  interface StopQuestionParams {
13921
- channelId: number;
13939
+ channelId: LiveInteractionChannelId;
13922
13940
  questionId: string;
13923
13941
  }
13924
13942
  interface SendQuestionResultParams {
13925
- channelId: number;
13943
+ channelId: LiveInteractionChannelId;
13926
13944
  questionId: string;
13927
13945
  }
13928
13946
  interface GetAnswerListParams {
@@ -14135,6 +14153,15 @@ interface QuestionListResponse2 {
14135
14153
  declare class LiveInteractionService {
14136
14154
  private readonly client;
14137
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;
14138
14165
  /**
14139
14166
  * 查询频道签到记录(仅返回已签到记录)
14140
14167
  *
@@ -14229,7 +14256,7 @@ declare class LiveInteractionService {
14229
14256
  * });
14230
14257
  * ```
14231
14258
  */
14232
- batchCreateQuestionnaire(params: BatchCreateQuestionnaireParams, body: BatchCreateQuestionnaireBody): Promise<QuestionnaireDetailResponse>;
14259
+ batchCreateQuestionnaire(params: BatchCreateQuestionnaireParams, body?: BatchCreateQuestionnaireBody): Promise<QuestionnaireDetailResponse>;
14233
14260
  /**
14234
14261
  * 编辑或添加问卷信息
14235
14262
  *
@@ -14615,6 +14642,8 @@ declare class AccountService {
14615
14642
  * @param client - The PolyVClient instance to use for API calls
14616
14643
  */
14617
14644
  constructor(client: PolyVClient);
14645
+ private compactParams;
14646
+ private normalizeEnabled;
14618
14647
  /**
14619
14648
  * Get category list
14620
14649
  * Query all live categories for the account
@@ -14860,7 +14889,7 @@ declare class AccountService {
14860
14889
  * console.log(result.config);
14861
14890
  * ```
14862
14891
  */
14863
- switchGet(): Promise<SwitchGetResponse>;
14892
+ switchGet(params?: SwitchGetParams): Promise<SwitchGetResponse>;
14864
14893
  /**
14865
14894
  * Update switch configuration
14866
14895
  *
@@ -17868,6 +17897,13 @@ declare class V4ChannelService {
17868
17897
  * @param params - Update parameters
17869
17898
  */
17870
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>;
17871
17907
  /**
17872
17908
  * List distributes
17873
17909
  *
@@ -17946,9 +17982,7 @@ declare class V4ChannelService {
17946
17982
  * @param params - Query parameters
17947
17983
  * @returns Lottery activities list
17948
17984
  */
17949
- lotteryActivityList(params: ListLotteryActivitiesParams): Promise<{
17950
- contents: LotteryActivity[];
17951
- }>;
17985
+ lotteryActivityList(params: ListLotteryActivitiesParams): Promise<ListLotteryActivitiesResponse>;
17952
17986
  /**
17953
17987
  * Update lottery activity
17954
17988
  *
@@ -18084,7 +18118,7 @@ declare class V4ChannelService {
18084
18118
  *
18085
18119
  * @param params - Update parameters
18086
18120
  */
18087
- shareUpdate(params: UpdateShareParams): Promise<void>;
18121
+ shareUpdate(params: UpdateShareParams): Promise<ShareSettings>;
18088
18122
  /**
18089
18123
  * Create card push
18090
18124
  *
@@ -18092,13 +18126,6 @@ declare class V4ChannelService {
18092
18126
  * @returns Card ID
18093
18127
  */
18094
18128
  cardPushCreate(params: CreateCardPushParams): Promise<CreateCardPushResponse>;
18095
- /**
18096
- * Get card push
18097
- *
18098
- * @param params - Query parameters
18099
- * @returns Card push info
18100
- */
18101
- cardPushGet(params: GetCardPushParams): Promise<CardPushItem>;
18102
18129
  /**
18103
18130
  * Update card push
18104
18131
  *
@@ -18222,7 +18249,7 @@ declare class V4ChannelService {
18222
18249
  * @param params - Query parameters
18223
18250
  * @returns Product tags list
18224
18251
  */
18225
- productTagList(params: ListProductTagsParams): Promise<ProductTag$1[]>;
18252
+ productTagList(params: ListProductTagsParams): Promise<ListChannelProductTagsResponse>;
18226
18253
  /**
18227
18254
  * Update product tag
18228
18255
  *
@@ -18253,6 +18280,20 @@ declare class V4ChannelService {
18253
18280
  likePage(params: LikePageParams): Promise<{
18254
18281
  contents: LikeItem[];
18255
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>;
18256
18297
  /**
18257
18298
  * Create task reward
18258
18299
  *
@@ -18396,6 +18437,18 @@ declare class V4ChannelService {
18396
18437
  popularizationList(params: PopularizationListParams): Promise<{
18397
18438
  contents: PopularizationInfo[];
18398
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;
18399
18452
  /**
18400
18453
  * Validate channel ID
18401
18454
  */
@@ -18428,6 +18481,7 @@ declare class V4ChannelService {
18428
18481
  * Validate pagination parameters
18429
18482
  */
18430
18483
  private validatePaginationParams;
18484
+ private validateOptionalPaginationParams;
18431
18485
  }
18432
18486
 
18433
18487
  /**
@@ -20848,4 +20902,4 @@ declare function getErrorCodeCategory(code: number): string;
20848
20902
  */
20849
20903
  declare const VERSION = "1.0.0";
20850
20904
 
20851
- 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 };