@aceplus/smartace-api 2.12.0 → 2.13.0-alpha.10
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/README.md +162 -158
- package/auth.account_pb.d.ts +20 -106
- package/auth.account_pb.js +141 -819
- package/auth.account_pb_service.d.ts +19 -133
- package/auth.account_pb_service.js +17 -257
- package/meta.client_pb.d.ts +167 -0
- package/meta.client_pb.js +1266 -0
- package/meta.client_pb_service.d.ts +122 -0
- package/meta.client_pb_service.js +183 -0
- package/meta.spic_config_pb.d.ts +5 -5
- package/meta.spic_config_pb.js +20 -20
- package/package.json +1 -1
- package/platform.client_pb.d.ts +4 -0
- package/platform.client_pb.js +31 -1
- package/platform.local_account_internal_pb.d.ts +151 -0
- package/platform.local_account_internal_pb.js +1136 -0
- package/platform.local_account_internal_pb_service.d.ts +121 -0
- package/platform.local_account_internal_pb_service.js +182 -0
- package/platform.local_account_pb.d.ts +4 -50
- package/platform.local_account_pb.js +31 -386
- package/platform.local_account_pb_service.d.ts +0 -57
- package/platform.local_account_pb_service.js +0 -120
- package/spic.cabinet_pb.d.ts +24 -0
- package/spic.cabinet_pb.js +134 -4
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
// package: Meta
|
|
2
|
+
// file: meta.client.proto
|
|
3
|
+
|
|
4
|
+
import * as meta_client_pb from "./meta.client_pb";
|
|
5
|
+
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
6
|
+
import * as platform_client_pb from "./platform.client_pb";
|
|
7
|
+
import {grpc} from "@improbable-eng/grpc-web";
|
|
8
|
+
|
|
9
|
+
type ClientMetaGRPCRetrieve = {
|
|
10
|
+
readonly methodName: string;
|
|
11
|
+
readonly service: typeof ClientMetaGRPC;
|
|
12
|
+
readonly requestStream: false;
|
|
13
|
+
readonly responseStream: false;
|
|
14
|
+
readonly requestType: typeof platform_client_pb.ClientProto.RetrieveRequest;
|
|
15
|
+
readonly responseType: typeof meta_client_pb.ClientProtoMeta;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
type ClientMetaGRPCAddContact = {
|
|
19
|
+
readonly methodName: string;
|
|
20
|
+
readonly service: typeof ClientMetaGRPC;
|
|
21
|
+
readonly requestStream: false;
|
|
22
|
+
readonly responseStream: false;
|
|
23
|
+
readonly requestType: typeof meta_client_pb.ClientContactProto.AddRequest;
|
|
24
|
+
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
type ClientMetaGRPCRemoveContact = {
|
|
28
|
+
readonly methodName: string;
|
|
29
|
+
readonly service: typeof ClientMetaGRPC;
|
|
30
|
+
readonly requestStream: false;
|
|
31
|
+
readonly responseStream: false;
|
|
32
|
+
readonly requestType: typeof meta_client_pb.ClientContactProto.RemoveRequest;
|
|
33
|
+
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
type ClientMetaGRPCEditContact = {
|
|
37
|
+
readonly methodName: string;
|
|
38
|
+
readonly service: typeof ClientMetaGRPC;
|
|
39
|
+
readonly requestStream: false;
|
|
40
|
+
readonly responseStream: false;
|
|
41
|
+
readonly requestType: typeof meta_client_pb.ClientContactProto.EditRequest;
|
|
42
|
+
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export class ClientMetaGRPC {
|
|
46
|
+
static readonly serviceName: string;
|
|
47
|
+
static readonly Retrieve: ClientMetaGRPCRetrieve;
|
|
48
|
+
static readonly AddContact: ClientMetaGRPCAddContact;
|
|
49
|
+
static readonly RemoveContact: ClientMetaGRPCRemoveContact;
|
|
50
|
+
static readonly EditContact: ClientMetaGRPCEditContact;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
54
|
+
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
55
|
+
|
|
56
|
+
interface UnaryResponse {
|
|
57
|
+
cancel(): void;
|
|
58
|
+
}
|
|
59
|
+
interface ResponseStream<T> {
|
|
60
|
+
cancel(): void;
|
|
61
|
+
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
62
|
+
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
63
|
+
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
64
|
+
}
|
|
65
|
+
interface RequestStream<T> {
|
|
66
|
+
write(message: T): RequestStream<T>;
|
|
67
|
+
end(): void;
|
|
68
|
+
cancel(): void;
|
|
69
|
+
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
70
|
+
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
71
|
+
}
|
|
72
|
+
interface BidirectionalStream<ReqT, ResT> {
|
|
73
|
+
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
74
|
+
end(): void;
|
|
75
|
+
cancel(): void;
|
|
76
|
+
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
77
|
+
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
78
|
+
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export class ClientMetaGRPCClient {
|
|
82
|
+
readonly serviceHost: string;
|
|
83
|
+
|
|
84
|
+
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
85
|
+
retrieve(
|
|
86
|
+
requestMessage: platform_client_pb.ClientProto.RetrieveRequest,
|
|
87
|
+
metadata: grpc.Metadata,
|
|
88
|
+
callback: (error: ServiceError|null, responseMessage: meta_client_pb.ClientProtoMeta|null) => void
|
|
89
|
+
): UnaryResponse;
|
|
90
|
+
retrieve(
|
|
91
|
+
requestMessage: platform_client_pb.ClientProto.RetrieveRequest,
|
|
92
|
+
callback: (error: ServiceError|null, responseMessage: meta_client_pb.ClientProtoMeta|null) => void
|
|
93
|
+
): UnaryResponse;
|
|
94
|
+
addContact(
|
|
95
|
+
requestMessage: meta_client_pb.ClientContactProto.AddRequest,
|
|
96
|
+
metadata: grpc.Metadata,
|
|
97
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
98
|
+
): UnaryResponse;
|
|
99
|
+
addContact(
|
|
100
|
+
requestMessage: meta_client_pb.ClientContactProto.AddRequest,
|
|
101
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
102
|
+
): UnaryResponse;
|
|
103
|
+
removeContact(
|
|
104
|
+
requestMessage: meta_client_pb.ClientContactProto.RemoveRequest,
|
|
105
|
+
metadata: grpc.Metadata,
|
|
106
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
107
|
+
): UnaryResponse;
|
|
108
|
+
removeContact(
|
|
109
|
+
requestMessage: meta_client_pb.ClientContactProto.RemoveRequest,
|
|
110
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
111
|
+
): UnaryResponse;
|
|
112
|
+
editContact(
|
|
113
|
+
requestMessage: meta_client_pb.ClientContactProto.EditRequest,
|
|
114
|
+
metadata: grpc.Metadata,
|
|
115
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
116
|
+
): UnaryResponse;
|
|
117
|
+
editContact(
|
|
118
|
+
requestMessage: meta_client_pb.ClientContactProto.EditRequest,
|
|
119
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
120
|
+
): UnaryResponse;
|
|
121
|
+
}
|
|
122
|
+
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
// package: Meta
|
|
2
|
+
// file: meta.client.proto
|
|
3
|
+
|
|
4
|
+
var meta_client_pb = require("./meta.client_pb");
|
|
5
|
+
var google_protobuf_empty_pb = require("google-protobuf/google/protobuf/empty_pb");
|
|
6
|
+
var platform_client_pb = require("./platform.client_pb");
|
|
7
|
+
var grpc = require("@improbable-eng/grpc-web").grpc;
|
|
8
|
+
|
|
9
|
+
var ClientMetaGRPC = (function () {
|
|
10
|
+
function ClientMetaGRPC() {}
|
|
11
|
+
ClientMetaGRPC.serviceName = "Meta.ClientMetaGRPC";
|
|
12
|
+
return ClientMetaGRPC;
|
|
13
|
+
}());
|
|
14
|
+
|
|
15
|
+
ClientMetaGRPC.Retrieve = {
|
|
16
|
+
methodName: "Retrieve",
|
|
17
|
+
service: ClientMetaGRPC,
|
|
18
|
+
requestStream: false,
|
|
19
|
+
responseStream: false,
|
|
20
|
+
requestType: platform_client_pb.ClientProto.RetrieveRequest,
|
|
21
|
+
responseType: meta_client_pb.ClientProtoMeta
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
ClientMetaGRPC.AddContact = {
|
|
25
|
+
methodName: "AddContact",
|
|
26
|
+
service: ClientMetaGRPC,
|
|
27
|
+
requestStream: false,
|
|
28
|
+
responseStream: false,
|
|
29
|
+
requestType: meta_client_pb.ClientContactProto.AddRequest,
|
|
30
|
+
responseType: google_protobuf_empty_pb.Empty
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
ClientMetaGRPC.RemoveContact = {
|
|
34
|
+
methodName: "RemoveContact",
|
|
35
|
+
service: ClientMetaGRPC,
|
|
36
|
+
requestStream: false,
|
|
37
|
+
responseStream: false,
|
|
38
|
+
requestType: meta_client_pb.ClientContactProto.RemoveRequest,
|
|
39
|
+
responseType: google_protobuf_empty_pb.Empty
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
ClientMetaGRPC.EditContact = {
|
|
43
|
+
methodName: "EditContact",
|
|
44
|
+
service: ClientMetaGRPC,
|
|
45
|
+
requestStream: false,
|
|
46
|
+
responseStream: false,
|
|
47
|
+
requestType: meta_client_pb.ClientContactProto.EditRequest,
|
|
48
|
+
responseType: google_protobuf_empty_pb.Empty
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
exports.ClientMetaGRPC = ClientMetaGRPC;
|
|
52
|
+
|
|
53
|
+
function ClientMetaGRPCClient(serviceHost, options) {
|
|
54
|
+
this.serviceHost = serviceHost;
|
|
55
|
+
this.options = options || {};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
ClientMetaGRPCClient.prototype.retrieve = function retrieve(requestMessage, metadata, callback) {
|
|
59
|
+
if (arguments.length === 2) {
|
|
60
|
+
callback = arguments[1];
|
|
61
|
+
}
|
|
62
|
+
var client = grpc.unary(ClientMetaGRPC.Retrieve, {
|
|
63
|
+
request: requestMessage,
|
|
64
|
+
host: this.serviceHost,
|
|
65
|
+
metadata: metadata,
|
|
66
|
+
transport: this.options.transport,
|
|
67
|
+
debug: this.options.debug,
|
|
68
|
+
onEnd: function (response) {
|
|
69
|
+
if (callback) {
|
|
70
|
+
if (response.status !== grpc.Code.OK) {
|
|
71
|
+
var err = new Error(response.statusMessage);
|
|
72
|
+
err.code = response.status;
|
|
73
|
+
err.metadata = response.trailers;
|
|
74
|
+
callback(err, null);
|
|
75
|
+
} else {
|
|
76
|
+
callback(null, response.message);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
return {
|
|
82
|
+
cancel: function () {
|
|
83
|
+
callback = null;
|
|
84
|
+
client.close();
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
ClientMetaGRPCClient.prototype.addContact = function addContact(requestMessage, metadata, callback) {
|
|
90
|
+
if (arguments.length === 2) {
|
|
91
|
+
callback = arguments[1];
|
|
92
|
+
}
|
|
93
|
+
var client = grpc.unary(ClientMetaGRPC.AddContact, {
|
|
94
|
+
request: requestMessage,
|
|
95
|
+
host: this.serviceHost,
|
|
96
|
+
metadata: metadata,
|
|
97
|
+
transport: this.options.transport,
|
|
98
|
+
debug: this.options.debug,
|
|
99
|
+
onEnd: function (response) {
|
|
100
|
+
if (callback) {
|
|
101
|
+
if (response.status !== grpc.Code.OK) {
|
|
102
|
+
var err = new Error(response.statusMessage);
|
|
103
|
+
err.code = response.status;
|
|
104
|
+
err.metadata = response.trailers;
|
|
105
|
+
callback(err, null);
|
|
106
|
+
} else {
|
|
107
|
+
callback(null, response.message);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
return {
|
|
113
|
+
cancel: function () {
|
|
114
|
+
callback = null;
|
|
115
|
+
client.close();
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
ClientMetaGRPCClient.prototype.removeContact = function removeContact(requestMessage, metadata, callback) {
|
|
121
|
+
if (arguments.length === 2) {
|
|
122
|
+
callback = arguments[1];
|
|
123
|
+
}
|
|
124
|
+
var client = grpc.unary(ClientMetaGRPC.RemoveContact, {
|
|
125
|
+
request: requestMessage,
|
|
126
|
+
host: this.serviceHost,
|
|
127
|
+
metadata: metadata,
|
|
128
|
+
transport: this.options.transport,
|
|
129
|
+
debug: this.options.debug,
|
|
130
|
+
onEnd: function (response) {
|
|
131
|
+
if (callback) {
|
|
132
|
+
if (response.status !== grpc.Code.OK) {
|
|
133
|
+
var err = new Error(response.statusMessage);
|
|
134
|
+
err.code = response.status;
|
|
135
|
+
err.metadata = response.trailers;
|
|
136
|
+
callback(err, null);
|
|
137
|
+
} else {
|
|
138
|
+
callback(null, response.message);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
return {
|
|
144
|
+
cancel: function () {
|
|
145
|
+
callback = null;
|
|
146
|
+
client.close();
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
ClientMetaGRPCClient.prototype.editContact = function editContact(requestMessage, metadata, callback) {
|
|
152
|
+
if (arguments.length === 2) {
|
|
153
|
+
callback = arguments[1];
|
|
154
|
+
}
|
|
155
|
+
var client = grpc.unary(ClientMetaGRPC.EditContact, {
|
|
156
|
+
request: requestMessage,
|
|
157
|
+
host: this.serviceHost,
|
|
158
|
+
metadata: metadata,
|
|
159
|
+
transport: this.options.transport,
|
|
160
|
+
debug: this.options.debug,
|
|
161
|
+
onEnd: function (response) {
|
|
162
|
+
if (callback) {
|
|
163
|
+
if (response.status !== grpc.Code.OK) {
|
|
164
|
+
var err = new Error(response.statusMessage);
|
|
165
|
+
err.code = response.status;
|
|
166
|
+
err.metadata = response.trailers;
|
|
167
|
+
callback(err, null);
|
|
168
|
+
} else {
|
|
169
|
+
callback(null, response.message);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
return {
|
|
175
|
+
cancel: function () {
|
|
176
|
+
callback = null;
|
|
177
|
+
client.close();
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
exports.ClientMetaGRPCClient = ClientMetaGRPCClient;
|
|
183
|
+
|
package/meta.spic_config_pb.d.ts
CHANGED
|
@@ -126,10 +126,10 @@ export namespace TemperatureConfigurationProto {
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
export class SearchTemplateReply extends jspb.Message {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
clearTemplatesList(): void;
|
|
130
|
+
getTemplatesList(): Array<TemperatureConfigurationProto>;
|
|
131
|
+
setTemplatesList(value: Array<TemperatureConfigurationProto>): void;
|
|
132
|
+
addTemplates(value?: TemperatureConfigurationProto, index?: number): TemperatureConfigurationProto;
|
|
133
133
|
|
|
134
134
|
hasPagination(): boolean;
|
|
135
135
|
clearPagination(): void;
|
|
@@ -148,7 +148,7 @@ export namespace TemperatureConfigurationProto {
|
|
|
148
148
|
|
|
149
149
|
export namespace SearchTemplateReply {
|
|
150
150
|
export type AsObject = {
|
|
151
|
-
|
|
151
|
+
templatesList: Array<TemperatureConfigurationProto.AsObject>,
|
|
152
152
|
pagination?: platform_pagination_pb.PaginationProto.AsObject,
|
|
153
153
|
}
|
|
154
154
|
}
|
package/meta.spic_config_pb.js
CHANGED
|
@@ -933,8 +933,8 @@ proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.toObject
|
|
|
933
933
|
*/
|
|
934
934
|
proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.toObject = function(includeInstance, msg) {
|
|
935
935
|
var f, obj = {
|
|
936
|
-
|
|
937
|
-
|
|
936
|
+
templatesList: jspb.Message.toObjectList(msg.getTemplatesList(),
|
|
937
|
+
proto.Meta.TemperatureConfigurationProto.toObject, includeInstance),
|
|
938
938
|
pagination: (f = msg.getPagination()) && platform_pagination_pb.PaginationProto.toObject(includeInstance, f)
|
|
939
939
|
};
|
|
940
940
|
|
|
@@ -973,9 +973,9 @@ proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.deserializeBinaryFr
|
|
|
973
973
|
var field = reader.getFieldNumber();
|
|
974
974
|
switch (field) {
|
|
975
975
|
case 1:
|
|
976
|
-
var value = new
|
|
977
|
-
reader.readMessage(value,
|
|
978
|
-
msg.
|
|
976
|
+
var value = new proto.Meta.TemperatureConfigurationProto;
|
|
977
|
+
reader.readMessage(value,proto.Meta.TemperatureConfigurationProto.deserializeBinaryFromReader);
|
|
978
|
+
msg.addTemplates(value);
|
|
979
979
|
break;
|
|
980
980
|
case 2:
|
|
981
981
|
var value = new platform_pagination_pb.PaginationProto;
|
|
@@ -1011,12 +1011,12 @@ proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.serialize
|
|
|
1011
1011
|
*/
|
|
1012
1012
|
proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.serializeBinaryToWriter = function(message, writer) {
|
|
1013
1013
|
var f = undefined;
|
|
1014
|
-
f = message.
|
|
1014
|
+
f = message.getTemplatesList();
|
|
1015
1015
|
if (f.length > 0) {
|
|
1016
1016
|
writer.writeRepeatedMessage(
|
|
1017
1017
|
1,
|
|
1018
1018
|
f,
|
|
1019
|
-
|
|
1019
|
+
proto.Meta.TemperatureConfigurationProto.serializeBinaryToWriter
|
|
1020
1020
|
);
|
|
1021
1021
|
}
|
|
1022
1022
|
f = message.getPagination();
|
|
@@ -1031,31 +1031,31 @@ proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.serializeBinaryToWr
|
|
|
1031
1031
|
|
|
1032
1032
|
|
|
1033
1033
|
/**
|
|
1034
|
-
* repeated
|
|
1035
|
-
* @return {!Array<!proto.
|
|
1034
|
+
* repeated TemperatureConfigurationProto templates = 1;
|
|
1035
|
+
* @return {!Array<!proto.Meta.TemperatureConfigurationProto>}
|
|
1036
1036
|
*/
|
|
1037
|
-
proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.
|
|
1038
|
-
return /** @type{!Array<!proto.
|
|
1039
|
-
jspb.Message.getRepeatedWrapperField(this,
|
|
1037
|
+
proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.getTemplatesList = function() {
|
|
1038
|
+
return /** @type{!Array<!proto.Meta.TemperatureConfigurationProto>} */ (
|
|
1039
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Meta.TemperatureConfigurationProto, 1));
|
|
1040
1040
|
};
|
|
1041
1041
|
|
|
1042
1042
|
|
|
1043
1043
|
/**
|
|
1044
|
-
* @param {!Array<!proto.
|
|
1044
|
+
* @param {!Array<!proto.Meta.TemperatureConfigurationProto>} value
|
|
1045
1045
|
* @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} returns this
|
|
1046
1046
|
*/
|
|
1047
|
-
proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.
|
|
1047
|
+
proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.setTemplatesList = function(value) {
|
|
1048
1048
|
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1049
1049
|
};
|
|
1050
1050
|
|
|
1051
1051
|
|
|
1052
1052
|
/**
|
|
1053
|
-
* @param {!proto.
|
|
1053
|
+
* @param {!proto.Meta.TemperatureConfigurationProto=} opt_value
|
|
1054
1054
|
* @param {number=} opt_index
|
|
1055
|
-
* @return {!proto.
|
|
1055
|
+
* @return {!proto.Meta.TemperatureConfigurationProto}
|
|
1056
1056
|
*/
|
|
1057
|
-
proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.
|
|
1058
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.
|
|
1057
|
+
proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.addTemplates = function(opt_value, opt_index) {
|
|
1058
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Meta.TemperatureConfigurationProto, opt_index);
|
|
1059
1059
|
};
|
|
1060
1060
|
|
|
1061
1061
|
|
|
@@ -1063,8 +1063,8 @@ proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.addCabine
|
|
|
1063
1063
|
* Clears the list making it empty but non-null.
|
|
1064
1064
|
* @return {!proto.Meta.TemperatureConfigurationProto.SearchTemplateReply} returns this
|
|
1065
1065
|
*/
|
|
1066
|
-
proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.
|
|
1067
|
-
return this.
|
|
1066
|
+
proto.Meta.TemperatureConfigurationProto.SearchTemplateReply.prototype.clearTemplatesList = function() {
|
|
1067
|
+
return this.setTemplatesList([]);
|
|
1068
1068
|
};
|
|
1069
1069
|
|
|
1070
1070
|
|
package/package.json
CHANGED
package/platform.client_pb.d.ts
CHANGED
|
@@ -160,6 +160,9 @@ export namespace ClientProto {
|
|
|
160
160
|
getIspublic(): boolean;
|
|
161
161
|
setIspublic(value: boolean): void;
|
|
162
162
|
|
|
163
|
+
getShowdrumtracking(): boolean;
|
|
164
|
+
setShowdrumtracking(value: boolean): void;
|
|
165
|
+
|
|
163
166
|
serializeBinary(): Uint8Array;
|
|
164
167
|
toObject(includeInstance?: boolean): SearchRequest.AsObject;
|
|
165
168
|
static toObject(includeInstance: boolean, msg: SearchRequest): SearchRequest.AsObject;
|
|
@@ -177,6 +180,7 @@ export namespace ClientProto {
|
|
|
177
180
|
page: number,
|
|
178
181
|
count: number,
|
|
179
182
|
ispublic: boolean,
|
|
183
|
+
showdrumtracking: boolean,
|
|
180
184
|
}
|
|
181
185
|
}
|
|
182
186
|
|
package/platform.client_pb.js
CHANGED
|
@@ -1079,7 +1079,8 @@ proto.Platform.ClientProto.SearchRequest.toObject = function(includeInstance, ms
|
|
|
1079
1079
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1080
1080
|
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1081
1081
|
count: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1082
|
-
ispublic: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
1082
|
+
ispublic: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
1083
|
+
showdrumtracking: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
1083
1084
|
};
|
|
1084
1085
|
|
|
1085
1086
|
if (includeInstance) {
|
|
@@ -1138,6 +1139,10 @@ proto.Platform.ClientProto.SearchRequest.deserializeBinaryFromReader = function(
|
|
|
1138
1139
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
1139
1140
|
msg.setIspublic(value);
|
|
1140
1141
|
break;
|
|
1142
|
+
case 6:
|
|
1143
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1144
|
+
msg.setShowdrumtracking(value);
|
|
1145
|
+
break;
|
|
1141
1146
|
default:
|
|
1142
1147
|
reader.skipField();
|
|
1143
1148
|
break;
|
|
@@ -1202,6 +1207,13 @@ proto.Platform.ClientProto.SearchRequest.serializeBinaryToWriter = function(mess
|
|
|
1202
1207
|
f
|
|
1203
1208
|
);
|
|
1204
1209
|
}
|
|
1210
|
+
f = message.getShowdrumtracking();
|
|
1211
|
+
if (f) {
|
|
1212
|
+
writer.writeBool(
|
|
1213
|
+
6,
|
|
1214
|
+
f
|
|
1215
|
+
);
|
|
1216
|
+
}
|
|
1205
1217
|
};
|
|
1206
1218
|
|
|
1207
1219
|
|
|
@@ -1314,6 +1326,24 @@ proto.Platform.ClientProto.SearchRequest.prototype.setIspublic = function(value)
|
|
|
1314
1326
|
};
|
|
1315
1327
|
|
|
1316
1328
|
|
|
1329
|
+
/**
|
|
1330
|
+
* optional bool showDrumTracking = 6;
|
|
1331
|
+
* @return {boolean}
|
|
1332
|
+
*/
|
|
1333
|
+
proto.Platform.ClientProto.SearchRequest.prototype.getShowdrumtracking = function() {
|
|
1334
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* @param {boolean} value
|
|
1340
|
+
* @return {!proto.Platform.ClientProto.SearchRequest} returns this
|
|
1341
|
+
*/
|
|
1342
|
+
proto.Platform.ClientProto.SearchRequest.prototype.setShowdrumtracking = function(value) {
|
|
1343
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
1344
|
+
};
|
|
1345
|
+
|
|
1346
|
+
|
|
1317
1347
|
|
|
1318
1348
|
|
|
1319
1349
|
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
// package: Platform
|
|
2
|
+
// file: platform.local_account_internal.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as auth_account_pb from "./auth.account_pb";
|
|
6
|
+
import * as platform_local_account_pb from "./platform.local_account_pb";
|
|
7
|
+
import * as google_api_annotations_pb from "./google/api/annotations_pb";
|
|
8
|
+
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
9
|
+
|
|
10
|
+
export class LocalAccountExtendedProto extends jspb.Message {
|
|
11
|
+
hasAccount(): boolean;
|
|
12
|
+
clearAccount(): void;
|
|
13
|
+
getAccount(): platform_local_account_pb.LocalAccountProto | undefined;
|
|
14
|
+
setAccount(value?: platform_local_account_pb.LocalAccountProto): void;
|
|
15
|
+
|
|
16
|
+
clearClientGroupsList(): void;
|
|
17
|
+
getClientGroupsList(): Array<LocalAccountExtendedProto.ClientGroupProto>;
|
|
18
|
+
setClientGroupsList(value: Array<LocalAccountExtendedProto.ClientGroupProto>): void;
|
|
19
|
+
addClientGroups(value?: LocalAccountExtendedProto.ClientGroupProto, index?: number): LocalAccountExtendedProto.ClientGroupProto;
|
|
20
|
+
|
|
21
|
+
serializeBinary(): Uint8Array;
|
|
22
|
+
toObject(includeInstance?: boolean): LocalAccountExtendedProto.AsObject;
|
|
23
|
+
static toObject(includeInstance: boolean, msg: LocalAccountExtendedProto): LocalAccountExtendedProto.AsObject;
|
|
24
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
25
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
26
|
+
static serializeBinaryToWriter(message: LocalAccountExtendedProto, writer: jspb.BinaryWriter): void;
|
|
27
|
+
static deserializeBinary(bytes: Uint8Array): LocalAccountExtendedProto;
|
|
28
|
+
static deserializeBinaryFromReader(message: LocalAccountExtendedProto, reader: jspb.BinaryReader): LocalAccountExtendedProto;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export namespace LocalAccountExtendedProto {
|
|
32
|
+
export type AsObject = {
|
|
33
|
+
account?: platform_local_account_pb.LocalAccountProto.AsObject,
|
|
34
|
+
clientGroupsList: Array<LocalAccountExtendedProto.ClientGroupProto.AsObject>,
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export class RetrieveRequest extends jspb.Message {
|
|
38
|
+
getId(): number;
|
|
39
|
+
setId(value: number): void;
|
|
40
|
+
|
|
41
|
+
serializeBinary(): Uint8Array;
|
|
42
|
+
toObject(includeInstance?: boolean): RetrieveRequest.AsObject;
|
|
43
|
+
static toObject(includeInstance: boolean, msg: RetrieveRequest): RetrieveRequest.AsObject;
|
|
44
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
45
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
46
|
+
static serializeBinaryToWriter(message: RetrieveRequest, writer: jspb.BinaryWriter): void;
|
|
47
|
+
static deserializeBinary(bytes: Uint8Array): RetrieveRequest;
|
|
48
|
+
static deserializeBinaryFromReader(message: RetrieveRequest, reader: jspb.BinaryReader): RetrieveRequest;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export namespace RetrieveRequest {
|
|
52
|
+
export type AsObject = {
|
|
53
|
+
id: number,
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export class DeleteRequest extends jspb.Message {
|
|
58
|
+
getId(): number;
|
|
59
|
+
setId(value: number): void;
|
|
60
|
+
|
|
61
|
+
serializeBinary(): Uint8Array;
|
|
62
|
+
toObject(includeInstance?: boolean): DeleteRequest.AsObject;
|
|
63
|
+
static toObject(includeInstance: boolean, msg: DeleteRequest): DeleteRequest.AsObject;
|
|
64
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
65
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
66
|
+
static serializeBinaryToWriter(message: DeleteRequest, writer: jspb.BinaryWriter): void;
|
|
67
|
+
static deserializeBinary(bytes: Uint8Array): DeleteRequest;
|
|
68
|
+
static deserializeBinaryFromReader(message: DeleteRequest, reader: jspb.BinaryReader): DeleteRequest;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export namespace DeleteRequest {
|
|
72
|
+
export type AsObject = {
|
|
73
|
+
id: number,
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export class AddClientRequest extends jspb.Message {
|
|
78
|
+
hasAccount(): boolean;
|
|
79
|
+
clearAccount(): void;
|
|
80
|
+
getAccount(): auth_account_pb.AccountProto | undefined;
|
|
81
|
+
setAccount(value?: auth_account_pb.AccountProto): void;
|
|
82
|
+
|
|
83
|
+
getClientId(): number;
|
|
84
|
+
setClientId(value: number): void;
|
|
85
|
+
|
|
86
|
+
serializeBinary(): Uint8Array;
|
|
87
|
+
toObject(includeInstance?: boolean): AddClientRequest.AsObject;
|
|
88
|
+
static toObject(includeInstance: boolean, msg: AddClientRequest): AddClientRequest.AsObject;
|
|
89
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
90
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
91
|
+
static serializeBinaryToWriter(message: AddClientRequest, writer: jspb.BinaryWriter): void;
|
|
92
|
+
static deserializeBinary(bytes: Uint8Array): AddClientRequest;
|
|
93
|
+
static deserializeBinaryFromReader(message: AddClientRequest, reader: jspb.BinaryReader): AddClientRequest;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export namespace AddClientRequest {
|
|
97
|
+
export type AsObject = {
|
|
98
|
+
account?: auth_account_pb.AccountProto.AsObject,
|
|
99
|
+
clientId: number,
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export class RemoveClientRequest extends jspb.Message {
|
|
104
|
+
getId(): number;
|
|
105
|
+
setId(value: number): void;
|
|
106
|
+
|
|
107
|
+
getClientId(): number;
|
|
108
|
+
setClientId(value: number): void;
|
|
109
|
+
|
|
110
|
+
serializeBinary(): Uint8Array;
|
|
111
|
+
toObject(includeInstance?: boolean): RemoveClientRequest.AsObject;
|
|
112
|
+
static toObject(includeInstance: boolean, msg: RemoveClientRequest): RemoveClientRequest.AsObject;
|
|
113
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
114
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
115
|
+
static serializeBinaryToWriter(message: RemoveClientRequest, writer: jspb.BinaryWriter): void;
|
|
116
|
+
static deserializeBinary(bytes: Uint8Array): RemoveClientRequest;
|
|
117
|
+
static deserializeBinaryFromReader(message: RemoveClientRequest, reader: jspb.BinaryReader): RemoveClientRequest;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export namespace RemoveClientRequest {
|
|
121
|
+
export type AsObject = {
|
|
122
|
+
id: number,
|
|
123
|
+
clientId: number,
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export class ClientGroupProto extends jspb.Message {
|
|
128
|
+
getClientId(): number;
|
|
129
|
+
setClientId(value: number): void;
|
|
130
|
+
|
|
131
|
+
getGroupId(): string;
|
|
132
|
+
setGroupId(value: string): void;
|
|
133
|
+
|
|
134
|
+
serializeBinary(): Uint8Array;
|
|
135
|
+
toObject(includeInstance?: boolean): ClientGroupProto.AsObject;
|
|
136
|
+
static toObject(includeInstance: boolean, msg: ClientGroupProto): ClientGroupProto.AsObject;
|
|
137
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
138
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
139
|
+
static serializeBinaryToWriter(message: ClientGroupProto, writer: jspb.BinaryWriter): void;
|
|
140
|
+
static deserializeBinary(bytes: Uint8Array): ClientGroupProto;
|
|
141
|
+
static deserializeBinaryFromReader(message: ClientGroupProto, reader: jspb.BinaryReader): ClientGroupProto;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export namespace ClientGroupProto {
|
|
145
|
+
export type AsObject = {
|
|
146
|
+
clientId: number,
|
|
147
|
+
groupId: string,
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|