web-dc-api 0.1.24 → 0.1.27
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/cjs/index.js +1 -1
- package/dist/dc.min.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +809 -292
- package/package.json +3 -7
package/dist/index.d.ts
CHANGED
|
@@ -357,6 +357,13 @@ type AccountInfo = {
|
|
|
357
357
|
timeStamp: number;
|
|
358
358
|
type: string;
|
|
359
359
|
};
|
|
360
|
+
interface GetUserAIProxyAuthParams {
|
|
361
|
+
theme: string;
|
|
362
|
+
appId: string;
|
|
363
|
+
themeAuthor: string;
|
|
364
|
+
UserPubkey: string;
|
|
365
|
+
vaccount?: string | null;
|
|
366
|
+
}
|
|
360
367
|
|
|
361
368
|
/**
|
|
362
369
|
* 区块链相关的方法
|
|
@@ -15221,6 +15228,9 @@ declare namespace dcnet {
|
|
|
15221
15228
|
|
|
15222
15229
|
/** PublishCommentToThemeReply flag */
|
|
15223
15230
|
flag?: (number|null);
|
|
15231
|
+
|
|
15232
|
+
/** PublishCommentToThemeReply timestamp */
|
|
15233
|
+
timestamp?: (number|Long|null);
|
|
15224
15234
|
}
|
|
15225
15235
|
|
|
15226
15236
|
/** Represents a PublishCommentToThemeReply. */
|
|
@@ -15235,6 +15245,9 @@ declare namespace dcnet {
|
|
|
15235
15245
|
/** PublishCommentToThemeReply flag. */
|
|
15236
15246
|
public flag: number;
|
|
15237
15247
|
|
|
15248
|
+
/** PublishCommentToThemeReply timestamp. */
|
|
15249
|
+
public timestamp: (number|Long);
|
|
15250
|
+
|
|
15238
15251
|
/**
|
|
15239
15252
|
* Creates a new PublishCommentToThemeReply instance using the specified properties.
|
|
15240
15253
|
* @param [properties] Properties to set
|
|
@@ -18417,230 +18430,6 @@ declare namespace dcnet {
|
|
|
18417
18430
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
18418
18431
|
}
|
|
18419
18432
|
|
|
18420
|
-
/** Properties of a GetUserThemeConfigInfoRequest. */
|
|
18421
|
-
interface IGetUserThemeConfigInfoRequest {
|
|
18422
|
-
|
|
18423
|
-
/** GetUserThemeConfigInfoRequest theme */
|
|
18424
|
-
theme?: (Uint8Array|null);
|
|
18425
|
-
|
|
18426
|
-
/** GetUserThemeConfigInfoRequest appId */
|
|
18427
|
-
appId?: (Uint8Array|null);
|
|
18428
|
-
|
|
18429
|
-
/** GetUserThemeConfigInfoRequest themeAuthor */
|
|
18430
|
-
themeAuthor?: (Uint8Array|null);
|
|
18431
|
-
|
|
18432
|
-
/** GetUserThemeConfigInfoRequest UserPubkey */
|
|
18433
|
-
UserPubkey?: (Uint8Array|null);
|
|
18434
|
-
|
|
18435
|
-
/** GetUserThemeConfigInfoRequest Vaccount */
|
|
18436
|
-
Vaccount?: (Uint8Array|null);
|
|
18437
|
-
}
|
|
18438
|
-
|
|
18439
|
-
/** Represents a GetUserThemeConfigInfoRequest. */
|
|
18440
|
-
class GetUserThemeConfigInfoRequest implements IGetUserThemeConfigInfoRequest {
|
|
18441
|
-
|
|
18442
|
-
/**
|
|
18443
|
-
* Constructs a new GetUserThemeConfigInfoRequest.
|
|
18444
|
-
* @param [properties] Properties to set
|
|
18445
|
-
*/
|
|
18446
|
-
constructor(properties?: dcnet.pb.IGetUserThemeConfigInfoRequest);
|
|
18447
|
-
|
|
18448
|
-
/** GetUserThemeConfigInfoRequest theme. */
|
|
18449
|
-
public theme: Uint8Array;
|
|
18450
|
-
|
|
18451
|
-
/** GetUserThemeConfigInfoRequest appId. */
|
|
18452
|
-
public appId: Uint8Array;
|
|
18453
|
-
|
|
18454
|
-
/** GetUserThemeConfigInfoRequest themeAuthor. */
|
|
18455
|
-
public themeAuthor: Uint8Array;
|
|
18456
|
-
|
|
18457
|
-
/** GetUserThemeConfigInfoRequest UserPubkey. */
|
|
18458
|
-
public UserPubkey: Uint8Array;
|
|
18459
|
-
|
|
18460
|
-
/** GetUserThemeConfigInfoRequest Vaccount. */
|
|
18461
|
-
public Vaccount: Uint8Array;
|
|
18462
|
-
|
|
18463
|
-
/**
|
|
18464
|
-
* Creates a new GetUserThemeConfigInfoRequest instance using the specified properties.
|
|
18465
|
-
* @param [properties] Properties to set
|
|
18466
|
-
* @returns GetUserThemeConfigInfoRequest instance
|
|
18467
|
-
*/
|
|
18468
|
-
public static create(properties?: dcnet.pb.IGetUserThemeConfigInfoRequest): dcnet.pb.GetUserThemeConfigInfoRequest;
|
|
18469
|
-
|
|
18470
|
-
/**
|
|
18471
|
-
* Encodes the specified GetUserThemeConfigInfoRequest message. Does not implicitly {@link dcnet.pb.GetUserThemeConfigInfoRequest.verify|verify} messages.
|
|
18472
|
-
* @param message GetUserThemeConfigInfoRequest message or plain object to encode
|
|
18473
|
-
* @param [writer] Writer to encode to
|
|
18474
|
-
* @returns Writer
|
|
18475
|
-
*/
|
|
18476
|
-
public static encode(message: dcnet.pb.IGetUserThemeConfigInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18477
|
-
|
|
18478
|
-
/**
|
|
18479
|
-
* Encodes the specified GetUserThemeConfigInfoRequest message, length delimited. Does not implicitly {@link dcnet.pb.GetUserThemeConfigInfoRequest.verify|verify} messages.
|
|
18480
|
-
* @param message GetUserThemeConfigInfoRequest message or plain object to encode
|
|
18481
|
-
* @param [writer] Writer to encode to
|
|
18482
|
-
* @returns Writer
|
|
18483
|
-
*/
|
|
18484
|
-
public static encodeDelimited(message: dcnet.pb.IGetUserThemeConfigInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18485
|
-
|
|
18486
|
-
/**
|
|
18487
|
-
* Decodes a GetUserThemeConfigInfoRequest message from the specified reader or buffer.
|
|
18488
|
-
* @param reader Reader or buffer to decode from
|
|
18489
|
-
* @param [length] Message length if known beforehand
|
|
18490
|
-
* @returns GetUserThemeConfigInfoRequest
|
|
18491
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18492
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18493
|
-
*/
|
|
18494
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dcnet.pb.GetUserThemeConfigInfoRequest;
|
|
18495
|
-
|
|
18496
|
-
/**
|
|
18497
|
-
* Decodes a GetUserThemeConfigInfoRequest message from the specified reader or buffer, length delimited.
|
|
18498
|
-
* @param reader Reader or buffer to decode from
|
|
18499
|
-
* @returns GetUserThemeConfigInfoRequest
|
|
18500
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18501
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18502
|
-
*/
|
|
18503
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dcnet.pb.GetUserThemeConfigInfoRequest;
|
|
18504
|
-
|
|
18505
|
-
/**
|
|
18506
|
-
* Verifies a GetUserThemeConfigInfoRequest message.
|
|
18507
|
-
* @param message Plain object to verify
|
|
18508
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
18509
|
-
*/
|
|
18510
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
18511
|
-
|
|
18512
|
-
/**
|
|
18513
|
-
* Creates a GetUserThemeConfigInfoRequest message from a plain object. Also converts values to their respective internal types.
|
|
18514
|
-
* @param object Plain object
|
|
18515
|
-
* @returns GetUserThemeConfigInfoRequest
|
|
18516
|
-
*/
|
|
18517
|
-
public static fromObject(object: { [k: string]: any }): dcnet.pb.GetUserThemeConfigInfoRequest;
|
|
18518
|
-
|
|
18519
|
-
/**
|
|
18520
|
-
* Creates a plain object from a GetUserThemeConfigInfoRequest message. Also converts values to other types if specified.
|
|
18521
|
-
* @param message GetUserThemeConfigInfoRequest
|
|
18522
|
-
* @param [options] Conversion options
|
|
18523
|
-
* @returns Plain object
|
|
18524
|
-
*/
|
|
18525
|
-
public static toObject(message: dcnet.pb.GetUserThemeConfigInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18526
|
-
|
|
18527
|
-
/**
|
|
18528
|
-
* Converts this GetUserThemeConfigInfoRequest to JSON.
|
|
18529
|
-
* @returns JSON object
|
|
18530
|
-
*/
|
|
18531
|
-
public toJSON(): { [k: string]: any };
|
|
18532
|
-
|
|
18533
|
-
/**
|
|
18534
|
-
* Gets the default type url for GetUserThemeConfigInfoRequest
|
|
18535
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
18536
|
-
* @returns The default type url
|
|
18537
|
-
*/
|
|
18538
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
18539
|
-
}
|
|
18540
|
-
|
|
18541
|
-
/** Properties of a GetUserThemeConfigInfoReply. */
|
|
18542
|
-
interface IGetUserThemeConfigInfoReply {
|
|
18543
|
-
|
|
18544
|
-
/** GetUserThemeConfigInfoReply flag */
|
|
18545
|
-
flag?: (number|null);
|
|
18546
|
-
|
|
18547
|
-
/** GetUserThemeConfigInfoReply authInfo */
|
|
18548
|
-
authInfo?: (Uint8Array|null);
|
|
18549
|
-
}
|
|
18550
|
-
|
|
18551
|
-
/** Represents a GetUserThemeConfigInfoReply. */
|
|
18552
|
-
class GetUserThemeConfigInfoReply implements IGetUserThemeConfigInfoReply {
|
|
18553
|
-
|
|
18554
|
-
/**
|
|
18555
|
-
* Constructs a new GetUserThemeConfigInfoReply.
|
|
18556
|
-
* @param [properties] Properties to set
|
|
18557
|
-
*/
|
|
18558
|
-
constructor(properties?: dcnet.pb.IGetUserThemeConfigInfoReply);
|
|
18559
|
-
|
|
18560
|
-
/** GetUserThemeConfigInfoReply flag. */
|
|
18561
|
-
public flag: number;
|
|
18562
|
-
|
|
18563
|
-
/** GetUserThemeConfigInfoReply authInfo. */
|
|
18564
|
-
public authInfo: Uint8Array;
|
|
18565
|
-
|
|
18566
|
-
/**
|
|
18567
|
-
* Creates a new GetUserThemeConfigInfoReply instance using the specified properties.
|
|
18568
|
-
* @param [properties] Properties to set
|
|
18569
|
-
* @returns GetUserThemeConfigInfoReply instance
|
|
18570
|
-
*/
|
|
18571
|
-
public static create(properties?: dcnet.pb.IGetUserThemeConfigInfoReply): dcnet.pb.GetUserThemeConfigInfoReply;
|
|
18572
|
-
|
|
18573
|
-
/**
|
|
18574
|
-
* Encodes the specified GetUserThemeConfigInfoReply message. Does not implicitly {@link dcnet.pb.GetUserThemeConfigInfoReply.verify|verify} messages.
|
|
18575
|
-
* @param message GetUserThemeConfigInfoReply message or plain object to encode
|
|
18576
|
-
* @param [writer] Writer to encode to
|
|
18577
|
-
* @returns Writer
|
|
18578
|
-
*/
|
|
18579
|
-
public static encode(message: dcnet.pb.IGetUserThemeConfigInfoReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18580
|
-
|
|
18581
|
-
/**
|
|
18582
|
-
* Encodes the specified GetUserThemeConfigInfoReply message, length delimited. Does not implicitly {@link dcnet.pb.GetUserThemeConfigInfoReply.verify|verify} messages.
|
|
18583
|
-
* @param message GetUserThemeConfigInfoReply message or plain object to encode
|
|
18584
|
-
* @param [writer] Writer to encode to
|
|
18585
|
-
* @returns Writer
|
|
18586
|
-
*/
|
|
18587
|
-
public static encodeDelimited(message: dcnet.pb.IGetUserThemeConfigInfoReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18588
|
-
|
|
18589
|
-
/**
|
|
18590
|
-
* Decodes a GetUserThemeConfigInfoReply message from the specified reader or buffer.
|
|
18591
|
-
* @param reader Reader or buffer to decode from
|
|
18592
|
-
* @param [length] Message length if known beforehand
|
|
18593
|
-
* @returns GetUserThemeConfigInfoReply
|
|
18594
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18595
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18596
|
-
*/
|
|
18597
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dcnet.pb.GetUserThemeConfigInfoReply;
|
|
18598
|
-
|
|
18599
|
-
/**
|
|
18600
|
-
* Decodes a GetUserThemeConfigInfoReply message from the specified reader or buffer, length delimited.
|
|
18601
|
-
* @param reader Reader or buffer to decode from
|
|
18602
|
-
* @returns GetUserThemeConfigInfoReply
|
|
18603
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18604
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18605
|
-
*/
|
|
18606
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dcnet.pb.GetUserThemeConfigInfoReply;
|
|
18607
|
-
|
|
18608
|
-
/**
|
|
18609
|
-
* Verifies a GetUserThemeConfigInfoReply message.
|
|
18610
|
-
* @param message Plain object to verify
|
|
18611
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
18612
|
-
*/
|
|
18613
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
18614
|
-
|
|
18615
|
-
/**
|
|
18616
|
-
* Creates a GetUserThemeConfigInfoReply message from a plain object. Also converts values to their respective internal types.
|
|
18617
|
-
* @param object Plain object
|
|
18618
|
-
* @returns GetUserThemeConfigInfoReply
|
|
18619
|
-
*/
|
|
18620
|
-
public static fromObject(object: { [k: string]: any }): dcnet.pb.GetUserThemeConfigInfoReply;
|
|
18621
|
-
|
|
18622
|
-
/**
|
|
18623
|
-
* Creates a plain object from a GetUserThemeConfigInfoReply message. Also converts values to other types if specified.
|
|
18624
|
-
* @param message GetUserThemeConfigInfoReply
|
|
18625
|
-
* @param [options] Conversion options
|
|
18626
|
-
* @returns Plain object
|
|
18627
|
-
*/
|
|
18628
|
-
public static toObject(message: dcnet.pb.GetUserThemeConfigInfoReply, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18629
|
-
|
|
18630
|
-
/**
|
|
18631
|
-
* Converts this GetUserThemeConfigInfoReply to JSON.
|
|
18632
|
-
* @returns JSON object
|
|
18633
|
-
*/
|
|
18634
|
-
public toJSON(): { [k: string]: any };
|
|
18635
|
-
|
|
18636
|
-
/**
|
|
18637
|
-
* Gets the default type url for GetUserThemeConfigInfoReply
|
|
18638
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
18639
|
-
* @returns The default type url
|
|
18640
|
-
*/
|
|
18641
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
18642
|
-
}
|
|
18643
|
-
|
|
18644
18433
|
/** Properties of a GetUserCommentsRequest. */
|
|
18645
18434
|
interface IGetUserCommentsRequest {
|
|
18646
18435
|
|
|
@@ -22182,20 +21971,244 @@ declare namespace dcnet {
|
|
|
22182
21971
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22183
21972
|
}
|
|
22184
21973
|
|
|
22185
|
-
/** Properties of a
|
|
22186
|
-
interface
|
|
21974
|
+
/** Properties of a GetUserThemeConfigInfoRequest. */
|
|
21975
|
+
interface IGetUserThemeConfigInfoRequest {
|
|
22187
21976
|
|
|
22188
|
-
/**
|
|
22189
|
-
|
|
21977
|
+
/** GetUserThemeConfigInfoRequest theme */
|
|
21978
|
+
theme?: (Uint8Array|null);
|
|
22190
21979
|
|
|
22191
|
-
/**
|
|
22192
|
-
|
|
21980
|
+
/** GetUserThemeConfigInfoRequest appId */
|
|
21981
|
+
appId?: (Uint8Array|null);
|
|
22193
21982
|
|
|
22194
|
-
/**
|
|
22195
|
-
|
|
21983
|
+
/** GetUserThemeConfigInfoRequest themeAuthor */
|
|
21984
|
+
themeAuthor?: (Uint8Array|null);
|
|
22196
21985
|
|
|
22197
|
-
/**
|
|
22198
|
-
|
|
21986
|
+
/** GetUserThemeConfigInfoRequest UserPubkey */
|
|
21987
|
+
UserPubkey?: (Uint8Array|null);
|
|
21988
|
+
|
|
21989
|
+
/** GetUserThemeConfigInfoRequest Vaccount */
|
|
21990
|
+
Vaccount?: (Uint8Array|null);
|
|
21991
|
+
}
|
|
21992
|
+
|
|
21993
|
+
/** Represents a GetUserThemeConfigInfoRequest. */
|
|
21994
|
+
class GetUserThemeConfigInfoRequest implements IGetUserThemeConfigInfoRequest {
|
|
21995
|
+
|
|
21996
|
+
/**
|
|
21997
|
+
* Constructs a new GetUserThemeConfigInfoRequest.
|
|
21998
|
+
* @param [properties] Properties to set
|
|
21999
|
+
*/
|
|
22000
|
+
constructor(properties?: dcnet.pb.IGetUserThemeConfigInfoRequest);
|
|
22001
|
+
|
|
22002
|
+
/** GetUserThemeConfigInfoRequest theme. */
|
|
22003
|
+
public theme: Uint8Array;
|
|
22004
|
+
|
|
22005
|
+
/** GetUserThemeConfigInfoRequest appId. */
|
|
22006
|
+
public appId: Uint8Array;
|
|
22007
|
+
|
|
22008
|
+
/** GetUserThemeConfigInfoRequest themeAuthor. */
|
|
22009
|
+
public themeAuthor: Uint8Array;
|
|
22010
|
+
|
|
22011
|
+
/** GetUserThemeConfigInfoRequest UserPubkey. */
|
|
22012
|
+
public UserPubkey: Uint8Array;
|
|
22013
|
+
|
|
22014
|
+
/** GetUserThemeConfigInfoRequest Vaccount. */
|
|
22015
|
+
public Vaccount: Uint8Array;
|
|
22016
|
+
|
|
22017
|
+
/**
|
|
22018
|
+
* Creates a new GetUserThemeConfigInfoRequest instance using the specified properties.
|
|
22019
|
+
* @param [properties] Properties to set
|
|
22020
|
+
* @returns GetUserThemeConfigInfoRequest instance
|
|
22021
|
+
*/
|
|
22022
|
+
public static create(properties?: dcnet.pb.IGetUserThemeConfigInfoRequest): dcnet.pb.GetUserThemeConfigInfoRequest;
|
|
22023
|
+
|
|
22024
|
+
/**
|
|
22025
|
+
* Encodes the specified GetUserThemeConfigInfoRequest message. Does not implicitly {@link dcnet.pb.GetUserThemeConfigInfoRequest.verify|verify} messages.
|
|
22026
|
+
* @param message GetUserThemeConfigInfoRequest message or plain object to encode
|
|
22027
|
+
* @param [writer] Writer to encode to
|
|
22028
|
+
* @returns Writer
|
|
22029
|
+
*/
|
|
22030
|
+
public static encode(message: dcnet.pb.IGetUserThemeConfigInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22031
|
+
|
|
22032
|
+
/**
|
|
22033
|
+
* Encodes the specified GetUserThemeConfigInfoRequest message, length delimited. Does not implicitly {@link dcnet.pb.GetUserThemeConfigInfoRequest.verify|verify} messages.
|
|
22034
|
+
* @param message GetUserThemeConfigInfoRequest message or plain object to encode
|
|
22035
|
+
* @param [writer] Writer to encode to
|
|
22036
|
+
* @returns Writer
|
|
22037
|
+
*/
|
|
22038
|
+
public static encodeDelimited(message: dcnet.pb.IGetUserThemeConfigInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22039
|
+
|
|
22040
|
+
/**
|
|
22041
|
+
* Decodes a GetUserThemeConfigInfoRequest message from the specified reader or buffer.
|
|
22042
|
+
* @param reader Reader or buffer to decode from
|
|
22043
|
+
* @param [length] Message length if known beforehand
|
|
22044
|
+
* @returns GetUserThemeConfigInfoRequest
|
|
22045
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22046
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22047
|
+
*/
|
|
22048
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dcnet.pb.GetUserThemeConfigInfoRequest;
|
|
22049
|
+
|
|
22050
|
+
/**
|
|
22051
|
+
* Decodes a GetUserThemeConfigInfoRequest message from the specified reader or buffer, length delimited.
|
|
22052
|
+
* @param reader Reader or buffer to decode from
|
|
22053
|
+
* @returns GetUserThemeConfigInfoRequest
|
|
22054
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22055
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22056
|
+
*/
|
|
22057
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dcnet.pb.GetUserThemeConfigInfoRequest;
|
|
22058
|
+
|
|
22059
|
+
/**
|
|
22060
|
+
* Verifies a GetUserThemeConfigInfoRequest message.
|
|
22061
|
+
* @param message Plain object to verify
|
|
22062
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22063
|
+
*/
|
|
22064
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22065
|
+
|
|
22066
|
+
/**
|
|
22067
|
+
* Creates a GetUserThemeConfigInfoRequest message from a plain object. Also converts values to their respective internal types.
|
|
22068
|
+
* @param object Plain object
|
|
22069
|
+
* @returns GetUserThemeConfigInfoRequest
|
|
22070
|
+
*/
|
|
22071
|
+
public static fromObject(object: { [k: string]: any }): dcnet.pb.GetUserThemeConfigInfoRequest;
|
|
22072
|
+
|
|
22073
|
+
/**
|
|
22074
|
+
* Creates a plain object from a GetUserThemeConfigInfoRequest message. Also converts values to other types if specified.
|
|
22075
|
+
* @param message GetUserThemeConfigInfoRequest
|
|
22076
|
+
* @param [options] Conversion options
|
|
22077
|
+
* @returns Plain object
|
|
22078
|
+
*/
|
|
22079
|
+
public static toObject(message: dcnet.pb.GetUserThemeConfigInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22080
|
+
|
|
22081
|
+
/**
|
|
22082
|
+
* Converts this GetUserThemeConfigInfoRequest to JSON.
|
|
22083
|
+
* @returns JSON object
|
|
22084
|
+
*/
|
|
22085
|
+
public toJSON(): { [k: string]: any };
|
|
22086
|
+
|
|
22087
|
+
/**
|
|
22088
|
+
* Gets the default type url for GetUserThemeConfigInfoRequest
|
|
22089
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22090
|
+
* @returns The default type url
|
|
22091
|
+
*/
|
|
22092
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22093
|
+
}
|
|
22094
|
+
|
|
22095
|
+
/** Properties of a GetUserThemeConfigInfoReply. */
|
|
22096
|
+
interface IGetUserThemeConfigInfoReply {
|
|
22097
|
+
|
|
22098
|
+
/** GetUserThemeConfigInfoReply flag */
|
|
22099
|
+
flag?: (number|null);
|
|
22100
|
+
|
|
22101
|
+
/** GetUserThemeConfigInfoReply authInfo */
|
|
22102
|
+
authInfo?: (Uint8Array|null);
|
|
22103
|
+
}
|
|
22104
|
+
|
|
22105
|
+
/** Represents a GetUserThemeConfigInfoReply. */
|
|
22106
|
+
class GetUserThemeConfigInfoReply implements IGetUserThemeConfigInfoReply {
|
|
22107
|
+
|
|
22108
|
+
/**
|
|
22109
|
+
* Constructs a new GetUserThemeConfigInfoReply.
|
|
22110
|
+
* @param [properties] Properties to set
|
|
22111
|
+
*/
|
|
22112
|
+
constructor(properties?: dcnet.pb.IGetUserThemeConfigInfoReply);
|
|
22113
|
+
|
|
22114
|
+
/** GetUserThemeConfigInfoReply flag. */
|
|
22115
|
+
public flag: number;
|
|
22116
|
+
|
|
22117
|
+
/** GetUserThemeConfigInfoReply authInfo. */
|
|
22118
|
+
public authInfo: Uint8Array;
|
|
22119
|
+
|
|
22120
|
+
/**
|
|
22121
|
+
* Creates a new GetUserThemeConfigInfoReply instance using the specified properties.
|
|
22122
|
+
* @param [properties] Properties to set
|
|
22123
|
+
* @returns GetUserThemeConfigInfoReply instance
|
|
22124
|
+
*/
|
|
22125
|
+
public static create(properties?: dcnet.pb.IGetUserThemeConfigInfoReply): dcnet.pb.GetUserThemeConfigInfoReply;
|
|
22126
|
+
|
|
22127
|
+
/**
|
|
22128
|
+
* Encodes the specified GetUserThemeConfigInfoReply message. Does not implicitly {@link dcnet.pb.GetUserThemeConfigInfoReply.verify|verify} messages.
|
|
22129
|
+
* @param message GetUserThemeConfigInfoReply message or plain object to encode
|
|
22130
|
+
* @param [writer] Writer to encode to
|
|
22131
|
+
* @returns Writer
|
|
22132
|
+
*/
|
|
22133
|
+
public static encode(message: dcnet.pb.IGetUserThemeConfigInfoReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22134
|
+
|
|
22135
|
+
/**
|
|
22136
|
+
* Encodes the specified GetUserThemeConfigInfoReply message, length delimited. Does not implicitly {@link dcnet.pb.GetUserThemeConfigInfoReply.verify|verify} messages.
|
|
22137
|
+
* @param message GetUserThemeConfigInfoReply message or plain object to encode
|
|
22138
|
+
* @param [writer] Writer to encode to
|
|
22139
|
+
* @returns Writer
|
|
22140
|
+
*/
|
|
22141
|
+
public static encodeDelimited(message: dcnet.pb.IGetUserThemeConfigInfoReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22142
|
+
|
|
22143
|
+
/**
|
|
22144
|
+
* Decodes a GetUserThemeConfigInfoReply message from the specified reader or buffer.
|
|
22145
|
+
* @param reader Reader or buffer to decode from
|
|
22146
|
+
* @param [length] Message length if known beforehand
|
|
22147
|
+
* @returns GetUserThemeConfigInfoReply
|
|
22148
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22149
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22150
|
+
*/
|
|
22151
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dcnet.pb.GetUserThemeConfigInfoReply;
|
|
22152
|
+
|
|
22153
|
+
/**
|
|
22154
|
+
* Decodes a GetUserThemeConfigInfoReply message from the specified reader or buffer, length delimited.
|
|
22155
|
+
* @param reader Reader or buffer to decode from
|
|
22156
|
+
* @returns GetUserThemeConfigInfoReply
|
|
22157
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22158
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22159
|
+
*/
|
|
22160
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dcnet.pb.GetUserThemeConfigInfoReply;
|
|
22161
|
+
|
|
22162
|
+
/**
|
|
22163
|
+
* Verifies a GetUserThemeConfigInfoReply message.
|
|
22164
|
+
* @param message Plain object to verify
|
|
22165
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22166
|
+
*/
|
|
22167
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22168
|
+
|
|
22169
|
+
/**
|
|
22170
|
+
* Creates a GetUserThemeConfigInfoReply message from a plain object. Also converts values to their respective internal types.
|
|
22171
|
+
* @param object Plain object
|
|
22172
|
+
* @returns GetUserThemeConfigInfoReply
|
|
22173
|
+
*/
|
|
22174
|
+
public static fromObject(object: { [k: string]: any }): dcnet.pb.GetUserThemeConfigInfoReply;
|
|
22175
|
+
|
|
22176
|
+
/**
|
|
22177
|
+
* Creates a plain object from a GetUserThemeConfigInfoReply message. Also converts values to other types if specified.
|
|
22178
|
+
* @param message GetUserThemeConfigInfoReply
|
|
22179
|
+
* @param [options] Conversion options
|
|
22180
|
+
* @returns Plain object
|
|
22181
|
+
*/
|
|
22182
|
+
public static toObject(message: dcnet.pb.GetUserThemeConfigInfoReply, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22183
|
+
|
|
22184
|
+
/**
|
|
22185
|
+
* Converts this GetUserThemeConfigInfoReply to JSON.
|
|
22186
|
+
* @returns JSON object
|
|
22187
|
+
*/
|
|
22188
|
+
public toJSON(): { [k: string]: any };
|
|
22189
|
+
|
|
22190
|
+
/**
|
|
22191
|
+
* Gets the default type url for GetUserThemeConfigInfoReply
|
|
22192
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22193
|
+
* @returns The default type url
|
|
22194
|
+
*/
|
|
22195
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22196
|
+
}
|
|
22197
|
+
|
|
22198
|
+
/** Properties of a DeductUserOffChainOpTimesRequest. */
|
|
22199
|
+
interface IDeductUserOffChainOpTimesRequest {
|
|
22200
|
+
|
|
22201
|
+
/** DeductUserOffChainOpTimesRequest userPubkey */
|
|
22202
|
+
userPubkey?: (Uint8Array|null);
|
|
22203
|
+
|
|
22204
|
+
/** DeductUserOffChainOpTimesRequest blockheight */
|
|
22205
|
+
blockheight?: (number|null);
|
|
22206
|
+
|
|
22207
|
+
/** DeductUserOffChainOpTimesRequest deductType */
|
|
22208
|
+
deductType?: (number|null);
|
|
22209
|
+
|
|
22210
|
+
/** DeductUserOffChainOpTimesRequest rawReq */
|
|
22211
|
+
rawReq?: (Uint8Array|null);
|
|
22199
22212
|
}
|
|
22200
22213
|
|
|
22201
22214
|
/** Represents a DeductUserOffChainOpTimesRequest. */
|
|
@@ -22541,65 +22554,277 @@ declare namespace dcnet {
|
|
|
22541
22554
|
* @param [writer] Writer to encode to
|
|
22542
22555
|
* @returns Writer
|
|
22543
22556
|
*/
|
|
22544
|
-
public static encode(message: dcnet.pb.IDeductUserAIProxyOpTimesReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22557
|
+
public static encode(message: dcnet.pb.IDeductUserAIProxyOpTimesReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22558
|
+
|
|
22559
|
+
/**
|
|
22560
|
+
* Encodes the specified DeductUserAIProxyOpTimesReply message, length delimited. Does not implicitly {@link dcnet.pb.DeductUserAIProxyOpTimesReply.verify|verify} messages.
|
|
22561
|
+
* @param message DeductUserAIProxyOpTimesReply message or plain object to encode
|
|
22562
|
+
* @param [writer] Writer to encode to
|
|
22563
|
+
* @returns Writer
|
|
22564
|
+
*/
|
|
22565
|
+
public static encodeDelimited(message: dcnet.pb.IDeductUserAIProxyOpTimesReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22566
|
+
|
|
22567
|
+
/**
|
|
22568
|
+
* Decodes a DeductUserAIProxyOpTimesReply message from the specified reader or buffer.
|
|
22569
|
+
* @param reader Reader or buffer to decode from
|
|
22570
|
+
* @param [length] Message length if known beforehand
|
|
22571
|
+
* @returns DeductUserAIProxyOpTimesReply
|
|
22572
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22573
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22574
|
+
*/
|
|
22575
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dcnet.pb.DeductUserAIProxyOpTimesReply;
|
|
22576
|
+
|
|
22577
|
+
/**
|
|
22578
|
+
* Decodes a DeductUserAIProxyOpTimesReply message from the specified reader or buffer, length delimited.
|
|
22579
|
+
* @param reader Reader or buffer to decode from
|
|
22580
|
+
* @returns DeductUserAIProxyOpTimesReply
|
|
22581
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22582
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22583
|
+
*/
|
|
22584
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dcnet.pb.DeductUserAIProxyOpTimesReply;
|
|
22585
|
+
|
|
22586
|
+
/**
|
|
22587
|
+
* Verifies a DeductUserAIProxyOpTimesReply message.
|
|
22588
|
+
* @param message Plain object to verify
|
|
22589
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22590
|
+
*/
|
|
22591
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22592
|
+
|
|
22593
|
+
/**
|
|
22594
|
+
* Creates a DeductUserAIProxyOpTimesReply message from a plain object. Also converts values to their respective internal types.
|
|
22595
|
+
* @param object Plain object
|
|
22596
|
+
* @returns DeductUserAIProxyOpTimesReply
|
|
22597
|
+
*/
|
|
22598
|
+
public static fromObject(object: { [k: string]: any }): dcnet.pb.DeductUserAIProxyOpTimesReply;
|
|
22599
|
+
|
|
22600
|
+
/**
|
|
22601
|
+
* Creates a plain object from a DeductUserAIProxyOpTimesReply message. Also converts values to other types if specified.
|
|
22602
|
+
* @param message DeductUserAIProxyOpTimesReply
|
|
22603
|
+
* @param [options] Conversion options
|
|
22604
|
+
* @returns Plain object
|
|
22605
|
+
*/
|
|
22606
|
+
public static toObject(message: dcnet.pb.DeductUserAIProxyOpTimesReply, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22607
|
+
|
|
22608
|
+
/**
|
|
22609
|
+
* Converts this DeductUserAIProxyOpTimesReply to JSON.
|
|
22610
|
+
* @returns JSON object
|
|
22611
|
+
*/
|
|
22612
|
+
public toJSON(): { [k: string]: any };
|
|
22613
|
+
|
|
22614
|
+
/**
|
|
22615
|
+
* Gets the default type url for DeductUserAIProxyOpTimesReply
|
|
22616
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22617
|
+
* @returns The default type url
|
|
22618
|
+
*/
|
|
22619
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22620
|
+
}
|
|
22621
|
+
|
|
22622
|
+
/** Properties of a NotifyUserAIProxyOpIncreaseRequest. */
|
|
22623
|
+
interface INotifyUserAIProxyOpIncreaseRequest {
|
|
22624
|
+
|
|
22625
|
+
/** NotifyUserAIProxyOpIncreaseRequest userPubkey */
|
|
22626
|
+
userPubkey?: (Uint8Array|null);
|
|
22627
|
+
|
|
22628
|
+
/** NotifyUserAIProxyOpIncreaseRequest subThemeReq */
|
|
22629
|
+
subThemeReq?: (Uint8Array|null);
|
|
22630
|
+
|
|
22631
|
+
/** NotifyUserAIProxyOpIncreaseRequest remark */
|
|
22632
|
+
remark?: (Uint8Array|null);
|
|
22633
|
+
}
|
|
22634
|
+
|
|
22635
|
+
/** Represents a NotifyUserAIProxyOpIncreaseRequest. */
|
|
22636
|
+
class NotifyUserAIProxyOpIncreaseRequest implements INotifyUserAIProxyOpIncreaseRequest {
|
|
22637
|
+
|
|
22638
|
+
/**
|
|
22639
|
+
* Constructs a new NotifyUserAIProxyOpIncreaseRequest.
|
|
22640
|
+
* @param [properties] Properties to set
|
|
22641
|
+
*/
|
|
22642
|
+
constructor(properties?: dcnet.pb.INotifyUserAIProxyOpIncreaseRequest);
|
|
22643
|
+
|
|
22644
|
+
/** NotifyUserAIProxyOpIncreaseRequest userPubkey. */
|
|
22645
|
+
public userPubkey: Uint8Array;
|
|
22646
|
+
|
|
22647
|
+
/** NotifyUserAIProxyOpIncreaseRequest subThemeReq. */
|
|
22648
|
+
public subThemeReq: Uint8Array;
|
|
22649
|
+
|
|
22650
|
+
/** NotifyUserAIProxyOpIncreaseRequest remark. */
|
|
22651
|
+
public remark: Uint8Array;
|
|
22652
|
+
|
|
22653
|
+
/**
|
|
22654
|
+
* Creates a new NotifyUserAIProxyOpIncreaseRequest instance using the specified properties.
|
|
22655
|
+
* @param [properties] Properties to set
|
|
22656
|
+
* @returns NotifyUserAIProxyOpIncreaseRequest instance
|
|
22657
|
+
*/
|
|
22658
|
+
public static create(properties?: dcnet.pb.INotifyUserAIProxyOpIncreaseRequest): dcnet.pb.NotifyUserAIProxyOpIncreaseRequest;
|
|
22659
|
+
|
|
22660
|
+
/**
|
|
22661
|
+
* Encodes the specified NotifyUserAIProxyOpIncreaseRequest message. Does not implicitly {@link dcnet.pb.NotifyUserAIProxyOpIncreaseRequest.verify|verify} messages.
|
|
22662
|
+
* @param message NotifyUserAIProxyOpIncreaseRequest message or plain object to encode
|
|
22663
|
+
* @param [writer] Writer to encode to
|
|
22664
|
+
* @returns Writer
|
|
22665
|
+
*/
|
|
22666
|
+
public static encode(message: dcnet.pb.INotifyUserAIProxyOpIncreaseRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22667
|
+
|
|
22668
|
+
/**
|
|
22669
|
+
* Encodes the specified NotifyUserAIProxyOpIncreaseRequest message, length delimited. Does not implicitly {@link dcnet.pb.NotifyUserAIProxyOpIncreaseRequest.verify|verify} messages.
|
|
22670
|
+
* @param message NotifyUserAIProxyOpIncreaseRequest message or plain object to encode
|
|
22671
|
+
* @param [writer] Writer to encode to
|
|
22672
|
+
* @returns Writer
|
|
22673
|
+
*/
|
|
22674
|
+
public static encodeDelimited(message: dcnet.pb.INotifyUserAIProxyOpIncreaseRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22675
|
+
|
|
22676
|
+
/**
|
|
22677
|
+
* Decodes a NotifyUserAIProxyOpIncreaseRequest message from the specified reader or buffer.
|
|
22678
|
+
* @param reader Reader or buffer to decode from
|
|
22679
|
+
* @param [length] Message length if known beforehand
|
|
22680
|
+
* @returns NotifyUserAIProxyOpIncreaseRequest
|
|
22681
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22682
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22683
|
+
*/
|
|
22684
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dcnet.pb.NotifyUserAIProxyOpIncreaseRequest;
|
|
22685
|
+
|
|
22686
|
+
/**
|
|
22687
|
+
* Decodes a NotifyUserAIProxyOpIncreaseRequest message from the specified reader or buffer, length delimited.
|
|
22688
|
+
* @param reader Reader or buffer to decode from
|
|
22689
|
+
* @returns NotifyUserAIProxyOpIncreaseRequest
|
|
22690
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22691
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22692
|
+
*/
|
|
22693
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dcnet.pb.NotifyUserAIProxyOpIncreaseRequest;
|
|
22694
|
+
|
|
22695
|
+
/**
|
|
22696
|
+
* Verifies a NotifyUserAIProxyOpIncreaseRequest message.
|
|
22697
|
+
* @param message Plain object to verify
|
|
22698
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22699
|
+
*/
|
|
22700
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22701
|
+
|
|
22702
|
+
/**
|
|
22703
|
+
* Creates a NotifyUserAIProxyOpIncreaseRequest message from a plain object. Also converts values to their respective internal types.
|
|
22704
|
+
* @param object Plain object
|
|
22705
|
+
* @returns NotifyUserAIProxyOpIncreaseRequest
|
|
22706
|
+
*/
|
|
22707
|
+
public static fromObject(object: { [k: string]: any }): dcnet.pb.NotifyUserAIProxyOpIncreaseRequest;
|
|
22708
|
+
|
|
22709
|
+
/**
|
|
22710
|
+
* Creates a plain object from a NotifyUserAIProxyOpIncreaseRequest message. Also converts values to other types if specified.
|
|
22711
|
+
* @param message NotifyUserAIProxyOpIncreaseRequest
|
|
22712
|
+
* @param [options] Conversion options
|
|
22713
|
+
* @returns Plain object
|
|
22714
|
+
*/
|
|
22715
|
+
public static toObject(message: dcnet.pb.NotifyUserAIProxyOpIncreaseRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22716
|
+
|
|
22717
|
+
/**
|
|
22718
|
+
* Converts this NotifyUserAIProxyOpIncreaseRequest to JSON.
|
|
22719
|
+
* @returns JSON object
|
|
22720
|
+
*/
|
|
22721
|
+
public toJSON(): { [k: string]: any };
|
|
22722
|
+
|
|
22723
|
+
/**
|
|
22724
|
+
* Gets the default type url for NotifyUserAIProxyOpIncreaseRequest
|
|
22725
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22726
|
+
* @returns The default type url
|
|
22727
|
+
*/
|
|
22728
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22729
|
+
}
|
|
22730
|
+
|
|
22731
|
+
/** Properties of a NotifyUserAIProxyOpIncreaseReply. */
|
|
22732
|
+
interface INotifyUserAIProxyOpIncreaseReply {
|
|
22733
|
+
|
|
22734
|
+
/** NotifyUserAIProxyOpIncreaseReply flag */
|
|
22735
|
+
flag?: (number|null);
|
|
22736
|
+
|
|
22737
|
+
/** NotifyUserAIProxyOpIncreaseReply err */
|
|
22738
|
+
err?: (Uint8Array|null);
|
|
22739
|
+
}
|
|
22740
|
+
|
|
22741
|
+
/** Represents a NotifyUserAIProxyOpIncreaseReply. */
|
|
22742
|
+
class NotifyUserAIProxyOpIncreaseReply implements INotifyUserAIProxyOpIncreaseReply {
|
|
22743
|
+
|
|
22744
|
+
/**
|
|
22745
|
+
* Constructs a new NotifyUserAIProxyOpIncreaseReply.
|
|
22746
|
+
* @param [properties] Properties to set
|
|
22747
|
+
*/
|
|
22748
|
+
constructor(properties?: dcnet.pb.INotifyUserAIProxyOpIncreaseReply);
|
|
22749
|
+
|
|
22750
|
+
/** NotifyUserAIProxyOpIncreaseReply flag. */
|
|
22751
|
+
public flag: number;
|
|
22752
|
+
|
|
22753
|
+
/** NotifyUserAIProxyOpIncreaseReply err. */
|
|
22754
|
+
public err: Uint8Array;
|
|
22755
|
+
|
|
22756
|
+
/**
|
|
22757
|
+
* Creates a new NotifyUserAIProxyOpIncreaseReply instance using the specified properties.
|
|
22758
|
+
* @param [properties] Properties to set
|
|
22759
|
+
* @returns NotifyUserAIProxyOpIncreaseReply instance
|
|
22760
|
+
*/
|
|
22761
|
+
public static create(properties?: dcnet.pb.INotifyUserAIProxyOpIncreaseReply): dcnet.pb.NotifyUserAIProxyOpIncreaseReply;
|
|
22762
|
+
|
|
22763
|
+
/**
|
|
22764
|
+
* Encodes the specified NotifyUserAIProxyOpIncreaseReply message. Does not implicitly {@link dcnet.pb.NotifyUserAIProxyOpIncreaseReply.verify|verify} messages.
|
|
22765
|
+
* @param message NotifyUserAIProxyOpIncreaseReply message or plain object to encode
|
|
22766
|
+
* @param [writer] Writer to encode to
|
|
22767
|
+
* @returns Writer
|
|
22768
|
+
*/
|
|
22769
|
+
public static encode(message: dcnet.pb.INotifyUserAIProxyOpIncreaseReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22545
22770
|
|
|
22546
22771
|
/**
|
|
22547
|
-
* Encodes the specified
|
|
22548
|
-
* @param message
|
|
22772
|
+
* Encodes the specified NotifyUserAIProxyOpIncreaseReply message, length delimited. Does not implicitly {@link dcnet.pb.NotifyUserAIProxyOpIncreaseReply.verify|verify} messages.
|
|
22773
|
+
* @param message NotifyUserAIProxyOpIncreaseReply message or plain object to encode
|
|
22549
22774
|
* @param [writer] Writer to encode to
|
|
22550
22775
|
* @returns Writer
|
|
22551
22776
|
*/
|
|
22552
|
-
public static encodeDelimited(message: dcnet.pb.
|
|
22777
|
+
public static encodeDelimited(message: dcnet.pb.INotifyUserAIProxyOpIncreaseReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22553
22778
|
|
|
22554
22779
|
/**
|
|
22555
|
-
* Decodes a
|
|
22780
|
+
* Decodes a NotifyUserAIProxyOpIncreaseReply message from the specified reader or buffer.
|
|
22556
22781
|
* @param reader Reader or buffer to decode from
|
|
22557
22782
|
* @param [length] Message length if known beforehand
|
|
22558
|
-
* @returns
|
|
22783
|
+
* @returns NotifyUserAIProxyOpIncreaseReply
|
|
22559
22784
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22560
22785
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22561
22786
|
*/
|
|
22562
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dcnet.pb.
|
|
22787
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dcnet.pb.NotifyUserAIProxyOpIncreaseReply;
|
|
22563
22788
|
|
|
22564
22789
|
/**
|
|
22565
|
-
* Decodes a
|
|
22790
|
+
* Decodes a NotifyUserAIProxyOpIncreaseReply message from the specified reader or buffer, length delimited.
|
|
22566
22791
|
* @param reader Reader or buffer to decode from
|
|
22567
|
-
* @returns
|
|
22792
|
+
* @returns NotifyUserAIProxyOpIncreaseReply
|
|
22568
22793
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22569
22794
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22570
22795
|
*/
|
|
22571
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dcnet.pb.
|
|
22796
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dcnet.pb.NotifyUserAIProxyOpIncreaseReply;
|
|
22572
22797
|
|
|
22573
22798
|
/**
|
|
22574
|
-
* Verifies a
|
|
22799
|
+
* Verifies a NotifyUserAIProxyOpIncreaseReply message.
|
|
22575
22800
|
* @param message Plain object to verify
|
|
22576
22801
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
22577
22802
|
*/
|
|
22578
22803
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
22579
22804
|
|
|
22580
22805
|
/**
|
|
22581
|
-
* Creates a
|
|
22806
|
+
* Creates a NotifyUserAIProxyOpIncreaseReply message from a plain object. Also converts values to their respective internal types.
|
|
22582
22807
|
* @param object Plain object
|
|
22583
|
-
* @returns
|
|
22808
|
+
* @returns NotifyUserAIProxyOpIncreaseReply
|
|
22584
22809
|
*/
|
|
22585
|
-
public static fromObject(object: { [k: string]: any }): dcnet.pb.
|
|
22810
|
+
public static fromObject(object: { [k: string]: any }): dcnet.pb.NotifyUserAIProxyOpIncreaseReply;
|
|
22586
22811
|
|
|
22587
22812
|
/**
|
|
22588
|
-
* Creates a plain object from a
|
|
22589
|
-
* @param message
|
|
22813
|
+
* Creates a plain object from a NotifyUserAIProxyOpIncreaseReply message. Also converts values to other types if specified.
|
|
22814
|
+
* @param message NotifyUserAIProxyOpIncreaseReply
|
|
22590
22815
|
* @param [options] Conversion options
|
|
22591
22816
|
* @returns Plain object
|
|
22592
22817
|
*/
|
|
22593
|
-
public static toObject(message: dcnet.pb.
|
|
22818
|
+
public static toObject(message: dcnet.pb.NotifyUserAIProxyOpIncreaseReply, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22594
22819
|
|
|
22595
22820
|
/**
|
|
22596
|
-
* Converts this
|
|
22821
|
+
* Converts this NotifyUserAIProxyOpIncreaseReply to JSON.
|
|
22597
22822
|
* @returns JSON object
|
|
22598
22823
|
*/
|
|
22599
22824
|
public toJSON(): { [k: string]: any };
|
|
22600
22825
|
|
|
22601
22826
|
/**
|
|
22602
|
-
* Gets the default type url for
|
|
22827
|
+
* Gets the default type url for NotifyUserAIProxyOpIncreaseReply
|
|
22603
22828
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22604
22829
|
* @returns The default type url
|
|
22605
22830
|
*/
|
|
@@ -23272,6 +23497,236 @@ declare namespace dcnet {
|
|
|
23272
23497
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23273
23498
|
}
|
|
23274
23499
|
|
|
23500
|
+
/** Properties of a GetUserAIProxyAuthRequest. */
|
|
23501
|
+
interface IGetUserAIProxyAuthRequest {
|
|
23502
|
+
|
|
23503
|
+
/** GetUserAIProxyAuthRequest theme */
|
|
23504
|
+
theme?: (Uint8Array|null);
|
|
23505
|
+
|
|
23506
|
+
/** GetUserAIProxyAuthRequest appId */
|
|
23507
|
+
appId?: (Uint8Array|null);
|
|
23508
|
+
|
|
23509
|
+
/** GetUserAIProxyAuthRequest themeAuthor */
|
|
23510
|
+
themeAuthor?: (Uint8Array|null);
|
|
23511
|
+
|
|
23512
|
+
/** GetUserAIProxyAuthRequest UserPubkey */
|
|
23513
|
+
UserPubkey?: (Uint8Array|null);
|
|
23514
|
+
|
|
23515
|
+
/** GetUserAIProxyAuthRequest vaccount */
|
|
23516
|
+
vaccount?: (Uint8Array|null);
|
|
23517
|
+
}
|
|
23518
|
+
|
|
23519
|
+
/** Represents a GetUserAIProxyAuthRequest. */
|
|
23520
|
+
class GetUserAIProxyAuthRequest implements IGetUserAIProxyAuthRequest {
|
|
23521
|
+
|
|
23522
|
+
/**
|
|
23523
|
+
* Constructs a new GetUserAIProxyAuthRequest.
|
|
23524
|
+
* @param [properties] Properties to set
|
|
23525
|
+
*/
|
|
23526
|
+
constructor(properties?: dcnet.pb.IGetUserAIProxyAuthRequest);
|
|
23527
|
+
|
|
23528
|
+
/** GetUserAIProxyAuthRequest theme. */
|
|
23529
|
+
public theme: Uint8Array;
|
|
23530
|
+
|
|
23531
|
+
/** GetUserAIProxyAuthRequest appId. */
|
|
23532
|
+
public appId: Uint8Array;
|
|
23533
|
+
|
|
23534
|
+
/** GetUserAIProxyAuthRequest themeAuthor. */
|
|
23535
|
+
public themeAuthor: Uint8Array;
|
|
23536
|
+
|
|
23537
|
+
/** GetUserAIProxyAuthRequest UserPubkey. */
|
|
23538
|
+
public UserPubkey: Uint8Array;
|
|
23539
|
+
|
|
23540
|
+
/** GetUserAIProxyAuthRequest vaccount. */
|
|
23541
|
+
public vaccount: Uint8Array;
|
|
23542
|
+
|
|
23543
|
+
/**
|
|
23544
|
+
* Creates a new GetUserAIProxyAuthRequest instance using the specified properties.
|
|
23545
|
+
* @param [properties] Properties to set
|
|
23546
|
+
* @returns GetUserAIProxyAuthRequest instance
|
|
23547
|
+
*/
|
|
23548
|
+
public static create(properties?: dcnet.pb.IGetUserAIProxyAuthRequest): dcnet.pb.GetUserAIProxyAuthRequest;
|
|
23549
|
+
|
|
23550
|
+
/**
|
|
23551
|
+
* Encodes the specified GetUserAIProxyAuthRequest message. Does not implicitly {@link dcnet.pb.GetUserAIProxyAuthRequest.verify|verify} messages.
|
|
23552
|
+
* @param message GetUserAIProxyAuthRequest message or plain object to encode
|
|
23553
|
+
* @param [writer] Writer to encode to
|
|
23554
|
+
* @returns Writer
|
|
23555
|
+
*/
|
|
23556
|
+
public static encode(message: dcnet.pb.IGetUserAIProxyAuthRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23557
|
+
|
|
23558
|
+
/**
|
|
23559
|
+
* Encodes the specified GetUserAIProxyAuthRequest message, length delimited. Does not implicitly {@link dcnet.pb.GetUserAIProxyAuthRequest.verify|verify} messages.
|
|
23560
|
+
* @param message GetUserAIProxyAuthRequest message or plain object to encode
|
|
23561
|
+
* @param [writer] Writer to encode to
|
|
23562
|
+
* @returns Writer
|
|
23563
|
+
*/
|
|
23564
|
+
public static encodeDelimited(message: dcnet.pb.IGetUserAIProxyAuthRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23565
|
+
|
|
23566
|
+
/**
|
|
23567
|
+
* Decodes a GetUserAIProxyAuthRequest message from the specified reader or buffer.
|
|
23568
|
+
* @param reader Reader or buffer to decode from
|
|
23569
|
+
* @param [length] Message length if known beforehand
|
|
23570
|
+
* @returns GetUserAIProxyAuthRequest
|
|
23571
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23572
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23573
|
+
*/
|
|
23574
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dcnet.pb.GetUserAIProxyAuthRequest;
|
|
23575
|
+
|
|
23576
|
+
/**
|
|
23577
|
+
* Decodes a GetUserAIProxyAuthRequest message from the specified reader or buffer, length delimited.
|
|
23578
|
+
* @param reader Reader or buffer to decode from
|
|
23579
|
+
* @returns GetUserAIProxyAuthRequest
|
|
23580
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23581
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23582
|
+
*/
|
|
23583
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dcnet.pb.GetUserAIProxyAuthRequest;
|
|
23584
|
+
|
|
23585
|
+
/**
|
|
23586
|
+
* Verifies a GetUserAIProxyAuthRequest message.
|
|
23587
|
+
* @param message Plain object to verify
|
|
23588
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23589
|
+
*/
|
|
23590
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23591
|
+
|
|
23592
|
+
/**
|
|
23593
|
+
* Creates a GetUserAIProxyAuthRequest message from a plain object. Also converts values to their respective internal types.
|
|
23594
|
+
* @param object Plain object
|
|
23595
|
+
* @returns GetUserAIProxyAuthRequest
|
|
23596
|
+
*/
|
|
23597
|
+
public static fromObject(object: { [k: string]: any }): dcnet.pb.GetUserAIProxyAuthRequest;
|
|
23598
|
+
|
|
23599
|
+
/**
|
|
23600
|
+
* Creates a plain object from a GetUserAIProxyAuthRequest message. Also converts values to other types if specified.
|
|
23601
|
+
* @param message GetUserAIProxyAuthRequest
|
|
23602
|
+
* @param [options] Conversion options
|
|
23603
|
+
* @returns Plain object
|
|
23604
|
+
*/
|
|
23605
|
+
public static toObject(message: dcnet.pb.GetUserAIProxyAuthRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23606
|
+
|
|
23607
|
+
/**
|
|
23608
|
+
* Converts this GetUserAIProxyAuthRequest to JSON.
|
|
23609
|
+
* @returns JSON object
|
|
23610
|
+
*/
|
|
23611
|
+
public toJSON(): { [k: string]: any };
|
|
23612
|
+
|
|
23613
|
+
/**
|
|
23614
|
+
* Gets the default type url for GetUserAIProxyAuthRequest
|
|
23615
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23616
|
+
* @returns The default type url
|
|
23617
|
+
*/
|
|
23618
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23619
|
+
}
|
|
23620
|
+
|
|
23621
|
+
/** Properties of a GetUserAIProxyAuthReply. */
|
|
23622
|
+
interface IGetUserAIProxyAuthReply {
|
|
23623
|
+
|
|
23624
|
+
/** GetUserAIProxyAuthReply flag */
|
|
23625
|
+
flag?: (number|null);
|
|
23626
|
+
|
|
23627
|
+
/** GetUserAIProxyAuthReply authInfo */
|
|
23628
|
+
authInfo?: (Uint8Array|null);
|
|
23629
|
+
|
|
23630
|
+
/** GetUserAIProxyAuthReply configs */
|
|
23631
|
+
configs?: (Uint8Array|null);
|
|
23632
|
+
}
|
|
23633
|
+
|
|
23634
|
+
/** Represents a GetUserAIProxyAuthReply. */
|
|
23635
|
+
class GetUserAIProxyAuthReply implements IGetUserAIProxyAuthReply {
|
|
23636
|
+
|
|
23637
|
+
/**
|
|
23638
|
+
* Constructs a new GetUserAIProxyAuthReply.
|
|
23639
|
+
* @param [properties] Properties to set
|
|
23640
|
+
*/
|
|
23641
|
+
constructor(properties?: dcnet.pb.IGetUserAIProxyAuthReply);
|
|
23642
|
+
|
|
23643
|
+
/** GetUserAIProxyAuthReply flag. */
|
|
23644
|
+
public flag: number;
|
|
23645
|
+
|
|
23646
|
+
/** GetUserAIProxyAuthReply authInfo. */
|
|
23647
|
+
public authInfo: Uint8Array;
|
|
23648
|
+
|
|
23649
|
+
/** GetUserAIProxyAuthReply configs. */
|
|
23650
|
+
public configs: Uint8Array;
|
|
23651
|
+
|
|
23652
|
+
/**
|
|
23653
|
+
* Creates a new GetUserAIProxyAuthReply instance using the specified properties.
|
|
23654
|
+
* @param [properties] Properties to set
|
|
23655
|
+
* @returns GetUserAIProxyAuthReply instance
|
|
23656
|
+
*/
|
|
23657
|
+
public static create(properties?: dcnet.pb.IGetUserAIProxyAuthReply): dcnet.pb.GetUserAIProxyAuthReply;
|
|
23658
|
+
|
|
23659
|
+
/**
|
|
23660
|
+
* Encodes the specified GetUserAIProxyAuthReply message. Does not implicitly {@link dcnet.pb.GetUserAIProxyAuthReply.verify|verify} messages.
|
|
23661
|
+
* @param message GetUserAIProxyAuthReply message or plain object to encode
|
|
23662
|
+
* @param [writer] Writer to encode to
|
|
23663
|
+
* @returns Writer
|
|
23664
|
+
*/
|
|
23665
|
+
public static encode(message: dcnet.pb.IGetUserAIProxyAuthReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23666
|
+
|
|
23667
|
+
/**
|
|
23668
|
+
* Encodes the specified GetUserAIProxyAuthReply message, length delimited. Does not implicitly {@link dcnet.pb.GetUserAIProxyAuthReply.verify|verify} messages.
|
|
23669
|
+
* @param message GetUserAIProxyAuthReply message or plain object to encode
|
|
23670
|
+
* @param [writer] Writer to encode to
|
|
23671
|
+
* @returns Writer
|
|
23672
|
+
*/
|
|
23673
|
+
public static encodeDelimited(message: dcnet.pb.IGetUserAIProxyAuthReply, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23674
|
+
|
|
23675
|
+
/**
|
|
23676
|
+
* Decodes a GetUserAIProxyAuthReply message from the specified reader or buffer.
|
|
23677
|
+
* @param reader Reader or buffer to decode from
|
|
23678
|
+
* @param [length] Message length if known beforehand
|
|
23679
|
+
* @returns GetUserAIProxyAuthReply
|
|
23680
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23681
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23682
|
+
*/
|
|
23683
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): dcnet.pb.GetUserAIProxyAuthReply;
|
|
23684
|
+
|
|
23685
|
+
/**
|
|
23686
|
+
* Decodes a GetUserAIProxyAuthReply message from the specified reader or buffer, length delimited.
|
|
23687
|
+
* @param reader Reader or buffer to decode from
|
|
23688
|
+
* @returns GetUserAIProxyAuthReply
|
|
23689
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23690
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23691
|
+
*/
|
|
23692
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): dcnet.pb.GetUserAIProxyAuthReply;
|
|
23693
|
+
|
|
23694
|
+
/**
|
|
23695
|
+
* Verifies a GetUserAIProxyAuthReply message.
|
|
23696
|
+
* @param message Plain object to verify
|
|
23697
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23698
|
+
*/
|
|
23699
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23700
|
+
|
|
23701
|
+
/**
|
|
23702
|
+
* Creates a GetUserAIProxyAuthReply message from a plain object. Also converts values to their respective internal types.
|
|
23703
|
+
* @param object Plain object
|
|
23704
|
+
* @returns GetUserAIProxyAuthReply
|
|
23705
|
+
*/
|
|
23706
|
+
public static fromObject(object: { [k: string]: any }): dcnet.pb.GetUserAIProxyAuthReply;
|
|
23707
|
+
|
|
23708
|
+
/**
|
|
23709
|
+
* Creates a plain object from a GetUserAIProxyAuthReply message. Also converts values to other types if specified.
|
|
23710
|
+
* @param message GetUserAIProxyAuthReply
|
|
23711
|
+
* @param [options] Conversion options
|
|
23712
|
+
* @returns Plain object
|
|
23713
|
+
*/
|
|
23714
|
+
public static toObject(message: dcnet.pb.GetUserAIProxyAuthReply, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23715
|
+
|
|
23716
|
+
/**
|
|
23717
|
+
* Converts this GetUserAIProxyAuthReply to JSON.
|
|
23718
|
+
* @returns JSON object
|
|
23719
|
+
*/
|
|
23720
|
+
public toJSON(): { [k: string]: any };
|
|
23721
|
+
|
|
23722
|
+
/**
|
|
23723
|
+
* Gets the default type url for GetUserAIProxyAuthReply
|
|
23724
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23725
|
+
* @returns The default type url
|
|
23726
|
+
*/
|
|
23727
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23728
|
+
}
|
|
23729
|
+
|
|
23275
23730
|
/** Properties of a DoAIProxyCallRequest. */
|
|
23276
23731
|
interface IDoAIProxyCallRequest {
|
|
23277
23732
|
|
|
@@ -26018,20 +26473,6 @@ declare namespace dcnet {
|
|
|
26018
26473
|
*/
|
|
26019
26474
|
public getThemeComments(request: dcnet.pb.IGetThemeCommentsRequest): Promise<dcnet.pb.GetThemeCommentsReply>;
|
|
26020
26475
|
|
|
26021
|
-
/**
|
|
26022
|
-
* Calls GetUserThemeConfigInfo.
|
|
26023
|
-
* @param request GetUserThemeConfigInfoRequest message or plain object
|
|
26024
|
-
* @param callback Node-style callback called with the error, if any, and GetUserThemeConfigInfoReply
|
|
26025
|
-
*/
|
|
26026
|
-
public getUserThemeConfigInfo(request: dcnet.pb.IGetUserThemeConfigInfoRequest, callback: dcnet.pb.Service.GetUserThemeConfigInfoCallback): void;
|
|
26027
|
-
|
|
26028
|
-
/**
|
|
26029
|
-
* Calls GetUserThemeConfigInfo.
|
|
26030
|
-
* @param request GetUserThemeConfigInfoRequest message or plain object
|
|
26031
|
-
* @returns Promise
|
|
26032
|
-
*/
|
|
26033
|
-
public getUserThemeConfigInfo(request: dcnet.pb.IGetUserThemeConfigInfoRequest): Promise<dcnet.pb.GetUserThemeConfigInfoReply>;
|
|
26034
|
-
|
|
26035
26476
|
/**
|
|
26036
26477
|
* Calls GetThemeAuthList.
|
|
26037
26478
|
* @param request GetThemeAuthListRequest message or plain object
|
|
@@ -26354,6 +26795,20 @@ declare namespace dcnet {
|
|
|
26354
26795
|
*/
|
|
26355
26796
|
public requestRandData(request: dcnet.pb.IRequestRandDataRequest): Promise<dcnet.pb.RequestRandDataReply>;
|
|
26356
26797
|
|
|
26798
|
+
/**
|
|
26799
|
+
* Calls GetUserThemeConfigInfo.
|
|
26800
|
+
* @param request GetUserThemeConfigInfoRequest message or plain object
|
|
26801
|
+
* @param callback Node-style callback called with the error, if any, and GetUserThemeConfigInfoReply
|
|
26802
|
+
*/
|
|
26803
|
+
public getUserThemeConfigInfo(request: dcnet.pb.IGetUserThemeConfigInfoRequest, callback: dcnet.pb.Service.GetUserThemeConfigInfoCallback): void;
|
|
26804
|
+
|
|
26805
|
+
/**
|
|
26806
|
+
* Calls GetUserThemeConfigInfo.
|
|
26807
|
+
* @param request GetUserThemeConfigInfoRequest message or plain object
|
|
26808
|
+
* @returns Promise
|
|
26809
|
+
*/
|
|
26810
|
+
public getUserThemeConfigInfo(request: dcnet.pb.IGetUserThemeConfigInfoRequest): Promise<dcnet.pb.GetUserThemeConfigInfoReply>;
|
|
26811
|
+
|
|
26357
26812
|
/**
|
|
26358
26813
|
* Calls GetAIProxyConfigFromPeer.
|
|
26359
26814
|
* @param request GetAIProxyConfigFromPeerRequest message or plain object
|
|
@@ -26438,6 +26893,20 @@ declare namespace dcnet {
|
|
|
26438
26893
|
*/
|
|
26439
26894
|
public getUserOwnAIProxyAuth(request: dcnet.pb.IGetUserOwnAIProxyAuthRequest): Promise<dcnet.pb.GetUserOwnAIProxyAuthReply>;
|
|
26440
26895
|
|
|
26896
|
+
/**
|
|
26897
|
+
* Calls GetUserAIProxyAuth.
|
|
26898
|
+
* @param request GetUserAIProxyAuthRequest message or plain object
|
|
26899
|
+
* @param callback Node-style callback called with the error, if any, and GetUserAIProxyAuthReply
|
|
26900
|
+
*/
|
|
26901
|
+
public getUserAIProxyAuth(request: dcnet.pb.IGetUserAIProxyAuthRequest, callback: dcnet.pb.Service.GetUserAIProxyAuthCallback): void;
|
|
26902
|
+
|
|
26903
|
+
/**
|
|
26904
|
+
* Calls GetUserAIProxyAuth.
|
|
26905
|
+
* @param request GetUserAIProxyAuthRequest message or plain object
|
|
26906
|
+
* @returns Promise
|
|
26907
|
+
*/
|
|
26908
|
+
public getUserAIProxyAuth(request: dcnet.pb.IGetUserAIProxyAuthRequest): Promise<dcnet.pb.GetUserAIProxyAuthReply>;
|
|
26909
|
+
|
|
26441
26910
|
/**
|
|
26442
26911
|
* Calls DeductUserOffChainOpTimes.
|
|
26443
26912
|
* @param request DeductUserOffChainOpTimesRequest message or plain object
|
|
@@ -26466,6 +26935,20 @@ declare namespace dcnet {
|
|
|
26466
26935
|
*/
|
|
26467
26936
|
public deductUserAIProxyOpTimes(request: dcnet.pb.IDeductUserAIProxyOpTimesRequest): Promise<dcnet.pb.DeductUserAIProxyOpTimesReply>;
|
|
26468
26937
|
|
|
26938
|
+
/**
|
|
26939
|
+
* Calls NotifyUserAIProxyOpIncrease.
|
|
26940
|
+
* @param request NotifyUserAIProxyOpIncreaseRequest message or plain object
|
|
26941
|
+
* @param callback Node-style callback called with the error, if any, and NotifyUserAIProxyOpIncreaseReply
|
|
26942
|
+
*/
|
|
26943
|
+
public notifyUserAIProxyOpIncrease(request: dcnet.pb.INotifyUserAIProxyOpIncreaseRequest, callback: dcnet.pb.Service.NotifyUserAIProxyOpIncreaseCallback): void;
|
|
26944
|
+
|
|
26945
|
+
/**
|
|
26946
|
+
* Calls NotifyUserAIProxyOpIncrease.
|
|
26947
|
+
* @param request NotifyUserAIProxyOpIncreaseRequest message or plain object
|
|
26948
|
+
* @returns Promise
|
|
26949
|
+
*/
|
|
26950
|
+
public notifyUserAIProxyOpIncrease(request: dcnet.pb.INotifyUserAIProxyOpIncreaseRequest): Promise<dcnet.pb.NotifyUserAIProxyOpIncreaseReply>;
|
|
26951
|
+
|
|
26469
26952
|
/**
|
|
26470
26953
|
* 应用设置相关接口************************
|
|
26471
26954
|
* @param request SetAppInfoRequest message or plain object
|
|
@@ -26917,13 +27400,6 @@ declare namespace dcnet {
|
|
|
26917
27400
|
*/
|
|
26918
27401
|
type GetThemeCommentsCallback = (error: (Error|null), response?: dcnet.pb.GetThemeCommentsReply) => void;
|
|
26919
27402
|
|
|
26920
|
-
/**
|
|
26921
|
-
* Callback as used by {@link dcnet.pb.Service#getUserThemeConfigInfo}.
|
|
26922
|
-
* @param error Error, if any
|
|
26923
|
-
* @param [response] GetUserThemeConfigInfoReply
|
|
26924
|
-
*/
|
|
26925
|
-
type GetUserThemeConfigInfoCallback = (error: (Error|null), response?: dcnet.pb.GetUserThemeConfigInfoReply) => void;
|
|
26926
|
-
|
|
26927
27403
|
/**
|
|
26928
27404
|
* Callback as used by {@link dcnet.pb.Service#getThemeAuthList}.
|
|
26929
27405
|
* @param error Error, if any
|
|
@@ -27085,6 +27561,13 @@ declare namespace dcnet {
|
|
|
27085
27561
|
*/
|
|
27086
27562
|
type RequestRandDataCallback = (error: (Error|null), response?: dcnet.pb.RequestRandDataReply) => void;
|
|
27087
27563
|
|
|
27564
|
+
/**
|
|
27565
|
+
* Callback as used by {@link dcnet.pb.Service#getUserThemeConfigInfo}.
|
|
27566
|
+
* @param error Error, if any
|
|
27567
|
+
* @param [response] GetUserThemeConfigInfoReply
|
|
27568
|
+
*/
|
|
27569
|
+
type GetUserThemeConfigInfoCallback = (error: (Error|null), response?: dcnet.pb.GetUserThemeConfigInfoReply) => void;
|
|
27570
|
+
|
|
27088
27571
|
/**
|
|
27089
27572
|
* Callback as used by {@link dcnet.pb.Service#getAIProxyConfigFromPeer}.
|
|
27090
27573
|
* @param error Error, if any
|
|
@@ -27127,6 +27610,13 @@ declare namespace dcnet {
|
|
|
27127
27610
|
*/
|
|
27128
27611
|
type GetUserOwnAIProxyAuthCallback = (error: (Error|null), response?: dcnet.pb.GetUserOwnAIProxyAuthReply) => void;
|
|
27129
27612
|
|
|
27613
|
+
/**
|
|
27614
|
+
* Callback as used by {@link dcnet.pb.Service#getUserAIProxyAuth}.
|
|
27615
|
+
* @param error Error, if any
|
|
27616
|
+
* @param [response] GetUserAIProxyAuthReply
|
|
27617
|
+
*/
|
|
27618
|
+
type GetUserAIProxyAuthCallback = (error: (Error|null), response?: dcnet.pb.GetUserAIProxyAuthReply) => void;
|
|
27619
|
+
|
|
27130
27620
|
/**
|
|
27131
27621
|
* Callback as used by {@link dcnet.pb.Service#deductUserOffChainOpTimes}.
|
|
27132
27622
|
* @param error Error, if any
|
|
@@ -27141,6 +27631,13 @@ declare namespace dcnet {
|
|
|
27141
27631
|
*/
|
|
27142
27632
|
type DeductUserAIProxyOpTimesCallback = (error: (Error|null), response?: dcnet.pb.DeductUserAIProxyOpTimesReply) => void;
|
|
27143
27633
|
|
|
27634
|
+
/**
|
|
27635
|
+
* Callback as used by {@link dcnet.pb.Service#notifyUserAIProxyOpIncrease}.
|
|
27636
|
+
* @param error Error, if any
|
|
27637
|
+
* @param [response] NotifyUserAIProxyOpIncreaseReply
|
|
27638
|
+
*/
|
|
27639
|
+
type NotifyUserAIProxyOpIncreaseCallback = (error: (Error|null), response?: dcnet.pb.NotifyUserAIProxyOpIncreaseReply) => void;
|
|
27640
|
+
|
|
27144
27641
|
/**
|
|
27145
27642
|
* Callback as used by {@link dcnet.pb.Service#setAppInfo}.
|
|
27146
27643
|
* @param error Error, if any
|
|
@@ -28635,11 +29132,11 @@ interface IAIProxyOperations {
|
|
|
28635
29132
|
*/
|
|
28636
29133
|
createProxyConfig(appId: string, configTheme: string): Promise<[number | null, Error | null]>;
|
|
28637
29134
|
/**
|
|
28638
|
-
|
|
28639
|
-
|
|
28640
|
-
|
|
28641
|
-
|
|
28642
|
-
|
|
29135
|
+
* 删除AI调用的Proxy配置
|
|
29136
|
+
* @param appId 应用ID
|
|
29137
|
+
* @param configTheme 配置主题
|
|
29138
|
+
* @returns [状态码, 错误信息]
|
|
29139
|
+
*/
|
|
28643
29140
|
deleteProxyConfig(appId: string, configTheme: string): Promise<[number | null, Error | null]>;
|
|
28644
29141
|
/**
|
|
28645
29142
|
* 配置AI代理的访问配置
|
|
@@ -28674,7 +29171,11 @@ interface IAIProxyOperations {
|
|
|
28674
29171
|
* @param vaccount 虚拟账户(可选)
|
|
28675
29172
|
* @returns [用户授权配置列表, AI代理配置列表, 错误信息]
|
|
28676
29173
|
*/
|
|
28677
|
-
GetAIProxyConfig(appId: string, themeAuthor: string, configTheme: string, vaccount?: string): Promise<[
|
|
29174
|
+
GetAIProxyConfig(appId: string, themeAuthor: string, configTheme: string, vaccount?: string): Promise<[
|
|
29175
|
+
UserProxyCallConfig[] | null,
|
|
29176
|
+
AIProxyConfig[] | null,
|
|
29177
|
+
Error | null
|
|
29178
|
+
]>;
|
|
28678
29179
|
/**
|
|
28679
29180
|
* 获取当前用户自身的AI代理授权信息
|
|
28680
29181
|
* @param appId 应用ID
|
|
@@ -28713,6 +29214,17 @@ interface IAIProxyOperations {
|
|
|
28713
29214
|
* @returns Promise<void>
|
|
28714
29215
|
* */
|
|
28715
29216
|
SetAICallConfig(callConfig: IAICallConfig): Promise<Error | null>;
|
|
29217
|
+
/**
|
|
29218
|
+
* 获取用户授权信息
|
|
29219
|
+
* @param params 授权参数
|
|
29220
|
+
* @param params.appId 应用ID
|
|
29221
|
+
* @param params.themeAuthor 主题作者的公钥
|
|
29222
|
+
* @param params.configTheme 配置主题
|
|
29223
|
+
* @param params.UserPubkey 用户公钥
|
|
29224
|
+
* @param params.vaccount 虚拟账户
|
|
29225
|
+
* @returns [授权信息, 错误信息]
|
|
29226
|
+
*/
|
|
29227
|
+
GetUserAIProxyAuth(params: GetUserAIProxyAuthParams): Promise<[authConfigs: ProxyCallConfig[] | null, error: Error | null]>;
|
|
28716
29228
|
}
|
|
28717
29229
|
|
|
28718
29230
|
/**
|
|
@@ -28738,23 +29250,28 @@ declare class AIProxyModule implements DCModule, IAIProxyOperations {
|
|
|
28738
29250
|
deleteProxyConfig(appId: string, configTheme: string): Promise<[number | null, Error | null]>;
|
|
28739
29251
|
configAIProxy(appId: string, configAuthor: string, configTheme: string, serviceName: string, serviceConfig?: AIProxyConfig, vaccount?: string): Promise<[boolean | null, Error | null]>;
|
|
28740
29252
|
configAuth(appId: string, configAuthor: string, configTheme: string, authPubkey: string, permission: AIProxyUserPermission, authConfig: ProxyCallConfig, vaccount?: string): Promise<[number | null, Error | null]>;
|
|
28741
|
-
GetAIProxyConfig(appId: string, themeAuthor: string, configTheme: string, vaccount?: string): Promise<[
|
|
29253
|
+
GetAIProxyConfig(appId: string, themeAuthor: string, configTheme: string, vaccount?: string): Promise<[
|
|
29254
|
+
UserProxyCallConfig[] | null,
|
|
29255
|
+
AIProxyConfig[] | null,
|
|
29256
|
+
Error | null
|
|
29257
|
+
]>;
|
|
28742
29258
|
GetUserOwnAIProxyAuth(appId: string, themeAuthor: string, configTheme: string): Promise<[authConfig: ProxyCallConfig | null, error: Error | null]>;
|
|
28743
29259
|
DoAIProxyCall(context: {
|
|
28744
29260
|
signal?: AbortSignal;
|
|
28745
29261
|
}, reqBody: string, forceRefresh: boolean, onStreamResponse: OnStreamResponseType, appId?: string, themeAuthor?: string, configTheme?: string, serviceName?: string, headers?: Record<string, string>, path?: string, model?: string): Promise<[number | null, Error | null]>;
|
|
28746
29262
|
/**
|
|
28747
|
-
|
|
28748
|
-
|
|
28749
|
-
|
|
28750
|
-
|
|
28751
|
-
|
|
28752
|
-
|
|
28753
|
-
|
|
28754
|
-
|
|
28755
|
-
|
|
28756
|
-
|
|
29263
|
+
* 设置AI调用的配置
|
|
29264
|
+
* @param appId 应用ID
|
|
29265
|
+
* @param themeAuthor 主题作者的公钥
|
|
29266
|
+
* @param configTheme 配置主题
|
|
29267
|
+
* @param serviceName 服务名称
|
|
29268
|
+
* @param headers 请求头(可选)
|
|
29269
|
+
* @param path 请求路径(可选)
|
|
29270
|
+
* @param model 模型名称(可选)
|
|
29271
|
+
* @returns Promise<void>
|
|
29272
|
+
* */
|
|
28757
29273
|
SetAICallConfig(callConfig: IAICallConfig): Promise<Error | null>;
|
|
29274
|
+
GetUserAIProxyAuth(params: GetUserAIProxyAuthParams): Promise<[authConfigs: ProxyCallConfig[] | null, error: Error | null]>;
|
|
28758
29275
|
/**
|
|
28759
29276
|
* 断言模块已初始化
|
|
28760
29277
|
*/
|
|
@@ -29229,4 +29746,4 @@ declare global {
|
|
|
29229
29746
|
}
|
|
29230
29747
|
|
|
29231
29748
|
export { AIProxyModule, AIStreamResponseFlag, AuthModule, BaseEntity, CacheModule, ClientModule, Column, CommentModule, CommentType, CoreModuleName, DC, DatabaseModule, Direction, Ed25519PrivKey, Ed25519PubKey, Entity, EntityRepository, Errors, FileModule, Index, KeyManager, KeyValueModule, LogLevel, MessageModule, ModuleSystem, NFTBindStatus, OffChainOpTimes, OffChainOpTimesLimit, OffChainSpaceLimit, PeerStatus, ThemePermission, UploadStatus, UtilModule, composeCompositeIndexValue, configureLogger, createLogger, dc_protocol, dial_timeout, extractSchemasFromSources, getColumns, getEntityName, getEntitySchema, getIndexes, isServiceWorkerActive, keyExpire, metadata, registerServiceWorker, updateServiceWorker, walletOrigin, walletUrl, walletWindowName };
|
|
29232
|
-
export type { AIChatMessage, AIChatMessageRequest, AIMessageContent, AIMessageMediaSource, AIProxyConfig, APPInfo, Account, AccountInfo, ColumnMeta, ColumnOptions, DCConnectInfo, DCContext, DCModule, EIP712SignReqMessage, EntityMeta, EntityOptions, FileTransmit, FindIndexOptions, FindValuesOptions, FunctionDef, IAICallConfig, IAppInfo, IAuthOperations, ICacheOperations, IClientOperations, ICommentOperations, IDatabaseOperations, IFileOperations, IKeyValueOperations, IMessageOperations, IUtilOperations, IndexField, IndexMeta, IndexOptions, ModelConfig, NormalizedIndexField, OnStreamResponseType, PrimitiveType, PrintableSchema, ProxyCallConfig, ResponseMessage, SendMessage, SignHandler, SignReqMessage, SignReqMessageData, SignResponseMessage, ThemeAuthInfo, ThemeComment, ThemeObj, ToolDefinition, User, UserProxyCallConfig };
|
|
29749
|
+
export type { AIChatMessage, AIChatMessageRequest, AIMessageContent, AIMessageMediaSource, AIProxyConfig, APPInfo, Account, AccountInfo, ColumnMeta, ColumnOptions, DCConnectInfo, DCContext, DCModule, EIP712SignReqMessage, EntityMeta, EntityOptions, FileTransmit, FindIndexOptions, FindValuesOptions, FunctionDef, GetUserAIProxyAuthParams, IAICallConfig, IAppInfo, IAuthOperations, ICacheOperations, IClientOperations, ICommentOperations, IDatabaseOperations, IFileOperations, IKeyValueOperations, IMessageOperations, IUtilOperations, IndexField, IndexMeta, IndexOptions, ModelConfig, NormalizedIndexField, OnStreamResponseType, PrimitiveType, PrintableSchema, ProxyCallConfig, ResponseMessage, SendMessage, SignHandler, SignReqMessage, SignReqMessageData, SignResponseMessage, ThemeAuthInfo, ThemeComment, ThemeObj, ToolDefinition, User, UserProxyCallConfig };
|