Skip to content

Commit d430de7

Browse files
feat(api): api update
1 parent 2ab3844 commit d430de7

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 23
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-8f8a57e111ea6cc4b4e535c9c4917d902662c4ffc87132a184fbf01d14df5c20.yml
3-
openapi_spec_hash: 004f44e42954cb0a7d9e879fb6bb8ad0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-f2cd7385e169a356f698ecd455bdc0c191d76039b1e78887a148a72174554712.yml
3+
openapi_spec_hash: 7a58abbb0ddcc6a9f3dff6d6d25c98c5
44
config_hash: bd77d0b7029518c697756456d6854f07

src/resources/memories.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -382,10 +382,10 @@ export interface MemoryUpdateParams {
382382

383383
/**
384384
* Body param: Custom metadata for filtering. Keys must be alphanumeric with
385-
* underscores, max 64 chars. Values must be string, number, or boolean. Will be
386-
* merged with existing metadata.
385+
* underscores, max 64 chars. Values must be string, number, boolean, or null. Will
386+
* be merged with existing metadata.
387387
*/
388-
metadata?: { [key: string]: string | number | boolean } | unknown | null;
388+
metadata?: { [key: string]: string | number | boolean | null } | unknown | null;
389389

390390
/**
391391
* Body param: Full text of the document. If provided, the document will be
@@ -465,9 +465,9 @@ export interface MemoryAddParams {
465465

466466
/**
467467
* Custom metadata for filtering. Keys must be alphanumeric with underscores, max
468-
* 64 chars. Values must be string, number, or boolean.
468+
* 64 chars. Values must be string, number, boolean, or null.
469469
*/
470-
metadata?: { [key: string]: string | number | boolean } | null;
470+
metadata?: { [key: string]: string | number | boolean | null } | null;
471471

472472
/**
473473
* The resource ID to add the document to. If not provided, a new resource ID will
@@ -510,9 +510,9 @@ export namespace MemoryAddBulkParams {
510510

511511
/**
512512
* Custom metadata for filtering. Keys must be alphanumeric with underscores, max
513-
* 64 chars. Values must be string, number, or boolean.
513+
* 64 chars. Values must be string, number, boolean, or null.
514514
*/
515-
metadata?: { [key: string]: string | number | boolean } | null;
515+
metadata?: { [key: string]: string | number | boolean | null } | null;
516516

517517
/**
518518
* The resource ID to add the document to. If not provided, a new resource ID will

0 commit comments

Comments
 (0)