@corsair-dev/gmail 0.1.0 → 0.1.1
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/api.test.d.ts +2 -0
- package/dist/api.test.d.ts.map +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/endpoints/drafts.d.ts +1 -1
- package/dist/endpoints/drafts.d.ts.map +1 -1
- package/dist/endpoints/index.d.ts +2 -2
- package/dist/endpoints/labels.d.ts +1 -1
- package/dist/endpoints/labels.d.ts.map +1 -1
- package/dist/endpoints/messages.d.ts +1 -1
- package/dist/endpoints/messages.d.ts.map +1 -1
- package/dist/endpoints/threads.d.ts +1 -1
- package/dist/endpoints/threads.d.ts.map +1 -1
- package/dist/endpoints/types.d.ts +140 -140
- package/dist/index.d.ts +137 -138
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/integration.test.d.ts +2 -0
- package/dist/integration.test.d.ts.map +1 -0
- package/dist/schema/database.d.ts +4 -4
- package/dist/schema/index.d.ts +4 -4
- package/dist/webhooks/messages.d.ts +1 -1
- package/dist/webhooks/messages.d.ts.map +1 -1
- package/dist/webhooks/types.d.ts +1 -1
- package/dist/webhooks/types.d.ts.map +1 -1
- package/package.json +13 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.test.d.ts","sourceRoot":"","sources":["../api.test.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC"}
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../client.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../client.ts"],"names":[],"mappings":"AAGA,qBAAa,aAAc,SAAQ,KAAK;aAGtB,IAAI,CAAC,EAAE,MAAM;gBAD7B,OAAO,EAAE,MAAM,EACC,IAAI,CAAC,EAAE,MAAM,YAAA;CAK9B;AAs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Root":"","sources":["../../endpoints/drafts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"drafts.d.ts","sourceRoot":"","sources":["../../endpoints/drafts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAuB,cAAc,EAAE,MAAM,UAAU,CAAC;AAGpE,eAAO,MAAM,IAAI,EAAE,cAAc,CAAC,YAAY,CAoC7C,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,cAAc,CAAC,WAAW,CAyB3C,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,cAAc,CAoBjD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,cAAc,CAoBjD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,cAAc,CA0BtD,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,cAAc,CAAC,YAAY,CAkB7C,CAAC"}
|
|
@@ -117,12 +117,12 @@ export declare const DraftsEndpoints: {
|
|
|
117
117
|
userId?: string | undefined;
|
|
118
118
|
}) => Promise<void>;
|
|
119
119
|
send: (ctx: import("..").GmailContext, args: {
|
|
120
|
-
|
|
120
|
+
userId?: string | undefined;
|
|
121
121
|
message?: {
|
|
122
122
|
raw?: string | undefined;
|
|
123
123
|
threadId?: string | undefined;
|
|
124
124
|
} | undefined;
|
|
125
|
-
|
|
125
|
+
id?: string | undefined;
|
|
126
126
|
}) => Promise<import("..").Message>;
|
|
127
127
|
};
|
|
128
128
|
export declare const ThreadsEndpoints: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../endpoints/labels.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../endpoints/labels.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAuB,cAAc,EAAE,MAAM,UAAU,CAAC;AAGpE,eAAO,MAAM,IAAI,EAAE,cAAc,CAAC,YAAY,CA8B7C,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,cAAc,CAAC,WAAW,CA4B3C,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,cAAc,CAoBjD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,cAAc,CAoBjD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,cAAc,CA0BtD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GmailEndpoints } from '
|
|
1
|
+
import type { GmailEndpoints } from '../index';
|
|
2
2
|
export declare const list: GmailEndpoints['messagesList'];
|
|
3
3
|
export declare const get: GmailEndpoints['messagesGet'];
|
|
4
4
|
export declare const send: GmailEndpoints['messagesSend'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../endpoints/messages.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../endpoints/messages.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAuB,cAAc,EAAE,MAAM,UAAU,CAAC;AAgFpE,eAAO,MAAM,IAAI,EAAE,cAAc,CAAC,cAAc,CAqC/C,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,cAAc,CAAC,aAAa,CAsC7C,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,cAAc,CAAC,cAAc,CAuB/C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,gBAAgB,CA0B1D,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,gBAAgB,CAiCnD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,cAAc,CAAC,qBAAqB,CAiC7D,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,cAAc,CAAC,eAAe,CAmBjD,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,cAAc,CAAC,iBAAiB,CAsBrD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GmailEndpoints } from '
|
|
1
|
+
import type { GmailEndpoints } from '../index';
|
|
2
2
|
export declare const list: GmailEndpoints['threadsList'];
|
|
3
3
|
export declare const get: GmailEndpoints['threadsGet'];
|
|
4
4
|
export declare const modify: GmailEndpoints['threadsModify'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threads.d.ts","sourceRoot":"","sources":["../../endpoints/threads.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"threads.d.ts","sourceRoot":"","sources":["../../endpoints/threads.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAuB,cAAc,EAAE,MAAM,UAAU,CAAC;AAGpE,eAAO,MAAM,IAAI,EAAE,cAAc,CAAC,aAAa,CAqC9C,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,cAAc,CAAC,YAAY,CA8B5C,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,cAAc,CAAC,eAAe,CAiClD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,cAAc,CAAC,eAAe,CA0BxD,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,cAAc,CAAC,cAAc,CAmBhD,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,cAAc,CAAC,gBAAgB,CAmBpD,CAAC"}
|