@remit/api-http-client 0.0.76 → 0.0.77

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.gen.ts +20 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/api-http-client",
3
- "version": "0.0.76",
3
+ "version": "0.0.77",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts",
package/types.gen.ts CHANGED
@@ -7247,9 +7247,18 @@ export type MessageOperationsDescribeMessageErrors = {
7247
7247
  */
7248
7248
  401: ApiError;
7249
7249
  /**
7250
- * Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
7250
+ * No message answers to this id, or the caller may not learn that one does.
7251
+ * `code` is `not_found`, or `message_gone_from_server` when the mail server no
7252
+ * longer holds the message at its UID — another client expunged it or moved it
7253
+ * away before its body was stored. That answer carries `details.messageId`.
7251
7254
  */
7252
7255
  404: ApiError;
7256
+ /**
7257
+ * The same flat 409 body, for a message whose folder and uid do not name the same message.
7258
+ *
7259
+ * `code: "message_placement_unsettled"` — the message is mid-move, so its row names the destination folder while its uid still belongs to the source; acting on that pair would hit whatever the destination holds at that uid. `details` carries `accountId`, `messageId` and `reason`, one of: `in_flight` (the move is still running, and the same request succeeds once it confirms) or `unverified` (the move gave up without confirming, so where the message sits is unknown until the folder is resynced).
7260
+ */
7261
+ 409: ApiError;
7253
7262
  /**
7254
7263
  * The request is well-formed but the thing it names cannot be produced. `code` is `unprocessable_entity`.
7255
7264
  */
@@ -7375,9 +7384,18 @@ export type MessageOperationsGetRawMessageErrors = {
7375
7384
  */
7376
7385
  401: ApiError;
7377
7386
  /**
7378
- * Nothing answers to this address, or the caller may not learn that something does. `code` is `not_found`.
7387
+ * No message answers to this id, or the caller may not learn that one does.
7388
+ * `code` is `not_found`, or `message_gone_from_server` when the mail server no
7389
+ * longer holds the message at its UID — another client expunged it or moved it
7390
+ * away before its body was stored. That answer carries `details.messageId`.
7379
7391
  */
7380
7392
  404: ApiError;
7393
+ /**
7394
+ * The same flat 409 body, for a message whose folder and uid do not name the same message.
7395
+ *
7396
+ * `code: "message_placement_unsettled"` — the message is mid-move, so its row names the destination folder while its uid still belongs to the source; acting on that pair would hit whatever the destination holds at that uid. `details` carries `accountId`, `messageId` and `reason`, one of: `in_flight` (the move is still running, and the same request succeeds once it confirms) or `unverified` (the move gave up without confirming, so where the message sits is unknown until the folder is resynced).
7397
+ */
7398
+ 409: ApiError;
7381
7399
  };
7382
7400
 
7383
7401
  export type MessageOperationsGetRawMessageError = MessageOperationsGetRawMessageErrors[keyof MessageOperationsGetRawMessageErrors];