@lansweeper/multitenant-api-grpc 0.0.6 → 0.0.7

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.
@@ -21,12 +21,8 @@ interface IMultitenantService extends grpc.ServiceDefinition<grpc.UntypedService
21
21
  getInstallsCountBySite: IMultitenantService_IGetInstallsCountBySite;
22
22
  getInstallbyClientId: IMultitenantService_IGetInstallbyClientId;
23
23
  updateInstallByClientId: IMultitenantService_IUpdateInstallByClientId;
24
- deleteInstallByClientId: IMultitenantService_IDeleteInstallByClientId;
25
24
  rotateInstallByClientId: IMultitenantService_IRotateInstallByClientId;
26
- resetInstallByClientId: IMultitenantService_IResetInstallByClientId;
27
25
  unlinkInstallByClientId: IMultitenantService_IUnlinkInstallByClientId;
28
- startInstallPushByClientId: IMultitenantService_IStartInstallPushByClientId;
29
- finishInstallPushByClientId: IMultitenantService_IFinishInstallPushByClientId;
30
26
  }
31
27
 
32
28
  interface IMultitenantService_ICheckAccessToSiteByAccountId extends grpc.MethodDefinition<profiles_pb.CheckAccessToSiteByAccountIdRequest, profiles_pb.CheckAccessToSiteByAccountIdResponse> {
@@ -101,15 +97,6 @@ interface IMultitenantService_IUpdateInstallByClientId extends grpc.MethodDefini
101
97
  responseSerialize: grpc.serialize<installs_pb.UpdateInstallByClientIdResponse>;
102
98
  responseDeserialize: grpc.deserialize<installs_pb.UpdateInstallByClientIdResponse>;
103
99
  }
104
- interface IMultitenantService_IDeleteInstallByClientId extends grpc.MethodDefinition<installs_pb.DeleteInstallByClientIdRequest, installs_pb.DeleteInstallByClientIdResponse> {
105
- path: "/lansweeper.multitenant.v1.Multitenant/DeleteInstallByClientId";
106
- requestStream: false;
107
- responseStream: false;
108
- requestSerialize: grpc.serialize<installs_pb.DeleteInstallByClientIdRequest>;
109
- requestDeserialize: grpc.deserialize<installs_pb.DeleteInstallByClientIdRequest>;
110
- responseSerialize: grpc.serialize<installs_pb.DeleteInstallByClientIdResponse>;
111
- responseDeserialize: grpc.deserialize<installs_pb.DeleteInstallByClientIdResponse>;
112
- }
113
100
  interface IMultitenantService_IRotateInstallByClientId extends grpc.MethodDefinition<installs_pb.RotateInstallByClientIdRequest, installs_pb.RotateInstallByClientIdResponse> {
114
101
  path: "/lansweeper.multitenant.v1.Multitenant/RotateInstallByClientId";
115
102
  requestStream: false;
@@ -119,15 +106,6 @@ interface IMultitenantService_IRotateInstallByClientId extends grpc.MethodDefini
119
106
  responseSerialize: grpc.serialize<installs_pb.RotateInstallByClientIdResponse>;
120
107
  responseDeserialize: grpc.deserialize<installs_pb.RotateInstallByClientIdResponse>;
121
108
  }
122
- interface IMultitenantService_IResetInstallByClientId extends grpc.MethodDefinition<installs_pb.ResetInstallByClientIdRequest, installs_pb.ResetInstallByClientIdResponse> {
123
- path: "/lansweeper.multitenant.v1.Multitenant/ResetInstallByClientId";
124
- requestStream: false;
125
- responseStream: false;
126
- requestSerialize: grpc.serialize<installs_pb.ResetInstallByClientIdRequest>;
127
- requestDeserialize: grpc.deserialize<installs_pb.ResetInstallByClientIdRequest>;
128
- responseSerialize: grpc.serialize<installs_pb.ResetInstallByClientIdResponse>;
129
- responseDeserialize: grpc.deserialize<installs_pb.ResetInstallByClientIdResponse>;
130
- }
131
109
  interface IMultitenantService_IUnlinkInstallByClientId extends grpc.MethodDefinition<installs_pb.UnlinkInstallByClientIdRequest, installs_pb.UnlinkInstallByClientIdResponse> {
132
110
  path: "/lansweeper.multitenant.v1.Multitenant/UnlinkInstallByClientId";
133
111
  requestStream: false;
@@ -137,24 +115,6 @@ interface IMultitenantService_IUnlinkInstallByClientId extends grpc.MethodDefini
137
115
  responseSerialize: grpc.serialize<installs_pb.UnlinkInstallByClientIdResponse>;
138
116
  responseDeserialize: grpc.deserialize<installs_pb.UnlinkInstallByClientIdResponse>;
139
117
  }
140
- interface IMultitenantService_IStartInstallPushByClientId extends grpc.MethodDefinition<installs_pb.StartInstallPushByClientIdRequest, installs_pb.StartInstallPushByClientIdResponse> {
141
- path: "/lansweeper.multitenant.v1.Multitenant/StartInstallPushByClientId";
142
- requestStream: false;
143
- responseStream: false;
144
- requestSerialize: grpc.serialize<installs_pb.StartInstallPushByClientIdRequest>;
145
- requestDeserialize: grpc.deserialize<installs_pb.StartInstallPushByClientIdRequest>;
146
- responseSerialize: grpc.serialize<installs_pb.StartInstallPushByClientIdResponse>;
147
- responseDeserialize: grpc.deserialize<installs_pb.StartInstallPushByClientIdResponse>;
148
- }
149
- interface IMultitenantService_IFinishInstallPushByClientId extends grpc.MethodDefinition<installs_pb.FinishInstallPushByClientIdRequest, installs_pb.FinishInstallPushByClientIdResponse> {
150
- path: "/lansweeper.multitenant.v1.Multitenant/FinishInstallPushByClientId";
151
- requestStream: false;
152
- responseStream: false;
153
- requestSerialize: grpc.serialize<installs_pb.FinishInstallPushByClientIdRequest>;
154
- requestDeserialize: grpc.deserialize<installs_pb.FinishInstallPushByClientIdRequest>;
155
- responseSerialize: grpc.serialize<installs_pb.FinishInstallPushByClientIdResponse>;
156
- responseDeserialize: grpc.deserialize<installs_pb.FinishInstallPushByClientIdResponse>;
157
- }
158
118
 
159
119
  export const MultitenantService: IMultitenantService;
160
120
 
@@ -167,12 +127,8 @@ export interface IMultitenantServer extends grpc.UntypedServiceImplementation {
167
127
  getInstallsCountBySite: grpc.handleUnaryCall<installs_pb.GetInstallsCountBySiteRequest, installs_pb.GetInstallsCountResponse>;
168
128
  getInstallbyClientId: grpc.handleUnaryCall<installs_pb.GetInstallbyClientIdRequest, installs_pb.GetInstallbyClientIdResponse>;
169
129
  updateInstallByClientId: grpc.handleUnaryCall<installs_pb.UpdateInstallByClientIdRequest, installs_pb.UpdateInstallByClientIdResponse>;
170
- deleteInstallByClientId: grpc.handleUnaryCall<installs_pb.DeleteInstallByClientIdRequest, installs_pb.DeleteInstallByClientIdResponse>;
171
130
  rotateInstallByClientId: grpc.handleUnaryCall<installs_pb.RotateInstallByClientIdRequest, installs_pb.RotateInstallByClientIdResponse>;
172
- resetInstallByClientId: grpc.handleUnaryCall<installs_pb.ResetInstallByClientIdRequest, installs_pb.ResetInstallByClientIdResponse>;
173
131
  unlinkInstallByClientId: grpc.handleUnaryCall<installs_pb.UnlinkInstallByClientIdRequest, installs_pb.UnlinkInstallByClientIdResponse>;
174
- startInstallPushByClientId: grpc.handleUnaryCall<installs_pb.StartInstallPushByClientIdRequest, installs_pb.StartInstallPushByClientIdResponse>;
175
- finishInstallPushByClientId: grpc.handleUnaryCall<installs_pb.FinishInstallPushByClientIdRequest, installs_pb.FinishInstallPushByClientIdResponse>;
176
132
  }
177
133
 
178
134
  export interface IMultitenantClient {
@@ -200,24 +156,12 @@ export interface IMultitenantClient {
200
156
  updateInstallByClientId(request: installs_pb.UpdateInstallByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.UpdateInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
201
157
  updateInstallByClientId(request: installs_pb.UpdateInstallByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.UpdateInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
202
158
  updateInstallByClientId(request: installs_pb.UpdateInstallByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.UpdateInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
203
- deleteInstallByClientId(request: installs_pb.DeleteInstallByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.DeleteInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
204
- deleteInstallByClientId(request: installs_pb.DeleteInstallByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.DeleteInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
205
- deleteInstallByClientId(request: installs_pb.DeleteInstallByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.DeleteInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
206
159
  rotateInstallByClientId(request: installs_pb.RotateInstallByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.RotateInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
207
160
  rotateInstallByClientId(request: installs_pb.RotateInstallByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.RotateInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
208
161
  rotateInstallByClientId(request: installs_pb.RotateInstallByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.RotateInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
209
- resetInstallByClientId(request: installs_pb.ResetInstallByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.ResetInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
210
- resetInstallByClientId(request: installs_pb.ResetInstallByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.ResetInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
211
- resetInstallByClientId(request: installs_pb.ResetInstallByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.ResetInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
212
162
  unlinkInstallByClientId(request: installs_pb.UnlinkInstallByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.UnlinkInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
213
163
  unlinkInstallByClientId(request: installs_pb.UnlinkInstallByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.UnlinkInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
214
164
  unlinkInstallByClientId(request: installs_pb.UnlinkInstallByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.UnlinkInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
215
- startInstallPushByClientId(request: installs_pb.StartInstallPushByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.StartInstallPushByClientIdResponse) => void): grpc.ClientUnaryCall;
216
- startInstallPushByClientId(request: installs_pb.StartInstallPushByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.StartInstallPushByClientIdResponse) => void): grpc.ClientUnaryCall;
217
- startInstallPushByClientId(request: installs_pb.StartInstallPushByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.StartInstallPushByClientIdResponse) => void): grpc.ClientUnaryCall;
218
- finishInstallPushByClientId(request: installs_pb.FinishInstallPushByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.FinishInstallPushByClientIdResponse) => void): grpc.ClientUnaryCall;
219
- finishInstallPushByClientId(request: installs_pb.FinishInstallPushByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.FinishInstallPushByClientIdResponse) => void): grpc.ClientUnaryCall;
220
- finishInstallPushByClientId(request: installs_pb.FinishInstallPushByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.FinishInstallPushByClientIdResponse) => void): grpc.ClientUnaryCall;
221
165
  }
222
166
 
223
167
  export class MultitenantClient extends grpc.Client implements IMultitenantClient {
@@ -246,22 +190,10 @@ export class MultitenantClient extends grpc.Client implements IMultitenantClient
246
190
  public updateInstallByClientId(request: installs_pb.UpdateInstallByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.UpdateInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
247
191
  public updateInstallByClientId(request: installs_pb.UpdateInstallByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.UpdateInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
248
192
  public updateInstallByClientId(request: installs_pb.UpdateInstallByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.UpdateInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
249
- public deleteInstallByClientId(request: installs_pb.DeleteInstallByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.DeleteInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
250
- public deleteInstallByClientId(request: installs_pb.DeleteInstallByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.DeleteInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
251
- public deleteInstallByClientId(request: installs_pb.DeleteInstallByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.DeleteInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
252
193
  public rotateInstallByClientId(request: installs_pb.RotateInstallByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.RotateInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
253
194
  public rotateInstallByClientId(request: installs_pb.RotateInstallByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.RotateInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
254
195
  public rotateInstallByClientId(request: installs_pb.RotateInstallByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.RotateInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
255
- public resetInstallByClientId(request: installs_pb.ResetInstallByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.ResetInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
256
- public resetInstallByClientId(request: installs_pb.ResetInstallByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.ResetInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
257
- public resetInstallByClientId(request: installs_pb.ResetInstallByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.ResetInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
258
196
  public unlinkInstallByClientId(request: installs_pb.UnlinkInstallByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.UnlinkInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
259
197
  public unlinkInstallByClientId(request: installs_pb.UnlinkInstallByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.UnlinkInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
260
198
  public unlinkInstallByClientId(request: installs_pb.UnlinkInstallByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.UnlinkInstallByClientIdResponse) => void): grpc.ClientUnaryCall;
261
- public startInstallPushByClientId(request: installs_pb.StartInstallPushByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.StartInstallPushByClientIdResponse) => void): grpc.ClientUnaryCall;
262
- public startInstallPushByClientId(request: installs_pb.StartInstallPushByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.StartInstallPushByClientIdResponse) => void): grpc.ClientUnaryCall;
263
- public startInstallPushByClientId(request: installs_pb.StartInstallPushByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.StartInstallPushByClientIdResponse) => void): grpc.ClientUnaryCall;
264
- public finishInstallPushByClientId(request: installs_pb.FinishInstallPushByClientIdRequest, callback: (error: grpc.ServiceError | null, response: installs_pb.FinishInstallPushByClientIdResponse) => void): grpc.ClientUnaryCall;
265
- public finishInstallPushByClientId(request: installs_pb.FinishInstallPushByClientIdRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: installs_pb.FinishInstallPushByClientIdResponse) => void): grpc.ClientUnaryCall;
266
- public finishInstallPushByClientId(request: installs_pb.FinishInstallPushByClientIdRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: installs_pb.FinishInstallPushByClientIdResponse) => void): grpc.ClientUnaryCall;
267
199
  }
@@ -51,50 +51,6 @@ function deserialize_lansweeper_multitenant_v1_CreateInstallResponse(buffer_arg)
51
51
  return installs_pb.CreateInstallResponse.deserializeBinary(new Uint8Array(buffer_arg));
52
52
  }
53
53
 
54
- function serialize_lansweeper_multitenant_v1_DeleteInstallByClientIdRequest(arg) {
55
- if (!(arg instanceof installs_pb.DeleteInstallByClientIdRequest)) {
56
- throw new Error('Expected argument of type lansweeper.multitenant.v1.DeleteInstallByClientIdRequest');
57
- }
58
- return Buffer.from(arg.serializeBinary());
59
- }
60
-
61
- function deserialize_lansweeper_multitenant_v1_DeleteInstallByClientIdRequest(buffer_arg) {
62
- return installs_pb.DeleteInstallByClientIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
63
- }
64
-
65
- function serialize_lansweeper_multitenant_v1_DeleteInstallByClientIdResponse(arg) {
66
- if (!(arg instanceof installs_pb.DeleteInstallByClientIdResponse)) {
67
- throw new Error('Expected argument of type lansweeper.multitenant.v1.DeleteInstallByClientIdResponse');
68
- }
69
- return Buffer.from(arg.serializeBinary());
70
- }
71
-
72
- function deserialize_lansweeper_multitenant_v1_DeleteInstallByClientIdResponse(buffer_arg) {
73
- return installs_pb.DeleteInstallByClientIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
74
- }
75
-
76
- function serialize_lansweeper_multitenant_v1_FinishInstallPushByClientIdRequest(arg) {
77
- if (!(arg instanceof installs_pb.FinishInstallPushByClientIdRequest)) {
78
- throw new Error('Expected argument of type lansweeper.multitenant.v1.FinishInstallPushByClientIdRequest');
79
- }
80
- return Buffer.from(arg.serializeBinary());
81
- }
82
-
83
- function deserialize_lansweeper_multitenant_v1_FinishInstallPushByClientIdRequest(buffer_arg) {
84
- return installs_pb.FinishInstallPushByClientIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
85
- }
86
-
87
- function serialize_lansweeper_multitenant_v1_FinishInstallPushByClientIdResponse(arg) {
88
- if (!(arg instanceof installs_pb.FinishInstallPushByClientIdResponse)) {
89
- throw new Error('Expected argument of type lansweeper.multitenant.v1.FinishInstallPushByClientIdResponse');
90
- }
91
- return Buffer.from(arg.serializeBinary());
92
- }
93
-
94
- function deserialize_lansweeper_multitenant_v1_FinishInstallPushByClientIdResponse(buffer_arg) {
95
- return installs_pb.FinishInstallPushByClientIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
96
- }
97
-
98
54
  function serialize_lansweeper_multitenant_v1_GetInstallbyClientIdRequest(arg) {
99
55
  if (!(arg instanceof installs_pb.GetInstallbyClientIdRequest)) {
100
56
  throw new Error('Expected argument of type lansweeper.multitenant.v1.GetInstallbyClientIdRequest');
@@ -205,28 +161,6 @@ function deserialize_lansweeper_multitenant_v1_PatchSiteModeResponse(buffer_arg)
205
161
  return sites_pb.PatchSiteModeResponse.deserializeBinary(new Uint8Array(buffer_arg));
206
162
  }
207
163
 
208
- function serialize_lansweeper_multitenant_v1_ResetInstallByClientIdRequest(arg) {
209
- if (!(arg instanceof installs_pb.ResetInstallByClientIdRequest)) {
210
- throw new Error('Expected argument of type lansweeper.multitenant.v1.ResetInstallByClientIdRequest');
211
- }
212
- return Buffer.from(arg.serializeBinary());
213
- }
214
-
215
- function deserialize_lansweeper_multitenant_v1_ResetInstallByClientIdRequest(buffer_arg) {
216
- return installs_pb.ResetInstallByClientIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
217
- }
218
-
219
- function serialize_lansweeper_multitenant_v1_ResetInstallByClientIdResponse(arg) {
220
- if (!(arg instanceof installs_pb.ResetInstallByClientIdResponse)) {
221
- throw new Error('Expected argument of type lansweeper.multitenant.v1.ResetInstallByClientIdResponse');
222
- }
223
- return Buffer.from(arg.serializeBinary());
224
- }
225
-
226
- function deserialize_lansweeper_multitenant_v1_ResetInstallByClientIdResponse(buffer_arg) {
227
- return installs_pb.ResetInstallByClientIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
228
- }
229
-
230
164
  function serialize_lansweeper_multitenant_v1_RotateInstallByClientIdRequest(arg) {
231
165
  if (!(arg instanceof installs_pb.RotateInstallByClientIdRequest)) {
232
166
  throw new Error('Expected argument of type lansweeper.multitenant.v1.RotateInstallByClientIdRequest');
@@ -249,28 +183,6 @@ function deserialize_lansweeper_multitenant_v1_RotateInstallByClientIdResponse(b
249
183
  return installs_pb.RotateInstallByClientIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
250
184
  }
251
185
 
252
- function serialize_lansweeper_multitenant_v1_StartInstallPushByClientIdRequest(arg) {
253
- if (!(arg instanceof installs_pb.StartInstallPushByClientIdRequest)) {
254
- throw new Error('Expected argument of type lansweeper.multitenant.v1.StartInstallPushByClientIdRequest');
255
- }
256
- return Buffer.from(arg.serializeBinary());
257
- }
258
-
259
- function deserialize_lansweeper_multitenant_v1_StartInstallPushByClientIdRequest(buffer_arg) {
260
- return installs_pb.StartInstallPushByClientIdRequest.deserializeBinary(new Uint8Array(buffer_arg));
261
- }
262
-
263
- function serialize_lansweeper_multitenant_v1_StartInstallPushByClientIdResponse(arg) {
264
- if (!(arg instanceof installs_pb.StartInstallPushByClientIdResponse)) {
265
- throw new Error('Expected argument of type lansweeper.multitenant.v1.StartInstallPushByClientIdResponse');
266
- }
267
- return Buffer.from(arg.serializeBinary());
268
- }
269
-
270
- function deserialize_lansweeper_multitenant_v1_StartInstallPushByClientIdResponse(buffer_arg) {
271
- return installs_pb.StartInstallPushByClientIdResponse.deserializeBinary(new Uint8Array(buffer_arg));
272
- }
273
-
274
186
  function serialize_lansweeper_multitenant_v1_UnlinkInstallByClientIdRequest(arg) {
275
187
  if (!(arg instanceof installs_pb.UnlinkInstallByClientIdRequest)) {
276
188
  throw new Error('Expected argument of type lansweeper.multitenant.v1.UnlinkInstallByClientIdRequest');
@@ -405,17 +317,6 @@ var MultitenantService = exports.MultitenantService = {
405
317
  responseSerialize: serialize_lansweeper_multitenant_v1_UpdateInstallByClientIdResponse,
406
318
  responseDeserialize: deserialize_lansweeper_multitenant_v1_UpdateInstallByClientIdResponse,
407
319
  },
408
- deleteInstallByClientId: {
409
- path: '/lansweeper.multitenant.v1.Multitenant/DeleteInstallByClientId',
410
- requestStream: false,
411
- responseStream: false,
412
- requestType: installs_pb.DeleteInstallByClientIdRequest,
413
- responseType: installs_pb.DeleteInstallByClientIdResponse,
414
- requestSerialize: serialize_lansweeper_multitenant_v1_DeleteInstallByClientIdRequest,
415
- requestDeserialize: deserialize_lansweeper_multitenant_v1_DeleteInstallByClientIdRequest,
416
- responseSerialize: serialize_lansweeper_multitenant_v1_DeleteInstallByClientIdResponse,
417
- responseDeserialize: deserialize_lansweeper_multitenant_v1_DeleteInstallByClientIdResponse,
418
- },
419
320
  rotateInstallByClientId: {
420
321
  path: '/lansweeper.multitenant.v1.Multitenant/RotateInstallByClientId',
421
322
  requestStream: false,
@@ -427,17 +328,6 @@ var MultitenantService = exports.MultitenantService = {
427
328
  responseSerialize: serialize_lansweeper_multitenant_v1_RotateInstallByClientIdResponse,
428
329
  responseDeserialize: deserialize_lansweeper_multitenant_v1_RotateInstallByClientIdResponse,
429
330
  },
430
- resetInstallByClientId: {
431
- path: '/lansweeper.multitenant.v1.Multitenant/ResetInstallByClientId',
432
- requestStream: false,
433
- responseStream: false,
434
- requestType: installs_pb.ResetInstallByClientIdRequest,
435
- responseType: installs_pb.ResetInstallByClientIdResponse,
436
- requestSerialize: serialize_lansweeper_multitenant_v1_ResetInstallByClientIdRequest,
437
- requestDeserialize: deserialize_lansweeper_multitenant_v1_ResetInstallByClientIdRequest,
438
- responseSerialize: serialize_lansweeper_multitenant_v1_ResetInstallByClientIdResponse,
439
- responseDeserialize: deserialize_lansweeper_multitenant_v1_ResetInstallByClientIdResponse,
440
- },
441
331
  unlinkInstallByClientId: {
442
332
  path: '/lansweeper.multitenant.v1.Multitenant/UnlinkInstallByClientId',
443
333
  requestStream: false,
@@ -449,28 +339,6 @@ var MultitenantService = exports.MultitenantService = {
449
339
  responseSerialize: serialize_lansweeper_multitenant_v1_UnlinkInstallByClientIdResponse,
450
340
  responseDeserialize: deserialize_lansweeper_multitenant_v1_UnlinkInstallByClientIdResponse,
451
341
  },
452
- startInstallPushByClientId: {
453
- path: '/lansweeper.multitenant.v1.Multitenant/StartInstallPushByClientId',
454
- requestStream: false,
455
- responseStream: false,
456
- requestType: installs_pb.StartInstallPushByClientIdRequest,
457
- responseType: installs_pb.StartInstallPushByClientIdResponse,
458
- requestSerialize: serialize_lansweeper_multitenant_v1_StartInstallPushByClientIdRequest,
459
- requestDeserialize: deserialize_lansweeper_multitenant_v1_StartInstallPushByClientIdRequest,
460
- responseSerialize: serialize_lansweeper_multitenant_v1_StartInstallPushByClientIdResponse,
461
- responseDeserialize: deserialize_lansweeper_multitenant_v1_StartInstallPushByClientIdResponse,
462
- },
463
- finishInstallPushByClientId: {
464
- path: '/lansweeper.multitenant.v1.Multitenant/FinishInstallPushByClientId',
465
- requestStream: false,
466
- responseStream: false,
467
- requestType: installs_pb.FinishInstallPushByClientIdRequest,
468
- responseType: installs_pb.FinishInstallPushByClientIdResponse,
469
- requestSerialize: serialize_lansweeper_multitenant_v1_FinishInstallPushByClientIdRequest,
470
- requestDeserialize: deserialize_lansweeper_multitenant_v1_FinishInstallPushByClientIdRequest,
471
- responseSerialize: serialize_lansweeper_multitenant_v1_FinishInstallPushByClientIdResponse,
472
- responseDeserialize: deserialize_lansweeper_multitenant_v1_FinishInstallPushByClientIdResponse,
473
- },
474
342
  };
475
343
 
476
344
  exports.MultitenantClient = grpc.makeGenericClientConstructor(MultitenantService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/multitenant-api-grpc",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "main": "gen-proto/index.js",
5
5
  "types": "gen-proto/index.d.ts",
6
6
  "license": "MIT",
@@ -8,5 +8,5 @@
8
8
  "@grpc/grpc-js": "^1.3.2",
9
9
  "google-protobuf": "^3.17.0"
10
10
  },
11
- "gitHead": "cb01bac604854fde052e58eb0231643af9b38cea"
11
+ "gitHead": "44e9dae392f9c62a8dfedf432c6cfb1151442db9"
12
12
  }
@@ -45,8 +45,6 @@ message CreateInstallRequest{
45
45
  string created_by_id = 7;
46
46
 
47
47
  bool create_sqs_queue = 8;
48
- SiteMode site_mode = 9;
49
- string license = 10;
50
48
  }
51
49
 
52
50
  message CreateInstallResponse{
@@ -75,15 +73,6 @@ message UpdateInstallByClientIdResponse{
75
73
  Install install = 1;
76
74
  }
77
75
 
78
- message DeleteInstallByClientIdRequest{
79
- string client_id = 1;
80
- }
81
-
82
- message DeleteInstallByClientIdResponse{
83
- bool success = 1;
84
- }
85
-
86
-
87
76
  message RotateInstallByClientIdRequest{
88
77
  string client_id = 1;
89
78
  string track_id = 2;
@@ -97,15 +86,6 @@ message RotateInstallByClientIdResponse {
97
86
  InstallCredentials credentials = 5;
98
87
  }
99
88
 
100
- message ResetInstallByClientIdRequest {
101
- string client_id = 1;
102
- string track_id = 2;
103
- }
104
-
105
- message ResetInstallByClientIdResponse {
106
- bool success = 1;
107
- }
108
-
109
89
  message UnlinkInstallByClientIdRequest {
110
90
  string client_id = 1;
111
91
  string track_id = 2;
@@ -116,22 +96,3 @@ message UnlinkInstallByClientIdRequest {
116
96
  message UnlinkInstallByClientIdResponse {
117
97
  bool success = 1;
118
98
  }
119
-
120
- message StartInstallPushByClientIdRequest {
121
- string client_id = 1;
122
- string track_id = 2;
123
- string push_id = 3;
124
- }
125
- message StartInstallPushByClientIdResponse {
126
- string push_id = 1;
127
- }
128
-
129
- message FinishInstallPushByClientIdRequest {
130
- string client_id = 1;
131
- string track_id = 2;
132
- string push_id = 3;
133
- string error = 4;
134
- }
135
- message FinishInstallPushByClientIdResponse {
136
- bool success = 1;
137
- }
@@ -24,15 +24,8 @@ service Multitenant {
24
24
 
25
25
  rpc UpdateInstallByClientId(UpdateInstallByClientIdRequest) returns (UpdateInstallByClientIdResponse) {}
26
26
 
27
- rpc DeleteInstallByClientId(DeleteInstallByClientIdRequest) returns (DeleteInstallByClientIdResponse) {}
28
-
29
27
  rpc RotateInstallByClientId(RotateInstallByClientIdRequest) returns (RotateInstallByClientIdResponse) {}
30
28
 
31
- rpc ResetInstallByClientId(ResetInstallByClientIdRequest) returns (ResetInstallByClientIdResponse) {}
32
-
33
29
  rpc UnlinkInstallByClientId(UnlinkInstallByClientIdRequest) returns (UnlinkInstallByClientIdResponse) {}
34
30
 
35
- rpc StartInstallPushByClientId(StartInstallPushByClientIdRequest) returns (StartInstallPushByClientIdResponse) {}
36
-
37
- rpc FinishInstallPushByClientId(FinishInstallPushByClientIdRequest) returns (FinishInstallPushByClientIdResponse) {}
38
31
  }