@atproto/bsky 0.0.199 → 0.0.200
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.
- package/CHANGELOG.md +12 -0
- package/dist/api/app/bsky/contact/dismissMatch.d.ts +4 -0
- package/dist/api/app/bsky/contact/dismissMatch.d.ts.map +1 -0
- package/dist/api/app/bsky/contact/dismissMatch.js +23 -0
- package/dist/api/app/bsky/contact/dismissMatch.js.map +1 -0
- package/dist/api/app/bsky/contact/getMatches.d.ts +4 -0
- package/dist/api/app/bsky/contact/getMatches.d.ts.map +1 -0
- package/dist/api/app/bsky/contact/getMatches.js +59 -0
- package/dist/api/app/bsky/contact/getMatches.js.map +1 -0
- package/dist/api/app/bsky/contact/getSyncStatus.d.ts +4 -0
- package/dist/api/app/bsky/contact/getSyncStatus.d.ts.map +1 -0
- package/dist/api/app/bsky/contact/getSyncStatus.js +32 -0
- package/dist/api/app/bsky/contact/getSyncStatus.js.map +1 -0
- package/dist/api/app/bsky/contact/importContacts.d.ts +4 -0
- package/dist/api/app/bsky/contact/importContacts.d.ts.map +1 -0
- package/dist/api/app/bsky/contact/importContacts.js +62 -0
- package/dist/api/app/bsky/contact/importContacts.js.map +1 -0
- package/dist/api/app/bsky/contact/removeData.d.ts +4 -0
- package/dist/api/app/bsky/contact/removeData.d.ts.map +1 -0
- package/dist/api/app/bsky/contact/removeData.js +22 -0
- package/dist/api/app/bsky/contact/removeData.js.map +1 -0
- package/dist/api/app/bsky/contact/startPhoneVerification.d.ts +4 -0
- package/dist/api/app/bsky/contact/startPhoneVerification.d.ts.map +1 -0
- package/dist/api/app/bsky/contact/startPhoneVerification.js +23 -0
- package/dist/api/app/bsky/contact/startPhoneVerification.js.map +1 -0
- package/dist/api/app/bsky/contact/util.d.ts +6 -0
- package/dist/api/app/bsky/contact/util.d.ts.map +1 -0
- package/dist/api/app/bsky/contact/util.js +10 -0
- package/dist/api/app/bsky/contact/util.js.map +1 -0
- package/dist/api/app/bsky/contact/verifyPhone.d.ts +4 -0
- package/dist/api/app/bsky/contact/verifyPhone.d.ts.map +1 -0
- package/dist/api/app/bsky/contact/verifyPhone.js +26 -0
- package/dist/api/app/bsky/contact/verifyPhone.js.map +1 -0
- package/dist/api/app/bsky/graph/getRelationships.d.ts.map +1 -1
- package/dist/api/app/bsky/graph/getRelationships.js +4 -0
- package/dist/api/app/bsky/graph/getRelationships.js.map +1 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +14 -0
- package/dist/api/index.js.map +1 -1
- package/dist/config.d.ts +8 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +21 -0
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +3 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +3 -0
- package/dist/context.js.map +1 -1
- package/dist/hydration/actor.js +1 -1
- package/dist/hydration/actor.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/lexicon/index.d.ts +19 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +48 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +664 -0
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +354 -0
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/contact/defs.d.ts +24 -0
- package/dist/lexicon/types/app/bsky/contact/defs.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/defs.js +25 -0
- package/dist/lexicon/types/app/bsky/contact/defs.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/dismissMatch.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/contact/dismissMatch.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/dismissMatch.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/dismissMatch.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/getMatches.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/contact/getMatches.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/getMatches.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/getMatches.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/getSyncStatus.d.ts +21 -0
- package/dist/lexicon/types/app/bsky/contact/getSyncStatus.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/getSyncStatus.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/getSyncStatus.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/importContacts.d.ts +30 -0
- package/dist/lexicon/types/app/bsky/contact/importContacts.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/importContacts.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/importContacts.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/removeData.d.ts +23 -0
- package/dist/lexicon/types/app/bsky/contact/removeData.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/removeData.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/removeData.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.d.ts +25 -0
- package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/startPhoneVerification.js.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/verifyPhone.d.ts +29 -0
- package/dist/lexicon/types/app/bsky/contact/verifyPhone.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/contact/verifyPhone.js +7 -0
- package/dist/lexicon/types/app/bsky/contact/verifyPhone.js.map +1 -0
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts +8 -0
- package/dist/lexicon/types/app/bsky/graph/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/graph/defs.js.map +1 -1
- package/dist/proto/bsky_pb.d.ts +0 -4
- package/dist/proto/bsky_pb.d.ts.map +1 -1
- package/dist/proto/bsky_pb.js +0 -10
- package/dist/proto/bsky_pb.js.map +1 -1
- package/dist/proto/rolodex_connect.d.ts +83 -0
- package/dist/proto/rolodex_connect.d.ts.map +1 -0
- package/dist/proto/rolodex_connect.js +90 -0
- package/dist/proto/rolodex_connect.js.map +1 -0
- package/dist/proto/rolodex_pb.d.ts +363 -0
- package/dist/proto/rolodex_pb.d.ts.map +1 -0
- package/dist/proto/rolodex_pb.js +1032 -0
- package/dist/proto/rolodex_pb.js.map +1 -0
- package/dist/rolodex.d.ts +9 -0
- package/dist/rolodex.d.ts.map +1 -0
- package/dist/rolodex.js +25 -0
- package/dist/rolodex.js.map +1 -0
- package/package.json +13 -13
- package/proto/rolodex.proto +116 -0
- package/src/api/app/bsky/contact/dismissMatch.ts +24 -0
- package/src/api/app/bsky/contact/getMatches.ts +111 -0
- package/src/api/app/bsky/contact/getSyncStatus.ts +35 -0
- package/src/api/app/bsky/contact/importContacts.ts +118 -0
- package/src/api/app/bsky/contact/removeData.ts +23 -0
- package/src/api/app/bsky/contact/startPhoneVerification.ts +24 -0
- package/src/api/app/bsky/contact/util.ts +13 -0
- package/src/api/app/bsky/contact/verifyPhone.ts +27 -0
- package/src/api/app/bsky/graph/getRelationships.ts +4 -0
- package/src/api/index.ts +14 -0
- package/src/config.ts +27 -0
- package/src/context.ts +6 -0
- package/src/hydration/actor.ts +1 -1
- package/src/index.ts +13 -0
- package/src/lexicon/index.ts +101 -0
- package/src/lexicon/lexicons.ts +375 -0
- package/src/lexicon/types/app/bsky/contact/defs.ts +52 -0
- package/src/lexicon/types/app/bsky/contact/dismissMatch.ts +43 -0
- package/src/lexicon/types/app/bsky/contact/getMatches.ts +43 -0
- package/src/lexicon/types/app/bsky/contact/getSyncStatus.ts +39 -0
- package/src/lexicon/types/app/bsky/contact/importContacts.ts +49 -0
- package/src/lexicon/types/app/bsky/contact/removeData.ts +40 -0
- package/src/lexicon/types/app/bsky/contact/startPhoneVerification.ts +43 -0
- package/src/lexicon/types/app/bsky/contact/verifyPhone.ts +48 -0
- package/src/lexicon/types/app/bsky/graph/defs.ts +8 -0
- package/src/proto/bsky_pb.ts +0 -6
- package/src/proto/rolodex_connect.ts +89 -0
- package/src/proto/rolodex_pb.ts +746 -0
- package/src/rolodex.ts +42 -0
- package/tests/views/__snapshots__/profile.test.ts.snap +103 -0
- package/tests/views/profile.test.ts +39 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,746 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.6.0 with parameter "target=ts,import_extension="
|
|
2
|
+
// @generated from file rolodex.proto (package rolodex, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Ping
|
|
11
|
+
*
|
|
12
|
+
* @generated from message rolodex.PingRequest
|
|
13
|
+
*/
|
|
14
|
+
export class PingRequest extends Message<PingRequest> {
|
|
15
|
+
constructor(data?: PartialMessage<PingRequest>) {
|
|
16
|
+
super();
|
|
17
|
+
proto3.util.initPartial(data, this);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
21
|
+
static readonly typeName = "rolodex.PingRequest";
|
|
22
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
23
|
+
]);
|
|
24
|
+
|
|
25
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PingRequest {
|
|
26
|
+
return new PingRequest().fromBinary(bytes, options);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PingRequest {
|
|
30
|
+
return new PingRequest().fromJson(jsonValue, options);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PingRequest {
|
|
34
|
+
return new PingRequest().fromJsonString(jsonString, options);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static equals(a: PingRequest | PlainMessage<PingRequest> | undefined, b: PingRequest | PlainMessage<PingRequest> | undefined): boolean {
|
|
38
|
+
return proto3.util.equals(PingRequest, a, b);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from message rolodex.PingResponse
|
|
44
|
+
*/
|
|
45
|
+
export class PingResponse extends Message<PingResponse> {
|
|
46
|
+
constructor(data?: PartialMessage<PingResponse>) {
|
|
47
|
+
super();
|
|
48
|
+
proto3.util.initPartial(data, this);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
52
|
+
static readonly typeName = "rolodex.PingResponse";
|
|
53
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
54
|
+
]);
|
|
55
|
+
|
|
56
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PingResponse {
|
|
57
|
+
return new PingResponse().fromBinary(bytes, options);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PingResponse {
|
|
61
|
+
return new PingResponse().fromJson(jsonValue, options);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PingResponse {
|
|
65
|
+
return new PingResponse().fromJsonString(jsonString, options);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
static equals(a: PingResponse | PlainMessage<PingResponse> | undefined, b: PingResponse | PlainMessage<PingResponse> | undefined): boolean {
|
|
69
|
+
return proto3.util.equals(PingResponse, a, b);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* GetSyncStatus
|
|
75
|
+
*
|
|
76
|
+
* @generated from message rolodex.GetSyncStatusRequest
|
|
77
|
+
*/
|
|
78
|
+
export class GetSyncStatusRequest extends Message<GetSyncStatusRequest> {
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: string actor = 1;
|
|
81
|
+
*/
|
|
82
|
+
actor = "";
|
|
83
|
+
|
|
84
|
+
constructor(data?: PartialMessage<GetSyncStatusRequest>) {
|
|
85
|
+
super();
|
|
86
|
+
proto3.util.initPartial(data, this);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
90
|
+
static readonly typeName = "rolodex.GetSyncStatusRequest";
|
|
91
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
92
|
+
{ no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
93
|
+
]);
|
|
94
|
+
|
|
95
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSyncStatusRequest {
|
|
96
|
+
return new GetSyncStatusRequest().fromBinary(bytes, options);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSyncStatusRequest {
|
|
100
|
+
return new GetSyncStatusRequest().fromJson(jsonValue, options);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSyncStatusRequest {
|
|
104
|
+
return new GetSyncStatusRequest().fromJsonString(jsonString, options);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
static equals(a: GetSyncStatusRequest | PlainMessage<GetSyncStatusRequest> | undefined, b: GetSyncStatusRequest | PlainMessage<GetSyncStatusRequest> | undefined): boolean {
|
|
108
|
+
return proto3.util.equals(GetSyncStatusRequest, a, b);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @generated from message rolodex.SyncStatus
|
|
114
|
+
*/
|
|
115
|
+
export class SyncStatus extends Message<SyncStatus> {
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: google.protobuf.Timestamp synced_at = 1;
|
|
118
|
+
*/
|
|
119
|
+
syncedAt?: Timestamp;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: int32 matches_count = 2;
|
|
123
|
+
*/
|
|
124
|
+
matchesCount = 0;
|
|
125
|
+
|
|
126
|
+
constructor(data?: PartialMessage<SyncStatus>) {
|
|
127
|
+
super();
|
|
128
|
+
proto3.util.initPartial(data, this);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
132
|
+
static readonly typeName = "rolodex.SyncStatus";
|
|
133
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
134
|
+
{ no: 1, name: "synced_at", kind: "message", T: Timestamp },
|
|
135
|
+
{ no: 2, name: "matches_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
136
|
+
]);
|
|
137
|
+
|
|
138
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SyncStatus {
|
|
139
|
+
return new SyncStatus().fromBinary(bytes, options);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SyncStatus {
|
|
143
|
+
return new SyncStatus().fromJson(jsonValue, options);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SyncStatus {
|
|
147
|
+
return new SyncStatus().fromJsonString(jsonString, options);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
static equals(a: SyncStatus | PlainMessage<SyncStatus> | undefined, b: SyncStatus | PlainMessage<SyncStatus> | undefined): boolean {
|
|
151
|
+
return proto3.util.equals(SyncStatus, a, b);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @generated from message rolodex.GetSyncStatusResponse
|
|
157
|
+
*/
|
|
158
|
+
export class GetSyncStatusResponse extends Message<GetSyncStatusResponse> {
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: rolodex.SyncStatus status = 1;
|
|
161
|
+
*/
|
|
162
|
+
status?: SyncStatus;
|
|
163
|
+
|
|
164
|
+
constructor(data?: PartialMessage<GetSyncStatusResponse>) {
|
|
165
|
+
super();
|
|
166
|
+
proto3.util.initPartial(data, this);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
170
|
+
static readonly typeName = "rolodex.GetSyncStatusResponse";
|
|
171
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
172
|
+
{ no: 1, name: "status", kind: "message", T: SyncStatus },
|
|
173
|
+
]);
|
|
174
|
+
|
|
175
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSyncStatusResponse {
|
|
176
|
+
return new GetSyncStatusResponse().fromBinary(bytes, options);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSyncStatusResponse {
|
|
180
|
+
return new GetSyncStatusResponse().fromJson(jsonValue, options);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSyncStatusResponse {
|
|
184
|
+
return new GetSyncStatusResponse().fromJsonString(jsonString, options);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
static equals(a: GetSyncStatusResponse | PlainMessage<GetSyncStatusResponse> | undefined, b: GetSyncStatusResponse | PlainMessage<GetSyncStatusResponse> | undefined): boolean {
|
|
188
|
+
return proto3.util.equals(GetSyncStatusResponse, a, b);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* StartPhoneVerification
|
|
194
|
+
*
|
|
195
|
+
* @generated from message rolodex.StartPhoneVerificationRequest
|
|
196
|
+
*/
|
|
197
|
+
export class StartPhoneVerificationRequest extends Message<StartPhoneVerificationRequest> {
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: string actor = 1;
|
|
200
|
+
*/
|
|
201
|
+
actor = "";
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: string phone = 2;
|
|
205
|
+
*/
|
|
206
|
+
phone = "";
|
|
207
|
+
|
|
208
|
+
constructor(data?: PartialMessage<StartPhoneVerificationRequest>) {
|
|
209
|
+
super();
|
|
210
|
+
proto3.util.initPartial(data, this);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
214
|
+
static readonly typeName = "rolodex.StartPhoneVerificationRequest";
|
|
215
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
216
|
+
{ no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
217
|
+
{ no: 2, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
218
|
+
]);
|
|
219
|
+
|
|
220
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartPhoneVerificationRequest {
|
|
221
|
+
return new StartPhoneVerificationRequest().fromBinary(bytes, options);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartPhoneVerificationRequest {
|
|
225
|
+
return new StartPhoneVerificationRequest().fromJson(jsonValue, options);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartPhoneVerificationRequest {
|
|
229
|
+
return new StartPhoneVerificationRequest().fromJsonString(jsonString, options);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
static equals(a: StartPhoneVerificationRequest | PlainMessage<StartPhoneVerificationRequest> | undefined, b: StartPhoneVerificationRequest | PlainMessage<StartPhoneVerificationRequest> | undefined): boolean {
|
|
233
|
+
return proto3.util.equals(StartPhoneVerificationRequest, a, b);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* @generated from message rolodex.StartPhoneVerificationResponse
|
|
239
|
+
*/
|
|
240
|
+
export class StartPhoneVerificationResponse extends Message<StartPhoneVerificationResponse> {
|
|
241
|
+
constructor(data?: PartialMessage<StartPhoneVerificationResponse>) {
|
|
242
|
+
super();
|
|
243
|
+
proto3.util.initPartial(data, this);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
247
|
+
static readonly typeName = "rolodex.StartPhoneVerificationResponse";
|
|
248
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
249
|
+
]);
|
|
250
|
+
|
|
251
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartPhoneVerificationResponse {
|
|
252
|
+
return new StartPhoneVerificationResponse().fromBinary(bytes, options);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartPhoneVerificationResponse {
|
|
256
|
+
return new StartPhoneVerificationResponse().fromJson(jsonValue, options);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartPhoneVerificationResponse {
|
|
260
|
+
return new StartPhoneVerificationResponse().fromJsonString(jsonString, options);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
static equals(a: StartPhoneVerificationResponse | PlainMessage<StartPhoneVerificationResponse> | undefined, b: StartPhoneVerificationResponse | PlainMessage<StartPhoneVerificationResponse> | undefined): boolean {
|
|
264
|
+
return proto3.util.equals(StartPhoneVerificationResponse, a, b);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* VerifyPhone
|
|
270
|
+
*
|
|
271
|
+
* @generated from message rolodex.VerifyPhoneRequest
|
|
272
|
+
*/
|
|
273
|
+
export class VerifyPhoneRequest extends Message<VerifyPhoneRequest> {
|
|
274
|
+
/**
|
|
275
|
+
* @generated from field: string actor = 1;
|
|
276
|
+
*/
|
|
277
|
+
actor = "";
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @generated from field: string phone = 2;
|
|
281
|
+
*/
|
|
282
|
+
phone = "";
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* @generated from field: string verification_code = 3;
|
|
286
|
+
*/
|
|
287
|
+
verificationCode = "";
|
|
288
|
+
|
|
289
|
+
constructor(data?: PartialMessage<VerifyPhoneRequest>) {
|
|
290
|
+
super();
|
|
291
|
+
proto3.util.initPartial(data, this);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
295
|
+
static readonly typeName = "rolodex.VerifyPhoneRequest";
|
|
296
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
297
|
+
{ no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
298
|
+
{ no: 2, name: "phone", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
299
|
+
{ no: 3, name: "verification_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
300
|
+
]);
|
|
301
|
+
|
|
302
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyPhoneRequest {
|
|
303
|
+
return new VerifyPhoneRequest().fromBinary(bytes, options);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyPhoneRequest {
|
|
307
|
+
return new VerifyPhoneRequest().fromJson(jsonValue, options);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyPhoneRequest {
|
|
311
|
+
return new VerifyPhoneRequest().fromJsonString(jsonString, options);
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
static equals(a: VerifyPhoneRequest | PlainMessage<VerifyPhoneRequest> | undefined, b: VerifyPhoneRequest | PlainMessage<VerifyPhoneRequest> | undefined): boolean {
|
|
315
|
+
return proto3.util.equals(VerifyPhoneRequest, a, b);
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @generated from message rolodex.VerifyPhoneResponse
|
|
321
|
+
*/
|
|
322
|
+
export class VerifyPhoneResponse extends Message<VerifyPhoneResponse> {
|
|
323
|
+
/**
|
|
324
|
+
* @generated from field: string token = 1;
|
|
325
|
+
*/
|
|
326
|
+
token = "";
|
|
327
|
+
|
|
328
|
+
constructor(data?: PartialMessage<VerifyPhoneResponse>) {
|
|
329
|
+
super();
|
|
330
|
+
proto3.util.initPartial(data, this);
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
334
|
+
static readonly typeName = "rolodex.VerifyPhoneResponse";
|
|
335
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
336
|
+
{ no: 1, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
337
|
+
]);
|
|
338
|
+
|
|
339
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyPhoneResponse {
|
|
340
|
+
return new VerifyPhoneResponse().fromBinary(bytes, options);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyPhoneResponse {
|
|
344
|
+
return new VerifyPhoneResponse().fromJson(jsonValue, options);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyPhoneResponse {
|
|
348
|
+
return new VerifyPhoneResponse().fromJsonString(jsonString, options);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
static equals(a: VerifyPhoneResponse | PlainMessage<VerifyPhoneResponse> | undefined, b: VerifyPhoneResponse | PlainMessage<VerifyPhoneResponse> | undefined): boolean {
|
|
352
|
+
return proto3.util.equals(VerifyPhoneResponse, a, b);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* ImportContacts
|
|
358
|
+
*
|
|
359
|
+
* @generated from message rolodex.ImportContactsRequest
|
|
360
|
+
*/
|
|
361
|
+
export class ImportContactsRequest extends Message<ImportContactsRequest> {
|
|
362
|
+
/**
|
|
363
|
+
* @generated from field: string actor = 1;
|
|
364
|
+
*/
|
|
365
|
+
actor = "";
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* @generated from field: string token = 2;
|
|
369
|
+
*/
|
|
370
|
+
token = "";
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* @generated from field: repeated string contacts = 3;
|
|
374
|
+
*/
|
|
375
|
+
contacts: string[] = [];
|
|
376
|
+
|
|
377
|
+
constructor(data?: PartialMessage<ImportContactsRequest>) {
|
|
378
|
+
super();
|
|
379
|
+
proto3.util.initPartial(data, this);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
383
|
+
static readonly typeName = "rolodex.ImportContactsRequest";
|
|
384
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
385
|
+
{ no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
386
|
+
{ no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
387
|
+
{ no: 3, name: "contacts", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
388
|
+
]);
|
|
389
|
+
|
|
390
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ImportContactsRequest {
|
|
391
|
+
return new ImportContactsRequest().fromBinary(bytes, options);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ImportContactsRequest {
|
|
395
|
+
return new ImportContactsRequest().fromJson(jsonValue, options);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ImportContactsRequest {
|
|
399
|
+
return new ImportContactsRequest().fromJsonString(jsonString, options);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
static equals(a: ImportContactsRequest | PlainMessage<ImportContactsRequest> | undefined, b: ImportContactsRequest | PlainMessage<ImportContactsRequest> | undefined): boolean {
|
|
403
|
+
return proto3.util.equals(ImportContactsRequest, a, b);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* @generated from message rolodex.ImportContactsMatch
|
|
409
|
+
*/
|
|
410
|
+
export class ImportContactsMatch extends Message<ImportContactsMatch> {
|
|
411
|
+
/**
|
|
412
|
+
* To which index of the input contacts this contact corresponds.
|
|
413
|
+
*
|
|
414
|
+
* @generated from field: int32 input_index = 1;
|
|
415
|
+
*/
|
|
416
|
+
inputIndex = 0;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* @generated from field: string subject = 2;
|
|
420
|
+
*/
|
|
421
|
+
subject = "";
|
|
422
|
+
|
|
423
|
+
constructor(data?: PartialMessage<ImportContactsMatch>) {
|
|
424
|
+
super();
|
|
425
|
+
proto3.util.initPartial(data, this);
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
429
|
+
static readonly typeName = "rolodex.ImportContactsMatch";
|
|
430
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
431
|
+
{ no: 1, name: "input_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
432
|
+
{ no: 2, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
433
|
+
]);
|
|
434
|
+
|
|
435
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ImportContactsMatch {
|
|
436
|
+
return new ImportContactsMatch().fromBinary(bytes, options);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ImportContactsMatch {
|
|
440
|
+
return new ImportContactsMatch().fromJson(jsonValue, options);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ImportContactsMatch {
|
|
444
|
+
return new ImportContactsMatch().fromJsonString(jsonString, options);
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
static equals(a: ImportContactsMatch | PlainMessage<ImportContactsMatch> | undefined, b: ImportContactsMatch | PlainMessage<ImportContactsMatch> | undefined): boolean {
|
|
448
|
+
return proto3.util.equals(ImportContactsMatch, a, b);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* @generated from message rolodex.ImportContactsResponse
|
|
454
|
+
*/
|
|
455
|
+
export class ImportContactsResponse extends Message<ImportContactsResponse> {
|
|
456
|
+
/**
|
|
457
|
+
* @generated from field: repeated rolodex.ImportContactsMatch matches = 1;
|
|
458
|
+
*/
|
|
459
|
+
matches: ImportContactsMatch[] = [];
|
|
460
|
+
|
|
461
|
+
constructor(data?: PartialMessage<ImportContactsResponse>) {
|
|
462
|
+
super();
|
|
463
|
+
proto3.util.initPartial(data, this);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
467
|
+
static readonly typeName = "rolodex.ImportContactsResponse";
|
|
468
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
469
|
+
{ no: 1, name: "matches", kind: "message", T: ImportContactsMatch, repeated: true },
|
|
470
|
+
]);
|
|
471
|
+
|
|
472
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ImportContactsResponse {
|
|
473
|
+
return new ImportContactsResponse().fromBinary(bytes, options);
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ImportContactsResponse {
|
|
477
|
+
return new ImportContactsResponse().fromJson(jsonValue, options);
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ImportContactsResponse {
|
|
481
|
+
return new ImportContactsResponse().fromJsonString(jsonString, options);
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
static equals(a: ImportContactsResponse | PlainMessage<ImportContactsResponse> | undefined, b: ImportContactsResponse | PlainMessage<ImportContactsResponse> | undefined): boolean {
|
|
485
|
+
return proto3.util.equals(ImportContactsResponse, a, b);
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* GetMatches
|
|
491
|
+
*
|
|
492
|
+
* @generated from message rolodex.GetMatchesRequest
|
|
493
|
+
*/
|
|
494
|
+
export class GetMatchesRequest extends Message<GetMatchesRequest> {
|
|
495
|
+
/**
|
|
496
|
+
* @generated from field: string actor = 1;
|
|
497
|
+
*/
|
|
498
|
+
actor = "";
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* @generated from field: int32 limit = 2;
|
|
502
|
+
*/
|
|
503
|
+
limit = 0;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* @generated from field: string cursor = 3;
|
|
507
|
+
*/
|
|
508
|
+
cursor = "";
|
|
509
|
+
|
|
510
|
+
constructor(data?: PartialMessage<GetMatchesRequest>) {
|
|
511
|
+
super();
|
|
512
|
+
proto3.util.initPartial(data, this);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
516
|
+
static readonly typeName = "rolodex.GetMatchesRequest";
|
|
517
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
518
|
+
{ no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
519
|
+
{ no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
520
|
+
{ no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
521
|
+
]);
|
|
522
|
+
|
|
523
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetMatchesRequest {
|
|
524
|
+
return new GetMatchesRequest().fromBinary(bytes, options);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetMatchesRequest {
|
|
528
|
+
return new GetMatchesRequest().fromJson(jsonValue, options);
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetMatchesRequest {
|
|
532
|
+
return new GetMatchesRequest().fromJsonString(jsonString, options);
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
static equals(a: GetMatchesRequest | PlainMessage<GetMatchesRequest> | undefined, b: GetMatchesRequest | PlainMessage<GetMatchesRequest> | undefined): boolean {
|
|
536
|
+
return proto3.util.equals(GetMatchesRequest, a, b);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* @generated from message rolodex.GetMatchesResponse
|
|
542
|
+
*/
|
|
543
|
+
export class GetMatchesResponse extends Message<GetMatchesResponse> {
|
|
544
|
+
/**
|
|
545
|
+
* @generated from field: repeated string subjects = 1;
|
|
546
|
+
*/
|
|
547
|
+
subjects: string[] = [];
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* @generated from field: string cursor = 2;
|
|
551
|
+
*/
|
|
552
|
+
cursor = "";
|
|
553
|
+
|
|
554
|
+
constructor(data?: PartialMessage<GetMatchesResponse>) {
|
|
555
|
+
super();
|
|
556
|
+
proto3.util.initPartial(data, this);
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
560
|
+
static readonly typeName = "rolodex.GetMatchesResponse";
|
|
561
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
562
|
+
{ no: 1, name: "subjects", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
|
|
563
|
+
{ no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
564
|
+
]);
|
|
565
|
+
|
|
566
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetMatchesResponse {
|
|
567
|
+
return new GetMatchesResponse().fromBinary(bytes, options);
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetMatchesResponse {
|
|
571
|
+
return new GetMatchesResponse().fromJson(jsonValue, options);
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetMatchesResponse {
|
|
575
|
+
return new GetMatchesResponse().fromJsonString(jsonString, options);
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
static equals(a: GetMatchesResponse | PlainMessage<GetMatchesResponse> | undefined, b: GetMatchesResponse | PlainMessage<GetMatchesResponse> | undefined): boolean {
|
|
579
|
+
return proto3.util.equals(GetMatchesResponse, a, b);
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* DismissMatch
|
|
585
|
+
*
|
|
586
|
+
* @generated from message rolodex.DismissMatchRequest
|
|
587
|
+
*/
|
|
588
|
+
export class DismissMatchRequest extends Message<DismissMatchRequest> {
|
|
589
|
+
/**
|
|
590
|
+
* @generated from field: string actor = 1;
|
|
591
|
+
*/
|
|
592
|
+
actor = "";
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* @generated from field: string subject = 2;
|
|
596
|
+
*/
|
|
597
|
+
subject = "";
|
|
598
|
+
|
|
599
|
+
constructor(data?: PartialMessage<DismissMatchRequest>) {
|
|
600
|
+
super();
|
|
601
|
+
proto3.util.initPartial(data, this);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
605
|
+
static readonly typeName = "rolodex.DismissMatchRequest";
|
|
606
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
607
|
+
{ no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
608
|
+
{ no: 2, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
609
|
+
]);
|
|
610
|
+
|
|
611
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DismissMatchRequest {
|
|
612
|
+
return new DismissMatchRequest().fromBinary(bytes, options);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DismissMatchRequest {
|
|
616
|
+
return new DismissMatchRequest().fromJson(jsonValue, options);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DismissMatchRequest {
|
|
620
|
+
return new DismissMatchRequest().fromJsonString(jsonString, options);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
static equals(a: DismissMatchRequest | PlainMessage<DismissMatchRequest> | undefined, b: DismissMatchRequest | PlainMessage<DismissMatchRequest> | undefined): boolean {
|
|
624
|
+
return proto3.util.equals(DismissMatchRequest, a, b);
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* @generated from message rolodex.DismissMatchResponse
|
|
630
|
+
*/
|
|
631
|
+
export class DismissMatchResponse extends Message<DismissMatchResponse> {
|
|
632
|
+
/**
|
|
633
|
+
* @generated from field: int32 matches_count = 1;
|
|
634
|
+
*/
|
|
635
|
+
matchesCount = 0;
|
|
636
|
+
|
|
637
|
+
constructor(data?: PartialMessage<DismissMatchResponse>) {
|
|
638
|
+
super();
|
|
639
|
+
proto3.util.initPartial(data, this);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
643
|
+
static readonly typeName = "rolodex.DismissMatchResponse";
|
|
644
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
645
|
+
{ no: 1, name: "matches_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
646
|
+
]);
|
|
647
|
+
|
|
648
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DismissMatchResponse {
|
|
649
|
+
return new DismissMatchResponse().fromBinary(bytes, options);
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DismissMatchResponse {
|
|
653
|
+
return new DismissMatchResponse().fromJson(jsonValue, options);
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DismissMatchResponse {
|
|
657
|
+
return new DismissMatchResponse().fromJsonString(jsonString, options);
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
static equals(a: DismissMatchResponse | PlainMessage<DismissMatchResponse> | undefined, b: DismissMatchResponse | PlainMessage<DismissMatchResponse> | undefined): boolean {
|
|
661
|
+
return proto3.util.equals(DismissMatchResponse, a, b);
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* RemoveData
|
|
667
|
+
*
|
|
668
|
+
* @generated from message rolodex.RemoveDataRequest
|
|
669
|
+
*/
|
|
670
|
+
export class RemoveDataRequest extends Message<RemoveDataRequest> {
|
|
671
|
+
/**
|
|
672
|
+
* @generated from field: string actor = 1;
|
|
673
|
+
*/
|
|
674
|
+
actor = "";
|
|
675
|
+
|
|
676
|
+
constructor(data?: PartialMessage<RemoveDataRequest>) {
|
|
677
|
+
super();
|
|
678
|
+
proto3.util.initPartial(data, this);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
682
|
+
static readonly typeName = "rolodex.RemoveDataRequest";
|
|
683
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
684
|
+
{ no: 1, name: "actor", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
685
|
+
]);
|
|
686
|
+
|
|
687
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoveDataRequest {
|
|
688
|
+
return new RemoveDataRequest().fromBinary(bytes, options);
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoveDataRequest {
|
|
692
|
+
return new RemoveDataRequest().fromJson(jsonValue, options);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoveDataRequest {
|
|
696
|
+
return new RemoveDataRequest().fromJsonString(jsonString, options);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
static equals(a: RemoveDataRequest | PlainMessage<RemoveDataRequest> | undefined, b: RemoveDataRequest | PlainMessage<RemoveDataRequest> | undefined): boolean {
|
|
700
|
+
return proto3.util.equals(RemoveDataRequest, a, b);
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* @generated from message rolodex.RemoveDataResponse
|
|
706
|
+
*/
|
|
707
|
+
export class RemoveDataResponse extends Message<RemoveDataResponse> {
|
|
708
|
+
/**
|
|
709
|
+
* @generated from field: int32 contacts_count = 1;
|
|
710
|
+
*/
|
|
711
|
+
contactsCount = 0;
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* @generated from field: int32 matches_count = 2;
|
|
715
|
+
*/
|
|
716
|
+
matchesCount = 0;
|
|
717
|
+
|
|
718
|
+
constructor(data?: PartialMessage<RemoveDataResponse>) {
|
|
719
|
+
super();
|
|
720
|
+
proto3.util.initPartial(data, this);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
724
|
+
static readonly typeName = "rolodex.RemoveDataResponse";
|
|
725
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
726
|
+
{ no: 1, name: "contacts_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
727
|
+
{ no: 2, name: "matches_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
728
|
+
]);
|
|
729
|
+
|
|
730
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RemoveDataResponse {
|
|
731
|
+
return new RemoveDataResponse().fromBinary(bytes, options);
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RemoveDataResponse {
|
|
735
|
+
return new RemoveDataResponse().fromJson(jsonValue, options);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RemoveDataResponse {
|
|
739
|
+
return new RemoveDataResponse().fromJsonString(jsonString, options);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
static equals(a: RemoveDataResponse | PlainMessage<RemoveDataResponse> | undefined, b: RemoveDataResponse | PlainMessage<RemoveDataResponse> | undefined): boolean {
|
|
743
|
+
return proto3.util.equals(RemoveDataResponse, a, b);
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
|