@ssoeasy-dev/proto 1.1.0-beta.1 → 1.2.0

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,6 +21,7 @@ export interface EmployeeCompany {
21
21
  serviceName?: string | undefined;
22
22
  subscriptionId?: string | undefined;
23
23
  subscriptionIsActive?: boolean | undefined;
24
+ serviceId?: string | undefined;
24
25
  }
25
26
 
26
27
  export interface GetByUserIdResponse {
@@ -125,6 +126,7 @@ function createBaseEmployeeCompany(): EmployeeCompany {
125
126
  serviceName: undefined,
126
127
  subscriptionId: undefined,
127
128
  subscriptionIsActive: undefined,
129
+ serviceId: undefined,
128
130
  };
129
131
  }
130
132
 
@@ -147,6 +149,9 @@ export const EmployeeCompany: MessageFns<EmployeeCompany, "companies.v1.Employee
147
149
  if (message.subscriptionIsActive !== undefined) {
148
150
  writer.uint32(40).bool(message.subscriptionIsActive);
149
151
  }
152
+ if (message.serviceId !== undefined) {
153
+ writer.uint32(50).string(message.serviceId);
154
+ }
150
155
  return writer;
151
156
  },
152
157
 
@@ -197,6 +202,14 @@ export const EmployeeCompany: MessageFns<EmployeeCompany, "companies.v1.Employee
197
202
  message.subscriptionIsActive = reader.bool();
198
203
  continue;
199
204
  }
205
+ case 6: {
206
+ if (tag !== 50) {
207
+ break;
208
+ }
209
+
210
+ message.serviceId = reader.string();
211
+ continue;
212
+ }
200
213
  }
201
214
  if ((tag & 7) === 4 || tag === 0) {
202
215
  break;
@@ -226,6 +239,11 @@ export const EmployeeCompany: MessageFns<EmployeeCompany, "companies.v1.Employee
226
239
  : isSet(object.subscription_is_active)
227
240
  ? globalThis.Boolean(object.subscription_is_active)
228
241
  : undefined,
242
+ serviceId: isSet(object.serviceId)
243
+ ? globalThis.String(object.serviceId)
244
+ : isSet(object.service_id)
245
+ ? globalThis.String(object.service_id)
246
+ : undefined,
229
247
  };
230
248
  },
231
249
 
@@ -246,6 +264,9 @@ export const EmployeeCompany: MessageFns<EmployeeCompany, "companies.v1.Employee
246
264
  if (message.subscriptionIsActive !== undefined) {
247
265
  obj.subscriptionIsActive = message.subscriptionIsActive;
248
266
  }
267
+ if (message.serviceId !== undefined) {
268
+ obj.serviceId = message.serviceId;
269
+ }
249
270
  return obj;
250
271
  },
251
272
 
@@ -259,6 +280,7 @@ export const EmployeeCompany: MessageFns<EmployeeCompany, "companies.v1.Employee
259
280
  message.serviceName = object.serviceName ?? undefined;
260
281
  message.subscriptionId = object.subscriptionId ?? undefined;
261
282
  message.subscriptionIsActive = object.subscriptionIsActive ?? undefined;
283
+ message.serviceId = object.serviceId ?? undefined;
262
284
  return message;
263
285
  },
264
286
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssoeasy-dev/proto",
3
- "version": "1.1.0-beta.1",
3
+ "version": "1.2.0",
4
4
  "description": "gRPC proto contracts and generated TypeScript clients for SSOEasy",
5
5
  "main": "gen/ts/index.ts",
6
6
  "types": "gen/ts/index.ts",
@@ -17,6 +17,7 @@ message EmployeeCompany {
17
17
  optional string service_name = 3;
18
18
  optional string subscription_id = 4;
19
19
  optional bool subscription_is_active = 5;
20
+ optional string service_id = 6;
20
21
  }
21
22
 
22
23
  message GetByUserIdResponse {