@clioplaylists/clio 0.1.8 → 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 (126) 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.js +8 -4
  11. package/dist/auth-verifier.d.ts +17 -4
  12. package/dist/auth-verifier.js +171 -165
  13. package/dist/client.js +15 -8
  14. package/dist/config.d.ts +21 -0
  15. package/dist/config.js +77 -7
  16. package/dist/context.d.ts +11 -0
  17. package/dist/context.js +14 -1
  18. package/dist/dataplane/client/hosts.js +5 -1
  19. package/dist/dataplane/client/index.d.ts +2 -0
  20. package/dist/dataplane/client/index.js +40 -17
  21. package/dist/dataplane/client/util.d.ts +20 -0
  22. package/dist/dataplane/client/util.js +92 -0
  23. package/dist/dataplane/index.js +18 -2
  24. package/dist/dataplane/server/background.d.ts +1 -1
  25. package/dist/dataplane/server/background.js +12 -5
  26. package/dist/dataplane/server/db/database-schema.d.ts +5 -1
  27. package/dist/dataplane/server/db/database-schema.js +2 -1
  28. package/dist/dataplane/server/db/db.js +60 -20
  29. package/dist/dataplane/server/db/index.js +17 -1
  30. package/dist/dataplane/server/db/migrations/20250515T045948368Z-init.d.ts +3 -0
  31. package/dist/dataplane/server/db/migrations/20250515T045948368Z-init.js +170 -0
  32. package/dist/dataplane/server/db/migrations/20260119T210000000Z-song-recommendation.d.ts +3 -0
  33. package/dist/dataplane/server/db/migrations/20260119T210000000Z-song-recommendation.js +36 -0
  34. package/dist/dataplane/server/db/migrations/20260119T220000000Z-oauth.d.ts +3 -0
  35. package/dist/dataplane/server/db/migrations/20260119T220000000Z-oauth.js +25 -0
  36. package/dist/dataplane/server/db/migrations/index.d.ts +3 -2
  37. package/dist/dataplane/server/db/migrations/index.js +39 -2
  38. package/dist/dataplane/server/db/migrations/provider.js +5 -1
  39. package/dist/dataplane/server/db/pagination.d.ts +1 -1
  40. package/dist/dataplane/server/db/pagination.js +38 -25
  41. package/dist/dataplane/server/db/tables/actor-sync.d.ts +2 -2
  42. package/dist/dataplane/server/db/tables/actor-sync.js +4 -1
  43. package/dist/dataplane/server/db/tables/actor.d.ts +3 -3
  44. package/dist/dataplane/server/db/tables/actor.js +4 -1
  45. package/dist/dataplane/server/db/tables/artist-list-item.d.ts +2 -2
  46. package/dist/dataplane/server/db/tables/artist-list-item.js +4 -1
  47. package/dist/dataplane/server/db/tables/artist.js +4 -1
  48. package/dist/dataplane/server/db/tables/oauth-session.d.ts +9 -0
  49. package/dist/dataplane/server/db/tables/oauth-session.js +4 -0
  50. package/dist/dataplane/server/db/tables/oauth-state.d.ts +10 -0
  51. package/dist/dataplane/server/db/tables/oauth-state.js +4 -0
  52. package/dist/dataplane/server/db/tables/playlist-idea.d.ts +3 -3
  53. package/dist/dataplane/server/db/tables/playlist-idea.js +4 -1
  54. package/dist/dataplane/server/db/tables/playlist-item.js +4 -1
  55. package/dist/dataplane/server/db/tables/playlist.d.ts +1 -0
  56. package/dist/dataplane/server/db/tables/playlist.js +4 -1
  57. package/dist/dataplane/server/db/tables/profile.d.ts +5 -5
  58. package/dist/dataplane/server/db/tables/profile.js +4 -1
  59. package/dist/dataplane/server/db/tables/record.d.ts +1 -1
  60. package/dist/dataplane/server/db/tables/record.js +4 -1
  61. package/dist/dataplane/server/db/tables/song-recommendation.d.ts +17 -0
  62. package/dist/dataplane/server/db/tables/song-recommendation.js +4 -0
  63. package/dist/dataplane/server/db/tables/song.d.ts +2 -2
  64. package/dist/dataplane/server/db/tables/song.js +4 -1
  65. package/dist/dataplane/server/db/tables/subscription-cursor.d.ts +9 -0
  66. package/dist/dataplane/server/db/tables/subscription-cursor.js +4 -0
  67. package/dist/dataplane/server/db/types.js +2 -1
  68. package/dist/dataplane/server/db/util.d.ts +7 -3
  69. package/dist/dataplane/server/db/util.js +26 -18
  70. package/dist/dataplane/server/index.js +21 -13
  71. package/dist/dataplane/server/indexing/index.d.ts +2 -0
  72. package/dist/dataplane/server/indexing/index.js +82 -66
  73. package/dist/dataplane/server/indexing/plugins/playlist-idea.d.ts +1 -2
  74. package/dist/dataplane/server/indexing/plugins/playlist-idea.js +50 -41
  75. package/dist/dataplane/server/indexing/plugins/profile.js +45 -12
  76. package/dist/dataplane/server/indexing/plugins/song-recommendation.d.ts +9 -0
  77. package/dist/dataplane/server/indexing/plugins/song-recommendation.js +101 -0
  78. package/dist/dataplane/server/indexing/processor.js +12 -11
  79. package/dist/dataplane/server/routes/identity.d.ts +19 -0
  80. package/dist/dataplane/server/routes/identity.js +32 -25
  81. package/dist/dataplane/server/routes/index.js +15 -10
  82. package/dist/dataplane/server/routes/profile.js +17 -25
  83. package/dist/dataplane/server/routes/records.d.ts +18 -0
  84. package/dist/dataplane/server/routes/records.js +48 -22
  85. package/dist/dataplane/server/routes/sync.js +5 -3
  86. package/dist/dataplane/server/storage/subscription-cursor.d.ts +3 -0
  87. package/dist/dataplane/server/storage/subscription-cursor.js +25 -0
  88. package/dist/dataplane/server/subscription.d.ts +6 -3
  89. package/dist/dataplane/server/subscription.js +73 -63
  90. package/dist/error.js +9 -5
  91. package/dist/index.d.ts +6 -3
  92. package/dist/index.js +91 -28
  93. package/dist/lexicons/index.d.ts +3 -210
  94. package/dist/lexicons/index.js +26 -403
  95. package/dist/lexicons/lexicons.d.ts +409 -8107
  96. package/dist/lexicons/lexicons.js +134 -4276
  97. package/dist/lexicons/types/com/atproto/repo/strongRef.d.ts +4 -4
  98. package/dist/lexicons/types/com/atproto/repo/strongRef.js +13 -9
  99. package/dist/lexicons/types/com/clioplaylists/alpha/actor/profile.d.ts +10 -8
  100. package/dist/lexicons/types/com/clioplaylists/alpha/actor/profile.js +13 -9
  101. package/dist/lexicons/types/com/clioplaylists/alpha/feed/defs.d.ts +20 -11
  102. package/dist/lexicons/types/com/clioplaylists/alpha/feed/defs.js +29 -14
  103. package/dist/lexicons/types/com/clioplaylists/alpha/feed/getRecommendedPlaylistsByUser.d.ts +36 -0
  104. package/dist/lexicons/types/com/clioplaylists/alpha/feed/getRecommendedPlaylistsByUser.js +6 -0
  105. package/dist/lexicons/types/com/clioplaylists/alpha/feed/playlistIdea.d.ts +11 -14
  106. package/dist/lexicons/types/com/clioplaylists/alpha/feed/playlistIdea.js +20 -23
  107. package/dist/lexicons/types/com/clioplaylists/alpha/feed/recommendedPlaylist.d.ts +18 -0
  108. package/dist/lexicons/types/com/clioplaylists/alpha/feed/recommendedPlaylist.js +15 -0
  109. package/dist/lexicons/types/com/clioplaylists/alpha/feed/songRecommendation.d.ts +18 -0
  110. package/dist/lexicons/types/com/clioplaylists/alpha/feed/songRecommendation.js +15 -0
  111. package/dist/lexicons/util.d.ts +33 -2
  112. package/dist/lexicons/util.js +32 -4
  113. package/dist/logger.js +16 -10
  114. package/dist/oauth/client.d.ts +14 -0
  115. package/dist/oauth/client.js +126 -0
  116. package/dist/oauth/pds-agent.d.ts +3 -0
  117. package/dist/oauth/pds-agent.js +15 -0
  118. package/dist/rpc/clio_connect.d.ts +101 -11
  119. package/dist/rpc/clio_connect.js +138 -45
  120. package/dist/rpc/clio_pb.d.ts +448 -30
  121. package/dist/rpc/clio_pb.js +967 -272
  122. package/dist/util/retry.js +10 -9
  123. package/dist/util/uris.js +6 -3
  124. package/dist/util.d.ts +0 -1
  125. package/dist/util.js +61 -20
  126. package/package.json +26 -5
@@ -1,5 +1,5 @@
1
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from '@bufbuild/protobuf';
2
- import { Message, proto3, Timestamp } from '@bufbuild/protobuf';
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3, Timestamp } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from message clio.Record
5
5
  */
@@ -13,23 +13,19 @@ export declare class Record extends Message<Record> {
13
13
  */
14
14
  cid: string;
15
15
  /**
16
- * @generated from field: google.protobuf.Timestamp indexed_at = 4;
16
+ * @generated from field: google.protobuf.Timestamp indexed_at = 3;
17
17
  */
18
18
  indexedAt?: Timestamp;
19
19
  /**
20
- * @generated from field: bool taken_down = 5;
20
+ * @generated from field: bool taken_down = 4;
21
21
  */
22
22
  takenDown: boolean;
23
23
  /**
24
- * @generated from field: google.protobuf.Timestamp created_at = 6;
24
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
25
25
  */
26
26
  createdAt?: Timestamp;
27
27
  /**
28
- * @generated from field: google.protobuf.Timestamp sorted_at = 7;
29
- */
30
- sortedAt?: Timestamp;
31
- /**
32
- * @generated from field: string takedown_ref = 8;
28
+ * @generated from field: string takedown_ref = 6;
33
29
  */
34
30
  takedownRef: string;
35
31
  constructor(data?: PartialMessage<Record>);
@@ -42,38 +38,50 @@ export declare class Record extends Message<Record> {
42
38
  static equals(a: Record | PlainMessage<Record> | undefined, b: Record | PlainMessage<Record> | undefined): boolean;
43
39
  }
44
40
  /**
45
- * @generated from message clio.GetSongRecordsRequest
41
+ * @generated from message clio.Song
46
42
  */
47
- export declare class GetSongRecordsRequest extends Message<GetSongRecordsRequest> {
43
+ export declare class Song extends Message<Song> {
48
44
  /**
49
- * @generated from field: repeated string track_mb_ids = 1;
45
+ * @generated from field: string track_name = 1;
50
46
  */
51
- trackMbIds: string[];
52
- constructor(data?: PartialMessage<GetSongRecordsRequest>);
47
+ trackName: string;
48
+ /**
49
+ * @generated from field: string track_mb_id = 2;
50
+ */
51
+ trackMbId: string;
52
+ constructor(data?: PartialMessage<Song>);
53
53
  static readonly runtime: typeof proto3;
54
- static readonly typeName = "clio.GetSongRecordsRequest";
54
+ static readonly typeName = "clio.Song";
55
55
  static readonly fields: FieldList;
56
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSongRecordsRequest;
57
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSongRecordsRequest;
58
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSongRecordsRequest;
59
- static equals(a: GetSongRecordsRequest | PlainMessage<GetSongRecordsRequest> | undefined, b: GetSongRecordsRequest | PlainMessage<GetSongRecordsRequest> | undefined): boolean;
56
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Song;
57
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Song;
58
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Song;
59
+ static equals(a: Song | PlainMessage<Song> | undefined, b: Song | PlainMessage<Song> | undefined): boolean;
60
60
  }
61
61
  /**
62
- * @generated from message clio.GetSongRecordsResponse
62
+ * @generated from message clio.Playlist
63
63
  */
64
- export declare class GetSongRecordsResponse extends Message<GetSongRecordsResponse> {
64
+ export declare class Playlist extends Message<Playlist> {
65
65
  /**
66
- * @generated from field: repeated clio.Record records = 1;
66
+ * @generated from field: int64 id = 1;
67
67
  */
68
- records: Record[];
69
- constructor(data?: PartialMessage<GetSongRecordsResponse>);
68
+ id: bigint;
69
+ /**
70
+ * @generated from field: string name = 2;
71
+ */
72
+ name: string;
73
+ /**
74
+ * @generated from field: repeated clio.Song songs = 3;
75
+ */
76
+ songs: Song[];
77
+ constructor(data?: PartialMessage<Playlist>);
70
78
  static readonly runtime: typeof proto3;
71
- static readonly typeName = "clio.GetSongRecordsResponse";
79
+ static readonly typeName = "clio.Playlist";
72
80
  static readonly fields: FieldList;
73
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSongRecordsResponse;
74
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSongRecordsResponse;
75
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSongRecordsResponse;
76
- static equals(a: GetSongRecordsResponse | PlainMessage<GetSongRecordsResponse> | undefined, b: GetSongRecordsResponse | PlainMessage<GetSongRecordsResponse> | undefined): boolean;
81
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Playlist;
82
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Playlist;
83
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Playlist;
84
+ static equals(a: Playlist | PlainMessage<Playlist> | undefined, b: Playlist | PlainMessage<Playlist> | undefined): boolean;
77
85
  }
78
86
  /**
79
87
  * @generated from message clio.GetProfileRecordsRequest
@@ -109,6 +117,74 @@ export declare class GetProfileRecordsResponse extends Message<GetProfileRecords
109
117
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetProfileRecordsResponse;
110
118
  static equals(a: GetProfileRecordsResponse | PlainMessage<GetProfileRecordsResponse> | undefined, b: GetProfileRecordsResponse | PlainMessage<GetProfileRecordsResponse> | undefined): boolean;
111
119
  }
120
+ /**
121
+ * @generated from message clio.GetRecommendedPlaylistsForPlaylistIdeaRequest
122
+ */
123
+ export declare class GetRecommendedPlaylistsForPlaylistIdeaRequest extends Message<GetRecommendedPlaylistsForPlaylistIdeaRequest> {
124
+ /**
125
+ * @generated from field: string playlist_idea_uri = 1;
126
+ */
127
+ playlistIdeaUri: string;
128
+ constructor(data?: PartialMessage<GetRecommendedPlaylistsForPlaylistIdeaRequest>);
129
+ static readonly runtime: typeof proto3;
130
+ static readonly typeName = "clio.GetRecommendedPlaylistsForPlaylistIdeaRequest";
131
+ static readonly fields: FieldList;
132
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRecommendedPlaylistsForPlaylistIdeaRequest;
133
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRecommendedPlaylistsForPlaylistIdeaRequest;
134
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRecommendedPlaylistsForPlaylistIdeaRequest;
135
+ static equals(a: GetRecommendedPlaylistsForPlaylistIdeaRequest | PlainMessage<GetRecommendedPlaylistsForPlaylistIdeaRequest> | undefined, b: GetRecommendedPlaylistsForPlaylistIdeaRequest | PlainMessage<GetRecommendedPlaylistsForPlaylistIdeaRequest> | undefined): boolean;
136
+ }
137
+ /**
138
+ * @generated from message clio.GetRecommendedPlaylistsForPlaylistIdeaResponse
139
+ */
140
+ export declare class GetRecommendedPlaylistsForPlaylistIdeaResponse extends Message<GetRecommendedPlaylistsForPlaylistIdeaResponse> {
141
+ /**
142
+ * @generated from field: repeated clio.Record records = 1;
143
+ */
144
+ records: Record[];
145
+ constructor(data?: PartialMessage<GetRecommendedPlaylistsForPlaylistIdeaResponse>);
146
+ static readonly runtime: typeof proto3;
147
+ static readonly typeName = "clio.GetRecommendedPlaylistsForPlaylistIdeaResponse";
148
+ static readonly fields: FieldList;
149
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRecommendedPlaylistsForPlaylistIdeaResponse;
150
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRecommendedPlaylistsForPlaylistIdeaResponse;
151
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRecommendedPlaylistsForPlaylistIdeaResponse;
152
+ static equals(a: GetRecommendedPlaylistsForPlaylistIdeaResponse | PlainMessage<GetRecommendedPlaylistsForPlaylistIdeaResponse> | undefined, b: GetRecommendedPlaylistsForPlaylistIdeaResponse | PlainMessage<GetRecommendedPlaylistsForPlaylistIdeaResponse> | undefined): boolean;
153
+ }
154
+ /**
155
+ * @generated from message clio.GetSongRecommendationRecordsByUserRequest
156
+ */
157
+ export declare class GetSongRecommendationRecordsByUserRequest extends Message<GetSongRecommendationRecordsByUserRequest> {
158
+ /**
159
+ * @generated from field: string user_did = 1;
160
+ */
161
+ userDid: string;
162
+ constructor(data?: PartialMessage<GetSongRecommendationRecordsByUserRequest>);
163
+ static readonly runtime: typeof proto3;
164
+ static readonly typeName = "clio.GetSongRecommendationRecordsByUserRequest";
165
+ static readonly fields: FieldList;
166
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSongRecommendationRecordsByUserRequest;
167
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSongRecommendationRecordsByUserRequest;
168
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSongRecommendationRecordsByUserRequest;
169
+ static equals(a: GetSongRecommendationRecordsByUserRequest | PlainMessage<GetSongRecommendationRecordsByUserRequest> | undefined, b: GetSongRecommendationRecordsByUserRequest | PlainMessage<GetSongRecommendationRecordsByUserRequest> | undefined): boolean;
170
+ }
171
+ /**
172
+ * @generated from message clio.GetSongRecommendationRecordsByUserResponse
173
+ */
174
+ export declare class GetSongRecommendationRecordsByUserResponse extends Message<GetSongRecommendationRecordsByUserResponse> {
175
+ /**
176
+ * @generated from field: repeated clio.Record records = 1;
177
+ */
178
+ records: Record[];
179
+ constructor(data?: PartialMessage<GetSongRecommendationRecordsByUserResponse>);
180
+ static readonly runtime: typeof proto3;
181
+ static readonly typeName = "clio.GetSongRecommendationRecordsByUserResponse";
182
+ static readonly fields: FieldList;
183
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSongRecommendationRecordsByUserResponse;
184
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSongRecommendationRecordsByUserResponse;
185
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSongRecommendationRecordsByUserResponse;
186
+ static equals(a: GetSongRecommendationRecordsByUserResponse | PlainMessage<GetSongRecommendationRecordsByUserResponse> | undefined, b: GetSongRecommendationRecordsByUserResponse | PlainMessage<GetSongRecommendationRecordsByUserResponse> | undefined): boolean;
187
+ }
112
188
  /**
113
189
  * - return actor information for dids A, B, C…
114
190
  * - profile hydration
@@ -378,6 +454,230 @@ export declare class GetIdentityByHandleResponse extends Message<GetIdentityByHa
378
454
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetIdentityByHandleResponse;
379
455
  static equals(a: GetIdentityByHandleResponse | PlainMessage<GetIdentityByHandleResponse> | undefined, b: GetIdentityByHandleResponse | PlainMessage<GetIdentityByHandleResponse> | undefined): boolean;
380
456
  }
457
+ /**
458
+ * @generated from message clio.TakedownActorRequest
459
+ */
460
+ export declare class TakedownActorRequest extends Message<TakedownActorRequest> {
461
+ /**
462
+ * @generated from field: string did = 1;
463
+ */
464
+ did: string;
465
+ /**
466
+ * @generated from field: string ref = 2;
467
+ */
468
+ ref: string;
469
+ /**
470
+ * @generated from field: google.protobuf.Timestamp seen = 3;
471
+ */
472
+ seen?: Timestamp;
473
+ constructor(data?: PartialMessage<TakedownActorRequest>);
474
+ static readonly runtime: typeof proto3;
475
+ static readonly typeName = "clio.TakedownActorRequest";
476
+ static readonly fields: FieldList;
477
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TakedownActorRequest;
478
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TakedownActorRequest;
479
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TakedownActorRequest;
480
+ static equals(a: TakedownActorRequest | PlainMessage<TakedownActorRequest> | undefined, b: TakedownActorRequest | PlainMessage<TakedownActorRequest> | undefined): boolean;
481
+ }
482
+ /**
483
+ * @generated from message clio.TakedownActorResponse
484
+ */
485
+ export declare class TakedownActorResponse extends Message<TakedownActorResponse> {
486
+ constructor(data?: PartialMessage<TakedownActorResponse>);
487
+ static readonly runtime: typeof proto3;
488
+ static readonly typeName = "clio.TakedownActorResponse";
489
+ static readonly fields: FieldList;
490
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TakedownActorResponse;
491
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TakedownActorResponse;
492
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TakedownActorResponse;
493
+ static equals(a: TakedownActorResponse | PlainMessage<TakedownActorResponse> | undefined, b: TakedownActorResponse | PlainMessage<TakedownActorResponse> | undefined): boolean;
494
+ }
495
+ /**
496
+ * @generated from message clio.UntakedownActorRequest
497
+ */
498
+ export declare class UntakedownActorRequest extends Message<UntakedownActorRequest> {
499
+ /**
500
+ * @generated from field: string did = 1;
501
+ */
502
+ did: string;
503
+ /**
504
+ * @generated from field: google.protobuf.Timestamp seen = 2;
505
+ */
506
+ seen?: Timestamp;
507
+ constructor(data?: PartialMessage<UntakedownActorRequest>);
508
+ static readonly runtime: typeof proto3;
509
+ static readonly typeName = "clio.UntakedownActorRequest";
510
+ static readonly fields: FieldList;
511
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UntakedownActorRequest;
512
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UntakedownActorRequest;
513
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UntakedownActorRequest;
514
+ static equals(a: UntakedownActorRequest | PlainMessage<UntakedownActorRequest> | undefined, b: UntakedownActorRequest | PlainMessage<UntakedownActorRequest> | undefined): boolean;
515
+ }
516
+ /**
517
+ * @generated from message clio.UntakedownActorResponse
518
+ */
519
+ export declare class UntakedownActorResponse extends Message<UntakedownActorResponse> {
520
+ constructor(data?: PartialMessage<UntakedownActorResponse>);
521
+ static readonly runtime: typeof proto3;
522
+ static readonly typeName = "clio.UntakedownActorResponse";
523
+ static readonly fields: FieldList;
524
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UntakedownActorResponse;
525
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UntakedownActorResponse;
526
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UntakedownActorResponse;
527
+ static equals(a: UntakedownActorResponse | PlainMessage<UntakedownActorResponse> | undefined, b: UntakedownActorResponse | PlainMessage<UntakedownActorResponse> | undefined): boolean;
528
+ }
529
+ /**
530
+ * @generated from message clio.TakedownBlobRequest
531
+ */
532
+ export declare class TakedownBlobRequest extends Message<TakedownBlobRequest> {
533
+ /**
534
+ * @generated from field: string did = 1;
535
+ */
536
+ did: string;
537
+ /**
538
+ * @generated from field: string cid = 2;
539
+ */
540
+ cid: string;
541
+ /**
542
+ * @generated from field: string ref = 3;
543
+ */
544
+ ref: string;
545
+ /**
546
+ * @generated from field: google.protobuf.Timestamp seen = 4;
547
+ */
548
+ seen?: Timestamp;
549
+ constructor(data?: PartialMessage<TakedownBlobRequest>);
550
+ static readonly runtime: typeof proto3;
551
+ static readonly typeName = "clio.TakedownBlobRequest";
552
+ static readonly fields: FieldList;
553
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TakedownBlobRequest;
554
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TakedownBlobRequest;
555
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TakedownBlobRequest;
556
+ static equals(a: TakedownBlobRequest | PlainMessage<TakedownBlobRequest> | undefined, b: TakedownBlobRequest | PlainMessage<TakedownBlobRequest> | undefined): boolean;
557
+ }
558
+ /**
559
+ * @generated from message clio.TakedownBlobResponse
560
+ */
561
+ export declare class TakedownBlobResponse extends Message<TakedownBlobResponse> {
562
+ constructor(data?: PartialMessage<TakedownBlobResponse>);
563
+ static readonly runtime: typeof proto3;
564
+ static readonly typeName = "clio.TakedownBlobResponse";
565
+ static readonly fields: FieldList;
566
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TakedownBlobResponse;
567
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TakedownBlobResponse;
568
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TakedownBlobResponse;
569
+ static equals(a: TakedownBlobResponse | PlainMessage<TakedownBlobResponse> | undefined, b: TakedownBlobResponse | PlainMessage<TakedownBlobResponse> | undefined): boolean;
570
+ }
571
+ /**
572
+ * @generated from message clio.UntakedownBlobRequest
573
+ */
574
+ export declare class UntakedownBlobRequest extends Message<UntakedownBlobRequest> {
575
+ /**
576
+ * @generated from field: string did = 1;
577
+ */
578
+ did: string;
579
+ /**
580
+ * @generated from field: string cid = 2;
581
+ */
582
+ cid: string;
583
+ /**
584
+ * @generated from field: google.protobuf.Timestamp seen = 3;
585
+ */
586
+ seen?: Timestamp;
587
+ constructor(data?: PartialMessage<UntakedownBlobRequest>);
588
+ static readonly runtime: typeof proto3;
589
+ static readonly typeName = "clio.UntakedownBlobRequest";
590
+ static readonly fields: FieldList;
591
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UntakedownBlobRequest;
592
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UntakedownBlobRequest;
593
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UntakedownBlobRequest;
594
+ static equals(a: UntakedownBlobRequest | PlainMessage<UntakedownBlobRequest> | undefined, b: UntakedownBlobRequest | PlainMessage<UntakedownBlobRequest> | undefined): boolean;
595
+ }
596
+ /**
597
+ * @generated from message clio.UntakedownBlobResponse
598
+ */
599
+ export declare class UntakedownBlobResponse extends Message<UntakedownBlobResponse> {
600
+ constructor(data?: PartialMessage<UntakedownBlobResponse>);
601
+ static readonly runtime: typeof proto3;
602
+ static readonly typeName = "clio.UntakedownBlobResponse";
603
+ static readonly fields: FieldList;
604
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UntakedownBlobResponse;
605
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UntakedownBlobResponse;
606
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UntakedownBlobResponse;
607
+ static equals(a: UntakedownBlobResponse | PlainMessage<UntakedownBlobResponse> | undefined, b: UntakedownBlobResponse | PlainMessage<UntakedownBlobResponse> | undefined): boolean;
608
+ }
609
+ /**
610
+ * @generated from message clio.TakedownRecordRequest
611
+ */
612
+ export declare class TakedownRecordRequest extends Message<TakedownRecordRequest> {
613
+ /**
614
+ * @generated from field: string record_uri = 1;
615
+ */
616
+ recordUri: string;
617
+ /**
618
+ * @generated from field: string ref = 2;
619
+ */
620
+ ref: string;
621
+ /**
622
+ * @generated from field: google.protobuf.Timestamp seen = 3;
623
+ */
624
+ seen?: Timestamp;
625
+ constructor(data?: PartialMessage<TakedownRecordRequest>);
626
+ static readonly runtime: typeof proto3;
627
+ static readonly typeName = "clio.TakedownRecordRequest";
628
+ static readonly fields: FieldList;
629
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TakedownRecordRequest;
630
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TakedownRecordRequest;
631
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TakedownRecordRequest;
632
+ static equals(a: TakedownRecordRequest | PlainMessage<TakedownRecordRequest> | undefined, b: TakedownRecordRequest | PlainMessage<TakedownRecordRequest> | undefined): boolean;
633
+ }
634
+ /**
635
+ * @generated from message clio.TakedownRecordResponse
636
+ */
637
+ export declare class TakedownRecordResponse extends Message<TakedownRecordResponse> {
638
+ constructor(data?: PartialMessage<TakedownRecordResponse>);
639
+ static readonly runtime: typeof proto3;
640
+ static readonly typeName = "clio.TakedownRecordResponse";
641
+ static readonly fields: FieldList;
642
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TakedownRecordResponse;
643
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TakedownRecordResponse;
644
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TakedownRecordResponse;
645
+ static equals(a: TakedownRecordResponse | PlainMessage<TakedownRecordResponse> | undefined, b: TakedownRecordResponse | PlainMessage<TakedownRecordResponse> | undefined): boolean;
646
+ }
647
+ /**
648
+ * @generated from message clio.UntakedownRecordRequest
649
+ */
650
+ export declare class UntakedownRecordRequest extends Message<UntakedownRecordRequest> {
651
+ /**
652
+ * @generated from field: string record_uri = 1;
653
+ */
654
+ recordUri: string;
655
+ /**
656
+ * @generated from field: google.protobuf.Timestamp seen = 2;
657
+ */
658
+ seen?: Timestamp;
659
+ constructor(data?: PartialMessage<UntakedownRecordRequest>);
660
+ static readonly runtime: typeof proto3;
661
+ static readonly typeName = "clio.UntakedownRecordRequest";
662
+ static readonly fields: FieldList;
663
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UntakedownRecordRequest;
664
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UntakedownRecordRequest;
665
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UntakedownRecordRequest;
666
+ static equals(a: UntakedownRecordRequest | PlainMessage<UntakedownRecordRequest> | undefined, b: UntakedownRecordRequest | PlainMessage<UntakedownRecordRequest> | undefined): boolean;
667
+ }
668
+ /**
669
+ * @generated from message clio.UntakedownRecordResponse
670
+ */
671
+ export declare class UntakedownRecordResponse extends Message<UntakedownRecordResponse> {
672
+ constructor(data?: PartialMessage<UntakedownRecordResponse>);
673
+ static readonly runtime: typeof proto3;
674
+ static readonly typeName = "clio.UntakedownRecordResponse";
675
+ static readonly fields: FieldList;
676
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UntakedownRecordResponse;
677
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UntakedownRecordResponse;
678
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UntakedownRecordResponse;
679
+ static equals(a: UntakedownRecordResponse | PlainMessage<UntakedownRecordResponse> | undefined, b: UntakedownRecordResponse | PlainMessage<UntakedownRecordResponse> | undefined): boolean;
680
+ }
381
681
  /**
382
682
  * @generated from message clio.UpdateActorUpstreamStatusRequest
383
683
  */
@@ -416,6 +716,124 @@ export declare class UpdateActorUpstreamStatusResponse extends Message<UpdateAct
416
716
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateActorUpstreamStatusResponse;
417
717
  static equals(a: UpdateActorUpstreamStatusResponse | PlainMessage<UpdateActorUpstreamStatusResponse> | undefined, b: UpdateActorUpstreamStatusResponse | PlainMessage<UpdateActorUpstreamStatusResponse> | undefined): boolean;
418
718
  }
719
+ /**
720
+ * @generated from message clio.GetBlobTakedownRequest
721
+ */
722
+ export declare class GetBlobTakedownRequest extends Message<GetBlobTakedownRequest> {
723
+ /**
724
+ * @generated from field: string did = 1;
725
+ */
726
+ did: string;
727
+ /**
728
+ * @generated from field: string cid = 2;
729
+ */
730
+ cid: string;
731
+ constructor(data?: PartialMessage<GetBlobTakedownRequest>);
732
+ static readonly runtime: typeof proto3;
733
+ static readonly typeName = "clio.GetBlobTakedownRequest";
734
+ static readonly fields: FieldList;
735
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetBlobTakedownRequest;
736
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetBlobTakedownRequest;
737
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBlobTakedownRequest;
738
+ static equals(a: GetBlobTakedownRequest | PlainMessage<GetBlobTakedownRequest> | undefined, b: GetBlobTakedownRequest | PlainMessage<GetBlobTakedownRequest> | undefined): boolean;
739
+ }
740
+ /**
741
+ * @generated from message clio.GetBlobTakedownResponse
742
+ */
743
+ export declare class GetBlobTakedownResponse extends Message<GetBlobTakedownResponse> {
744
+ /**
745
+ * @generated from field: bool taken_down = 1;
746
+ */
747
+ takenDown: boolean;
748
+ /**
749
+ * @generated from field: string takedown_ref = 2;
750
+ */
751
+ takedownRef: string;
752
+ constructor(data?: PartialMessage<GetBlobTakedownResponse>);
753
+ static readonly runtime: typeof proto3;
754
+ static readonly typeName = "clio.GetBlobTakedownResponse";
755
+ static readonly fields: FieldList;
756
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetBlobTakedownResponse;
757
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetBlobTakedownResponse;
758
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBlobTakedownResponse;
759
+ static equals(a: GetBlobTakedownResponse | PlainMessage<GetBlobTakedownResponse> | undefined, b: GetBlobTakedownResponse | PlainMessage<GetBlobTakedownResponse> | undefined): boolean;
760
+ }
761
+ /**
762
+ * @generated from message clio.GetActorTakedownRequest
763
+ */
764
+ export declare class GetActorTakedownRequest extends Message<GetActorTakedownRequest> {
765
+ /**
766
+ * @generated from field: string did = 1;
767
+ */
768
+ did: string;
769
+ constructor(data?: PartialMessage<GetActorTakedownRequest>);
770
+ static readonly runtime: typeof proto3;
771
+ static readonly typeName = "clio.GetActorTakedownRequest";
772
+ static readonly fields: FieldList;
773
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetActorTakedownRequest;
774
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetActorTakedownRequest;
775
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetActorTakedownRequest;
776
+ static equals(a: GetActorTakedownRequest | PlainMessage<GetActorTakedownRequest> | undefined, b: GetActorTakedownRequest | PlainMessage<GetActorTakedownRequest> | undefined): boolean;
777
+ }
778
+ /**
779
+ * @generated from message clio.GetActorTakedownResponse
780
+ */
781
+ export declare class GetActorTakedownResponse extends Message<GetActorTakedownResponse> {
782
+ /**
783
+ * @generated from field: bool taken_down = 1;
784
+ */
785
+ takenDown: boolean;
786
+ /**
787
+ * @generated from field: string takedown_ref = 2;
788
+ */
789
+ takedownRef: string;
790
+ constructor(data?: PartialMessage<GetActorTakedownResponse>);
791
+ static readonly runtime: typeof proto3;
792
+ static readonly typeName = "clio.GetActorTakedownResponse";
793
+ static readonly fields: FieldList;
794
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetActorTakedownResponse;
795
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetActorTakedownResponse;
796
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetActorTakedownResponse;
797
+ static equals(a: GetActorTakedownResponse | PlainMessage<GetActorTakedownResponse> | undefined, b: GetActorTakedownResponse | PlainMessage<GetActorTakedownResponse> | undefined): boolean;
798
+ }
799
+ /**
800
+ * @generated from message clio.GetRecordTakedownRequest
801
+ */
802
+ export declare class GetRecordTakedownRequest extends Message<GetRecordTakedownRequest> {
803
+ /**
804
+ * @generated from field: string record_uri = 1;
805
+ */
806
+ recordUri: string;
807
+ constructor(data?: PartialMessage<GetRecordTakedownRequest>);
808
+ static readonly runtime: typeof proto3;
809
+ static readonly typeName = "clio.GetRecordTakedownRequest";
810
+ static readonly fields: FieldList;
811
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRecordTakedownRequest;
812
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRecordTakedownRequest;
813
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRecordTakedownRequest;
814
+ static equals(a: GetRecordTakedownRequest | PlainMessage<GetRecordTakedownRequest> | undefined, b: GetRecordTakedownRequest | PlainMessage<GetRecordTakedownRequest> | undefined): boolean;
815
+ }
816
+ /**
817
+ * @generated from message clio.GetRecordTakedownResponse
818
+ */
819
+ export declare class GetRecordTakedownResponse extends Message<GetRecordTakedownResponse> {
820
+ /**
821
+ * @generated from field: bool taken_down = 1;
822
+ */
823
+ takenDown: boolean;
824
+ /**
825
+ * @generated from field: string takedown_ref = 2;
826
+ */
827
+ takedownRef: string;
828
+ constructor(data?: PartialMessage<GetRecordTakedownResponse>);
829
+ static readonly runtime: typeof proto3;
830
+ static readonly typeName = "clio.GetRecordTakedownResponse";
831
+ static readonly fields: FieldList;
832
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRecordTakedownResponse;
833
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRecordTakedownResponse;
834
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRecordTakedownResponse;
835
+ static equals(a: GetRecordTakedownResponse | PlainMessage<GetRecordTakedownResponse> | undefined, b: GetRecordTakedownResponse | PlainMessage<GetRecordTakedownResponse> | undefined): boolean;
836
+ }
419
837
  /**
420
838
  * @generated from message clio.HealthCheckRequest
421
839
  */