@keystrokehq/notion 0.0.16-integration-id-canonicalization.0 → 0.0.16
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/credential-sets/index.d.mts +1 -1
- package/dist/credential-sets/index.mjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +2 -2
- package/dist/{notion-webhook.credential-set-BkNZv4fd.d.mts → notion-webhook.credential-set-5tXWld_L.d.mts} +0 -6
- package/dist/notion.credential-set-BfA-EG9z.mjs +44 -0
- package/dist/operations/index.d.mts +1 -146
- package/dist/operations/index.mjs +1 -1
- package/dist/{update-page.operation-DsZi67uN.d.mts → update-page.operation-6lf05oVs.d.mts} +0 -145
- package/dist/{update-page.operation-BLz4itxx.mjs → update-page.operation-BQWJrCll.mjs} +1 -1
- package/package.json +2 -3
- package/dist/notion.credential-set-mSnaGcc9.mjs +0 -635
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NotionCredentials, i as notionAppCredentialSet, n as notionWebhookCredentialSet, o as notionCredentialSet, r as NotionAppCredentials, t as NotionWebhookCredentials } from "../notion-webhook.credential-set-
|
|
1
|
+
import { a as NotionCredentials, i as notionAppCredentialSet, n as notionWebhookCredentialSet, o as notionCredentialSet, r as NotionAppCredentials, t as NotionWebhookCredentials } from "../notion-webhook.credential-set-5tXWld_L.mjs";
|
|
2
2
|
export { type NotionAppCredentials, type NotionCredentials, type NotionWebhookCredentials, notionAppCredentialSet, notionCredentialSet, notionWebhookCredentialSet };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as notionCredentialSet } from "../notion.credential-set-
|
|
1
|
+
import { t as notionCredentialSet } from "../notion.credential-set-BfA-EG9z.mjs";
|
|
2
2
|
import { n as notionAppCredentialSet, t as notionWebhookCredentialSet } from "../notion-webhook.credential-set-D_tczh8M.mjs";
|
|
3
3
|
|
|
4
4
|
export { notionAppCredentialSet, notionCredentialSet, notionWebhookCredentialSet };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as NotionCredentials, i as notionAppCredentialSet, n as notionWebhookCredentialSet, o as notionCredentialSet, r as NotionAppCredentials, t as NotionWebhookCredentials } from "./notion-webhook.credential-set-
|
|
2
|
-
import { C as copyPageContentOperation, S as createCommentOperation, _ as getBlockOperation, a as searchWorkspaceOperation, b as createPageOperation, c as listUsersOperation, d as getUserOperation, f as getPagePropertyOperation, g as getCommentOperation, h as getDataSourceOperation, i as trashPageOperation, l as listCommentsOperation, m as getMeOperation, n as updateDataSourceEntryOperation, o as restorePageOperation, p as getPageOperation, r as updateBlockOperation, s as queryDataSourceOperation, t as updatePageOperation, u as listBlockChildrenOperation, v as discoverDatabaseDataSourcesOperation, w as appendBlockChildrenOperation, x as createDataSourceEntryOperation, y as deleteBlockOperation } from "./update-page.operation-
|
|
1
|
+
import { a as NotionCredentials, i as notionAppCredentialSet, n as notionWebhookCredentialSet, o as notionCredentialSet, r as NotionAppCredentials, t as NotionWebhookCredentials } from "./notion-webhook.credential-set-5tXWld_L.mjs";
|
|
2
|
+
import { C as copyPageContentOperation, S as createCommentOperation, _ as getBlockOperation, a as searchWorkspaceOperation, b as createPageOperation, c as listUsersOperation, d as getUserOperation, f as getPagePropertyOperation, g as getCommentOperation, h as getDataSourceOperation, i as trashPageOperation, l as listCommentsOperation, m as getMeOperation, n as updateDataSourceEntryOperation, o as restorePageOperation, p as getPageOperation, r as updateBlockOperation, s as queryDataSourceOperation, t as updatePageOperation, u as listBlockChildrenOperation, v as discoverDatabaseDataSourcesOperation, w as appendBlockChildrenOperation, x as createDataSourceEntryOperation, y as deleteBlockOperation } from "./update-page.operation-6lf05oVs.mjs";
|
|
3
3
|
import { notionOperations } from "./operations/index.mjs";
|
|
4
4
|
import { NotionBlock, NotionComment, NotionDataSource, NotionListMeta, NotionPage, NotionPagePropertyItem, NotionParent, NotionSearchResult, NotionUser, asBoolean, asRecord, asString, commentTargetSchema, databaseDiscoverySchema, extractTextContent, firstPropertyText, normalizeBlock, normalizeComment, normalizeDataSource, normalizeListMeta, normalizePage, normalizePagePropertyItem, normalizeParent, normalizeSearchResult, normalizeUser, notionBlockSchema, notionCommentSchema, notionDataSourceSchema, notionListMetaSchema, notionListResponseSchema, notionPagePropertyItemSchema, notionPageSchema, notionParentSchema, notionSearchResultSchema, notionSuccessResponseSchema, notionUserSchema, pageParentInputSchema } from "./schemas/index.mjs";
|
|
5
5
|
export { NotionAppCredentials, NotionBlock, NotionComment, NotionCredentials, NotionDataSource, NotionListMeta, NotionPage, NotionPagePropertyItem, NotionParent, NotionSearchResult, NotionUser, NotionWebhookCredentials, appendBlockChildrenOperation as appendBlockChildren, appendBlockChildrenOperation, appendBlockChildrenOperation as appendBlockChildrenTool, asBoolean, asRecord, asString, commentTargetSchema, copyPageContentOperation as copyPageContent, copyPageContentOperation, copyPageContentOperation as copyPageContentTool, createCommentOperation as createComment, createCommentOperation, createCommentOperation as createCommentTool, createDataSourceEntryOperation as createDataSourceEntry, createDataSourceEntryOperation, createDataSourceEntryOperation as createDataSourceEntryTool, createPageOperation as createPage, createPageOperation, createPageOperation as createPageTool, databaseDiscoverySchema, deleteBlockOperation as deleteBlock, deleteBlockOperation, deleteBlockOperation as deleteBlockTool, discoverDatabaseDataSourcesOperation as discoverDatabaseDataSources, discoverDatabaseDataSourcesOperation, discoverDatabaseDataSourcesOperation as discoverDatabaseDataSourcesTool, extractTextContent, firstPropertyText, getBlockOperation as getBlock, getBlockOperation, getBlockOperation as getBlockTool, getCommentOperation as getComment, getCommentOperation, getCommentOperation as getCommentTool, getDataSourceOperation as getDataSource, getDataSourceOperation, getDataSourceOperation as getDataSourceTool, getMeOperation as getMe, getMeOperation, getMeOperation as getMeTool, getPageOperation as getPage, getPageOperation, getPageOperation as getPageTool, getPagePropertyOperation as getPageProperty, getPagePropertyOperation, getPagePropertyOperation as getPagePropertyTool, getUserOperation as getUser, getUserOperation, getUserOperation as getUserTool, listBlockChildrenOperation as listBlockChildren, listBlockChildrenOperation, listBlockChildrenOperation as listBlockChildrenTool, listCommentsOperation as listComments, listCommentsOperation, listCommentsOperation as listCommentsTool, listUsersOperation as listUsers, listUsersOperation, listUsersOperation as listUsersTool, normalizeBlock, normalizeComment, normalizeDataSource, normalizeListMeta, normalizePage, normalizePagePropertyItem, normalizeParent, normalizeSearchResult, normalizeUser, notionAppCredentialSet, notionBlockSchema, notionCommentSchema, notionCredentialSet, notionDataSourceSchema, notionListMetaSchema, notionListResponseSchema, notionOperations, notionPagePropertyItemSchema, notionPageSchema, notionParentSchema, notionSearchResultSchema, notionSuccessResponseSchema, notionUserSchema, notionWebhookCredentialSet, pageParentInputSchema, queryDataSourceOperation as queryDataSource, queryDataSourceOperation, queryDataSourceOperation as queryDataSourceTool, restorePageOperation as restorePage, restorePageOperation, restorePageOperation as restorePageTool, searchWorkspaceOperation as searchWorkspace, searchWorkspaceOperation, searchWorkspaceOperation as searchWorkspaceTool, trashPageOperation as trashPage, trashPageOperation, trashPageOperation as trashPageTool, updateBlockOperation as updateBlock, updateBlockOperation, updateBlockOperation as updateBlockTool, updateDataSourceEntryOperation as updateDataSourceEntry, updateDataSourceEntryOperation, updateDataSourceEntryOperation as updateDataSourceEntryTool, updatePageOperation as updatePage, updatePageOperation, updatePageOperation as updatePageTool };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as notionCredentialSet } from "./notion.credential-set-
|
|
1
|
+
import { t as notionCredentialSet } from "./notion.credential-set-BfA-EG9z.mjs";
|
|
2
2
|
import { n as notionAppCredentialSet, t as notionWebhookCredentialSet } from "./notion-webhook.credential-set-D_tczh8M.mjs";
|
|
3
3
|
import { C as normalizeListMeta, D as notionParentSchema, E as notionListResponseSchema, O as notionSuccessResponseSchema, S as firstPropertyText, T as notionListMetaSchema, _ as notionUserSchema, a as notionDataSourceSchema, b as asString, c as normalizePage, d as notionPageSchema, f as pageParentInputSchema, g as normalizeUser, h as notionCommentSchema, i as normalizeDataSource, l as normalizePagePropertyItem, m as normalizeComment, n as notionSearchResultSchema, o as normalizeBlock, p as commentTargetSchema, r as databaseDiscoverySchema, s as notionBlockSchema, t as normalizeSearchResult, u as notionPagePropertyItemSchema, v as asBoolean, w as normalizeParent, x as extractTextContent, y as asRecord } from "./search-D4wvUAjS.mjs";
|
|
4
|
-
import { C as copyPageContentOperation, S as createCommentOperation, _ as getBlockOperation, a as searchWorkspaceOperation, b as createPageOperation, c as listUsersOperation, d as getUserOperation, f as getPagePropertyOperation, g as getCommentOperation, h as getDataSourceOperation, i as trashPageOperation, l as listCommentsOperation, m as getMeOperation, n as updateDataSourceEntryOperation, o as restorePageOperation, p as getPageOperation, r as updateBlockOperation, s as queryDataSourceOperation, t as updatePageOperation, u as listBlockChildrenOperation, v as discoverDatabaseDataSourcesOperation, w as appendBlockChildrenOperation, x as createDataSourceEntryOperation, y as deleteBlockOperation } from "./update-page.operation-
|
|
4
|
+
import { C as copyPageContentOperation, S as createCommentOperation, _ as getBlockOperation, a as searchWorkspaceOperation, b as createPageOperation, c as listUsersOperation, d as getUserOperation, f as getPagePropertyOperation, g as getCommentOperation, h as getDataSourceOperation, i as trashPageOperation, l as listCommentsOperation, m as getMeOperation, n as updateDataSourceEntryOperation, o as restorePageOperation, p as getPageOperation, r as updateBlockOperation, s as queryDataSourceOperation, t as updatePageOperation, u as listBlockChildrenOperation, v as discoverDatabaseDataSourcesOperation, w as appendBlockChildrenOperation, x as createDataSourceEntryOperation, y as deleteBlockOperation } from "./update-page.operation-BQWJrCll.mjs";
|
|
5
5
|
import { notionOperations } from "./operations/index.mjs";
|
|
6
6
|
|
|
7
7
|
export { appendBlockChildrenOperation as appendBlockChildren, appendBlockChildrenOperation, appendBlockChildrenOperation as appendBlockChildrenTool, asBoolean, asRecord, asString, commentTargetSchema, copyPageContentOperation as copyPageContent, copyPageContentOperation, copyPageContentOperation as copyPageContentTool, createCommentOperation as createComment, createCommentOperation, createCommentOperation as createCommentTool, createDataSourceEntryOperation as createDataSourceEntry, createDataSourceEntryOperation, createDataSourceEntryOperation as createDataSourceEntryTool, createPageOperation as createPage, createPageOperation, createPageOperation as createPageTool, databaseDiscoverySchema, deleteBlockOperation as deleteBlock, deleteBlockOperation, deleteBlockOperation as deleteBlockTool, discoverDatabaseDataSourcesOperation as discoverDatabaseDataSources, discoverDatabaseDataSourcesOperation, discoverDatabaseDataSourcesOperation as discoverDatabaseDataSourcesTool, extractTextContent, firstPropertyText, getBlockOperation as getBlock, getBlockOperation, getBlockOperation as getBlockTool, getCommentOperation as getComment, getCommentOperation, getCommentOperation as getCommentTool, getDataSourceOperation as getDataSource, getDataSourceOperation, getDataSourceOperation as getDataSourceTool, getMeOperation as getMe, getMeOperation, getMeOperation as getMeTool, getPageOperation as getPage, getPageOperation, getPageOperation as getPageTool, getPagePropertyOperation as getPageProperty, getPagePropertyOperation, getPagePropertyOperation as getPagePropertyTool, getUserOperation as getUser, getUserOperation, getUserOperation as getUserTool, listBlockChildrenOperation as listBlockChildren, listBlockChildrenOperation, listBlockChildrenOperation as listBlockChildrenTool, listCommentsOperation as listComments, listCommentsOperation, listCommentsOperation as listCommentsTool, listUsersOperation as listUsers, listUsersOperation, listUsersOperation as listUsersTool, normalizeBlock, normalizeComment, normalizeDataSource, normalizeListMeta, normalizePage, normalizePagePropertyItem, normalizeParent, normalizeSearchResult, normalizeUser, notionAppCredentialSet, notionBlockSchema, notionCommentSchema, notionCredentialSet, notionDataSourceSchema, notionListMetaSchema, notionListResponseSchema, notionOperations, notionPagePropertyItemSchema, notionPageSchema, notionParentSchema, notionSearchResultSchema, notionSuccessResponseSchema, notionUserSchema, notionWebhookCredentialSet, pageParentInputSchema, queryDataSourceOperation as queryDataSource, queryDataSourceOperation, queryDataSourceOperation as queryDataSourceTool, restorePageOperation as restorePage, restorePageOperation, restorePageOperation as restorePageTool, searchWorkspaceOperation as searchWorkspace, searchWorkspaceOperation, searchWorkspaceOperation as searchWorkspaceTool, trashPageOperation as trashPage, trashPageOperation, trashPageOperation as trashPageTool, updateBlockOperation as updateBlock, updateBlockOperation, updateBlockOperation as updateBlockTool, updateDataSourceEntryOperation as updateDataSourceEntry, updateDataSourceEntryOperation, updateDataSourceEntryOperation as updateDataSourceEntryTool, updatePageOperation as updatePage, updatePageOperation, updatePageOperation as updatePageTool };
|
|
@@ -16,12 +16,6 @@ declare const notionCredentialSet: CredentialSet<"notion", z.ZodObject<{
|
|
|
16
16
|
vault: {
|
|
17
17
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
18
18
|
};
|
|
19
|
-
oauth: {
|
|
20
|
-
readonly id: "official.notion.oauth";
|
|
21
|
-
};
|
|
22
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
23
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
24
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
25
19
|
id: string;
|
|
26
20
|
label: string;
|
|
27
21
|
recommended: true;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { CredentialSet } from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
4
|
+
//#region src/utils/oauth-connection.ts
|
|
5
|
+
const notionOAuthConnection = {
|
|
6
|
+
kind: "oauth",
|
|
7
|
+
tokenType: "refreshable",
|
|
8
|
+
authUrl: "https://api.notion.com/v1/oauth/authorize",
|
|
9
|
+
tokenUrl: "https://api.notion.com/v1/oauth/token",
|
|
10
|
+
revokeUrl: "https://api.notion.com/v1/oauth/revoke",
|
|
11
|
+
scopes: [
|
|
12
|
+
"content:read",
|
|
13
|
+
"content:write",
|
|
14
|
+
"comments:read",
|
|
15
|
+
"comments:write",
|
|
16
|
+
"users:read"
|
|
17
|
+
],
|
|
18
|
+
vault: { accessToken: "NOTION_ACCESS_TOKEN" }
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/credential-sets/notion.credential-set.ts
|
|
23
|
+
const notionAuthSchema = z.object({ NOTION_ACCESS_TOKEN: z.string().min(1) });
|
|
24
|
+
const notionCredentialSet = new CredentialSet({
|
|
25
|
+
id: "notion",
|
|
26
|
+
name: "Notion",
|
|
27
|
+
description: "Notion pages, blocks, data sources, comments, users, search, and triggers",
|
|
28
|
+
auth: notionAuthSchema,
|
|
29
|
+
connections: [{
|
|
30
|
+
id: "oauth",
|
|
31
|
+
label: "Connect Notion workspace",
|
|
32
|
+
recommended: true,
|
|
33
|
+
...notionOAuthConnection
|
|
34
|
+
}, {
|
|
35
|
+
id: "integration-token",
|
|
36
|
+
kind: "manual",
|
|
37
|
+
label: "Use internal integration token",
|
|
38
|
+
advanced: true,
|
|
39
|
+
input: notionAuthSchema
|
|
40
|
+
}]
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
//#endregion
|
|
44
|
+
export { notionCredentialSet as t };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { C as copyPageContentOperation, S as createCommentOperation, _ as getBlockOperation, a as searchWorkspaceOperation, b as createPageOperation, c as listUsersOperation, d as getUserOperation, f as getPagePropertyOperation, g as getCommentOperation, h as getDataSourceOperation, i as trashPageOperation, l as listCommentsOperation, m as getMeOperation, n as updateDataSourceEntryOperation, o as restorePageOperation, p as getPageOperation, r as updateBlockOperation, s as queryDataSourceOperation, t as updatePageOperation, u as listBlockChildrenOperation, v as discoverDatabaseDataSourcesOperation, w as appendBlockChildrenOperation, x as createDataSourceEntryOperation, y as deleteBlockOperation } from "../update-page.operation-
|
|
1
|
+
import { C as copyPageContentOperation, S as createCommentOperation, _ as getBlockOperation, a as searchWorkspaceOperation, b as createPageOperation, c as listUsersOperation, d as getUserOperation, f as getPagePropertyOperation, g as getCommentOperation, h as getDataSourceOperation, i as trashPageOperation, l as listCommentsOperation, m as getMeOperation, n as updateDataSourceEntryOperation, o as restorePageOperation, p as getPageOperation, r as updateBlockOperation, s as queryDataSourceOperation, t as updatePageOperation, u as listBlockChildrenOperation, v as discoverDatabaseDataSourcesOperation, w as appendBlockChildrenOperation, x as createDataSourceEntryOperation, y as deleteBlockOperation } from "../update-page.operation-6lf05oVs.mjs";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
3
|
import * as zod from "zod";
|
|
4
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
5
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
6
5
|
|
|
7
6
|
//#region src/operations/index.d.ts
|
|
@@ -25,12 +24,6 @@ declare const notionOperations: {
|
|
|
25
24
|
vault: {
|
|
26
25
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
27
26
|
};
|
|
28
|
-
oauth: {
|
|
29
|
-
readonly id: "official.notion.oauth";
|
|
30
|
-
};
|
|
31
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
32
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
33
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
34
27
|
id: string;
|
|
35
28
|
label: string;
|
|
36
29
|
recommended: true;
|
|
@@ -66,12 +59,6 @@ declare const notionOperations: {
|
|
|
66
59
|
vault: {
|
|
67
60
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
68
61
|
};
|
|
69
|
-
oauth: {
|
|
70
|
-
readonly id: "official.notion.oauth";
|
|
71
|
-
};
|
|
72
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
73
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
74
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
75
62
|
id: string;
|
|
76
63
|
label: string;
|
|
77
64
|
recommended: true;
|
|
@@ -112,12 +99,6 @@ declare const notionOperations: {
|
|
|
112
99
|
vault: {
|
|
113
100
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
114
101
|
};
|
|
115
|
-
oauth: {
|
|
116
|
-
readonly id: "official.notion.oauth";
|
|
117
|
-
};
|
|
118
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
119
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
120
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
121
102
|
id: string;
|
|
122
103
|
label: string;
|
|
123
104
|
recommended: true;
|
|
@@ -177,12 +158,6 @@ declare const notionOperations: {
|
|
|
177
158
|
vault: {
|
|
178
159
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
179
160
|
};
|
|
180
|
-
oauth: {
|
|
181
|
-
readonly id: "official.notion.oauth";
|
|
182
|
-
};
|
|
183
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
184
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
185
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
186
161
|
id: string;
|
|
187
162
|
label: string;
|
|
188
163
|
recommended: true;
|
|
@@ -229,12 +204,6 @@ declare const notionOperations: {
|
|
|
229
204
|
vault: {
|
|
230
205
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
231
206
|
};
|
|
232
|
-
oauth: {
|
|
233
|
-
readonly id: "official.notion.oauth";
|
|
234
|
-
};
|
|
235
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
236
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
237
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
238
207
|
id: string;
|
|
239
208
|
label: string;
|
|
240
209
|
recommended: true;
|
|
@@ -288,12 +257,6 @@ declare const notionOperations: {
|
|
|
288
257
|
vault: {
|
|
289
258
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
290
259
|
};
|
|
291
|
-
oauth: {
|
|
292
|
-
readonly id: "official.notion.oauth";
|
|
293
|
-
};
|
|
294
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
295
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
296
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
297
260
|
id: string;
|
|
298
261
|
label: string;
|
|
299
262
|
recommended: true;
|
|
@@ -345,12 +308,6 @@ declare const notionOperations: {
|
|
|
345
308
|
vault: {
|
|
346
309
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
347
310
|
};
|
|
348
|
-
oauth: {
|
|
349
|
-
readonly id: "official.notion.oauth";
|
|
350
|
-
};
|
|
351
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
352
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
353
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
354
311
|
id: string;
|
|
355
312
|
label: string;
|
|
356
313
|
recommended: true;
|
|
@@ -382,12 +339,6 @@ declare const notionOperations: {
|
|
|
382
339
|
vault: {
|
|
383
340
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
384
341
|
};
|
|
385
|
-
oauth: {
|
|
386
|
-
readonly id: "official.notion.oauth";
|
|
387
|
-
};
|
|
388
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
389
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
390
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
391
342
|
id: string;
|
|
392
343
|
label: string;
|
|
393
344
|
recommended: true;
|
|
@@ -434,12 +385,6 @@ declare const notionOperations: {
|
|
|
434
385
|
vault: {
|
|
435
386
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
436
387
|
};
|
|
437
|
-
oauth: {
|
|
438
|
-
readonly id: "official.notion.oauth";
|
|
439
|
-
};
|
|
440
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
441
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
442
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
443
388
|
id: string;
|
|
444
389
|
label: string;
|
|
445
390
|
recommended: true;
|
|
@@ -478,12 +423,6 @@ declare const notionOperations: {
|
|
|
478
423
|
vault: {
|
|
479
424
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
480
425
|
};
|
|
481
|
-
oauth: {
|
|
482
|
-
readonly id: "official.notion.oauth";
|
|
483
|
-
};
|
|
484
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
485
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
486
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
487
426
|
id: string;
|
|
488
427
|
label: string;
|
|
489
428
|
recommended: true;
|
|
@@ -530,12 +469,6 @@ declare const notionOperations: {
|
|
|
530
469
|
vault: {
|
|
531
470
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
532
471
|
};
|
|
533
|
-
oauth: {
|
|
534
|
-
readonly id: "official.notion.oauth";
|
|
535
|
-
};
|
|
536
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
537
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
538
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
539
472
|
id: string;
|
|
540
473
|
label: string;
|
|
541
474
|
recommended: true;
|
|
@@ -582,12 +515,6 @@ declare const notionOperations: {
|
|
|
582
515
|
vault: {
|
|
583
516
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
584
517
|
};
|
|
585
|
-
oauth: {
|
|
586
|
-
readonly id: "official.notion.oauth";
|
|
587
|
-
};
|
|
588
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
589
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
590
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
591
518
|
id: string;
|
|
592
519
|
label: string;
|
|
593
520
|
recommended: true;
|
|
@@ -641,12 +568,6 @@ declare const notionOperations: {
|
|
|
641
568
|
vault: {
|
|
642
569
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
643
570
|
};
|
|
644
|
-
oauth: {
|
|
645
|
-
readonly id: "official.notion.oauth";
|
|
646
|
-
};
|
|
647
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
648
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
649
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
650
571
|
id: string;
|
|
651
572
|
label: string;
|
|
652
573
|
recommended: true;
|
|
@@ -678,12 +599,6 @@ declare const notionOperations: {
|
|
|
678
599
|
vault: {
|
|
679
600
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
680
601
|
};
|
|
681
|
-
oauth: {
|
|
682
|
-
readonly id: "official.notion.oauth";
|
|
683
|
-
};
|
|
684
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
685
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
686
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
687
602
|
id: string;
|
|
688
603
|
label: string;
|
|
689
604
|
recommended: true;
|
|
@@ -731,12 +646,6 @@ declare const notionOperations: {
|
|
|
731
646
|
vault: {
|
|
732
647
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
733
648
|
};
|
|
734
|
-
oauth: {
|
|
735
|
-
readonly id: "official.notion.oauth";
|
|
736
|
-
};
|
|
737
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
738
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
739
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
740
649
|
id: string;
|
|
741
650
|
label: string;
|
|
742
651
|
recommended: true;
|
|
@@ -783,12 +692,6 @@ declare const notionOperations: {
|
|
|
783
692
|
vault: {
|
|
784
693
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
785
694
|
};
|
|
786
|
-
oauth: {
|
|
787
|
-
readonly id: "official.notion.oauth";
|
|
788
|
-
};
|
|
789
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
790
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
791
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
792
695
|
id: string;
|
|
793
696
|
label: string;
|
|
794
697
|
recommended: true;
|
|
@@ -823,12 +726,6 @@ declare const notionOperations: {
|
|
|
823
726
|
vault: {
|
|
824
727
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
825
728
|
};
|
|
826
|
-
oauth: {
|
|
827
|
-
readonly id: "official.notion.oauth";
|
|
828
|
-
};
|
|
829
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
830
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
831
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
832
729
|
id: string;
|
|
833
730
|
label: string;
|
|
834
731
|
recommended: true;
|
|
@@ -873,12 +770,6 @@ declare const notionOperations: {
|
|
|
873
770
|
vault: {
|
|
874
771
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
875
772
|
};
|
|
876
|
-
oauth: {
|
|
877
|
-
readonly id: "official.notion.oauth";
|
|
878
|
-
};
|
|
879
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
880
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
881
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
882
773
|
id: string;
|
|
883
774
|
label: string;
|
|
884
775
|
recommended: true;
|
|
@@ -933,12 +824,6 @@ declare const notionOperations: {
|
|
|
933
824
|
vault: {
|
|
934
825
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
935
826
|
};
|
|
936
|
-
oauth: {
|
|
937
|
-
readonly id: "official.notion.oauth";
|
|
938
|
-
};
|
|
939
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
940
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
941
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
942
827
|
id: string;
|
|
943
828
|
label: string;
|
|
944
829
|
recommended: true;
|
|
@@ -987,12 +872,6 @@ declare const notionOperations: {
|
|
|
987
872
|
vault: {
|
|
988
873
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
989
874
|
};
|
|
990
|
-
oauth: {
|
|
991
|
-
readonly id: "official.notion.oauth";
|
|
992
|
-
};
|
|
993
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
994
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
995
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
996
875
|
id: string;
|
|
997
876
|
label: string;
|
|
998
877
|
recommended: true;
|
|
@@ -1041,12 +920,6 @@ declare const notionOperations: {
|
|
|
1041
920
|
vault: {
|
|
1042
921
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
1043
922
|
};
|
|
1044
|
-
oauth: {
|
|
1045
|
-
readonly id: "official.notion.oauth";
|
|
1046
|
-
};
|
|
1047
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
1048
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
1049
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
1050
923
|
id: string;
|
|
1051
924
|
label: string;
|
|
1052
925
|
recommended: true;
|
|
@@ -1104,12 +977,6 @@ declare const notionOperations: {
|
|
|
1104
977
|
vault: {
|
|
1105
978
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
1106
979
|
};
|
|
1107
|
-
oauth: {
|
|
1108
|
-
readonly id: "official.notion.oauth";
|
|
1109
|
-
};
|
|
1110
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
1111
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
1112
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
1113
980
|
id: string;
|
|
1114
981
|
label: string;
|
|
1115
982
|
recommended: true;
|
|
@@ -1161,12 +1028,6 @@ declare const notionOperations: {
|
|
|
1161
1028
|
vault: {
|
|
1162
1029
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
1163
1030
|
};
|
|
1164
|
-
oauth: {
|
|
1165
|
-
readonly id: "official.notion.oauth";
|
|
1166
|
-
};
|
|
1167
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
1168
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
1169
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
1170
1031
|
id: string;
|
|
1171
1032
|
label: string;
|
|
1172
1033
|
recommended: true;
|
|
@@ -1224,12 +1085,6 @@ declare const notionOperations: {
|
|
|
1224
1085
|
vault: {
|
|
1225
1086
|
readonly accessToken: "NOTION_ACCESS_TOKEN";
|
|
1226
1087
|
};
|
|
1227
|
-
oauth: {
|
|
1228
|
-
readonly id: "official.notion.oauth";
|
|
1229
|
-
};
|
|
1230
|
-
buildAuthUrl: _keystrokehq_core_credential_set0.BuildAuthUrlHook;
|
|
1231
|
-
exchangeCode: _keystrokehq_core_credential_set0.ExchangeCodeHook;
|
|
1232
|
-
refreshToken: _keystrokehq_core_credential_set0.RefreshTokenHook;
|
|
1233
1088
|
id: string;
|
|
1234
1089
|
label: string;
|
|
1235
1090
|
recommended: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as copyPageContentOperation, S as createCommentOperation, _ as getBlockOperation, a as searchWorkspaceOperation, b as createPageOperation, c as listUsersOperation, d as getUserOperation, f as getPagePropertyOperation, g as getCommentOperation, h as getDataSourceOperation, i as trashPageOperation, l as listCommentsOperation, m as getMeOperation, n as updateDataSourceEntryOperation, o as restorePageOperation, p as getPageOperation, r as updateBlockOperation, s as queryDataSourceOperation, t as updatePageOperation, u as listBlockChildrenOperation, v as discoverDatabaseDataSourcesOperation, w as appendBlockChildrenOperation, x as createDataSourceEntryOperation, y as deleteBlockOperation } from "../update-page.operation-
|
|
1
|
+
import { C as copyPageContentOperation, S as createCommentOperation, _ as getBlockOperation, a as searchWorkspaceOperation, b as createPageOperation, c as listUsersOperation, d as getUserOperation, f as getPagePropertyOperation, g as getCommentOperation, h as getDataSourceOperation, i as trashPageOperation, l as listCommentsOperation, m as getMeOperation, n as updateDataSourceEntryOperation, o as restorePageOperation, p as getPageOperation, r as updateBlockOperation, s as queryDataSourceOperation, t as updatePageOperation, u as listBlockChildrenOperation, v as discoverDatabaseDataSourcesOperation, w as appendBlockChildrenOperation, x as createDataSourceEntryOperation, y as deleteBlockOperation } from "../update-page.operation-BQWJrCll.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/operations/index.ts
|
|
4
4
|
const notionOperations = {
|