@aceplus/smartace-api 3.6.0-alpha.17 → 3.6.0-alpha.18
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 +582 -0
- package/auth.account_pb.js +4287 -0
- package/auth.account_pb_service.d.ts +340 -0
- package/auth.account_pb_service.js +637 -0
- package/auth.account_two_factor_pb.d.ts +159 -0
- package/auth.account_two_factor_pb.js +1184 -0
- package/auth.account_two_factor_pb_service.d.ts +121 -0
- package/auth.account_two_factor_pb_service.js +182 -0
- package/auth.app_account_pb.d.ts +156 -0
- package/auth.app_account_pb.js +1153 -0
- package/auth.app_account_pb_service.d.ts +160 -0
- package/auth.app_account_pb_service.js +263 -0
- package/auth.app_authn_pb.d.ts +172 -0
- package/auth.app_authn_pb.js +1233 -0
- package/auth.app_authn_pb_service.d.ts +140 -0
- package/auth.app_authn_pb_service.js +222 -0
- package/auth.app_distribution_pb.d.ts +174 -0
- package/auth.app_distribution_pb.js +1338 -0
- package/auth.app_distribution_pb_service.d.ts +120 -0
- package/auth.app_distribution_pb_service.js +181 -0
- package/auth.authn_pb.d.ts +95 -0
- package/auth.authn_pb.js +637 -0
- package/auth.authn_pb_service.d.ts +82 -0
- package/auth.authn_pb_service.js +101 -0
- package/auth.cluster_pb.d.ts +142 -0
- package/auth.cluster_pb.js +1050 -0
- package/auth.cluster_pb_service.d.ts +82 -0
- package/auth.cluster_pb_service.js +101 -0
- package/auth.distribution_pb.d.ts +233 -0
- package/auth.distribution_pb.js +1785 -0
- package/auth.distribution_pb_service.d.ts +82 -0
- package/auth.distribution_pb_service.js +101 -0
- package/auth.email_pb.d.ts +217 -0
- package/auth.email_pb.js +1508 -0
- package/auth.email_pb_service.d.ts +102 -0
- package/auth.email_pb_service.js +142 -0
- package/auth.firmware_pb.d.ts +256 -0
- package/auth.firmware_pb.js +1997 -0
- package/auth.firmware_pb_service.d.ts +120 -0
- package/auth.firmware_pb_service.js +181 -0
- package/auth.push_notification_pb.d.ts +69 -0
- package/auth.push_notification_pb.js +411 -0
- package/auth.push_notification_pb_service.d.ts +64 -0
- package/auth.push_notification_pb_service.js +62 -0
- package/auth.sms_pb.d.ts +79 -0
- package/auth.sms_pb.js +575 -0
- package/auth.sms_pb_service.d.ts +83 -0
- package/auth.sms_pb_service.js +102 -0
- package/google/api/annotations_pb.d.ts +9 -0
- package/google/api/annotations_pb.js +54 -0
- package/google/api/annotations_pb_service.d.ts +3 -0
- package/google/api/annotations_pb_service.js +3 -0
- package/google/api/auth_pb.d.ts +150 -0
- package/google/api/auth_pb.js +1160 -0
- package/google/api/auth_pb_service.d.ts +3 -0
- package/google/api/auth_pb_service.js +3 -0
- package/google/api/backend_pb.d.ts +59 -0
- package/google/api/backend_pb.js +448 -0
- package/google/api/backend_pb_service.d.ts +3 -0
- package/google/api/backend_pb_service.js +3 -0
- package/google/api/billing_pb.d.ts +54 -0
- package/google/api/billing_pb.js +416 -0
- package/google/api/billing_pb_service.d.ts +3 -0
- package/google/api/billing_pb_service.js +3 -0
- package/google/api/client_pb.d.ts +12 -0
- package/google/api/client_pb.js +104 -0
- package/google/api/client_pb_service.d.ts +3 -0
- package/google/api/client_pb_service.js +3 -0
- package/google/api/config_change_pb.d.ts +72 -0
- package/google/api/config_change_pb.js +489 -0
- package/google/api/config_change_pb_service.d.ts +3 -0
- package/google/api/config_change_pb_service.js +3 -0
- package/google/api/consumer_pb.d.ts +65 -0
- package/google/api/consumer_pb.js +430 -0
- package/google/api/consumer_pb_service.d.ts +3 -0
- package/google/api/consumer_pb_service.js +3 -0
- package/google/api/context_pb.d.ts +59 -0
- package/google/api/context_pb.js +463 -0
- package/google/api/context_pb_service.d.ts +3 -0
- package/google/api/context_pb_service.js +3 -0
- package/google/api/control_pb.d.ts +25 -0
- package/google/api/control_pb.js +176 -0
- package/google/api/control_pb_service.d.ts +3 -0
- package/google/api/control_pb_service.js +3 -0
- package/google/api/distribution_pb.d.ts +235 -0
- package/google/api/distribution_pb.js +1805 -0
- package/google/api/distribution_pb_service.d.ts +3 -0
- package/google/api/distribution_pb_service.js +3 -0
- package/google/api/documentation_pb.d.ts +103 -0
- package/google/api/documentation_pb.js +803 -0
- package/google/api/documentation_pb_service.d.ts +3 -0
- package/google/api/documentation_pb_service.js +3 -0
- package/google/api/endpoint_pb.d.ts +46 -0
- package/google/api/endpoint_pb.js +343 -0
- package/google/api/endpoint_pb_service.d.ts +3 -0
- package/google/api/endpoint_pb_service.js +3 -0
- package/google/api/error_reason_pb.d.ts +40 -0
- package/google/api/error_reason_pb.js +61 -0
- package/google/api/error_reason_pb_service.d.ts +3 -0
- package/google/api/error_reason_pb_service.js +3 -0
- package/google/api/field_behavior_pb.d.ts +20 -0
- package/google/api/field_behavior_pb.js +66 -0
- package/google/api/field_behavior_pb_service.d.ts +3 -0
- package/google/api/field_behavior_pb_service.js +3 -0
- package/google/api/http_pb.d.ts +136 -0
- package/google/api/http_pb.js +1012 -0
- package/google/api/http_pb_service.d.ts +3 -0
- package/google/api/http_pb_service.js +3 -0
- package/google/api/httpbody_pb.d.ts +38 -0
- package/google/api/httpbody_pb.js +292 -0
- package/google/api/httpbody_pb_service.d.ts +3 -0
- package/google/api/httpbody_pb_service.js +3 -0
- package/google/api/label_pb.d.ts +41 -0
- package/google/api/label_pb.js +246 -0
- package/google/api/label_pb_service.d.ts +3 -0
- package/google/api/label_pb_service.js +3 -0
- package/google/api/launch_stage_pb.d.ts +16 -0
- package/google/api/launch_stage_pb.js +37 -0
- package/google/api/launch_stage_pb_service.d.ts +3 -0
- package/google/api/launch_stage_pb_service.js +3 -0
- package/google/api/log_pb.d.ts +40 -0
- package/google/api/log_pb.js +298 -0
- package/google/api/log_pb_service.d.ts +3 -0
- package/google/api/log_pb_service.js +3 -0
- package/google/api/logging_pb.d.ts +60 -0
- package/google/api/logging_pb.js +469 -0
- package/google/api/logging_pb_service.d.ts +3 -0
- package/google/api/logging_pb_service.js +3 -0
- package/google/api/metric_pb.d.ts +100 -0
- package/google/api/metric_pb.js +629 -0
- package/google/api/metric_pb_service.d.ts +3 -0
- package/google/api/metric_pb_service.js +3 -0
- package/google/api/monitored_resource_pb.d.ts +93 -0
- package/google/api/monitored_resource_pb.js +723 -0
- package/google/api/monitored_resource_pb_service.d.ts +3 -0
- package/google/api/monitored_resource_pb_service.js +3 -0
- package/google/api/monitoring_pb.d.ts +60 -0
- package/google/api/monitoring_pb.js +469 -0
- package/google/api/monitoring_pb_service.d.ts +3 -0
- package/google/api/monitoring_pb_service.js +3 -0
- package/google/api/policy_pb.d.ts +64 -0
- package/google/api/policy_pb.js +502 -0
- package/google/api/policy_pb_service.d.ts +3 -0
- package/google/api/policy_pb_service.js +3 -0
- package/google/api/quota_pb.d.ts +112 -0
- package/google/api/quota_pb.js +873 -0
- package/google/api/quota_pb_service.d.ts +3 -0
- package/google/api/quota_pb_service.js +3 -0
- package/google/api/resource_pb.d.ts +99 -0
- package/google/api/resource_pb.js +684 -0
- package/google/api/resource_pb_service.d.ts +3 -0
- package/google/api/resource_pb_service.js +3 -0
- package/google/api/routing_pb.d.ts +54 -0
- package/google/api/routing_pb.js +416 -0
- package/google/api/routing_pb_service.d.ts +3 -0
- package/google/api/routing_pb_service.js +3 -0
- package/google/api/service_pb.d.ts +184 -0
- package/google/api/service_pb.js +1400 -0
- package/google/api/service_pb_service.d.ts +3 -0
- package/google/api/service_pb_service.js +3 -0
- package/google/api/source_info_pb.d.ts +28 -0
- package/google/api/source_info_pb.js +208 -0
- package/google/api/source_info_pb_service.d.ts +3 -0
- package/google/api/source_info_pb_service.js +3 -0
- package/google/api/system_parameter_pb.d.ts +81 -0
- package/google/api/system_parameter_pb.js +630 -0
- package/google/api/system_parameter_pb_service.d.ts +3 -0
- package/google/api/system_parameter_pb_service.js +3 -0
- package/google/api/usage_pb.d.ts +66 -0
- package/google/api/usage_pb.js +499 -0
- package/google/api/usage_pb_service.d.ts +3 -0
- package/google/api/usage_pb_service.js +3 -0
- package/google/api/visibility_pb.d.ts +64 -0
- package/google/api/visibility_pb.js +546 -0
- package/google/api/visibility_pb_service.d.ts +3 -0
- package/google/api/visibility_pb_service.js +3 -0
- 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 +184 -0
- package/meta.spic_config_pb.js +1382 -0
- package/meta.spic_config_pb_service.d.ts +122 -0
- package/meta.spic_config_pb_service.js +183 -0
- package/package.json +1 -1
- package/platform.activity_log_pb.d.ts +177 -0
- package/platform.activity_log_pb.js +1294 -0
- package/platform.activity_log_pb_service.d.ts +82 -0
- package/platform.activity_log_pb_service.js +101 -0
- package/platform.client_pb.d.ts +350 -0
- package/platform.client_pb.js +2663 -0
- package/platform.client_pb_service.d.ts +158 -0
- package/platform.client_pb_service.js +261 -0
- package/platform.group_pb.d.ts +195 -0
- package/platform.group_pb.js +1476 -0
- package/platform.group_pb_service.d.ts +139 -0
- package/platform.group_pb_service.js +221 -0
- package/platform.local_account_internal_pb.d.ts +125 -0
- package/platform.local_account_internal_pb.js +933 -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 +446 -0
- package/platform.local_account_pb.js +3337 -0
- package/platform.local_account_pb_service.d.ts +331 -0
- package/platform.local_account_pb_service.js +623 -0
- package/platform.local_distribution_pb.d.ts +73 -0
- package/platform.local_distribution_pb.js +536 -0
- package/platform.local_distribution_pb_service.d.ts +63 -0
- package/platform.local_distribution_pb_service.js +61 -0
- package/platform.location_pb.d.ts +271 -0
- package/platform.location_pb.js +2046 -0
- package/platform.location_pb_service.d.ts +139 -0
- package/platform.location_pb_service.js +221 -0
- package/platform.pagination_pb.d.ts +45 -0
- package/platform.pagination_pb.js +276 -0
- package/platform.pagination_pb_service.d.ts +3 -0
- package/platform.pagination_pb_service.js +3 -0
- package/spic.admin_alert_pb.d.ts +91 -0
- package/spic.admin_alert_pb.js +666 -0
- package/spic.admin_alert_pb_service.d.ts +102 -0
- package/spic.admin_alert_pb_service.js +142 -0
- package/spic.alarm_pb.d.ts +344 -0
- package/spic.alarm_pb.js +2622 -0
- package/spic.alarm_pb_service.d.ts +101 -0
- package/spic.alarm_pb_service.js +141 -0
- package/spic.asset_pb.d.ts +652 -0
- package/spic.asset_pb.js +4669 -0
- package/spic.asset_pb_service.d.ts +197 -0
- package/spic.asset_pb_service.js +342 -0
- package/spic.cabinet_pb.d.ts +791 -0
- package/spic.cabinet_pb.js +5733 -0
- package/spic.cabinet_pb_service.d.ts +158 -0
- package/spic.cabinet_pb_service.js +261 -0
- package/spic.config_pb.d.ts +249 -0
- package/spic.config_pb.js +1891 -0
- package/spic.config_pb_service.d.ts +120 -0
- package/spic.config_pb_service.js +181 -0
- package/spic.contractor_pb.d.ts +195 -0
- package/spic.contractor_pb.js +1476 -0
- package/spic.contractor_pb_service.d.ts +139 -0
- package/spic.contractor_pb_service.js +221 -0
- package/spic.history_pb.d.ts +142 -0
- package/spic.history_pb.js +1130 -0
- package/spic.history_pb_service.d.ts +63 -0
- package/spic.history_pb_service.js +61 -0
- package/spic.open_request_pb.d.ts +237 -0
- package/spic.open_request_pb.js +1784 -0
- package/spic.open_request_pb_service.d.ts +101 -0
- package/spic.open_request_pb_service.js +141 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// package: Auth
|
|
2
|
+
// file: auth.cluster.proto
|
|
3
|
+
|
|
4
|
+
import * as auth_cluster_pb from "./auth.cluster_pb";
|
|
5
|
+
import {grpc} from "@improbable-eng/grpc-web";
|
|
6
|
+
|
|
7
|
+
type ClusterGRPCRetrieve = {
|
|
8
|
+
readonly methodName: string;
|
|
9
|
+
readonly service: typeof ClusterGRPC;
|
|
10
|
+
readonly requestStream: false;
|
|
11
|
+
readonly responseStream: false;
|
|
12
|
+
readonly requestType: typeof auth_cluster_pb.ClusterProto.RetrieveRequest;
|
|
13
|
+
readonly responseType: typeof auth_cluster_pb.ClusterProto;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
type ClusterGRPCSearch = {
|
|
17
|
+
readonly methodName: string;
|
|
18
|
+
readonly service: typeof ClusterGRPC;
|
|
19
|
+
readonly requestStream: false;
|
|
20
|
+
readonly responseStream: false;
|
|
21
|
+
readonly requestType: typeof auth_cluster_pb.ClusterProto.SearchRequest;
|
|
22
|
+
readonly responseType: typeof auth_cluster_pb.ClusterProto.SearchReply;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export class ClusterGRPC {
|
|
26
|
+
static readonly serviceName: string;
|
|
27
|
+
static readonly Retrieve: ClusterGRPCRetrieve;
|
|
28
|
+
static readonly Search: ClusterGRPCSearch;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
32
|
+
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
33
|
+
|
|
34
|
+
interface UnaryResponse {
|
|
35
|
+
cancel(): void;
|
|
36
|
+
}
|
|
37
|
+
interface ResponseStream<T> {
|
|
38
|
+
cancel(): void;
|
|
39
|
+
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
40
|
+
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
41
|
+
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
42
|
+
}
|
|
43
|
+
interface RequestStream<T> {
|
|
44
|
+
write(message: T): RequestStream<T>;
|
|
45
|
+
end(): void;
|
|
46
|
+
cancel(): void;
|
|
47
|
+
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
48
|
+
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
49
|
+
}
|
|
50
|
+
interface BidirectionalStream<ReqT, ResT> {
|
|
51
|
+
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
52
|
+
end(): void;
|
|
53
|
+
cancel(): void;
|
|
54
|
+
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
55
|
+
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
56
|
+
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export class ClusterGRPCClient {
|
|
60
|
+
readonly serviceHost: string;
|
|
61
|
+
|
|
62
|
+
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
63
|
+
retrieve(
|
|
64
|
+
requestMessage: auth_cluster_pb.ClusterProto.RetrieveRequest,
|
|
65
|
+
metadata: grpc.Metadata,
|
|
66
|
+
callback: (error: ServiceError|null, responseMessage: auth_cluster_pb.ClusterProto|null) => void
|
|
67
|
+
): UnaryResponse;
|
|
68
|
+
retrieve(
|
|
69
|
+
requestMessage: auth_cluster_pb.ClusterProto.RetrieveRequest,
|
|
70
|
+
callback: (error: ServiceError|null, responseMessage: auth_cluster_pb.ClusterProto|null) => void
|
|
71
|
+
): UnaryResponse;
|
|
72
|
+
search(
|
|
73
|
+
requestMessage: auth_cluster_pb.ClusterProto.SearchRequest,
|
|
74
|
+
metadata: grpc.Metadata,
|
|
75
|
+
callback: (error: ServiceError|null, responseMessage: auth_cluster_pb.ClusterProto.SearchReply|null) => void
|
|
76
|
+
): UnaryResponse;
|
|
77
|
+
search(
|
|
78
|
+
requestMessage: auth_cluster_pb.ClusterProto.SearchRequest,
|
|
79
|
+
callback: (error: ServiceError|null, responseMessage: auth_cluster_pb.ClusterProto.SearchReply|null) => void
|
|
80
|
+
): UnaryResponse;
|
|
81
|
+
}
|
|
82
|
+
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// package: Auth
|
|
2
|
+
// file: auth.cluster.proto
|
|
3
|
+
|
|
4
|
+
var auth_cluster_pb = require("./auth.cluster_pb");
|
|
5
|
+
var grpc = require("@improbable-eng/grpc-web").grpc;
|
|
6
|
+
|
|
7
|
+
var ClusterGRPC = (function () {
|
|
8
|
+
function ClusterGRPC() {}
|
|
9
|
+
ClusterGRPC.serviceName = "Auth.ClusterGRPC";
|
|
10
|
+
return ClusterGRPC;
|
|
11
|
+
}());
|
|
12
|
+
|
|
13
|
+
ClusterGRPC.Retrieve = {
|
|
14
|
+
methodName: "Retrieve",
|
|
15
|
+
service: ClusterGRPC,
|
|
16
|
+
requestStream: false,
|
|
17
|
+
responseStream: false,
|
|
18
|
+
requestType: auth_cluster_pb.ClusterProto.RetrieveRequest,
|
|
19
|
+
responseType: auth_cluster_pb.ClusterProto
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
ClusterGRPC.Search = {
|
|
23
|
+
methodName: "Search",
|
|
24
|
+
service: ClusterGRPC,
|
|
25
|
+
requestStream: false,
|
|
26
|
+
responseStream: false,
|
|
27
|
+
requestType: auth_cluster_pb.ClusterProto.SearchRequest,
|
|
28
|
+
responseType: auth_cluster_pb.ClusterProto.SearchReply
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
exports.ClusterGRPC = ClusterGRPC;
|
|
32
|
+
|
|
33
|
+
function ClusterGRPCClient(serviceHost, options) {
|
|
34
|
+
this.serviceHost = serviceHost;
|
|
35
|
+
this.options = options || {};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
ClusterGRPCClient.prototype.retrieve = function retrieve(requestMessage, metadata, callback) {
|
|
39
|
+
if (arguments.length === 2) {
|
|
40
|
+
callback = arguments[1];
|
|
41
|
+
}
|
|
42
|
+
var client = grpc.unary(ClusterGRPC.Retrieve, {
|
|
43
|
+
request: requestMessage,
|
|
44
|
+
host: this.serviceHost,
|
|
45
|
+
metadata: metadata,
|
|
46
|
+
transport: this.options.transport,
|
|
47
|
+
debug: this.options.debug,
|
|
48
|
+
onEnd: function (response) {
|
|
49
|
+
if (callback) {
|
|
50
|
+
if (response.status !== grpc.Code.OK) {
|
|
51
|
+
var err = new Error(response.statusMessage);
|
|
52
|
+
err.code = response.status;
|
|
53
|
+
err.metadata = response.trailers;
|
|
54
|
+
callback(err, null);
|
|
55
|
+
} else {
|
|
56
|
+
callback(null, response.message);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
return {
|
|
62
|
+
cancel: function () {
|
|
63
|
+
callback = null;
|
|
64
|
+
client.close();
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
ClusterGRPCClient.prototype.search = function search(requestMessage, metadata, callback) {
|
|
70
|
+
if (arguments.length === 2) {
|
|
71
|
+
callback = arguments[1];
|
|
72
|
+
}
|
|
73
|
+
var client = grpc.unary(ClusterGRPC.Search, {
|
|
74
|
+
request: requestMessage,
|
|
75
|
+
host: this.serviceHost,
|
|
76
|
+
metadata: metadata,
|
|
77
|
+
transport: this.options.transport,
|
|
78
|
+
debug: this.options.debug,
|
|
79
|
+
onEnd: function (response) {
|
|
80
|
+
if (callback) {
|
|
81
|
+
if (response.status !== grpc.Code.OK) {
|
|
82
|
+
var err = new Error(response.statusMessage);
|
|
83
|
+
err.code = response.status;
|
|
84
|
+
err.metadata = response.trailers;
|
|
85
|
+
callback(err, null);
|
|
86
|
+
} else {
|
|
87
|
+
callback(null, response.message);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
return {
|
|
93
|
+
cancel: function () {
|
|
94
|
+
callback = null;
|
|
95
|
+
client.close();
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
exports.ClusterGRPCClient = ClusterGRPCClient;
|
|
101
|
+
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
// package: Auth
|
|
2
|
+
// file: auth.distribution.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as auth_cluster_pb from "./auth.cluster_pb";
|
|
6
|
+
import * as platform_pagination_pb from "./platform.pagination_pb";
|
|
7
|
+
import * as google_api_annotations_pb from "./google/api/annotations_pb";
|
|
8
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
9
|
+
|
|
10
|
+
export class DistributionProto extends jspb.Message {
|
|
11
|
+
serializeBinary(): Uint8Array;
|
|
12
|
+
toObject(includeInstance?: boolean): DistributionProto.AsObject;
|
|
13
|
+
static toObject(includeInstance: boolean, msg: DistributionProto): DistributionProto.AsObject;
|
|
14
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
15
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
16
|
+
static serializeBinaryToWriter(message: DistributionProto, writer: jspb.BinaryWriter): void;
|
|
17
|
+
static deserializeBinary(bytes: Uint8Array): DistributionProto;
|
|
18
|
+
static deserializeBinaryFromReader(message: DistributionProto, reader: jspb.BinaryReader): DistributionProto;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export namespace DistributionProto {
|
|
22
|
+
export type AsObject = {
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export class CheckExistenceRequest extends jspb.Message {
|
|
26
|
+
getUid(): string;
|
|
27
|
+
setUid(value: string): void;
|
|
28
|
+
|
|
29
|
+
serializeBinary(): Uint8Array;
|
|
30
|
+
toObject(includeInstance?: boolean): CheckExistenceRequest.AsObject;
|
|
31
|
+
static toObject(includeInstance: boolean, msg: CheckExistenceRequest): CheckExistenceRequest.AsObject;
|
|
32
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
33
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
34
|
+
static serializeBinaryToWriter(message: CheckExistenceRequest, writer: jspb.BinaryWriter): void;
|
|
35
|
+
static deserializeBinary(bytes: Uint8Array): CheckExistenceRequest;
|
|
36
|
+
static deserializeBinaryFromReader(message: CheckExistenceRequest, reader: jspb.BinaryReader): CheckExistenceRequest;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export namespace CheckExistenceRequest {
|
|
40
|
+
export type AsObject = {
|
|
41
|
+
uid: string,
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export class CheckExistenceResponse extends jspb.Message {
|
|
46
|
+
getExist(): boolean;
|
|
47
|
+
setExist(value: boolean): void;
|
|
48
|
+
|
|
49
|
+
hasCluster(): boolean;
|
|
50
|
+
clearCluster(): void;
|
|
51
|
+
getCluster(): auth_cluster_pb.ClusterProto | undefined;
|
|
52
|
+
setCluster(value?: auth_cluster_pb.ClusterProto): void;
|
|
53
|
+
|
|
54
|
+
serializeBinary(): Uint8Array;
|
|
55
|
+
toObject(includeInstance?: boolean): CheckExistenceResponse.AsObject;
|
|
56
|
+
static toObject(includeInstance: boolean, msg: CheckExistenceResponse): CheckExistenceResponse.AsObject;
|
|
57
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
58
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
59
|
+
static serializeBinaryToWriter(message: CheckExistenceResponse, writer: jspb.BinaryWriter): void;
|
|
60
|
+
static deserializeBinary(bytes: Uint8Array): CheckExistenceResponse;
|
|
61
|
+
static deserializeBinaryFromReader(message: CheckExistenceResponse, reader: jspb.BinaryReader): CheckExistenceResponse;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export namespace CheckExistenceResponse {
|
|
65
|
+
export type AsObject = {
|
|
66
|
+
exist: boolean,
|
|
67
|
+
cluster?: auth_cluster_pb.ClusterProto.AsObject,
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export class DistributionLog extends jspb.Message {
|
|
72
|
+
getId(): string;
|
|
73
|
+
setId(value: string): void;
|
|
74
|
+
|
|
75
|
+
getError(): boolean;
|
|
76
|
+
setError(value: boolean): void;
|
|
77
|
+
|
|
78
|
+
hasDate(): boolean;
|
|
79
|
+
clearDate(): void;
|
|
80
|
+
getDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
81
|
+
setDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
82
|
+
|
|
83
|
+
getUid(): string;
|
|
84
|
+
setUid(value: string): void;
|
|
85
|
+
|
|
86
|
+
getOperator(): string;
|
|
87
|
+
setOperator(value: string): void;
|
|
88
|
+
|
|
89
|
+
getMsg(): string;
|
|
90
|
+
setMsg(value: string): void;
|
|
91
|
+
|
|
92
|
+
getFirmwareVersion(): number;
|
|
93
|
+
setFirmwareVersion(value: number): void;
|
|
94
|
+
|
|
95
|
+
getNetworkNumber(): string;
|
|
96
|
+
setNetworkNumber(value: string): void;
|
|
97
|
+
|
|
98
|
+
getImei(): string;
|
|
99
|
+
setImei(value: string): void;
|
|
100
|
+
|
|
101
|
+
getSimIccid(): string;
|
|
102
|
+
setSimIccid(value: string): void;
|
|
103
|
+
|
|
104
|
+
getCrc(): string;
|
|
105
|
+
setCrc(value: string): void;
|
|
106
|
+
|
|
107
|
+
getType(): string;
|
|
108
|
+
setType(value: string): void;
|
|
109
|
+
|
|
110
|
+
serializeBinary(): Uint8Array;
|
|
111
|
+
toObject(includeInstance?: boolean): DistributionLog.AsObject;
|
|
112
|
+
static toObject(includeInstance: boolean, msg: DistributionLog): DistributionLog.AsObject;
|
|
113
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
114
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
115
|
+
static serializeBinaryToWriter(message: DistributionLog, writer: jspb.BinaryWriter): void;
|
|
116
|
+
static deserializeBinary(bytes: Uint8Array): DistributionLog;
|
|
117
|
+
static deserializeBinaryFromReader(message: DistributionLog, reader: jspb.BinaryReader): DistributionLog;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export namespace DistributionLog {
|
|
121
|
+
export type AsObject = {
|
|
122
|
+
id: string,
|
|
123
|
+
error: boolean,
|
|
124
|
+
date?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
125
|
+
uid: string,
|
|
126
|
+
operator: string,
|
|
127
|
+
msg: string,
|
|
128
|
+
firmwareVersion: number,
|
|
129
|
+
networkNumber: string,
|
|
130
|
+
imei: string,
|
|
131
|
+
simIccid: string,
|
|
132
|
+
crc: string,
|
|
133
|
+
type: string,
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export class RetrieveRequest extends jspb.Message {
|
|
137
|
+
getUid(): string;
|
|
138
|
+
setUid(value: string): void;
|
|
139
|
+
|
|
140
|
+
getCount(): number;
|
|
141
|
+
setCount(value: number): void;
|
|
142
|
+
|
|
143
|
+
getPage(): number;
|
|
144
|
+
setPage(value: number): void;
|
|
145
|
+
|
|
146
|
+
hasDateFrom(): boolean;
|
|
147
|
+
clearDateFrom(): void;
|
|
148
|
+
getDateFrom(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
149
|
+
setDateFrom(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
150
|
+
|
|
151
|
+
hasDateTo(): boolean;
|
|
152
|
+
clearDateTo(): void;
|
|
153
|
+
getDateTo(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
154
|
+
setDateTo(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
155
|
+
|
|
156
|
+
clearOperatorsList(): void;
|
|
157
|
+
getOperatorsList(): Array<string>;
|
|
158
|
+
setOperatorsList(value: Array<string>): void;
|
|
159
|
+
addOperators(value: string, index?: number): string;
|
|
160
|
+
|
|
161
|
+
getError(): boolean;
|
|
162
|
+
setError(value: boolean): void;
|
|
163
|
+
|
|
164
|
+
clearCrcList(): void;
|
|
165
|
+
getCrcList(): Array<string>;
|
|
166
|
+
setCrcList(value: Array<string>): void;
|
|
167
|
+
addCrc(value: string, index?: number): string;
|
|
168
|
+
|
|
169
|
+
getSimIccid(): string;
|
|
170
|
+
setSimIccid(value: string): void;
|
|
171
|
+
|
|
172
|
+
getImei(): string;
|
|
173
|
+
setImei(value: string): void;
|
|
174
|
+
|
|
175
|
+
getType(): string;
|
|
176
|
+
setType(value: string): void;
|
|
177
|
+
|
|
178
|
+
serializeBinary(): Uint8Array;
|
|
179
|
+
toObject(includeInstance?: boolean): RetrieveRequest.AsObject;
|
|
180
|
+
static toObject(includeInstance: boolean, msg: RetrieveRequest): RetrieveRequest.AsObject;
|
|
181
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
182
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
183
|
+
static serializeBinaryToWriter(message: RetrieveRequest, writer: jspb.BinaryWriter): void;
|
|
184
|
+
static deserializeBinary(bytes: Uint8Array): RetrieveRequest;
|
|
185
|
+
static deserializeBinaryFromReader(message: RetrieveRequest, reader: jspb.BinaryReader): RetrieveRequest;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export namespace RetrieveRequest {
|
|
189
|
+
export type AsObject = {
|
|
190
|
+
uid: string,
|
|
191
|
+
count: number,
|
|
192
|
+
page: number,
|
|
193
|
+
dateFrom?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
194
|
+
dateTo?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
195
|
+
operatorsList: Array<string>,
|
|
196
|
+
error: boolean,
|
|
197
|
+
crcList: Array<string>,
|
|
198
|
+
simIccid: string,
|
|
199
|
+
imei: string,
|
|
200
|
+
type: string,
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export class RetrieveReply extends jspb.Message {
|
|
205
|
+
clearLogsList(): void;
|
|
206
|
+
getLogsList(): Array<DistributionProto.DistributionLog>;
|
|
207
|
+
setLogsList(value: Array<DistributionProto.DistributionLog>): void;
|
|
208
|
+
addLogs(value?: DistributionProto.DistributionLog, index?: number): DistributionProto.DistributionLog;
|
|
209
|
+
|
|
210
|
+
hasPagination(): boolean;
|
|
211
|
+
clearPagination(): void;
|
|
212
|
+
getPagination(): platform_pagination_pb.PaginationProto | undefined;
|
|
213
|
+
setPagination(value?: platform_pagination_pb.PaginationProto): void;
|
|
214
|
+
|
|
215
|
+
serializeBinary(): Uint8Array;
|
|
216
|
+
toObject(includeInstance?: boolean): RetrieveReply.AsObject;
|
|
217
|
+
static toObject(includeInstance: boolean, msg: RetrieveReply): RetrieveReply.AsObject;
|
|
218
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
219
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
220
|
+
static serializeBinaryToWriter(message: RetrieveReply, writer: jspb.BinaryWriter): void;
|
|
221
|
+
static deserializeBinary(bytes: Uint8Array): RetrieveReply;
|
|
222
|
+
static deserializeBinaryFromReader(message: RetrieveReply, reader: jspb.BinaryReader): RetrieveReply;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export namespace RetrieveReply {
|
|
226
|
+
export type AsObject = {
|
|
227
|
+
logsList: Array<DistributionProto.DistributionLog.AsObject>,
|
|
228
|
+
pagination?: platform_pagination_pb.PaginationProto.AsObject,
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|