@aceplus/smartace-api 3.6.0-alpha.2 → 3.6.0-alpha.20
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.asset_pb.d.ts +0 -668
- package/spic.asset_pb.js +0 -4789
- package/spic.asset_pb_service.d.ts +0 -197
- package/spic.asset_pb_service.js +0 -342
- package/spic.cabinet_pb.d.ts +0 -1407
- package/spic.cabinet_pb.js +0 -10370
- package/spic.cabinet_pb_service.d.ts +0 -378
- package/spic.cabinet_pb_service.js +0 -717
- 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
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
// package: Platform
|
|
2
|
-
// file: platform.location.proto
|
|
3
|
-
|
|
4
|
-
import * as platform_location_pb from "./platform.location_pb";
|
|
5
|
-
import {grpc} from "@improbable-eng/grpc-web";
|
|
6
|
-
|
|
7
|
-
type LocationGRPCCreate = {
|
|
8
|
-
readonly methodName: string;
|
|
9
|
-
readonly service: typeof LocationGRPC;
|
|
10
|
-
readonly requestStream: false;
|
|
11
|
-
readonly responseStream: false;
|
|
12
|
-
readonly requestType: typeof platform_location_pb.LocationProto.CreateRequest;
|
|
13
|
-
readonly responseType: typeof platform_location_pb.LocationProto;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
type LocationGRPCRetrieve = {
|
|
17
|
-
readonly methodName: string;
|
|
18
|
-
readonly service: typeof LocationGRPC;
|
|
19
|
-
readonly requestStream: false;
|
|
20
|
-
readonly responseStream: false;
|
|
21
|
-
readonly requestType: typeof platform_location_pb.LocationProto.RetrieveRequest;
|
|
22
|
-
readonly responseType: typeof platform_location_pb.LocationProto;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
type LocationGRPCUpdate = {
|
|
26
|
-
readonly methodName: string;
|
|
27
|
-
readonly service: typeof LocationGRPC;
|
|
28
|
-
readonly requestStream: false;
|
|
29
|
-
readonly responseStream: false;
|
|
30
|
-
readonly requestType: typeof platform_location_pb.LocationProto.UpdateRequest;
|
|
31
|
-
readonly responseType: typeof platform_location_pb.LocationProto;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
type LocationGRPCDelete = {
|
|
35
|
-
readonly methodName: string;
|
|
36
|
-
readonly service: typeof LocationGRPC;
|
|
37
|
-
readonly requestStream: false;
|
|
38
|
-
readonly responseStream: false;
|
|
39
|
-
readonly requestType: typeof platform_location_pb.LocationProto.DeleteRequest;
|
|
40
|
-
readonly responseType: typeof platform_location_pb.LocationProto.DeleteReply;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
type LocationGRPCSearch = {
|
|
44
|
-
readonly methodName: string;
|
|
45
|
-
readonly service: typeof LocationGRPC;
|
|
46
|
-
readonly requestStream: false;
|
|
47
|
-
readonly responseStream: false;
|
|
48
|
-
readonly requestType: typeof platform_location_pb.LocationProto.SearchRequest;
|
|
49
|
-
readonly responseType: typeof platform_location_pb.LocationProto.SearchReply;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export class LocationGRPC {
|
|
53
|
-
static readonly serviceName: string;
|
|
54
|
-
static readonly Create: LocationGRPCCreate;
|
|
55
|
-
static readonly Retrieve: LocationGRPCRetrieve;
|
|
56
|
-
static readonly Update: LocationGRPCUpdate;
|
|
57
|
-
static readonly Delete: LocationGRPCDelete;
|
|
58
|
-
static readonly Search: LocationGRPCSearch;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
62
|
-
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
63
|
-
|
|
64
|
-
interface UnaryResponse {
|
|
65
|
-
cancel(): void;
|
|
66
|
-
}
|
|
67
|
-
interface ResponseStream<T> {
|
|
68
|
-
cancel(): void;
|
|
69
|
-
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
70
|
-
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
71
|
-
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
72
|
-
}
|
|
73
|
-
interface RequestStream<T> {
|
|
74
|
-
write(message: T): RequestStream<T>;
|
|
75
|
-
end(): void;
|
|
76
|
-
cancel(): void;
|
|
77
|
-
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
78
|
-
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
79
|
-
}
|
|
80
|
-
interface BidirectionalStream<ReqT, ResT> {
|
|
81
|
-
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
82
|
-
end(): void;
|
|
83
|
-
cancel(): void;
|
|
84
|
-
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
85
|
-
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
86
|
-
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export class LocationGRPCClient {
|
|
90
|
-
readonly serviceHost: string;
|
|
91
|
-
|
|
92
|
-
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
93
|
-
create(
|
|
94
|
-
requestMessage: platform_location_pb.LocationProto.CreateRequest,
|
|
95
|
-
metadata: grpc.Metadata,
|
|
96
|
-
callback: (error: ServiceError|null, responseMessage: platform_location_pb.LocationProto|null) => void
|
|
97
|
-
): UnaryResponse;
|
|
98
|
-
create(
|
|
99
|
-
requestMessage: platform_location_pb.LocationProto.CreateRequest,
|
|
100
|
-
callback: (error: ServiceError|null, responseMessage: platform_location_pb.LocationProto|null) => void
|
|
101
|
-
): UnaryResponse;
|
|
102
|
-
retrieve(
|
|
103
|
-
requestMessage: platform_location_pb.LocationProto.RetrieveRequest,
|
|
104
|
-
metadata: grpc.Metadata,
|
|
105
|
-
callback: (error: ServiceError|null, responseMessage: platform_location_pb.LocationProto|null) => void
|
|
106
|
-
): UnaryResponse;
|
|
107
|
-
retrieve(
|
|
108
|
-
requestMessage: platform_location_pb.LocationProto.RetrieveRequest,
|
|
109
|
-
callback: (error: ServiceError|null, responseMessage: platform_location_pb.LocationProto|null) => void
|
|
110
|
-
): UnaryResponse;
|
|
111
|
-
update(
|
|
112
|
-
requestMessage: platform_location_pb.LocationProto.UpdateRequest,
|
|
113
|
-
metadata: grpc.Metadata,
|
|
114
|
-
callback: (error: ServiceError|null, responseMessage: platform_location_pb.LocationProto|null) => void
|
|
115
|
-
): UnaryResponse;
|
|
116
|
-
update(
|
|
117
|
-
requestMessage: platform_location_pb.LocationProto.UpdateRequest,
|
|
118
|
-
callback: (error: ServiceError|null, responseMessage: platform_location_pb.LocationProto|null) => void
|
|
119
|
-
): UnaryResponse;
|
|
120
|
-
delete(
|
|
121
|
-
requestMessage: platform_location_pb.LocationProto.DeleteRequest,
|
|
122
|
-
metadata: grpc.Metadata,
|
|
123
|
-
callback: (error: ServiceError|null, responseMessage: platform_location_pb.LocationProto.DeleteReply|null) => void
|
|
124
|
-
): UnaryResponse;
|
|
125
|
-
delete(
|
|
126
|
-
requestMessage: platform_location_pb.LocationProto.DeleteRequest,
|
|
127
|
-
callback: (error: ServiceError|null, responseMessage: platform_location_pb.LocationProto.DeleteReply|null) => void
|
|
128
|
-
): UnaryResponse;
|
|
129
|
-
search(
|
|
130
|
-
requestMessage: platform_location_pb.LocationProto.SearchRequest,
|
|
131
|
-
metadata: grpc.Metadata,
|
|
132
|
-
callback: (error: ServiceError|null, responseMessage: platform_location_pb.LocationProto.SearchReply|null) => void
|
|
133
|
-
): UnaryResponse;
|
|
134
|
-
search(
|
|
135
|
-
requestMessage: platform_location_pb.LocationProto.SearchRequest,
|
|
136
|
-
callback: (error: ServiceError|null, responseMessage: platform_location_pb.LocationProto.SearchReply|null) => void
|
|
137
|
-
): UnaryResponse;
|
|
138
|
-
}
|
|
139
|
-
|
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
// package: Platform
|
|
2
|
-
// file: platform.location.proto
|
|
3
|
-
|
|
4
|
-
var platform_location_pb = require("./platform.location_pb");
|
|
5
|
-
var grpc = require("@improbable-eng/grpc-web").grpc;
|
|
6
|
-
|
|
7
|
-
var LocationGRPC = (function () {
|
|
8
|
-
function LocationGRPC() {}
|
|
9
|
-
LocationGRPC.serviceName = "Platform.LocationGRPC";
|
|
10
|
-
return LocationGRPC;
|
|
11
|
-
}());
|
|
12
|
-
|
|
13
|
-
LocationGRPC.Create = {
|
|
14
|
-
methodName: "Create",
|
|
15
|
-
service: LocationGRPC,
|
|
16
|
-
requestStream: false,
|
|
17
|
-
responseStream: false,
|
|
18
|
-
requestType: platform_location_pb.LocationProto.CreateRequest,
|
|
19
|
-
responseType: platform_location_pb.LocationProto
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
LocationGRPC.Retrieve = {
|
|
23
|
-
methodName: "Retrieve",
|
|
24
|
-
service: LocationGRPC,
|
|
25
|
-
requestStream: false,
|
|
26
|
-
responseStream: false,
|
|
27
|
-
requestType: platform_location_pb.LocationProto.RetrieveRequest,
|
|
28
|
-
responseType: platform_location_pb.LocationProto
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
LocationGRPC.Update = {
|
|
32
|
-
methodName: "Update",
|
|
33
|
-
service: LocationGRPC,
|
|
34
|
-
requestStream: false,
|
|
35
|
-
responseStream: false,
|
|
36
|
-
requestType: platform_location_pb.LocationProto.UpdateRequest,
|
|
37
|
-
responseType: platform_location_pb.LocationProto
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
LocationGRPC.Delete = {
|
|
41
|
-
methodName: "Delete",
|
|
42
|
-
service: LocationGRPC,
|
|
43
|
-
requestStream: false,
|
|
44
|
-
responseStream: false,
|
|
45
|
-
requestType: platform_location_pb.LocationProto.DeleteRequest,
|
|
46
|
-
responseType: platform_location_pb.LocationProto.DeleteReply
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
LocationGRPC.Search = {
|
|
50
|
-
methodName: "Search",
|
|
51
|
-
service: LocationGRPC,
|
|
52
|
-
requestStream: false,
|
|
53
|
-
responseStream: false,
|
|
54
|
-
requestType: platform_location_pb.LocationProto.SearchRequest,
|
|
55
|
-
responseType: platform_location_pb.LocationProto.SearchReply
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
exports.LocationGRPC = LocationGRPC;
|
|
59
|
-
|
|
60
|
-
function LocationGRPCClient(serviceHost, options) {
|
|
61
|
-
this.serviceHost = serviceHost;
|
|
62
|
-
this.options = options || {};
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
LocationGRPCClient.prototype.create = function create(requestMessage, metadata, callback) {
|
|
66
|
-
if (arguments.length === 2) {
|
|
67
|
-
callback = arguments[1];
|
|
68
|
-
}
|
|
69
|
-
var client = grpc.unary(LocationGRPC.Create, {
|
|
70
|
-
request: requestMessage,
|
|
71
|
-
host: this.serviceHost,
|
|
72
|
-
metadata: metadata,
|
|
73
|
-
transport: this.options.transport,
|
|
74
|
-
debug: this.options.debug,
|
|
75
|
-
onEnd: function (response) {
|
|
76
|
-
if (callback) {
|
|
77
|
-
if (response.status !== grpc.Code.OK) {
|
|
78
|
-
var err = new Error(response.statusMessage);
|
|
79
|
-
err.code = response.status;
|
|
80
|
-
err.metadata = response.trailers;
|
|
81
|
-
callback(err, null);
|
|
82
|
-
} else {
|
|
83
|
-
callback(null, response.message);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
return {
|
|
89
|
-
cancel: function () {
|
|
90
|
-
callback = null;
|
|
91
|
-
client.close();
|
|
92
|
-
}
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
LocationGRPCClient.prototype.retrieve = function retrieve(requestMessage, metadata, callback) {
|
|
97
|
-
if (arguments.length === 2) {
|
|
98
|
-
callback = arguments[1];
|
|
99
|
-
}
|
|
100
|
-
var client = grpc.unary(LocationGRPC.Retrieve, {
|
|
101
|
-
request: requestMessage,
|
|
102
|
-
host: this.serviceHost,
|
|
103
|
-
metadata: metadata,
|
|
104
|
-
transport: this.options.transport,
|
|
105
|
-
debug: this.options.debug,
|
|
106
|
-
onEnd: function (response) {
|
|
107
|
-
if (callback) {
|
|
108
|
-
if (response.status !== grpc.Code.OK) {
|
|
109
|
-
var err = new Error(response.statusMessage);
|
|
110
|
-
err.code = response.status;
|
|
111
|
-
err.metadata = response.trailers;
|
|
112
|
-
callback(err, null);
|
|
113
|
-
} else {
|
|
114
|
-
callback(null, response.message);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
return {
|
|
120
|
-
cancel: function () {
|
|
121
|
-
callback = null;
|
|
122
|
-
client.close();
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
LocationGRPCClient.prototype.update = function update(requestMessage, metadata, callback) {
|
|
128
|
-
if (arguments.length === 2) {
|
|
129
|
-
callback = arguments[1];
|
|
130
|
-
}
|
|
131
|
-
var client = grpc.unary(LocationGRPC.Update, {
|
|
132
|
-
request: requestMessage,
|
|
133
|
-
host: this.serviceHost,
|
|
134
|
-
metadata: metadata,
|
|
135
|
-
transport: this.options.transport,
|
|
136
|
-
debug: this.options.debug,
|
|
137
|
-
onEnd: function (response) {
|
|
138
|
-
if (callback) {
|
|
139
|
-
if (response.status !== grpc.Code.OK) {
|
|
140
|
-
var err = new Error(response.statusMessage);
|
|
141
|
-
err.code = response.status;
|
|
142
|
-
err.metadata = response.trailers;
|
|
143
|
-
callback(err, null);
|
|
144
|
-
} else {
|
|
145
|
-
callback(null, response.message);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
});
|
|
150
|
-
return {
|
|
151
|
-
cancel: function () {
|
|
152
|
-
callback = null;
|
|
153
|
-
client.close();
|
|
154
|
-
}
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
LocationGRPCClient.prototype.delete = function pb_delete(requestMessage, metadata, callback) {
|
|
159
|
-
if (arguments.length === 2) {
|
|
160
|
-
callback = arguments[1];
|
|
161
|
-
}
|
|
162
|
-
var client = grpc.unary(LocationGRPC.Delete, {
|
|
163
|
-
request: requestMessage,
|
|
164
|
-
host: this.serviceHost,
|
|
165
|
-
metadata: metadata,
|
|
166
|
-
transport: this.options.transport,
|
|
167
|
-
debug: this.options.debug,
|
|
168
|
-
onEnd: function (response) {
|
|
169
|
-
if (callback) {
|
|
170
|
-
if (response.status !== grpc.Code.OK) {
|
|
171
|
-
var err = new Error(response.statusMessage);
|
|
172
|
-
err.code = response.status;
|
|
173
|
-
err.metadata = response.trailers;
|
|
174
|
-
callback(err, null);
|
|
175
|
-
} else {
|
|
176
|
-
callback(null, response.message);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
return {
|
|
182
|
-
cancel: function () {
|
|
183
|
-
callback = null;
|
|
184
|
-
client.close();
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
LocationGRPCClient.prototype.search = function search(requestMessage, metadata, callback) {
|
|
190
|
-
if (arguments.length === 2) {
|
|
191
|
-
callback = arguments[1];
|
|
192
|
-
}
|
|
193
|
-
var client = grpc.unary(LocationGRPC.Search, {
|
|
194
|
-
request: requestMessage,
|
|
195
|
-
host: this.serviceHost,
|
|
196
|
-
metadata: metadata,
|
|
197
|
-
transport: this.options.transport,
|
|
198
|
-
debug: this.options.debug,
|
|
199
|
-
onEnd: function (response) {
|
|
200
|
-
if (callback) {
|
|
201
|
-
if (response.status !== grpc.Code.OK) {
|
|
202
|
-
var err = new Error(response.statusMessage);
|
|
203
|
-
err.code = response.status;
|
|
204
|
-
err.metadata = response.trailers;
|
|
205
|
-
callback(err, null);
|
|
206
|
-
} else {
|
|
207
|
-
callback(null, response.message);
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
return {
|
|
213
|
-
cancel: function () {
|
|
214
|
-
callback = null;
|
|
215
|
-
client.close();
|
|
216
|
-
}
|
|
217
|
-
};
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
exports.LocationGRPCClient = LocationGRPCClient;
|
|
221
|
-
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
// package: Platform
|
|
2
|
-
// file: platform.pagination.proto
|
|
3
|
-
|
|
4
|
-
import * as jspb from "google-protobuf";
|
|
5
|
-
|
|
6
|
-
export class PaginationProto extends jspb.Message {
|
|
7
|
-
getTotal(): number;
|
|
8
|
-
setTotal(value: number): void;
|
|
9
|
-
|
|
10
|
-
getPages(): number;
|
|
11
|
-
setPages(value: number): void;
|
|
12
|
-
|
|
13
|
-
getPage(): number;
|
|
14
|
-
setPage(value: number): void;
|
|
15
|
-
|
|
16
|
-
getCount(): number;
|
|
17
|
-
setCount(value: number): void;
|
|
18
|
-
|
|
19
|
-
serializeBinary(): Uint8Array;
|
|
20
|
-
toObject(includeInstance?: boolean): PaginationProto.AsObject;
|
|
21
|
-
static toObject(includeInstance: boolean, msg: PaginationProto): PaginationProto.AsObject;
|
|
22
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
23
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
24
|
-
static serializeBinaryToWriter(message: PaginationProto, writer: jspb.BinaryWriter): void;
|
|
25
|
-
static deserializeBinary(bytes: Uint8Array): PaginationProto;
|
|
26
|
-
static deserializeBinaryFromReader(message: PaginationProto, reader: jspb.BinaryReader): PaginationProto;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export namespace PaginationProto {
|
|
30
|
-
export type AsObject = {
|
|
31
|
-
total: number,
|
|
32
|
-
pages: number,
|
|
33
|
-
page: number,
|
|
34
|
-
count: number,
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export interface BooleanFilterTypeMap {
|
|
39
|
-
ALL: 0;
|
|
40
|
-
TRUE: 1;
|
|
41
|
-
FALSE: 2;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export const BooleanFilterType: BooleanFilterTypeMap;
|
|
45
|
-
|
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
// source: platform.pagination.proto
|
|
2
|
-
/**
|
|
3
|
-
* @fileoverview
|
|
4
|
-
* @enhanceable
|
|
5
|
-
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
-
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
-
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
-
/* eslint-disable */
|
|
12
|
-
// @ts-nocheck
|
|
13
|
-
|
|
14
|
-
var jspb = require('google-protobuf');
|
|
15
|
-
var goog = jspb;
|
|
16
|
-
var global =
|
|
17
|
-
(typeof globalThis !== 'undefined' && globalThis) ||
|
|
18
|
-
(typeof window !== 'undefined' && window) ||
|
|
19
|
-
(typeof global !== 'undefined' && global) ||
|
|
20
|
-
(typeof self !== 'undefined' && self) ||
|
|
21
|
-
(function () { return this; }).call(null) ||
|
|
22
|
-
Function('return this')();
|
|
23
|
-
|
|
24
|
-
goog.exportSymbol('proto.Platform.BooleanFilterType', null, global);
|
|
25
|
-
goog.exportSymbol('proto.Platform.PaginationProto', null, global);
|
|
26
|
-
/**
|
|
27
|
-
* Generated by JsPbCodeGenerator.
|
|
28
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
29
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
30
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
31
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
32
|
-
* valid.
|
|
33
|
-
* @extends {jspb.Message}
|
|
34
|
-
* @constructor
|
|
35
|
-
*/
|
|
36
|
-
proto.Platform.PaginationProto = function(opt_data) {
|
|
37
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
38
|
-
};
|
|
39
|
-
goog.inherits(proto.Platform.PaginationProto, jspb.Message);
|
|
40
|
-
if (goog.DEBUG && !COMPILED) {
|
|
41
|
-
/**
|
|
42
|
-
* @public
|
|
43
|
-
* @override
|
|
44
|
-
*/
|
|
45
|
-
proto.Platform.PaginationProto.displayName = 'proto.Platform.PaginationProto';
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
51
|
-
/**
|
|
52
|
-
* Creates an object representation of this proto.
|
|
53
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
54
|
-
* Optional fields that are not set will be set to undefined.
|
|
55
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
56
|
-
* For the list of reserved names please see:
|
|
57
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
58
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
59
|
-
* JSPB instance for transitional soy proto support:
|
|
60
|
-
* http://goto/soy-param-migration
|
|
61
|
-
* @return {!Object}
|
|
62
|
-
*/
|
|
63
|
-
proto.Platform.PaginationProto.prototype.toObject = function(opt_includeInstance) {
|
|
64
|
-
return proto.Platform.PaginationProto.toObject(opt_includeInstance, this);
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* Static version of the {@see toObject} method.
|
|
70
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71
|
-
* the JSPB instance for transitional soy proto support:
|
|
72
|
-
* http://goto/soy-param-migration
|
|
73
|
-
* @param {!proto.Platform.PaginationProto} msg The msg instance to transform.
|
|
74
|
-
* @return {!Object}
|
|
75
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
76
|
-
*/
|
|
77
|
-
proto.Platform.PaginationProto.toObject = function(includeInstance, msg) {
|
|
78
|
-
var f, obj = {
|
|
79
|
-
total: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
80
|
-
pages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
81
|
-
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
82
|
-
count: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
if (includeInstance) {
|
|
86
|
-
obj.$jspbMessageInstance = msg;
|
|
87
|
-
}
|
|
88
|
-
return obj;
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* Deserializes binary data (in protobuf wire format).
|
|
95
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
96
|
-
* @return {!proto.Platform.PaginationProto}
|
|
97
|
-
*/
|
|
98
|
-
proto.Platform.PaginationProto.deserializeBinary = function(bytes) {
|
|
99
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
100
|
-
var msg = new proto.Platform.PaginationProto;
|
|
101
|
-
return proto.Platform.PaginationProto.deserializeBinaryFromReader(msg, reader);
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
107
|
-
* given reader into the given message object.
|
|
108
|
-
* @param {!proto.Platform.PaginationProto} msg The message object to deserialize into.
|
|
109
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
110
|
-
* @return {!proto.Platform.PaginationProto}
|
|
111
|
-
*/
|
|
112
|
-
proto.Platform.PaginationProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
113
|
-
while (reader.nextField()) {
|
|
114
|
-
if (reader.isEndGroup()) {
|
|
115
|
-
break;
|
|
116
|
-
}
|
|
117
|
-
var field = reader.getFieldNumber();
|
|
118
|
-
switch (field) {
|
|
119
|
-
case 1:
|
|
120
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
121
|
-
msg.setTotal(value);
|
|
122
|
-
break;
|
|
123
|
-
case 2:
|
|
124
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
125
|
-
msg.setPages(value);
|
|
126
|
-
break;
|
|
127
|
-
case 3:
|
|
128
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
129
|
-
msg.setPage(value);
|
|
130
|
-
break;
|
|
131
|
-
case 4:
|
|
132
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
133
|
-
msg.setCount(value);
|
|
134
|
-
break;
|
|
135
|
-
default:
|
|
136
|
-
reader.skipField();
|
|
137
|
-
break;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
return msg;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
146
|
-
* @return {!Uint8Array}
|
|
147
|
-
*/
|
|
148
|
-
proto.Platform.PaginationProto.prototype.serializeBinary = function() {
|
|
149
|
-
var writer = new jspb.BinaryWriter();
|
|
150
|
-
proto.Platform.PaginationProto.serializeBinaryToWriter(this, writer);
|
|
151
|
-
return writer.getResultBuffer();
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
/**
|
|
156
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
157
|
-
* format), writing to the given BinaryWriter.
|
|
158
|
-
* @param {!proto.Platform.PaginationProto} message
|
|
159
|
-
* @param {!jspb.BinaryWriter} writer
|
|
160
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
161
|
-
*/
|
|
162
|
-
proto.Platform.PaginationProto.serializeBinaryToWriter = function(message, writer) {
|
|
163
|
-
var f = undefined;
|
|
164
|
-
f = message.getTotal();
|
|
165
|
-
if (f !== 0) {
|
|
166
|
-
writer.writeInt32(
|
|
167
|
-
1,
|
|
168
|
-
f
|
|
169
|
-
);
|
|
170
|
-
}
|
|
171
|
-
f = message.getPages();
|
|
172
|
-
if (f !== 0) {
|
|
173
|
-
writer.writeInt32(
|
|
174
|
-
2,
|
|
175
|
-
f
|
|
176
|
-
);
|
|
177
|
-
}
|
|
178
|
-
f = message.getPage();
|
|
179
|
-
if (f !== 0) {
|
|
180
|
-
writer.writeInt32(
|
|
181
|
-
3,
|
|
182
|
-
f
|
|
183
|
-
);
|
|
184
|
-
}
|
|
185
|
-
f = message.getCount();
|
|
186
|
-
if (f !== 0) {
|
|
187
|
-
writer.writeInt32(
|
|
188
|
-
4,
|
|
189
|
-
f
|
|
190
|
-
);
|
|
191
|
-
}
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* optional int32 Total = 1;
|
|
197
|
-
* @return {number}
|
|
198
|
-
*/
|
|
199
|
-
proto.Platform.PaginationProto.prototype.getTotal = function() {
|
|
200
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
201
|
-
};
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
/**
|
|
205
|
-
* @param {number} value
|
|
206
|
-
* @return {!proto.Platform.PaginationProto} returns this
|
|
207
|
-
*/
|
|
208
|
-
proto.Platform.PaginationProto.prototype.setTotal = function(value) {
|
|
209
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* optional int32 Pages = 2;
|
|
215
|
-
* @return {number}
|
|
216
|
-
*/
|
|
217
|
-
proto.Platform.PaginationProto.prototype.getPages = function() {
|
|
218
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
219
|
-
};
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* @param {number} value
|
|
224
|
-
* @return {!proto.Platform.PaginationProto} returns this
|
|
225
|
-
*/
|
|
226
|
-
proto.Platform.PaginationProto.prototype.setPages = function(value) {
|
|
227
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
228
|
-
};
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* optional int32 Page = 3;
|
|
233
|
-
* @return {number}
|
|
234
|
-
*/
|
|
235
|
-
proto.Platform.PaginationProto.prototype.getPage = function() {
|
|
236
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
237
|
-
};
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* @param {number} value
|
|
242
|
-
* @return {!proto.Platform.PaginationProto} returns this
|
|
243
|
-
*/
|
|
244
|
-
proto.Platform.PaginationProto.prototype.setPage = function(value) {
|
|
245
|
-
return jspb.Message.setProto3IntField(this, 3, value);
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* optional int32 Count = 4;
|
|
251
|
-
* @return {number}
|
|
252
|
-
*/
|
|
253
|
-
proto.Platform.PaginationProto.prototype.getCount = function() {
|
|
254
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
255
|
-
};
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* @param {number} value
|
|
260
|
-
* @return {!proto.Platform.PaginationProto} returns this
|
|
261
|
-
*/
|
|
262
|
-
proto.Platform.PaginationProto.prototype.setCount = function(value) {
|
|
263
|
-
return jspb.Message.setProto3IntField(this, 4, value);
|
|
264
|
-
};
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* @enum {number}
|
|
269
|
-
*/
|
|
270
|
-
proto.Platform.BooleanFilterType = {
|
|
271
|
-
ALL: 0,
|
|
272
|
-
TRUE: 1,
|
|
273
|
-
FALSE: 2
|
|
274
|
-
};
|
|
275
|
-
|
|
276
|
-
goog.object.extend(exports, proto.Platform);
|