@aceplus/smartace-api 2.13.0-alpha.17 → 2.13.0-alpha.19
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/auth.account_pb.d.ts +0 -11
- package/auth.account_pb.js +1 -40
- package/package.json +1 -1
- package/platform.local_account_pb.d.ts +14 -3
- package/platform.local_account_pb.js +45 -6
package/auth.account_pb.d.ts
CHANGED
|
@@ -32,9 +32,6 @@ export class AccountProto extends jspb.Message {
|
|
|
32
32
|
getActive(): string;
|
|
33
33
|
setActive(value: string): void;
|
|
34
34
|
|
|
35
|
-
getType(): AccountProto.AccountTypesMap[keyof AccountProto.AccountTypesMap];
|
|
36
|
-
setType(value: AccountProto.AccountTypesMap[keyof AccountProto.AccountTypesMap]): void;
|
|
37
|
-
|
|
38
35
|
serializeBinary(): Uint8Array;
|
|
39
36
|
toObject(includeInstance?: boolean): AccountProto.AsObject;
|
|
40
37
|
static toObject(includeInstance: boolean, msg: AccountProto): AccountProto.AsObject;
|
|
@@ -55,7 +52,6 @@ export namespace AccountProto {
|
|
|
55
52
|
locale: string,
|
|
56
53
|
company: string,
|
|
57
54
|
active: string,
|
|
58
|
-
type: AccountProto.AccountTypesMap[keyof AccountProto.AccountTypesMap],
|
|
59
55
|
}
|
|
60
56
|
|
|
61
57
|
export class CreateAdminRequest extends jspb.Message {
|
|
@@ -554,13 +550,6 @@ export namespace AccountProto {
|
|
|
554
550
|
}
|
|
555
551
|
}
|
|
556
552
|
|
|
557
|
-
export interface AccountTypesMap {
|
|
558
|
-
EMAIL: 0;
|
|
559
|
-
MOBILE: 1;
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
export const AccountTypes: AccountTypesMap;
|
|
563
|
-
|
|
564
553
|
export interface RolesMap {
|
|
565
554
|
SYSTEM_ADMIN: 0;
|
|
566
555
|
ADMIN: 1;
|
package/auth.account_pb.js
CHANGED
|
@@ -30,7 +30,6 @@ goog.object.extend(proto, platform_pagination_pb);
|
|
|
30
30
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
31
31
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
32
32
|
goog.exportSymbol('proto.Auth.AccountProto', null, global);
|
|
33
|
-
goog.exportSymbol('proto.Auth.AccountProto.AccountTypes', null, global);
|
|
34
33
|
goog.exportSymbol('proto.Auth.AccountProto.AccountsActivationStatuses', null, global);
|
|
35
34
|
goog.exportSymbol('proto.Auth.AccountProto.ActivateAccountRequest', null, global);
|
|
36
35
|
goog.exportSymbol('proto.Auth.AccountProto.ActivationStatuses', null, global);
|
|
@@ -511,8 +510,7 @@ proto.Auth.AccountProto.toObject = function(includeInstance, msg) {
|
|
|
511
510
|
lastName: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
512
511
|
locale: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
513
512
|
company: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
514
|
-
active: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
515
|
-
type: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
513
|
+
active: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
516
514
|
};
|
|
517
515
|
|
|
518
516
|
if (includeInstance) {
|
|
@@ -581,10 +579,6 @@ proto.Auth.AccountProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
581
579
|
var value = /** @type {string} */ (reader.readString());
|
|
582
580
|
msg.setActive(value);
|
|
583
581
|
break;
|
|
584
|
-
case 9:
|
|
585
|
-
var value = /** @type {!proto.Auth.AccountProto.AccountTypes} */ (reader.readEnum());
|
|
586
|
-
msg.setType(value);
|
|
587
|
-
break;
|
|
588
582
|
default:
|
|
589
583
|
reader.skipField();
|
|
590
584
|
break;
|
|
@@ -670,24 +664,9 @@ proto.Auth.AccountProto.serializeBinaryToWriter = function(message, writer) {
|
|
|
670
664
|
f
|
|
671
665
|
);
|
|
672
666
|
}
|
|
673
|
-
f = message.getType();
|
|
674
|
-
if (f !== 0.0) {
|
|
675
|
-
writer.writeEnum(
|
|
676
|
-
9,
|
|
677
|
-
f
|
|
678
|
-
);
|
|
679
|
-
}
|
|
680
667
|
};
|
|
681
668
|
|
|
682
669
|
|
|
683
|
-
/**
|
|
684
|
-
* @enum {number}
|
|
685
|
-
*/
|
|
686
|
-
proto.Auth.AccountProto.AccountTypes = {
|
|
687
|
-
EMAIL: 0,
|
|
688
|
-
MOBILE: 1
|
|
689
|
-
};
|
|
690
|
-
|
|
691
670
|
/**
|
|
692
671
|
* @enum {number}
|
|
693
672
|
*/
|
|
@@ -4245,22 +4224,4 @@ proto.Auth.AccountProto.prototype.setActive = function(value) {
|
|
|
4245
4224
|
};
|
|
4246
4225
|
|
|
4247
4226
|
|
|
4248
|
-
/**
|
|
4249
|
-
* optional AccountTypes type = 9;
|
|
4250
|
-
* @return {!proto.Auth.AccountProto.AccountTypes}
|
|
4251
|
-
*/
|
|
4252
|
-
proto.Auth.AccountProto.prototype.getType = function() {
|
|
4253
|
-
return /** @type {!proto.Auth.AccountProto.AccountTypes} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
4254
|
-
};
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
/**
|
|
4258
|
-
* @param {!proto.Auth.AccountProto.AccountTypes} value
|
|
4259
|
-
* @return {!proto.Auth.AccountProto} returns this
|
|
4260
|
-
*/
|
|
4261
|
-
proto.Auth.AccountProto.prototype.setType = function(value) {
|
|
4262
|
-
return jspb.Message.setProto3EnumField(this, 9, value);
|
|
4263
|
-
};
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
4227
|
goog.object.extend(exports, proto.Auth);
|
package/package.json
CHANGED
|
@@ -55,8 +55,11 @@ export class LocalAccountProto extends jspb.Message {
|
|
|
55
55
|
getClientId(): number;
|
|
56
56
|
setClientId(value: number): void;
|
|
57
57
|
|
|
58
|
-
getType():
|
|
59
|
-
setType(value:
|
|
58
|
+
getType(): LocalAccountProto.AccountTypesMap[keyof LocalAccountProto.AccountTypesMap];
|
|
59
|
+
setType(value: LocalAccountProto.AccountTypesMap[keyof LocalAccountProto.AccountTypesMap]): void;
|
|
60
|
+
|
|
61
|
+
getClientName(): string;
|
|
62
|
+
setClientName(value: string): void;
|
|
60
63
|
|
|
61
64
|
serializeBinary(): Uint8Array;
|
|
62
65
|
toObject(includeInstance?: boolean): LocalAccountProto.AsObject;
|
|
@@ -84,7 +87,8 @@ export namespace LocalAccountProto {
|
|
|
84
87
|
status: auth_account_pb.AccountProto.ActivationStatusesMap[keyof auth_account_pb.AccountProto.ActivationStatusesMap],
|
|
85
88
|
deleted: boolean,
|
|
86
89
|
clientId: number,
|
|
87
|
-
type:
|
|
90
|
+
type: LocalAccountProto.AccountTypesMap[keyof LocalAccountProto.AccountTypesMap],
|
|
91
|
+
clientName: string,
|
|
88
92
|
}
|
|
89
93
|
|
|
90
94
|
export class CreateAdminRequest extends jspb.Message {
|
|
@@ -392,5 +396,12 @@ export namespace LocalAccountProto {
|
|
|
392
396
|
id: number,
|
|
393
397
|
}
|
|
394
398
|
}
|
|
399
|
+
|
|
400
|
+
export interface AccountTypesMap {
|
|
401
|
+
ADMIN: 0;
|
|
402
|
+
APP: 1;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export const AccountTypes: AccountTypesMap;
|
|
395
406
|
}
|
|
396
407
|
|
|
@@ -32,6 +32,7 @@ goog.object.extend(proto, platform_pagination_pb);
|
|
|
32
32
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
33
33
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
34
34
|
goog.exportSymbol('proto.Platform.LocalAccountProto', null, global);
|
|
35
|
+
goog.exportSymbol('proto.Platform.LocalAccountProto.AccountTypes', null, global);
|
|
35
36
|
goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAdminRequest', null, global);
|
|
36
37
|
goog.exportSymbol('proto.Platform.LocalAccountProto.CreateAppRequest', null, global);
|
|
37
38
|
goog.exportSymbol('proto.Platform.LocalAccountProto.DisableAccount', null, global);
|
|
@@ -326,7 +327,8 @@ proto.Platform.LocalAccountProto.toObject = function(includeInstance, msg) {
|
|
|
326
327
|
status: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
327
328
|
deleted: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
328
329
|
clientId: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
329
|
-
type: jspb.Message.getFieldWithDefault(msg, 15, 0)
|
|
330
|
+
type: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
331
|
+
clientName: jspb.Message.getFieldWithDefault(msg, 16, "")
|
|
330
332
|
};
|
|
331
333
|
|
|
332
334
|
if (includeInstance) {
|
|
@@ -423,9 +425,13 @@ proto.Platform.LocalAccountProto.deserializeBinaryFromReader = function(msg, rea
|
|
|
423
425
|
msg.setClientId(value);
|
|
424
426
|
break;
|
|
425
427
|
case 15:
|
|
426
|
-
var value = /** @type {!proto.
|
|
428
|
+
var value = /** @type {!proto.Platform.LocalAccountProto.AccountTypes} */ (reader.readEnum());
|
|
427
429
|
msg.setType(value);
|
|
428
430
|
break;
|
|
431
|
+
case 16:
|
|
432
|
+
var value = /** @type {string} */ (reader.readString());
|
|
433
|
+
msg.setClientName(value);
|
|
434
|
+
break;
|
|
429
435
|
default:
|
|
430
436
|
reader.skipField();
|
|
431
437
|
break;
|
|
@@ -561,9 +567,24 @@ proto.Platform.LocalAccountProto.serializeBinaryToWriter = function(message, wri
|
|
|
561
567
|
f
|
|
562
568
|
);
|
|
563
569
|
}
|
|
570
|
+
f = message.getClientName();
|
|
571
|
+
if (f.length > 0) {
|
|
572
|
+
writer.writeString(
|
|
573
|
+
16,
|
|
574
|
+
f
|
|
575
|
+
);
|
|
576
|
+
}
|
|
564
577
|
};
|
|
565
578
|
|
|
566
579
|
|
|
580
|
+
/**
|
|
581
|
+
* @enum {number}
|
|
582
|
+
*/
|
|
583
|
+
proto.Platform.LocalAccountProto.AccountTypes = {
|
|
584
|
+
ADMIN: 0,
|
|
585
|
+
APP: 1
|
|
586
|
+
};
|
|
587
|
+
|
|
567
588
|
|
|
568
589
|
/**
|
|
569
590
|
* List of repeated fields within this message type.
|
|
@@ -3003,16 +3024,16 @@ proto.Platform.LocalAccountProto.prototype.setClientId = function(value) {
|
|
|
3003
3024
|
|
|
3004
3025
|
|
|
3005
3026
|
/**
|
|
3006
|
-
* optional
|
|
3007
|
-
* @return {!proto.
|
|
3027
|
+
* optional AccountTypes type = 15;
|
|
3028
|
+
* @return {!proto.Platform.LocalAccountProto.AccountTypes}
|
|
3008
3029
|
*/
|
|
3009
3030
|
proto.Platform.LocalAccountProto.prototype.getType = function() {
|
|
3010
|
-
return /** @type {!proto.
|
|
3031
|
+
return /** @type {!proto.Platform.LocalAccountProto.AccountTypes} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
3011
3032
|
};
|
|
3012
3033
|
|
|
3013
3034
|
|
|
3014
3035
|
/**
|
|
3015
|
-
* @param {!proto.
|
|
3036
|
+
* @param {!proto.Platform.LocalAccountProto.AccountTypes} value
|
|
3016
3037
|
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3017
3038
|
*/
|
|
3018
3039
|
proto.Platform.LocalAccountProto.prototype.setType = function(value) {
|
|
@@ -3020,4 +3041,22 @@ proto.Platform.LocalAccountProto.prototype.setType = function(value) {
|
|
|
3020
3041
|
};
|
|
3021
3042
|
|
|
3022
3043
|
|
|
3044
|
+
/**
|
|
3045
|
+
* optional string client_name = 16;
|
|
3046
|
+
* @return {string}
|
|
3047
|
+
*/
|
|
3048
|
+
proto.Platform.LocalAccountProto.prototype.getClientName = function() {
|
|
3049
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
3050
|
+
};
|
|
3051
|
+
|
|
3052
|
+
|
|
3053
|
+
/**
|
|
3054
|
+
* @param {string} value
|
|
3055
|
+
* @return {!proto.Platform.LocalAccountProto} returns this
|
|
3056
|
+
*/
|
|
3057
|
+
proto.Platform.LocalAccountProto.prototype.setClientName = function(value) {
|
|
3058
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
3059
|
+
};
|
|
3060
|
+
|
|
3061
|
+
|
|
3023
3062
|
goog.object.extend(exports, proto.Platform);
|