@aceplus/smartace-api 2.13.0-alpha.2 → 2.13.0-alpha.21
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 +4 -130
- package/auth.account_pb.js +97 -1079
- package/auth.account_pb_service.d.ts +0 -171
- package/auth.account_pb_service.js +0 -360
- package/meta.client_pb.d.ts +0 -1
- package/meta.client_pb.js +0 -2
- package/meta.spic_config_pb.d.ts +0 -67
- package/meta.spic_config_pb.js +1 -439
- package/meta.spic_config_pb_service.d.ts +0 -19
- package/meta.spic_config_pb_service.js +0 -40
- package/package.json +1 -1
- package/platform.local_account_internal_pb.d.ts +121 -0
- package/platform.local_account_internal_pb.js +903 -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 +77 -65
- package/platform.local_account_pb.js +739 -720
- package/platform.local_account_pb_service.d.ts +3 -60
- package/platform.local_account_pb_service.js +1 -121
- package/spic.cabinet_pb.d.ts +24 -0
- package/spic.cabinet_pb.js +134 -4
|
@@ -29,7 +29,7 @@ type LocalAccountGRPCRetrieve = {
|
|
|
29
29
|
readonly service: typeof LocalAccountGRPC;
|
|
30
30
|
readonly requestStream: false;
|
|
31
31
|
readonly responseStream: false;
|
|
32
|
-
readonly requestType: typeof
|
|
32
|
+
readonly requestType: typeof platform_local_account_pb.LocalAccountProto.RetrieveRequest;
|
|
33
33
|
readonly responseType: typeof platform_local_account_pb.LocalAccountProto;
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -132,33 +132,6 @@ type LocalAccountGRPCUpdateExpiredAt = {
|
|
|
132
132
|
readonly responseType: typeof platform_local_account_pb.LocalAccountProto;
|
|
133
133
|
};
|
|
134
134
|
|
|
135
|
-
type LocalAccountGRPCSetSystemAdminClient = {
|
|
136
|
-
readonly methodName: string;
|
|
137
|
-
readonly service: typeof LocalAccountGRPC;
|
|
138
|
-
readonly requestStream: false;
|
|
139
|
-
readonly responseStream: false;
|
|
140
|
-
readonly requestType: typeof platform_local_account_pb.LocalAccountProto.SetClientRequest;
|
|
141
|
-
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
type LocalAccountGRPCAddClient = {
|
|
145
|
-
readonly methodName: string;
|
|
146
|
-
readonly service: typeof LocalAccountGRPC;
|
|
147
|
-
readonly requestStream: false;
|
|
148
|
-
readonly responseStream: false;
|
|
149
|
-
readonly requestType: typeof platform_local_account_pb.LocalAccountProto.AddClientRequest;
|
|
150
|
-
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
type LocalAccountGRPCRemoveClient = {
|
|
154
|
-
readonly methodName: string;
|
|
155
|
-
readonly service: typeof LocalAccountGRPC;
|
|
156
|
-
readonly requestStream: false;
|
|
157
|
-
readonly responseStream: false;
|
|
158
|
-
readonly requestType: typeof platform_local_account_pb.LocalAccountProto.RemoveClientRequest;
|
|
159
|
-
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
160
|
-
};
|
|
161
|
-
|
|
162
135
|
type LocalAccountGRPCResendAdminUserInvitation = {
|
|
163
136
|
readonly methodName: string;
|
|
164
137
|
readonly service: typeof LocalAccountGRPC;
|
|
@@ -184,9 +157,6 @@ export class LocalAccountGRPC {
|
|
|
184
157
|
static readonly EnableAccount: LocalAccountGRPCEnableAccount;
|
|
185
158
|
static readonly DisableAccount: LocalAccountGRPCDisableAccount;
|
|
186
159
|
static readonly UpdateExpiredAt: LocalAccountGRPCUpdateExpiredAt;
|
|
187
|
-
static readonly SetSystemAdminClient: LocalAccountGRPCSetSystemAdminClient;
|
|
188
|
-
static readonly AddClient: LocalAccountGRPCAddClient;
|
|
189
|
-
static readonly RemoveClient: LocalAccountGRPCRemoveClient;
|
|
190
160
|
static readonly ResendAdminUserInvitation: LocalAccountGRPCResendAdminUserInvitation;
|
|
191
161
|
}
|
|
192
162
|
|
|
@@ -241,12 +211,12 @@ export class LocalAccountGRPCClient {
|
|
|
241
211
|
callback: (error: ServiceError|null, responseMessage: platform_local_account_pb.LocalAccountProto|null) => void
|
|
242
212
|
): UnaryResponse;
|
|
243
213
|
retrieve(
|
|
244
|
-
requestMessage:
|
|
214
|
+
requestMessage: platform_local_account_pb.LocalAccountProto.RetrieveRequest,
|
|
245
215
|
metadata: grpc.Metadata,
|
|
246
216
|
callback: (error: ServiceError|null, responseMessage: platform_local_account_pb.LocalAccountProto|null) => void
|
|
247
217
|
): UnaryResponse;
|
|
248
218
|
retrieve(
|
|
249
|
-
requestMessage:
|
|
219
|
+
requestMessage: platform_local_account_pb.LocalAccountProto.RetrieveRequest,
|
|
250
220
|
callback: (error: ServiceError|null, responseMessage: platform_local_account_pb.LocalAccountProto|null) => void
|
|
251
221
|
): UnaryResponse;
|
|
252
222
|
update(
|
|
@@ -348,33 +318,6 @@ export class LocalAccountGRPCClient {
|
|
|
348
318
|
requestMessage: platform_local_account_pb.LocalAccountProto.UpdateExpiredAt,
|
|
349
319
|
callback: (error: ServiceError|null, responseMessage: platform_local_account_pb.LocalAccountProto|null) => void
|
|
350
320
|
): UnaryResponse;
|
|
351
|
-
setSystemAdminClient(
|
|
352
|
-
requestMessage: platform_local_account_pb.LocalAccountProto.SetClientRequest,
|
|
353
|
-
metadata: grpc.Metadata,
|
|
354
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
355
|
-
): UnaryResponse;
|
|
356
|
-
setSystemAdminClient(
|
|
357
|
-
requestMessage: platform_local_account_pb.LocalAccountProto.SetClientRequest,
|
|
358
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
359
|
-
): UnaryResponse;
|
|
360
|
-
addClient(
|
|
361
|
-
requestMessage: platform_local_account_pb.LocalAccountProto.AddClientRequest,
|
|
362
|
-
metadata: grpc.Metadata,
|
|
363
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
364
|
-
): UnaryResponse;
|
|
365
|
-
addClient(
|
|
366
|
-
requestMessage: platform_local_account_pb.LocalAccountProto.AddClientRequest,
|
|
367
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
368
|
-
): UnaryResponse;
|
|
369
|
-
removeClient(
|
|
370
|
-
requestMessage: platform_local_account_pb.LocalAccountProto.RemoveClientRequest,
|
|
371
|
-
metadata: grpc.Metadata,
|
|
372
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
373
|
-
): UnaryResponse;
|
|
374
|
-
removeClient(
|
|
375
|
-
requestMessage: platform_local_account_pb.LocalAccountProto.RemoveClientRequest,
|
|
376
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
377
|
-
): UnaryResponse;
|
|
378
321
|
resendAdminUserInvitation(
|
|
379
322
|
requestMessage: platform_local_account_pb.LocalAccountProto.ResendInvitationRequest,
|
|
380
323
|
metadata: grpc.Metadata,
|
|
@@ -35,7 +35,7 @@ LocalAccountGRPC.Retrieve = {
|
|
|
35
35
|
service: LocalAccountGRPC,
|
|
36
36
|
requestStream: false,
|
|
37
37
|
responseStream: false,
|
|
38
|
-
requestType:
|
|
38
|
+
requestType: platform_local_account_pb.LocalAccountProto.RetrieveRequest,
|
|
39
39
|
responseType: platform_local_account_pb.LocalAccountProto
|
|
40
40
|
};
|
|
41
41
|
|
|
@@ -138,33 +138,6 @@ LocalAccountGRPC.UpdateExpiredAt = {
|
|
|
138
138
|
responseType: platform_local_account_pb.LocalAccountProto
|
|
139
139
|
};
|
|
140
140
|
|
|
141
|
-
LocalAccountGRPC.SetSystemAdminClient = {
|
|
142
|
-
methodName: "SetSystemAdminClient",
|
|
143
|
-
service: LocalAccountGRPC,
|
|
144
|
-
requestStream: false,
|
|
145
|
-
responseStream: false,
|
|
146
|
-
requestType: platform_local_account_pb.LocalAccountProto.SetClientRequest,
|
|
147
|
-
responseType: google_protobuf_empty_pb.Empty
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
LocalAccountGRPC.AddClient = {
|
|
151
|
-
methodName: "AddClient",
|
|
152
|
-
service: LocalAccountGRPC,
|
|
153
|
-
requestStream: false,
|
|
154
|
-
responseStream: false,
|
|
155
|
-
requestType: platform_local_account_pb.LocalAccountProto.AddClientRequest,
|
|
156
|
-
responseType: google_protobuf_empty_pb.Empty
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
LocalAccountGRPC.RemoveClient = {
|
|
160
|
-
methodName: "RemoveClient",
|
|
161
|
-
service: LocalAccountGRPC,
|
|
162
|
-
requestStream: false,
|
|
163
|
-
responseStream: false,
|
|
164
|
-
requestType: platform_local_account_pb.LocalAccountProto.RemoveClientRequest,
|
|
165
|
-
responseType: google_protobuf_empty_pb.Empty
|
|
166
|
-
};
|
|
167
|
-
|
|
168
141
|
LocalAccountGRPC.ResendAdminUserInvitation = {
|
|
169
142
|
methodName: "ResendAdminUserInvitation",
|
|
170
143
|
service: LocalAccountGRPC,
|
|
@@ -615,99 +588,6 @@ LocalAccountGRPCClient.prototype.updateExpiredAt = function updateExpiredAt(requ
|
|
|
615
588
|
};
|
|
616
589
|
};
|
|
617
590
|
|
|
618
|
-
LocalAccountGRPCClient.prototype.setSystemAdminClient = function setSystemAdminClient(requestMessage, metadata, callback) {
|
|
619
|
-
if (arguments.length === 2) {
|
|
620
|
-
callback = arguments[1];
|
|
621
|
-
}
|
|
622
|
-
var client = grpc.unary(LocalAccountGRPC.SetSystemAdminClient, {
|
|
623
|
-
request: requestMessage,
|
|
624
|
-
host: this.serviceHost,
|
|
625
|
-
metadata: metadata,
|
|
626
|
-
transport: this.options.transport,
|
|
627
|
-
debug: this.options.debug,
|
|
628
|
-
onEnd: function (response) {
|
|
629
|
-
if (callback) {
|
|
630
|
-
if (response.status !== grpc.Code.OK) {
|
|
631
|
-
var err = new Error(response.statusMessage);
|
|
632
|
-
err.code = response.status;
|
|
633
|
-
err.metadata = response.trailers;
|
|
634
|
-
callback(err, null);
|
|
635
|
-
} else {
|
|
636
|
-
callback(null, response.message);
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
});
|
|
641
|
-
return {
|
|
642
|
-
cancel: function () {
|
|
643
|
-
callback = null;
|
|
644
|
-
client.close();
|
|
645
|
-
}
|
|
646
|
-
};
|
|
647
|
-
};
|
|
648
|
-
|
|
649
|
-
LocalAccountGRPCClient.prototype.addClient = function addClient(requestMessage, metadata, callback) {
|
|
650
|
-
if (arguments.length === 2) {
|
|
651
|
-
callback = arguments[1];
|
|
652
|
-
}
|
|
653
|
-
var client = grpc.unary(LocalAccountGRPC.AddClient, {
|
|
654
|
-
request: requestMessage,
|
|
655
|
-
host: this.serviceHost,
|
|
656
|
-
metadata: metadata,
|
|
657
|
-
transport: this.options.transport,
|
|
658
|
-
debug: this.options.debug,
|
|
659
|
-
onEnd: function (response) {
|
|
660
|
-
if (callback) {
|
|
661
|
-
if (response.status !== grpc.Code.OK) {
|
|
662
|
-
var err = new Error(response.statusMessage);
|
|
663
|
-
err.code = response.status;
|
|
664
|
-
err.metadata = response.trailers;
|
|
665
|
-
callback(err, null);
|
|
666
|
-
} else {
|
|
667
|
-
callback(null, response.message);
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
}
|
|
671
|
-
});
|
|
672
|
-
return {
|
|
673
|
-
cancel: function () {
|
|
674
|
-
callback = null;
|
|
675
|
-
client.close();
|
|
676
|
-
}
|
|
677
|
-
};
|
|
678
|
-
};
|
|
679
|
-
|
|
680
|
-
LocalAccountGRPCClient.prototype.removeClient = function removeClient(requestMessage, metadata, callback) {
|
|
681
|
-
if (arguments.length === 2) {
|
|
682
|
-
callback = arguments[1];
|
|
683
|
-
}
|
|
684
|
-
var client = grpc.unary(LocalAccountGRPC.RemoveClient, {
|
|
685
|
-
request: requestMessage,
|
|
686
|
-
host: this.serviceHost,
|
|
687
|
-
metadata: metadata,
|
|
688
|
-
transport: this.options.transport,
|
|
689
|
-
debug: this.options.debug,
|
|
690
|
-
onEnd: function (response) {
|
|
691
|
-
if (callback) {
|
|
692
|
-
if (response.status !== grpc.Code.OK) {
|
|
693
|
-
var err = new Error(response.statusMessage);
|
|
694
|
-
err.code = response.status;
|
|
695
|
-
err.metadata = response.trailers;
|
|
696
|
-
callback(err, null);
|
|
697
|
-
} else {
|
|
698
|
-
callback(null, response.message);
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
});
|
|
703
|
-
return {
|
|
704
|
-
cancel: function () {
|
|
705
|
-
callback = null;
|
|
706
|
-
client.close();
|
|
707
|
-
}
|
|
708
|
-
};
|
|
709
|
-
};
|
|
710
|
-
|
|
711
591
|
LocalAccountGRPCClient.prototype.resendAdminUserInvitation = function resendAdminUserInvitation(requestMessage, metadata, callback) {
|
|
712
592
|
if (arguments.length === 2) {
|
|
713
593
|
callback = arguments[1];
|
package/spic.cabinet_pb.d.ts
CHANGED
|
@@ -75,6 +75,9 @@ export class CabinetProto extends jspb.Message {
|
|
|
75
75
|
getLastConfigUpdated(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
76
76
|
setLastConfigUpdated(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
77
77
|
|
|
78
|
+
getSpicType(): CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap];
|
|
79
|
+
setSpicType(value: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap]): void;
|
|
80
|
+
|
|
78
81
|
serializeBinary(): Uint8Array;
|
|
79
82
|
toObject(includeInstance?: boolean): CabinetProto.AsObject;
|
|
80
83
|
static toObject(includeInstance: boolean, msg: CabinetProto): CabinetProto.AsObject;
|
|
@@ -106,6 +109,7 @@ export namespace CabinetProto {
|
|
|
106
109
|
communicationTime: number,
|
|
107
110
|
lastConfigString: string,
|
|
108
111
|
lastConfigUpdated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
112
|
+
spicType: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap],
|
|
109
113
|
}
|
|
110
114
|
|
|
111
115
|
export class CreateRequest extends jspb.Message {
|
|
@@ -135,6 +139,9 @@ export namespace CabinetProto {
|
|
|
135
139
|
getClientId(): number;
|
|
136
140
|
setClientId(value: number): void;
|
|
137
141
|
|
|
142
|
+
getSpicType(): CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap];
|
|
143
|
+
setSpicType(value: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap]): void;
|
|
144
|
+
|
|
138
145
|
serializeBinary(): Uint8Array;
|
|
139
146
|
toObject(includeInstance?: boolean): CreateRequest.AsObject;
|
|
140
147
|
static toObject(includeInstance: boolean, msg: CreateRequest): CreateRequest.AsObject;
|
|
@@ -155,6 +162,7 @@ export namespace CabinetProto {
|
|
|
155
162
|
extIo2Name: string,
|
|
156
163
|
groupId: string,
|
|
157
164
|
clientId: number,
|
|
165
|
+
spicType: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap],
|
|
158
166
|
}
|
|
159
167
|
}
|
|
160
168
|
|
|
@@ -223,6 +231,9 @@ export namespace CabinetProto {
|
|
|
223
231
|
getClientId(): number;
|
|
224
232
|
setClientId(value: number): void;
|
|
225
233
|
|
|
234
|
+
getSpicType(): CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap];
|
|
235
|
+
setSpicType(value: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap]): void;
|
|
236
|
+
|
|
226
237
|
serializeBinary(): Uint8Array;
|
|
227
238
|
toObject(includeInstance?: boolean): UpdateRequest.AsObject;
|
|
228
239
|
static toObject(includeInstance: boolean, msg: UpdateRequest): UpdateRequest.AsObject;
|
|
@@ -244,6 +255,7 @@ export namespace CabinetProto {
|
|
|
244
255
|
extIo2Name: string,
|
|
245
256
|
groupId: string,
|
|
246
257
|
clientId: number,
|
|
258
|
+
spicType: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap],
|
|
247
259
|
}
|
|
248
260
|
}
|
|
249
261
|
|
|
@@ -317,6 +329,9 @@ export namespace CabinetProto {
|
|
|
317
329
|
getCount(): number;
|
|
318
330
|
setCount(value: number): void;
|
|
319
331
|
|
|
332
|
+
getSpicType(): CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap];
|
|
333
|
+
setSpicType(value: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap]): void;
|
|
334
|
+
|
|
320
335
|
serializeBinary(): Uint8Array;
|
|
321
336
|
toObject(includeInstance?: boolean): SearchRequest.AsObject;
|
|
322
337
|
static toObject(includeInstance: boolean, msg: SearchRequest): SearchRequest.AsObject;
|
|
@@ -335,6 +350,7 @@ export namespace CabinetProto {
|
|
|
335
350
|
clientId: number,
|
|
336
351
|
page: number,
|
|
337
352
|
count: number,
|
|
353
|
+
spicType: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap],
|
|
338
354
|
}
|
|
339
355
|
}
|
|
340
356
|
|
|
@@ -1216,6 +1232,14 @@ export namespace CabinetProto {
|
|
|
1216
1232
|
export const OpenRequestType: OpenRequestTypeMap;
|
|
1217
1233
|
}
|
|
1218
1234
|
|
|
1235
|
+
export interface SpicTypeMap {
|
|
1236
|
+
CABINET: 0;
|
|
1237
|
+
MANHOLE: 1;
|
|
1238
|
+
CLOSURE: 2;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
export const SpicType: SpicTypeMap;
|
|
1242
|
+
|
|
1219
1243
|
export interface StatusTypeMap {
|
|
1220
1244
|
STATE_IDLE: 0;
|
|
1221
1245
|
STATE_BUTTON: 1;
|
package/spic.cabinet_pb.js
CHANGED
|
@@ -63,6 +63,7 @@ goog.exportSymbol('proto.Spic.CabinetProto.RetrieveRequest', null, global);
|
|
|
63
63
|
goog.exportSymbol('proto.Spic.CabinetProto.RetrieveRequest.SearchCase', null, global);
|
|
64
64
|
goog.exportSymbol('proto.Spic.CabinetProto.SearchReply', null, global);
|
|
65
65
|
goog.exportSymbol('proto.Spic.CabinetProto.SearchRequest', null, global);
|
|
66
|
+
goog.exportSymbol('proto.Spic.CabinetProto.SpicType', null, global);
|
|
66
67
|
goog.exportSymbol('proto.Spic.CabinetProto.State', null, global);
|
|
67
68
|
goog.exportSymbol('proto.Spic.CabinetProto.State.SearchReply', null, global);
|
|
68
69
|
goog.exportSymbol('proto.Spic.CabinetProto.State.SearchRequest', null, global);
|
|
@@ -778,7 +779,8 @@ proto.Spic.CabinetProto.toObject = function(includeInstance, msg) {
|
|
|
778
779
|
batteryPercentage: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
779
780
|
communicationTime: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
780
781
|
lastConfigString: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
781
|
-
lastConfigUpdated: (f = msg.getLastConfigUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
782
|
+
lastConfigUpdated: (f = msg.getLastConfigUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
783
|
+
spicType: jspb.Message.getFieldWithDefault(msg, 20, 0)
|
|
782
784
|
};
|
|
783
785
|
|
|
784
786
|
if (includeInstance) {
|
|
@@ -896,6 +898,10 @@ proto.Spic.CabinetProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
896
898
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
897
899
|
msg.setLastConfigUpdated(value);
|
|
898
900
|
break;
|
|
901
|
+
case 20:
|
|
902
|
+
var value = /** @type {!proto.Spic.CabinetProto.SpicType} */ (reader.readEnum());
|
|
903
|
+
msg.setSpicType(value);
|
|
904
|
+
break;
|
|
899
905
|
default:
|
|
900
906
|
reader.skipField();
|
|
901
907
|
break;
|
|
@@ -1061,9 +1067,25 @@ proto.Spic.CabinetProto.serializeBinaryToWriter = function(message, writer) {
|
|
|
1061
1067
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1062
1068
|
);
|
|
1063
1069
|
}
|
|
1070
|
+
f = message.getSpicType();
|
|
1071
|
+
if (f !== 0.0) {
|
|
1072
|
+
writer.writeEnum(
|
|
1073
|
+
20,
|
|
1074
|
+
f
|
|
1075
|
+
);
|
|
1076
|
+
}
|
|
1064
1077
|
};
|
|
1065
1078
|
|
|
1066
1079
|
|
|
1080
|
+
/**
|
|
1081
|
+
* @enum {number}
|
|
1082
|
+
*/
|
|
1083
|
+
proto.Spic.CabinetProto.SpicType = {
|
|
1084
|
+
CABINET: 0,
|
|
1085
|
+
MANHOLE: 1,
|
|
1086
|
+
CLOSURE: 2
|
|
1087
|
+
};
|
|
1088
|
+
|
|
1067
1089
|
/**
|
|
1068
1090
|
* @enum {number}
|
|
1069
1091
|
*/
|
|
@@ -1138,7 +1160,8 @@ proto.Spic.CabinetProto.CreateRequest.toObject = function(includeInstance, msg)
|
|
|
1138
1160
|
extIo1Name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1139
1161
|
extIo2Name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1140
1162
|
groupId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1141
|
-
clientId: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
1163
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
1164
|
+
spicType: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
1142
1165
|
};
|
|
1143
1166
|
|
|
1144
1167
|
if (includeInstance) {
|
|
@@ -1208,6 +1231,10 @@ proto.Spic.CabinetProto.CreateRequest.deserializeBinaryFromReader = function(msg
|
|
|
1208
1231
|
var value = /** @type {number} */ (reader.readInt32());
|
|
1209
1232
|
msg.setClientId(value);
|
|
1210
1233
|
break;
|
|
1234
|
+
case 9:
|
|
1235
|
+
var value = /** @type {!proto.Spic.CabinetProto.SpicType} */ (reader.readEnum());
|
|
1236
|
+
msg.setSpicType(value);
|
|
1237
|
+
break;
|
|
1211
1238
|
default:
|
|
1212
1239
|
reader.skipField();
|
|
1213
1240
|
break;
|
|
@@ -1294,6 +1321,13 @@ proto.Spic.CabinetProto.CreateRequest.serializeBinaryToWriter = function(message
|
|
|
1294
1321
|
f
|
|
1295
1322
|
);
|
|
1296
1323
|
}
|
|
1324
|
+
f = message.getSpicType();
|
|
1325
|
+
if (f !== 0.0) {
|
|
1326
|
+
writer.writeEnum(
|
|
1327
|
+
9,
|
|
1328
|
+
f
|
|
1329
|
+
);
|
|
1330
|
+
}
|
|
1297
1331
|
};
|
|
1298
1332
|
|
|
1299
1333
|
|
|
@@ -1460,6 +1494,24 @@ proto.Spic.CabinetProto.CreateRequest.prototype.setClientId = function(value) {
|
|
|
1460
1494
|
};
|
|
1461
1495
|
|
|
1462
1496
|
|
|
1497
|
+
/**
|
|
1498
|
+
* optional SpicType spic_type = 9;
|
|
1499
|
+
* @return {!proto.Spic.CabinetProto.SpicType}
|
|
1500
|
+
*/
|
|
1501
|
+
proto.Spic.CabinetProto.CreateRequest.prototype.getSpicType = function() {
|
|
1502
|
+
return /** @type {!proto.Spic.CabinetProto.SpicType} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
1503
|
+
};
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* @param {!proto.Spic.CabinetProto.SpicType} value
|
|
1508
|
+
* @return {!proto.Spic.CabinetProto.CreateRequest} returns this
|
|
1509
|
+
*/
|
|
1510
|
+
proto.Spic.CabinetProto.CreateRequest.prototype.setSpicType = function(value) {
|
|
1511
|
+
return jspb.Message.setProto3EnumField(this, 9, value);
|
|
1512
|
+
};
|
|
1513
|
+
|
|
1514
|
+
|
|
1463
1515
|
|
|
1464
1516
|
/**
|
|
1465
1517
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -1722,7 +1774,8 @@ proto.Spic.CabinetProto.UpdateRequest.toObject = function(includeInstance, msg)
|
|
|
1722
1774
|
extIo1Name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1723
1775
|
extIo2Name: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1724
1776
|
groupId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1725
|
-
clientId: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
1777
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
1778
|
+
spicType: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
1726
1779
|
};
|
|
1727
1780
|
|
|
1728
1781
|
if (includeInstance) {
|
|
@@ -1796,6 +1849,10 @@ proto.Spic.CabinetProto.UpdateRequest.deserializeBinaryFromReader = function(msg
|
|
|
1796
1849
|
var value = /** @type {number} */ (reader.readInt32());
|
|
1797
1850
|
msg.setClientId(value);
|
|
1798
1851
|
break;
|
|
1852
|
+
case 10:
|
|
1853
|
+
var value = /** @type {!proto.Spic.CabinetProto.SpicType} */ (reader.readEnum());
|
|
1854
|
+
msg.setSpicType(value);
|
|
1855
|
+
break;
|
|
1799
1856
|
default:
|
|
1800
1857
|
reader.skipField();
|
|
1801
1858
|
break;
|
|
@@ -1889,6 +1946,13 @@ proto.Spic.CabinetProto.UpdateRequest.serializeBinaryToWriter = function(message
|
|
|
1889
1946
|
f
|
|
1890
1947
|
);
|
|
1891
1948
|
}
|
|
1949
|
+
f = message.getSpicType();
|
|
1950
|
+
if (f !== 0.0) {
|
|
1951
|
+
writer.writeEnum(
|
|
1952
|
+
10,
|
|
1953
|
+
f
|
|
1954
|
+
);
|
|
1955
|
+
}
|
|
1892
1956
|
};
|
|
1893
1957
|
|
|
1894
1958
|
|
|
@@ -2073,6 +2137,24 @@ proto.Spic.CabinetProto.UpdateRequest.prototype.setClientId = function(value) {
|
|
|
2073
2137
|
};
|
|
2074
2138
|
|
|
2075
2139
|
|
|
2140
|
+
/**
|
|
2141
|
+
* optional SpicType spic_type = 10;
|
|
2142
|
+
* @return {!proto.Spic.CabinetProto.SpicType}
|
|
2143
|
+
*/
|
|
2144
|
+
proto.Spic.CabinetProto.UpdateRequest.prototype.getSpicType = function() {
|
|
2145
|
+
return /** @type {!proto.Spic.CabinetProto.SpicType} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
2146
|
+
};
|
|
2147
|
+
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* @param {!proto.Spic.CabinetProto.SpicType} value
|
|
2151
|
+
* @return {!proto.Spic.CabinetProto.UpdateRequest} returns this
|
|
2152
|
+
*/
|
|
2153
|
+
proto.Spic.CabinetProto.UpdateRequest.prototype.setSpicType = function(value) {
|
|
2154
|
+
return jspb.Message.setProto3EnumField(this, 10, value);
|
|
2155
|
+
};
|
|
2156
|
+
|
|
2157
|
+
|
|
2076
2158
|
|
|
2077
2159
|
/**
|
|
2078
2160
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -2433,7 +2515,8 @@ proto.Spic.CabinetProto.SearchRequest.toObject = function(includeInstance, msg)
|
|
|
2433
2515
|
groupId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2434
2516
|
clientId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
2435
2517
|
page: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
2436
|
-
count: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
2518
|
+
count: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
2519
|
+
spicType: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
2437
2520
|
};
|
|
2438
2521
|
|
|
2439
2522
|
if (includeInstance) {
|
|
@@ -2494,6 +2577,10 @@ proto.Spic.CabinetProto.SearchRequest.deserializeBinaryFromReader = function(msg
|
|
|
2494
2577
|
var value = /** @type {number} */ (reader.readInt32());
|
|
2495
2578
|
msg.setCount(value);
|
|
2496
2579
|
break;
|
|
2580
|
+
case 7:
|
|
2581
|
+
var value = /** @type {!proto.Spic.CabinetProto.SpicType} */ (reader.readEnum());
|
|
2582
|
+
msg.setSpicType(value);
|
|
2583
|
+
break;
|
|
2497
2584
|
default:
|
|
2498
2585
|
reader.skipField();
|
|
2499
2586
|
break;
|
|
@@ -2565,6 +2652,13 @@ proto.Spic.CabinetProto.SearchRequest.serializeBinaryToWriter = function(message
|
|
|
2565
2652
|
f
|
|
2566
2653
|
);
|
|
2567
2654
|
}
|
|
2655
|
+
f = message.getSpicType();
|
|
2656
|
+
if (f !== 0.0) {
|
|
2657
|
+
writer.writeEnum(
|
|
2658
|
+
7,
|
|
2659
|
+
f
|
|
2660
|
+
);
|
|
2661
|
+
}
|
|
2568
2662
|
};
|
|
2569
2663
|
|
|
2570
2664
|
|
|
@@ -2676,6 +2770,24 @@ proto.Spic.CabinetProto.SearchRequest.prototype.setCount = function(value) {
|
|
|
2676
2770
|
};
|
|
2677
2771
|
|
|
2678
2772
|
|
|
2773
|
+
/**
|
|
2774
|
+
* optional SpicType spic_type = 7;
|
|
2775
|
+
* @return {!proto.Spic.CabinetProto.SpicType}
|
|
2776
|
+
*/
|
|
2777
|
+
proto.Spic.CabinetProto.SearchRequest.prototype.getSpicType = function() {
|
|
2778
|
+
return /** @type {!proto.Spic.CabinetProto.SpicType} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
2779
|
+
};
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
/**
|
|
2783
|
+
* @param {!proto.Spic.CabinetProto.SpicType} value
|
|
2784
|
+
* @return {!proto.Spic.CabinetProto.SearchRequest} returns this
|
|
2785
|
+
*/
|
|
2786
|
+
proto.Spic.CabinetProto.SearchRequest.prototype.setSpicType = function(value) {
|
|
2787
|
+
return jspb.Message.setProto3EnumField(this, 7, value);
|
|
2788
|
+
};
|
|
2789
|
+
|
|
2790
|
+
|
|
2679
2791
|
|
|
2680
2792
|
/**
|
|
2681
2793
|
* List of repeated fields within this message type.
|
|
@@ -9336,6 +9448,24 @@ proto.Spic.CabinetProto.prototype.hasLastConfigUpdated = function() {
|
|
|
9336
9448
|
};
|
|
9337
9449
|
|
|
9338
9450
|
|
|
9451
|
+
/**
|
|
9452
|
+
* optional SpicType spic_type = 20;
|
|
9453
|
+
* @return {!proto.Spic.CabinetProto.SpicType}
|
|
9454
|
+
*/
|
|
9455
|
+
proto.Spic.CabinetProto.prototype.getSpicType = function() {
|
|
9456
|
+
return /** @type {!proto.Spic.CabinetProto.SpicType} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
9457
|
+
};
|
|
9458
|
+
|
|
9459
|
+
|
|
9460
|
+
/**
|
|
9461
|
+
* @param {!proto.Spic.CabinetProto.SpicType} value
|
|
9462
|
+
* @return {!proto.Spic.CabinetProto} returns this
|
|
9463
|
+
*/
|
|
9464
|
+
proto.Spic.CabinetProto.prototype.setSpicType = function(value) {
|
|
9465
|
+
return jspb.Message.setProto3EnumField(this, 20, value);
|
|
9466
|
+
};
|
|
9467
|
+
|
|
9468
|
+
|
|
9339
9469
|
|
|
9340
9470
|
|
|
9341
9471
|
|