@aceplus/smartace-api 2.13.0-alpha.12 → 2.13.0-alpha.14

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 (229) hide show
  1. package/package.json +1 -1
  2. package/auth.account_pb.d.ts +0 -574
  3. package/auth.account_pb.js +0 -4227
  4. package/auth.account_pb_service.d.ts +0 -340
  5. package/auth.account_pb_service.js +0 -637
  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.client_pb.d.ts +0 -167
  179. package/meta.client_pb.js +0 -1266
  180. package/meta.client_pb_service.d.ts +0 -122
  181. package/meta.client_pb_service.js +0 -183
  182. package/meta.spic_config_pb.d.ts +0 -184
  183. package/meta.spic_config_pb.js +0 -1382
  184. package/meta.spic_config_pb_service.d.ts +0 -122
  185. package/meta.spic_config_pb_service.js +0 -183
  186. package/platform.activity_log_pb.d.ts +0 -177
  187. package/platform.activity_log_pb.js +0 -1294
  188. package/platform.activity_log_pb_service.d.ts +0 -82
  189. package/platform.activity_log_pb_service.js +0 -101
  190. package/platform.client_pb.d.ts +0 -350
  191. package/platform.client_pb.js +0 -2663
  192. package/platform.client_pb_service.d.ts +0 -158
  193. package/platform.client_pb_service.js +0 -261
  194. package/platform.group_pb.d.ts +0 -195
  195. package/platform.group_pb.js +0 -1476
  196. package/platform.group_pb_service.d.ts +0 -139
  197. package/platform.group_pb_service.js +0 -221
  198. package/platform.local_account_internal_pb.d.ts +0 -157
  199. package/platform.local_account_internal_pb.js +0 -1187
  200. package/platform.local_account_internal_pb_service.d.ts +0 -121
  201. package/platform.local_account_internal_pb_service.js +0 -182
  202. package/platform.local_account_pb.d.ts +0 -388
  203. package/platform.local_account_pb.js +0 -2963
  204. package/platform.local_account_pb_service.d.ts +0 -331
  205. package/platform.local_account_pb_service.js +0 -623
  206. package/platform.local_distribution_pb.d.ts +0 -69
  207. package/platform.local_distribution_pb.js +0 -506
  208. package/platform.local_distribution_pb_service.d.ts +0 -63
  209. package/platform.local_distribution_pb_service.js +0 -61
  210. package/platform.location_pb.d.ts +0 -271
  211. package/platform.location_pb.js +0 -2046
  212. package/platform.location_pb_service.d.ts +0 -139
  213. package/platform.location_pb_service.js +0 -221
  214. package/platform.pagination_pb.d.ts +0 -45
  215. package/platform.pagination_pb.js +0 -276
  216. package/platform.pagination_pb_service.d.ts +0 -3
  217. package/platform.pagination_pb_service.js +0 -3
  218. package/spic.cabinet_pb.d.ts +0 -1344
  219. package/spic.cabinet_pb.js +0 -9963
  220. package/spic.cabinet_pb_service.d.ts +0 -359
  221. package/spic.cabinet_pb_service.js +0 -677
  222. package/spic.config_pb.d.ts +0 -249
  223. package/spic.config_pb.js +0 -1891
  224. package/spic.config_pb_service.d.ts +0 -120
  225. package/spic.config_pb_service.js +0 -181
  226. package/spic.contractor_pb.d.ts +0 -195
  227. package/spic.contractor_pb.js +0 -1476
  228. package/spic.contractor_pb_service.d.ts +0 -139
  229. package/spic.contractor_pb_service.js +0 -221
@@ -1,121 +0,0 @@
1
- // package: Auth
2
- // file: auth.push_notification.proto
3
-
4
- import * as auth_push_notification_pb from "./auth.push_notification_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 PushNotificationGRPCSendActive = {
9
- readonly methodName: string;
10
- readonly service: typeof PushNotificationGRPC;
11
- readonly requestStream: false;
12
- readonly responseStream: false;
13
- readonly requestType: typeof auth_push_notification_pb.PushNotificationProto.ActiveRequest;
14
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
15
- };
16
-
17
- type PushNotificationGRPCSendOpen = {
18
- readonly methodName: string;
19
- readonly service: typeof PushNotificationGRPC;
20
- readonly requestStream: false;
21
- readonly responseStream: false;
22
- readonly requestType: typeof auth_push_notification_pb.PushNotificationProto.OpenRequest;
23
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
24
- };
25
-
26
- type PushNotificationGRPCSendInfoPush = {
27
- readonly methodName: string;
28
- readonly service: typeof PushNotificationGRPC;
29
- readonly requestStream: false;
30
- readonly responseStream: false;
31
- readonly requestType: typeof auth_push_notification_pb.PushNotificationProto.InfoPushRequest;
32
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
33
- };
34
-
35
- type PushNotificationGRPCSendExpiredOpening = {
36
- readonly methodName: string;
37
- readonly service: typeof PushNotificationGRPC;
38
- readonly requestStream: false;
39
- readonly responseStream: false;
40
- readonly requestType: typeof auth_push_notification_pb.PushNotificationProto.ExpiredOpeningRequest;
41
- readonly responseType: typeof google_protobuf_empty_pb.Empty;
42
- };
43
-
44
- export class PushNotificationGRPC {
45
- static readonly serviceName: string;
46
- static readonly SendActive: PushNotificationGRPCSendActive;
47
- static readonly SendOpen: PushNotificationGRPCSendOpen;
48
- static readonly SendInfoPush: PushNotificationGRPCSendInfoPush;
49
- static readonly SendExpiredOpening: PushNotificationGRPCSendExpiredOpening;
50
- }
51
-
52
- export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
53
- export type Status = { details: string, code: number; metadata: grpc.Metadata }
54
-
55
- interface UnaryResponse {
56
- cancel(): void;
57
- }
58
- interface ResponseStream<T> {
59
- cancel(): void;
60
- on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
61
- on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
62
- on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
63
- }
64
- interface RequestStream<T> {
65
- write(message: T): RequestStream<T>;
66
- end(): void;
67
- cancel(): void;
68
- on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
69
- on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
70
- }
71
- interface BidirectionalStream<ReqT, ResT> {
72
- write(message: ReqT): BidirectionalStream<ReqT, ResT>;
73
- end(): void;
74
- cancel(): void;
75
- on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
76
- on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
77
- on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
78
- }
79
-
80
- export class PushNotificationGRPCClient {
81
- readonly serviceHost: string;
82
-
83
- constructor(serviceHost: string, options?: grpc.RpcOptions);
84
- sendActive(
85
- requestMessage: auth_push_notification_pb.PushNotificationProto.ActiveRequest,
86
- metadata: grpc.Metadata,
87
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
88
- ): UnaryResponse;
89
- sendActive(
90
- requestMessage: auth_push_notification_pb.PushNotificationProto.ActiveRequest,
91
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
92
- ): UnaryResponse;
93
- sendOpen(
94
- requestMessage: auth_push_notification_pb.PushNotificationProto.OpenRequest,
95
- metadata: grpc.Metadata,
96
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
97
- ): UnaryResponse;
98
- sendOpen(
99
- requestMessage: auth_push_notification_pb.PushNotificationProto.OpenRequest,
100
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
101
- ): UnaryResponse;
102
- sendInfoPush(
103
- requestMessage: auth_push_notification_pb.PushNotificationProto.InfoPushRequest,
104
- metadata: grpc.Metadata,
105
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
106
- ): UnaryResponse;
107
- sendInfoPush(
108
- requestMessage: auth_push_notification_pb.PushNotificationProto.InfoPushRequest,
109
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
110
- ): UnaryResponse;
111
- sendExpiredOpening(
112
- requestMessage: auth_push_notification_pb.PushNotificationProto.ExpiredOpeningRequest,
113
- metadata: grpc.Metadata,
114
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
115
- ): UnaryResponse;
116
- sendExpiredOpening(
117
- requestMessage: auth_push_notification_pb.PushNotificationProto.ExpiredOpeningRequest,
118
- callback: (error: ServiceError|null, responseMessage: google_protobuf_empty_pb.Empty|null) => void
119
- ): UnaryResponse;
120
- }
121
-
@@ -1,182 +0,0 @@
1
- // package: Auth
2
- // file: auth.push_notification.proto
3
-
4
- var auth_push_notification_pb = require("./auth.push_notification_pb");
5
- var google_protobuf_empty_pb = require("google-protobuf/google/protobuf/empty_pb");
6
- var grpc = require("@improbable-eng/grpc-web").grpc;
7
-
8
- var PushNotificationGRPC = (function () {
9
- function PushNotificationGRPC() {}
10
- PushNotificationGRPC.serviceName = "Auth.PushNotificationGRPC";
11
- return PushNotificationGRPC;
12
- }());
13
-
14
- PushNotificationGRPC.SendActive = {
15
- methodName: "SendActive",
16
- service: PushNotificationGRPC,
17
- requestStream: false,
18
- responseStream: false,
19
- requestType: auth_push_notification_pb.PushNotificationProto.ActiveRequest,
20
- responseType: google_protobuf_empty_pb.Empty
21
- };
22
-
23
- PushNotificationGRPC.SendOpen = {
24
- methodName: "SendOpen",
25
- service: PushNotificationGRPC,
26
- requestStream: false,
27
- responseStream: false,
28
- requestType: auth_push_notification_pb.PushNotificationProto.OpenRequest,
29
- responseType: google_protobuf_empty_pb.Empty
30
- };
31
-
32
- PushNotificationGRPC.SendInfoPush = {
33
- methodName: "SendInfoPush",
34
- service: PushNotificationGRPC,
35
- requestStream: false,
36
- responseStream: false,
37
- requestType: auth_push_notification_pb.PushNotificationProto.InfoPushRequest,
38
- responseType: google_protobuf_empty_pb.Empty
39
- };
40
-
41
- PushNotificationGRPC.SendExpiredOpening = {
42
- methodName: "SendExpiredOpening",
43
- service: PushNotificationGRPC,
44
- requestStream: false,
45
- responseStream: false,
46
- requestType: auth_push_notification_pb.PushNotificationProto.ExpiredOpeningRequest,
47
- responseType: google_protobuf_empty_pb.Empty
48
- };
49
-
50
- exports.PushNotificationGRPC = PushNotificationGRPC;
51
-
52
- function PushNotificationGRPCClient(serviceHost, options) {
53
- this.serviceHost = serviceHost;
54
- this.options = options || {};
55
- }
56
-
57
- PushNotificationGRPCClient.prototype.sendActive = function sendActive(requestMessage, metadata, callback) {
58
- if (arguments.length === 2) {
59
- callback = arguments[1];
60
- }
61
- var client = grpc.unary(PushNotificationGRPC.SendActive, {
62
- request: requestMessage,
63
- host: this.serviceHost,
64
- metadata: metadata,
65
- transport: this.options.transport,
66
- debug: this.options.debug,
67
- onEnd: function (response) {
68
- if (callback) {
69
- if (response.status !== grpc.Code.OK) {
70
- var err = new Error(response.statusMessage);
71
- err.code = response.status;
72
- err.metadata = response.trailers;
73
- callback(err, null);
74
- } else {
75
- callback(null, response.message);
76
- }
77
- }
78
- }
79
- });
80
- return {
81
- cancel: function () {
82
- callback = null;
83
- client.close();
84
- }
85
- };
86
- };
87
-
88
- PushNotificationGRPCClient.prototype.sendOpen = function sendOpen(requestMessage, metadata, callback) {
89
- if (arguments.length === 2) {
90
- callback = arguments[1];
91
- }
92
- var client = grpc.unary(PushNotificationGRPC.SendOpen, {
93
- request: requestMessage,
94
- host: this.serviceHost,
95
- metadata: metadata,
96
- transport: this.options.transport,
97
- debug: this.options.debug,
98
- onEnd: function (response) {
99
- if (callback) {
100
- if (response.status !== grpc.Code.OK) {
101
- var err = new Error(response.statusMessage);
102
- err.code = response.status;
103
- err.metadata = response.trailers;
104
- callback(err, null);
105
- } else {
106
- callback(null, response.message);
107
- }
108
- }
109
- }
110
- });
111
- return {
112
- cancel: function () {
113
- callback = null;
114
- client.close();
115
- }
116
- };
117
- };
118
-
119
- PushNotificationGRPCClient.prototype.sendInfoPush = function sendInfoPush(requestMessage, metadata, callback) {
120
- if (arguments.length === 2) {
121
- callback = arguments[1];
122
- }
123
- var client = grpc.unary(PushNotificationGRPC.SendInfoPush, {
124
- request: requestMessage,
125
- host: this.serviceHost,
126
- metadata: metadata,
127
- transport: this.options.transport,
128
- debug: this.options.debug,
129
- onEnd: function (response) {
130
- if (callback) {
131
- if (response.status !== grpc.Code.OK) {
132
- var err = new Error(response.statusMessage);
133
- err.code = response.status;
134
- err.metadata = response.trailers;
135
- callback(err, null);
136
- } else {
137
- callback(null, response.message);
138
- }
139
- }
140
- }
141
- });
142
- return {
143
- cancel: function () {
144
- callback = null;
145
- client.close();
146
- }
147
- };
148
- };
149
-
150
- PushNotificationGRPCClient.prototype.sendExpiredOpening = function sendExpiredOpening(requestMessage, metadata, callback) {
151
- if (arguments.length === 2) {
152
- callback = arguments[1];
153
- }
154
- var client = grpc.unary(PushNotificationGRPC.SendExpiredOpening, {
155
- request: requestMessage,
156
- host: this.serviceHost,
157
- metadata: metadata,
158
- transport: this.options.transport,
159
- debug: this.options.debug,
160
- onEnd: function (response) {
161
- if (callback) {
162
- if (response.status !== grpc.Code.OK) {
163
- var err = new Error(response.statusMessage);
164
- err.code = response.status;
165
- err.metadata = response.trailers;
166
- callback(err, null);
167
- } else {
168
- callback(null, response.message);
169
- }
170
- }
171
- }
172
- });
173
- return {
174
- cancel: function () {
175
- callback = null;
176
- client.close();
177
- }
178
- };
179
- };
180
-
181
- exports.PushNotificationGRPCClient = PushNotificationGRPCClient;
182
-
package/auth.sms_pb.d.ts DELETED
@@ -1,79 +0,0 @@
1
- // package: Auth
2
- // file: auth.sms.proto
3
-
4
- import * as jspb from "google-protobuf";
5
- import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
6
- import * as google_api_annotations_pb from "./google/api/annotations_pb";
7
-
8
- export class SmsProto extends jspb.Message {
9
- serializeBinary(): Uint8Array;
10
- toObject(includeInstance?: boolean): SmsProto.AsObject;
11
- static toObject(includeInstance: boolean, msg: SmsProto): SmsProto.AsObject;
12
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
13
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
14
- static serializeBinaryToWriter(message: SmsProto, writer: jspb.BinaryWriter): void;
15
- static deserializeBinary(bytes: Uint8Array): SmsProto;
16
- static deserializeBinaryFromReader(message: SmsProto, reader: jspb.BinaryReader): SmsProto;
17
- }
18
-
19
- export namespace SmsProto {
20
- export type AsObject = {
21
- }
22
-
23
- export class InviteRequest extends jspb.Message {
24
- getPhone(): string;
25
- setPhone(value: string): void;
26
-
27
- getFirstname(): string;
28
- setFirstname(value: string): void;
29
-
30
- getClientname(): string;
31
- setClientname(value: string): void;
32
-
33
- serializeBinary(): Uint8Array;
34
- toObject(includeInstance?: boolean): InviteRequest.AsObject;
35
- static toObject(includeInstance: boolean, msg: InviteRequest): InviteRequest.AsObject;
36
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
37
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
38
- static serializeBinaryToWriter(message: InviteRequest, writer: jspb.BinaryWriter): void;
39
- static deserializeBinary(bytes: Uint8Array): InviteRequest;
40
- static deserializeBinaryFromReader(message: InviteRequest, reader: jspb.BinaryReader): InviteRequest;
41
- }
42
-
43
- export namespace InviteRequest {
44
- export type AsObject = {
45
- phone: string,
46
- firstname: string,
47
- clientname: string,
48
- }
49
- }
50
-
51
- export class LoginCodeRequest extends jspb.Message {
52
- getPhone(): string;
53
- setPhone(value: string): void;
54
-
55
- getFirstname(): string;
56
- setFirstname(value: string): void;
57
-
58
- getLogincode(): string;
59
- setLogincode(value: string): void;
60
-
61
- serializeBinary(): Uint8Array;
62
- toObject(includeInstance?: boolean): LoginCodeRequest.AsObject;
63
- static toObject(includeInstance: boolean, msg: LoginCodeRequest): LoginCodeRequest.AsObject;
64
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
65
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
66
- static serializeBinaryToWriter(message: LoginCodeRequest, writer: jspb.BinaryWriter): void;
67
- static deserializeBinary(bytes: Uint8Array): LoginCodeRequest;
68
- static deserializeBinaryFromReader(message: LoginCodeRequest, reader: jspb.BinaryReader): LoginCodeRequest;
69
- }
70
-
71
- export namespace LoginCodeRequest {
72
- export type AsObject = {
73
- phone: string,
74
- firstname: string,
75
- logincode: string,
76
- }
77
- }
78
- }
79
-