@bobfrankston/mailx-types 0.1.92 → 0.1.96

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/mailx-api.d.ts +7 -0
  2. package/package.json +1 -1
package/mailx-api.d.ts CHANGED
@@ -160,11 +160,18 @@ export interface MailxApi {
160
160
  }>;
161
161
  allowRemoteContent(type: "sender" | "domain" | "recipient", value: string): Promise<void>;
162
162
  getCalendarEvents(fromMs: number, toMs: number): Promise<any[]>;
163
+ /** Pull from Google now, past the refresh throttle once (2026-09-10). */
164
+ refreshCalendarNow(): Promise<{
165
+ ok: boolean;
166
+ reason?: string;
167
+ }>;
168
+ /** accessRole is Google's: owner / writer can take a new event, reader / freeBusyReader cannot. */
163
169
  getCalendars(): Promise<Array<{
164
170
  id: string;
165
171
  name: string;
166
172
  color: string;
167
173
  primary: boolean;
174
+ accessRole?: string;
168
175
  }>>;
169
176
  createCalendarEvent(ev: any): Promise<{
170
177
  uuid: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx-types",
3
- "version": "0.1.92",
3
+ "version": "0.1.96",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",