@remit/api-openapi-types 0.0.79 → 0.0.80
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.
- package/package.json +1 -1
- package/types.d.ts +32 -8
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -679,14 +679,13 @@ version it now has. `code` is `precondition_failed`.
|
|
|
679
679
|
details?: Record;
|
|
680
680
|
}
|
|
681
681
|
/**
|
|
682
|
-
*
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
`code: "message_placement_unsettled"` — as `MessagePlacementConflict`, with `details` carrying `accountId`, `messageId` and `reason`.
|
|
682
|
+
* No message answers to this id, or the caller may not learn that one does.
|
|
683
|
+
`code` is `not_found`, or `message_gone_from_server` when the mail server no
|
|
684
|
+
longer holds the message at its UID — another client expunged it or moved it
|
|
685
|
+
away before its body was stored. That answer carries `details.messageId`.
|
|
687
686
|
*/
|
|
688
|
-
export interface
|
|
689
|
-
statusCode:
|
|
687
|
+
export interface MessageNotFoundError {
|
|
688
|
+
statusCode: 404;
|
|
690
689
|
/**
|
|
691
690
|
* Stable token naming the refusal. Branch on this, never on `message`.
|
|
692
691
|
*/
|
|
@@ -720,6 +719,28 @@ version it now has. `code` is `precondition_failed`.
|
|
|
720
719
|
*/
|
|
721
720
|
details?: Record;
|
|
722
721
|
}
|
|
722
|
+
/**
|
|
723
|
+
* The same flat 409 body, with the two codes this endpoint can answer with.
|
|
724
|
+
|
|
725
|
+
`code: "folder_role_unresolved"` — as everywhere else, with `details` carrying `role`, `accountId` and `reason`.
|
|
726
|
+
|
|
727
|
+
`code: "message_placement_unsettled"` — as `MessagePlacementConflict`, with `details` carrying `accountId`, `messageId` and `reason`.
|
|
728
|
+
*/
|
|
729
|
+
export interface DeleteMessagesConflict {
|
|
730
|
+
statusCode: 409;
|
|
731
|
+
/**
|
|
732
|
+
* Stable token naming the refusal. Branch on this, never on `message`.
|
|
733
|
+
*/
|
|
734
|
+
code: string;
|
|
735
|
+
/**
|
|
736
|
+
* Human-readable error message
|
|
737
|
+
*/
|
|
738
|
+
message: string;
|
|
739
|
+
/**
|
|
740
|
+
* Additional error details
|
|
741
|
+
*/
|
|
742
|
+
details?: Record;
|
|
743
|
+
}
|
|
723
744
|
export interface AmazonApiGatewayIntegration {
|
|
724
745
|
type: "aws_proxy";
|
|
725
746
|
httpMethod: "POST";
|
|
@@ -7329,6 +7350,7 @@ declare namespace Paths {
|
|
|
7329
7350
|
namespace Responses {
|
|
7330
7351
|
export type $200 = void;
|
|
7331
7352
|
export type $404 = void;
|
|
7353
|
+
export type $409 = void;
|
|
7332
7354
|
export type $422 = void;
|
|
7333
7355
|
export type $401 = void;
|
|
7334
7356
|
}
|
|
@@ -7340,6 +7362,7 @@ declare namespace Paths {
|
|
|
7340
7362
|
namespace Responses {
|
|
7341
7363
|
export type $200 = void;
|
|
7342
7364
|
export type $404 = void;
|
|
7365
|
+
export type $409 = void;
|
|
7343
7366
|
export type $401 = void;
|
|
7344
7367
|
}
|
|
7345
7368
|
}
|
|
@@ -9222,8 +9245,9 @@ export type FolderRoleConflict = Components.Schemas.FolderRoleConflict;
|
|
|
9222
9245
|
export type AppointFolderRoleConflict = Components.Schemas.AppointFolderRoleConflict;
|
|
9223
9246
|
export type MailboxNotSettled = Components.Schemas.MailboxNotSettled;
|
|
9224
9247
|
export type PreconditionFailedError = Components.Schemas.PreconditionFailedError;
|
|
9225
|
-
export type
|
|
9248
|
+
export type MessageNotFoundError = Components.Schemas.MessageNotFoundError;
|
|
9226
9249
|
export type MessagePlacementConflict = Components.Schemas.MessagePlacementConflict;
|
|
9250
|
+
export type DeleteMessagesConflict = Components.Schemas.DeleteMessagesConflict;
|
|
9227
9251
|
export type AmazonApiGatewayIntegration = Components.Schemas.AmazonApiGatewayIntegration;
|
|
9228
9252
|
export type InternalServerError = Components.Schemas.InternalServerError;
|
|
9229
9253
|
export type DeleteMeInput = Components.Schemas.DeleteMeInput;
|