@atproto/bsky 0.0.199 → 0.0.201

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 (170) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/api/app/bsky/ageassurance/begin.d.ts.map +1 -1
  3. package/dist/api/app/bsky/ageassurance/begin.js +1 -2
  4. package/dist/api/app/bsky/ageassurance/begin.js.map +1 -1
  5. package/dist/api/app/bsky/contact/dismissMatch.d.ts +4 -0
  6. package/dist/api/app/bsky/contact/dismissMatch.d.ts.map +1 -0
  7. package/dist/api/app/bsky/contact/dismissMatch.js +23 -0
  8. package/dist/api/app/bsky/contact/dismissMatch.js.map +1 -0
  9. package/dist/api/app/bsky/contact/getMatches.d.ts +4 -0
  10. package/dist/api/app/bsky/contact/getMatches.d.ts.map +1 -0
  11. package/dist/api/app/bsky/contact/getMatches.js +59 -0
  12. package/dist/api/app/bsky/contact/getMatches.js.map +1 -0
  13. package/dist/api/app/bsky/contact/getSyncStatus.d.ts +4 -0
  14. package/dist/api/app/bsky/contact/getSyncStatus.d.ts.map +1 -0
  15. package/dist/api/app/bsky/contact/getSyncStatus.js +32 -0
  16. package/dist/api/app/bsky/contact/getSyncStatus.js.map +1 -0
  17. package/dist/api/app/bsky/contact/importContacts.d.ts +4 -0
  18. package/dist/api/app/bsky/contact/importContacts.d.ts.map +1 -0
  19. package/dist/api/app/bsky/contact/importContacts.js +62 -0
  20. package/dist/api/app/bsky/contact/importContacts.js.map +1 -0
  21. package/dist/api/app/bsky/contact/removeData.d.ts +4 -0
  22. package/dist/api/app/bsky/contact/removeData.d.ts.map +1 -0
  23. package/dist/api/app/bsky/contact/removeData.js +22 -0
  24. package/dist/api/app/bsky/contact/removeData.js.map +1 -0
  25. package/dist/api/app/bsky/contact/sendNotification.d.ts +4 -0
  26. package/dist/api/app/bsky/contact/sendNotification.d.ts.map +1 -0
  27. package/dist/api/app/bsky/contact/sendNotification.js +30 -0
  28. package/dist/api/app/bsky/contact/sendNotification.js.map +1 -0
  29. package/dist/api/app/bsky/contact/startPhoneVerification.d.ts +4 -0
  30. package/dist/api/app/bsky/contact/startPhoneVerification.d.ts.map +1 -0
  31. package/dist/api/app/bsky/contact/startPhoneVerification.js +23 -0
  32. package/dist/api/app/bsky/contact/startPhoneVerification.js.map +1 -0
  33. package/dist/api/app/bsky/contact/util.d.ts +6 -0
  34. package/dist/api/app/bsky/contact/util.d.ts.map +1 -0
  35. package/dist/api/app/bsky/contact/util.js +10 -0
  36. package/dist/api/app/bsky/contact/util.js.map +1 -0
  37. package/dist/api/app/bsky/contact/verifyPhone.d.ts +4 -0
  38. package/dist/api/app/bsky/contact/verifyPhone.d.ts.map +1 -0
  39. package/dist/api/app/bsky/contact/verifyPhone.js +26 -0
  40. package/dist/api/app/bsky/contact/verifyPhone.js.map +1 -0
  41. package/dist/api/app/bsky/graph/getRelationships.d.ts.map +1 -1
  42. package/dist/api/app/bsky/graph/getRelationships.js +4 -0
  43. package/dist/api/app/bsky/graph/getRelationships.js.map +1 -1
  44. package/dist/api/index.d.ts.map +1 -1
  45. package/dist/api/index.js +14 -0
  46. package/dist/api/index.js.map +1 -1
  47. package/dist/config.d.ts +8 -0
  48. package/dist/config.d.ts.map +1 -1
  49. package/dist/config.js +21 -0
  50. package/dist/config.js.map +1 -1
  51. package/dist/context.d.ts +3 -0
  52. package/dist/context.d.ts.map +1 -1
  53. package/dist/context.js +3 -0
  54. package/dist/context.js.map +1 -1
  55. package/dist/hydration/actor.js +1 -1
  56. package/dist/hydration/actor.js.map +1 -1
  57. package/dist/index.d.ts.map +1 -1
  58. package/dist/index.js +12 -0
  59. package/dist/index.js.map +1 -1
  60. package/dist/lexicon/index.d.ts +21 -0
  61. package/dist/lexicon/index.d.ts.map +1 -1
  62. package/dist/lexicon/index.js +52 -1
  63. package/dist/lexicon/index.js.map +1 -1
  64. package/dist/lexicon/lexicons.d.ts +908 -102
  65. package/dist/lexicon/lexicons.d.ts.map +1 -1
  66. package/dist/lexicon/lexicons.js +427 -0
  67. package/dist/lexicon/lexicons.js.map +1 -1
  68. package/dist/lexicon/types/app/bsky/actor/defs.d.ts +13 -1
  69. package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
  70. package/dist/lexicon/types/app/bsky/actor/defs.js +9 -0
  71. package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
  72. package/dist/lexicon/types/app/bsky/contact/defs.d.ts +34 -0
  73. package/dist/lexicon/types/app/bsky/contact/defs.d.ts.map +1 -0
  74. package/dist/lexicon/types/app/bsky/contact/defs.js +34 -0
  75. package/dist/lexicon/types/app/bsky/contact/defs.js.map +1 -0
  76. package/dist/lexicon/types/app/bsky/contact/dismissMatch.d.ts +25 -0
  77. package/dist/lexicon/types/app/bsky/contact/dismissMatch.d.ts.map +1 -0
  78. package/dist/lexicon/types/app/bsky/contact/dismissMatch.js +7 -0
  79. package/dist/lexicon/types/app/bsky/contact/dismissMatch.js.map +1 -0
  80. package/dist/lexicon/types/app/bsky/contact/getMatches.d.ts +25 -0
  81. package/dist/lexicon/types/app/bsky/contact/getMatches.d.ts.map +1 -0
  82. package/dist/lexicon/types/app/bsky/contact/getMatches.js +7 -0
  83. package/dist/lexicon/types/app/bsky/contact/getMatches.js.map +1 -0
  84. package/dist/lexicon/types/app/bsky/contact/getSyncStatus.d.ts +21 -0
  85. package/dist/lexicon/types/app/bsky/contact/getSyncStatus.d.ts.map +1 -0
  86. package/dist/lexicon/types/app/bsky/contact/getSyncStatus.js +7 -0
  87. package/dist/lexicon/types/app/bsky/contact/getSyncStatus.js.map +1 -0
  88. package/dist/lexicon/types/app/bsky/contact/importContacts.d.ts +30 -0
  89. package/dist/lexicon/types/app/bsky/contact/importContacts.d.ts.map +1 -0
  90. package/dist/lexicon/types/app/bsky/contact/importContacts.js +7 -0
  91. package/dist/lexicon/types/app/bsky/contact/importContacts.js.map +1 -0
  92. package/dist/lexicon/types/app/bsky/contact/removeData.d.ts +23 -0
  93. package/dist/lexicon/types/app/bsky/contact/removeData.d.ts.map +1 -0
  94. package/dist/lexicon/types/app/bsky/contact/removeData.js +7 -0
  95. package/dist/lexicon/types/app/bsky/contact/removeData.js.map +1 -0
  96. package/dist/lexicon/types/app/bsky/contact/sendNotification.d.ts +26 -0
  97. package/dist/lexicon/types/app/bsky/contact/sendNotification.d.ts.map +1 -0
  98. package/dist/lexicon/types/app/bsky/contact/sendNotification.js +7 -0
  99. package/dist/lexicon/types/app/bsky/contact/sendNotification.js.map +1 -0
  100. package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.d.ts +25 -0
  101. package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.d.ts.map +1 -0
  102. package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.js +7 -0
  103. package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.js.map +1 -0
  104. package/dist/lexicon/types/app/bsky/contact/verifyPhone.d.ts +29 -0
  105. package/dist/lexicon/types/app/bsky/contact/verifyPhone.d.ts.map +1 -0
  106. package/dist/lexicon/types/app/bsky/contact/verifyPhone.js +7 -0
  107. package/dist/lexicon/types/app/bsky/contact/verifyPhone.js.map +1 -0
  108. package/dist/lexicon/types/app/bsky/graph/defs.d.ts +8 -0
  109. package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
  110. package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
  111. package/dist/proto/bsky_pb.d.ts +0 -4
  112. package/dist/proto/bsky_pb.d.ts.map +1 -1
  113. package/dist/proto/bsky_pb.js +0 -10
  114. package/dist/proto/bsky_pb.js.map +1 -1
  115. package/dist/proto/rolodex_connect.d.ts +83 -0
  116. package/dist/proto/rolodex_connect.d.ts.map +1 -0
  117. package/dist/proto/rolodex_connect.js +90 -0
  118. package/dist/proto/rolodex_connect.js.map +1 -0
  119. package/dist/proto/rolodex_pb.d.ts +363 -0
  120. package/dist/proto/rolodex_pb.d.ts.map +1 -0
  121. package/dist/proto/rolodex_pb.js +1032 -0
  122. package/dist/proto/rolodex_pb.js.map +1 -0
  123. package/dist/rolodex.d.ts +9 -0
  124. package/dist/rolodex.d.ts.map +1 -0
  125. package/dist/rolodex.js +25 -0
  126. package/dist/rolodex.js.map +1 -0
  127. package/dist/stash.d.ts +2 -1
  128. package/dist/stash.d.ts.map +1 -1
  129. package/dist/stash.js +2 -1
  130. package/dist/stash.js.map +1 -1
  131. package/package.json +11 -11
  132. package/proto/rolodex.proto +116 -0
  133. package/src/api/app/bsky/ageassurance/begin.ts +1 -4
  134. package/src/api/app/bsky/contact/dismissMatch.ts +24 -0
  135. package/src/api/app/bsky/contact/getMatches.ts +111 -0
  136. package/src/api/app/bsky/contact/getSyncStatus.ts +35 -0
  137. package/src/api/app/bsky/contact/importContacts.ts +118 -0
  138. package/src/api/app/bsky/contact/removeData.ts +23 -0
  139. package/src/api/app/bsky/contact/sendNotification.ts +32 -0
  140. package/src/api/app/bsky/contact/startPhoneVerification.ts +24 -0
  141. package/src/api/app/bsky/contact/util.ts +13 -0
  142. package/src/api/app/bsky/contact/verifyPhone.ts +27 -0
  143. package/src/api/app/bsky/graph/getRelationships.ts +4 -0
  144. package/src/api/index.ts +14 -0
  145. package/src/config.ts +27 -0
  146. package/src/context.ts +6 -0
  147. package/src/hydration/actor.ts +1 -1
  148. package/src/index.ts +13 -0
  149. package/src/lexicon/index.ts +114 -0
  150. package/src/lexicon/lexicons.ts +454 -0
  151. package/src/lexicon/types/app/bsky/actor/defs.ts +22 -0
  152. package/src/lexicon/types/app/bsky/contact/defs.ts +71 -0
  153. package/src/lexicon/types/app/bsky/contact/dismissMatch.ts +43 -0
  154. package/src/lexicon/types/app/bsky/contact/getMatches.ts +43 -0
  155. package/src/lexicon/types/app/bsky/contact/getSyncStatus.ts +39 -0
  156. package/src/lexicon/types/app/bsky/contact/importContacts.ts +49 -0
  157. package/src/lexicon/types/app/bsky/contact/removeData.ts +40 -0
  158. package/src/lexicon/types/app/bsky/contact/sendNotification.ts +44 -0
  159. package/src/lexicon/types/app/bsky/contact/startPhoneVerification.ts +43 -0
  160. package/src/lexicon/types/app/bsky/contact/verifyPhone.ts +48 -0
  161. package/src/lexicon/types/app/bsky/graph/defs.ts +8 -0
  162. package/src/proto/bsky_pb.ts +0 -6
  163. package/src/proto/rolodex_connect.ts +89 -0
  164. package/src/proto/rolodex_pb.ts +746 -0
  165. package/src/rolodex.ts +42 -0
  166. package/src/stash.ts +5 -2
  167. package/tests/views/__snapshots__/profile.test.ts.snap +103 -0
  168. package/tests/views/age-assurance-v2.test.ts +8 -1
  169. package/tests/views/profile.test.ts +39 -0
  170. package/tsconfig.build.tsbuildinfo +1 -1
@@ -0,0 +1,1032 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v1.6.0 with parameter "target=ts,import_extension="
3
+ // @generated from file rolodex.proto (package rolodex, syntax proto3)
4
+ /* eslint-disable */
5
+ // @ts-nocheck
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.RemoveDataResponse = exports.RemoveDataRequest = exports.DismissMatchResponse = exports.DismissMatchRequest = exports.GetMatchesResponse = exports.GetMatchesRequest = exports.ImportContactsResponse = exports.ImportContactsMatch = exports.ImportContactsRequest = exports.VerifyPhoneResponse = exports.VerifyPhoneRequest = exports.StartPhoneVerificationResponse = exports.StartPhoneVerificationRequest = exports.GetSyncStatusResponse = exports.SyncStatus = exports.GetSyncStatusRequest = exports.PingResponse = exports.PingRequest = void 0;
8
+ const protobuf_1 = require("@bufbuild/protobuf");
9
+ /**
10
+ * Ping
11
+ *
12
+ * @generated from message rolodex.PingRequest
13
+ */
14
+ class PingRequest extends protobuf_1.Message {
15
+ constructor(data) {
16
+ super();
17
+ protobuf_1.proto3.util.initPartial(data, this);
18
+ }
19
+ static fromBinary(bytes, options) {
20
+ return new PingRequest().fromBinary(bytes, options);
21
+ }
22
+ static fromJson(jsonValue, options) {
23
+ return new PingRequest().fromJson(jsonValue, options);
24
+ }
25
+ static fromJsonString(jsonString, options) {
26
+ return new PingRequest().fromJsonString(jsonString, options);
27
+ }
28
+ static equals(a, b) {
29
+ return protobuf_1.proto3.util.equals(PingRequest, a, b);
30
+ }
31
+ }
32
+ exports.PingRequest = PingRequest;
33
+ Object.defineProperty(PingRequest, "runtime", {
34
+ enumerable: true,
35
+ configurable: true,
36
+ writable: true,
37
+ value: protobuf_1.proto3
38
+ });
39
+ Object.defineProperty(PingRequest, "typeName", {
40
+ enumerable: true,
41
+ configurable: true,
42
+ writable: true,
43
+ value: "rolodex.PingRequest"
44
+ });
45
+ Object.defineProperty(PingRequest, "fields", {
46
+ enumerable: true,
47
+ configurable: true,
48
+ writable: true,
49
+ value: protobuf_1.proto3.util.newFieldList(() => [])
50
+ });
51
+ /**
52
+ * @generated from message rolodex.PingResponse
53
+ */
54
+ class PingResponse extends protobuf_1.Message {
55
+ constructor(data) {
56
+ super();
57
+ protobuf_1.proto3.util.initPartial(data, this);
58
+ }
59
+ static fromBinary(bytes, options) {
60
+ return new PingResponse().fromBinary(bytes, options);
61
+ }
62
+ static fromJson(jsonValue, options) {
63
+ return new PingResponse().fromJson(jsonValue, options);
64
+ }
65
+ static fromJsonString(jsonString, options) {
66
+ return new PingResponse().fromJsonString(jsonString, options);
67
+ }
68
+ static equals(a, b) {
69
+ return protobuf_1.proto3.util.equals(PingResponse, a, b);
70
+ }
71
+ }
72
+ exports.PingResponse = PingResponse;
73
+ Object.defineProperty(PingResponse, "runtime", {
74
+ enumerable: true,
75
+ configurable: true,
76
+ writable: true,
77
+ value: protobuf_1.proto3
78
+ });
79
+ Object.defineProperty(PingResponse, "typeName", {
80
+ enumerable: true,
81
+ configurable: true,
82
+ writable: true,
83
+ value: "rolodex.PingResponse"
84
+ });
85
+ Object.defineProperty(PingResponse, "fields", {
86
+ enumerable: true,
87
+ configurable: true,
88
+ writable: true,
89
+ value: protobuf_1.proto3.util.newFieldList(() => [])
90
+ });
91
+ /**
92
+ * GetSyncStatus
93
+ *
94
+ * @generated from message rolodex.GetSyncStatusRequest
95
+ */
96
+ class GetSyncStatusRequest extends protobuf_1.Message {
97
+ constructor(data) {
98
+ super();
99
+ /**
100
+ * @generated from field: string actor = 1;
101
+ */
102
+ Object.defineProperty(this, "actor", {
103
+ enumerable: true,
104
+ configurable: true,
105
+ writable: true,
106
+ value: ""
107
+ });
108
+ protobuf_1.proto3.util.initPartial(data, this);
109
+ }
110
+ static fromBinary(bytes, options) {
111
+ return new GetSyncStatusRequest().fromBinary(bytes, options);
112
+ }
113
+ static fromJson(jsonValue, options) {
114
+ return new GetSyncStatusRequest().fromJson(jsonValue, options);
115
+ }
116
+ static fromJsonString(jsonString, options) {
117
+ return new GetSyncStatusRequest().fromJsonString(jsonString, options);
118
+ }
119
+ static equals(a, b) {
120
+ return protobuf_1.proto3.util.equals(GetSyncStatusRequest, a, b);
121
+ }
122
+ }
123
+ exports.GetSyncStatusRequest = GetSyncStatusRequest;
124
+ Object.defineProperty(GetSyncStatusRequest, "runtime", {
125
+ enumerable: true,
126
+ configurable: true,
127
+ writable: true,
128
+ value: protobuf_1.proto3
129
+ });
130
+ Object.defineProperty(GetSyncStatusRequest, "typeName", {
131
+ enumerable: true,
132
+ configurable: true,
133
+ writable: true,
134
+ value: "rolodex.GetSyncStatusRequest"
135
+ });
136
+ Object.defineProperty(GetSyncStatusRequest, "fields", {
137
+ enumerable: true,
138
+ configurable: true,
139
+ writable: true,
140
+ value: protobuf_1.proto3.util.newFieldList(() => [
141
+ { no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
142
+ ])
143
+ });
144
+ /**
145
+ * @generated from message rolodex.SyncStatus
146
+ */
147
+ class SyncStatus extends protobuf_1.Message {
148
+ constructor(data) {
149
+ super();
150
+ /**
151
+ * @generated from field: google.protobuf.Timestamp synced_at = 1;
152
+ */
153
+ Object.defineProperty(this, "syncedAt", {
154
+ enumerable: true,
155
+ configurable: true,
156
+ writable: true,
157
+ value: void 0
158
+ });
159
+ /**
160
+ * @generated from field: int32 matches_count = 2;
161
+ */
162
+ Object.defineProperty(this, "matchesCount", {
163
+ enumerable: true,
164
+ configurable: true,
165
+ writable: true,
166
+ value: 0
167
+ });
168
+ protobuf_1.proto3.util.initPartial(data, this);
169
+ }
170
+ static fromBinary(bytes, options) {
171
+ return new SyncStatus().fromBinary(bytes, options);
172
+ }
173
+ static fromJson(jsonValue, options) {
174
+ return new SyncStatus().fromJson(jsonValue, options);
175
+ }
176
+ static fromJsonString(jsonString, options) {
177
+ return new SyncStatus().fromJsonString(jsonString, options);
178
+ }
179
+ static equals(a, b) {
180
+ return protobuf_1.proto3.util.equals(SyncStatus, a, b);
181
+ }
182
+ }
183
+ exports.SyncStatus = SyncStatus;
184
+ Object.defineProperty(SyncStatus, "runtime", {
185
+ enumerable: true,
186
+ configurable: true,
187
+ writable: true,
188
+ value: protobuf_1.proto3
189
+ });
190
+ Object.defineProperty(SyncStatus, "typeName", {
191
+ enumerable: true,
192
+ configurable: true,
193
+ writable: true,
194
+ value: "rolodex.SyncStatus"
195
+ });
196
+ Object.defineProperty(SyncStatus, "fields", {
197
+ enumerable: true,
198
+ configurable: true,
199
+ writable: true,
200
+ value: protobuf_1.proto3.util.newFieldList(() => [
201
+ { no: 1, name: "synced_at", kind: "message", T: protobuf_1.Timestamp },
202
+ { no: 2, name: "matches_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
203
+ ])
204
+ });
205
+ /**
206
+ * @generated from message rolodex.GetSyncStatusResponse
207
+ */
208
+ class GetSyncStatusResponse extends protobuf_1.Message {
209
+ constructor(data) {
210
+ super();
211
+ /**
212
+ * @generated from field: rolodex.SyncStatus status = 1;
213
+ */
214
+ Object.defineProperty(this, "status", {
215
+ enumerable: true,
216
+ configurable: true,
217
+ writable: true,
218
+ value: void 0
219
+ });
220
+ protobuf_1.proto3.util.initPartial(data, this);
221
+ }
222
+ static fromBinary(bytes, options) {
223
+ return new GetSyncStatusResponse().fromBinary(bytes, options);
224
+ }
225
+ static fromJson(jsonValue, options) {
226
+ return new GetSyncStatusResponse().fromJson(jsonValue, options);
227
+ }
228
+ static fromJsonString(jsonString, options) {
229
+ return new GetSyncStatusResponse().fromJsonString(jsonString, options);
230
+ }
231
+ static equals(a, b) {
232
+ return protobuf_1.proto3.util.equals(GetSyncStatusResponse, a, b);
233
+ }
234
+ }
235
+ exports.GetSyncStatusResponse = GetSyncStatusResponse;
236
+ Object.defineProperty(GetSyncStatusResponse, "runtime", {
237
+ enumerable: true,
238
+ configurable: true,
239
+ writable: true,
240
+ value: protobuf_1.proto3
241
+ });
242
+ Object.defineProperty(GetSyncStatusResponse, "typeName", {
243
+ enumerable: true,
244
+ configurable: true,
245
+ writable: true,
246
+ value: "rolodex.GetSyncStatusResponse"
247
+ });
248
+ Object.defineProperty(GetSyncStatusResponse, "fields", {
249
+ enumerable: true,
250
+ configurable: true,
251
+ writable: true,
252
+ value: protobuf_1.proto3.util.newFieldList(() => [
253
+ { no: 1, name: "status", kind: "message", T: SyncStatus },
254
+ ])
255
+ });
256
+ /**
257
+ * StartPhoneVerification
258
+ *
259
+ * @generated from message rolodex.StartPhoneVerificationRequest
260
+ */
261
+ class StartPhoneVerificationRequest extends protobuf_1.Message {
262
+ constructor(data) {
263
+ super();
264
+ /**
265
+ * @generated from field: string actor = 1;
266
+ */
267
+ Object.defineProperty(this, "actor", {
268
+ enumerable: true,
269
+ configurable: true,
270
+ writable: true,
271
+ value: ""
272
+ });
273
+ /**
274
+ * @generated from field: string phone = 2;
275
+ */
276
+ Object.defineProperty(this, "phone", {
277
+ enumerable: true,
278
+ configurable: true,
279
+ writable: true,
280
+ value: ""
281
+ });
282
+ protobuf_1.proto3.util.initPartial(data, this);
283
+ }
284
+ static fromBinary(bytes, options) {
285
+ return new StartPhoneVerificationRequest().fromBinary(bytes, options);
286
+ }
287
+ static fromJson(jsonValue, options) {
288
+ return new StartPhoneVerificationRequest().fromJson(jsonValue, options);
289
+ }
290
+ static fromJsonString(jsonString, options) {
291
+ return new StartPhoneVerificationRequest().fromJsonString(jsonString, options);
292
+ }
293
+ static equals(a, b) {
294
+ return protobuf_1.proto3.util.equals(StartPhoneVerificationRequest, a, b);
295
+ }
296
+ }
297
+ exports.StartPhoneVerificationRequest = StartPhoneVerificationRequest;
298
+ Object.defineProperty(StartPhoneVerificationRequest, "runtime", {
299
+ enumerable: true,
300
+ configurable: true,
301
+ writable: true,
302
+ value: protobuf_1.proto3
303
+ });
304
+ Object.defineProperty(StartPhoneVerificationRequest, "typeName", {
305
+ enumerable: true,
306
+ configurable: true,
307
+ writable: true,
308
+ value: "rolodex.StartPhoneVerificationRequest"
309
+ });
310
+ Object.defineProperty(StartPhoneVerificationRequest, "fields", {
311
+ enumerable: true,
312
+ configurable: true,
313
+ writable: true,
314
+ value: protobuf_1.proto3.util.newFieldList(() => [
315
+ { no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
316
+ { no: 2, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
317
+ ])
318
+ });
319
+ /**
320
+ * @generated from message rolodex.StartPhoneVerificationResponse
321
+ */
322
+ class StartPhoneVerificationResponse extends protobuf_1.Message {
323
+ constructor(data) {
324
+ super();
325
+ protobuf_1.proto3.util.initPartial(data, this);
326
+ }
327
+ static fromBinary(bytes, options) {
328
+ return new StartPhoneVerificationResponse().fromBinary(bytes, options);
329
+ }
330
+ static fromJson(jsonValue, options) {
331
+ return new StartPhoneVerificationResponse().fromJson(jsonValue, options);
332
+ }
333
+ static fromJsonString(jsonString, options) {
334
+ return new StartPhoneVerificationResponse().fromJsonString(jsonString, options);
335
+ }
336
+ static equals(a, b) {
337
+ return protobuf_1.proto3.util.equals(StartPhoneVerificationResponse, a, b);
338
+ }
339
+ }
340
+ exports.StartPhoneVerificationResponse = StartPhoneVerificationResponse;
341
+ Object.defineProperty(StartPhoneVerificationResponse, "runtime", {
342
+ enumerable: true,
343
+ configurable: true,
344
+ writable: true,
345
+ value: protobuf_1.proto3
346
+ });
347
+ Object.defineProperty(StartPhoneVerificationResponse, "typeName", {
348
+ enumerable: true,
349
+ configurable: true,
350
+ writable: true,
351
+ value: "rolodex.StartPhoneVerificationResponse"
352
+ });
353
+ Object.defineProperty(StartPhoneVerificationResponse, "fields", {
354
+ enumerable: true,
355
+ configurable: true,
356
+ writable: true,
357
+ value: protobuf_1.proto3.util.newFieldList(() => [])
358
+ });
359
+ /**
360
+ * VerifyPhone
361
+ *
362
+ * @generated from message rolodex.VerifyPhoneRequest
363
+ */
364
+ class VerifyPhoneRequest extends protobuf_1.Message {
365
+ constructor(data) {
366
+ super();
367
+ /**
368
+ * @generated from field: string actor = 1;
369
+ */
370
+ Object.defineProperty(this, "actor", {
371
+ enumerable: true,
372
+ configurable: true,
373
+ writable: true,
374
+ value: ""
375
+ });
376
+ /**
377
+ * @generated from field: string phone = 2;
378
+ */
379
+ Object.defineProperty(this, "phone", {
380
+ enumerable: true,
381
+ configurable: true,
382
+ writable: true,
383
+ value: ""
384
+ });
385
+ /**
386
+ * @generated from field: string verification_code = 3;
387
+ */
388
+ Object.defineProperty(this, "verificationCode", {
389
+ enumerable: true,
390
+ configurable: true,
391
+ writable: true,
392
+ value: ""
393
+ });
394
+ protobuf_1.proto3.util.initPartial(data, this);
395
+ }
396
+ static fromBinary(bytes, options) {
397
+ return new VerifyPhoneRequest().fromBinary(bytes, options);
398
+ }
399
+ static fromJson(jsonValue, options) {
400
+ return new VerifyPhoneRequest().fromJson(jsonValue, options);
401
+ }
402
+ static fromJsonString(jsonString, options) {
403
+ return new VerifyPhoneRequest().fromJsonString(jsonString, options);
404
+ }
405
+ static equals(a, b) {
406
+ return protobuf_1.proto3.util.equals(VerifyPhoneRequest, a, b);
407
+ }
408
+ }
409
+ exports.VerifyPhoneRequest = VerifyPhoneRequest;
410
+ Object.defineProperty(VerifyPhoneRequest, "runtime", {
411
+ enumerable: true,
412
+ configurable: true,
413
+ writable: true,
414
+ value: protobuf_1.proto3
415
+ });
416
+ Object.defineProperty(VerifyPhoneRequest, "typeName", {
417
+ enumerable: true,
418
+ configurable: true,
419
+ writable: true,
420
+ value: "rolodex.VerifyPhoneRequest"
421
+ });
422
+ Object.defineProperty(VerifyPhoneRequest, "fields", {
423
+ enumerable: true,
424
+ configurable: true,
425
+ writable: true,
426
+ value: protobuf_1.proto3.util.newFieldList(() => [
427
+ { no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
428
+ { no: 2, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
429
+ { no: 3, name: "verification_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
430
+ ])
431
+ });
432
+ /**
433
+ * @generated from message rolodex.VerifyPhoneResponse
434
+ */
435
+ class VerifyPhoneResponse extends protobuf_1.Message {
436
+ constructor(data) {
437
+ super();
438
+ /**
439
+ * @generated from field: string token = 1;
440
+ */
441
+ Object.defineProperty(this, "token", {
442
+ enumerable: true,
443
+ configurable: true,
444
+ writable: true,
445
+ value: ""
446
+ });
447
+ protobuf_1.proto3.util.initPartial(data, this);
448
+ }
449
+ static fromBinary(bytes, options) {
450
+ return new VerifyPhoneResponse().fromBinary(bytes, options);
451
+ }
452
+ static fromJson(jsonValue, options) {
453
+ return new VerifyPhoneResponse().fromJson(jsonValue, options);
454
+ }
455
+ static fromJsonString(jsonString, options) {
456
+ return new VerifyPhoneResponse().fromJsonString(jsonString, options);
457
+ }
458
+ static equals(a, b) {
459
+ return protobuf_1.proto3.util.equals(VerifyPhoneResponse, a, b);
460
+ }
461
+ }
462
+ exports.VerifyPhoneResponse = VerifyPhoneResponse;
463
+ Object.defineProperty(VerifyPhoneResponse, "runtime", {
464
+ enumerable: true,
465
+ configurable: true,
466
+ writable: true,
467
+ value: protobuf_1.proto3
468
+ });
469
+ Object.defineProperty(VerifyPhoneResponse, "typeName", {
470
+ enumerable: true,
471
+ configurable: true,
472
+ writable: true,
473
+ value: "rolodex.VerifyPhoneResponse"
474
+ });
475
+ Object.defineProperty(VerifyPhoneResponse, "fields", {
476
+ enumerable: true,
477
+ configurable: true,
478
+ writable: true,
479
+ value: protobuf_1.proto3.util.newFieldList(() => [
480
+ { no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
481
+ ])
482
+ });
483
+ /**
484
+ * ImportContacts
485
+ *
486
+ * @generated from message rolodex.ImportContactsRequest
487
+ */
488
+ class ImportContactsRequest extends protobuf_1.Message {
489
+ constructor(data) {
490
+ super();
491
+ /**
492
+ * @generated from field: string actor = 1;
493
+ */
494
+ Object.defineProperty(this, "actor", {
495
+ enumerable: true,
496
+ configurable: true,
497
+ writable: true,
498
+ value: ""
499
+ });
500
+ /**
501
+ * @generated from field: string token = 2;
502
+ */
503
+ Object.defineProperty(this, "token", {
504
+ enumerable: true,
505
+ configurable: true,
506
+ writable: true,
507
+ value: ""
508
+ });
509
+ /**
510
+ * @generated from field: repeated string contacts = 3;
511
+ */
512
+ Object.defineProperty(this, "contacts", {
513
+ enumerable: true,
514
+ configurable: true,
515
+ writable: true,
516
+ value: []
517
+ });
518
+ protobuf_1.proto3.util.initPartial(data, this);
519
+ }
520
+ static fromBinary(bytes, options) {
521
+ return new ImportContactsRequest().fromBinary(bytes, options);
522
+ }
523
+ static fromJson(jsonValue, options) {
524
+ return new ImportContactsRequest().fromJson(jsonValue, options);
525
+ }
526
+ static fromJsonString(jsonString, options) {
527
+ return new ImportContactsRequest().fromJsonString(jsonString, options);
528
+ }
529
+ static equals(a, b) {
530
+ return protobuf_1.proto3.util.equals(ImportContactsRequest, a, b);
531
+ }
532
+ }
533
+ exports.ImportContactsRequest = ImportContactsRequest;
534
+ Object.defineProperty(ImportContactsRequest, "runtime", {
535
+ enumerable: true,
536
+ configurable: true,
537
+ writable: true,
538
+ value: protobuf_1.proto3
539
+ });
540
+ Object.defineProperty(ImportContactsRequest, "typeName", {
541
+ enumerable: true,
542
+ configurable: true,
543
+ writable: true,
544
+ value: "rolodex.ImportContactsRequest"
545
+ });
546
+ Object.defineProperty(ImportContactsRequest, "fields", {
547
+ enumerable: true,
548
+ configurable: true,
549
+ writable: true,
550
+ value: protobuf_1.proto3.util.newFieldList(() => [
551
+ { no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
552
+ { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
553
+ { no: 3, name: "contacts", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
554
+ ])
555
+ });
556
+ /**
557
+ * @generated from message rolodex.ImportContactsMatch
558
+ */
559
+ class ImportContactsMatch extends protobuf_1.Message {
560
+ constructor(data) {
561
+ super();
562
+ /**
563
+ * To which index of the input contacts this contact corresponds.
564
+ *
565
+ * @generated from field: int32 input_index = 1;
566
+ */
567
+ Object.defineProperty(this, "inputIndex", {
568
+ enumerable: true,
569
+ configurable: true,
570
+ writable: true,
571
+ value: 0
572
+ });
573
+ /**
574
+ * @generated from field: string subject = 2;
575
+ */
576
+ Object.defineProperty(this, "subject", {
577
+ enumerable: true,
578
+ configurable: true,
579
+ writable: true,
580
+ value: ""
581
+ });
582
+ protobuf_1.proto3.util.initPartial(data, this);
583
+ }
584
+ static fromBinary(bytes, options) {
585
+ return new ImportContactsMatch().fromBinary(bytes, options);
586
+ }
587
+ static fromJson(jsonValue, options) {
588
+ return new ImportContactsMatch().fromJson(jsonValue, options);
589
+ }
590
+ static fromJsonString(jsonString, options) {
591
+ return new ImportContactsMatch().fromJsonString(jsonString, options);
592
+ }
593
+ static equals(a, b) {
594
+ return protobuf_1.proto3.util.equals(ImportContactsMatch, a, b);
595
+ }
596
+ }
597
+ exports.ImportContactsMatch = ImportContactsMatch;
598
+ Object.defineProperty(ImportContactsMatch, "runtime", {
599
+ enumerable: true,
600
+ configurable: true,
601
+ writable: true,
602
+ value: protobuf_1.proto3
603
+ });
604
+ Object.defineProperty(ImportContactsMatch, "typeName", {
605
+ enumerable: true,
606
+ configurable: true,
607
+ writable: true,
608
+ value: "rolodex.ImportContactsMatch"
609
+ });
610
+ Object.defineProperty(ImportContactsMatch, "fields", {
611
+ enumerable: true,
612
+ configurable: true,
613
+ writable: true,
614
+ value: protobuf_1.proto3.util.newFieldList(() => [
615
+ { no: 1, name: "input_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
616
+ { no: 2, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
617
+ ])
618
+ });
619
+ /**
620
+ * @generated from message rolodex.ImportContactsResponse
621
+ */
622
+ class ImportContactsResponse extends protobuf_1.Message {
623
+ constructor(data) {
624
+ super();
625
+ /**
626
+ * @generated from field: repeated rolodex.ImportContactsMatch matches = 1;
627
+ */
628
+ Object.defineProperty(this, "matches", {
629
+ enumerable: true,
630
+ configurable: true,
631
+ writable: true,
632
+ value: []
633
+ });
634
+ protobuf_1.proto3.util.initPartial(data, this);
635
+ }
636
+ static fromBinary(bytes, options) {
637
+ return new ImportContactsResponse().fromBinary(bytes, options);
638
+ }
639
+ static fromJson(jsonValue, options) {
640
+ return new ImportContactsResponse().fromJson(jsonValue, options);
641
+ }
642
+ static fromJsonString(jsonString, options) {
643
+ return new ImportContactsResponse().fromJsonString(jsonString, options);
644
+ }
645
+ static equals(a, b) {
646
+ return protobuf_1.proto3.util.equals(ImportContactsResponse, a, b);
647
+ }
648
+ }
649
+ exports.ImportContactsResponse = ImportContactsResponse;
650
+ Object.defineProperty(ImportContactsResponse, "runtime", {
651
+ enumerable: true,
652
+ configurable: true,
653
+ writable: true,
654
+ value: protobuf_1.proto3
655
+ });
656
+ Object.defineProperty(ImportContactsResponse, "typeName", {
657
+ enumerable: true,
658
+ configurable: true,
659
+ writable: true,
660
+ value: "rolodex.ImportContactsResponse"
661
+ });
662
+ Object.defineProperty(ImportContactsResponse, "fields", {
663
+ enumerable: true,
664
+ configurable: true,
665
+ writable: true,
666
+ value: protobuf_1.proto3.util.newFieldList(() => [
667
+ { no: 1, name: "matches", kind: "message", T: ImportContactsMatch, repeated: true },
668
+ ])
669
+ });
670
+ /**
671
+ * GetMatches
672
+ *
673
+ * @generated from message rolodex.GetMatchesRequest
674
+ */
675
+ class GetMatchesRequest extends protobuf_1.Message {
676
+ constructor(data) {
677
+ super();
678
+ /**
679
+ * @generated from field: string actor = 1;
680
+ */
681
+ Object.defineProperty(this, "actor", {
682
+ enumerable: true,
683
+ configurable: true,
684
+ writable: true,
685
+ value: ""
686
+ });
687
+ /**
688
+ * @generated from field: int32 limit = 2;
689
+ */
690
+ Object.defineProperty(this, "limit", {
691
+ enumerable: true,
692
+ configurable: true,
693
+ writable: true,
694
+ value: 0
695
+ });
696
+ /**
697
+ * @generated from field: string cursor = 3;
698
+ */
699
+ Object.defineProperty(this, "cursor", {
700
+ enumerable: true,
701
+ configurable: true,
702
+ writable: true,
703
+ value: ""
704
+ });
705
+ protobuf_1.proto3.util.initPartial(data, this);
706
+ }
707
+ static fromBinary(bytes, options) {
708
+ return new GetMatchesRequest().fromBinary(bytes, options);
709
+ }
710
+ static fromJson(jsonValue, options) {
711
+ return new GetMatchesRequest().fromJson(jsonValue, options);
712
+ }
713
+ static fromJsonString(jsonString, options) {
714
+ return new GetMatchesRequest().fromJsonString(jsonString, options);
715
+ }
716
+ static equals(a, b) {
717
+ return protobuf_1.proto3.util.equals(GetMatchesRequest, a, b);
718
+ }
719
+ }
720
+ exports.GetMatchesRequest = GetMatchesRequest;
721
+ Object.defineProperty(GetMatchesRequest, "runtime", {
722
+ enumerable: true,
723
+ configurable: true,
724
+ writable: true,
725
+ value: protobuf_1.proto3
726
+ });
727
+ Object.defineProperty(GetMatchesRequest, "typeName", {
728
+ enumerable: true,
729
+ configurable: true,
730
+ writable: true,
731
+ value: "rolodex.GetMatchesRequest"
732
+ });
733
+ Object.defineProperty(GetMatchesRequest, "fields", {
734
+ enumerable: true,
735
+ configurable: true,
736
+ writable: true,
737
+ value: protobuf_1.proto3.util.newFieldList(() => [
738
+ { no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
739
+ { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
740
+ { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
741
+ ])
742
+ });
743
+ /**
744
+ * @generated from message rolodex.GetMatchesResponse
745
+ */
746
+ class GetMatchesResponse extends protobuf_1.Message {
747
+ constructor(data) {
748
+ super();
749
+ /**
750
+ * @generated from field: repeated string subjects = 1;
751
+ */
752
+ Object.defineProperty(this, "subjects", {
753
+ enumerable: true,
754
+ configurable: true,
755
+ writable: true,
756
+ value: []
757
+ });
758
+ /**
759
+ * @generated from field: string cursor = 2;
760
+ */
761
+ Object.defineProperty(this, "cursor", {
762
+ enumerable: true,
763
+ configurable: true,
764
+ writable: true,
765
+ value: ""
766
+ });
767
+ protobuf_1.proto3.util.initPartial(data, this);
768
+ }
769
+ static fromBinary(bytes, options) {
770
+ return new GetMatchesResponse().fromBinary(bytes, options);
771
+ }
772
+ static fromJson(jsonValue, options) {
773
+ return new GetMatchesResponse().fromJson(jsonValue, options);
774
+ }
775
+ static fromJsonString(jsonString, options) {
776
+ return new GetMatchesResponse().fromJsonString(jsonString, options);
777
+ }
778
+ static equals(a, b) {
779
+ return protobuf_1.proto3.util.equals(GetMatchesResponse, a, b);
780
+ }
781
+ }
782
+ exports.GetMatchesResponse = GetMatchesResponse;
783
+ Object.defineProperty(GetMatchesResponse, "runtime", {
784
+ enumerable: true,
785
+ configurable: true,
786
+ writable: true,
787
+ value: protobuf_1.proto3
788
+ });
789
+ Object.defineProperty(GetMatchesResponse, "typeName", {
790
+ enumerable: true,
791
+ configurable: true,
792
+ writable: true,
793
+ value: "rolodex.GetMatchesResponse"
794
+ });
795
+ Object.defineProperty(GetMatchesResponse, "fields", {
796
+ enumerable: true,
797
+ configurable: true,
798
+ writable: true,
799
+ value: protobuf_1.proto3.util.newFieldList(() => [
800
+ { no: 1, name: "subjects", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
801
+ { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
802
+ ])
803
+ });
804
+ /**
805
+ * DismissMatch
806
+ *
807
+ * @generated from message rolodex.DismissMatchRequest
808
+ */
809
+ class DismissMatchRequest extends protobuf_1.Message {
810
+ constructor(data) {
811
+ super();
812
+ /**
813
+ * @generated from field: string actor = 1;
814
+ */
815
+ Object.defineProperty(this, "actor", {
816
+ enumerable: true,
817
+ configurable: true,
818
+ writable: true,
819
+ value: ""
820
+ });
821
+ /**
822
+ * @generated from field: string subject = 2;
823
+ */
824
+ Object.defineProperty(this, "subject", {
825
+ enumerable: true,
826
+ configurable: true,
827
+ writable: true,
828
+ value: ""
829
+ });
830
+ protobuf_1.proto3.util.initPartial(data, this);
831
+ }
832
+ static fromBinary(bytes, options) {
833
+ return new DismissMatchRequest().fromBinary(bytes, options);
834
+ }
835
+ static fromJson(jsonValue, options) {
836
+ return new DismissMatchRequest().fromJson(jsonValue, options);
837
+ }
838
+ static fromJsonString(jsonString, options) {
839
+ return new DismissMatchRequest().fromJsonString(jsonString, options);
840
+ }
841
+ static equals(a, b) {
842
+ return protobuf_1.proto3.util.equals(DismissMatchRequest, a, b);
843
+ }
844
+ }
845
+ exports.DismissMatchRequest = DismissMatchRequest;
846
+ Object.defineProperty(DismissMatchRequest, "runtime", {
847
+ enumerable: true,
848
+ configurable: true,
849
+ writable: true,
850
+ value: protobuf_1.proto3
851
+ });
852
+ Object.defineProperty(DismissMatchRequest, "typeName", {
853
+ enumerable: true,
854
+ configurable: true,
855
+ writable: true,
856
+ value: "rolodex.DismissMatchRequest"
857
+ });
858
+ Object.defineProperty(DismissMatchRequest, "fields", {
859
+ enumerable: true,
860
+ configurable: true,
861
+ writable: true,
862
+ value: protobuf_1.proto3.util.newFieldList(() => [
863
+ { no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
864
+ { no: 2, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
865
+ ])
866
+ });
867
+ /**
868
+ * @generated from message rolodex.DismissMatchResponse
869
+ */
870
+ class DismissMatchResponse extends protobuf_1.Message {
871
+ constructor(data) {
872
+ super();
873
+ /**
874
+ * @generated from field: int32 matches_count = 1;
875
+ */
876
+ Object.defineProperty(this, "matchesCount", {
877
+ enumerable: true,
878
+ configurable: true,
879
+ writable: true,
880
+ value: 0
881
+ });
882
+ protobuf_1.proto3.util.initPartial(data, this);
883
+ }
884
+ static fromBinary(bytes, options) {
885
+ return new DismissMatchResponse().fromBinary(bytes, options);
886
+ }
887
+ static fromJson(jsonValue, options) {
888
+ return new DismissMatchResponse().fromJson(jsonValue, options);
889
+ }
890
+ static fromJsonString(jsonString, options) {
891
+ return new DismissMatchResponse().fromJsonString(jsonString, options);
892
+ }
893
+ static equals(a, b) {
894
+ return protobuf_1.proto3.util.equals(DismissMatchResponse, a, b);
895
+ }
896
+ }
897
+ exports.DismissMatchResponse = DismissMatchResponse;
898
+ Object.defineProperty(DismissMatchResponse, "runtime", {
899
+ enumerable: true,
900
+ configurable: true,
901
+ writable: true,
902
+ value: protobuf_1.proto3
903
+ });
904
+ Object.defineProperty(DismissMatchResponse, "typeName", {
905
+ enumerable: true,
906
+ configurable: true,
907
+ writable: true,
908
+ value: "rolodex.DismissMatchResponse"
909
+ });
910
+ Object.defineProperty(DismissMatchResponse, "fields", {
911
+ enumerable: true,
912
+ configurable: true,
913
+ writable: true,
914
+ value: protobuf_1.proto3.util.newFieldList(() => [
915
+ { no: 1, name: "matches_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
916
+ ])
917
+ });
918
+ /**
919
+ * RemoveData
920
+ *
921
+ * @generated from message rolodex.RemoveDataRequest
922
+ */
923
+ class RemoveDataRequest extends protobuf_1.Message {
924
+ constructor(data) {
925
+ super();
926
+ /**
927
+ * @generated from field: string actor = 1;
928
+ */
929
+ Object.defineProperty(this, "actor", {
930
+ enumerable: true,
931
+ configurable: true,
932
+ writable: true,
933
+ value: ""
934
+ });
935
+ protobuf_1.proto3.util.initPartial(data, this);
936
+ }
937
+ static fromBinary(bytes, options) {
938
+ return new RemoveDataRequest().fromBinary(bytes, options);
939
+ }
940
+ static fromJson(jsonValue, options) {
941
+ return new RemoveDataRequest().fromJson(jsonValue, options);
942
+ }
943
+ static fromJsonString(jsonString, options) {
944
+ return new RemoveDataRequest().fromJsonString(jsonString, options);
945
+ }
946
+ static equals(a, b) {
947
+ return protobuf_1.proto3.util.equals(RemoveDataRequest, a, b);
948
+ }
949
+ }
950
+ exports.RemoveDataRequest = RemoveDataRequest;
951
+ Object.defineProperty(RemoveDataRequest, "runtime", {
952
+ enumerable: true,
953
+ configurable: true,
954
+ writable: true,
955
+ value: protobuf_1.proto3
956
+ });
957
+ Object.defineProperty(RemoveDataRequest, "typeName", {
958
+ enumerable: true,
959
+ configurable: true,
960
+ writable: true,
961
+ value: "rolodex.RemoveDataRequest"
962
+ });
963
+ Object.defineProperty(RemoveDataRequest, "fields", {
964
+ enumerable: true,
965
+ configurable: true,
966
+ writable: true,
967
+ value: protobuf_1.proto3.util.newFieldList(() => [
968
+ { no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
969
+ ])
970
+ });
971
+ /**
972
+ * @generated from message rolodex.RemoveDataResponse
973
+ */
974
+ class RemoveDataResponse extends protobuf_1.Message {
975
+ constructor(data) {
976
+ super();
977
+ /**
978
+ * @generated from field: int32 contacts_count = 1;
979
+ */
980
+ Object.defineProperty(this, "contactsCount", {
981
+ enumerable: true,
982
+ configurable: true,
983
+ writable: true,
984
+ value: 0
985
+ });
986
+ /**
987
+ * @generated from field: int32 matches_count = 2;
988
+ */
989
+ Object.defineProperty(this, "matchesCount", {
990
+ enumerable: true,
991
+ configurable: true,
992
+ writable: true,
993
+ value: 0
994
+ });
995
+ protobuf_1.proto3.util.initPartial(data, this);
996
+ }
997
+ static fromBinary(bytes, options) {
998
+ return new RemoveDataResponse().fromBinary(bytes, options);
999
+ }
1000
+ static fromJson(jsonValue, options) {
1001
+ return new RemoveDataResponse().fromJson(jsonValue, options);
1002
+ }
1003
+ static fromJsonString(jsonString, options) {
1004
+ return new RemoveDataResponse().fromJsonString(jsonString, options);
1005
+ }
1006
+ static equals(a, b) {
1007
+ return protobuf_1.proto3.util.equals(RemoveDataResponse, a, b);
1008
+ }
1009
+ }
1010
+ exports.RemoveDataResponse = RemoveDataResponse;
1011
+ Object.defineProperty(RemoveDataResponse, "runtime", {
1012
+ enumerable: true,
1013
+ configurable: true,
1014
+ writable: true,
1015
+ value: protobuf_1.proto3
1016
+ });
1017
+ Object.defineProperty(RemoveDataResponse, "typeName", {
1018
+ enumerable: true,
1019
+ configurable: true,
1020
+ writable: true,
1021
+ value: "rolodex.RemoveDataResponse"
1022
+ });
1023
+ Object.defineProperty(RemoveDataResponse, "fields", {
1024
+ enumerable: true,
1025
+ configurable: true,
1026
+ writable: true,
1027
+ value: protobuf_1.proto3.util.newFieldList(() => [
1028
+ { no: 1, name: "contacts_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1029
+ { no: 2, name: "matches_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1030
+ ])
1031
+ });
1032
+ //# sourceMappingURL=rolodex_pb.js.map