@clioplaylists/clio 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.env +7 -0
- package/dist/api/com/clioplaylists/alpha/actor/getProfile.js +37 -0
- package/dist/api/com/clioplaylists/alpha/feed/getSongs.js +37 -0
- package/dist/api/health.js +32 -0
- package/dist/api/index.js +43 -0
- package/dist/api/util.js +17 -0
- package/dist/auth-verifier.js +473 -0
- package/dist/client.js +40 -0
- package/dist/config.js +65 -0
- package/dist/context.js +19 -0
- package/dist/dataplane/bsync/index.js +150 -0
- package/dist/dataplane/client.js +165 -0
- package/dist/dataplane/index.js +18 -0
- package/dist/dataplane/server/background.js +51 -0
- package/dist/dataplane/server/db/database-schema.js +2 -0
- package/dist/dataplane/server/db/db.js +228 -0
- package/dist/dataplane/server/db/index.js +17 -0
- package/dist/dataplane/server/db/migrations/20230309T045948368Z-init.js +117 -0
- package/dist/dataplane/server/db/migrations/20230420T211446071Z-did-cache.js +15 -0
- package/dist/dataplane/server/db/migrations/index.js +41 -0
- package/dist/dataplane/server/db/migrations/provider.js +31 -0
- package/dist/dataplane/server/db/pagination.js +144 -0
- package/dist/dataplane/server/db/tables/actor-sync.js +4 -0
- package/dist/dataplane/server/db/tables/actor.js +4 -0
- package/dist/dataplane/server/db/tables/artist-list-item.js +4 -0
- package/dist/dataplane/server/db/tables/artist.js +4 -0
- package/dist/dataplane/server/db/tables/playlist-idea.js +4 -0
- package/dist/dataplane/server/db/tables/playlist-item.js +4 -0
- package/dist/dataplane/server/db/tables/playlist.js +4 -0
- package/dist/dataplane/server/db/tables/profile.js +4 -0
- package/dist/dataplane/server/db/tables/record.js +4 -0
- package/dist/dataplane/server/db/tables/song.js +4 -0
- package/dist/dataplane/server/db/types.js +2 -0
- package/dist/dataplane/server/db/util.js +48 -0
- package/dist/dataplane/server/index.js +52 -0
- package/dist/dataplane/server/indexing/index.js +321 -0
- package/dist/dataplane/server/indexing/plugins/playlist-idea.js +163 -0
- package/dist/dataplane/server/indexing/plugins/profile.js +81 -0
- package/dist/dataplane/server/indexing/processor.js +90 -0
- package/dist/dataplane/server/routes/blocks.js +95 -0
- package/dist/dataplane/server/routes/feed-gens.js +56 -0
- package/dist/dataplane/server/routes/feeds.js +128 -0
- package/dist/dataplane/server/routes/follows.js +122 -0
- package/dist/dataplane/server/routes/identity.js +56 -0
- package/dist/dataplane/server/routes/index.js +19 -0
- package/dist/dataplane/server/routes/interactions.js +111 -0
- package/dist/dataplane/server/routes/labels.js +73 -0
- package/dist/dataplane/server/routes/likes.js +76 -0
- package/dist/dataplane/server/routes/lists.js +77 -0
- package/dist/dataplane/server/routes/moderation.js +92 -0
- package/dist/dataplane/server/routes/mutes.js +166 -0
- package/dist/dataplane/server/routes/notifs.js +137 -0
- package/dist/dataplane/server/routes/posts.js +19 -0
- package/dist/dataplane/server/routes/profile.js +61 -0
- package/dist/dataplane/server/routes/quotes.js +26 -0
- package/dist/dataplane/server/routes/records.js +88 -0
- package/dist/dataplane/server/routes/relationships.js +157 -0
- package/dist/dataplane/server/routes/reposts.js +59 -0
- package/dist/dataplane/server/routes/search.js +70 -0
- package/dist/dataplane/server/routes/starter-packs.js +24 -0
- package/dist/dataplane/server/routes/suggestions.js +134 -0
- package/dist/dataplane/server/routes/sync.js +14 -0
- package/dist/dataplane/server/routes/threads.js +31 -0
- package/dist/dataplane/server/subscription.js +114 -0
- package/dist/dataplane/server/util.js +117 -0
- package/dist/error.js +14 -0
- package/dist/index.js +115 -0
- package/dist/lexicons/index.js +638 -0
- package/dist/lexicons/lexicons.js +4551 -0
- package/dist/lexicons/types/com/atproto/admin/defs.js +54 -0
- package/dist/lexicons/types/com/atproto/admin/deleteAccount.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/getAccountInfo.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/sendEmail.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountHandle.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/updateAccountPassword.js +2 -0
- package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.js +2 -0
- package/dist/lexicons/types/com/atproto/identity/defs.js +14 -0
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js +2 -0
- package/dist/lexicons/types/com/atproto/identity/refreshIdentity.js +2 -0
- package/dist/lexicons/types/com/atproto/identity/requestPlcOperationSignature.js +2 -0
- package/dist/lexicons/types/com/atproto/identity/resolveDid.js +2 -0
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.js +2 -0
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.js +2 -0
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js +2 -0
- package/dist/lexicons/types/com/atproto/identity/submitPlcOperation.js +2 -0
- package/dist/lexicons/types/com/atproto/identity/updateHandle.js +2 -0
- package/dist/lexicons/types/com/atproto/label/defs.js +54 -0
- package/dist/lexicons/types/com/atproto/label/queryLabels.js +2 -0
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.js +24 -0
- package/dist/lexicons/types/com/atproto/lexicon/schema.js +15 -0
- package/dist/lexicons/types/com/atproto/moderation/createReport.js +2 -0
- package/dist/lexicons/types/com/atproto/moderation/defs.js +20 -0
- package/dist/lexicons/types/com/atproto/repo/applyWrites.js +64 -0
- package/dist/lexicons/types/com/atproto/repo/createRecord.js +2 -0
- package/dist/lexicons/types/com/atproto/repo/defs.js +14 -0
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.js +2 -0
- package/dist/lexicons/types/com/atproto/repo/describeRepo.js +2 -0
- package/dist/lexicons/types/com/atproto/repo/getRecord.js +2 -0
- package/dist/lexicons/types/com/atproto/repo/importRepo.js +2 -0
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js +14 -0
- package/dist/lexicons/types/com/atproto/repo/listRecords.js +14 -0
- package/dist/lexicons/types/com/atproto/repo/putRecord.js +2 -0
- package/dist/lexicons/types/com/atproto/repo/strongRef.js +15 -0
- package/dist/lexicons/types/com/atproto/repo/uploadBlob.js +2 -0
- package/dist/lexicons/types/com/atproto/server/activateAccount.js +2 -0
- package/dist/lexicons/types/com/atproto/server/checkAccountStatus.js +2 -0
- package/dist/lexicons/types/com/atproto/server/confirmEmail.js +2 -0
- package/dist/lexicons/types/com/atproto/server/createAccount.js +2 -0
- package/dist/lexicons/types/com/atproto/server/createAppPassword.js +14 -0
- package/dist/lexicons/types/com/atproto/server/createInviteCode.js +2 -0
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.js +14 -0
- package/dist/lexicons/types/com/atproto/server/createSession.js +2 -0
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.js +2 -0
- package/dist/lexicons/types/com/atproto/server/defs.js +24 -0
- package/dist/lexicons/types/com/atproto/server/deleteAccount.js +2 -0
- package/dist/lexicons/types/com/atproto/server/deleteSession.js +2 -0
- package/dist/lexicons/types/com/atproto/server/describeServer.js +24 -0
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js +2 -0
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.js +2 -0
- package/dist/lexicons/types/com/atproto/server/getSession.js +2 -0
- package/dist/lexicons/types/com/atproto/server/listAppPasswords.js +14 -0
- package/dist/lexicons/types/com/atproto/server/refreshSession.js +2 -0
- package/dist/lexicons/types/com/atproto/server/requestAccountDelete.js +2 -0
- package/dist/lexicons/types/com/atproto/server/requestEmailConfirmation.js +2 -0
- package/dist/lexicons/types/com/atproto/server/requestEmailUpdate.js +2 -0
- package/dist/lexicons/types/com/atproto/server/requestPasswordReset.js +2 -0
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.js +2 -0
- package/dist/lexicons/types/com/atproto/server/resetPassword.js +2 -0
- package/dist/lexicons/types/com/atproto/server/revokeAppPassword.js +2 -0
- package/dist/lexicons/types/com/atproto/server/updateEmail.js +2 -0
- package/dist/lexicons/types/com/atproto/sync/getBlob.js +2 -0
- package/dist/lexicons/types/com/atproto/sync/getBlocks.js +2 -0
- package/dist/lexicons/types/com/atproto/sync/getCheckout.js +2 -0
- package/dist/lexicons/types/com/atproto/sync/getHead.js +2 -0
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js +2 -0
- package/dist/lexicons/types/com/atproto/sync/getRecord.js +2 -0
- package/dist/lexicons/types/com/atproto/sync/getRepo.js +2 -0
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js +2 -0
- package/dist/lexicons/types/com/atproto/sync/listBlobs.js +2 -0
- package/dist/lexicons/types/com/atproto/sync/listRepos.js +14 -0
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js +14 -0
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.js +2 -0
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.js +2 -0
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js +64 -0
- package/dist/lexicons/types/com/atproto/temp/addReservedHandle.js +2 -0
- package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.js +2 -0
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.js +2 -0
- package/dist/lexicons/types/com/atproto/temp/requestPhoneVerification.js +2 -0
- package/dist/lexicons/types/com/clioplaylists/alpha/actor/profile.js +15 -0
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/defs.js +24 -0
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/getSongs.js +2 -0
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/playlistIdea.js +35 -0
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/song.js +25 -0
- package/dist/lexicons/util.js +13 -0
- package/dist/logger.js +26 -0
- package/dist/rpc/clio_connect.js +110 -0
- package/dist/rpc/clio_pb.js +1365 -0
- package/dist/start.js +13 -0
- package/dist/util/retry.js +16 -0
- package/dist/util/uris.js +7 -0
- package/dist/util.js +119 -0
- package/package.json +73 -0
|
@@ -0,0 +1,1365 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts,import_extension="
|
|
3
|
+
// @generated from file clio.proto (package clio, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.HealthCheckResponse = exports.HealthCheck = exports.HealthCheckRequest = exports.UpdateActorUpstreamStatusResponse = exports.UpdateActorUpstreamStatusRequest = exports.GetIdentityByHandleResponse = exports.GetIdentityByHandleRequest = exports.GetIdentityByDidResponse = exports.GetIdentityByDidRequest = exports.GetLatestRevResponse = exports.GetLatestRevRequest = exports.GetDidsByHandlesResponse = exports.GetDidsByHandlesRequest = exports.GetActorsResponse = exports.ActorInfo = exports.GetActorsRequest = exports.GetProfileRecordsResponse = exports.GetProfileRecordsRequest = exports.GetSongRecordsResponse = exports.GetSongRecordsRequest = exports.Record = void 0;
|
|
8
|
+
const protobuf_1 = require("@bufbuild/protobuf");
|
|
9
|
+
/**
|
|
10
|
+
* @generated from message clio.Record
|
|
11
|
+
*/
|
|
12
|
+
class Record extends protobuf_1.Message {
|
|
13
|
+
constructor(data) {
|
|
14
|
+
super();
|
|
15
|
+
/**
|
|
16
|
+
* @generated from field: bytes record = 1;
|
|
17
|
+
*/
|
|
18
|
+
Object.defineProperty(this, "record", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
configurable: true,
|
|
21
|
+
writable: true,
|
|
22
|
+
value: new Uint8Array(0)
|
|
23
|
+
});
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string cid = 2;
|
|
26
|
+
*/
|
|
27
|
+
Object.defineProperty(this, "cid", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
configurable: true,
|
|
30
|
+
writable: true,
|
|
31
|
+
value: ''
|
|
32
|
+
});
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: google.protobuf.Timestamp indexed_at = 4;
|
|
35
|
+
*/
|
|
36
|
+
Object.defineProperty(this, "indexedAt", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
configurable: true,
|
|
39
|
+
writable: true,
|
|
40
|
+
value: void 0
|
|
41
|
+
});
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: bool taken_down = 5;
|
|
44
|
+
*/
|
|
45
|
+
Object.defineProperty(this, "takenDown", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
configurable: true,
|
|
48
|
+
writable: true,
|
|
49
|
+
value: false
|
|
50
|
+
});
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
53
|
+
*/
|
|
54
|
+
Object.defineProperty(this, "createdAt", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
configurable: true,
|
|
57
|
+
writable: true,
|
|
58
|
+
value: void 0
|
|
59
|
+
});
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: google.protobuf.Timestamp sorted_at = 7;
|
|
62
|
+
*/
|
|
63
|
+
Object.defineProperty(this, "sortedAt", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
configurable: true,
|
|
66
|
+
writable: true,
|
|
67
|
+
value: void 0
|
|
68
|
+
});
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: string takedown_ref = 8;
|
|
71
|
+
*/
|
|
72
|
+
Object.defineProperty(this, "takedownRef", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
configurable: true,
|
|
75
|
+
writable: true,
|
|
76
|
+
value: ''
|
|
77
|
+
});
|
|
78
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
79
|
+
}
|
|
80
|
+
static fromBinary(bytes, options) {
|
|
81
|
+
return new Record().fromBinary(bytes, options);
|
|
82
|
+
}
|
|
83
|
+
static fromJson(jsonValue, options) {
|
|
84
|
+
return new Record().fromJson(jsonValue, options);
|
|
85
|
+
}
|
|
86
|
+
static fromJsonString(jsonString, options) {
|
|
87
|
+
return new Record().fromJsonString(jsonString, options);
|
|
88
|
+
}
|
|
89
|
+
static equals(a, b) {
|
|
90
|
+
return protobuf_1.proto3.util.equals(Record, a, b);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.Record = Record;
|
|
94
|
+
Object.defineProperty(Record, "runtime", {
|
|
95
|
+
enumerable: true,
|
|
96
|
+
configurable: true,
|
|
97
|
+
writable: true,
|
|
98
|
+
value: protobuf_1.proto3
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(Record, "typeName", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
configurable: true,
|
|
103
|
+
writable: true,
|
|
104
|
+
value: 'clio.Record'
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(Record, "fields", {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
configurable: true,
|
|
109
|
+
writable: true,
|
|
110
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
111
|
+
{ no: 1, name: 'record', kind: 'scalar', T: 12 /* ScalarType.BYTES */ },
|
|
112
|
+
{ no: 2, name: 'cid', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
113
|
+
{ no: 4, name: 'indexed_at', kind: 'message', T: protobuf_1.Timestamp },
|
|
114
|
+
{ no: 5, name: 'taken_down', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
|
|
115
|
+
{ no: 6, name: 'created_at', kind: 'message', T: protobuf_1.Timestamp },
|
|
116
|
+
{ no: 7, name: 'sorted_at', kind: 'message', T: protobuf_1.Timestamp },
|
|
117
|
+
{
|
|
118
|
+
no: 8,
|
|
119
|
+
name: 'takedown_ref',
|
|
120
|
+
kind: 'scalar',
|
|
121
|
+
T: 9 /* ScalarType.STRING */,
|
|
122
|
+
},
|
|
123
|
+
])
|
|
124
|
+
});
|
|
125
|
+
/**
|
|
126
|
+
* @generated from message clio.GetSongRecordsRequest
|
|
127
|
+
*/
|
|
128
|
+
class GetSongRecordsRequest extends protobuf_1.Message {
|
|
129
|
+
constructor(data) {
|
|
130
|
+
super();
|
|
131
|
+
/**
|
|
132
|
+
* @generated from field: repeated string track_mb_ids = 1;
|
|
133
|
+
*/
|
|
134
|
+
Object.defineProperty(this, "trackMbIds", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
configurable: true,
|
|
137
|
+
writable: true,
|
|
138
|
+
value: []
|
|
139
|
+
});
|
|
140
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
141
|
+
}
|
|
142
|
+
static fromBinary(bytes, options) {
|
|
143
|
+
return new GetSongRecordsRequest().fromBinary(bytes, options);
|
|
144
|
+
}
|
|
145
|
+
static fromJson(jsonValue, options) {
|
|
146
|
+
return new GetSongRecordsRequest().fromJson(jsonValue, options);
|
|
147
|
+
}
|
|
148
|
+
static fromJsonString(jsonString, options) {
|
|
149
|
+
return new GetSongRecordsRequest().fromJsonString(jsonString, options);
|
|
150
|
+
}
|
|
151
|
+
static equals(a, b) {
|
|
152
|
+
return protobuf_1.proto3.util.equals(GetSongRecordsRequest, a, b);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
exports.GetSongRecordsRequest = GetSongRecordsRequest;
|
|
156
|
+
Object.defineProperty(GetSongRecordsRequest, "runtime", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
configurable: true,
|
|
159
|
+
writable: true,
|
|
160
|
+
value: protobuf_1.proto3
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(GetSongRecordsRequest, "typeName", {
|
|
163
|
+
enumerable: true,
|
|
164
|
+
configurable: true,
|
|
165
|
+
writable: true,
|
|
166
|
+
value: 'clio.GetSongRecordsRequest'
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(GetSongRecordsRequest, "fields", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
configurable: true,
|
|
171
|
+
writable: true,
|
|
172
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
173
|
+
{
|
|
174
|
+
no: 1,
|
|
175
|
+
name: 'track_mb_ids',
|
|
176
|
+
kind: 'scalar',
|
|
177
|
+
T: 9 /* ScalarType.STRING */,
|
|
178
|
+
repeated: true,
|
|
179
|
+
},
|
|
180
|
+
])
|
|
181
|
+
});
|
|
182
|
+
/**
|
|
183
|
+
* @generated from message clio.GetSongRecordsResponse
|
|
184
|
+
*/
|
|
185
|
+
class GetSongRecordsResponse extends protobuf_1.Message {
|
|
186
|
+
constructor(data) {
|
|
187
|
+
super();
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: repeated clio.Record records = 1;
|
|
190
|
+
*/
|
|
191
|
+
Object.defineProperty(this, "records", {
|
|
192
|
+
enumerable: true,
|
|
193
|
+
configurable: true,
|
|
194
|
+
writable: true,
|
|
195
|
+
value: []
|
|
196
|
+
});
|
|
197
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
198
|
+
}
|
|
199
|
+
static fromBinary(bytes, options) {
|
|
200
|
+
return new GetSongRecordsResponse().fromBinary(bytes, options);
|
|
201
|
+
}
|
|
202
|
+
static fromJson(jsonValue, options) {
|
|
203
|
+
return new GetSongRecordsResponse().fromJson(jsonValue, options);
|
|
204
|
+
}
|
|
205
|
+
static fromJsonString(jsonString, options) {
|
|
206
|
+
return new GetSongRecordsResponse().fromJsonString(jsonString, options);
|
|
207
|
+
}
|
|
208
|
+
static equals(a, b) {
|
|
209
|
+
return protobuf_1.proto3.util.equals(GetSongRecordsResponse, a, b);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
exports.GetSongRecordsResponse = GetSongRecordsResponse;
|
|
213
|
+
Object.defineProperty(GetSongRecordsResponse, "runtime", {
|
|
214
|
+
enumerable: true,
|
|
215
|
+
configurable: true,
|
|
216
|
+
writable: true,
|
|
217
|
+
value: protobuf_1.proto3
|
|
218
|
+
});
|
|
219
|
+
Object.defineProperty(GetSongRecordsResponse, "typeName", {
|
|
220
|
+
enumerable: true,
|
|
221
|
+
configurable: true,
|
|
222
|
+
writable: true,
|
|
223
|
+
value: 'clio.GetSongRecordsResponse'
|
|
224
|
+
});
|
|
225
|
+
Object.defineProperty(GetSongRecordsResponse, "fields", {
|
|
226
|
+
enumerable: true,
|
|
227
|
+
configurable: true,
|
|
228
|
+
writable: true,
|
|
229
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
230
|
+
{ no: 1, name: 'records', kind: 'message', T: Record, repeated: true },
|
|
231
|
+
])
|
|
232
|
+
});
|
|
233
|
+
/**
|
|
234
|
+
* @generated from message clio.GetProfileRecordsRequest
|
|
235
|
+
*/
|
|
236
|
+
class GetProfileRecordsRequest extends protobuf_1.Message {
|
|
237
|
+
constructor(data) {
|
|
238
|
+
super();
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: repeated string uris = 1;
|
|
241
|
+
*/
|
|
242
|
+
Object.defineProperty(this, "uris", {
|
|
243
|
+
enumerable: true,
|
|
244
|
+
configurable: true,
|
|
245
|
+
writable: true,
|
|
246
|
+
value: []
|
|
247
|
+
});
|
|
248
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
249
|
+
}
|
|
250
|
+
static fromBinary(bytes, options) {
|
|
251
|
+
return new GetProfileRecordsRequest().fromBinary(bytes, options);
|
|
252
|
+
}
|
|
253
|
+
static fromJson(jsonValue, options) {
|
|
254
|
+
return new GetProfileRecordsRequest().fromJson(jsonValue, options);
|
|
255
|
+
}
|
|
256
|
+
static fromJsonString(jsonString, options) {
|
|
257
|
+
return new GetProfileRecordsRequest().fromJsonString(jsonString, options);
|
|
258
|
+
}
|
|
259
|
+
static equals(a, b) {
|
|
260
|
+
return protobuf_1.proto3.util.equals(GetProfileRecordsRequest, a, b);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
exports.GetProfileRecordsRequest = GetProfileRecordsRequest;
|
|
264
|
+
Object.defineProperty(GetProfileRecordsRequest, "runtime", {
|
|
265
|
+
enumerable: true,
|
|
266
|
+
configurable: true,
|
|
267
|
+
writable: true,
|
|
268
|
+
value: protobuf_1.proto3
|
|
269
|
+
});
|
|
270
|
+
Object.defineProperty(GetProfileRecordsRequest, "typeName", {
|
|
271
|
+
enumerable: true,
|
|
272
|
+
configurable: true,
|
|
273
|
+
writable: true,
|
|
274
|
+
value: 'clio.GetProfileRecordsRequest'
|
|
275
|
+
});
|
|
276
|
+
Object.defineProperty(GetProfileRecordsRequest, "fields", {
|
|
277
|
+
enumerable: true,
|
|
278
|
+
configurable: true,
|
|
279
|
+
writable: true,
|
|
280
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
281
|
+
{
|
|
282
|
+
no: 1,
|
|
283
|
+
name: 'uris',
|
|
284
|
+
kind: 'scalar',
|
|
285
|
+
T: 9 /* ScalarType.STRING */,
|
|
286
|
+
repeated: true,
|
|
287
|
+
},
|
|
288
|
+
])
|
|
289
|
+
});
|
|
290
|
+
/**
|
|
291
|
+
* @generated from message clio.GetProfileRecordsResponse
|
|
292
|
+
*/
|
|
293
|
+
class GetProfileRecordsResponse extends protobuf_1.Message {
|
|
294
|
+
constructor(data) {
|
|
295
|
+
super();
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: repeated clio.Record records = 1;
|
|
298
|
+
*/
|
|
299
|
+
Object.defineProperty(this, "records", {
|
|
300
|
+
enumerable: true,
|
|
301
|
+
configurable: true,
|
|
302
|
+
writable: true,
|
|
303
|
+
value: []
|
|
304
|
+
});
|
|
305
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
306
|
+
}
|
|
307
|
+
static fromBinary(bytes, options) {
|
|
308
|
+
return new GetProfileRecordsResponse().fromBinary(bytes, options);
|
|
309
|
+
}
|
|
310
|
+
static fromJson(jsonValue, options) {
|
|
311
|
+
return new GetProfileRecordsResponse().fromJson(jsonValue, options);
|
|
312
|
+
}
|
|
313
|
+
static fromJsonString(jsonString, options) {
|
|
314
|
+
return new GetProfileRecordsResponse().fromJsonString(jsonString, options);
|
|
315
|
+
}
|
|
316
|
+
static equals(a, b) {
|
|
317
|
+
return protobuf_1.proto3.util.equals(GetProfileRecordsResponse, a, b);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
exports.GetProfileRecordsResponse = GetProfileRecordsResponse;
|
|
321
|
+
Object.defineProperty(GetProfileRecordsResponse, "runtime", {
|
|
322
|
+
enumerable: true,
|
|
323
|
+
configurable: true,
|
|
324
|
+
writable: true,
|
|
325
|
+
value: protobuf_1.proto3
|
|
326
|
+
});
|
|
327
|
+
Object.defineProperty(GetProfileRecordsResponse, "typeName", {
|
|
328
|
+
enumerable: true,
|
|
329
|
+
configurable: true,
|
|
330
|
+
writable: true,
|
|
331
|
+
value: 'clio.GetProfileRecordsResponse'
|
|
332
|
+
});
|
|
333
|
+
Object.defineProperty(GetProfileRecordsResponse, "fields", {
|
|
334
|
+
enumerable: true,
|
|
335
|
+
configurable: true,
|
|
336
|
+
writable: true,
|
|
337
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
338
|
+
{ no: 1, name: 'records', kind: 'message', T: Record, repeated: true },
|
|
339
|
+
])
|
|
340
|
+
});
|
|
341
|
+
/**
|
|
342
|
+
* - return actor information for dids A, B, C…
|
|
343
|
+
* - profile hydration
|
|
344
|
+
* - should this include handles? apply repo takedown?
|
|
345
|
+
*
|
|
346
|
+
* @generated from message clio.GetActorsRequest
|
|
347
|
+
*/
|
|
348
|
+
class GetActorsRequest extends protobuf_1.Message {
|
|
349
|
+
constructor(data) {
|
|
350
|
+
super();
|
|
351
|
+
/**
|
|
352
|
+
* @generated from field: repeated string dids = 1;
|
|
353
|
+
*/
|
|
354
|
+
Object.defineProperty(this, "dids", {
|
|
355
|
+
enumerable: true,
|
|
356
|
+
configurable: true,
|
|
357
|
+
writable: true,
|
|
358
|
+
value: []
|
|
359
|
+
});
|
|
360
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
361
|
+
}
|
|
362
|
+
static fromBinary(bytes, options) {
|
|
363
|
+
return new GetActorsRequest().fromBinary(bytes, options);
|
|
364
|
+
}
|
|
365
|
+
static fromJson(jsonValue, options) {
|
|
366
|
+
return new GetActorsRequest().fromJson(jsonValue, options);
|
|
367
|
+
}
|
|
368
|
+
static fromJsonString(jsonString, options) {
|
|
369
|
+
return new GetActorsRequest().fromJsonString(jsonString, options);
|
|
370
|
+
}
|
|
371
|
+
static equals(a, b) {
|
|
372
|
+
return protobuf_1.proto3.util.equals(GetActorsRequest, a, b);
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
exports.GetActorsRequest = GetActorsRequest;
|
|
376
|
+
Object.defineProperty(GetActorsRequest, "runtime", {
|
|
377
|
+
enumerable: true,
|
|
378
|
+
configurable: true,
|
|
379
|
+
writable: true,
|
|
380
|
+
value: protobuf_1.proto3
|
|
381
|
+
});
|
|
382
|
+
Object.defineProperty(GetActorsRequest, "typeName", {
|
|
383
|
+
enumerable: true,
|
|
384
|
+
configurable: true,
|
|
385
|
+
writable: true,
|
|
386
|
+
value: 'clio.GetActorsRequest'
|
|
387
|
+
});
|
|
388
|
+
Object.defineProperty(GetActorsRequest, "fields", {
|
|
389
|
+
enumerable: true,
|
|
390
|
+
configurable: true,
|
|
391
|
+
writable: true,
|
|
392
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
393
|
+
{
|
|
394
|
+
no: 1,
|
|
395
|
+
name: 'dids',
|
|
396
|
+
kind: 'scalar',
|
|
397
|
+
T: 9 /* ScalarType.STRING */,
|
|
398
|
+
repeated: true,
|
|
399
|
+
},
|
|
400
|
+
])
|
|
401
|
+
});
|
|
402
|
+
/**
|
|
403
|
+
* @generated from message clio.ActorInfo
|
|
404
|
+
*/
|
|
405
|
+
class ActorInfo extends protobuf_1.Message {
|
|
406
|
+
constructor(data) {
|
|
407
|
+
super();
|
|
408
|
+
/**
|
|
409
|
+
* @generated from field: bool exists = 1;
|
|
410
|
+
*/
|
|
411
|
+
Object.defineProperty(this, "exists", {
|
|
412
|
+
enumerable: true,
|
|
413
|
+
configurable: true,
|
|
414
|
+
writable: true,
|
|
415
|
+
value: false
|
|
416
|
+
});
|
|
417
|
+
/**
|
|
418
|
+
* @generated from field: string handle = 2;
|
|
419
|
+
*/
|
|
420
|
+
Object.defineProperty(this, "handle", {
|
|
421
|
+
enumerable: true,
|
|
422
|
+
configurable: true,
|
|
423
|
+
writable: true,
|
|
424
|
+
value: ''
|
|
425
|
+
});
|
|
426
|
+
/**
|
|
427
|
+
* @generated from field: clio.Record profile = 3;
|
|
428
|
+
*/
|
|
429
|
+
Object.defineProperty(this, "profile", {
|
|
430
|
+
enumerable: true,
|
|
431
|
+
configurable: true,
|
|
432
|
+
writable: true,
|
|
433
|
+
value: void 0
|
|
434
|
+
});
|
|
435
|
+
/**
|
|
436
|
+
* @generated from field: bool taken_down = 4;
|
|
437
|
+
*/
|
|
438
|
+
Object.defineProperty(this, "takenDown", {
|
|
439
|
+
enumerable: true,
|
|
440
|
+
configurable: true,
|
|
441
|
+
writable: true,
|
|
442
|
+
value: false
|
|
443
|
+
});
|
|
444
|
+
/**
|
|
445
|
+
* @generated from field: string takedown_ref = 5;
|
|
446
|
+
*/
|
|
447
|
+
Object.defineProperty(this, "takedownRef", {
|
|
448
|
+
enumerable: true,
|
|
449
|
+
configurable: true,
|
|
450
|
+
writable: true,
|
|
451
|
+
value: ''
|
|
452
|
+
});
|
|
453
|
+
/**
|
|
454
|
+
* @generated from field: google.protobuf.Timestamp tombstoned_at = 6;
|
|
455
|
+
*/
|
|
456
|
+
Object.defineProperty(this, "tombstonedAt", {
|
|
457
|
+
enumerable: true,
|
|
458
|
+
configurable: true,
|
|
459
|
+
writable: true,
|
|
460
|
+
value: void 0
|
|
461
|
+
});
|
|
462
|
+
/**
|
|
463
|
+
* @generated from field: bool labeler = 7;
|
|
464
|
+
*/
|
|
465
|
+
Object.defineProperty(this, "labeler", {
|
|
466
|
+
enumerable: true,
|
|
467
|
+
configurable: true,
|
|
468
|
+
writable: true,
|
|
469
|
+
value: false
|
|
470
|
+
});
|
|
471
|
+
/**
|
|
472
|
+
* @generated from field: string allow_incoming_chats_from = 8;
|
|
473
|
+
*/
|
|
474
|
+
Object.defineProperty(this, "allowIncomingChatsFrom", {
|
|
475
|
+
enumerable: true,
|
|
476
|
+
configurable: true,
|
|
477
|
+
writable: true,
|
|
478
|
+
value: ''
|
|
479
|
+
});
|
|
480
|
+
/**
|
|
481
|
+
* @generated from field: string upstream_status = 9;
|
|
482
|
+
*/
|
|
483
|
+
Object.defineProperty(this, "upstreamStatus", {
|
|
484
|
+
enumerable: true,
|
|
485
|
+
configurable: true,
|
|
486
|
+
writable: true,
|
|
487
|
+
value: ''
|
|
488
|
+
});
|
|
489
|
+
/**
|
|
490
|
+
* @generated from field: google.protobuf.Timestamp created_at = 10;
|
|
491
|
+
*/
|
|
492
|
+
Object.defineProperty(this, "createdAt", {
|
|
493
|
+
enumerable: true,
|
|
494
|
+
configurable: true,
|
|
495
|
+
writable: true,
|
|
496
|
+
value: void 0
|
|
497
|
+
});
|
|
498
|
+
/**
|
|
499
|
+
* @generated from field: bool priority_notifications = 11;
|
|
500
|
+
*/
|
|
501
|
+
Object.defineProperty(this, "priorityNotifications", {
|
|
502
|
+
enumerable: true,
|
|
503
|
+
configurable: true,
|
|
504
|
+
writable: true,
|
|
505
|
+
value: false
|
|
506
|
+
});
|
|
507
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
508
|
+
}
|
|
509
|
+
static fromBinary(bytes, options) {
|
|
510
|
+
return new ActorInfo().fromBinary(bytes, options);
|
|
511
|
+
}
|
|
512
|
+
static fromJson(jsonValue, options) {
|
|
513
|
+
return new ActorInfo().fromJson(jsonValue, options);
|
|
514
|
+
}
|
|
515
|
+
static fromJsonString(jsonString, options) {
|
|
516
|
+
return new ActorInfo().fromJsonString(jsonString, options);
|
|
517
|
+
}
|
|
518
|
+
static equals(a, b) {
|
|
519
|
+
return protobuf_1.proto3.util.equals(ActorInfo, a, b);
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
exports.ActorInfo = ActorInfo;
|
|
523
|
+
Object.defineProperty(ActorInfo, "runtime", {
|
|
524
|
+
enumerable: true,
|
|
525
|
+
configurable: true,
|
|
526
|
+
writable: true,
|
|
527
|
+
value: protobuf_1.proto3
|
|
528
|
+
});
|
|
529
|
+
Object.defineProperty(ActorInfo, "typeName", {
|
|
530
|
+
enumerable: true,
|
|
531
|
+
configurable: true,
|
|
532
|
+
writable: true,
|
|
533
|
+
value: 'clio.ActorInfo'
|
|
534
|
+
});
|
|
535
|
+
Object.defineProperty(ActorInfo, "fields", {
|
|
536
|
+
enumerable: true,
|
|
537
|
+
configurable: true,
|
|
538
|
+
writable: true,
|
|
539
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
540
|
+
{ no: 1, name: 'exists', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
|
|
541
|
+
{ no: 2, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
542
|
+
{ no: 3, name: 'profile', kind: 'message', T: Record },
|
|
543
|
+
{ no: 4, name: 'taken_down', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
|
|
544
|
+
{
|
|
545
|
+
no: 5,
|
|
546
|
+
name: 'takedown_ref',
|
|
547
|
+
kind: 'scalar',
|
|
548
|
+
T: 9 /* ScalarType.STRING */,
|
|
549
|
+
},
|
|
550
|
+
{ no: 6, name: 'tombstoned_at', kind: 'message', T: protobuf_1.Timestamp },
|
|
551
|
+
{ no: 7, name: 'labeler', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
|
|
552
|
+
{
|
|
553
|
+
no: 8,
|
|
554
|
+
name: 'allow_incoming_chats_from',
|
|
555
|
+
kind: 'scalar',
|
|
556
|
+
T: 9 /* ScalarType.STRING */,
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
no: 9,
|
|
560
|
+
name: 'upstream_status',
|
|
561
|
+
kind: 'scalar',
|
|
562
|
+
T: 9 /* ScalarType.STRING */,
|
|
563
|
+
},
|
|
564
|
+
{ no: 10, name: 'created_at', kind: 'message', T: protobuf_1.Timestamp },
|
|
565
|
+
{
|
|
566
|
+
no: 11,
|
|
567
|
+
name: 'priority_notifications',
|
|
568
|
+
kind: 'scalar',
|
|
569
|
+
T: 8 /* ScalarType.BOOL */,
|
|
570
|
+
},
|
|
571
|
+
])
|
|
572
|
+
});
|
|
573
|
+
/**
|
|
574
|
+
* @generated from message clio.GetActorsResponse
|
|
575
|
+
*/
|
|
576
|
+
class GetActorsResponse extends protobuf_1.Message {
|
|
577
|
+
constructor(data) {
|
|
578
|
+
super();
|
|
579
|
+
/**
|
|
580
|
+
* @generated from field: repeated clio.ActorInfo actors = 1;
|
|
581
|
+
*/
|
|
582
|
+
Object.defineProperty(this, "actors", {
|
|
583
|
+
enumerable: true,
|
|
584
|
+
configurable: true,
|
|
585
|
+
writable: true,
|
|
586
|
+
value: []
|
|
587
|
+
});
|
|
588
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
589
|
+
}
|
|
590
|
+
static fromBinary(bytes, options) {
|
|
591
|
+
return new GetActorsResponse().fromBinary(bytes, options);
|
|
592
|
+
}
|
|
593
|
+
static fromJson(jsonValue, options) {
|
|
594
|
+
return new GetActorsResponse().fromJson(jsonValue, options);
|
|
595
|
+
}
|
|
596
|
+
static fromJsonString(jsonString, options) {
|
|
597
|
+
return new GetActorsResponse().fromJsonString(jsonString, options);
|
|
598
|
+
}
|
|
599
|
+
static equals(a, b) {
|
|
600
|
+
return protobuf_1.proto3.util.equals(GetActorsResponse, a, b);
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
exports.GetActorsResponse = GetActorsResponse;
|
|
604
|
+
Object.defineProperty(GetActorsResponse, "runtime", {
|
|
605
|
+
enumerable: true,
|
|
606
|
+
configurable: true,
|
|
607
|
+
writable: true,
|
|
608
|
+
value: protobuf_1.proto3
|
|
609
|
+
});
|
|
610
|
+
Object.defineProperty(GetActorsResponse, "typeName", {
|
|
611
|
+
enumerable: true,
|
|
612
|
+
configurable: true,
|
|
613
|
+
writable: true,
|
|
614
|
+
value: 'clio.GetActorsResponse'
|
|
615
|
+
});
|
|
616
|
+
Object.defineProperty(GetActorsResponse, "fields", {
|
|
617
|
+
enumerable: true,
|
|
618
|
+
configurable: true,
|
|
619
|
+
writable: true,
|
|
620
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
621
|
+
{ no: 1, name: 'actors', kind: 'message', T: ActorInfo, repeated: true },
|
|
622
|
+
])
|
|
623
|
+
});
|
|
624
|
+
/**
|
|
625
|
+
* - return did for handle A
|
|
626
|
+
* - `resolveHandle`
|
|
627
|
+
* - answering queries where the query param is a handle
|
|
628
|
+
*
|
|
629
|
+
* @generated from message clio.GetDidsByHandlesRequest
|
|
630
|
+
*/
|
|
631
|
+
class GetDidsByHandlesRequest extends protobuf_1.Message {
|
|
632
|
+
constructor(data) {
|
|
633
|
+
super();
|
|
634
|
+
/**
|
|
635
|
+
* @generated from field: repeated string handles = 1;
|
|
636
|
+
*/
|
|
637
|
+
Object.defineProperty(this, "handles", {
|
|
638
|
+
enumerable: true,
|
|
639
|
+
configurable: true,
|
|
640
|
+
writable: true,
|
|
641
|
+
value: []
|
|
642
|
+
});
|
|
643
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
644
|
+
}
|
|
645
|
+
static fromBinary(bytes, options) {
|
|
646
|
+
return new GetDidsByHandlesRequest().fromBinary(bytes, options);
|
|
647
|
+
}
|
|
648
|
+
static fromJson(jsonValue, options) {
|
|
649
|
+
return new GetDidsByHandlesRequest().fromJson(jsonValue, options);
|
|
650
|
+
}
|
|
651
|
+
static fromJsonString(jsonString, options) {
|
|
652
|
+
return new GetDidsByHandlesRequest().fromJsonString(jsonString, options);
|
|
653
|
+
}
|
|
654
|
+
static equals(a, b) {
|
|
655
|
+
return protobuf_1.proto3.util.equals(GetDidsByHandlesRequest, a, b);
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
exports.GetDidsByHandlesRequest = GetDidsByHandlesRequest;
|
|
659
|
+
Object.defineProperty(GetDidsByHandlesRequest, "runtime", {
|
|
660
|
+
enumerable: true,
|
|
661
|
+
configurable: true,
|
|
662
|
+
writable: true,
|
|
663
|
+
value: protobuf_1.proto3
|
|
664
|
+
});
|
|
665
|
+
Object.defineProperty(GetDidsByHandlesRequest, "typeName", {
|
|
666
|
+
enumerable: true,
|
|
667
|
+
configurable: true,
|
|
668
|
+
writable: true,
|
|
669
|
+
value: 'clio.GetDidsByHandlesRequest'
|
|
670
|
+
});
|
|
671
|
+
Object.defineProperty(GetDidsByHandlesRequest, "fields", {
|
|
672
|
+
enumerable: true,
|
|
673
|
+
configurable: true,
|
|
674
|
+
writable: true,
|
|
675
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
676
|
+
{
|
|
677
|
+
no: 1,
|
|
678
|
+
name: 'handles',
|
|
679
|
+
kind: 'scalar',
|
|
680
|
+
T: 9 /* ScalarType.STRING */,
|
|
681
|
+
repeated: true,
|
|
682
|
+
},
|
|
683
|
+
])
|
|
684
|
+
});
|
|
685
|
+
/**
|
|
686
|
+
* @generated from message clio.GetDidsByHandlesResponse
|
|
687
|
+
*/
|
|
688
|
+
class GetDidsByHandlesResponse extends protobuf_1.Message {
|
|
689
|
+
constructor(data) {
|
|
690
|
+
super();
|
|
691
|
+
/**
|
|
692
|
+
* @generated from field: repeated string dids = 1;
|
|
693
|
+
*/
|
|
694
|
+
Object.defineProperty(this, "dids", {
|
|
695
|
+
enumerable: true,
|
|
696
|
+
configurable: true,
|
|
697
|
+
writable: true,
|
|
698
|
+
value: []
|
|
699
|
+
});
|
|
700
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
701
|
+
}
|
|
702
|
+
static fromBinary(bytes, options) {
|
|
703
|
+
return new GetDidsByHandlesResponse().fromBinary(bytes, options);
|
|
704
|
+
}
|
|
705
|
+
static fromJson(jsonValue, options) {
|
|
706
|
+
return new GetDidsByHandlesResponse().fromJson(jsonValue, options);
|
|
707
|
+
}
|
|
708
|
+
static fromJsonString(jsonString, options) {
|
|
709
|
+
return new GetDidsByHandlesResponse().fromJsonString(jsonString, options);
|
|
710
|
+
}
|
|
711
|
+
static equals(a, b) {
|
|
712
|
+
return protobuf_1.proto3.util.equals(GetDidsByHandlesResponse, a, b);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
exports.GetDidsByHandlesResponse = GetDidsByHandlesResponse;
|
|
716
|
+
Object.defineProperty(GetDidsByHandlesResponse, "runtime", {
|
|
717
|
+
enumerable: true,
|
|
718
|
+
configurable: true,
|
|
719
|
+
writable: true,
|
|
720
|
+
value: protobuf_1.proto3
|
|
721
|
+
});
|
|
722
|
+
Object.defineProperty(GetDidsByHandlesResponse, "typeName", {
|
|
723
|
+
enumerable: true,
|
|
724
|
+
configurable: true,
|
|
725
|
+
writable: true,
|
|
726
|
+
value: 'clio.GetDidsByHandlesResponse'
|
|
727
|
+
});
|
|
728
|
+
Object.defineProperty(GetDidsByHandlesResponse, "fields", {
|
|
729
|
+
enumerable: true,
|
|
730
|
+
configurable: true,
|
|
731
|
+
writable: true,
|
|
732
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
733
|
+
{
|
|
734
|
+
no: 1,
|
|
735
|
+
name: 'dids',
|
|
736
|
+
kind: 'scalar',
|
|
737
|
+
T: 9 /* ScalarType.STRING */,
|
|
738
|
+
repeated: true,
|
|
739
|
+
},
|
|
740
|
+
])
|
|
741
|
+
});
|
|
742
|
+
/**
|
|
743
|
+
* - Latest repo rev of user w/ DID
|
|
744
|
+
*
|
|
745
|
+
* @generated from message clio.GetLatestRevRequest
|
|
746
|
+
*/
|
|
747
|
+
class GetLatestRevRequest extends protobuf_1.Message {
|
|
748
|
+
constructor(data) {
|
|
749
|
+
super();
|
|
750
|
+
/**
|
|
751
|
+
* @generated from field: string actor_did = 1;
|
|
752
|
+
*/
|
|
753
|
+
Object.defineProperty(this, "actorDid", {
|
|
754
|
+
enumerable: true,
|
|
755
|
+
configurable: true,
|
|
756
|
+
writable: true,
|
|
757
|
+
value: ''
|
|
758
|
+
});
|
|
759
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
760
|
+
}
|
|
761
|
+
static fromBinary(bytes, options) {
|
|
762
|
+
return new GetLatestRevRequest().fromBinary(bytes, options);
|
|
763
|
+
}
|
|
764
|
+
static fromJson(jsonValue, options) {
|
|
765
|
+
return new GetLatestRevRequest().fromJson(jsonValue, options);
|
|
766
|
+
}
|
|
767
|
+
static fromJsonString(jsonString, options) {
|
|
768
|
+
return new GetLatestRevRequest().fromJsonString(jsonString, options);
|
|
769
|
+
}
|
|
770
|
+
static equals(a, b) {
|
|
771
|
+
return protobuf_1.proto3.util.equals(GetLatestRevRequest, a, b);
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
exports.GetLatestRevRequest = GetLatestRevRequest;
|
|
775
|
+
Object.defineProperty(GetLatestRevRequest, "runtime", {
|
|
776
|
+
enumerable: true,
|
|
777
|
+
configurable: true,
|
|
778
|
+
writable: true,
|
|
779
|
+
value: protobuf_1.proto3
|
|
780
|
+
});
|
|
781
|
+
Object.defineProperty(GetLatestRevRequest, "typeName", {
|
|
782
|
+
enumerable: true,
|
|
783
|
+
configurable: true,
|
|
784
|
+
writable: true,
|
|
785
|
+
value: 'clio.GetLatestRevRequest'
|
|
786
|
+
});
|
|
787
|
+
Object.defineProperty(GetLatestRevRequest, "fields", {
|
|
788
|
+
enumerable: true,
|
|
789
|
+
configurable: true,
|
|
790
|
+
writable: true,
|
|
791
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
792
|
+
{ no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
793
|
+
])
|
|
794
|
+
});
|
|
795
|
+
/**
|
|
796
|
+
* @generated from message clio.GetLatestRevResponse
|
|
797
|
+
*/
|
|
798
|
+
class GetLatestRevResponse extends protobuf_1.Message {
|
|
799
|
+
constructor(data) {
|
|
800
|
+
super();
|
|
801
|
+
/**
|
|
802
|
+
* @generated from field: string rev = 1;
|
|
803
|
+
*/
|
|
804
|
+
Object.defineProperty(this, "rev", {
|
|
805
|
+
enumerable: true,
|
|
806
|
+
configurable: true,
|
|
807
|
+
writable: true,
|
|
808
|
+
value: ''
|
|
809
|
+
});
|
|
810
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
811
|
+
}
|
|
812
|
+
static fromBinary(bytes, options) {
|
|
813
|
+
return new GetLatestRevResponse().fromBinary(bytes, options);
|
|
814
|
+
}
|
|
815
|
+
static fromJson(jsonValue, options) {
|
|
816
|
+
return new GetLatestRevResponse().fromJson(jsonValue, options);
|
|
817
|
+
}
|
|
818
|
+
static fromJsonString(jsonString, options) {
|
|
819
|
+
return new GetLatestRevResponse().fromJsonString(jsonString, options);
|
|
820
|
+
}
|
|
821
|
+
static equals(a, b) {
|
|
822
|
+
return protobuf_1.proto3.util.equals(GetLatestRevResponse, a, b);
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
exports.GetLatestRevResponse = GetLatestRevResponse;
|
|
826
|
+
Object.defineProperty(GetLatestRevResponse, "runtime", {
|
|
827
|
+
enumerable: true,
|
|
828
|
+
configurable: true,
|
|
829
|
+
writable: true,
|
|
830
|
+
value: protobuf_1.proto3
|
|
831
|
+
});
|
|
832
|
+
Object.defineProperty(GetLatestRevResponse, "typeName", {
|
|
833
|
+
enumerable: true,
|
|
834
|
+
configurable: true,
|
|
835
|
+
writable: true,
|
|
836
|
+
value: 'clio.GetLatestRevResponse'
|
|
837
|
+
});
|
|
838
|
+
Object.defineProperty(GetLatestRevResponse, "fields", {
|
|
839
|
+
enumerable: true,
|
|
840
|
+
configurable: true,
|
|
841
|
+
writable: true,
|
|
842
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
843
|
+
{ no: 1, name: 'rev', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
844
|
+
])
|
|
845
|
+
});
|
|
846
|
+
/**
|
|
847
|
+
* @generated from message clio.GetIdentityByDidRequest
|
|
848
|
+
*/
|
|
849
|
+
class GetIdentityByDidRequest extends protobuf_1.Message {
|
|
850
|
+
constructor(data) {
|
|
851
|
+
super();
|
|
852
|
+
/**
|
|
853
|
+
* @generated from field: string did = 1;
|
|
854
|
+
*/
|
|
855
|
+
Object.defineProperty(this, "did", {
|
|
856
|
+
enumerable: true,
|
|
857
|
+
configurable: true,
|
|
858
|
+
writable: true,
|
|
859
|
+
value: ''
|
|
860
|
+
});
|
|
861
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
862
|
+
}
|
|
863
|
+
static fromBinary(bytes, options) {
|
|
864
|
+
return new GetIdentityByDidRequest().fromBinary(bytes, options);
|
|
865
|
+
}
|
|
866
|
+
static fromJson(jsonValue, options) {
|
|
867
|
+
return new GetIdentityByDidRequest().fromJson(jsonValue, options);
|
|
868
|
+
}
|
|
869
|
+
static fromJsonString(jsonString, options) {
|
|
870
|
+
return new GetIdentityByDidRequest().fromJsonString(jsonString, options);
|
|
871
|
+
}
|
|
872
|
+
static equals(a, b) {
|
|
873
|
+
return protobuf_1.proto3.util.equals(GetIdentityByDidRequest, a, b);
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
exports.GetIdentityByDidRequest = GetIdentityByDidRequest;
|
|
877
|
+
Object.defineProperty(GetIdentityByDidRequest, "runtime", {
|
|
878
|
+
enumerable: true,
|
|
879
|
+
configurable: true,
|
|
880
|
+
writable: true,
|
|
881
|
+
value: protobuf_1.proto3
|
|
882
|
+
});
|
|
883
|
+
Object.defineProperty(GetIdentityByDidRequest, "typeName", {
|
|
884
|
+
enumerable: true,
|
|
885
|
+
configurable: true,
|
|
886
|
+
writable: true,
|
|
887
|
+
value: 'clio.GetIdentityByDidRequest'
|
|
888
|
+
});
|
|
889
|
+
Object.defineProperty(GetIdentityByDidRequest, "fields", {
|
|
890
|
+
enumerable: true,
|
|
891
|
+
configurable: true,
|
|
892
|
+
writable: true,
|
|
893
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
894
|
+
{ no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
895
|
+
])
|
|
896
|
+
});
|
|
897
|
+
/**
|
|
898
|
+
* @generated from message clio.GetIdentityByDidResponse
|
|
899
|
+
*/
|
|
900
|
+
class GetIdentityByDidResponse extends protobuf_1.Message {
|
|
901
|
+
constructor(data) {
|
|
902
|
+
super();
|
|
903
|
+
/**
|
|
904
|
+
* @generated from field: string did = 1;
|
|
905
|
+
*/
|
|
906
|
+
Object.defineProperty(this, "did", {
|
|
907
|
+
enumerable: true,
|
|
908
|
+
configurable: true,
|
|
909
|
+
writable: true,
|
|
910
|
+
value: ''
|
|
911
|
+
});
|
|
912
|
+
/**
|
|
913
|
+
* @generated from field: string handle = 2;
|
|
914
|
+
*/
|
|
915
|
+
Object.defineProperty(this, "handle", {
|
|
916
|
+
enumerable: true,
|
|
917
|
+
configurable: true,
|
|
918
|
+
writable: true,
|
|
919
|
+
value: ''
|
|
920
|
+
});
|
|
921
|
+
/**
|
|
922
|
+
* @generated from field: bytes keys = 3;
|
|
923
|
+
*/
|
|
924
|
+
Object.defineProperty(this, "keys", {
|
|
925
|
+
enumerable: true,
|
|
926
|
+
configurable: true,
|
|
927
|
+
writable: true,
|
|
928
|
+
value: new Uint8Array(0)
|
|
929
|
+
});
|
|
930
|
+
/**
|
|
931
|
+
* @generated from field: bytes services = 4;
|
|
932
|
+
*/
|
|
933
|
+
Object.defineProperty(this, "services", {
|
|
934
|
+
enumerable: true,
|
|
935
|
+
configurable: true,
|
|
936
|
+
writable: true,
|
|
937
|
+
value: new Uint8Array(0)
|
|
938
|
+
});
|
|
939
|
+
/**
|
|
940
|
+
* @generated from field: google.protobuf.Timestamp updated = 5;
|
|
941
|
+
*/
|
|
942
|
+
Object.defineProperty(this, "updated", {
|
|
943
|
+
enumerable: true,
|
|
944
|
+
configurable: true,
|
|
945
|
+
writable: true,
|
|
946
|
+
value: void 0
|
|
947
|
+
});
|
|
948
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
949
|
+
}
|
|
950
|
+
static fromBinary(bytes, options) {
|
|
951
|
+
return new GetIdentityByDidResponse().fromBinary(bytes, options);
|
|
952
|
+
}
|
|
953
|
+
static fromJson(jsonValue, options) {
|
|
954
|
+
return new GetIdentityByDidResponse().fromJson(jsonValue, options);
|
|
955
|
+
}
|
|
956
|
+
static fromJsonString(jsonString, options) {
|
|
957
|
+
return new GetIdentityByDidResponse().fromJsonString(jsonString, options);
|
|
958
|
+
}
|
|
959
|
+
static equals(a, b) {
|
|
960
|
+
return protobuf_1.proto3.util.equals(GetIdentityByDidResponse, a, b);
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
exports.GetIdentityByDidResponse = GetIdentityByDidResponse;
|
|
964
|
+
Object.defineProperty(GetIdentityByDidResponse, "runtime", {
|
|
965
|
+
enumerable: true,
|
|
966
|
+
configurable: true,
|
|
967
|
+
writable: true,
|
|
968
|
+
value: protobuf_1.proto3
|
|
969
|
+
});
|
|
970
|
+
Object.defineProperty(GetIdentityByDidResponse, "typeName", {
|
|
971
|
+
enumerable: true,
|
|
972
|
+
configurable: true,
|
|
973
|
+
writable: true,
|
|
974
|
+
value: 'clio.GetIdentityByDidResponse'
|
|
975
|
+
});
|
|
976
|
+
Object.defineProperty(GetIdentityByDidResponse, "fields", {
|
|
977
|
+
enumerable: true,
|
|
978
|
+
configurable: true,
|
|
979
|
+
writable: true,
|
|
980
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
981
|
+
{ no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
982
|
+
{ no: 2, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
983
|
+
{ no: 3, name: 'keys', kind: 'scalar', T: 12 /* ScalarType.BYTES */ },
|
|
984
|
+
{ no: 4, name: 'services', kind: 'scalar', T: 12 /* ScalarType.BYTES */ },
|
|
985
|
+
{ no: 5, name: 'updated', kind: 'message', T: protobuf_1.Timestamp },
|
|
986
|
+
])
|
|
987
|
+
});
|
|
988
|
+
/**
|
|
989
|
+
* @generated from message clio.GetIdentityByHandleRequest
|
|
990
|
+
*/
|
|
991
|
+
class GetIdentityByHandleRequest extends protobuf_1.Message {
|
|
992
|
+
constructor(data) {
|
|
993
|
+
super();
|
|
994
|
+
/**
|
|
995
|
+
* @generated from field: string handle = 1;
|
|
996
|
+
*/
|
|
997
|
+
Object.defineProperty(this, "handle", {
|
|
998
|
+
enumerable: true,
|
|
999
|
+
configurable: true,
|
|
1000
|
+
writable: true,
|
|
1001
|
+
value: ''
|
|
1002
|
+
});
|
|
1003
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1004
|
+
}
|
|
1005
|
+
static fromBinary(bytes, options) {
|
|
1006
|
+
return new GetIdentityByHandleRequest().fromBinary(bytes, options);
|
|
1007
|
+
}
|
|
1008
|
+
static fromJson(jsonValue, options) {
|
|
1009
|
+
return new GetIdentityByHandleRequest().fromJson(jsonValue, options);
|
|
1010
|
+
}
|
|
1011
|
+
static fromJsonString(jsonString, options) {
|
|
1012
|
+
return new GetIdentityByHandleRequest().fromJsonString(jsonString, options);
|
|
1013
|
+
}
|
|
1014
|
+
static equals(a, b) {
|
|
1015
|
+
return protobuf_1.proto3.util.equals(GetIdentityByHandleRequest, a, b);
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
exports.GetIdentityByHandleRequest = GetIdentityByHandleRequest;
|
|
1019
|
+
Object.defineProperty(GetIdentityByHandleRequest, "runtime", {
|
|
1020
|
+
enumerable: true,
|
|
1021
|
+
configurable: true,
|
|
1022
|
+
writable: true,
|
|
1023
|
+
value: protobuf_1.proto3
|
|
1024
|
+
});
|
|
1025
|
+
Object.defineProperty(GetIdentityByHandleRequest, "typeName", {
|
|
1026
|
+
enumerable: true,
|
|
1027
|
+
configurable: true,
|
|
1028
|
+
writable: true,
|
|
1029
|
+
value: 'clio.GetIdentityByHandleRequest'
|
|
1030
|
+
});
|
|
1031
|
+
Object.defineProperty(GetIdentityByHandleRequest, "fields", {
|
|
1032
|
+
enumerable: true,
|
|
1033
|
+
configurable: true,
|
|
1034
|
+
writable: true,
|
|
1035
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
1036
|
+
{ no: 1, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
1037
|
+
])
|
|
1038
|
+
});
|
|
1039
|
+
/**
|
|
1040
|
+
* @generated from message clio.GetIdentityByHandleResponse
|
|
1041
|
+
*/
|
|
1042
|
+
class GetIdentityByHandleResponse extends protobuf_1.Message {
|
|
1043
|
+
constructor(data) {
|
|
1044
|
+
super();
|
|
1045
|
+
/**
|
|
1046
|
+
* @generated from field: string handle = 1;
|
|
1047
|
+
*/
|
|
1048
|
+
Object.defineProperty(this, "handle", {
|
|
1049
|
+
enumerable: true,
|
|
1050
|
+
configurable: true,
|
|
1051
|
+
writable: true,
|
|
1052
|
+
value: ''
|
|
1053
|
+
});
|
|
1054
|
+
/**
|
|
1055
|
+
* @generated from field: string did = 2;
|
|
1056
|
+
*/
|
|
1057
|
+
Object.defineProperty(this, "did", {
|
|
1058
|
+
enumerable: true,
|
|
1059
|
+
configurable: true,
|
|
1060
|
+
writable: true,
|
|
1061
|
+
value: ''
|
|
1062
|
+
});
|
|
1063
|
+
/**
|
|
1064
|
+
* @generated from field: bytes keys = 3;
|
|
1065
|
+
*/
|
|
1066
|
+
Object.defineProperty(this, "keys", {
|
|
1067
|
+
enumerable: true,
|
|
1068
|
+
configurable: true,
|
|
1069
|
+
writable: true,
|
|
1070
|
+
value: new Uint8Array(0)
|
|
1071
|
+
});
|
|
1072
|
+
/**
|
|
1073
|
+
* @generated from field: bytes services = 4;
|
|
1074
|
+
*/
|
|
1075
|
+
Object.defineProperty(this, "services", {
|
|
1076
|
+
enumerable: true,
|
|
1077
|
+
configurable: true,
|
|
1078
|
+
writable: true,
|
|
1079
|
+
value: new Uint8Array(0)
|
|
1080
|
+
});
|
|
1081
|
+
/**
|
|
1082
|
+
* @generated from field: google.protobuf.Timestamp updated = 5;
|
|
1083
|
+
*/
|
|
1084
|
+
Object.defineProperty(this, "updated", {
|
|
1085
|
+
enumerable: true,
|
|
1086
|
+
configurable: true,
|
|
1087
|
+
writable: true,
|
|
1088
|
+
value: void 0
|
|
1089
|
+
});
|
|
1090
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1091
|
+
}
|
|
1092
|
+
static fromBinary(bytes, options) {
|
|
1093
|
+
return new GetIdentityByHandleResponse().fromBinary(bytes, options);
|
|
1094
|
+
}
|
|
1095
|
+
static fromJson(jsonValue, options) {
|
|
1096
|
+
return new GetIdentityByHandleResponse().fromJson(jsonValue, options);
|
|
1097
|
+
}
|
|
1098
|
+
static fromJsonString(jsonString, options) {
|
|
1099
|
+
return new GetIdentityByHandleResponse().fromJsonString(jsonString, options);
|
|
1100
|
+
}
|
|
1101
|
+
static equals(a, b) {
|
|
1102
|
+
return protobuf_1.proto3.util.equals(GetIdentityByHandleResponse, a, b);
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
exports.GetIdentityByHandleResponse = GetIdentityByHandleResponse;
|
|
1106
|
+
Object.defineProperty(GetIdentityByHandleResponse, "runtime", {
|
|
1107
|
+
enumerable: true,
|
|
1108
|
+
configurable: true,
|
|
1109
|
+
writable: true,
|
|
1110
|
+
value: protobuf_1.proto3
|
|
1111
|
+
});
|
|
1112
|
+
Object.defineProperty(GetIdentityByHandleResponse, "typeName", {
|
|
1113
|
+
enumerable: true,
|
|
1114
|
+
configurable: true,
|
|
1115
|
+
writable: true,
|
|
1116
|
+
value: 'clio.GetIdentityByHandleResponse'
|
|
1117
|
+
});
|
|
1118
|
+
Object.defineProperty(GetIdentityByHandleResponse, "fields", {
|
|
1119
|
+
enumerable: true,
|
|
1120
|
+
configurable: true,
|
|
1121
|
+
writable: true,
|
|
1122
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
1123
|
+
{ no: 1, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
1124
|
+
{ no: 2, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
1125
|
+
{ no: 3, name: 'keys', kind: 'scalar', T: 12 /* ScalarType.BYTES */ },
|
|
1126
|
+
{ no: 4, name: 'services', kind: 'scalar', T: 12 /* ScalarType.BYTES */ },
|
|
1127
|
+
{ no: 5, name: 'updated', kind: 'message', T: protobuf_1.Timestamp },
|
|
1128
|
+
])
|
|
1129
|
+
});
|
|
1130
|
+
/**
|
|
1131
|
+
* @generated from message clio.UpdateActorUpstreamStatusRequest
|
|
1132
|
+
*/
|
|
1133
|
+
class UpdateActorUpstreamStatusRequest extends protobuf_1.Message {
|
|
1134
|
+
constructor(data) {
|
|
1135
|
+
super();
|
|
1136
|
+
/**
|
|
1137
|
+
* @generated from field: string actor_did = 1;
|
|
1138
|
+
*/
|
|
1139
|
+
Object.defineProperty(this, "actorDid", {
|
|
1140
|
+
enumerable: true,
|
|
1141
|
+
configurable: true,
|
|
1142
|
+
writable: true,
|
|
1143
|
+
value: ''
|
|
1144
|
+
});
|
|
1145
|
+
/**
|
|
1146
|
+
* @generated from field: bool active = 2;
|
|
1147
|
+
*/
|
|
1148
|
+
Object.defineProperty(this, "active", {
|
|
1149
|
+
enumerable: true,
|
|
1150
|
+
configurable: true,
|
|
1151
|
+
writable: true,
|
|
1152
|
+
value: false
|
|
1153
|
+
});
|
|
1154
|
+
/**
|
|
1155
|
+
* @generated from field: string upstream_status = 3;
|
|
1156
|
+
*/
|
|
1157
|
+
Object.defineProperty(this, "upstreamStatus", {
|
|
1158
|
+
enumerable: true,
|
|
1159
|
+
configurable: true,
|
|
1160
|
+
writable: true,
|
|
1161
|
+
value: ''
|
|
1162
|
+
});
|
|
1163
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1164
|
+
}
|
|
1165
|
+
static fromBinary(bytes, options) {
|
|
1166
|
+
return new UpdateActorUpstreamStatusRequest().fromBinary(bytes, options);
|
|
1167
|
+
}
|
|
1168
|
+
static fromJson(jsonValue, options) {
|
|
1169
|
+
return new UpdateActorUpstreamStatusRequest().fromJson(jsonValue, options);
|
|
1170
|
+
}
|
|
1171
|
+
static fromJsonString(jsonString, options) {
|
|
1172
|
+
return new UpdateActorUpstreamStatusRequest().fromJsonString(jsonString, options);
|
|
1173
|
+
}
|
|
1174
|
+
static equals(a, b) {
|
|
1175
|
+
return protobuf_1.proto3.util.equals(UpdateActorUpstreamStatusRequest, a, b);
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
exports.UpdateActorUpstreamStatusRequest = UpdateActorUpstreamStatusRequest;
|
|
1179
|
+
Object.defineProperty(UpdateActorUpstreamStatusRequest, "runtime", {
|
|
1180
|
+
enumerable: true,
|
|
1181
|
+
configurable: true,
|
|
1182
|
+
writable: true,
|
|
1183
|
+
value: protobuf_1.proto3
|
|
1184
|
+
});
|
|
1185
|
+
Object.defineProperty(UpdateActorUpstreamStatusRequest, "typeName", {
|
|
1186
|
+
enumerable: true,
|
|
1187
|
+
configurable: true,
|
|
1188
|
+
writable: true,
|
|
1189
|
+
value: 'clio.UpdateActorUpstreamStatusRequest'
|
|
1190
|
+
});
|
|
1191
|
+
Object.defineProperty(UpdateActorUpstreamStatusRequest, "fields", {
|
|
1192
|
+
enumerable: true,
|
|
1193
|
+
configurable: true,
|
|
1194
|
+
writable: true,
|
|
1195
|
+
value: protobuf_1.proto3.util.newFieldList(() => [
|
|
1196
|
+
{ no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
|
|
1197
|
+
{ no: 2, name: 'active', kind: 'scalar', T: 8 /* ScalarType.BOOL */ },
|
|
1198
|
+
{
|
|
1199
|
+
no: 3,
|
|
1200
|
+
name: 'upstream_status',
|
|
1201
|
+
kind: 'scalar',
|
|
1202
|
+
T: 9 /* ScalarType.STRING */,
|
|
1203
|
+
},
|
|
1204
|
+
])
|
|
1205
|
+
});
|
|
1206
|
+
/**
|
|
1207
|
+
* @generated from message clio.UpdateActorUpstreamStatusResponse
|
|
1208
|
+
*/
|
|
1209
|
+
class UpdateActorUpstreamStatusResponse extends protobuf_1.Message {
|
|
1210
|
+
constructor(data) {
|
|
1211
|
+
super();
|
|
1212
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1213
|
+
}
|
|
1214
|
+
static fromBinary(bytes, options) {
|
|
1215
|
+
return new UpdateActorUpstreamStatusResponse().fromBinary(bytes, options);
|
|
1216
|
+
}
|
|
1217
|
+
static fromJson(jsonValue, options) {
|
|
1218
|
+
return new UpdateActorUpstreamStatusResponse().fromJson(jsonValue, options);
|
|
1219
|
+
}
|
|
1220
|
+
static fromJsonString(jsonString, options) {
|
|
1221
|
+
return new UpdateActorUpstreamStatusResponse().fromJsonString(jsonString, options);
|
|
1222
|
+
}
|
|
1223
|
+
static equals(a, b) {
|
|
1224
|
+
return protobuf_1.proto3.util.equals(UpdateActorUpstreamStatusResponse, a, b);
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
exports.UpdateActorUpstreamStatusResponse = UpdateActorUpstreamStatusResponse;
|
|
1228
|
+
Object.defineProperty(UpdateActorUpstreamStatusResponse, "runtime", {
|
|
1229
|
+
enumerable: true,
|
|
1230
|
+
configurable: true,
|
|
1231
|
+
writable: true,
|
|
1232
|
+
value: protobuf_1.proto3
|
|
1233
|
+
});
|
|
1234
|
+
Object.defineProperty(UpdateActorUpstreamStatusResponse, "typeName", {
|
|
1235
|
+
enumerable: true,
|
|
1236
|
+
configurable: true,
|
|
1237
|
+
writable: true,
|
|
1238
|
+
value: 'clio.UpdateActorUpstreamStatusResponse'
|
|
1239
|
+
});
|
|
1240
|
+
Object.defineProperty(UpdateActorUpstreamStatusResponse, "fields", {
|
|
1241
|
+
enumerable: true,
|
|
1242
|
+
configurable: true,
|
|
1243
|
+
writable: true,
|
|
1244
|
+
value: protobuf_1.proto3.util.newFieldList(() => [])
|
|
1245
|
+
});
|
|
1246
|
+
/**
|
|
1247
|
+
* @generated from message clio.HealthCheckRequest
|
|
1248
|
+
*/
|
|
1249
|
+
class HealthCheckRequest extends protobuf_1.Message {
|
|
1250
|
+
constructor(data) {
|
|
1251
|
+
super();
|
|
1252
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1253
|
+
}
|
|
1254
|
+
static fromBinary(bytes, options) {
|
|
1255
|
+
return new HealthCheckRequest().fromBinary(bytes, options);
|
|
1256
|
+
}
|
|
1257
|
+
static fromJson(jsonValue, options) {
|
|
1258
|
+
return new HealthCheckRequest().fromJson(jsonValue, options);
|
|
1259
|
+
}
|
|
1260
|
+
static fromJsonString(jsonString, options) {
|
|
1261
|
+
return new HealthCheckRequest().fromJsonString(jsonString, options);
|
|
1262
|
+
}
|
|
1263
|
+
static equals(a, b) {
|
|
1264
|
+
return protobuf_1.proto3.util.equals(HealthCheckRequest, a, b);
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
exports.HealthCheckRequest = HealthCheckRequest;
|
|
1268
|
+
Object.defineProperty(HealthCheckRequest, "runtime", {
|
|
1269
|
+
enumerable: true,
|
|
1270
|
+
configurable: true,
|
|
1271
|
+
writable: true,
|
|
1272
|
+
value: protobuf_1.proto3
|
|
1273
|
+
});
|
|
1274
|
+
Object.defineProperty(HealthCheckRequest, "typeName", {
|
|
1275
|
+
enumerable: true,
|
|
1276
|
+
configurable: true,
|
|
1277
|
+
writable: true,
|
|
1278
|
+
value: 'clio.HealthCheckRequest'
|
|
1279
|
+
});
|
|
1280
|
+
Object.defineProperty(HealthCheckRequest, "fields", {
|
|
1281
|
+
enumerable: true,
|
|
1282
|
+
configurable: true,
|
|
1283
|
+
writable: true,
|
|
1284
|
+
value: protobuf_1.proto3.util.newFieldList(() => [])
|
|
1285
|
+
});
|
|
1286
|
+
/**
|
|
1287
|
+
* @generated from message clio.HealthCheck
|
|
1288
|
+
*/
|
|
1289
|
+
class HealthCheck extends protobuf_1.Message {
|
|
1290
|
+
constructor(data) {
|
|
1291
|
+
super();
|
|
1292
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1293
|
+
}
|
|
1294
|
+
static fromBinary(bytes, options) {
|
|
1295
|
+
return new HealthCheck().fromBinary(bytes, options);
|
|
1296
|
+
}
|
|
1297
|
+
static fromJson(jsonValue, options) {
|
|
1298
|
+
return new HealthCheck().fromJson(jsonValue, options);
|
|
1299
|
+
}
|
|
1300
|
+
static fromJsonString(jsonString, options) {
|
|
1301
|
+
return new HealthCheck().fromJsonString(jsonString, options);
|
|
1302
|
+
}
|
|
1303
|
+
static equals(a, b) {
|
|
1304
|
+
return protobuf_1.proto3.util.equals(HealthCheck, a, b);
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
exports.HealthCheck = HealthCheck;
|
|
1308
|
+
Object.defineProperty(HealthCheck, "runtime", {
|
|
1309
|
+
enumerable: true,
|
|
1310
|
+
configurable: true,
|
|
1311
|
+
writable: true,
|
|
1312
|
+
value: protobuf_1.proto3
|
|
1313
|
+
});
|
|
1314
|
+
Object.defineProperty(HealthCheck, "typeName", {
|
|
1315
|
+
enumerable: true,
|
|
1316
|
+
configurable: true,
|
|
1317
|
+
writable: true,
|
|
1318
|
+
value: 'clio.HealthCheck'
|
|
1319
|
+
});
|
|
1320
|
+
Object.defineProperty(HealthCheck, "fields", {
|
|
1321
|
+
enumerable: true,
|
|
1322
|
+
configurable: true,
|
|
1323
|
+
writable: true,
|
|
1324
|
+
value: protobuf_1.proto3.util.newFieldList(() => [])
|
|
1325
|
+
});
|
|
1326
|
+
/**
|
|
1327
|
+
* @generated from message clio.HealthCheckResponse
|
|
1328
|
+
*/
|
|
1329
|
+
class HealthCheckResponse extends protobuf_1.Message {
|
|
1330
|
+
constructor(data) {
|
|
1331
|
+
super();
|
|
1332
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1333
|
+
}
|
|
1334
|
+
static fromBinary(bytes, options) {
|
|
1335
|
+
return new HealthCheckResponse().fromBinary(bytes, options);
|
|
1336
|
+
}
|
|
1337
|
+
static fromJson(jsonValue, options) {
|
|
1338
|
+
return new HealthCheckResponse().fromJson(jsonValue, options);
|
|
1339
|
+
}
|
|
1340
|
+
static fromJsonString(jsonString, options) {
|
|
1341
|
+
return new HealthCheckResponse().fromJsonString(jsonString, options);
|
|
1342
|
+
}
|
|
1343
|
+
static equals(a, b) {
|
|
1344
|
+
return protobuf_1.proto3.util.equals(HealthCheckResponse, a, b);
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
exports.HealthCheckResponse = HealthCheckResponse;
|
|
1348
|
+
Object.defineProperty(HealthCheckResponse, "runtime", {
|
|
1349
|
+
enumerable: true,
|
|
1350
|
+
configurable: true,
|
|
1351
|
+
writable: true,
|
|
1352
|
+
value: protobuf_1.proto3
|
|
1353
|
+
});
|
|
1354
|
+
Object.defineProperty(HealthCheckResponse, "typeName", {
|
|
1355
|
+
enumerable: true,
|
|
1356
|
+
configurable: true,
|
|
1357
|
+
writable: true,
|
|
1358
|
+
value: 'clio.HealthCheckResponse'
|
|
1359
|
+
});
|
|
1360
|
+
Object.defineProperty(HealthCheckResponse, "fields", {
|
|
1361
|
+
enumerable: true,
|
|
1362
|
+
configurable: true,
|
|
1363
|
+
writable: true,
|
|
1364
|
+
value: protobuf_1.proto3.util.newFieldList(() => [])
|
|
1365
|
+
});
|