@clioplaylists/clio 0.1.6 → 0.1.8

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