@remit/api-openapi-types 0.0.78 → 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 +40 -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";
|
|
@@ -5551,6 +5572,10 @@ and no message may make that change without them.
|
|
|
5551
5572
|
* Projection of the VEVENT's effective end as an ISO 8601 date-time with zone offset, resolved from DTEND or from DTSTART + DURATION. An event with neither ends when it starts (RFC 5545 3.6.1).
|
|
5552
5573
|
*/
|
|
5553
5574
|
dtEnd: String64;
|
|
5575
|
+
/**
|
|
5576
|
+
* The UTC instant (ISO 8601, `Z` suffix) after which nothing of this event remains to attend: the end of the last occurrence of a bounded series, `9999-12-31T23:59:59Z` for an open-ended one. Unlike `dtEnd` it compares correctly as a string across offsets, which is what lets a list drop events that are over.
|
|
5577
|
+
*/
|
|
5578
|
+
endsAtUtc: String64;
|
|
5554
5579
|
/**
|
|
5555
5580
|
* Whether DTSTART is a DATE rather than a DATE-TIME (RFC 5545 3.3.4) — an all-day or multi-day event, whose end is exclusive.
|
|
5556
5581
|
*/
|
|
@@ -5634,6 +5659,10 @@ and no message may make that change without them.
|
|
|
5634
5659
|
* Projection of the VEVENT's effective end as an ISO 8601 date-time with zone offset, resolved from DTEND or from DTSTART + DURATION. An event with neither ends when it starts (RFC 5545 3.6.1).
|
|
5635
5660
|
*/
|
|
5636
5661
|
dtEnd: String64;
|
|
5662
|
+
/**
|
|
5663
|
+
* The UTC instant (ISO 8601, `Z` suffix) after which nothing of this event remains to attend: the end of the last occurrence of a bounded series, `9999-12-31T23:59:59Z` for an open-ended one. Unlike `dtEnd` it compares correctly as a string across offsets, which is what lets a list drop events that are over.
|
|
5664
|
+
*/
|
|
5665
|
+
endsAtUtc: String64;
|
|
5637
5666
|
/**
|
|
5638
5667
|
* Whether DTSTART is a DATE rather than a DATE-TIME (RFC 5545 3.3.4) — an all-day or multi-day event, whose end is exclusive.
|
|
5639
5668
|
*/
|
|
@@ -7321,6 +7350,7 @@ declare namespace Paths {
|
|
|
7321
7350
|
namespace Responses {
|
|
7322
7351
|
export type $200 = void;
|
|
7323
7352
|
export type $404 = void;
|
|
7353
|
+
export type $409 = void;
|
|
7324
7354
|
export type $422 = void;
|
|
7325
7355
|
export type $401 = void;
|
|
7326
7356
|
}
|
|
@@ -7332,6 +7362,7 @@ declare namespace Paths {
|
|
|
7332
7362
|
namespace Responses {
|
|
7333
7363
|
export type $200 = void;
|
|
7334
7364
|
export type $404 = void;
|
|
7365
|
+
export type $409 = void;
|
|
7335
7366
|
export type $401 = void;
|
|
7336
7367
|
}
|
|
7337
7368
|
}
|
|
@@ -9214,8 +9245,9 @@ export type FolderRoleConflict = Components.Schemas.FolderRoleConflict;
|
|
|
9214
9245
|
export type AppointFolderRoleConflict = Components.Schemas.AppointFolderRoleConflict;
|
|
9215
9246
|
export type MailboxNotSettled = Components.Schemas.MailboxNotSettled;
|
|
9216
9247
|
export type PreconditionFailedError = Components.Schemas.PreconditionFailedError;
|
|
9217
|
-
export type
|
|
9248
|
+
export type MessageNotFoundError = Components.Schemas.MessageNotFoundError;
|
|
9218
9249
|
export type MessagePlacementConflict = Components.Schemas.MessagePlacementConflict;
|
|
9250
|
+
export type DeleteMessagesConflict = Components.Schemas.DeleteMessagesConflict;
|
|
9219
9251
|
export type AmazonApiGatewayIntegration = Components.Schemas.AmazonApiGatewayIntegration;
|
|
9220
9252
|
export type InternalServerError = Components.Schemas.InternalServerError;
|
|
9221
9253
|
export type DeleteMeInput = Components.Schemas.DeleteMeInput;
|