@keystrokehq/notion 0.0.11 → 0.0.15

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.
@@ -1,17 +1,13 @@
1
- import { r as notionBundle } from "../integration-Bc-B-wPX.mjs";
2
- import { CredentialSet } from "@keystrokehq/core";
1
+ import { r as notionBundle } from "../integration--FJUCgRj.mjs";
3
2
  import { z } from "zod";
4
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
3
+ import { CredentialSet } from "@keystrokehq/core";
5
4
  import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
6
5
 
7
6
  //#region src/_official/provider-app.d.ts
8
7
  declare const notionAppCredentialSet: CredentialSet<"keystroke:notion-app", z.ZodObject<{
9
8
  clientId: z.ZodString;
10
9
  clientSecret: z.ZodString;
11
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
12
- clientId: z.ZodString;
13
- clientSecret: z.ZodString;
14
- }, z.core.$strip>>[] | undefined>;
10
+ }, z.core.$strip>>;
15
11
  declare const notionOfficialProviderSeed: {
16
12
  readonly provider: "notion";
17
13
  readonly appRef: "notion-official";
@@ -31,9 +27,7 @@ declare const notionOfficialProviderSeed: {
31
27
  type NotionAppCredentials = InferCredentialSetAuth<typeof notionAppCredentialSet>;
32
28
  declare const notionWebhookCredentialSet: CredentialSet<"keystroke:notion-webhook", z.ZodObject<{
33
29
  verificationToken: z.ZodString;
34
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
35
- verificationToken: z.ZodString;
36
- }, z.core.$strip>>[] | undefined>;
30
+ }, z.core.$strip>>;
37
31
  type NotionWebhookCredentials = InferCredentialSetAuth<typeof notionWebhookCredentialSet>;
38
32
  //#endregion
39
33
  export { NotionAppCredentials, NotionWebhookCredentials, notionAppCredentialSet, notionBundle, notionOfficialProviderSeed, notionWebhookCredentialSet };
@@ -1,3 +1,3 @@
1
- import { a as notionOfficialProviderSeed, i as notionAppCredentialSet, n as notionBundle, o as notionWebhookCredentialSet } from "../integration-Dqf1rNJ6.mjs";
1
+ import { a as notionOfficialProviderSeed, i as notionAppCredentialSet, n as notionBundle, o as notionWebhookCredentialSet } from "../integration-xFeJVYim.mjs";
2
2
 
3
3
  export { notionAppCredentialSet, notionBundle, notionOfficialProviderSeed, notionWebhookCredentialSet };
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import * as zod from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
  import * as zod_v4_core0 from "zod/v4/core";
5
4
 
6
5
  //#region src/_runtime/index.d.ts
@@ -25,11 +24,9 @@ declare const notionOperations: {
25
24
  workspace: zod.ZodOptional<zod.ZodBoolean>;
26
25
  }, zod_v4_core0.$strip>>;
27
26
  properties: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
28
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
27
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
29
28
  NOTION_ACCESS_TOKEN: zod.ZodString;
30
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
31
- NOTION_ACCESS_TOKEN: zod.ZodString;
32
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
29
+ }, zod_v4_core0.$strip>>], undefined>;
33
30
  readonly createPage: _keystrokehq_core0.Operation<zod.ZodObject<{
34
31
  parent: zod.ZodObject<{
35
32
  pageId: zod.ZodOptional<zod.ZodString>;
@@ -57,21 +54,17 @@ declare const notionOperations: {
57
54
  workspace: zod.ZodOptional<zod.ZodBoolean>;
58
55
  }, zod_v4_core0.$strip>>;
59
56
  properties: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
60
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
61
- NOTION_ACCESS_TOKEN: zod.ZodString;
62
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
57
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
63
58
  NOTION_ACCESS_TOKEN: zod.ZodString;
64
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
59
+ }, zod_v4_core0.$strip>>], undefined>;
65
60
  readonly copyPageContent: _keystrokehq_core0.Operation<zod.ZodObject<{
66
61
  sourcePageId: zod.ZodString;
67
62
  targetPageId: zod.ZodString;
68
63
  }, zod_v4_core0.$strip>, zod.ZodObject<{
69
64
  success: zod.ZodLiteral<true>;
70
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
65
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
71
66
  NOTION_ACCESS_TOKEN: zod.ZodString;
72
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
73
- NOTION_ACCESS_TOKEN: zod.ZodString;
74
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
67
+ }, zod_v4_core0.$strip>>], undefined>;
75
68
  readonly updatePage: _keystrokehq_core0.Operation<zod.ZodObject<{
76
69
  pageId: zod.ZodString;
77
70
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
@@ -97,11 +90,9 @@ declare const notionOperations: {
97
90
  workspace: zod.ZodOptional<zod.ZodBoolean>;
98
91
  }, zod_v4_core0.$strip>>;
99
92
  properties: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
100
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
101
- NOTION_ACCESS_TOKEN: zod.ZodString;
102
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
93
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
103
94
  NOTION_ACCESS_TOKEN: zod.ZodString;
104
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
95
+ }, zod_v4_core0.$strip>>], undefined>;
105
96
  readonly trashPage: _keystrokehq_core0.Operation<zod.ZodObject<{
106
97
  pageId: zod.ZodString;
107
98
  }, zod_v4_core0.$strip>, zod.ZodObject<{
@@ -122,11 +113,9 @@ declare const notionOperations: {
122
113
  workspace: zod.ZodOptional<zod.ZodBoolean>;
123
114
  }, zod_v4_core0.$strip>>;
124
115
  properties: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
125
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
126
- NOTION_ACCESS_TOKEN: zod.ZodString;
127
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
116
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
128
117
  NOTION_ACCESS_TOKEN: zod.ZodString;
129
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
118
+ }, zod_v4_core0.$strip>>], undefined>;
130
119
  readonly restorePage: _keystrokehq_core0.Operation<zod.ZodObject<{
131
120
  pageId: zod.ZodString;
132
121
  }, zod_v4_core0.$strip>, zod.ZodObject<{
@@ -147,11 +136,9 @@ declare const notionOperations: {
147
136
  workspace: zod.ZodOptional<zod.ZodBoolean>;
148
137
  }, zod_v4_core0.$strip>>;
149
138
  properties: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
150
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
139
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
151
140
  NOTION_ACCESS_TOKEN: zod.ZodString;
152
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
153
- NOTION_ACCESS_TOKEN: zod.ZodString;
154
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
141
+ }, zod_v4_core0.$strip>>], undefined>;
155
142
  readonly getPageProperty: _keystrokehq_core0.Operation<zod.ZodObject<{
156
143
  pageId: zod.ZodString;
157
144
  propertyId: zod.ZodString;
@@ -164,11 +151,9 @@ declare const notionOperations: {
164
151
  value: zod.ZodUnknown;
165
152
  nextCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
166
153
  hasMore: zod.ZodOptional<zod.ZodBoolean>;
167
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
168
- NOTION_ACCESS_TOKEN: zod.ZodString;
169
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
154
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
170
155
  NOTION_ACCESS_TOKEN: zod.ZodString;
171
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
156
+ }, zod_v4_core0.$strip>>], undefined>;
172
157
  readonly getBlock: _keystrokehq_core0.Operation<zod.ZodObject<{
173
158
  blockId: zod.ZodString;
174
159
  }, zod_v4_core0.$strip>, zod.ZodObject<{
@@ -189,11 +174,9 @@ declare const notionOperations: {
189
174
  workspace: zod.ZodOptional<zod.ZodBoolean>;
190
175
  }, zod_v4_core0.$strip>>;
191
176
  value: zod.ZodOptional<zod.ZodUnknown>;
192
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
193
- NOTION_ACCESS_TOKEN: zod.ZodString;
194
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
177
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
195
178
  NOTION_ACCESS_TOKEN: zod.ZodString;
196
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
179
+ }, zod_v4_core0.$strip>>], undefined>;
197
180
  readonly listBlockChildren: _keystrokehq_core0.Operation<zod.ZodObject<{
198
181
  blockId: zod.ZodString;
199
182
  limit: zod.ZodOptional<zod.ZodNumber>;
@@ -221,21 +204,17 @@ declare const notionOperations: {
221
204
  }, zod_v4_core0.$strip>>;
222
205
  hasMore: zod.ZodBoolean;
223
206
  nextCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
224
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
207
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
225
208
  NOTION_ACCESS_TOKEN: zod.ZodString;
226
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
227
- NOTION_ACCESS_TOKEN: zod.ZodString;
228
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
209
+ }, zod_v4_core0.$strip>>], undefined>;
229
210
  readonly appendBlockChildren: _keystrokehq_core0.Operation<zod.ZodObject<{
230
211
  blockId: zod.ZodString;
231
212
  children: zod.ZodArray<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
232
213
  }, zod_v4_core0.$strip>, zod.ZodObject<{
233
214
  success: zod.ZodLiteral<true>;
234
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
235
- NOTION_ACCESS_TOKEN: zod.ZodString;
236
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
215
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
237
216
  NOTION_ACCESS_TOKEN: zod.ZodString;
238
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
217
+ }, zod_v4_core0.$strip>>], undefined>;
239
218
  readonly updateBlock: _keystrokehq_core0.Operation<zod.ZodObject<{
240
219
  blockId: zod.ZodString;
241
220
  block: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
@@ -257,11 +236,9 @@ declare const notionOperations: {
257
236
  workspace: zod.ZodOptional<zod.ZodBoolean>;
258
237
  }, zod_v4_core0.$strip>>;
259
238
  value: zod.ZodOptional<zod.ZodUnknown>;
260
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
261
- NOTION_ACCESS_TOKEN: zod.ZodString;
262
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
239
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
263
240
  NOTION_ACCESS_TOKEN: zod.ZodString;
264
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
241
+ }, zod_v4_core0.$strip>>], undefined>;
265
242
  readonly deleteBlock: _keystrokehq_core0.Operation<zod.ZodObject<{
266
243
  blockId: zod.ZodString;
267
244
  }, zod_v4_core0.$strip>, zod.ZodObject<{
@@ -282,11 +259,9 @@ declare const notionOperations: {
282
259
  workspace: zod.ZodOptional<zod.ZodBoolean>;
283
260
  }, zod_v4_core0.$strip>>;
284
261
  value: zod.ZodOptional<zod.ZodUnknown>;
285
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
262
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
286
263
  NOTION_ACCESS_TOKEN: zod.ZodString;
287
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
288
- NOTION_ACCESS_TOKEN: zod.ZodString;
289
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
264
+ }, zod_v4_core0.$strip>>], undefined>;
290
265
  readonly discoverDatabaseDataSources: _keystrokehq_core0.Operation<zod.ZodObject<{
291
266
  databaseId: zod.ZodString;
292
267
  }, zod_v4_core0.$strip>, zod.ZodObject<{
@@ -295,11 +270,9 @@ declare const notionOperations: {
295
270
  id: zod.ZodString;
296
271
  name: zod.ZodString;
297
272
  }, zod_v4_core0.$strip>>;
298
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
299
- NOTION_ACCESS_TOKEN: zod.ZodString;
300
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
273
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
301
274
  NOTION_ACCESS_TOKEN: zod.ZodString;
302
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
275
+ }, zod_v4_core0.$strip>>], undefined>;
303
276
  readonly getDataSource: _keystrokehq_core0.Operation<zod.ZodObject<{
304
277
  dataSourceId: zod.ZodString;
305
278
  }, zod_v4_core0.$strip>, zod.ZodObject<{
@@ -318,11 +291,9 @@ declare const notionOperations: {
318
291
  workspace: zod.ZodOptional<zod.ZodBoolean>;
319
292
  }, zod_v4_core0.$strip>>;
320
293
  properties: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
321
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
294
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
322
295
  NOTION_ACCESS_TOKEN: zod.ZodString;
323
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
324
- NOTION_ACCESS_TOKEN: zod.ZodString;
325
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
296
+ }, zod_v4_core0.$strip>>], undefined>;
326
297
  readonly queryDataSource: _keystrokehq_core0.Operation<zod.ZodObject<{
327
298
  dataSourceId: zod.ZodString;
328
299
  filter: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
@@ -351,11 +322,9 @@ declare const notionOperations: {
351
322
  }, zod_v4_core0.$strip>>;
352
323
  hasMore: zod.ZodBoolean;
353
324
  nextCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
354
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
355
- NOTION_ACCESS_TOKEN: zod.ZodString;
356
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
325
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
357
326
  NOTION_ACCESS_TOKEN: zod.ZodString;
358
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
327
+ }, zod_v4_core0.$strip>>], undefined>;
359
328
  readonly createDataSourceEntry: _keystrokehq_core0.Operation<zod.ZodObject<{
360
329
  dataSourceId: zod.ZodString;
361
330
  properties: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
@@ -378,11 +347,9 @@ declare const notionOperations: {
378
347
  workspace: zod.ZodOptional<zod.ZodBoolean>;
379
348
  }, zod_v4_core0.$strip>>;
380
349
  properties: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
381
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
350
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
382
351
  NOTION_ACCESS_TOKEN: zod.ZodString;
383
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
384
- NOTION_ACCESS_TOKEN: zod.ZodString;
385
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
352
+ }, zod_v4_core0.$strip>>], undefined>;
386
353
  readonly updateDataSourceEntry: _keystrokehq_core0.Operation<zod.ZodObject<{
387
354
  pageId: zod.ZodString;
388
355
  properties: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>;
@@ -405,11 +372,9 @@ declare const notionOperations: {
405
372
  workspace: zod.ZodOptional<zod.ZodBoolean>;
406
373
  }, zod_v4_core0.$strip>>;
407
374
  properties: zod.ZodRecord<zod.ZodString, zod.ZodUnknown>;
408
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
409
- NOTION_ACCESS_TOKEN: zod.ZodString;
410
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
375
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
411
376
  NOTION_ACCESS_TOKEN: zod.ZodString;
412
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
377
+ }, zod_v4_core0.$strip>>], undefined>;
413
378
  readonly listComments: _keystrokehq_core0.Operation<zod.ZodObject<{
414
379
  blockId: zod.ZodString;
415
380
  limit: zod.ZodOptional<zod.ZodNumber>;
@@ -441,11 +406,9 @@ declare const notionOperations: {
441
406
  }, zod_v4_core0.$strip>>;
442
407
  hasMore: zod.ZodBoolean;
443
408
  nextCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
444
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
445
- NOTION_ACCESS_TOKEN: zod.ZodString;
446
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
409
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
447
410
  NOTION_ACCESS_TOKEN: zod.ZodString;
448
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
411
+ }, zod_v4_core0.$strip>>], undefined>;
449
412
  readonly getComment: _keystrokehq_core0.Operation<zod.ZodObject<{
450
413
  commentId: zod.ZodString;
451
414
  }, zod_v4_core0.$strip>, zod.ZodObject<{
@@ -471,11 +434,9 @@ declare const notionOperations: {
471
434
  avatarUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
472
435
  email: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
473
436
  }, zod_v4_core0.$strip>>;
474
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
437
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
475
438
  NOTION_ACCESS_TOKEN: zod.ZodString;
476
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
477
- NOTION_ACCESS_TOKEN: zod.ZodString;
478
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
439
+ }, zod_v4_core0.$strip>>], undefined>;
479
440
  readonly createComment: _keystrokehq_core0.Operation<zod.ZodObject<{
480
441
  target: zod.ZodObject<{
481
442
  pageId: zod.ZodOptional<zod.ZodString>;
@@ -507,11 +468,9 @@ declare const notionOperations: {
507
468
  avatarUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
508
469
  email: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
509
470
  }, zod_v4_core0.$strip>>;
510
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
511
- NOTION_ACCESS_TOKEN: zod.ZodString;
512
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
471
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
513
472
  NOTION_ACCESS_TOKEN: zod.ZodString;
514
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
473
+ }, zod_v4_core0.$strip>>], undefined>;
515
474
  readonly getMe: _keystrokehq_core0.Operation<zod.ZodObject<{}, zod_v4_core0.$strip>, zod.ZodObject<{
516
475
  id: zod.ZodString;
517
476
  object: zod.ZodLiteral<"user">;
@@ -519,11 +478,9 @@ declare const notionOperations: {
519
478
  name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
520
479
  avatarUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
521
480
  email: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
522
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
523
- NOTION_ACCESS_TOKEN: zod.ZodString;
524
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
481
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
525
482
  NOTION_ACCESS_TOKEN: zod.ZodString;
526
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
483
+ }, zod_v4_core0.$strip>>], undefined>;
527
484
  readonly getUser: _keystrokehq_core0.Operation<zod.ZodObject<{
528
485
  userId: zod.ZodString;
529
486
  }, zod_v4_core0.$strip>, zod.ZodObject<{
@@ -533,11 +490,9 @@ declare const notionOperations: {
533
490
  name: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
534
491
  avatarUrl: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
535
492
  email: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
536
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
493
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
537
494
  NOTION_ACCESS_TOKEN: zod.ZodString;
538
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
539
- NOTION_ACCESS_TOKEN: zod.ZodString;
540
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
495
+ }, zod_v4_core0.$strip>>], undefined>;
541
496
  readonly listUsers: _keystrokehq_core0.Operation<zod.ZodObject<{
542
497
  limit: zod.ZodOptional<zod.ZodNumber>;
543
498
  startCursor: zod.ZodOptional<zod.ZodString>;
@@ -552,11 +507,9 @@ declare const notionOperations: {
552
507
  }, zod_v4_core0.$strip>>;
553
508
  hasMore: zod.ZodBoolean;
554
509
  nextCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
555
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
556
- NOTION_ACCESS_TOKEN: zod.ZodString;
557
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
510
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
558
511
  NOTION_ACCESS_TOKEN: zod.ZodString;
559
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
512
+ }, zod_v4_core0.$strip>>], undefined>;
560
513
  readonly searchWorkspace: _keystrokehq_core0.Operation<zod.ZodObject<{
561
514
  query: zod.ZodOptional<zod.ZodString>;
562
515
  object: zod.ZodOptional<zod.ZodEnum<{
@@ -590,11 +543,9 @@ declare const notionOperations: {
590
543
  }, zod_v4_core0.$strip>>;
591
544
  hasMore: zod.ZodBoolean;
592
545
  nextCursor: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
593
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", zod.ZodObject<{
594
- NOTION_ACCESS_TOKEN: zod.ZodString;
595
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
546
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", zod.ZodObject<{
596
547
  NOTION_ACCESS_TOKEN: zod.ZodString;
597
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
548
+ }, zod_v4_core0.$strip>>], undefined>;
598
549
  };
599
550
  //#endregion
600
551
  export { notionOperations };
package/dist/blocks.d.mts CHANGED
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
 
5
4
  //#region src/blocks.d.ts
6
5
  declare const getBlock: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -23,11 +22,9 @@ declare const getBlock: _keystrokehq_core0.Operation<z.ZodObject<{
23
22
  workspace: z.ZodOptional<z.ZodBoolean>;
24
23
  }, z.core.$strip>>;
25
24
  value: z.ZodOptional<z.ZodUnknown>;
26
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
25
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
27
26
  NOTION_ACCESS_TOKEN: z.ZodString;
28
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
29
- NOTION_ACCESS_TOKEN: z.ZodString;
30
- }, z.core.$strip>>[] | undefined>], undefined>;
27
+ }, z.core.$strip>>], undefined>;
31
28
  declare const listBlockChildren: _keystrokehq_core0.Operation<z.ZodObject<{
32
29
  blockId: z.ZodString;
33
30
  limit: z.ZodOptional<z.ZodNumber>;
@@ -55,21 +52,17 @@ declare const listBlockChildren: _keystrokehq_core0.Operation<z.ZodObject<{
55
52
  }, z.core.$strip>>;
56
53
  hasMore: z.ZodBoolean;
57
54
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
59
- NOTION_ACCESS_TOKEN: z.ZodString;
60
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
55
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
61
56
  NOTION_ACCESS_TOKEN: z.ZodString;
62
- }, z.core.$strip>>[] | undefined>], undefined>;
57
+ }, z.core.$strip>>], undefined>;
63
58
  declare const appendBlockChildren: _keystrokehq_core0.Operation<z.ZodObject<{
64
59
  blockId: z.ZodString;
65
60
  children: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
66
61
  }, z.core.$strip>, z.ZodObject<{
67
62
  success: z.ZodLiteral<true>;
68
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
63
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
69
64
  NOTION_ACCESS_TOKEN: z.ZodString;
70
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
71
- NOTION_ACCESS_TOKEN: z.ZodString;
72
- }, z.core.$strip>>[] | undefined>], undefined>;
65
+ }, z.core.$strip>>], undefined>;
73
66
  declare const updateBlock: _keystrokehq_core0.Operation<z.ZodObject<{
74
67
  blockId: z.ZodString;
75
68
  block: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -91,11 +84,9 @@ declare const updateBlock: _keystrokehq_core0.Operation<z.ZodObject<{
91
84
  workspace: z.ZodOptional<z.ZodBoolean>;
92
85
  }, z.core.$strip>>;
93
86
  value: z.ZodOptional<z.ZodUnknown>;
94
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
95
- NOTION_ACCESS_TOKEN: z.ZodString;
96
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
87
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
97
88
  NOTION_ACCESS_TOKEN: z.ZodString;
98
- }, z.core.$strip>>[] | undefined>], undefined>;
89
+ }, z.core.$strip>>], undefined>;
99
90
  declare const deleteBlock: _keystrokehq_core0.Operation<z.ZodObject<{
100
91
  blockId: z.ZodString;
101
92
  }, z.core.$strip>, z.ZodObject<{
@@ -116,10 +107,8 @@ declare const deleteBlock: _keystrokehq_core0.Operation<z.ZodObject<{
116
107
  workspace: z.ZodOptional<z.ZodBoolean>;
117
108
  }, z.core.$strip>>;
118
109
  value: z.ZodOptional<z.ZodUnknown>;
119
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
120
- NOTION_ACCESS_TOKEN: z.ZodString;
121
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
110
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
122
111
  NOTION_ACCESS_TOKEN: z.ZodString;
123
- }, z.core.$strip>>[] | undefined>], undefined>;
112
+ }, z.core.$strip>>], undefined>;
124
113
  //#endregion
125
114
  export { appendBlockChildren, deleteBlock, getBlock, listBlockChildren, updateBlock };
package/dist/blocks.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { appendBlockChildrenInChunks, createNotionClient, listAllPaginatedResults, withRateLimitRetry } from "./client.mjs";
2
2
  import { normalizeBlock, normalizeListMeta, notionBlockSchema, notionListResponseSchema, notionSuccessResponseSchema } from "./schemas.mjs";
3
- import { t as notionOperation } from "./factory-Dw2V3rrS.mjs";
4
- import { r as buildPaginationInput } from "./shared-DwBtvjix.mjs";
3
+ import { t as notionOperation } from "./factory-BmLNLbSq.mjs";
4
+ import { r as buildPaginationInput } from "./shared-C6A6JPl3.mjs";
5
5
  import { z } from "zod";
6
6
 
7
7
  //#region src/blocks.ts
package/dist/client.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as NotionCredentials } from "./integration-Bc-B-wPX.mjs";
1
+ import { t as NotionCredentials } from "./integration--FJUCgRj.mjs";
2
2
  import { Client } from "@notionhq/client";
3
3
 
4
4
  //#region src/client.d.ts
package/dist/client.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { t as notion } from "./integration-Dqf1rNJ6.mjs";
2
- import { t as createErrorNormalizingProxy } from "./dist-Bbp6t-WQ.mjs";
1
+ import { t as notion } from "./integration-xFeJVYim.mjs";
3
2
  import { CredentialRevokedError } from "@keystrokehq/core/errors";
3
+ import { createErrorNormalizingProxy } from "@keystrokehq/integration-authoring";
4
4
  import { Client } from "@notionhq/client";
5
5
 
6
6
  //#region src/client.ts
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
 
5
4
  //#region src/comments.d.ts
6
5
  declare const listComments: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -34,11 +33,9 @@ declare const listComments: _keystrokehq_core0.Operation<z.ZodObject<{
34
33
  }, z.core.$strip>>;
35
34
  hasMore: z.ZodBoolean;
36
35
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
38
- NOTION_ACCESS_TOKEN: z.ZodString;
39
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
36
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
40
37
  NOTION_ACCESS_TOKEN: z.ZodString;
41
- }, z.core.$strip>>[] | undefined>], undefined>;
38
+ }, z.core.$strip>>], undefined>;
42
39
  declare const getComment: _keystrokehq_core0.Operation<z.ZodObject<{
43
40
  commentId: z.ZodString;
44
41
  }, z.core.$strip>, z.ZodObject<{
@@ -64,11 +61,9 @@ declare const getComment: _keystrokehq_core0.Operation<z.ZodObject<{
64
61
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
62
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
63
  }, z.core.$strip>>;
67
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
64
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
68
65
  NOTION_ACCESS_TOKEN: z.ZodString;
69
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
70
- NOTION_ACCESS_TOKEN: z.ZodString;
71
- }, z.core.$strip>>[] | undefined>], undefined>;
66
+ }, z.core.$strip>>], undefined>;
72
67
  declare const createComment: _keystrokehq_core0.Operation<z.ZodObject<{
73
68
  target: z.ZodObject<{
74
69
  pageId: z.ZodOptional<z.ZodString>;
@@ -100,10 +95,8 @@ declare const createComment: _keystrokehq_core0.Operation<z.ZodObject<{
100
95
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
96
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
97
  }, z.core.$strip>>;
103
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
104
- NOTION_ACCESS_TOKEN: z.ZodString;
105
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
98
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
106
99
  NOTION_ACCESS_TOKEN: z.ZodString;
107
- }, z.core.$strip>>[] | undefined>], undefined>;
100
+ }, z.core.$strip>>], undefined>;
108
101
  //#endregion
109
102
  export { createComment, getComment, listComments };
package/dist/comments.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { createNotionClient, withRateLimitRetry } from "./client.mjs";
2
2
  import { normalizeComment, normalizeListMeta, notionCommentSchema, notionListResponseSchema } from "./schemas.mjs";
3
- import { t as notionOperation } from "./factory-Dw2V3rrS.mjs";
4
- import { i as buildPlainTextRichText, r as buildPaginationInput, t as buildCommentTarget } from "./shared-DwBtvjix.mjs";
3
+ import { t as notionOperation } from "./factory-BmLNLbSq.mjs";
4
+ import { i as buildPlainTextRichText, r as buildPaginationInput, t as buildCommentTarget } from "./shared-C6A6JPl3.mjs";
5
5
  import { z } from "zod";
6
6
 
7
7
  //#region src/comments.ts
@@ -1,2 +1,2 @@
1
- import { i as notionOfficialIntegration, n as notion, t as NotionCredentials } from "./integration-Bc-B-wPX.mjs";
1
+ import { i as notionOfficialIntegration, n as notion, t as NotionCredentials } from "./integration--FJUCgRj.mjs";
2
2
  export { type NotionCredentials, notion, notionOfficialIntegration };
@@ -1,3 +1,3 @@
1
- import { r as notionOfficialIntegration, t as notion } from "./integration-Dqf1rNJ6.mjs";
1
+ import { r as notionOfficialIntegration, t as notion } from "./integration-xFeJVYim.mjs";
2
2
 
3
3
  export { notion, notionOfficialIntegration };
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
 
5
4
  //#region src/data-sources.d.ts
6
5
  declare const discoverDatabaseDataSources: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -11,11 +10,9 @@ declare const discoverDatabaseDataSources: _keystrokehq_core0.Operation<z.ZodObj
11
10
  id: z.ZodString;
12
11
  name: z.ZodString;
13
12
  }, z.core.$strip>>;
14
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
13
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
15
14
  NOTION_ACCESS_TOKEN: z.ZodString;
16
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
17
- NOTION_ACCESS_TOKEN: z.ZodString;
18
- }, z.core.$strip>>[] | undefined>], undefined>;
15
+ }, z.core.$strip>>], undefined>;
19
16
  declare const getDataSource: _keystrokehq_core0.Operation<z.ZodObject<{
20
17
  dataSourceId: z.ZodString;
21
18
  }, z.core.$strip>, z.ZodObject<{
@@ -34,11 +31,9 @@ declare const getDataSource: _keystrokehq_core0.Operation<z.ZodObject<{
34
31
  workspace: z.ZodOptional<z.ZodBoolean>;
35
32
  }, z.core.$strip>>;
36
33
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
37
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
38
- NOTION_ACCESS_TOKEN: z.ZodString;
39
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
34
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
40
35
  NOTION_ACCESS_TOKEN: z.ZodString;
41
- }, z.core.$strip>>[] | undefined>], undefined>;
36
+ }, z.core.$strip>>], undefined>;
42
37
  declare const queryDataSource: _keystrokehq_core0.Operation<z.ZodObject<{
43
38
  dataSourceId: z.ZodString;
44
39
  filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -67,11 +62,9 @@ declare const queryDataSource: _keystrokehq_core0.Operation<z.ZodObject<{
67
62
  }, z.core.$strip>>;
68
63
  hasMore: z.ZodBoolean;
69
64
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
65
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
71
66
  NOTION_ACCESS_TOKEN: z.ZodString;
72
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
73
- NOTION_ACCESS_TOKEN: z.ZodString;
74
- }, z.core.$strip>>[] | undefined>], undefined>;
67
+ }, z.core.$strip>>], undefined>;
75
68
  declare const createDataSourceEntry: _keystrokehq_core0.Operation<z.ZodObject<{
76
69
  dataSourceId: z.ZodString;
77
70
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
@@ -94,11 +87,9 @@ declare const createDataSourceEntry: _keystrokehq_core0.Operation<z.ZodObject<{
94
87
  workspace: z.ZodOptional<z.ZodBoolean>;
95
88
  }, z.core.$strip>>;
96
89
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
97
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
98
- NOTION_ACCESS_TOKEN: z.ZodString;
99
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
90
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
100
91
  NOTION_ACCESS_TOKEN: z.ZodString;
101
- }, z.core.$strip>>[] | undefined>], undefined>;
92
+ }, z.core.$strip>>], undefined>;
102
93
  declare const updateDataSourceEntry: _keystrokehq_core0.Operation<z.ZodObject<{
103
94
  pageId: z.ZodString;
104
95
  properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -121,10 +112,8 @@ declare const updateDataSourceEntry: _keystrokehq_core0.Operation<z.ZodObject<{
121
112
  workspace: z.ZodOptional<z.ZodBoolean>;
122
113
  }, z.core.$strip>>;
123
114
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
124
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"notion", z.ZodObject<{
125
- NOTION_ACCESS_TOKEN: z.ZodString;
126
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
115
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:notion", z.ZodObject<{
127
116
  NOTION_ACCESS_TOKEN: z.ZodString;
128
- }, z.core.$strip>>[] | undefined>], undefined>;
117
+ }, z.core.$strip>>], undefined>;
129
118
  //#endregion
130
119
  export { createDataSourceEntry, discoverDatabaseDataSources, getDataSource, queryDataSource, updateDataSourceEntry };
@@ -1,7 +1,7 @@
1
1
  import { createNotionClient, withRateLimitRetry } from "./client.mjs";
2
2
  import { normalizeDataSource, normalizeListMeta, normalizePage, notionDataSourceSchema, notionListResponseSchema, notionPageSchema } from "./schemas.mjs";
3
- import { t as notionOperation } from "./factory-Dw2V3rrS.mjs";
4
- import { r as buildPaginationInput } from "./shared-DwBtvjix.mjs";
3
+ import { t as notionOperation } from "./factory-BmLNLbSq.mjs";
4
+ import { r as buildPaginationInput } from "./shared-C6A6JPl3.mjs";
5
5
  import { z } from "zod";
6
6
 
7
7
  //#region src/data-sources.ts