@aceplus/smartace-api 3.6.0-alpha.16 → 3.6.0-alpha.17
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/package.json +1 -1
- package/auth.account_pb.d.ts +0 -582
- package/auth.account_pb.js +0 -4287
- package/auth.account_pb_service.d.ts +0 -340
- package/auth.account_pb_service.js +0 -637
- package/auth.account_two_factor_pb.d.ts +0 -159
- package/auth.account_two_factor_pb.js +0 -1184
- package/auth.account_two_factor_pb_service.d.ts +0 -121
- package/auth.account_two_factor_pb_service.js +0 -182
- package/auth.app_account_pb.d.ts +0 -156
- package/auth.app_account_pb.js +0 -1153
- package/auth.app_account_pb_service.d.ts +0 -160
- package/auth.app_account_pb_service.js +0 -263
- package/auth.app_authn_pb.d.ts +0 -172
- package/auth.app_authn_pb.js +0 -1233
- package/auth.app_authn_pb_service.d.ts +0 -140
- package/auth.app_authn_pb_service.js +0 -222
- package/auth.app_distribution_pb.d.ts +0 -174
- package/auth.app_distribution_pb.js +0 -1338
- package/auth.app_distribution_pb_service.d.ts +0 -120
- package/auth.app_distribution_pb_service.js +0 -181
- package/auth.authn_pb.d.ts +0 -95
- package/auth.authn_pb.js +0 -637
- package/auth.authn_pb_service.d.ts +0 -82
- package/auth.authn_pb_service.js +0 -101
- package/auth.cluster_pb.d.ts +0 -142
- package/auth.cluster_pb.js +0 -1050
- package/auth.cluster_pb_service.d.ts +0 -82
- package/auth.cluster_pb_service.js +0 -101
- package/auth.distribution_pb.d.ts +0 -233
- package/auth.distribution_pb.js +0 -1785
- package/auth.distribution_pb_service.d.ts +0 -82
- package/auth.distribution_pb_service.js +0 -101
- package/auth.email_pb.d.ts +0 -217
- package/auth.email_pb.js +0 -1508
- package/auth.email_pb_service.d.ts +0 -102
- package/auth.email_pb_service.js +0 -142
- package/auth.firmware_pb.d.ts +0 -256
- package/auth.firmware_pb.js +0 -1997
- package/auth.firmware_pb_service.d.ts +0 -120
- package/auth.firmware_pb_service.js +0 -181
- package/auth.push_notification_pb.d.ts +0 -69
- package/auth.push_notification_pb.js +0 -411
- package/auth.push_notification_pb_service.d.ts +0 -64
- package/auth.push_notification_pb_service.js +0 -62
- package/auth.sms_pb.d.ts +0 -79
- package/auth.sms_pb.js +0 -575
- package/auth.sms_pb_service.d.ts +0 -83
- package/auth.sms_pb_service.js +0 -102
- package/google/api/annotations_pb.d.ts +0 -9
- package/google/api/annotations_pb.js +0 -54
- package/google/api/annotations_pb_service.d.ts +0 -3
- package/google/api/annotations_pb_service.js +0 -3
- package/google/api/auth_pb.d.ts +0 -150
- package/google/api/auth_pb.js +0 -1160
- package/google/api/auth_pb_service.d.ts +0 -3
- package/google/api/auth_pb_service.js +0 -3
- package/google/api/backend_pb.d.ts +0 -59
- package/google/api/backend_pb.js +0 -448
- package/google/api/backend_pb_service.d.ts +0 -3
- package/google/api/backend_pb_service.js +0 -3
- package/google/api/billing_pb.d.ts +0 -54
- package/google/api/billing_pb.js +0 -416
- package/google/api/billing_pb_service.d.ts +0 -3
- package/google/api/billing_pb_service.js +0 -3
- package/google/api/client_pb.d.ts +0 -12
- package/google/api/client_pb.js +0 -104
- package/google/api/client_pb_service.d.ts +0 -3
- package/google/api/client_pb_service.js +0 -3
- package/google/api/config_change_pb.d.ts +0 -72
- package/google/api/config_change_pb.js +0 -489
- package/google/api/config_change_pb_service.d.ts +0 -3
- package/google/api/config_change_pb_service.js +0 -3
- package/google/api/consumer_pb.d.ts +0 -65
- package/google/api/consumer_pb.js +0 -430
- package/google/api/consumer_pb_service.d.ts +0 -3
- package/google/api/consumer_pb_service.js +0 -3
- package/google/api/context_pb.d.ts +0 -59
- package/google/api/context_pb.js +0 -463
- package/google/api/context_pb_service.d.ts +0 -3
- package/google/api/context_pb_service.js +0 -3
- package/google/api/control_pb.d.ts +0 -25
- package/google/api/control_pb.js +0 -176
- package/google/api/control_pb_service.d.ts +0 -3
- package/google/api/control_pb_service.js +0 -3
- package/google/api/distribution_pb.d.ts +0 -235
- package/google/api/distribution_pb.js +0 -1805
- package/google/api/distribution_pb_service.d.ts +0 -3
- package/google/api/distribution_pb_service.js +0 -3
- package/google/api/documentation_pb.d.ts +0 -103
- package/google/api/documentation_pb.js +0 -803
- package/google/api/documentation_pb_service.d.ts +0 -3
- package/google/api/documentation_pb_service.js +0 -3
- package/google/api/endpoint_pb.d.ts +0 -46
- package/google/api/endpoint_pb.js +0 -343
- package/google/api/endpoint_pb_service.d.ts +0 -3
- package/google/api/endpoint_pb_service.js +0 -3
- package/google/api/error_reason_pb.d.ts +0 -40
- package/google/api/error_reason_pb.js +0 -61
- package/google/api/error_reason_pb_service.d.ts +0 -3
- package/google/api/error_reason_pb_service.js +0 -3
- package/google/api/field_behavior_pb.d.ts +0 -20
- package/google/api/field_behavior_pb.js +0 -66
- package/google/api/field_behavior_pb_service.d.ts +0 -3
- package/google/api/field_behavior_pb_service.js +0 -3
- package/google/api/http_pb.d.ts +0 -136
- package/google/api/http_pb.js +0 -1012
- package/google/api/http_pb_service.d.ts +0 -3
- package/google/api/http_pb_service.js +0 -3
- package/google/api/httpbody_pb.d.ts +0 -38
- package/google/api/httpbody_pb.js +0 -292
- package/google/api/httpbody_pb_service.d.ts +0 -3
- package/google/api/httpbody_pb_service.js +0 -3
- package/google/api/label_pb.d.ts +0 -41
- package/google/api/label_pb.js +0 -246
- package/google/api/label_pb_service.d.ts +0 -3
- package/google/api/label_pb_service.js +0 -3
- package/google/api/launch_stage_pb.d.ts +0 -16
- package/google/api/launch_stage_pb.js +0 -37
- package/google/api/launch_stage_pb_service.d.ts +0 -3
- package/google/api/launch_stage_pb_service.js +0 -3
- package/google/api/log_pb.d.ts +0 -40
- package/google/api/log_pb.js +0 -298
- package/google/api/log_pb_service.d.ts +0 -3
- package/google/api/log_pb_service.js +0 -3
- package/google/api/logging_pb.d.ts +0 -60
- package/google/api/logging_pb.js +0 -469
- package/google/api/logging_pb_service.d.ts +0 -3
- package/google/api/logging_pb_service.js +0 -3
- package/google/api/metric_pb.d.ts +0 -100
- package/google/api/metric_pb.js +0 -629
- package/google/api/metric_pb_service.d.ts +0 -3
- package/google/api/metric_pb_service.js +0 -3
- package/google/api/monitored_resource_pb.d.ts +0 -93
- package/google/api/monitored_resource_pb.js +0 -723
- package/google/api/monitored_resource_pb_service.d.ts +0 -3
- package/google/api/monitored_resource_pb_service.js +0 -3
- package/google/api/monitoring_pb.d.ts +0 -60
- package/google/api/monitoring_pb.js +0 -469
- package/google/api/monitoring_pb_service.d.ts +0 -3
- package/google/api/monitoring_pb_service.js +0 -3
- package/google/api/policy_pb.d.ts +0 -64
- package/google/api/policy_pb.js +0 -502
- package/google/api/policy_pb_service.d.ts +0 -3
- package/google/api/policy_pb_service.js +0 -3
- package/google/api/quota_pb.d.ts +0 -112
- package/google/api/quota_pb.js +0 -873
- package/google/api/quota_pb_service.d.ts +0 -3
- package/google/api/quota_pb_service.js +0 -3
- package/google/api/resource_pb.d.ts +0 -99
- package/google/api/resource_pb.js +0 -684
- package/google/api/resource_pb_service.d.ts +0 -3
- package/google/api/resource_pb_service.js +0 -3
- package/google/api/routing_pb.d.ts +0 -54
- package/google/api/routing_pb.js +0 -416
- package/google/api/routing_pb_service.d.ts +0 -3
- package/google/api/routing_pb_service.js +0 -3
- package/google/api/service_pb.d.ts +0 -184
- package/google/api/service_pb.js +0 -1400
- package/google/api/service_pb_service.d.ts +0 -3
- package/google/api/service_pb_service.js +0 -3
- package/google/api/source_info_pb.d.ts +0 -28
- package/google/api/source_info_pb.js +0 -208
- package/google/api/source_info_pb_service.d.ts +0 -3
- package/google/api/source_info_pb_service.js +0 -3
- package/google/api/system_parameter_pb.d.ts +0 -81
- package/google/api/system_parameter_pb.js +0 -630
- package/google/api/system_parameter_pb_service.d.ts +0 -3
- package/google/api/system_parameter_pb_service.js +0 -3
- package/google/api/usage_pb.d.ts +0 -66
- package/google/api/usage_pb.js +0 -499
- package/google/api/usage_pb_service.d.ts +0 -3
- package/google/api/usage_pb_service.js +0 -3
- package/google/api/visibility_pb.d.ts +0 -64
- package/google/api/visibility_pb.js +0 -546
- package/google/api/visibility_pb_service.d.ts +0 -3
- package/google/api/visibility_pb_service.js +0 -3
- package/meta.client_pb.d.ts +0 -167
- package/meta.client_pb.js +0 -1266
- package/meta.client_pb_service.d.ts +0 -122
- package/meta.client_pb_service.js +0 -183
- package/meta.spic_config_pb.d.ts +0 -184
- package/meta.spic_config_pb.js +0 -1382
- package/meta.spic_config_pb_service.d.ts +0 -122
- package/meta.spic_config_pb_service.js +0 -183
- package/platform.activity_log_pb.d.ts +0 -177
- package/platform.activity_log_pb.js +0 -1294
- package/platform.activity_log_pb_service.d.ts +0 -82
- package/platform.activity_log_pb_service.js +0 -101
- package/platform.client_pb.d.ts +0 -350
- package/platform.client_pb.js +0 -2663
- package/platform.client_pb_service.d.ts +0 -158
- package/platform.client_pb_service.js +0 -261
- package/platform.group_pb.d.ts +0 -195
- package/platform.group_pb.js +0 -1476
- package/platform.group_pb_service.d.ts +0 -139
- package/platform.group_pb_service.js +0 -221
- package/platform.local_account_internal_pb.d.ts +0 -125
- package/platform.local_account_internal_pb.js +0 -933
- package/platform.local_account_internal_pb_service.d.ts +0 -121
- package/platform.local_account_internal_pb_service.js +0 -182
- package/platform.local_account_pb.d.ts +0 -446
- package/platform.local_account_pb.js +0 -3337
- package/platform.local_account_pb_service.d.ts +0 -331
- package/platform.local_account_pb_service.js +0 -623
- package/platform.local_distribution_pb.d.ts +0 -73
- package/platform.local_distribution_pb.js +0 -536
- package/platform.local_distribution_pb_service.d.ts +0 -63
- package/platform.local_distribution_pb_service.js +0 -61
- package/platform.location_pb.d.ts +0 -271
- package/platform.location_pb.js +0 -2046
- package/platform.location_pb_service.d.ts +0 -139
- package/platform.location_pb_service.js +0 -221
- package/platform.pagination_pb.d.ts +0 -45
- package/platform.pagination_pb.js +0 -276
- package/platform.pagination_pb_service.d.ts +0 -3
- package/platform.pagination_pb_service.js +0 -3
- package/spic.admin_alert_pb.d.ts +0 -91
- package/spic.admin_alert_pb.js +0 -666
- package/spic.admin_alert_pb_service.d.ts +0 -102
- package/spic.admin_alert_pb_service.js +0 -142
- package/spic.alarm_pb.d.ts +0 -336
- package/spic.alarm_pb.js +0 -2562
- package/spic.alarm_pb_service.d.ts +0 -101
- package/spic.alarm_pb_service.js +0 -141
- package/spic.asset_pb.d.ts +0 -652
- package/spic.asset_pb.js +0 -4669
- package/spic.asset_pb_service.d.ts +0 -197
- package/spic.asset_pb_service.js +0 -342
- package/spic.cabinet_pb.d.ts +0 -791
- package/spic.cabinet_pb.js +0 -5733
- package/spic.cabinet_pb_service.d.ts +0 -158
- package/spic.cabinet_pb_service.js +0 -261
- package/spic.config_pb.d.ts +0 -249
- package/spic.config_pb.js +0 -1891
- package/spic.config_pb_service.d.ts +0 -120
- package/spic.config_pb_service.js +0 -181
- package/spic.contractor_pb.d.ts +0 -195
- package/spic.contractor_pb.js +0 -1476
- package/spic.contractor_pb_service.d.ts +0 -139
- package/spic.contractor_pb_service.js +0 -221
- package/spic.history_pb.d.ts +0 -142
- package/spic.history_pb.js +0 -1130
- package/spic.history_pb_service.d.ts +0 -63
- package/spic.history_pb_service.js +0 -61
- package/spic.open_request_pb.d.ts +0 -237
- package/spic.open_request_pb.js +0 -1784
- package/spic.open_request_pb_service.d.ts +0 -101
- package/spic.open_request_pb_service.js +0 -141
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
// package: Auth
|
|
2
|
-
// file: auth.account_two_factor.proto
|
|
3
|
-
|
|
4
|
-
import * as auth_account_two_factor_pb from "./auth.account_two_factor_pb";
|
|
5
|
-
import * as auth_authn_pb from "./auth.authn_pb";
|
|
6
|
-
import {grpc} from "@improbable-eng/grpc-web";
|
|
7
|
-
|
|
8
|
-
type AccountTwoFactorGRPCSetupTwoFactor = {
|
|
9
|
-
readonly methodName: string;
|
|
10
|
-
readonly service: typeof AccountTwoFactorGRPC;
|
|
11
|
-
readonly requestStream: false;
|
|
12
|
-
readonly responseStream: false;
|
|
13
|
-
readonly requestType: typeof auth_account_two_factor_pb.TwoFactorProto.SetupRequest;
|
|
14
|
-
readonly responseType: typeof auth_account_two_factor_pb.TwoFactorProto.SetupReply;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
type AccountTwoFactorGRPCConfirmTwoFactor = {
|
|
18
|
-
readonly methodName: string;
|
|
19
|
-
readonly service: typeof AccountTwoFactorGRPC;
|
|
20
|
-
readonly requestStream: false;
|
|
21
|
-
readonly responseStream: false;
|
|
22
|
-
readonly requestType: typeof auth_account_two_factor_pb.TwoFactorProto.ConfirmRequest;
|
|
23
|
-
readonly responseType: typeof auth_account_two_factor_pb.TwoFactorProto.ConfirmReply;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
type AccountTwoFactorGRPCRemove = {
|
|
27
|
-
readonly methodName: string;
|
|
28
|
-
readonly service: typeof AccountTwoFactorGRPC;
|
|
29
|
-
readonly requestStream: false;
|
|
30
|
-
readonly responseStream: false;
|
|
31
|
-
readonly requestType: typeof auth_account_two_factor_pb.TwoFactorProto.RemoveRequest;
|
|
32
|
-
readonly responseType: typeof auth_account_two_factor_pb.TwoFactorProto;
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
type AccountTwoFactorGRPCValidate = {
|
|
36
|
-
readonly methodName: string;
|
|
37
|
-
readonly service: typeof AccountTwoFactorGRPC;
|
|
38
|
-
readonly requestStream: false;
|
|
39
|
-
readonly responseStream: false;
|
|
40
|
-
readonly requestType: typeof auth_account_two_factor_pb.TwoFactorProto.ValidateRequest;
|
|
41
|
-
readonly responseType: typeof auth_authn_pb.AuthnProto;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export class AccountTwoFactorGRPC {
|
|
45
|
-
static readonly serviceName: string;
|
|
46
|
-
static readonly SetupTwoFactor: AccountTwoFactorGRPCSetupTwoFactor;
|
|
47
|
-
static readonly ConfirmTwoFactor: AccountTwoFactorGRPCConfirmTwoFactor;
|
|
48
|
-
static readonly Remove: AccountTwoFactorGRPCRemove;
|
|
49
|
-
static readonly Validate: AccountTwoFactorGRPCValidate;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
53
|
-
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
54
|
-
|
|
55
|
-
interface UnaryResponse {
|
|
56
|
-
cancel(): void;
|
|
57
|
-
}
|
|
58
|
-
interface ResponseStream<T> {
|
|
59
|
-
cancel(): void;
|
|
60
|
-
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
61
|
-
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
62
|
-
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
63
|
-
}
|
|
64
|
-
interface RequestStream<T> {
|
|
65
|
-
write(message: T): RequestStream<T>;
|
|
66
|
-
end(): void;
|
|
67
|
-
cancel(): void;
|
|
68
|
-
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
69
|
-
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
70
|
-
}
|
|
71
|
-
interface BidirectionalStream<ReqT, ResT> {
|
|
72
|
-
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
73
|
-
end(): void;
|
|
74
|
-
cancel(): void;
|
|
75
|
-
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
76
|
-
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
77
|
-
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export class AccountTwoFactorGRPCClient {
|
|
81
|
-
readonly serviceHost: string;
|
|
82
|
-
|
|
83
|
-
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
84
|
-
setupTwoFactor(
|
|
85
|
-
requestMessage: auth_account_two_factor_pb.TwoFactorProto.SetupRequest,
|
|
86
|
-
metadata: grpc.Metadata,
|
|
87
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_two_factor_pb.TwoFactorProto.SetupReply|null) => void
|
|
88
|
-
): UnaryResponse;
|
|
89
|
-
setupTwoFactor(
|
|
90
|
-
requestMessage: auth_account_two_factor_pb.TwoFactorProto.SetupRequest,
|
|
91
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_two_factor_pb.TwoFactorProto.SetupReply|null) => void
|
|
92
|
-
): UnaryResponse;
|
|
93
|
-
confirmTwoFactor(
|
|
94
|
-
requestMessage: auth_account_two_factor_pb.TwoFactorProto.ConfirmRequest,
|
|
95
|
-
metadata: grpc.Metadata,
|
|
96
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_two_factor_pb.TwoFactorProto.ConfirmReply|null) => void
|
|
97
|
-
): UnaryResponse;
|
|
98
|
-
confirmTwoFactor(
|
|
99
|
-
requestMessage: auth_account_two_factor_pb.TwoFactorProto.ConfirmRequest,
|
|
100
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_two_factor_pb.TwoFactorProto.ConfirmReply|null) => void
|
|
101
|
-
): UnaryResponse;
|
|
102
|
-
remove(
|
|
103
|
-
requestMessage: auth_account_two_factor_pb.TwoFactorProto.RemoveRequest,
|
|
104
|
-
metadata: grpc.Metadata,
|
|
105
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_two_factor_pb.TwoFactorProto|null) => void
|
|
106
|
-
): UnaryResponse;
|
|
107
|
-
remove(
|
|
108
|
-
requestMessage: auth_account_two_factor_pb.TwoFactorProto.RemoveRequest,
|
|
109
|
-
callback: (error: ServiceError|null, responseMessage: auth_account_two_factor_pb.TwoFactorProto|null) => void
|
|
110
|
-
): UnaryResponse;
|
|
111
|
-
validate(
|
|
112
|
-
requestMessage: auth_account_two_factor_pb.TwoFactorProto.ValidateRequest,
|
|
113
|
-
metadata: grpc.Metadata,
|
|
114
|
-
callback: (error: ServiceError|null, responseMessage: auth_authn_pb.AuthnProto|null) => void
|
|
115
|
-
): UnaryResponse;
|
|
116
|
-
validate(
|
|
117
|
-
requestMessage: auth_account_two_factor_pb.TwoFactorProto.ValidateRequest,
|
|
118
|
-
callback: (error: ServiceError|null, responseMessage: auth_authn_pb.AuthnProto|null) => void
|
|
119
|
-
): UnaryResponse;
|
|
120
|
-
}
|
|
121
|
-
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
// package: Auth
|
|
2
|
-
// file: auth.account_two_factor.proto
|
|
3
|
-
|
|
4
|
-
var auth_account_two_factor_pb = require("./auth.account_two_factor_pb");
|
|
5
|
-
var auth_authn_pb = require("./auth.authn_pb");
|
|
6
|
-
var grpc = require("@improbable-eng/grpc-web").grpc;
|
|
7
|
-
|
|
8
|
-
var AccountTwoFactorGRPC = (function () {
|
|
9
|
-
function AccountTwoFactorGRPC() {}
|
|
10
|
-
AccountTwoFactorGRPC.serviceName = "Auth.AccountTwoFactorGRPC";
|
|
11
|
-
return AccountTwoFactorGRPC;
|
|
12
|
-
}());
|
|
13
|
-
|
|
14
|
-
AccountTwoFactorGRPC.SetupTwoFactor = {
|
|
15
|
-
methodName: "SetupTwoFactor",
|
|
16
|
-
service: AccountTwoFactorGRPC,
|
|
17
|
-
requestStream: false,
|
|
18
|
-
responseStream: false,
|
|
19
|
-
requestType: auth_account_two_factor_pb.TwoFactorProto.SetupRequest,
|
|
20
|
-
responseType: auth_account_two_factor_pb.TwoFactorProto.SetupReply
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
AccountTwoFactorGRPC.ConfirmTwoFactor = {
|
|
24
|
-
methodName: "ConfirmTwoFactor",
|
|
25
|
-
service: AccountTwoFactorGRPC,
|
|
26
|
-
requestStream: false,
|
|
27
|
-
responseStream: false,
|
|
28
|
-
requestType: auth_account_two_factor_pb.TwoFactorProto.ConfirmRequest,
|
|
29
|
-
responseType: auth_account_two_factor_pb.TwoFactorProto.ConfirmReply
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
AccountTwoFactorGRPC.Remove = {
|
|
33
|
-
methodName: "Remove",
|
|
34
|
-
service: AccountTwoFactorGRPC,
|
|
35
|
-
requestStream: false,
|
|
36
|
-
responseStream: false,
|
|
37
|
-
requestType: auth_account_two_factor_pb.TwoFactorProto.RemoveRequest,
|
|
38
|
-
responseType: auth_account_two_factor_pb.TwoFactorProto
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
AccountTwoFactorGRPC.Validate = {
|
|
42
|
-
methodName: "Validate",
|
|
43
|
-
service: AccountTwoFactorGRPC,
|
|
44
|
-
requestStream: false,
|
|
45
|
-
responseStream: false,
|
|
46
|
-
requestType: auth_account_two_factor_pb.TwoFactorProto.ValidateRequest,
|
|
47
|
-
responseType: auth_authn_pb.AuthnProto
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
exports.AccountTwoFactorGRPC = AccountTwoFactorGRPC;
|
|
51
|
-
|
|
52
|
-
function AccountTwoFactorGRPCClient(serviceHost, options) {
|
|
53
|
-
this.serviceHost = serviceHost;
|
|
54
|
-
this.options = options || {};
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
AccountTwoFactorGRPCClient.prototype.setupTwoFactor = function setupTwoFactor(requestMessage, metadata, callback) {
|
|
58
|
-
if (arguments.length === 2) {
|
|
59
|
-
callback = arguments[1];
|
|
60
|
-
}
|
|
61
|
-
var client = grpc.unary(AccountTwoFactorGRPC.SetupTwoFactor, {
|
|
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
|
-
AccountTwoFactorGRPCClient.prototype.confirmTwoFactor = function confirmTwoFactor(requestMessage, metadata, callback) {
|
|
89
|
-
if (arguments.length === 2) {
|
|
90
|
-
callback = arguments[1];
|
|
91
|
-
}
|
|
92
|
-
var client = grpc.unary(AccountTwoFactorGRPC.ConfirmTwoFactor, {
|
|
93
|
-
request: requestMessage,
|
|
94
|
-
host: this.serviceHost,
|
|
95
|
-
metadata: metadata,
|
|
96
|
-
transport: this.options.transport,
|
|
97
|
-
debug: this.options.debug,
|
|
98
|
-
onEnd: function (response) {
|
|
99
|
-
if (callback) {
|
|
100
|
-
if (response.status !== grpc.Code.OK) {
|
|
101
|
-
var err = new Error(response.statusMessage);
|
|
102
|
-
err.code = response.status;
|
|
103
|
-
err.metadata = response.trailers;
|
|
104
|
-
callback(err, null);
|
|
105
|
-
} else {
|
|
106
|
-
callback(null, response.message);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
return {
|
|
112
|
-
cancel: function () {
|
|
113
|
-
callback = null;
|
|
114
|
-
client.close();
|
|
115
|
-
}
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
AccountTwoFactorGRPCClient.prototype.remove = function remove(requestMessage, metadata, callback) {
|
|
120
|
-
if (arguments.length === 2) {
|
|
121
|
-
callback = arguments[1];
|
|
122
|
-
}
|
|
123
|
-
var client = grpc.unary(AccountTwoFactorGRPC.Remove, {
|
|
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
|
-
AccountTwoFactorGRPCClient.prototype.validate = function validate(requestMessage, metadata, callback) {
|
|
151
|
-
if (arguments.length === 2) {
|
|
152
|
-
callback = arguments[1];
|
|
153
|
-
}
|
|
154
|
-
var client = grpc.unary(AccountTwoFactorGRPC.Validate, {
|
|
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
|
-
exports.AccountTwoFactorGRPCClient = AccountTwoFactorGRPCClient;
|
|
182
|
-
|
package/auth.app_account_pb.d.ts
DELETED
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
// package: Auth
|
|
2
|
-
// file: auth.app_account.proto
|
|
3
|
-
|
|
4
|
-
import * as jspb from "google-protobuf";
|
|
5
|
-
import * as google_api_annotations_pb from "./google/api/annotations_pb";
|
|
6
|
-
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
7
|
-
import * as auth_account_pb from "./auth.account_pb";
|
|
8
|
-
|
|
9
|
-
export class AppAccountProto extends jspb.Message {
|
|
10
|
-
serializeBinary(): Uint8Array;
|
|
11
|
-
toObject(includeInstance?: boolean): AppAccountProto.AsObject;
|
|
12
|
-
static toObject(includeInstance: boolean, msg: AppAccountProto): AppAccountProto.AsObject;
|
|
13
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
14
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
15
|
-
static serializeBinaryToWriter(message: AppAccountProto, writer: jspb.BinaryWriter): void;
|
|
16
|
-
static deserializeBinary(bytes: Uint8Array): AppAccountProto;
|
|
17
|
-
static deserializeBinaryFromReader(message: AppAccountProto, reader: jspb.BinaryReader): AppAccountProto;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export namespace AppAccountProto {
|
|
21
|
-
export type AsObject = {
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export class FinishRegisterMobileRequest extends jspb.Message {
|
|
25
|
-
getId(): number;
|
|
26
|
-
setId(value: number): void;
|
|
27
|
-
|
|
28
|
-
getLastName(): string;
|
|
29
|
-
setLastName(value: string): void;
|
|
30
|
-
|
|
31
|
-
getFirstName(): string;
|
|
32
|
-
setFirstName(value: string): void;
|
|
33
|
-
|
|
34
|
-
getCompany(): string;
|
|
35
|
-
setCompany(value: string): void;
|
|
36
|
-
|
|
37
|
-
serializeBinary(): Uint8Array;
|
|
38
|
-
toObject(includeInstance?: boolean): FinishRegisterMobileRequest.AsObject;
|
|
39
|
-
static toObject(includeInstance: boolean, msg: FinishRegisterMobileRequest): FinishRegisterMobileRequest.AsObject;
|
|
40
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
41
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
42
|
-
static serializeBinaryToWriter(message: FinishRegisterMobileRequest, writer: jspb.BinaryWriter): void;
|
|
43
|
-
static deserializeBinary(bytes: Uint8Array): FinishRegisterMobileRequest;
|
|
44
|
-
static deserializeBinaryFromReader(message: FinishRegisterMobileRequest, reader: jspb.BinaryReader): FinishRegisterMobileRequest;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export namespace FinishRegisterMobileRequest {
|
|
48
|
-
export type AsObject = {
|
|
49
|
-
id: number,
|
|
50
|
-
lastName: string,
|
|
51
|
-
firstName: string,
|
|
52
|
-
company: string,
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export class RemoveMobileRequest extends jspb.Message {
|
|
57
|
-
getId(): number;
|
|
58
|
-
setId(value: number): void;
|
|
59
|
-
|
|
60
|
-
serializeBinary(): Uint8Array;
|
|
61
|
-
toObject(includeInstance?: boolean): RemoveMobileRequest.AsObject;
|
|
62
|
-
static toObject(includeInstance: boolean, msg: RemoveMobileRequest): RemoveMobileRequest.AsObject;
|
|
63
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
64
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
65
|
-
static serializeBinaryToWriter(message: RemoveMobileRequest, writer: jspb.BinaryWriter): void;
|
|
66
|
-
static deserializeBinary(bytes: Uint8Array): RemoveMobileRequest;
|
|
67
|
-
static deserializeBinaryFromReader(message: RemoveMobileRequest, reader: jspb.BinaryReader): RemoveMobileRequest;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export namespace RemoveMobileRequest {
|
|
71
|
-
export type AsObject = {
|
|
72
|
-
id: number,
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export class ChangeNameRequest extends jspb.Message {
|
|
77
|
-
getId(): number;
|
|
78
|
-
setId(value: number): void;
|
|
79
|
-
|
|
80
|
-
getLastName(): string;
|
|
81
|
-
setLastName(value: string): void;
|
|
82
|
-
|
|
83
|
-
getFirstName(): string;
|
|
84
|
-
setFirstName(value: string): void;
|
|
85
|
-
|
|
86
|
-
serializeBinary(): Uint8Array;
|
|
87
|
-
toObject(includeInstance?: boolean): ChangeNameRequest.AsObject;
|
|
88
|
-
static toObject(includeInstance: boolean, msg: ChangeNameRequest): ChangeNameRequest.AsObject;
|
|
89
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
90
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
91
|
-
static serializeBinaryToWriter(message: ChangeNameRequest, writer: jspb.BinaryWriter): void;
|
|
92
|
-
static deserializeBinary(bytes: Uint8Array): ChangeNameRequest;
|
|
93
|
-
static deserializeBinaryFromReader(message: ChangeNameRequest, reader: jspb.BinaryReader): ChangeNameRequest;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export namespace ChangeNameRequest {
|
|
97
|
-
export type AsObject = {
|
|
98
|
-
id: number,
|
|
99
|
-
lastName: string,
|
|
100
|
-
firstName: string,
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export class ChangePskRequest extends jspb.Message {
|
|
105
|
-
getId(): number;
|
|
106
|
-
setId(value: number): void;
|
|
107
|
-
|
|
108
|
-
getPsk(): string;
|
|
109
|
-
setPsk(value: string): void;
|
|
110
|
-
|
|
111
|
-
serializeBinary(): Uint8Array;
|
|
112
|
-
toObject(includeInstance?: boolean): ChangePskRequest.AsObject;
|
|
113
|
-
static toObject(includeInstance: boolean, msg: ChangePskRequest): ChangePskRequest.AsObject;
|
|
114
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
115
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
116
|
-
static serializeBinaryToWriter(message: ChangePskRequest, writer: jspb.BinaryWriter): void;
|
|
117
|
-
static deserializeBinary(bytes: Uint8Array): ChangePskRequest;
|
|
118
|
-
static deserializeBinaryFromReader(message: ChangePskRequest, reader: jspb.BinaryReader): ChangePskRequest;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export namespace ChangePskRequest {
|
|
122
|
-
export type AsObject = {
|
|
123
|
-
id: number,
|
|
124
|
-
psk: string,
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export class ModifyClientRequest extends jspb.Message {
|
|
129
|
-
getId(): number;
|
|
130
|
-
setId(value: number): void;
|
|
131
|
-
|
|
132
|
-
getClientId(): number;
|
|
133
|
-
setClientId(value: number): void;
|
|
134
|
-
|
|
135
|
-
getClusterId(): number;
|
|
136
|
-
setClusterId(value: number): void;
|
|
137
|
-
|
|
138
|
-
serializeBinary(): Uint8Array;
|
|
139
|
-
toObject(includeInstance?: boolean): ModifyClientRequest.AsObject;
|
|
140
|
-
static toObject(includeInstance: boolean, msg: ModifyClientRequest): ModifyClientRequest.AsObject;
|
|
141
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
142
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
143
|
-
static serializeBinaryToWriter(message: ModifyClientRequest, writer: jspb.BinaryWriter): void;
|
|
144
|
-
static deserializeBinary(bytes: Uint8Array): ModifyClientRequest;
|
|
145
|
-
static deserializeBinaryFromReader(message: ModifyClientRequest, reader: jspb.BinaryReader): ModifyClientRequest;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
export namespace ModifyClientRequest {
|
|
149
|
-
export type AsObject = {
|
|
150
|
-
id: number,
|
|
151
|
-
clientId: number,
|
|
152
|
-
clusterId: number,
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|