@remit/api-openapi-types 0.0.81 → 0.0.83

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +19 -56
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.81",
3
+ "version": "0.0.83",
4
4
  "type": "module",
5
5
  "main": "types.d.ts",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -6374,68 +6374,35 @@ came back.
6374
6374
  updatedAt: number;
6375
6375
  }
6376
6376
  /**
6377
- * Reference to the complete raw message stored externally
6377
+ * The body text the search index matches a message by: the plain text with
6378
+ quoted replies removed and whitespace collapsed, cut at a word boundary to
6379
+ at most 512K characters (524288 UTF-16 code units). Written when the body
6380
+ is stored; the message's snippet stays the display preview.
6378
6381
  */
6379
- export interface RawMessageStorage {
6382
+ export interface MessageSearchText {
6380
6383
  /**
6381
- * Primary identifier
6382
- */
6383
- rawStorageId: UUID;
6384
- /**
6385
- * Reference to parent message
6384
+ * The message the text was derived from.
6386
6385
  */
6387
6386
  messageId: UUID;
6388
6387
  /**
6389
- * Storage backend type
6390
- */
6391
- storageType: StorageType;
6392
- /**
6393
- * Storage location (bucket name or filesystem path)
6394
- */
6395
- storageLocation: string;
6396
- /**
6397
- * Unique key within the storage system
6398
- */
6399
- storageKey: string;
6400
- /**
6401
- * Size in bytes
6402
- */
6403
- sizeBytes: number;
6404
- /**
6405
- * SHA-256 checksum for integrity verification
6406
- */
6407
- checksumSha256: string;
6408
- /**
6409
- * Compression applied to stored content
6388
+ * The indexed body text; empty when the message has none.
6410
6389
  */
6411
- contentEncoding: ContentEncoding;
6412
- /**
6413
- * When the content was stored
6414
- */
6415
- storedAt: number;
6416
- /**
6417
- * Optional expiration for retention policies
6418
- */
6419
- expiresAt?: number;
6390
+ text: string;
6420
6391
  createdAt: number;
6421
6392
  updatedAt: number;
6422
6393
  }
6423
6394
  /**
6424
- * Reference to individual body part content stored externally. Supports deduplication for attachments.
6395
+ * Reference to the complete raw message stored externally
6425
6396
  */
6426
- export interface BodyPartStorage {
6397
+ export interface RawMessageStorage {
6427
6398
  /**
6428
6399
  * Primary identifier
6429
6400
  */
6430
- bodyPartStorageId: UUID;
6401
+ rawStorageId: UUID;
6431
6402
  /**
6432
6403
  * Reference to parent message
6433
6404
  */
6434
6405
  messageId: UUID;
6435
- /**
6436
- * Reference to parent body part
6437
- */
6438
- bodyPartId: UUID;
6439
6406
  /**
6440
6407
  * Storage backend type
6441
6408
  */
@@ -6449,29 +6416,25 @@ came back.
6449
6416
  */
6450
6417
  storageKey: string;
6451
6418
  /**
6452
- * Size in bytes after transfer encoding is removed
6419
+ * Size in bytes
6453
6420
  */
6454
- decodedSizeBytes: number;
6421
+ sizeBytes: number;
6455
6422
  /**
6456
6423
  * SHA-256 checksum for integrity verification
6457
6424
  */
6458
6425
  checksumSha256: string;
6459
6426
  /**
6460
- * Additional compression applied to stored content
6427
+ * Compression applied to stored content
6461
6428
  */
6462
6429
  contentEncoding: ContentEncoding;
6463
- /**
6464
- * True if content-addressed storage is used for deduplication
6465
- */
6466
- isDeduped: boolean;
6467
- /**
6468
- * Hash for deduplication lookups (content-addressable key)
6469
- */
6470
- dedupHash?: string;
6471
6430
  /**
6472
6431
  * When the content was stored
6473
6432
  */
6474
6433
  storedAt: number;
6434
+ /**
6435
+ * Optional expiration for retention policies
6436
+ */
6437
+ expiresAt?: number;
6475
6438
  createdAt: number;
6476
6439
  updatedAt: number;
6477
6440
  }
@@ -9464,8 +9427,8 @@ export type Envelope = Components.Schemas.Envelope;
9464
9427
  export type SenderSignerStanding = Components.Schemas.SenderSignerStanding;
9465
9428
  export type BodyPartParameter = Components.Schemas.BodyPartParameter;
9466
9429
  export type BodyStructureRefetch = Components.Schemas.BodyStructureRefetch;
9430
+ export type MessageSearchText = Components.Schemas.MessageSearchText;
9467
9431
  export type RawMessageStorage = Components.Schemas.RawMessageStorage;
9468
- export type BodyPartStorage = Components.Schemas.BodyPartStorage;
9469
9432
  export type CalendarEventIndex = Components.Schemas.CalendarEventIndex;
9470
9433
  export type CalendarFeedToken = Components.Schemas.CalendarFeedToken;
9471
9434
  export type MessageLabel = Components.Schemas.MessageLabel;