@aceplus/smartace-api 3.2.1 → 3.3.0-alpha.2
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 -0
- package/auth.account_pb.js +31 -1
- package/auth.cluster_pb.d.ts +0 -116
- package/auth.cluster_pb.js +97 -976
- package/auth.cluster_pb_service.d.ts +0 -57
- package/auth.cluster_pb_service.js +0 -120
- package/auth.email_pb.d.ts +0 -60
- package/auth.email_pb.js +0 -452
- package/auth.email_pb_service.d.ts +0 -19
- package/auth.email_pb_service.js +0 -40
- package/auth.push_notification_pb.d.ts +1 -119
- package/auth.push_notification_pb.js +2 -880
- package/auth.push_notification_pb_service.d.ts +0 -57
- package/auth.push_notification_pb_service.js +0 -120
- package/meta.spic_alert_pb.d.ts +230 -0
- package/meta.spic_alert_pb.js +1615 -0
- package/meta.spic_alert_pb_service.d.ts +121 -0
- package/meta.spic_alert_pb_service.js +182 -0
- package/meta.spic_config_pb.d.ts +0 -29
- package/meta.spic_config_pb.js +0 -226
- package/meta.spic_config_pb_service.d.ts +11 -31
- package/meta.spic_config_pb_service.js +19 -60
- package/meta.spic_pb.d.ts +36 -0
- package/meta.spic_pb.js +254 -0
- package/meta.spic_pb_service.d.ts +64 -0
- package/meta.spic_pb_service.js +62 -0
- package/package.json +1 -1
|
@@ -5,15 +5,6 @@ import * as auth_push_notification_pb from "./auth.push_notification_pb";
|
|
|
5
5
|
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
6
6
|
import {grpc} from "@improbable-eng/grpc-web";
|
|
7
7
|
|
|
8
|
-
type PushNotificationGRPCSendActive = {
|
|
9
|
-
readonly methodName: string;
|
|
10
|
-
readonly service: typeof PushNotificationGRPC;
|
|
11
|
-
readonly requestStream: false;
|
|
12
|
-
readonly responseStream: false;
|
|
13
|
-
readonly requestType: typeof auth_push_notification_pb.PushNotificationProto.ActiveRequest;
|
|
14
|
-
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
8
|
type PushNotificationGRPCSendOpen = {
|
|
18
9
|
readonly methodName: string;
|
|
19
10
|
readonly service: typeof PushNotificationGRPC;
|
|
@@ -23,30 +14,9 @@ type PushNotificationGRPCSendOpen = {
|
|
|
23
14
|
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
24
15
|
};
|
|
25
16
|
|
|
26
|
-
type PushNotificationGRPCSendInfoPush = {
|
|
27
|
-
readonly methodName: string;
|
|
28
|
-
readonly service: typeof PushNotificationGRPC;
|
|
29
|
-
readonly requestStream: false;
|
|
30
|
-
readonly responseStream: false;
|
|
31
|
-
readonly requestType: typeof auth_push_notification_pb.PushNotificationProto.InfoPushRequest;
|
|
32
|
-
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
type PushNotificationGRPCSendExpiredOpening = {
|
|
36
|
-
readonly methodName: string;
|
|
37
|
-
readonly service: typeof PushNotificationGRPC;
|
|
38
|
-
readonly requestStream: false;
|
|
39
|
-
readonly responseStream: false;
|
|
40
|
-
readonly requestType: typeof auth_push_notification_pb.PushNotificationProto.ExpiredOpeningRequest;
|
|
41
|
-
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
17
|
export class PushNotificationGRPC {
|
|
45
18
|
static readonly serviceName: string;
|
|
46
|
-
static readonly SendActive: PushNotificationGRPCSendActive;
|
|
47
19
|
static readonly SendOpen: PushNotificationGRPCSendOpen;
|
|
48
|
-
static readonly SendInfoPush: PushNotificationGRPCSendInfoPush;
|
|
49
|
-
static readonly SendExpiredOpening: PushNotificationGRPCSendExpiredOpening;
|
|
50
20
|
}
|
|
51
21
|
|
|
52
22
|
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
@@ -81,15 +51,6 @@ export class PushNotificationGRPCClient {
|
|
|
81
51
|
readonly serviceHost: string;
|
|
82
52
|
|
|
83
53
|
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
84
|
-
sendActive(
|
|
85
|
-
requestMessage: auth_push_notification_pb.PushNotificationProto.ActiveRequest,
|
|
86
|
-
metadata: grpc.Metadata,
|
|
87
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
88
|
-
): UnaryResponse;
|
|
89
|
-
sendActive(
|
|
90
|
-
requestMessage: auth_push_notification_pb.PushNotificationProto.ActiveRequest,
|
|
91
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
92
|
-
): UnaryResponse;
|
|
93
54
|
sendOpen(
|
|
94
55
|
requestMessage: auth_push_notification_pb.PushNotificationProto.OpenRequest,
|
|
95
56
|
metadata: grpc.Metadata,
|
|
@@ -99,23 +60,5 @@ export class PushNotificationGRPCClient {
|
|
|
99
60
|
requestMessage: auth_push_notification_pb.PushNotificationProto.OpenRequest,
|
|
100
61
|
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
101
62
|
): UnaryResponse;
|
|
102
|
-
sendInfoPush(
|
|
103
|
-
requestMessage: auth_push_notification_pb.PushNotificationProto.InfoPushRequest,
|
|
104
|
-
metadata: grpc.Metadata,
|
|
105
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
106
|
-
): UnaryResponse;
|
|
107
|
-
sendInfoPush(
|
|
108
|
-
requestMessage: auth_push_notification_pb.PushNotificationProto.InfoPushRequest,
|
|
109
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
110
|
-
): UnaryResponse;
|
|
111
|
-
sendExpiredOpening(
|
|
112
|
-
requestMessage: auth_push_notification_pb.PushNotificationProto.ExpiredOpeningRequest,
|
|
113
|
-
metadata: grpc.Metadata,
|
|
114
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
115
|
-
): UnaryResponse;
|
|
116
|
-
sendExpiredOpening(
|
|
117
|
-
requestMessage: auth_push_notification_pb.PushNotificationProto.ExpiredOpeningRequest,
|
|
118
|
-
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
119
|
-
): UnaryResponse;
|
|
120
63
|
}
|
|
121
64
|
|
|
@@ -11,15 +11,6 @@ var PushNotificationGRPC = (function () {
|
|
|
11
11
|
return PushNotificationGRPC;
|
|
12
12
|
}());
|
|
13
13
|
|
|
14
|
-
PushNotificationGRPC.SendActive = {
|
|
15
|
-
methodName: "SendActive",
|
|
16
|
-
service: PushNotificationGRPC,
|
|
17
|
-
requestStream: false,
|
|
18
|
-
responseStream: false,
|
|
19
|
-
requestType: auth_push_notification_pb.PushNotificationProto.ActiveRequest,
|
|
20
|
-
responseType: google_protobuf_empty_pb.Empty
|
|
21
|
-
};
|
|
22
|
-
|
|
23
14
|
PushNotificationGRPC.SendOpen = {
|
|
24
15
|
methodName: "SendOpen",
|
|
25
16
|
service: PushNotificationGRPC,
|
|
@@ -29,24 +20,6 @@ PushNotificationGRPC.SendOpen = {
|
|
|
29
20
|
responseType: google_protobuf_empty_pb.Empty
|
|
30
21
|
};
|
|
31
22
|
|
|
32
|
-
PushNotificationGRPC.SendInfoPush = {
|
|
33
|
-
methodName: "SendInfoPush",
|
|
34
|
-
service: PushNotificationGRPC,
|
|
35
|
-
requestStream: false,
|
|
36
|
-
responseStream: false,
|
|
37
|
-
requestType: auth_push_notification_pb.PushNotificationProto.InfoPushRequest,
|
|
38
|
-
responseType: google_protobuf_empty_pb.Empty
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
PushNotificationGRPC.SendExpiredOpening = {
|
|
42
|
-
methodName: "SendExpiredOpening",
|
|
43
|
-
service: PushNotificationGRPC,
|
|
44
|
-
requestStream: false,
|
|
45
|
-
responseStream: false,
|
|
46
|
-
requestType: auth_push_notification_pb.PushNotificationProto.ExpiredOpeningRequest,
|
|
47
|
-
responseType: google_protobuf_empty_pb.Empty
|
|
48
|
-
};
|
|
49
|
-
|
|
50
23
|
exports.PushNotificationGRPC = PushNotificationGRPC;
|
|
51
24
|
|
|
52
25
|
function PushNotificationGRPCClient(serviceHost, options) {
|
|
@@ -54,37 +27,6 @@ function PushNotificationGRPCClient(serviceHost, options) {
|
|
|
54
27
|
this.options = options || {};
|
|
55
28
|
}
|
|
56
29
|
|
|
57
|
-
PushNotificationGRPCClient.prototype.sendActive = function sendActive(requestMessage, metadata, callback) {
|
|
58
|
-
if (arguments.length === 2) {
|
|
59
|
-
callback = arguments[1];
|
|
60
|
-
}
|
|
61
|
-
var client = grpc.unary(PushNotificationGRPC.SendActive, {
|
|
62
|
-
request: requestMessage,
|
|
63
|
-
host: this.serviceHost,
|
|
64
|
-
metadata: metadata,
|
|
65
|
-
transport: this.options.transport,
|
|
66
|
-
debug: this.options.debug,
|
|
67
|
-
onEnd: function (response) {
|
|
68
|
-
if (callback) {
|
|
69
|
-
if (response.status !== grpc.Code.OK) {
|
|
70
|
-
var err = new Error(response.statusMessage);
|
|
71
|
-
err.code = response.status;
|
|
72
|
-
err.metadata = response.trailers;
|
|
73
|
-
callback(err, null);
|
|
74
|
-
} else {
|
|
75
|
-
callback(null, response.message);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
return {
|
|
81
|
-
cancel: function () {
|
|
82
|
-
callback = null;
|
|
83
|
-
client.close();
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
|
|
88
30
|
PushNotificationGRPCClient.prototype.sendOpen = function sendOpen(requestMessage, metadata, callback) {
|
|
89
31
|
if (arguments.length === 2) {
|
|
90
32
|
callback = arguments[1];
|
|
@@ -116,67 +58,5 @@ PushNotificationGRPCClient.prototype.sendOpen = function sendOpen(requestMessage
|
|
|
116
58
|
};
|
|
117
59
|
};
|
|
118
60
|
|
|
119
|
-
PushNotificationGRPCClient.prototype.sendInfoPush = function sendInfoPush(requestMessage, metadata, callback) {
|
|
120
|
-
if (arguments.length === 2) {
|
|
121
|
-
callback = arguments[1];
|
|
122
|
-
}
|
|
123
|
-
var client = grpc.unary(PushNotificationGRPC.SendInfoPush, {
|
|
124
|
-
request: requestMessage,
|
|
125
|
-
host: this.serviceHost,
|
|
126
|
-
metadata: metadata,
|
|
127
|
-
transport: this.options.transport,
|
|
128
|
-
debug: this.options.debug,
|
|
129
|
-
onEnd: function (response) {
|
|
130
|
-
if (callback) {
|
|
131
|
-
if (response.status !== grpc.Code.OK) {
|
|
132
|
-
var err = new Error(response.statusMessage);
|
|
133
|
-
err.code = response.status;
|
|
134
|
-
err.metadata = response.trailers;
|
|
135
|
-
callback(err, null);
|
|
136
|
-
} else {
|
|
137
|
-
callback(null, response.message);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
return {
|
|
143
|
-
cancel: function () {
|
|
144
|
-
callback = null;
|
|
145
|
-
client.close();
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
PushNotificationGRPCClient.prototype.sendExpiredOpening = function sendExpiredOpening(requestMessage, metadata, callback) {
|
|
151
|
-
if (arguments.length === 2) {
|
|
152
|
-
callback = arguments[1];
|
|
153
|
-
}
|
|
154
|
-
var client = grpc.unary(PushNotificationGRPC.SendExpiredOpening, {
|
|
155
|
-
request: requestMessage,
|
|
156
|
-
host: this.serviceHost,
|
|
157
|
-
metadata: metadata,
|
|
158
|
-
transport: this.options.transport,
|
|
159
|
-
debug: this.options.debug,
|
|
160
|
-
onEnd: function (response) {
|
|
161
|
-
if (callback) {
|
|
162
|
-
if (response.status !== grpc.Code.OK) {
|
|
163
|
-
var err = new Error(response.statusMessage);
|
|
164
|
-
err.code = response.status;
|
|
165
|
-
err.metadata = response.trailers;
|
|
166
|
-
callback(err, null);
|
|
167
|
-
} else {
|
|
168
|
-
callback(null, response.message);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
});
|
|
173
|
-
return {
|
|
174
|
-
cancel: function () {
|
|
175
|
-
callback = null;
|
|
176
|
-
client.close();
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
|
|
181
61
|
exports.PushNotificationGRPCClient = PushNotificationGRPCClient;
|
|
182
62
|
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
// package: Meta
|
|
2
|
+
// file: meta.spic_alert.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
6
|
+
import * as platform_pagination_pb from "./platform.pagination_pb";
|
|
7
|
+
import * as spic_cabinet_pb from "./spic.cabinet_pb";
|
|
8
|
+
import * as google_api_annotations_pb from "./google/api/annotations_pb";
|
|
9
|
+
|
|
10
|
+
export class SpicAlertsProto extends jspb.Message {
|
|
11
|
+
getAccountid(): number;
|
|
12
|
+
setAccountid(value: number): void;
|
|
13
|
+
|
|
14
|
+
clearSubscribedEventsList(): void;
|
|
15
|
+
getSubscribedEventsList(): Array<spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap]>;
|
|
16
|
+
setSubscribedEventsList(value: Array<spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap]>): void;
|
|
17
|
+
addSubscribedEvents(value: spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap], index?: number): spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap];
|
|
18
|
+
|
|
19
|
+
hasCabinetid(): boolean;
|
|
20
|
+
clearCabinetid(): void;
|
|
21
|
+
getCabinetid(): number;
|
|
22
|
+
setCabinetid(value: number): void;
|
|
23
|
+
|
|
24
|
+
hasGroupid(): boolean;
|
|
25
|
+
clearGroupid(): void;
|
|
26
|
+
getGroupid(): string;
|
|
27
|
+
setGroupid(value: string): void;
|
|
28
|
+
|
|
29
|
+
getAlerttargetCase(): SpicAlertsProto.AlerttargetCase;
|
|
30
|
+
serializeBinary(): Uint8Array;
|
|
31
|
+
toObject(includeInstance?: boolean): SpicAlertsProto.AsObject;
|
|
32
|
+
static toObject(includeInstance: boolean, msg: SpicAlertsProto): SpicAlertsProto.AsObject;
|
|
33
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
34
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
35
|
+
static serializeBinaryToWriter(message: SpicAlertsProto, writer: jspb.BinaryWriter): void;
|
|
36
|
+
static deserializeBinary(bytes: Uint8Array): SpicAlertsProto;
|
|
37
|
+
static deserializeBinaryFromReader(message: SpicAlertsProto, reader: jspb.BinaryReader): SpicAlertsProto;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export namespace SpicAlertsProto {
|
|
41
|
+
export type AsObject = {
|
|
42
|
+
accountid: number,
|
|
43
|
+
subscribedEventsList: Array<spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap]>,
|
|
44
|
+
cabinetid: number,
|
|
45
|
+
groupid: string,
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export class RetrieveAlertsRequest extends jspb.Message {
|
|
49
|
+
getAccountid(): number;
|
|
50
|
+
setAccountid(value: number): void;
|
|
51
|
+
|
|
52
|
+
hasCabinetid(): boolean;
|
|
53
|
+
clearCabinetid(): void;
|
|
54
|
+
getCabinetid(): number;
|
|
55
|
+
setCabinetid(value: number): void;
|
|
56
|
+
|
|
57
|
+
hasGroupid(): boolean;
|
|
58
|
+
clearGroupid(): void;
|
|
59
|
+
getGroupid(): string;
|
|
60
|
+
setGroupid(value: string): void;
|
|
61
|
+
|
|
62
|
+
getAlerttargetCase(): RetrieveAlertsRequest.AlerttargetCase;
|
|
63
|
+
serializeBinary(): Uint8Array;
|
|
64
|
+
toObject(includeInstance?: boolean): RetrieveAlertsRequest.AsObject;
|
|
65
|
+
static toObject(includeInstance: boolean, msg: RetrieveAlertsRequest): RetrieveAlertsRequest.AsObject;
|
|
66
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
67
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
68
|
+
static serializeBinaryToWriter(message: RetrieveAlertsRequest, writer: jspb.BinaryWriter): void;
|
|
69
|
+
static deserializeBinary(bytes: Uint8Array): RetrieveAlertsRequest;
|
|
70
|
+
static deserializeBinaryFromReader(message: RetrieveAlertsRequest, reader: jspb.BinaryReader): RetrieveAlertsRequest;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export namespace RetrieveAlertsRequest {
|
|
74
|
+
export type AsObject = {
|
|
75
|
+
accountid: number,
|
|
76
|
+
cabinetid: number,
|
|
77
|
+
groupid: string,
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export enum AlerttargetCase {
|
|
81
|
+
ALERTTARGET_NOT_SET = 0,
|
|
82
|
+
CABINETID = 2,
|
|
83
|
+
GROUPID = 3,
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export class AddAlertRequest extends jspb.Message {
|
|
88
|
+
getAccountid(): number;
|
|
89
|
+
setAccountid(value: number): void;
|
|
90
|
+
|
|
91
|
+
getEventType(): spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap];
|
|
92
|
+
setEventType(value: spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap]): void;
|
|
93
|
+
|
|
94
|
+
getActive(): boolean;
|
|
95
|
+
setActive(value: boolean): void;
|
|
96
|
+
|
|
97
|
+
hasCabinetid(): boolean;
|
|
98
|
+
clearCabinetid(): void;
|
|
99
|
+
getCabinetid(): number;
|
|
100
|
+
setCabinetid(value: number): void;
|
|
101
|
+
|
|
102
|
+
hasGroupid(): boolean;
|
|
103
|
+
clearGroupid(): void;
|
|
104
|
+
getGroupid(): string;
|
|
105
|
+
setGroupid(value: string): void;
|
|
106
|
+
|
|
107
|
+
getAlerttargetCase(): AddAlertRequest.AlerttargetCase;
|
|
108
|
+
serializeBinary(): Uint8Array;
|
|
109
|
+
toObject(includeInstance?: boolean): AddAlertRequest.AsObject;
|
|
110
|
+
static toObject(includeInstance: boolean, msg: AddAlertRequest): AddAlertRequest.AsObject;
|
|
111
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
112
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
113
|
+
static serializeBinaryToWriter(message: AddAlertRequest, writer: jspb.BinaryWriter): void;
|
|
114
|
+
static deserializeBinary(bytes: Uint8Array): AddAlertRequest;
|
|
115
|
+
static deserializeBinaryFromReader(message: AddAlertRequest, reader: jspb.BinaryReader): AddAlertRequest;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export namespace AddAlertRequest {
|
|
119
|
+
export type AsObject = {
|
|
120
|
+
accountid: number,
|
|
121
|
+
eventType: spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap],
|
|
122
|
+
active: boolean,
|
|
123
|
+
cabinetid: number,
|
|
124
|
+
groupid: string,
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export enum AlerttargetCase {
|
|
128
|
+
ALERTTARGET_NOT_SET = 0,
|
|
129
|
+
CABINETID = 4,
|
|
130
|
+
GROUPID = 5,
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export class UpdateAlertRequest extends jspb.Message {
|
|
135
|
+
getAccountid(): number;
|
|
136
|
+
setAccountid(value: number): void;
|
|
137
|
+
|
|
138
|
+
getEventType(): spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap];
|
|
139
|
+
setEventType(value: spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap]): void;
|
|
140
|
+
|
|
141
|
+
getActive(): boolean;
|
|
142
|
+
setActive(value: boolean): void;
|
|
143
|
+
|
|
144
|
+
hasCabinetid(): boolean;
|
|
145
|
+
clearCabinetid(): void;
|
|
146
|
+
getCabinetid(): number;
|
|
147
|
+
setCabinetid(value: number): void;
|
|
148
|
+
|
|
149
|
+
hasGroupid(): boolean;
|
|
150
|
+
clearGroupid(): void;
|
|
151
|
+
getGroupid(): string;
|
|
152
|
+
setGroupid(value: string): void;
|
|
153
|
+
|
|
154
|
+
getAlerttargetCase(): UpdateAlertRequest.AlerttargetCase;
|
|
155
|
+
serializeBinary(): Uint8Array;
|
|
156
|
+
toObject(includeInstance?: boolean): UpdateAlertRequest.AsObject;
|
|
157
|
+
static toObject(includeInstance: boolean, msg: UpdateAlertRequest): UpdateAlertRequest.AsObject;
|
|
158
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
159
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
160
|
+
static serializeBinaryToWriter(message: UpdateAlertRequest, writer: jspb.BinaryWriter): void;
|
|
161
|
+
static deserializeBinary(bytes: Uint8Array): UpdateAlertRequest;
|
|
162
|
+
static deserializeBinaryFromReader(message: UpdateAlertRequest, reader: jspb.BinaryReader): UpdateAlertRequest;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export namespace UpdateAlertRequest {
|
|
166
|
+
export type AsObject = {
|
|
167
|
+
accountid: number,
|
|
168
|
+
eventType: spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap],
|
|
169
|
+
active: boolean,
|
|
170
|
+
cabinetid: number,
|
|
171
|
+
groupid: string,
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export enum AlerttargetCase {
|
|
175
|
+
ALERTTARGET_NOT_SET = 0,
|
|
176
|
+
CABINETID = 4,
|
|
177
|
+
GROUPID = 5,
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export class RemoveAlertRequest extends jspb.Message {
|
|
182
|
+
getAccountid(): number;
|
|
183
|
+
setAccountid(value: number): void;
|
|
184
|
+
|
|
185
|
+
getEventType(): spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap];
|
|
186
|
+
setEventType(value: spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap]): void;
|
|
187
|
+
|
|
188
|
+
hasCabinetid(): boolean;
|
|
189
|
+
clearCabinetid(): void;
|
|
190
|
+
getCabinetid(): number;
|
|
191
|
+
setCabinetid(value: number): void;
|
|
192
|
+
|
|
193
|
+
hasGroupid(): boolean;
|
|
194
|
+
clearGroupid(): void;
|
|
195
|
+
getGroupid(): string;
|
|
196
|
+
setGroupid(value: string): void;
|
|
197
|
+
|
|
198
|
+
getAlerttargetCase(): RemoveAlertRequest.AlerttargetCase;
|
|
199
|
+
serializeBinary(): Uint8Array;
|
|
200
|
+
toObject(includeInstance?: boolean): RemoveAlertRequest.AsObject;
|
|
201
|
+
static toObject(includeInstance: boolean, msg: RemoveAlertRequest): RemoveAlertRequest.AsObject;
|
|
202
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
203
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
204
|
+
static serializeBinaryToWriter(message: RemoveAlertRequest, writer: jspb.BinaryWriter): void;
|
|
205
|
+
static deserializeBinary(bytes: Uint8Array): RemoveAlertRequest;
|
|
206
|
+
static deserializeBinaryFromReader(message: RemoveAlertRequest, reader: jspb.BinaryReader): RemoveAlertRequest;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export namespace RemoveAlertRequest {
|
|
210
|
+
export type AsObject = {
|
|
211
|
+
accountid: number,
|
|
212
|
+
eventType: spic_cabinet_pb.CabinetProto.Event.EventTypeMap[keyof spic_cabinet_pb.CabinetProto.Event.EventTypeMap],
|
|
213
|
+
cabinetid: number,
|
|
214
|
+
groupid: string,
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export enum AlerttargetCase {
|
|
218
|
+
ALERTTARGET_NOT_SET = 0,
|
|
219
|
+
CABINETID = 3,
|
|
220
|
+
GROUPID = 4,
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export enum AlerttargetCase {
|
|
225
|
+
ALERTTARGET_NOT_SET = 0,
|
|
226
|
+
CABINETID = 3,
|
|
227
|
+
GROUPID = 4,
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|