@highlightxyz/sdk 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -84,7 +84,7 @@ export class Collection extends HeyApiClient {
84
84
  /**
85
85
  * Trending collections
86
86
  *
87
- * Public leaderboard of collections ranked by units minted within a rolling time window (24h / 7d / 28d), computed live from the mint ledger.
87
+ * List live collections ranked by units minted in a 24-hour, 7-day, or 28-day rolling window.
88
88
  */
89
89
  trending(parameters, options) {
90
90
  const params = buildClientParams([parameters], [
@@ -105,7 +105,7 @@ export class Collection extends HeyApiClient {
105
105
  /**
106
106
  * Featured collections
107
107
  *
108
- * Public curated showcase of collections for the home page, ordered by editorial position and paginated by cursor.
108
+ * List curated home-page collections in editorial order with cursor pagination.
109
109
  */
110
110
  featured(parameters, options) {
111
111
  const params = buildClientParams([parameters], [
@@ -125,7 +125,7 @@ export class Collection extends HeyApiClient {
125
125
  /**
126
126
  * Get collection
127
127
  *
128
- * Get a collection by its highlight ID, or by a contract reference of the form `<chain>:<contractAddress>[:<editionId>]` (chain slug or numeric chainId; editionId defaults to 0), e.g. `ethereum:0x0c3dd3c403b6B5c0CCe2a97F15820a4Eae347FE7:0`.
128
+ * Get a collection by `highlightId` or by `<chain>:<contractAddress>[:<editionId>]`. The chain can be a slug or numeric ID. `editionId` defaults to 0.
129
129
  */
130
130
  get(parameters, options) {
131
131
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "highlightId" }] }]);
@@ -138,7 +138,7 @@ export class Collection extends HeyApiClient {
138
138
  /**
139
139
  * List series previews
140
140
  *
141
- * List sample artwork for a series collection, resolved from its uploaded assets. Returns an empty list for non-series collections or when assets are not ready. Available for public collections without authentication.
141
+ * List sample artwork from a series collection's uploaded assets. Returns an empty list for other collection types or when the assets are not ready. Public collections do not require authentication.
142
142
  */
143
143
  listPreviews(parameters, options) {
144
144
  const params = buildClientParams([parameters], [
@@ -156,9 +156,9 @@ export class Collection extends HeyApiClient {
156
156
  });
157
157
  }
158
158
  /**
159
- * Finalize collection base URI to Arweave
159
+ * Archive collection metadata to Arweave
160
160
  *
161
- * Publish the collection's token-metadata base URI Directory to Arweave. Call once the collection is complete (sellout or manual trigger) to freeze metadata permanently. Idempotent — safe to call if already archived.
161
+ * Archive the collection's token-metadata directory to Arweave. The operation is idempotent and does not change the contract's base URI.
162
162
  */
163
163
  finalizeBaseUri(parameters, options) {
164
164
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "highlightId" }] }]);
@@ -221,7 +221,7 @@ export class Collection extends HeyApiClient {
221
221
  /**
222
222
  * Update edition details
223
223
  *
224
- * Update edition-specific details (name, description, image, animation, attributes). For a draft collection the change is saved directly. For a live collection it returns a `setEditionURI` transaction to sign — once confirmed on-chain, the backend re-derives the edition and refreshes every token.
224
+ * Update an edition's name, description, image, animation, or attributes. Draft changes are saved directly. Live changes return a `setEditionURI` transaction to sign. After confirmation, the backend re-derives the edition and refreshes every token.
225
225
  */
226
226
  updateEditionDetails(parameters, options) {
227
227
  const params = buildClientParams([parameters], [
@@ -246,7 +246,7 @@ export class Collection extends HeyApiClient {
246
246
  /**
247
247
  * Get collection sales
248
248
  *
249
- * Get all sales for a collection.
249
+ * List the draft and live sales attached to a collection.
250
250
  */
251
251
  getSales(parameters, options) {
252
252
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "highlightId" }] }]);
@@ -259,7 +259,7 @@ export class Collection extends HeyApiClient {
259
259
  /**
260
260
  * Add a sale to a collection
261
261
  *
262
- * Add a new sale to a collection. Draft collections can have one sale at a time. For live collections, gated sales go live immediately; public sales return a contract execution for on-chain registration.
262
+ * Add a sale. A draft collection can have one sale at a time. On a live collection, a gated sale activates immediately and a public sale returns a vector-registration transaction.
263
263
  */
264
264
  addSale(parameters, options) {
265
265
  const params = buildClientParams([parameters], [
@@ -300,7 +300,7 @@ export class Collection extends HeyApiClient {
300
300
  /**
301
301
  * Delete a sale
302
302
  *
303
- * Delete a draft sale from a collection. Live sales cannot be deleted — use update to pause or set an end date instead.
303
+ * Delete a draft sale. A live sale cannot be deleted; pause it or set an end date.
304
304
  */
305
305
  deleteSale(parameters, options) {
306
306
  const params = buildClientParams([parameters], [
@@ -320,7 +320,7 @@ export class Collection extends HeyApiClient {
320
320
  /**
321
321
  * Update a sale
322
322
  *
323
- * Update an existing sale. Draft sales can be updated freely. Live public sales return a contract execution for on-chain updates when on-chain fields change.
323
+ * Update a sale. Draft and gated sales update off-chain. Supported changes to a live public sale return an on-chain vector-update transaction.
324
324
  */
325
325
  updateSale(parameters, options) {
326
326
  const params = buildClientParams([parameters], [
@@ -357,7 +357,7 @@ export class Collection extends HeyApiClient {
357
357
  /**
358
358
  * Claim collection sale
359
359
  *
360
- * Build a claim transaction configuration for a collector sale action.
360
+ * Build a collector's mint transaction for a fixed-price, Dutch, or ranked sale.
361
361
  */
362
362
  claimSale(parameters, options) {
363
363
  const params = buildClientParams([parameters], [
@@ -384,7 +384,7 @@ export class Collection extends HeyApiClient {
384
384
  /**
385
385
  * Bid on an auction sale
386
386
  *
387
- * Build a bid transaction configuration for an auction sale. For ranked auctions, places or updates an on-chain bid. For English auctions, returns an executor-signed bid claim plus the `AuctionManager.bid` call (with `value` = the bid amount); the optional `preferredNftRecipient` sets where the NFT is delivered if this bidder wins.
387
+ * Build a ranked- or English-auction bid transaction. For an English auction, `preferredNftRecipient` sets the wallet that receives the NFT if the bid wins.
388
388
  */
389
389
  bidSale(parameters, options) {
390
390
  const params = buildClientParams([parameters], [
@@ -412,7 +412,7 @@ export class Collection extends HeyApiClient {
412
412
  /**
413
413
  * Reclaim a non-winning ranked-auction bid
414
414
  *
415
- * Build a transaction to reclaim the funds locked in a non-winning ranked-auction bid after the auction has ended.
415
+ * Build a transaction that reclaims a non-winning ranked-auction bid after the auction ends.
416
416
  */
417
417
  reclaimBid(parameters, options) {
418
418
  const params = buildClientParams([parameters], [
@@ -438,7 +438,7 @@ export class Collection extends HeyApiClient {
438
438
  /**
439
439
  * Withdraw ranked-auction earnings
440
440
  *
441
- * Build a transaction to withdraw a ranked auction's cumulative earnings to the payment recipient after the auction has ended. Native-currency auctions only.
441
+ * Build a transaction that sends a completed ranked auction's native-currency earnings to its payment recipient.
442
442
  */
443
443
  claimAuctionEarnings(parameters, options) {
444
444
  const params = buildClientParams([parameters], [
@@ -463,7 +463,7 @@ export class Collection extends HeyApiClient {
463
463
  /**
464
464
  * Get ranked-auction live standings
465
465
  *
466
- * Public read-model for a ranked auction: the current clearing price and each bid's winning/losing status (provisional while live, frozen once settled). Includes the authenticated viewer's winning-bid count and tokens left to claim when a bearer token is supplied.
466
+ * Get a ranked auction's clearing price and bid standings. Results are provisional before settlement. An authenticated response also includes the caller's winning bids and unclaimed tokens.
467
467
  */
468
468
  rankedAuctionStandings(parameters, options) {
469
469
  const params = buildClientParams([parameters], [
@@ -483,7 +483,7 @@ export class Collection extends HeyApiClient {
483
483
  /**
484
484
  * Fulfill (settle) an English auction
485
485
  *
486
- * Build the permissionless `AuctionManager.fulfillAuction` transaction. After the auction's end time anyone may settle it: the contract delivers the escrowed NFT to the winner's preferred recipient and splits the proceeds (95% recipient / 5% platform).
486
+ * Build an `AuctionManager.fulfillAuction` transaction after the auction ends. Any authenticated caller can settle; the contract sends the NFT to the winner's preferred recipient and splits the proceeds.
487
487
  */
488
488
  fulfillEnglishAuction(parameters, options) {
489
489
  const params = buildClientParams([parameters], [
@@ -508,7 +508,7 @@ export class Collection extends HeyApiClient {
508
508
  /**
509
509
  * Cancel an English auction
510
510
  *
511
- * Build the `AuctionManager.cancelAuctionOnChain` transaction. The contract enforces owner-only and that no reserve-meeting bid has landed; any escrowed NFT is returned to the owner. Creator only.
511
+ * Build the creator-only `AuctionManager.cancelAuctionOnChain` transaction. Cancellation fails after a bid meets the reserve. The contract returns any escrowed NFT to the owner.
512
512
  */
513
513
  cancelEnglishAuction(parameters, options) {
514
514
  const params = buildClientParams([parameters], [
@@ -533,7 +533,7 @@ export class Collection extends HeyApiClient {
533
533
  /**
534
534
  * Get English auction standings
535
535
  *
536
- * Public read-model for an English auction: lifecycle state, reserve, current highest bid/bidder, end time, escrowed token, and creator earnings — served from the chain-reconciled projection. Includes whether the authenticated viewer is the current highest bidder when a bearer token is supplied.
536
+ * Get an English auction's status, reserve, highest bid and bidder, end time, escrowed token, and creator earnings. An authenticated response indicates whether the caller is the highest bidder.
537
537
  */
538
538
  englishAuctionStanding(parameters, options) {
539
539
  const params = buildClientParams([parameters], [
@@ -553,7 +553,7 @@ export class Collection extends HeyApiClient {
553
553
  /**
554
554
  * Get English auction bid history
555
555
  *
556
- * Public read-model: the English auction's bid history (newest first), sourced from the indexer's `Bid`-event ledger. Amounts are raw on-chain base units (wei) in the sale's currency.
556
+ * List an English auction's indexed bids from newest to oldest. Amounts use the currency's raw on-chain base unit.
557
557
  */
558
558
  englishAuctionBids(parameters, options) {
559
559
  const params = buildClientParams([parameters], [
@@ -599,7 +599,7 @@ export class Collection extends HeyApiClient {
599
599
  /**
600
600
  * Cancel a deployment
601
601
  *
602
- * Cancel a deployment that has not yet completed. Terminates the running workflow, deletes the deployment row, and rolls the collection back to Draft. On contracts shared with other collections the contract is left unchanged; otherwise it is reset to Draft. After cancelling, the collection can be re-deployed from scratch.
602
+ * Cancel an incomplete deployment and return the collection to Draft. A shared contract keeps its current status; a non-shared contract returns to Draft. The collection can then be deployed again.
603
603
  */
604
604
  deployCancel(parameters, options) {
605
605
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "highlightId" }] }]);
@@ -640,7 +640,7 @@ export class Token extends HeyApiClient {
640
640
  /**
641
641
  * List token attribute facets
642
642
  *
643
- * Get the trait/value facets with token counts for a collection — the data a filter sidebar renders. Available for public collections without authentication.
643
+ * List trait values and token counts for collection filters. Public collections do not require authentication.
644
644
  */
645
645
  attributeFacets(parameters, options) {
646
646
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "highlightId" }] }]);
@@ -690,6 +690,19 @@ export class Token extends HeyApiClient {
690
690
  ...params,
691
691
  });
692
692
  }
693
+ /**
694
+ * Re-drive stuck token reveals
695
+ *
696
+ * Reschedule failed and stale pending token reveals. Minted tokens restart from their original mint transaction. Imported tokens without transfer history rerun metadata indexing only.
697
+ */
698
+ redriveReveals(parameters, options) {
699
+ const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "highlightId" }] }]);
700
+ return (options?.client ?? this.client).post({
701
+ url: "/collection/{highlightId}/tokens/redrive-reveals",
702
+ ...options,
703
+ ...params,
704
+ });
705
+ }
693
706
  }
694
707
  export class Config extends HeyApiClient {
695
708
  /**
@@ -763,7 +776,7 @@ export class Gate extends HeyApiClient {
763
776
  /**
764
777
  * List gates
765
778
  *
766
- * List all gates for the authenticated user.
779
+ * List gates owned by the authenticated account.
767
780
  */
768
781
  list(options) {
769
782
  return (options?.client ?? this.client).get({
@@ -853,7 +866,7 @@ export class Gate extends HeyApiClient {
853
866
  /**
854
867
  * Preview a collection
855
868
  *
856
- * Resolve an NFT contract for the gate builder — a Highlight collection if we host it, otherwise external NFT data.
869
+ * Resolve an NFT contract for a gate builder. Returns a Highlight collection when available, otherwise external NFT data.
857
870
  */
858
871
  previewCollection(parameters, options) {
859
872
  const params = buildClientParams([parameters], [
@@ -1085,7 +1098,7 @@ export class Mechanic extends HeyApiClient {
1085
1098
  /**
1086
1099
  * Add mechanic deployment
1087
1100
  *
1088
- * Register a mechanic contract deployment on a specific chain. Upserts if a deployment already exists for the chain.
1101
+ * Register a mechanic's contract address on a chain. Replaces the address if that chain already has one.
1089
1102
  */
1090
1103
  addDeployment(parameters, options) {
1091
1104
  const params = buildClientParams([parameters], [
@@ -1113,7 +1126,7 @@ export class Media extends HeyApiClient {
1113
1126
  /**
1114
1127
  * Create media upload session
1115
1128
  *
1116
- * Create a media asset and return the worker upload URL the client should PUT bytes to. Call /:mediaId/process once the PUT completes.
1129
+ * Create a pending media asset and return an upload URL with the required request headers.
1117
1130
  */
1118
1131
  createUploadSession(parameters, options) {
1119
1132
  const params = buildClientParams([parameters], [
@@ -1141,7 +1154,7 @@ export class Media extends HeyApiClient {
1141
1154
  /**
1142
1155
  * Upload media bytes
1143
1156
  *
1144
- * Stream the file body to the worker, which writes it to storage and immediately drives the asset through processing. File assets come back Ready; Directory assets come back Processing (zip extraction running). Call /:mediaId/process to retry a Failed Directory.
1157
+ * Write the request body to storage and start processing. Files return Ready; directories return Processing while extraction runs.
1145
1158
  */
1146
1159
  upload(parameters, options) {
1147
1160
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "mediaId" }] }]);
@@ -1154,7 +1167,7 @@ export class Media extends HeyApiClient {
1154
1167
  /**
1155
1168
  * Process a media asset
1156
1169
  *
1157
- * Drive the media asset toward Ready. Call after PUTting bytes to /:mediaId/upload to finalize the upload (File assets become Ready; Directory assets trigger zip extraction). Idempotent — assets that are already Ready or currently Processing are returned as-is. Failed Directory assets re-trigger extraction.
1170
+ * Retry processing for a failed directory. The operation is idempotent and leaves Ready or Processing assets unchanged.
1158
1171
  */
1159
1172
  process(parameters, options) {
1160
1173
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "mediaId" }] }]);
@@ -1165,9 +1178,9 @@ export class Media extends HeyApiClient {
1165
1178
  });
1166
1179
  }
1167
1180
  /**
1168
- * List children of a Directory media asset
1181
+ * List directory files
1169
1182
  *
1170
- * Returns a paginated list of File children (e.g. per-token metadata or extracted archive files).
1183
+ * List the extracted files in a directory with cursor pagination.
1171
1184
  */
1172
1185
  listChildren(parameters, options) {
1173
1186
  const params = buildClientParams([parameters], [
@@ -1188,7 +1201,7 @@ export class Media extends HeyApiClient {
1188
1201
  /**
1189
1202
  * Delete a media asset
1190
1203
  *
1191
- * Delete the media asset and its R2 objects. Arweave archive locations remain on-chain (immutable) but are no longer referenced. Fails with 409 if still referenced by a collection contract or generative collection code.
1204
+ * Delete a media record and its R2 objects. An immutable Arweave archive remains available. Returns 409 when a contract or generative collection still references the media.
1192
1205
  */
1193
1206
  delete(parameters, options) {
1194
1207
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "mediaId" }] }]);
@@ -1214,7 +1227,7 @@ export class Media extends HeyApiClient {
1214
1227
  /**
1215
1228
  * Publish media to archive
1216
1229
  *
1217
- * Mirror the media asset to its immutable archive provider (Arweave). File media publishes the single blob; Directory media publishes a manifest of all children. Idempotent — returns early if already archived.
1230
+ * Archive media to Arweave. Files publish one blob; directories publish their children and a manifest. The operation is idempotent.
1218
1231
  */
1219
1232
  publish(parameters, options) {
1220
1233
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "mediaId" }] }]);
@@ -1225,9 +1238,9 @@ export class Media extends HeyApiClient {
1225
1238
  });
1226
1239
  }
1227
1240
  /**
1228
- * Get a child File Entity by path
1241
+ * Get a child file by path
1229
1242
  *
1230
- * Returns the child File's full Entity (with locations and status). Use a location's `url` to fetch bytes directly from the storage provider.
1243
+ * Get an extracted file by path, including its status and storage locations.
1231
1244
  */
1232
1245
  getChild(parameters, options) {
1233
1246
  const params = buildClientParams([parameters], [
@@ -1247,9 +1260,9 @@ export class Media extends HeyApiClient {
1247
1260
  }
1248
1261
  export class Tx extends HeyApiClient {
1249
1262
  /**
1250
- * Get transaction finalization status
1263
+ * Get transaction status
1251
1264
  *
1252
- * Returns the current finalization status for a transaction: the set of domain milestones (e.g. collection going live, sale going live) it must complete, and whether each is done. Overall is `Ready` only when every expected milestone is done. Use the `/ws` variant for live push updates instead of polling.
1265
+ * Get the transaction's domain milestones and their status. The overall status reaches Ready after all expected milestones finish. Use the `/ws` route for live updates.
1253
1266
  */
1254
1267
  status(parameters, options) {
1255
1268
  const params = buildClientParams([parameters], [
@@ -1269,7 +1282,7 @@ export class Tx extends HeyApiClient {
1269
1282
  /**
1270
1283
  * Submit a transaction for tracking
1271
1284
  *
1272
- * Hand a broadcast transaction hash to the backend so it is processed end-to-end (collection/sale/bid/mint effects) and its finalization milestones become available. Returns the current status snapshot; subscribe to the `/ws` variant to await finalization.
1285
+ * Submit a broadcast transaction hash for domain processing and milestone tracking. Returns the current snapshot; use the `/ws` route for live updates.
1273
1286
  */
1274
1287
  submit(parameters, options) {
1275
1288
  const params = buildClientParams([parameters], [
@@ -1287,11 +1300,86 @@ export class Tx extends HeyApiClient {
1287
1300
  });
1288
1301
  }
1289
1302
  }
1303
+ export class Profile extends HeyApiClient {
1304
+ /**
1305
+ * Get authenticated profile
1306
+ *
1307
+ * Get the private profile for the authenticated account, including its email.
1308
+ */
1309
+ get(options) {
1310
+ return (options?.client ?? this.client).get({ url: "/user/profile", ...options });
1311
+ }
1312
+ /**
1313
+ * Update authenticated profile
1314
+ *
1315
+ * Update private profile fields. Avatar media must be an owned, ready User-scope image file.
1316
+ */
1317
+ update(parameters, options) {
1318
+ const params = buildClientParams([parameters], [
1319
+ {
1320
+ args: [
1321
+ { in: "body", key: "displayName" },
1322
+ { in: "body", key: "bio" },
1323
+ { in: "body", key: "website" },
1324
+ { in: "body", key: "avatarMediaId" },
1325
+ ],
1326
+ },
1327
+ ]);
1328
+ return (options?.client ?? this.client).patch({
1329
+ url: "/user/profile",
1330
+ ...options,
1331
+ ...params,
1332
+ headers: {
1333
+ "Content-Type": "application/json",
1334
+ ...options?.headers,
1335
+ ...params.headers,
1336
+ },
1337
+ });
1338
+ }
1339
+ /**
1340
+ * Get public profile
1341
+ *
1342
+ * Get a wallet's public profile. Valid wallet addresses without a registered account return an address-only fallback profile.
1343
+ */
1344
+ public(parameters, options) {
1345
+ const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "walletAddress" }] }]);
1346
+ return (options?.client ?? this.client).get({
1347
+ url: "/user/{walletAddress}/profile",
1348
+ ...options,
1349
+ ...params,
1350
+ });
1351
+ }
1352
+ /**
1353
+ * List public wallet tokens
1354
+ *
1355
+ * Get a wallet's token holdings across live collections. This is available for every valid EVM address, including addresses without a registered account.
1356
+ */
1357
+ tokens(parameters, options) {
1358
+ const params = buildClientParams([parameters], [
1359
+ {
1360
+ args: [
1361
+ { in: "path", key: "walletAddress" },
1362
+ { in: "query", key: "page" },
1363
+ { in: "query", key: "limit" },
1364
+ { in: "query", key: "sort" },
1365
+ { in: "query", key: "order" },
1366
+ { in: "query", key: "collectionId" },
1367
+ { in: "query", key: "search" },
1368
+ ],
1369
+ },
1370
+ ]);
1371
+ return (options?.client ?? this.client).get({
1372
+ url: "/user/{walletAddress}/tokens",
1373
+ ...options,
1374
+ ...params,
1375
+ });
1376
+ }
1377
+ }
1290
1378
  export class Siwe extends HeyApiClient {
1291
1379
  /**
1292
1380
  * Issue a SIWE nonce
1293
1381
  *
1294
- * Issues a single-use, short-lived nonce for use as the `nonce` field of a SIWE (EIP-4361) message.
1382
+ * Issue a single-use, short-lived nonce for the `nonce` field of a SIWE (EIP-4361) message.
1295
1383
  */
1296
1384
  nonce(options) {
1297
1385
  return (options?.client ?? this.client).post({ url: "/user/signin/siwe/nonce", ...options });
@@ -1299,9 +1387,9 @@ export class Siwe extends HeyApiClient {
1299
1387
  }
1300
1388
  export class User extends HeyApiClient {
1301
1389
  /**
1302
- * Sign in user
1390
+ * Sign in
1303
1391
  *
1304
- * Sign in with a provider credential (Privy id_token or SIWE message + signature) and receive access/refresh tokens plus user.
1392
+ * Exchange a Privy ID token or signed SIWE message for Highlight access and refresh tokens.
1305
1393
  */
1306
1394
  signin(parameters, options) {
1307
1395
  const params = buildClientParams([parameters], [{ args: [{ key: "body", map: "body" }] }]);
@@ -1388,6 +1476,11 @@ export class HighlightClient extends HeyApiClient {
1388
1476
  super(args);
1389
1477
  HighlightClient.__registry.set(this, args?.key);
1390
1478
  }
1479
+ /**
1480
+ * Activate a chain indexer
1481
+ *
1482
+ * Start or wake indexing for an enabled chain. Administrative use only.
1483
+ */
1391
1484
  postIndexerChainsByChainIdActivate(parameters, options) {
1392
1485
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "chainId" }] }]);
1393
1486
  return (options?.client ?? this.client).post({
@@ -1396,6 +1489,11 @@ export class HighlightClient extends HeyApiClient {
1396
1489
  ...params,
1397
1490
  });
1398
1491
  }
1492
+ /**
1493
+ * Reset a chain indexer
1494
+ *
1495
+ * Move a chain's indexing cursor to a block so later polls reprocess from that point. Administrative use only.
1496
+ */
1399
1497
  postIndexerChainsByChainIdReset(parameters, options) {
1400
1498
  const params = buildClientParams([parameters], [
1401
1499
  {
@@ -1416,6 +1514,11 @@ export class HighlightClient extends HeyApiClient {
1416
1514
  },
1417
1515
  });
1418
1516
  }
1517
+ /**
1518
+ * Poll a chain indexer
1519
+ *
1520
+ * Run one indexing cycle for an enabled chain. Administrative use only.
1521
+ */
1419
1522
  postIndexerChainsByChainIdPoll(parameters, options) {
1420
1523
  const params = buildClientParams([parameters], [{ args: [{ in: "path", key: "chainId" }] }]);
1421
1524
  return (options?.client ?? this.client).post({
@@ -1456,6 +1559,10 @@ export class HighlightClient extends HeyApiClient {
1456
1559
  get tx() {
1457
1560
  return (this._tx ??= new Tx({ client: this.client }));
1458
1561
  }
1562
+ _profile;
1563
+ get profile() {
1564
+ return (this._profile ??= new Profile({ client: this.client }));
1565
+ }
1459
1566
  _user;
1460
1567
  get user() {
1461
1568
  return (this._user ??= new User({ client: this.client }));