@remit/api-openapi-types 0.0.72 → 0.0.73
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 +21 -4
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -304,6 +304,10 @@ distinguishable from a network failure without parsing prose.
|
|
|
304
304
|
* Where in a message a suggestion was read from. It is what a card says to explain itself, and it is what separates a suggestion carrying real iCalendar from one inferred out of prose.
|
|
305
305
|
*/
|
|
306
306
|
export type CalendarSuggestionSource = "IcalendarPart" | "IcalendarAttachment" | "TextHeuristic";
|
|
307
|
+
/**
|
|
308
|
+
* The answer an invitation is added to a calendar with. It is written as the user's `ATTENDEE;PARTSTAT` on the stored event (RFC 5545 3.2.12) and becomes the suggestion's state.
|
|
309
|
+
*/
|
|
310
|
+
export type CalendarInviteAnswer = "Accepted" | "Tentative";
|
|
307
311
|
/**
|
|
308
312
|
* System message flags defined in RFC 9051 Section 2.3.2 - MUST be supported by all servers
|
|
309
313
|
*/
|
|
@@ -5473,7 +5477,7 @@ and no message may make that change without them.
|
|
|
5473
5477
|
*/
|
|
5474
5478
|
icalData: string;
|
|
5475
5479
|
/**
|
|
5476
|
-
* The `CalendarObject` that accepting this suggestion wrote. `""` until it is accepted — the named absent state, never a missing attribute — and the resource's id afterwards, so the card can link to the event it produced.
|
|
5480
|
+
* The `CalendarObject` that accepting this suggestion wrote. `""` until it is accepted or answered tentatively — the named absent state, never a missing attribute — and the resource's id afterwards, so the card can link to the event it produced.
|
|
5477
5481
|
*/
|
|
5478
5482
|
acceptedCalendarObjectId: string;
|
|
5479
5483
|
createdAt: number;
|
|
@@ -5548,7 +5552,7 @@ and no message may make that change without them.
|
|
|
5548
5552
|
*/
|
|
5549
5553
|
zoneCertainty: ZoneCertainty;
|
|
5550
5554
|
/**
|
|
5551
|
-
* The `CalendarObject` that accepting this suggestion wrote. `""` until it is accepted — the named absent state, never a missing attribute — and the resource's id afterwards, so the card can link to the event it produced.
|
|
5555
|
+
* The `CalendarObject` that accepting this suggestion wrote. `""` until it is accepted or answered tentatively — the named absent state, never a missing attribute — and the resource's id afterwards, so the card can link to the event it produced.
|
|
5552
5556
|
*/
|
|
5553
5557
|
acceptedCalendarObjectId: string;
|
|
5554
5558
|
createdAt: number;
|
|
@@ -5562,6 +5566,10 @@ and no message may make that change without them.
|
|
|
5562
5566
|
* Collection the accepted event is written into.
|
|
5563
5567
|
*/
|
|
5564
5568
|
calendarId: UUID;
|
|
5569
|
+
/**
|
|
5570
|
+
* How the user answers. `Tentative` adds the event as a maybe. Refused with 400 on a `Cancel` suggestion, which has nothing to answer tentatively.
|
|
5571
|
+
*/
|
|
5572
|
+
answer?: CalendarInviteAnswer;
|
|
5565
5573
|
}
|
|
5566
5574
|
/**
|
|
5567
5575
|
* Body of `POST /calendar-suggestions/{suggestionId}/dismiss`.
|
|
@@ -8084,6 +8092,9 @@ same service function every other calendar write goes through — so a web
|
|
|
8084
8092
|
edit and a native edit of that event cannot diverge. Accepting a `Cancel`
|
|
8085
8093
|
suggestion writes `STATUS:CANCELLED` on the resource the same way.
|
|
8086
8094
|
|
|
8095
|
+
`answer: Tentative` writes the same resource with `PARTSTAT=TENTATIVE`
|
|
8096
|
+
and moves the suggestion to `Tentative` instead of `Accepted`.
|
|
8097
|
+
|
|
8087
8098
|
No reply is sent to the organizer. This endpoint sends no mail at all,
|
|
8088
8099
|
and the card says so.
|
|
8089
8100
|
|
|
@@ -8092,7 +8103,8 @@ resource and returns the same suggestion, because both the resource id
|
|
|
8092
8103
|
and the suggestion id are derived rather than minted.
|
|
8093
8104
|
|
|
8094
8105
|
400 when the suggestion is not one that can be accepted — already
|
|
8095
|
-
|
|
8106
|
+
answered otherwise, dismissed or superseded — when a `Cancel` suggestion
|
|
8107
|
+
is answered `Tentative`, or when its iCalendar will not parse.
|
|
8096
8108
|
*/
|
|
8097
8109
|
'acceptCalendarSuggestion'(
|
|
8098
8110
|
parameters?: Parameters<Paths.AcceptCalendarSuggestion.PathParameters> | null,
|
|
@@ -8968,6 +8980,9 @@ same service function every other calendar write goes through — so a web
|
|
|
8968
8980
|
edit and a native edit of that event cannot diverge. Accepting a `Cancel`
|
|
8969
8981
|
suggestion writes `STATUS:CANCELLED` on the resource the same way.
|
|
8970
8982
|
|
|
8983
|
+
`answer: Tentative` writes the same resource with `PARTSTAT=TENTATIVE`
|
|
8984
|
+
and moves the suggestion to `Tentative` instead of `Accepted`.
|
|
8985
|
+
|
|
8971
8986
|
No reply is sent to the organizer. This endpoint sends no mail at all,
|
|
8972
8987
|
and the card says so.
|
|
8973
8988
|
|
|
@@ -8976,7 +8991,8 @@ resource and returns the same suggestion, because both the resource id
|
|
|
8976
8991
|
and the suggestion id are derived rather than minted.
|
|
8977
8992
|
|
|
8978
8993
|
400 when the suggestion is not one that can be accepted — already
|
|
8979
|
-
|
|
8994
|
+
answered otherwise, dismissed or superseded — when a `Cancel` suggestion
|
|
8995
|
+
is answered `Tentative`, or when its iCalendar will not parse.
|
|
8980
8996
|
*/
|
|
8981
8997
|
'post'(
|
|
8982
8998
|
parameters?: Parameters<Paths.AcceptCalendarSuggestion.PathParameters> | null,
|
|
@@ -9256,6 +9272,7 @@ export type LabelAction = Components.Schemas.LabelAction;
|
|
|
9256
9272
|
export type CalendarSuggestionState = Components.Schemas.CalendarSuggestionState;
|
|
9257
9273
|
export type CalendarInviteMethod = Components.Schemas.CalendarInviteMethod;
|
|
9258
9274
|
export type CalendarSuggestionSource = Components.Schemas.CalendarSuggestionSource;
|
|
9275
|
+
export type CalendarInviteAnswer = Components.Schemas.CalendarInviteAnswer;
|
|
9259
9276
|
export type MessageSystemFlag = Components.Schemas.MessageSystemFlag;
|
|
9260
9277
|
export type MessageKeywordFlag = Components.Schemas.MessageKeywordFlag;
|
|
9261
9278
|
export type MailboxAttribute = Components.Schemas.MailboxAttribute;
|