@aceplus/smartace-api 3.6.0-alpha.17 → 3.6.0-alpha.19
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 +951 -0
- package/spic.cabinet_pb.js +6875 -0
- package/spic.cabinet_pb_service.d.ts +177 -0
- package/spic.cabinet_pb_service.js +301 -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,340 @@
|
|
|
1
|
+
// package: Auth
|
|
2
|
+
// file: auth.account.proto
|
|
3
|
+
|
|
4
|
+
import * as auth_account_pb from "./auth.account_pb";
|
|
5
|
+
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
6
|
+
import {grpc} from "@improbable-eng/grpc-web";
|
|
7
|
+
|
|
8
|
+
type SuperAdminAccountGRPCCreateUser = {
|
|
9
|
+
readonly methodName: string;
|
|
10
|
+
readonly service: typeof SuperAdminAccountGRPC;
|
|
11
|
+
readonly requestStream: false;
|
|
12
|
+
readonly responseStream: false;
|
|
13
|
+
readonly requestType: typeof auth_account_pb.AccountProto.CreateAdminRequest;
|
|
14
|
+
readonly responseType: typeof auth_account_pb.AccountProto;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
type SuperAdminAccountGRPCRetrieve = {
|
|
18
|
+
readonly methodName: string;
|
|
19
|
+
readonly service: typeof SuperAdminAccountGRPC;
|
|
20
|
+
readonly requestStream: false;
|
|
21
|
+
readonly responseStream: false;
|
|
22
|
+
readonly requestType: typeof auth_account_pb.AccountProto.RetrieveRequest;
|
|
23
|
+
readonly responseType: typeof auth_account_pb.AccountProto;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
type SuperAdminAccountGRPCUpdate = {
|
|
27
|
+
readonly methodName: string;
|
|
28
|
+
readonly service: typeof SuperAdminAccountGRPC;
|
|
29
|
+
readonly requestStream: false;
|
|
30
|
+
readonly responseStream: false;
|
|
31
|
+
readonly requestType: typeof auth_account_pb.AccountProto.UpdateRequest;
|
|
32
|
+
readonly responseType: typeof auth_account_pb.AccountProto;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
type SuperAdminAccountGRPCDelete = {
|
|
36
|
+
readonly methodName: string;
|
|
37
|
+
readonly service: typeof SuperAdminAccountGRPC;
|
|
38
|
+
readonly requestStream: false;
|
|
39
|
+
readonly responseStream: false;
|
|
40
|
+
readonly requestType: typeof auth_account_pb.AccountProto.DeleteRequest;
|
|
41
|
+
readonly responseType: typeof auth_account_pb.AccountProto.DeleteReply;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
type SuperAdminAccountGRPCSearch = {
|
|
45
|
+
readonly methodName: string;
|
|
46
|
+
readonly service: typeof SuperAdminAccountGRPC;
|
|
47
|
+
readonly requestStream: false;
|
|
48
|
+
readonly responseStream: false;
|
|
49
|
+
readonly requestType: typeof auth_account_pb.AccountProto.SearchRequest;
|
|
50
|
+
readonly responseType: typeof auth_account_pb.AccountProto.SearchReply;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
type SuperAdminAccountGRPCSetPassword = {
|
|
54
|
+
readonly methodName: string;
|
|
55
|
+
readonly service: typeof SuperAdminAccountGRPC;
|
|
56
|
+
readonly requestStream: false;
|
|
57
|
+
readonly responseStream: false;
|
|
58
|
+
readonly requestType: typeof auth_account_pb.AccountProto.ChangePasswordRequest;
|
|
59
|
+
readonly responseType: typeof auth_account_pb.AccountProto.ChangePasswordReply;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export class SuperAdminAccountGRPC {
|
|
63
|
+
static readonly serviceName: string;
|
|
64
|
+
static readonly CreateUser: SuperAdminAccountGRPCCreateUser;
|
|
65
|
+
static readonly Retrieve: SuperAdminAccountGRPCRetrieve;
|
|
66
|
+
static readonly Update: SuperAdminAccountGRPCUpdate;
|
|
67
|
+
static readonly Delete: SuperAdminAccountGRPCDelete;
|
|
68
|
+
static readonly Search: SuperAdminAccountGRPCSearch;
|
|
69
|
+
static readonly SetPassword: SuperAdminAccountGRPCSetPassword;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
type ClusterAccountGRPCInviteAdminUser = {
|
|
73
|
+
readonly methodName: string;
|
|
74
|
+
readonly service: typeof ClusterAccountGRPC;
|
|
75
|
+
readonly requestStream: false;
|
|
76
|
+
readonly responseStream: false;
|
|
77
|
+
readonly requestType: typeof auth_account_pb.AccountProto.CreateAdminRequest;
|
|
78
|
+
readonly responseType: typeof auth_account_pb.AccountProto;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
type ClusterAccountGRPCInviteAppUser = {
|
|
82
|
+
readonly methodName: string;
|
|
83
|
+
readonly service: typeof ClusterAccountGRPC;
|
|
84
|
+
readonly requestStream: false;
|
|
85
|
+
readonly responseStream: false;
|
|
86
|
+
readonly requestType: typeof auth_account_pb.AccountProto.CreateAppRequest;
|
|
87
|
+
readonly responseType: typeof auth_account_pb.AccountProto;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
type ClusterAccountGRPCActivateAccount = {
|
|
91
|
+
readonly methodName: string;
|
|
92
|
+
readonly service: typeof ClusterAccountGRPC;
|
|
93
|
+
readonly requestStream: false;
|
|
94
|
+
readonly responseStream: false;
|
|
95
|
+
readonly requestType: typeof auth_account_pb.AccountProto.ActivateAccountRequest;
|
|
96
|
+
readonly responseType: typeof auth_account_pb.AccountProto;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
type ClusterAccountGRPCForgotPassword = {
|
|
100
|
+
readonly methodName: string;
|
|
101
|
+
readonly service: typeof ClusterAccountGRPC;
|
|
102
|
+
readonly requestStream: false;
|
|
103
|
+
readonly responseStream: false;
|
|
104
|
+
readonly requestType: typeof auth_account_pb.AccountProto.ForgotPasswordRequest;
|
|
105
|
+
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
type ClusterAccountGRPCResetPassword = {
|
|
109
|
+
readonly methodName: string;
|
|
110
|
+
readonly service: typeof ClusterAccountGRPC;
|
|
111
|
+
readonly requestStream: false;
|
|
112
|
+
readonly responseStream: false;
|
|
113
|
+
readonly requestType: typeof auth_account_pb.AccountProto.ResetPasswordRequest;
|
|
114
|
+
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
type ClusterAccountGRPCChangePassword = {
|
|
118
|
+
readonly methodName: string;
|
|
119
|
+
readonly service: typeof ClusterAccountGRPC;
|
|
120
|
+
readonly requestStream: false;
|
|
121
|
+
readonly responseStream: false;
|
|
122
|
+
readonly requestType: typeof auth_account_pb.AccountProto.ChangePasswordRequest;
|
|
123
|
+
readonly responseType: typeof auth_account_pb.AccountProto.ChangePasswordReply;
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
type ClusterAccountGRPCRetrievePushInfo = {
|
|
127
|
+
readonly methodName: string;
|
|
128
|
+
readonly service: typeof ClusterAccountGRPC;
|
|
129
|
+
readonly requestStream: false;
|
|
130
|
+
readonly responseStream: false;
|
|
131
|
+
readonly requestType: typeof auth_account_pb.AccountProto.RetrievePushInfoRequest;
|
|
132
|
+
readonly responseType: typeof auth_account_pb.AccountProto.RetrievePushInfoReply;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
type ClusterAccountGRPCRetrieveActivationStatuses = {
|
|
136
|
+
readonly methodName: string;
|
|
137
|
+
readonly service: typeof ClusterAccountGRPC;
|
|
138
|
+
readonly requestStream: false;
|
|
139
|
+
readonly responseStream: false;
|
|
140
|
+
readonly requestType: typeof auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest;
|
|
141
|
+
readonly responseType: typeof auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
type ClusterAccountGRPCResendAdminUserInvitation = {
|
|
145
|
+
readonly methodName: string;
|
|
146
|
+
readonly service: typeof ClusterAccountGRPC;
|
|
147
|
+
readonly requestStream: false;
|
|
148
|
+
readonly responseStream: false;
|
|
149
|
+
readonly requestType: typeof auth_account_pb.AccountProto.ResendInvitationRequest;
|
|
150
|
+
readonly responseType: typeof google_protobuf_empty_pb.Empty;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
export class ClusterAccountGRPC {
|
|
154
|
+
static readonly serviceName: string;
|
|
155
|
+
static readonly InviteAdminUser: ClusterAccountGRPCInviteAdminUser;
|
|
156
|
+
static readonly InviteAppUser: ClusterAccountGRPCInviteAppUser;
|
|
157
|
+
static readonly ActivateAccount: ClusterAccountGRPCActivateAccount;
|
|
158
|
+
static readonly ForgotPassword: ClusterAccountGRPCForgotPassword;
|
|
159
|
+
static readonly ResetPassword: ClusterAccountGRPCResetPassword;
|
|
160
|
+
static readonly ChangePassword: ClusterAccountGRPCChangePassword;
|
|
161
|
+
static readonly RetrievePushInfo: ClusterAccountGRPCRetrievePushInfo;
|
|
162
|
+
static readonly RetrieveActivationStatuses: ClusterAccountGRPCRetrieveActivationStatuses;
|
|
163
|
+
static readonly ResendAdminUserInvitation: ClusterAccountGRPCResendAdminUserInvitation;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
167
|
+
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
168
|
+
|
|
169
|
+
interface UnaryResponse {
|
|
170
|
+
cancel(): void;
|
|
171
|
+
}
|
|
172
|
+
interface ResponseStream<T> {
|
|
173
|
+
cancel(): void;
|
|
174
|
+
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
175
|
+
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
176
|
+
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
177
|
+
}
|
|
178
|
+
interface RequestStream<T> {
|
|
179
|
+
write(message: T): RequestStream<T>;
|
|
180
|
+
end(): void;
|
|
181
|
+
cancel(): void;
|
|
182
|
+
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
183
|
+
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
184
|
+
}
|
|
185
|
+
interface BidirectionalStream<ReqT, ResT> {
|
|
186
|
+
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
187
|
+
end(): void;
|
|
188
|
+
cancel(): void;
|
|
189
|
+
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
190
|
+
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
191
|
+
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export class SuperAdminAccountGRPCClient {
|
|
195
|
+
readonly serviceHost: string;
|
|
196
|
+
|
|
197
|
+
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
198
|
+
createUser(
|
|
199
|
+
requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
|
|
200
|
+
metadata: grpc.Metadata,
|
|
201
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
202
|
+
): UnaryResponse;
|
|
203
|
+
createUser(
|
|
204
|
+
requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
|
|
205
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
206
|
+
): UnaryResponse;
|
|
207
|
+
retrieve(
|
|
208
|
+
requestMessage: auth_account_pb.AccountProto.RetrieveRequest,
|
|
209
|
+
metadata: grpc.Metadata,
|
|
210
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
211
|
+
): UnaryResponse;
|
|
212
|
+
retrieve(
|
|
213
|
+
requestMessage: auth_account_pb.AccountProto.RetrieveRequest,
|
|
214
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
215
|
+
): UnaryResponse;
|
|
216
|
+
update(
|
|
217
|
+
requestMessage: auth_account_pb.AccountProto.UpdateRequest,
|
|
218
|
+
metadata: grpc.Metadata,
|
|
219
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
220
|
+
): UnaryResponse;
|
|
221
|
+
update(
|
|
222
|
+
requestMessage: auth_account_pb.AccountProto.UpdateRequest,
|
|
223
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
224
|
+
): UnaryResponse;
|
|
225
|
+
delete(
|
|
226
|
+
requestMessage: auth_account_pb.AccountProto.DeleteRequest,
|
|
227
|
+
metadata: grpc.Metadata,
|
|
228
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
|
|
229
|
+
): UnaryResponse;
|
|
230
|
+
delete(
|
|
231
|
+
requestMessage: auth_account_pb.AccountProto.DeleteRequest,
|
|
232
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.DeleteReply|null) => void
|
|
233
|
+
): UnaryResponse;
|
|
234
|
+
search(
|
|
235
|
+
requestMessage: auth_account_pb.AccountProto.SearchRequest,
|
|
236
|
+
metadata: grpc.Metadata,
|
|
237
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
|
|
238
|
+
): UnaryResponse;
|
|
239
|
+
search(
|
|
240
|
+
requestMessage: auth_account_pb.AccountProto.SearchRequest,
|
|
241
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.SearchReply|null) => void
|
|
242
|
+
): UnaryResponse;
|
|
243
|
+
setPassword(
|
|
244
|
+
requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
|
|
245
|
+
metadata: grpc.Metadata,
|
|
246
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
|
|
247
|
+
): UnaryResponse;
|
|
248
|
+
setPassword(
|
|
249
|
+
requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
|
|
250
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
|
|
251
|
+
): UnaryResponse;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export class ClusterAccountGRPCClient {
|
|
255
|
+
readonly serviceHost: string;
|
|
256
|
+
|
|
257
|
+
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
258
|
+
inviteAdminUser(
|
|
259
|
+
requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
|
|
260
|
+
metadata: grpc.Metadata,
|
|
261
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
262
|
+
): UnaryResponse;
|
|
263
|
+
inviteAdminUser(
|
|
264
|
+
requestMessage: auth_account_pb.AccountProto.CreateAdminRequest,
|
|
265
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
266
|
+
): UnaryResponse;
|
|
267
|
+
inviteAppUser(
|
|
268
|
+
requestMessage: auth_account_pb.AccountProto.CreateAppRequest,
|
|
269
|
+
metadata: grpc.Metadata,
|
|
270
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
271
|
+
): UnaryResponse;
|
|
272
|
+
inviteAppUser(
|
|
273
|
+
requestMessage: auth_account_pb.AccountProto.CreateAppRequest,
|
|
274
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
275
|
+
): UnaryResponse;
|
|
276
|
+
activateAccount(
|
|
277
|
+
requestMessage: auth_account_pb.AccountProto.ActivateAccountRequest,
|
|
278
|
+
metadata: grpc.Metadata,
|
|
279
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
280
|
+
): UnaryResponse;
|
|
281
|
+
activateAccount(
|
|
282
|
+
requestMessage: auth_account_pb.AccountProto.ActivateAccountRequest,
|
|
283
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto|null) => void
|
|
284
|
+
): UnaryResponse;
|
|
285
|
+
forgotPassword(
|
|
286
|
+
requestMessage: auth_account_pb.AccountProto.ForgotPasswordRequest,
|
|
287
|
+
metadata: grpc.Metadata,
|
|
288
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
289
|
+
): UnaryResponse;
|
|
290
|
+
forgotPassword(
|
|
291
|
+
requestMessage: auth_account_pb.AccountProto.ForgotPasswordRequest,
|
|
292
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
293
|
+
): UnaryResponse;
|
|
294
|
+
resetPassword(
|
|
295
|
+
requestMessage: auth_account_pb.AccountProto.ResetPasswordRequest,
|
|
296
|
+
metadata: grpc.Metadata,
|
|
297
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
298
|
+
): UnaryResponse;
|
|
299
|
+
resetPassword(
|
|
300
|
+
requestMessage: auth_account_pb.AccountProto.ResetPasswordRequest,
|
|
301
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
302
|
+
): UnaryResponse;
|
|
303
|
+
changePassword(
|
|
304
|
+
requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
|
|
305
|
+
metadata: grpc.Metadata,
|
|
306
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
|
|
307
|
+
): UnaryResponse;
|
|
308
|
+
changePassword(
|
|
309
|
+
requestMessage: auth_account_pb.AccountProto.ChangePasswordRequest,
|
|
310
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.ChangePasswordReply|null) => void
|
|
311
|
+
): UnaryResponse;
|
|
312
|
+
retrievePushInfo(
|
|
313
|
+
requestMessage: auth_account_pb.AccountProto.RetrievePushInfoRequest,
|
|
314
|
+
metadata: grpc.Metadata,
|
|
315
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrievePushInfoReply|null) => void
|
|
316
|
+
): UnaryResponse;
|
|
317
|
+
retrievePushInfo(
|
|
318
|
+
requestMessage: auth_account_pb.AccountProto.RetrievePushInfoRequest,
|
|
319
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrievePushInfoReply|null) => void
|
|
320
|
+
): UnaryResponse;
|
|
321
|
+
retrieveActivationStatuses(
|
|
322
|
+
requestMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
|
|
323
|
+
metadata: grpc.Metadata,
|
|
324
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply|null) => void
|
|
325
|
+
): UnaryResponse;
|
|
326
|
+
retrieveActivationStatuses(
|
|
327
|
+
requestMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesRequest,
|
|
328
|
+
callback: (error: ServiceError|null, responseMessage: auth_account_pb.AccountProto.RetrieveAccountActivationStatusesReply|null) => void
|
|
329
|
+
): UnaryResponse;
|
|
330
|
+
resendAdminUserInvitation(
|
|
331
|
+
requestMessage: auth_account_pb.AccountProto.ResendInvitationRequest,
|
|
332
|
+
metadata: grpc.Metadata,
|
|
333
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
334
|
+
): UnaryResponse;
|
|
335
|
+
resendAdminUserInvitation(
|
|
336
|
+
requestMessage: auth_account_pb.AccountProto.ResendInvitationRequest,
|
|
337
|
+
callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
|
|
338
|
+
): UnaryResponse;
|
|
339
|
+
}
|
|
340
|
+
|