@i4you/proto-files 1.0.5-beta.3 → 1.0.5-beta.5

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.
@@ -1,66 +1,39 @@
1
1
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
2
2
  import { type CallOptions, type ChannelCredentials, Client, type ClientOptions, type ClientUnaryCall, type handleUnaryCall, type Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
3
3
  export declare const protobufPackage = "discovery.v1";
4
- export interface GetUserRequest {
5
- id: Buffer;
6
- }
7
- export interface GetUserResponse {
8
- id: Buffer;
9
- name: string;
10
- email: string;
11
- phone: string;
12
- address: string;
13
- createdAt: string;
14
- updatedAt: string;
15
- }
16
- export interface Match {
17
- userId: string;
18
- matchedUserId: string;
19
- matchedAt: string;
20
- }
21
- export interface GetMatchesRequest {
22
- id: string;
23
- }
24
- export interface GetMatchesResponse {
25
- matches: Match[];
26
- }
27
- export declare const GetUserRequest: MessageFns<GetUserRequest>;
28
- export declare const GetUserResponse: MessageFns<GetUserResponse>;
29
- export declare const Match: MessageFns<Match>;
30
- export declare const GetMatchesRequest: MessageFns<GetMatchesRequest>;
31
- export declare const GetMatchesResponse: MessageFns<GetMatchesResponse>;
4
+ export interface GetPotentialMatchesRequest {
5
+ showMe: string;
6
+ minAge: number;
7
+ maxAge: number;
8
+ maxDistance: number;
9
+ locationLat: number;
10
+ locationLng: number;
11
+ lookingFor: string;
12
+ }
13
+ export interface GetPotentialMatchesResponse {
14
+ matches: string[];
15
+ }
16
+ export declare const GetPotentialMatchesRequest: MessageFns<GetPotentialMatchesRequest>;
17
+ export declare const GetPotentialMatchesResponse: MessageFns<GetPotentialMatchesResponse>;
32
18
  export type DiscoverServiceService = typeof DiscoverServiceService;
33
19
  export declare const DiscoverServiceService: {
34
- readonly getUser: {
35
- readonly path: "/discovery.v1.DiscoverService/GetUser";
36
- readonly requestStream: false;
37
- readonly responseStream: false;
38
- readonly requestSerialize: (value: GetUserRequest) => Buffer;
39
- readonly requestDeserialize: (value: Buffer) => GetUserRequest;
40
- readonly responseSerialize: (value: GetUserResponse) => Buffer;
41
- readonly responseDeserialize: (value: Buffer) => GetUserResponse;
42
- };
43
- readonly getMatches: {
44
- readonly path: "/discovery.v1.DiscoverService/GetMatches";
20
+ readonly getPotentialMatches: {
21
+ readonly path: "/discovery.v1.DiscoverService/GetPotentialMatches";
45
22
  readonly requestStream: false;
46
23
  readonly responseStream: false;
47
- readonly requestSerialize: (value: GetMatchesRequest) => Buffer;
48
- readonly requestDeserialize: (value: Buffer) => GetMatchesRequest;
49
- readonly responseSerialize: (value: GetMatchesResponse) => Buffer;
50
- readonly responseDeserialize: (value: Buffer) => GetMatchesResponse;
24
+ readonly requestSerialize: (value: GetPotentialMatchesRequest) => Buffer;
25
+ readonly requestDeserialize: (value: Buffer) => GetPotentialMatchesRequest;
26
+ readonly responseSerialize: (value: GetPotentialMatchesResponse) => Buffer;
27
+ readonly responseDeserialize: (value: Buffer) => GetPotentialMatchesResponse;
51
28
  };
52
29
  };
53
30
  export interface DiscoverServiceServer extends UntypedServiceImplementation {
54
- getUser: handleUnaryCall<GetUserRequest, GetUserResponse>;
55
- getMatches: handleUnaryCall<GetMatchesRequest, GetMatchesResponse>;
31
+ getPotentialMatches: handleUnaryCall<GetPotentialMatchesRequest, GetPotentialMatchesResponse>;
56
32
  }
57
33
  export interface DiscoverServiceClient extends Client {
58
- getUser(request: GetUserRequest, callback: (error: ServiceError | null, response: GetUserResponse) => void): ClientUnaryCall;
59
- getUser(request: GetUserRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetUserResponse) => void): ClientUnaryCall;
60
- getUser(request: GetUserRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetUserResponse) => void): ClientUnaryCall;
61
- getMatches(request: GetMatchesRequest, callback: (error: ServiceError | null, response: GetMatchesResponse) => void): ClientUnaryCall;
62
- getMatches(request: GetMatchesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetMatchesResponse) => void): ClientUnaryCall;
63
- getMatches(request: GetMatchesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetMatchesResponse) => void): ClientUnaryCall;
34
+ getPotentialMatches(request: GetPotentialMatchesRequest, callback: (error: ServiceError | null, response: GetPotentialMatchesResponse) => void): ClientUnaryCall;
35
+ getPotentialMatches(request: GetPotentialMatchesRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetPotentialMatchesResponse) => void): ClientUnaryCall;
36
+ getPotentialMatches(request: GetPotentialMatchesRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetPotentialMatchesResponse) => void): ClientUnaryCall;
64
37
  }
65
38
  export declare const DiscoverServiceClient: {
66
39
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): DiscoverServiceClient;
@@ -1 +1 @@
1
- {"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../../generated/discovery/v1/discovery.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EACL,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,eAAe,EAEpB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,4BAA4B,EAClC,MAAM,eAAe,CAAC;AAEvB,eAAO,MAAM,eAAe,iBAAiB,CAAC;AAE9C,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE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C,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;IACxD,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CAC/D"}
@@ -7,242 +7,88 @@
7
7
  import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
8
8
  import { makeGenericClientConstructor, } from "@grpc/grpc-js";
9
9
  export const protobufPackage = "discovery.v1";
10
- function createBaseGetUserRequest() {
11
- return { id: Buffer.alloc(0) };
10
+ function createBaseGetPotentialMatchesRequest() {
11
+ return { showMe: "", minAge: 0, maxAge: 0, maxDistance: 0, locationLat: 0, locationLng: 0, lookingFor: "" };
12
12
  }
13
- export const GetUserRequest = {
13
+ export const GetPotentialMatchesRequest = {
14
14
  encode(message, writer = new BinaryWriter()) {
15
- if (message.id.length !== 0) {
16
- writer.uint32(10).bytes(message.id);
15
+ if (message.showMe !== "") {
16
+ writer.uint32(18).string(message.showMe);
17
17
  }
18
- return writer;
19
- },
20
- decode(input, length) {
21
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
22
- const end = length === undefined ? reader.len : reader.pos + length;
23
- const message = createBaseGetUserRequest();
24
- while (reader.pos < end) {
25
- const tag = reader.uint32();
26
- switch (tag >>> 3) {
27
- case 1: {
28
- if (tag !== 10) {
29
- break;
30
- }
31
- message.id = Buffer.from(reader.bytes());
32
- continue;
33
- }
34
- }
35
- if ((tag & 7) === 4 || tag === 0) {
36
- break;
37
- }
38
- reader.skip(tag & 7);
39
- }
40
- return message;
41
- },
42
- fromJSON(object) {
43
- return { id: isSet(object.id) ? Buffer.from(bytesFromBase64(object.id)) : Buffer.alloc(0) };
44
- },
45
- toJSON(message) {
46
- const obj = {};
47
- if (message.id.length !== 0) {
48
- obj.id = base64FromBytes(message.id);
49
- }
50
- return obj;
51
- },
52
- create(base) {
53
- return GetUserRequest.fromPartial(base ?? {});
54
- },
55
- fromPartial(object) {
56
- const message = createBaseGetUserRequest();
57
- message.id = object.id ?? Buffer.alloc(0);
58
- return message;
59
- },
60
- };
61
- function createBaseGetUserResponse() {
62
- return { id: Buffer.alloc(0), name: "", email: "", phone: "", address: "", createdAt: "", updatedAt: "" };
63
- }
64
- export const GetUserResponse = {
65
- encode(message, writer = new BinaryWriter()) {
66
- if (message.id.length !== 0) {
67
- writer.uint32(10).bytes(message.id);
68
- }
69
- if (message.name !== "") {
70
- writer.uint32(18).string(message.name);
18
+ if (message.minAge !== 0) {
19
+ writer.uint32(24).int32(message.minAge);
71
20
  }
72
- if (message.email !== "") {
73
- writer.uint32(26).string(message.email);
21
+ if (message.maxAge !== 0) {
22
+ writer.uint32(32).int32(message.maxAge);
74
23
  }
75
- if (message.phone !== "") {
76
- writer.uint32(34).string(message.phone);
24
+ if (message.maxDistance !== 0) {
25
+ writer.uint32(40).int32(message.maxDistance);
77
26
  }
78
- if (message.address !== "") {
79
- writer.uint32(42).string(message.address);
27
+ if (message.locationLat !== 0) {
28
+ writer.uint32(49).double(message.locationLat);
80
29
  }
81
- if (message.createdAt !== "") {
82
- writer.uint32(50).string(message.createdAt);
30
+ if (message.locationLng !== 0) {
31
+ writer.uint32(57).double(message.locationLng);
83
32
  }
84
- if (message.updatedAt !== "") {
85
- writer.uint32(58).string(message.updatedAt);
33
+ if (message.lookingFor !== "") {
34
+ writer.uint32(66).string(message.lookingFor);
86
35
  }
87
36
  return writer;
88
37
  },
89
38
  decode(input, length) {
90
39
  const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
91
40
  const end = length === undefined ? reader.len : reader.pos + length;
92
- const message = createBaseGetUserResponse();
41
+ const message = createBaseGetPotentialMatchesRequest();
93
42
  while (reader.pos < end) {
94
43
  const tag = reader.uint32();
95
44
  switch (tag >>> 3) {
96
- case 1: {
97
- if (tag !== 10) {
98
- break;
99
- }
100
- message.id = Buffer.from(reader.bytes());
101
- continue;
102
- }
103
45
  case 2: {
104
46
  if (tag !== 18) {
105
47
  break;
106
48
  }
107
- message.name = reader.string();
49
+ message.showMe = reader.string();
108
50
  continue;
109
51
  }
110
52
  case 3: {
111
- if (tag !== 26) {
53
+ if (tag !== 24) {
112
54
  break;
113
55
  }
114
- message.email = reader.string();
56
+ message.minAge = reader.int32();
115
57
  continue;
116
58
  }
117
59
  case 4: {
118
- if (tag !== 34) {
60
+ if (tag !== 32) {
119
61
  break;
120
62
  }
121
- message.phone = reader.string();
63
+ message.maxAge = reader.int32();
122
64
  continue;
123
65
  }
124
66
  case 5: {
125
- if (tag !== 42) {
67
+ if (tag !== 40) {
126
68
  break;
127
69
  }
128
- message.address = reader.string();
70
+ message.maxDistance = reader.int32();
129
71
  continue;
130
72
  }
131
73
  case 6: {
132
- if (tag !== 50) {
74
+ if (tag !== 49) {
133
75
  break;
134
76
  }
135
- message.createdAt = reader.string();
77
+ message.locationLat = reader.double();
136
78
  continue;
137
79
  }
138
80
  case 7: {
139
- if (tag !== 58) {
140
- break;
141
- }
142
- message.updatedAt = reader.string();
143
- continue;
144
- }
145
- }
146
- if ((tag & 7) === 4 || tag === 0) {
147
- break;
148
- }
149
- reader.skip(tag & 7);
150
- }
151
- return message;
152
- },
153
- fromJSON(object) {
154
- return {
155
- id: isSet(object.id) ? Buffer.from(bytesFromBase64(object.id)) : Buffer.alloc(0),
156
- name: isSet(object.name) ? globalThis.String(object.name) : "",
157
- email: isSet(object.email) ? globalThis.String(object.email) : "",
158
- phone: isSet(object.phone) ? globalThis.String(object.phone) : "",
159
- address: isSet(object.address) ? globalThis.String(object.address) : "",
160
- createdAt: isSet(object.createdAt) ? globalThis.String(object.createdAt) : "",
161
- updatedAt: isSet(object.updatedAt) ? globalThis.String(object.updatedAt) : "",
162
- };
163
- },
164
- toJSON(message) {
165
- const obj = {};
166
- if (message.id.length !== 0) {
167
- obj.id = base64FromBytes(message.id);
168
- }
169
- if (message.name !== "") {
170
- obj.name = message.name;
171
- }
172
- if (message.email !== "") {
173
- obj.email = message.email;
174
- }
175
- if (message.phone !== "") {
176
- obj.phone = message.phone;
177
- }
178
- if (message.address !== "") {
179
- obj.address = message.address;
180
- }
181
- if (message.createdAt !== "") {
182
- obj.createdAt = message.createdAt;
183
- }
184
- if (message.updatedAt !== "") {
185
- obj.updatedAt = message.updatedAt;
186
- }
187
- return obj;
188
- },
189
- create(base) {
190
- return GetUserResponse.fromPartial(base ?? {});
191
- },
192
- fromPartial(object) {
193
- const message = createBaseGetUserResponse();
194
- message.id = object.id ?? Buffer.alloc(0);
195
- message.name = object.name ?? "";
196
- message.email = object.email ?? "";
197
- message.phone = object.phone ?? "";
198
- message.address = object.address ?? "";
199
- message.createdAt = object.createdAt ?? "";
200
- message.updatedAt = object.updatedAt ?? "";
201
- return message;
202
- },
203
- };
204
- function createBaseMatch() {
205
- return { userId: "", matchedUserId: "", matchedAt: "" };
206
- }
207
- export const Match = {
208
- encode(message, writer = new BinaryWriter()) {
209
- if (message.userId !== "") {
210
- writer.uint32(10).string(message.userId);
211
- }
212
- if (message.matchedUserId !== "") {
213
- writer.uint32(18).string(message.matchedUserId);
214
- }
215
- if (message.matchedAt !== "") {
216
- writer.uint32(26).string(message.matchedAt);
217
- }
218
- return writer;
219
- },
220
- decode(input, length) {
221
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
222
- const end = length === undefined ? reader.len : reader.pos + length;
223
- const message = createBaseMatch();
224
- while (reader.pos < end) {
225
- const tag = reader.uint32();
226
- switch (tag >>> 3) {
227
- case 1: {
228
- if (tag !== 10) {
81
+ if (tag !== 57) {
229
82
  break;
230
83
  }
231
- message.userId = reader.string();
84
+ message.locationLng = reader.double();
232
85
  continue;
233
86
  }
234
- case 2: {
235
- if (tag !== 18) {
87
+ case 8: {
88
+ if (tag !== 66) {
236
89
  break;
237
90
  }
238
- message.matchedUserId = reader.string();
239
- continue;
240
- }
241
- case 3: {
242
- if (tag !== 26) {
243
- break;
244
- }
245
- message.matchedAt = reader.string();
91
+ message.lookingFor = reader.string();
246
92
  continue;
247
93
  }
248
94
  }
@@ -255,100 +101,69 @@ export const Match = {
255
101
  },
256
102
  fromJSON(object) {
257
103
  return {
258
- userId: isSet(object.userId) ? globalThis.String(object.userId) : "",
259
- matchedUserId: isSet(object.matchedUserId) ? globalThis.String(object.matchedUserId) : "",
260
- matchedAt: isSet(object.matchedAt) ? globalThis.String(object.matchedAt) : "",
104
+ showMe: isSet(object.showMe) ? globalThis.String(object.showMe) : "",
105
+ minAge: isSet(object.minAge) ? globalThis.Number(object.minAge) : 0,
106
+ maxAge: isSet(object.maxAge) ? globalThis.Number(object.maxAge) : 0,
107
+ maxDistance: isSet(object.maxDistance) ? globalThis.Number(object.maxDistance) : 0,
108
+ locationLat: isSet(object.locationLat) ? globalThis.Number(object.locationLat) : 0,
109
+ locationLng: isSet(object.locationLng) ? globalThis.Number(object.locationLng) : 0,
110
+ lookingFor: isSet(object.lookingFor) ? globalThis.String(object.lookingFor) : "",
261
111
  };
262
112
  },
263
113
  toJSON(message) {
264
114
  const obj = {};
265
- if (message.userId !== "") {
266
- obj.userId = message.userId;
115
+ if (message.showMe !== "") {
116
+ obj.showMe = message.showMe;
267
117
  }
268
- if (message.matchedUserId !== "") {
269
- obj.matchedUserId = message.matchedUserId;
118
+ if (message.minAge !== 0) {
119
+ obj.minAge = Math.round(message.minAge);
270
120
  }
271
- if (message.matchedAt !== "") {
272
- obj.matchedAt = message.matchedAt;
121
+ if (message.maxAge !== 0) {
122
+ obj.maxAge = Math.round(message.maxAge);
273
123
  }
274
- return obj;
275
- },
276
- create(base) {
277
- return Match.fromPartial(base ?? {});
278
- },
279
- fromPartial(object) {
280
- const message = createBaseMatch();
281
- message.userId = object.userId ?? "";
282
- message.matchedUserId = object.matchedUserId ?? "";
283
- message.matchedAt = object.matchedAt ?? "";
284
- return message;
285
- },
286
- };
287
- function createBaseGetMatchesRequest() {
288
- return { id: "" };
289
- }
290
- export const GetMatchesRequest = {
291
- encode(message, writer = new BinaryWriter()) {
292
- if (message.id !== "") {
293
- writer.uint32(10).string(message.id);
124
+ if (message.maxDistance !== 0) {
125
+ obj.maxDistance = Math.round(message.maxDistance);
294
126
  }
295
- return writer;
296
- },
297
- decode(input, length) {
298
- const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
299
- const end = length === undefined ? reader.len : reader.pos + length;
300
- const message = createBaseGetMatchesRequest();
301
- while (reader.pos < end) {
302
- const tag = reader.uint32();
303
- switch (tag >>> 3) {
304
- case 1: {
305
- if (tag !== 10) {
306
- break;
307
- }
308
- message.id = reader.string();
309
- continue;
310
- }
311
- }
312
- if ((tag & 7) === 4 || tag === 0) {
313
- break;
314
- }
315
- reader.skip(tag & 7);
127
+ if (message.locationLat !== 0) {
128
+ obj.locationLat = message.locationLat;
316
129
  }
317
- return message;
318
- },
319
- fromJSON(object) {
320
- return { id: isSet(object.id) ? globalThis.String(object.id) : "" };
321
- },
322
- toJSON(message) {
323
- const obj = {};
324
- if (message.id !== "") {
325
- obj.id = message.id;
130
+ if (message.locationLng !== 0) {
131
+ obj.locationLng = message.locationLng;
132
+ }
133
+ if (message.lookingFor !== "") {
134
+ obj.lookingFor = message.lookingFor;
326
135
  }
327
136
  return obj;
328
137
  },
329
138
  create(base) {
330
- return GetMatchesRequest.fromPartial(base ?? {});
139
+ return GetPotentialMatchesRequest.fromPartial(base ?? {});
331
140
  },
332
141
  fromPartial(object) {
333
- const message = createBaseGetMatchesRequest();
334
- message.id = object.id ?? "";
142
+ const message = createBaseGetPotentialMatchesRequest();
143
+ message.showMe = object.showMe ?? "";
144
+ message.minAge = object.minAge ?? 0;
145
+ message.maxAge = object.maxAge ?? 0;
146
+ message.maxDistance = object.maxDistance ?? 0;
147
+ message.locationLat = object.locationLat ?? 0;
148
+ message.locationLng = object.locationLng ?? 0;
149
+ message.lookingFor = object.lookingFor ?? "";
335
150
  return message;
336
151
  },
337
152
  };
338
- function createBaseGetMatchesResponse() {
153
+ function createBaseGetPotentialMatchesResponse() {
339
154
  return { matches: [] };
340
155
  }
341
- export const GetMatchesResponse = {
156
+ export const GetPotentialMatchesResponse = {
342
157
  encode(message, writer = new BinaryWriter()) {
343
158
  for (const v of message.matches) {
344
- Match.encode(v, writer.uint32(10).fork()).join();
159
+ writer.uint32(10).string(v);
345
160
  }
346
161
  return writer;
347
162
  },
348
163
  decode(input, length) {
349
164
  const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
350
165
  const end = length === undefined ? reader.len : reader.pos + length;
351
- const message = createBaseGetMatchesResponse();
166
+ const message = createBaseGetPotentialMatchesResponse();
352
167
  while (reader.pos < end) {
353
168
  const tag = reader.uint32();
354
169
  switch (tag >>> 3) {
@@ -356,7 +171,7 @@ export const GetMatchesResponse = {
356
171
  if (tag !== 10) {
357
172
  break;
358
173
  }
359
- message.matches.push(Match.decode(reader, reader.uint32()));
174
+ message.matches.push(reader.string());
360
175
  continue;
361
176
  }
362
177
  }
@@ -369,52 +184,37 @@ export const GetMatchesResponse = {
369
184
  },
370
185
  fromJSON(object) {
371
186
  return {
372
- matches: globalThis.Array.isArray(object?.matches) ? object.matches.map((e) => Match.fromJSON(e)) : [],
187
+ matches: globalThis.Array.isArray(object?.matches) ? object.matches.map((e) => globalThis.String(e)) : [],
373
188
  };
374
189
  },
375
190
  toJSON(message) {
376
191
  const obj = {};
377
192
  if (message.matches?.length) {
378
- obj.matches = message.matches.map((e) => Match.toJSON(e));
193
+ obj.matches = message.matches;
379
194
  }
380
195
  return obj;
381
196
  },
382
197
  create(base) {
383
- return GetMatchesResponse.fromPartial(base ?? {});
198
+ return GetPotentialMatchesResponse.fromPartial(base ?? {});
384
199
  },
385
200
  fromPartial(object) {
386
- const message = createBaseGetMatchesResponse();
387
- message.matches = object.matches?.map((e) => Match.fromPartial(e)) || [];
201
+ const message = createBaseGetPotentialMatchesResponse();
202
+ message.matches = object.matches?.map((e) => e) || [];
388
203
  return message;
389
204
  },
390
205
  };
391
206
  export const DiscoverServiceService = {
392
- getUser: {
393
- path: "/discovery.v1.DiscoverService/GetUser",
394
- requestStream: false,
395
- responseStream: false,
396
- requestSerialize: (value) => Buffer.from(GetUserRequest.encode(value).finish()),
397
- requestDeserialize: (value) => GetUserRequest.decode(value),
398
- responseSerialize: (value) => Buffer.from(GetUserResponse.encode(value).finish()),
399
- responseDeserialize: (value) => GetUserResponse.decode(value),
400
- },
401
- getMatches: {
402
- path: "/discovery.v1.DiscoverService/GetMatches",
207
+ getPotentialMatches: {
208
+ path: "/discovery.v1.DiscoverService/GetPotentialMatches",
403
209
  requestStream: false,
404
210
  responseStream: false,
405
- requestSerialize: (value) => Buffer.from(GetMatchesRequest.encode(value).finish()),
406
- requestDeserialize: (value) => GetMatchesRequest.decode(value),
407
- responseSerialize: (value) => Buffer.from(GetMatchesResponse.encode(value).finish()),
408
- responseDeserialize: (value) => GetMatchesResponse.decode(value),
211
+ requestSerialize: (value) => Buffer.from(GetPotentialMatchesRequest.encode(value).finish()),
212
+ requestDeserialize: (value) => GetPotentialMatchesRequest.decode(value),
213
+ responseSerialize: (value) => Buffer.from(GetPotentialMatchesResponse.encode(value).finish()),
214
+ responseDeserialize: (value) => GetPotentialMatchesResponse.decode(value),
409
215
  },
410
216
  };
411
217
  export const DiscoverServiceClient = makeGenericClientConstructor(DiscoverServiceService, "discovery.v1.DiscoverService");
412
- function bytesFromBase64(b64) {
413
- return Uint8Array.from(globalThis.Buffer.from(b64, "base64"));
414
- }
415
- function base64FromBytes(arr) {
416
- return globalThis.Buffer.from(arr).toString("base64");
417
- }
418
218
  function isSet(value) {
419
219
  return value !== null && value !== undefined;
420
220
  }
@@ -66,12 +66,6 @@ export interface CreateUserResponse {
66
66
  id: string;
67
67
  name: string;
68
68
  email: string;
69
- password: string;
70
- age: number;
71
- gender: string;
72
- bio: string;
73
- photos: string[];
74
- interests: string[];
75
69
  onboardingCompleted: boolean;
76
70
  status: string;
77
71
  createdAt: string;
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["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,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;CAC/D"}
@@ -1060,21 +1060,7 @@ export const CreateUserRequest = {
1060
1060
  },
1061
1061
  };
1062
1062
  function createBaseCreateUserResponse() {
1063
- return {
1064
- id: "",
1065
- name: "",
1066
- email: "",
1067
- password: "",
1068
- age: 0,
1069
- gender: "",
1070
- bio: "",
1071
- photos: [],
1072
- interests: [],
1073
- onboardingCompleted: false,
1074
- status: "",
1075
- createdAt: "",
1076
- updatedAt: "",
1077
- };
1063
+ return { id: "", name: "", email: "", onboardingCompleted: false, status: "", createdAt: "", updatedAt: "" };
1078
1064
  }
1079
1065
  export const CreateUserResponse = {
1080
1066
  encode(message, writer = new BinaryWriter()) {
@@ -1087,35 +1073,17 @@ export const CreateUserResponse = {
1087
1073
  if (message.email !== "") {
1088
1074
  writer.uint32(26).string(message.email);
1089
1075
  }
1090
- if (message.password !== "") {
1091
- writer.uint32(34).string(message.password);
1092
- }
1093
- if (message.age !== 0) {
1094
- writer.uint32(40).int32(message.age);
1095
- }
1096
- if (message.gender !== "") {
1097
- writer.uint32(50).string(message.gender);
1098
- }
1099
- if (message.bio !== "") {
1100
- writer.uint32(58).string(message.bio);
1101
- }
1102
- for (const v of message.photos) {
1103
- writer.uint32(66).string(v);
1104
- }
1105
- for (const v of message.interests) {
1106
- writer.uint32(74).string(v);
1107
- }
1108
1076
  if (message.onboardingCompleted !== false) {
1109
- writer.uint32(96).bool(message.onboardingCompleted);
1077
+ writer.uint32(32).bool(message.onboardingCompleted);
1110
1078
  }
1111
1079
  if (message.status !== "") {
1112
- writer.uint32(106).string(message.status);
1080
+ writer.uint32(42).string(message.status);
1113
1081
  }
1114
1082
  if (message.createdAt !== "") {
1115
- writer.uint32(114).string(message.createdAt);
1083
+ writer.uint32(50).string(message.createdAt);
1116
1084
  }
1117
1085
  if (message.updatedAt !== "") {
1118
- writer.uint32(122).string(message.updatedAt);
1086
+ writer.uint32(58).string(message.updatedAt);
1119
1087
  }
1120
1088
  return writer;
1121
1089
  },
@@ -1148,72 +1116,30 @@ export const CreateUserResponse = {
1148
1116
  continue;
1149
1117
  }
1150
1118
  case 4: {
1151
- if (tag !== 34) {
1119
+ if (tag !== 32) {
1152
1120
  break;
1153
1121
  }
1154
- message.password = reader.string();
1122
+ message.onboardingCompleted = reader.bool();
1155
1123
  continue;
1156
1124
  }
1157
1125
  case 5: {
1158
- if (tag !== 40) {
1126
+ if (tag !== 42) {
1159
1127
  break;
1160
1128
  }
1161
- message.age = reader.int32();
1129
+ message.status = reader.string();
1162
1130
  continue;
1163
1131
  }
1164
1132
  case 6: {
1165
1133
  if (tag !== 50) {
1166
1134
  break;
1167
1135
  }
1168
- message.gender = reader.string();
1136
+ message.createdAt = reader.string();
1169
1137
  continue;
1170
1138
  }
1171
1139
  case 7: {
1172
1140
  if (tag !== 58) {
1173
1141
  break;
1174
1142
  }
1175
- message.bio = reader.string();
1176
- continue;
1177
- }
1178
- case 8: {
1179
- if (tag !== 66) {
1180
- break;
1181
- }
1182
- message.photos.push(reader.string());
1183
- continue;
1184
- }
1185
- case 9: {
1186
- if (tag !== 74) {
1187
- break;
1188
- }
1189
- message.interests.push(reader.string());
1190
- continue;
1191
- }
1192
- case 12: {
1193
- if (tag !== 96) {
1194
- break;
1195
- }
1196
- message.onboardingCompleted = reader.bool();
1197
- continue;
1198
- }
1199
- case 13: {
1200
- if (tag !== 106) {
1201
- break;
1202
- }
1203
- message.status = reader.string();
1204
- continue;
1205
- }
1206
- case 14: {
1207
- if (tag !== 114) {
1208
- break;
1209
- }
1210
- message.createdAt = reader.string();
1211
- continue;
1212
- }
1213
- case 15: {
1214
- if (tag !== 122) {
1215
- break;
1216
- }
1217
1143
  message.updatedAt = reader.string();
1218
1144
  continue;
1219
1145
  }
@@ -1230,14 +1156,6 @@ export const CreateUserResponse = {
1230
1156
  id: isSet(object.id) ? globalThis.String(object.id) : "",
1231
1157
  name: isSet(object.name) ? globalThis.String(object.name) : "",
1232
1158
  email: isSet(object.email) ? globalThis.String(object.email) : "",
1233
- password: isSet(object.password) ? globalThis.String(object.password) : "",
1234
- age: isSet(object.age) ? globalThis.Number(object.age) : 0,
1235
- gender: isSet(object.gender) ? globalThis.String(object.gender) : "",
1236
- bio: isSet(object.bio) ? globalThis.String(object.bio) : "",
1237
- photos: globalThis.Array.isArray(object?.photos) ? object.photos.map((e) => globalThis.String(e)) : [],
1238
- interests: globalThis.Array.isArray(object?.interests)
1239
- ? object.interests.map((e) => globalThis.String(e))
1240
- : [],
1241
1159
  onboardingCompleted: isSet(object.onboardingCompleted) ? globalThis.Boolean(object.onboardingCompleted) : false,
1242
1160
  status: isSet(object.status) ? globalThis.String(object.status) : "",
1243
1161
  createdAt: isSet(object.createdAt) ? globalThis.String(object.createdAt) : "",
@@ -1255,24 +1173,6 @@ export const CreateUserResponse = {
1255
1173
  if (message.email !== "") {
1256
1174
  obj.email = message.email;
1257
1175
  }
1258
- if (message.password !== "") {
1259
- obj.password = message.password;
1260
- }
1261
- if (message.age !== 0) {
1262
- obj.age = Math.round(message.age);
1263
- }
1264
- if (message.gender !== "") {
1265
- obj.gender = message.gender;
1266
- }
1267
- if (message.bio !== "") {
1268
- obj.bio = message.bio;
1269
- }
1270
- if (message.photos?.length) {
1271
- obj.photos = message.photos;
1272
- }
1273
- if (message.interests?.length) {
1274
- obj.interests = message.interests;
1275
- }
1276
1176
  if (message.onboardingCompleted !== false) {
1277
1177
  obj.onboardingCompleted = message.onboardingCompleted;
1278
1178
  }
@@ -1295,12 +1195,6 @@ export const CreateUserResponse = {
1295
1195
  message.id = object.id ?? "";
1296
1196
  message.name = object.name ?? "";
1297
1197
  message.email = object.email ?? "";
1298
- message.password = object.password ?? "";
1299
- message.age = object.age ?? 0;
1300
- message.gender = object.gender ?? "";
1301
- message.bio = object.bio ?? "";
1302
- message.photos = object.photos?.map((e) => e) || [];
1303
- message.interests = object.interests?.map((e) => e) || [];
1304
1198
  message.onboardingCompleted = object.onboardingCompleted ?? false;
1305
1199
  message.status = object.status ?? "";
1306
1200
  message.createdAt = object.createdAt ?? "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@i4you/proto-files",
3
- "version": "1.0.5-beta.3",
3
+ "version": "1.0.5-beta.5",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {