@remit/api-openapi-types 0.0.4 → 0.0.6

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 +10 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-openapi-types",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "main": "types.d.ts",
6
6
  "types": "types.d.ts",
package/types.d.ts CHANGED
@@ -3983,7 +3983,6 @@ declare namespace Paths {
3983
3983
  }
3984
3984
  export interface QueryParameters {
3985
3985
  order?: Components.Schemas.SortOrder;
3986
- mailboxId?: Components.Schemas.UUID;
3987
3986
  }
3988
3987
  namespace Responses {
3989
3988
  export type $200 = void;
@@ -4393,7 +4392,11 @@ export interface OperationMethods {
4393
4392
  config?: AxiosRequestConfig
4394
4393
  ): OperationResponse<Paths.DeleteAccount.Responses.$200>;
4395
4394
  /**
4396
- * listThreadMessages - Get all messages in a thread. Optionally filter by mailboxId to deduplicate when messages exist in multiple mailboxes.
4395
+ * listThreadMessages - Get all messages in a thread, across every mailbox of the account — a conversation spans INBOX, Sent, Archive and any folder the user filed a message in, so it is never scoped to one mailbox. Soft-deleted messages (including anything moved to Trash) are excluded.
4396
+
4397
+ One entry per piece of mail. A message synced from several folders is stored once, and where a second row exists for the same Message-ID — a copy taken with `copyMessages`, which gives its copy a fresh message id — the oldest is returned and the rest are dropped.
4398
+
4399
+ Ordering: oldest first, by the date the message was sent, with `threadMessageId` breaking ties. A conversation is read in the order it happened, so a reply always follows the message it answers. Pass `order=desc` for the reverse.
4397
4400
  */
4398
4401
  'listThreadMessages'(
4399
4402
  parameters?: Parameters<Paths.ListThreadMessages.PathParameters & Paths.ListThreadMessages.QueryParameters> | null,
@@ -4831,7 +4834,11 @@ export interface PathsDictionary {
4831
4834
  };
4832
4835
  ['/threads/{threadId}/messages']: {
4833
4836
  /**
4834
- * listThreadMessages - Get all messages in a thread. Optionally filter by mailboxId to deduplicate when messages exist in multiple mailboxes.
4837
+ * listThreadMessages - Get all messages in a thread, across every mailbox of the account — a conversation spans INBOX, Sent, Archive and any folder the user filed a message in, so it is never scoped to one mailbox. Soft-deleted messages (including anything moved to Trash) are excluded.
4838
+
4839
+ One entry per piece of mail. A message synced from several folders is stored once, and where a second row exists for the same Message-ID — a copy taken with `copyMessages`, which gives its copy a fresh message id — the oldest is returned and the rest are dropped.
4840
+
4841
+ Ordering: oldest first, by the date the message was sent, with `threadMessageId` breaking ties. A conversation is read in the order it happened, so a reply always follows the message it answers. Pass `order=desc` for the reverse.
4835
4842
  */
4836
4843
  'get'(
4837
4844
  parameters?: Parameters<Paths.ListThreadMessages.PathParameters & Paths.ListThreadMessages.QueryParameters> | null,