@aceplus/smartace-api 2.13.0-alpha.1 → 2.13.0-alpha.11

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.
Files changed (221) hide show
  1. package/package.json +1 -1
  2. package/auth.account_pb.d.ts +0 -704
  3. package/auth.account_pb.js +0 -5239
  4. package/auth.account_pb_service.d.ts +0 -511
  5. package/auth.account_pb_service.js +0 -997
  6. package/auth.account_two_factor_pb.d.ts +0 -159
  7. package/auth.account_two_factor_pb.js +0 -1184
  8. package/auth.account_two_factor_pb_service.d.ts +0 -121
  9. package/auth.account_two_factor_pb_service.js +0 -182
  10. package/auth.app_account_pb.d.ts +0 -156
  11. package/auth.app_account_pb.js +0 -1153
  12. package/auth.app_account_pb_service.d.ts +0 -160
  13. package/auth.app_account_pb_service.js +0 -263
  14. package/auth.app_authn_pb.d.ts +0 -172
  15. package/auth.app_authn_pb.js +0 -1233
  16. package/auth.app_authn_pb_service.d.ts +0 -140
  17. package/auth.app_authn_pb_service.js +0 -222
  18. package/auth.app_distribution_pb.d.ts +0 -174
  19. package/auth.app_distribution_pb.js +0 -1338
  20. package/auth.app_distribution_pb_service.d.ts +0 -120
  21. package/auth.app_distribution_pb_service.js +0 -181
  22. package/auth.authn_pb.d.ts +0 -94
  23. package/auth.authn_pb.js +0 -636
  24. package/auth.authn_pb_service.d.ts +0 -82
  25. package/auth.authn_pb_service.js +0 -101
  26. package/auth.cluster_pb.d.ts +0 -258
  27. package/auth.cluster_pb.js +0 -1929
  28. package/auth.cluster_pb_service.d.ts +0 -139
  29. package/auth.cluster_pb_service.js +0 -221
  30. package/auth.distribution_pb.d.ts +0 -233
  31. package/auth.distribution_pb.js +0 -1785
  32. package/auth.distribution_pb_service.d.ts +0 -82
  33. package/auth.distribution_pb_service.js +0 -101
  34. package/auth.email_pb.d.ts +0 -277
  35. package/auth.email_pb.js +0 -1960
  36. package/auth.email_pb_service.d.ts +0 -121
  37. package/auth.email_pb_service.js +0 -182
  38. package/auth.firmware_pb.d.ts +0 -256
  39. package/auth.firmware_pb.js +0 -1997
  40. package/auth.firmware_pb_service.d.ts +0 -120
  41. package/auth.firmware_pb_service.js +0 -181
  42. package/auth.push_notification_pb.d.ts +0 -187
  43. package/auth.push_notification_pb.js +0 -1289
  44. package/auth.push_notification_pb_service.d.ts +0 -121
  45. package/auth.push_notification_pb_service.js +0 -182
  46. package/auth.sms_pb.d.ts +0 -79
  47. package/auth.sms_pb.js +0 -575
  48. package/auth.sms_pb_service.d.ts +0 -83
  49. package/auth.sms_pb_service.js +0 -102
  50. package/google/api/annotations_pb.d.ts +0 -9
  51. package/google/api/annotations_pb.js +0 -54
  52. package/google/api/annotations_pb_service.d.ts +0 -3
  53. package/google/api/annotations_pb_service.js +0 -3
  54. package/google/api/auth_pb.d.ts +0 -150
  55. package/google/api/auth_pb.js +0 -1160
  56. package/google/api/auth_pb_service.d.ts +0 -3
  57. package/google/api/auth_pb_service.js +0 -3
  58. package/google/api/backend_pb.d.ts +0 -59
  59. package/google/api/backend_pb.js +0 -448
  60. package/google/api/backend_pb_service.d.ts +0 -3
  61. package/google/api/backend_pb_service.js +0 -3
  62. package/google/api/billing_pb.d.ts +0 -54
  63. package/google/api/billing_pb.js +0 -416
  64. package/google/api/billing_pb_service.d.ts +0 -3
  65. package/google/api/billing_pb_service.js +0 -3
  66. package/google/api/client_pb.d.ts +0 -12
  67. package/google/api/client_pb.js +0 -104
  68. package/google/api/client_pb_service.d.ts +0 -3
  69. package/google/api/client_pb_service.js +0 -3
  70. package/google/api/config_change_pb.d.ts +0 -72
  71. package/google/api/config_change_pb.js +0 -489
  72. package/google/api/config_change_pb_service.d.ts +0 -3
  73. package/google/api/config_change_pb_service.js +0 -3
  74. package/google/api/consumer_pb.d.ts +0 -65
  75. package/google/api/consumer_pb.js +0 -430
  76. package/google/api/consumer_pb_service.d.ts +0 -3
  77. package/google/api/consumer_pb_service.js +0 -3
  78. package/google/api/context_pb.d.ts +0 -59
  79. package/google/api/context_pb.js +0 -463
  80. package/google/api/context_pb_service.d.ts +0 -3
  81. package/google/api/context_pb_service.js +0 -3
  82. package/google/api/control_pb.d.ts +0 -25
  83. package/google/api/control_pb.js +0 -176
  84. package/google/api/control_pb_service.d.ts +0 -3
  85. package/google/api/control_pb_service.js +0 -3
  86. package/google/api/distribution_pb.d.ts +0 -235
  87. package/google/api/distribution_pb.js +0 -1805
  88. package/google/api/distribution_pb_service.d.ts +0 -3
  89. package/google/api/distribution_pb_service.js +0 -3
  90. package/google/api/documentation_pb.d.ts +0 -103
  91. package/google/api/documentation_pb.js +0 -803
  92. package/google/api/documentation_pb_service.d.ts +0 -3
  93. package/google/api/documentation_pb_service.js +0 -3
  94. package/google/api/endpoint_pb.d.ts +0 -46
  95. package/google/api/endpoint_pb.js +0 -343
  96. package/google/api/endpoint_pb_service.d.ts +0 -3
  97. package/google/api/endpoint_pb_service.js +0 -3
  98. package/google/api/error_reason_pb.d.ts +0 -40
  99. package/google/api/error_reason_pb.js +0 -61
  100. package/google/api/error_reason_pb_service.d.ts +0 -3
  101. package/google/api/error_reason_pb_service.js +0 -3
  102. package/google/api/field_behavior_pb.d.ts +0 -20
  103. package/google/api/field_behavior_pb.js +0 -66
  104. package/google/api/field_behavior_pb_service.d.ts +0 -3
  105. package/google/api/field_behavior_pb_service.js +0 -3
  106. package/google/api/http_pb.d.ts +0 -136
  107. package/google/api/http_pb.js +0 -1012
  108. package/google/api/http_pb_service.d.ts +0 -3
  109. package/google/api/http_pb_service.js +0 -3
  110. package/google/api/httpbody_pb.d.ts +0 -38
  111. package/google/api/httpbody_pb.js +0 -292
  112. package/google/api/httpbody_pb_service.d.ts +0 -3
  113. package/google/api/httpbody_pb_service.js +0 -3
  114. package/google/api/label_pb.d.ts +0 -41
  115. package/google/api/label_pb.js +0 -246
  116. package/google/api/label_pb_service.d.ts +0 -3
  117. package/google/api/label_pb_service.js +0 -3
  118. package/google/api/launch_stage_pb.d.ts +0 -16
  119. package/google/api/launch_stage_pb.js +0 -37
  120. package/google/api/launch_stage_pb_service.d.ts +0 -3
  121. package/google/api/launch_stage_pb_service.js +0 -3
  122. package/google/api/log_pb.d.ts +0 -40
  123. package/google/api/log_pb.js +0 -298
  124. package/google/api/log_pb_service.d.ts +0 -3
  125. package/google/api/log_pb_service.js +0 -3
  126. package/google/api/logging_pb.d.ts +0 -60
  127. package/google/api/logging_pb.js +0 -469
  128. package/google/api/logging_pb_service.d.ts +0 -3
  129. package/google/api/logging_pb_service.js +0 -3
  130. package/google/api/metric_pb.d.ts +0 -100
  131. package/google/api/metric_pb.js +0 -629
  132. package/google/api/metric_pb_service.d.ts +0 -3
  133. package/google/api/metric_pb_service.js +0 -3
  134. package/google/api/monitored_resource_pb.d.ts +0 -93
  135. package/google/api/monitored_resource_pb.js +0 -723
  136. package/google/api/monitored_resource_pb_service.d.ts +0 -3
  137. package/google/api/monitored_resource_pb_service.js +0 -3
  138. package/google/api/monitoring_pb.d.ts +0 -60
  139. package/google/api/monitoring_pb.js +0 -469
  140. package/google/api/monitoring_pb_service.d.ts +0 -3
  141. package/google/api/monitoring_pb_service.js +0 -3
  142. package/google/api/policy_pb.d.ts +0 -64
  143. package/google/api/policy_pb.js +0 -502
  144. package/google/api/policy_pb_service.d.ts +0 -3
  145. package/google/api/policy_pb_service.js +0 -3
  146. package/google/api/quota_pb.d.ts +0 -112
  147. package/google/api/quota_pb.js +0 -873
  148. package/google/api/quota_pb_service.d.ts +0 -3
  149. package/google/api/quota_pb_service.js +0 -3
  150. package/google/api/resource_pb.d.ts +0 -99
  151. package/google/api/resource_pb.js +0 -684
  152. package/google/api/resource_pb_service.d.ts +0 -3
  153. package/google/api/resource_pb_service.js +0 -3
  154. package/google/api/routing_pb.d.ts +0 -54
  155. package/google/api/routing_pb.js +0 -416
  156. package/google/api/routing_pb_service.d.ts +0 -3
  157. package/google/api/routing_pb_service.js +0 -3
  158. package/google/api/service_pb.d.ts +0 -184
  159. package/google/api/service_pb.js +0 -1400
  160. package/google/api/service_pb_service.d.ts +0 -3
  161. package/google/api/service_pb_service.js +0 -3
  162. package/google/api/source_info_pb.d.ts +0 -28
  163. package/google/api/source_info_pb.js +0 -208
  164. package/google/api/source_info_pb_service.d.ts +0 -3
  165. package/google/api/source_info_pb_service.js +0 -3
  166. package/google/api/system_parameter_pb.d.ts +0 -81
  167. package/google/api/system_parameter_pb.js +0 -630
  168. package/google/api/system_parameter_pb_service.d.ts +0 -3
  169. package/google/api/system_parameter_pb_service.js +0 -3
  170. package/google/api/usage_pb.d.ts +0 -66
  171. package/google/api/usage_pb.js +0 -499
  172. package/google/api/usage_pb_service.d.ts +0 -3
  173. package/google/api/usage_pb_service.js +0 -3
  174. package/google/api/visibility_pb.d.ts +0 -64
  175. package/google/api/visibility_pb.js +0 -546
  176. package/google/api/visibility_pb_service.d.ts +0 -3
  177. package/google/api/visibility_pb_service.js +0 -3
  178. package/meta.spic_config_pb.d.ts +0 -184
  179. package/meta.spic_config_pb.js +0 -1382
  180. package/meta.spic_config_pb_service.d.ts +0 -122
  181. package/meta.spic_config_pb_service.js +0 -183
  182. package/platform.activity_log_pb.d.ts +0 -177
  183. package/platform.activity_log_pb.js +0 -1294
  184. package/platform.activity_log_pb_service.d.ts +0 -82
  185. package/platform.activity_log_pb_service.js +0 -101
  186. package/platform.client_pb.d.ts +0 -346
  187. package/platform.client_pb.js +0 -2633
  188. package/platform.client_pb_service.d.ts +0 -158
  189. package/platform.client_pb_service.js +0 -261
  190. package/platform.group_pb.d.ts +0 -195
  191. package/platform.group_pb.js +0 -1476
  192. package/platform.group_pb_service.d.ts +0 -139
  193. package/platform.group_pb_service.js +0 -221
  194. package/platform.local_account_pb.d.ts +0 -434
  195. package/platform.local_account_pb.js +0 -3318
  196. package/platform.local_account_pb_service.d.ts +0 -388
  197. package/platform.local_account_pb_service.js +0 -743
  198. package/platform.local_distribution_pb.d.ts +0 -69
  199. package/platform.local_distribution_pb.js +0 -506
  200. package/platform.local_distribution_pb_service.d.ts +0 -63
  201. package/platform.local_distribution_pb_service.js +0 -61
  202. package/platform.location_pb.d.ts +0 -271
  203. package/platform.location_pb.js +0 -2046
  204. package/platform.location_pb_service.d.ts +0 -139
  205. package/platform.location_pb_service.js +0 -221
  206. package/platform.pagination_pb.d.ts +0 -45
  207. package/platform.pagination_pb.js +0 -276
  208. package/platform.pagination_pb_service.d.ts +0 -3
  209. package/platform.pagination_pb_service.js +0 -3
  210. package/spic.cabinet_pb.d.ts +0 -1320
  211. package/spic.cabinet_pb.js +0 -9833
  212. package/spic.cabinet_pb_service.d.ts +0 -359
  213. package/spic.cabinet_pb_service.js +0 -677
  214. package/spic.config_pb.d.ts +0 -249
  215. package/spic.config_pb.js +0 -1891
  216. package/spic.config_pb_service.d.ts +0 -120
  217. package/spic.config_pb_service.js +0 -181
  218. package/spic.contractor_pb.d.ts +0 -195
  219. package/spic.contractor_pb.js +0 -1476
  220. package/spic.contractor_pb_service.d.ts +0 -139
  221. package/spic.contractor_pb_service.js +0 -221
@@ -1,122 +0,0 @@
1
- // package: Meta
2
- // file: meta.spic_config.proto
3
-
4
- import * as meta_spic_config_pb from "./meta.spic_config_pb";
5
- import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
6
- import * as spic_cabinet_pb from "./spic.cabinet_pb";
7
- import {grpc} from "@improbable-eng/grpc-web";
8
-
9
- type CabinetMetaGRPCRetrieve = {
10
- readonly methodName: string;
11
- readonly service: typeof CabinetMetaGRPC;
12
- readonly requestStream: false;
13
- readonly responseStream: false;
14
- readonly requestType: typeof spic_cabinet_pb.CabinetProto.RetrieveRequest;
15
- readonly responseType: typeof meta_spic_config_pb.CabinetLocationMeta;
16
- };
17
-
18
- type CabinetMetaGRPCSetTemperatureConfiguration = {
19
- readonly methodName: string;
20
- readonly service: typeof CabinetMetaGRPC;
21
- readonly requestStream: false;
22
- readonly responseStream: false;
23
- readonly requestType: typeof meta_spic_config_pb.TemperatureConfigurationProto.SetConfigurationRequest;
24
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
25
- };
26
-
27
- type CabinetMetaGRPCCreateTemperatureConfigurationTemplate = {
28
- readonly methodName: string;
29
- readonly service: typeof CabinetMetaGRPC;
30
- readonly requestStream: false;
31
- readonly responseStream: false;
32
- readonly requestType: typeof meta_spic_config_pb.TemperatureConfigurationProto.CreateTemplateRequest;
33
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
34
- };
35
-
36
- type CabinetMetaGRPCSearchTemperatureConfigurationTemplate = {
37
- readonly methodName: string;
38
- readonly service: typeof CabinetMetaGRPC;
39
- readonly requestStream: false;
40
- readonly responseStream: false;
41
- readonly requestType: typeof meta_spic_config_pb.TemperatureConfigurationProto.SearchTemplateRequest;
42
- readonly responseType: typeof meta_spic_config_pb.TemperatureConfigurationProto.SearchTemplateReply;
43
- };
44
-
45
- export class CabinetMetaGRPC {
46
- static readonly serviceName: string;
47
- static readonly Retrieve: CabinetMetaGRPCRetrieve;
48
- static readonly SetTemperatureConfiguration: CabinetMetaGRPCSetTemperatureConfiguration;
49
- static readonly CreateTemperatureConfigurationTemplate: CabinetMetaGRPCCreateTemperatureConfigurationTemplate;
50
- static readonly SearchTemperatureConfigurationTemplate: CabinetMetaGRPCSearchTemperatureConfigurationTemplate;
51
- }
52
-
53
- export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
54
- export type Status = { details: string, code: number; metadata: grpc.Metadata }
55
-
56
- interface UnaryResponse {
57
- cancel(): void;
58
- }
59
- interface ResponseStream<T> {
60
- cancel(): void;
61
- on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
62
- on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
63
- on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
64
- }
65
- interface RequestStream<T> {
66
- write(message: T): RequestStream<T>;
67
- end(): void;
68
- cancel(): void;
69
- on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
70
- on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
71
- }
72
- interface BidirectionalStream<ReqT, ResT> {
73
- write(message: ReqT): BidirectionalStream<ReqT, ResT>;
74
- end(): void;
75
- cancel(): void;
76
- on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
77
- on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
78
- on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
79
- }
80
-
81
- export class CabinetMetaGRPCClient {
82
- readonly serviceHost: string;
83
-
84
- constructor(serviceHost: string, options?: grpc.RpcOptions);
85
- retrieve(
86
- requestMessage: spic_cabinet_pb.CabinetProto.RetrieveRequest,
87
- metadata: grpc.Metadata,
88
- callback: (error: ServiceError|null, responseMessage: meta_spic_config_pb.CabinetLocationMeta|null) => void
89
- ): UnaryResponse;
90
- retrieve(
91
- requestMessage: spic_cabinet_pb.CabinetProto.RetrieveRequest,
92
- callback: (error: ServiceError|null, responseMessage: meta_spic_config_pb.CabinetLocationMeta|null) => void
93
- ): UnaryResponse;
94
- setTemperatureConfiguration(
95
- requestMessage: meta_spic_config_pb.TemperatureConfigurationProto.SetConfigurationRequest,
96
- metadata: grpc.Metadata,
97
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
98
- ): UnaryResponse;
99
- setTemperatureConfiguration(
100
- requestMessage: meta_spic_config_pb.TemperatureConfigurationProto.SetConfigurationRequest,
101
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
102
- ): UnaryResponse;
103
- createTemperatureConfigurationTemplate(
104
- requestMessage: meta_spic_config_pb.TemperatureConfigurationProto.CreateTemplateRequest,
105
- metadata: grpc.Metadata,
106
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
107
- ): UnaryResponse;
108
- createTemperatureConfigurationTemplate(
109
- requestMessage: meta_spic_config_pb.TemperatureConfigurationProto.CreateTemplateRequest,
110
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
111
- ): UnaryResponse;
112
- searchTemperatureConfigurationTemplate(
113
- requestMessage: meta_spic_config_pb.TemperatureConfigurationProto.SearchTemplateRequest,
114
- metadata: grpc.Metadata,
115
- callback: (error: ServiceError|null, responseMessage: meta_spic_config_pb.TemperatureConfigurationProto.SearchTemplateReply|null) => void
116
- ): UnaryResponse;
117
- searchTemperatureConfigurationTemplate(
118
- requestMessage: meta_spic_config_pb.TemperatureConfigurationProto.SearchTemplateRequest,
119
- callback: (error: ServiceError|null, responseMessage: meta_spic_config_pb.TemperatureConfigurationProto.SearchTemplateReply|null) => void
120
- ): UnaryResponse;
121
- }
122
-
@@ -1,183 +0,0 @@
1
- // package: Meta
2
- // file: meta.spic_config.proto
3
-
4
- var meta_spic_config_pb = require("./meta.spic_config_pb");
5
- var google_protobuf_empty_pb = require("google-protobuf/google/protobuf/empty_pb");
6
- var spic_cabinet_pb = require("./spic.cabinet_pb");
7
- var grpc = require("@improbable-eng/grpc-web").grpc;
8
-
9
- var CabinetMetaGRPC = (function () {
10
- function CabinetMetaGRPC() {}
11
- CabinetMetaGRPC.serviceName = "Meta.CabinetMetaGRPC";
12
- return CabinetMetaGRPC;
13
- }());
14
-
15
- CabinetMetaGRPC.Retrieve = {
16
- methodName: "Retrieve",
17
- service: CabinetMetaGRPC,
18
- requestStream: false,
19
- responseStream: false,
20
- requestType: spic_cabinet_pb.CabinetProto.RetrieveRequest,
21
- responseType: meta_spic_config_pb.CabinetLocationMeta
22
- };
23
-
24
- CabinetMetaGRPC.SetTemperatureConfiguration = {
25
- methodName: "SetTemperatureConfiguration",
26
- service: CabinetMetaGRPC,
27
- requestStream: false,
28
- responseStream: false,
29
- requestType: meta_spic_config_pb.TemperatureConfigurationProto.SetConfigurationRequest,
30
- responseType: google_protobuf_empty_pb.Empty
31
- };
32
-
33
- CabinetMetaGRPC.CreateTemperatureConfigurationTemplate = {
34
- methodName: "CreateTemperatureConfigurationTemplate",
35
- service: CabinetMetaGRPC,
36
- requestStream: false,
37
- responseStream: false,
38
- requestType: meta_spic_config_pb.TemperatureConfigurationProto.CreateTemplateRequest,
39
- responseType: google_protobuf_empty_pb.Empty
40
- };
41
-
42
- CabinetMetaGRPC.SearchTemperatureConfigurationTemplate = {
43
- methodName: "SearchTemperatureConfigurationTemplate",
44
- service: CabinetMetaGRPC,
45
- requestStream: false,
46
- responseStream: false,
47
- requestType: meta_spic_config_pb.TemperatureConfigurationProto.SearchTemplateRequest,
48
- responseType: meta_spic_config_pb.TemperatureConfigurationProto.SearchTemplateReply
49
- };
50
-
51
- exports.CabinetMetaGRPC = CabinetMetaGRPC;
52
-
53
- function CabinetMetaGRPCClient(serviceHost, options) {
54
- this.serviceHost = serviceHost;
55
- this.options = options || {};
56
- }
57
-
58
- CabinetMetaGRPCClient.prototype.retrieve = function retrieve(requestMessage, metadata, callback) {
59
- if (arguments.length === 2) {
60
- callback = arguments[1];
61
- }
62
- var client = grpc.unary(CabinetMetaGRPC.Retrieve, {
63
- request: requestMessage,
64
- host: this.serviceHost,
65
- metadata: metadata,
66
- transport: this.options.transport,
67
- debug: this.options.debug,
68
- onEnd: function (response) {
69
- if (callback) {
70
- if (response.status !== grpc.Code.OK) {
71
- var err = new Error(response.statusMessage);
72
- err.code = response.status;
73
- err.metadata = response.trailers;
74
- callback(err, null);
75
- } else {
76
- callback(null, response.message);
77
- }
78
- }
79
- }
80
- });
81
- return {
82
- cancel: function () {
83
- callback = null;
84
- client.close();
85
- }
86
- };
87
- };
88
-
89
- CabinetMetaGRPCClient.prototype.setTemperatureConfiguration = function setTemperatureConfiguration(requestMessage, metadata, callback) {
90
- if (arguments.length === 2) {
91
- callback = arguments[1];
92
- }
93
- var client = grpc.unary(CabinetMetaGRPC.SetTemperatureConfiguration, {
94
- request: requestMessage,
95
- host: this.serviceHost,
96
- metadata: metadata,
97
- transport: this.options.transport,
98
- debug: this.options.debug,
99
- onEnd: function (response) {
100
- if (callback) {
101
- if (response.status !== grpc.Code.OK) {
102
- var err = new Error(response.statusMessage);
103
- err.code = response.status;
104
- err.metadata = response.trailers;
105
- callback(err, null);
106
- } else {
107
- callback(null, response.message);
108
- }
109
- }
110
- }
111
- });
112
- return {
113
- cancel: function () {
114
- callback = null;
115
- client.close();
116
- }
117
- };
118
- };
119
-
120
- CabinetMetaGRPCClient.prototype.createTemperatureConfigurationTemplate = function createTemperatureConfigurationTemplate(requestMessage, metadata, callback) {
121
- if (arguments.length === 2) {
122
- callback = arguments[1];
123
- }
124
- var client = grpc.unary(CabinetMetaGRPC.CreateTemperatureConfigurationTemplate, {
125
- request: requestMessage,
126
- host: this.serviceHost,
127
- metadata: metadata,
128
- transport: this.options.transport,
129
- debug: this.options.debug,
130
- onEnd: function (response) {
131
- if (callback) {
132
- if (response.status !== grpc.Code.OK) {
133
- var err = new Error(response.statusMessage);
134
- err.code = response.status;
135
- err.metadata = response.trailers;
136
- callback(err, null);
137
- } else {
138
- callback(null, response.message);
139
- }
140
- }
141
- }
142
- });
143
- return {
144
- cancel: function () {
145
- callback = null;
146
- client.close();
147
- }
148
- };
149
- };
150
-
151
- CabinetMetaGRPCClient.prototype.searchTemperatureConfigurationTemplate = function searchTemperatureConfigurationTemplate(requestMessage, metadata, callback) {
152
- if (arguments.length === 2) {
153
- callback = arguments[1];
154
- }
155
- var client = grpc.unary(CabinetMetaGRPC.SearchTemperatureConfigurationTemplate, {
156
- request: requestMessage,
157
- host: this.serviceHost,
158
- metadata: metadata,
159
- transport: this.options.transport,
160
- debug: this.options.debug,
161
- onEnd: function (response) {
162
- if (callback) {
163
- if (response.status !== grpc.Code.OK) {
164
- var err = new Error(response.statusMessage);
165
- err.code = response.status;
166
- err.metadata = response.trailers;
167
- callback(err, null);
168
- } else {
169
- callback(null, response.message);
170
- }
171
- }
172
- }
173
- });
174
- return {
175
- cancel: function () {
176
- callback = null;
177
- client.close();
178
- }
179
- };
180
- };
181
-
182
- exports.CabinetMetaGRPCClient = CabinetMetaGRPCClient;
183
-
@@ -1,177 +0,0 @@
1
- // package: Platform
2
- // file: platform.activity_log.proto
3
-
4
- import * as jspb from "google-protobuf";
5
- import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
6
- import * as google_api_annotations_pb from "./google/api/annotations_pb";
7
- import * as platform_pagination_pb from "./platform.pagination_pb";
8
-
9
- export class ActivityLogProto extends jspb.Message {
10
- getId(): number;
11
- setId(value: number): void;
12
-
13
- hasDate(): boolean;
14
- clearDate(): void;
15
- getDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
16
- setDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
17
-
18
- getAdminId(): number;
19
- setAdminId(value: number): void;
20
-
21
- getAdminName(): string;
22
- setAdminName(value: string): void;
23
-
24
- getText(): string;
25
- setText(value: string): void;
26
-
27
- getType(): ActivityLogProto.ActivityTypeMap[keyof ActivityLogProto.ActivityTypeMap];
28
- setType(value: ActivityLogProto.ActivityTypeMap[keyof ActivityLogProto.ActivityTypeMap]): void;
29
-
30
- serializeBinary(): Uint8Array;
31
- toObject(includeInstance?: boolean): ActivityLogProto.AsObject;
32
- static toObject(includeInstance: boolean, msg: ActivityLogProto): ActivityLogProto.AsObject;
33
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
34
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
35
- static serializeBinaryToWriter(message: ActivityLogProto, writer: jspb.BinaryWriter): void;
36
- static deserializeBinary(bytes: Uint8Array): ActivityLogProto;
37
- static deserializeBinaryFromReader(message: ActivityLogProto, reader: jspb.BinaryReader): ActivityLogProto;
38
- }
39
-
40
- export namespace ActivityLogProto {
41
- export type AsObject = {
42
- id: number,
43
- date?: google_protobuf_timestamp_pb.Timestamp.AsObject,
44
- adminId: number,
45
- adminName: string,
46
- text: string,
47
- type: ActivityLogProto.ActivityTypeMap[keyof ActivityLogProto.ActivityTypeMap],
48
- }
49
-
50
- export class CreateRequest extends jspb.Message {
51
- hasDate(): boolean;
52
- clearDate(): void;
53
- getDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
54
- setDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
55
-
56
- getAdminId(): number;
57
- setAdminId(value: number): void;
58
-
59
- getAdminName(): string;
60
- setAdminName(value: string): void;
61
-
62
- getText(): string;
63
- setText(value: string): void;
64
-
65
- getType(): ActivityLogProto.ActivityTypeMap[keyof ActivityLogProto.ActivityTypeMap];
66
- setType(value: ActivityLogProto.ActivityTypeMap[keyof ActivityLogProto.ActivityTypeMap]): void;
67
-
68
- serializeBinary(): Uint8Array;
69
- toObject(includeInstance?: boolean): CreateRequest.AsObject;
70
- static toObject(includeInstance: boolean, msg: CreateRequest): CreateRequest.AsObject;
71
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
72
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
73
- static serializeBinaryToWriter(message: CreateRequest, writer: jspb.BinaryWriter): void;
74
- static deserializeBinary(bytes: Uint8Array): CreateRequest;
75
- static deserializeBinaryFromReader(message: CreateRequest, reader: jspb.BinaryReader): CreateRequest;
76
- }
77
-
78
- export namespace CreateRequest {
79
- export type AsObject = {
80
- date?: google_protobuf_timestamp_pb.Timestamp.AsObject,
81
- adminId: number,
82
- adminName: string,
83
- text: string,
84
- type: ActivityLogProto.ActivityTypeMap[keyof ActivityLogProto.ActivityTypeMap],
85
- }
86
- }
87
-
88
- export class SearchRequest extends jspb.Message {
89
- getAdminId(): number;
90
- setAdminId(value: number): void;
91
-
92
- getAdminName(): string;
93
- setAdminName(value: string): void;
94
-
95
- getPage(): number;
96
- setPage(value: number): void;
97
-
98
- getCount(): number;
99
- setCount(value: number): void;
100
-
101
- hasDateFrom(): boolean;
102
- clearDateFrom(): void;
103
- getDateFrom(): google_protobuf_timestamp_pb.Timestamp | undefined;
104
- setDateFrom(value?: google_protobuf_timestamp_pb.Timestamp): void;
105
-
106
- hasDateTo(): boolean;
107
- clearDateTo(): void;
108
- getDateTo(): google_protobuf_timestamp_pb.Timestamp | undefined;
109
- setDateTo(value?: google_protobuf_timestamp_pb.Timestamp): void;
110
-
111
- clearTypesList(): void;
112
- getTypesList(): Array<ActivityLogProto.ActivityTypeMap[keyof ActivityLogProto.ActivityTypeMap]>;
113
- setTypesList(value: Array<ActivityLogProto.ActivityTypeMap[keyof ActivityLogProto.ActivityTypeMap]>): void;
114
- addTypes(value: ActivityLogProto.ActivityTypeMap[keyof ActivityLogProto.ActivityTypeMap], index?: number): ActivityLogProto.ActivityTypeMap[keyof ActivityLogProto.ActivityTypeMap];
115
-
116
- serializeBinary(): Uint8Array;
117
- toObject(includeInstance?: boolean): SearchRequest.AsObject;
118
- static toObject(includeInstance: boolean, msg: SearchRequest): SearchRequest.AsObject;
119
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
120
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
121
- static serializeBinaryToWriter(message: SearchRequest, writer: jspb.BinaryWriter): void;
122
- static deserializeBinary(bytes: Uint8Array): SearchRequest;
123
- static deserializeBinaryFromReader(message: SearchRequest, reader: jspb.BinaryReader): SearchRequest;
124
- }
125
-
126
- export namespace SearchRequest {
127
- export type AsObject = {
128
- adminId: number,
129
- adminName: string,
130
- page: number,
131
- count: number,
132
- dateFrom?: google_protobuf_timestamp_pb.Timestamp.AsObject,
133
- dateTo?: google_protobuf_timestamp_pb.Timestamp.AsObject,
134
- typesList: Array<ActivityLogProto.ActivityTypeMap[keyof ActivityLogProto.ActivityTypeMap]>,
135
- }
136
- }
137
-
138
- export class SearchReply extends jspb.Message {
139
- clearActivitylogsList(): void;
140
- getActivitylogsList(): Array<ActivityLogProto>;
141
- setActivitylogsList(value: Array<ActivityLogProto>): void;
142
- addActivitylogs(value?: ActivityLogProto, index?: number): ActivityLogProto;
143
-
144
- hasPagination(): boolean;
145
- clearPagination(): void;
146
- getPagination(): platform_pagination_pb.PaginationProto | undefined;
147
- setPagination(value?: platform_pagination_pb.PaginationProto): void;
148
-
149
- serializeBinary(): Uint8Array;
150
- toObject(includeInstance?: boolean): SearchReply.AsObject;
151
- static toObject(includeInstance: boolean, msg: SearchReply): SearchReply.AsObject;
152
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
153
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
154
- static serializeBinaryToWriter(message: SearchReply, writer: jspb.BinaryWriter): void;
155
- static deserializeBinary(bytes: Uint8Array): SearchReply;
156
- static deserializeBinaryFromReader(message: SearchReply, reader: jspb.BinaryReader): SearchReply;
157
- }
158
-
159
- export namespace SearchReply {
160
- export type AsObject = {
161
- activitylogsList: Array<ActivityLogProto.AsObject>,
162
- pagination?: platform_pagination_pb.PaginationProto.AsObject,
163
- }
164
- }
165
-
166
- export interface ActivityTypeMap {
167
- CABINET: 0;
168
- GROUP: 1;
169
- USER: 2;
170
- ACCESS: 3;
171
- ADMINISTRATOR: 4;
172
- SNIFFER: 5;
173
- }
174
-
175
- export const ActivityType: ActivityTypeMap;
176
- }
177
-