@clioplaylists/clio 0.1.7 → 0.1.9

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