@corsair-dev/gmail 0.1.1 → 0.1.3
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/dist/endpoints/index.d.ts +11 -11
- package/dist/endpoints/types.d.ts +224 -1390
- package/dist/endpoints/types.d.ts.map +1 -1
- package/dist/index.d.ts +225 -1337
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/schema/database.d.ts +23 -83
- package/dist/schema/database.d.ts.map +1 -1
- package/dist/schema/index.d.ts +24 -94
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/webhooks/index.d.ts +12 -12
- package/dist/webhooks/types.d.ts +21 -133
- package/dist/webhooks/types.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -10,7 +10,7 @@ export declare const MessagesEndpoints: {
|
|
|
10
10
|
get: (ctx: import("..").GmailContext, args: {
|
|
11
11
|
id: string;
|
|
12
12
|
userId?: string | undefined;
|
|
13
|
-
format?: "
|
|
13
|
+
format?: "raw" | "minimal" | "full" | "metadata" | undefined;
|
|
14
14
|
metadataHeaders?: string[] | undefined;
|
|
15
15
|
}) => Promise<import("..").Message>;
|
|
16
16
|
send: (ctx: import("..").GmailContext, args: {
|
|
@@ -30,9 +30,9 @@ export declare const MessagesEndpoints: {
|
|
|
30
30
|
}) => Promise<import("..").Message>;
|
|
31
31
|
batchModify: (ctx: import("..").GmailContext, args: {
|
|
32
32
|
userId?: string | undefined;
|
|
33
|
+
ids?: string[] | undefined;
|
|
33
34
|
addLabelIds?: string[] | undefined;
|
|
34
35
|
removeLabelIds?: string[] | undefined;
|
|
35
|
-
ids?: string[] | undefined;
|
|
36
36
|
}) => Promise<void>;
|
|
37
37
|
trash: (ctx: import("..").GmailContext, args: {
|
|
38
38
|
id: string;
|
|
@@ -84,33 +84,33 @@ export declare const LabelsEndpoints: {
|
|
|
84
84
|
export declare const DraftsEndpoints: {
|
|
85
85
|
list: (ctx: import("..").GmailContext, args: {
|
|
86
86
|
userId?: string | undefined;
|
|
87
|
-
q?: string | undefined;
|
|
88
87
|
maxResults?: number | undefined;
|
|
89
88
|
pageToken?: string | undefined;
|
|
89
|
+
q?: string | undefined;
|
|
90
90
|
}) => Promise<import("..").DraftListResponse>;
|
|
91
91
|
get: (ctx: import("..").GmailContext, args: {
|
|
92
92
|
id: string;
|
|
93
93
|
userId?: string | undefined;
|
|
94
|
-
format?: "
|
|
94
|
+
format?: "raw" | "minimal" | "full" | "metadata" | undefined;
|
|
95
95
|
}) => Promise<import("..").Draft>;
|
|
96
96
|
create: (ctx: import("..").GmailContext, args: {
|
|
97
|
-
|
|
97
|
+
userId?: string | undefined;
|
|
98
|
+
draft?: {
|
|
98
99
|
message?: {
|
|
99
100
|
raw?: string | undefined;
|
|
100
101
|
threadId?: string | undefined;
|
|
101
102
|
} | undefined;
|
|
102
|
-
};
|
|
103
|
-
userId?: string | undefined;
|
|
103
|
+
} | undefined;
|
|
104
104
|
}) => Promise<import("..").Draft>;
|
|
105
105
|
update: (ctx: import("..").GmailContext, args: {
|
|
106
106
|
id: string;
|
|
107
|
-
|
|
107
|
+
userId?: string | undefined;
|
|
108
|
+
draft?: {
|
|
108
109
|
message?: {
|
|
109
110
|
raw?: string | undefined;
|
|
110
111
|
threadId?: string | undefined;
|
|
111
112
|
} | undefined;
|
|
112
|
-
};
|
|
113
|
-
userId?: string | undefined;
|
|
113
|
+
} | undefined;
|
|
114
114
|
}) => Promise<import("..").Draft>;
|
|
115
115
|
delete: (ctx: import("..").GmailContext, args: {
|
|
116
116
|
id: string;
|
|
@@ -118,11 +118,11 @@ export declare const DraftsEndpoints: {
|
|
|
118
118
|
}) => Promise<void>;
|
|
119
119
|
send: (ctx: import("..").GmailContext, args: {
|
|
120
120
|
userId?: string | undefined;
|
|
121
|
+
id?: string | undefined;
|
|
121
122
|
message?: {
|
|
122
123
|
raw?: string | undefined;
|
|
123
124
|
threadId?: string | undefined;
|
|
124
125
|
} | undefined;
|
|
125
|
-
id?: string | undefined;
|
|
126
126
|
}) => Promise<import("..").Message>;
|
|
127
127
|
};
|
|
128
128
|
export declare const ThreadsEndpoints: {
|