@superdurable/connector-atlassian-confluence 0.0.0-stage → 0.1.0

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.
@@ -0,0 +1,397 @@
1
+ import { RefreshingCredentialProvider, SecretString, Query, Mutation, ConnectionRef } from '@superdurable/connectors-sdk';
2
+ import { z } from 'zod';
3
+
4
+ /** Connector configuration; omitted fields use manifest defaults. */
5
+ interface Config {
6
+ /** Non-secret Confluence Cloud site ID (cloudId), a UUID such as 1324a887-45db-1bf4-1e99-ef0ff456d421, naming the one site every operation of this connection uses. After Connect, choose the site with the Confluence site picker; where Dex Web shows a text field instead, sign in to Confluence, open https://<your-site>.atlassian.net/_edge/tenant_info in the same browser, and copy its cloudId value. Blank means the connector uses the only Confluence site the authorization grants, found through Atlassian's accessible-resources endpoint, and selects defect when the grant covers no Confluence site or several. The value is read when the application starts. */
7
+ cloudId?: string;
8
+ /** Atlassian API gateway base URL for both the accessible-resources site lookup and the /ex/confluence/{cloudId}/wiki Confluence paths; leave blank for Atlassian's public gateway. Enter an absolute HTTPS URL only for an explicitly supported compatible gateway: Atlassian rejects OAuth tokens sent to site URLs such as https://your-site.atlassian.net/wiki. */
9
+ endpoint?: string;
10
+ /** Maximum complete Confluence API response in bytes. Leave blank to keep the displayed safety limit; enter a positive integer only to read longer pages. An oversized read selects invalidResponse, and a write whose response is oversized is confirmed by reading the page or comment back. */
11
+ maxResponseBytes?: number;
12
+ }
13
+ /** Runtime schema for manifest configuration. */
14
+ declare const ConfigSchema: z.ZodObject<{
15
+ cloudId: z.ZodOptional<z.ZodString>;
16
+ endpoint: z.ZodOptional<z.ZodString>;
17
+ maxResponseBytes: z.ZodOptional<z.ZodNumber>;
18
+ }, z.core.$strip>;
19
+ /** Private connector credentials resolved by the host. */
20
+ interface Credentials {
21
+ /** Secret short-lived access token returned by Atlassian after consent; Dex derives it automatically and refreshes it before it expires, so never enter it manually, and blank means Connect has not completed. */
22
+ accessToken: SecretString;
23
+ /** Non-secret OAuth 2.0 (3LO) client ID copied from https://developer.atlassian.com/console/myapps/ after selecting the app > Settings > Authentication details > Client ID; an alphanumeric value, and blank means authorization and refresh cannot start. */
24
+ oauthClientId: string;
25
+ /** Secret OAuth 2.0 (3LO) client secret copied from https://developer.atlassian.com/console/myapps/ > the app > Settings > Authentication details > Secret; store it only in this credential field, and blank means authorization and refresh cannot start. */
26
+ oauthClientSecret: SecretString;
27
+ /** Secret rotating refresh token returned because the connection requests offline_access; Atlassian disables each refresh token once it issues the next, so Dex stores every replacement atomically, and blank means reauthorization is required. */
28
+ refreshToken: SecretString;
29
+ }
30
+ /** Decode private credential fields for the connector. */
31
+ declare function decodeCredentials(value: unknown): Credentials;
32
+ /** Decode shared credential fields for the connector. */
33
+ declare function decodeSharedCredentials(value: unknown): Credentials;
34
+ /** Host-owned source of private connector credentials. */
35
+ type CredentialSource = RefreshingCredentialProvider<Credentials>;
36
+ /** PageSearchFilter is a typed page search that the connector turns into escaped CQL, so no caller text
37
+ * can change the query's structure. The query always starts with type = page, and every set field adds
38
+ * one clause joined with AND. */
39
+ interface PageSearchFilter {
40
+ /** SpaceKeys limits the search to these space keys, such as OPS or ~5b10ac8d82e05b22cc7d4ef5. */
41
+ "spaceKeys"?: Array<string> | undefined;
42
+ /** TitlePhrase matches pages whose title contains this phrase as Confluence's text search tokenizes
43
+ * it. Text search ignores case and punctuation, so compare the returned titles for an exact match. */
44
+ "titlePhrase"?: string | undefined;
45
+ /** Labels matches pages that carry at least one of these labels, such as policy or in-force. */
46
+ "labels"?: Array<string> | undefined;
47
+ /** ModifiedSince keeps only pages last modified at or after this instant. CQL compares dates in the
48
+ * authorizing user's Confluence time zone, so the connector widens the CQL bound by half a day and
49
+ * removes earlier pages from each result page itself. */
50
+ "modifiedSince"?: string | null | undefined;
51
+ /** AdditionalCQL is one caller-built clause ANDed inside parentheses, such as
52
+ * ancestor = 123456 OR parent = 123456. It must balance its parentheses and quotes and cannot
53
+ * contain ORDER BY. Quote every value that came from outside the application with QuoteCQLString. */
54
+ "additionalCql"?: string | undefined;
55
+ /** Order selects the result order; blank uses PageSearchOrderLastModifiedDescending. */
56
+ "order"?: "createdDescending" | "lastModifiedDescending" | "titleAscending" | (string & {}) | undefined;
57
+ }
58
+ /** SearchPagesInput selects one page of search results. */
59
+ interface SearchPagesInput {
60
+ /** Filter is the typed search the connector escapes into CQL. */
61
+ "filter": PageSearchFilter;
62
+ /** PageSize is the number of pages to request, 1 to 100; zero requests 25. Confluence may return fewer. */
63
+ "pageSize"?: number | undefined;
64
+ /** Cursor continues a previous search with the same filter; blank reads the first page. */
65
+ "cursor"?: string | undefined;
66
+ }
67
+ /** PageSummary identifies one page found by search. Read its body with getPage. */
68
+ interface PageSummary {
69
+ /** ID is the numeric page ID. */
70
+ "id": string;
71
+ /** Title is the page title. */
72
+ "title": string;
73
+ /** Status is Confluence's page status, such as current. */
74
+ "status"?: string | undefined;
75
+ /** SpaceID is the numeric ID of the space that holds the page. */
76
+ "spaceId"?: string | undefined;
77
+ /** SpaceKey is the key of the space that holds the page, such as OPS. */
78
+ "spaceKey"?: string | undefined;
79
+ /** VersionNumber is the page's current version number. */
80
+ "versionNumber"?: number | undefined;
81
+ /** LastModifiedAt is when the current version was saved, or zero when Confluence omitted it. */
82
+ "lastModifiedAt": string;
83
+ /** WebURL is the page's address in the Confluence web UI, or empty when Confluence omitted it. */
84
+ "webUrl"?: string | undefined;
85
+ }
86
+ /** SearchPagesOutput is one page of matching pages. */
87
+ interface SearchPagesOutput {
88
+ /** CQL is the exact query sent to Confluence. */
89
+ "cql": string;
90
+ /** Pages lists the matching pages in the requested order, without their bodies. */
91
+ "pages": Array<PageSummary> | null;
92
+ /** NextCursor continues the search; it is empty on the last page. */
93
+ "nextCursor"?: string | undefined;
94
+ }
95
+ /** GetPageInput identifies one page and how to return its body. */
96
+ interface GetPageInput {
97
+ /** PageID is the numeric page ID, such as 123456. */
98
+ "pageId": string;
99
+ /** BodyRepresentation selects the Confluence body to convert; blank reads storage format. */
100
+ "bodyRepresentation"?: "atlas_doc_format" | "storage" | (string & {}) | undefined;
101
+ /** BodyFormat selects the returned text; blank returns Markdown. */
102
+ "bodyFormat"?: "markdown" | "plainText" | (string & {}) | undefined;
103
+ /** MaxBodyCharacters cuts Body after this many characters, 1 to 131072; zero keeps 32768. */
104
+ "maxBodyCharacters"?: number | undefined;
105
+ }
106
+ /** PageVersion is one published version of a page. */
107
+ interface PageVersion {
108
+ /** Number is the version number; an update must name Number plus one. */
109
+ "number": number;
110
+ /** CreatedAt is when the version was saved. */
111
+ "createdAt": string;
112
+ /** AuthorAccountID is the Atlassian account that saved the version. */
113
+ "authorAccountId"?: string | undefined;
114
+ /** IsMinorEdit reports a version saved without notifications. */
115
+ "isMinorEdit"?: boolean | undefined;
116
+ }
117
+ /** Page is the connector's view of one Confluence page. */
118
+ interface Page {
119
+ /** ID is the numeric page ID, stable across title changes and moves. */
120
+ "id": string;
121
+ /** Title is the page title, unique within its space. */
122
+ "title": string;
123
+ /** Status is Confluence's page status, such as current or archived. */
124
+ "status": string;
125
+ /** SpaceID is the numeric ID of the space that holds the page. */
126
+ "spaceId": string;
127
+ /** ParentPageID is the parent page's ID, or empty for a page at the space root. */
128
+ "parentPageId"?: string | undefined;
129
+ /** AuthorAccountID is the account that created the page. */
130
+ "authorAccountId"?: string | undefined;
131
+ /** CreatedAt is when the page was created. */
132
+ "createdAt": string;
133
+ /** Version is the current published version. */
134
+ "version": PageVersion;
135
+ /** Body is the page body converted to BodyFormat, cut at the requested character limit. */
136
+ "body": string;
137
+ /** BodyFormat is the format of Body. */
138
+ "bodyFormat": "markdown" | "plainText" | (string & {});
139
+ /** IsBodyTruncated reports that Body stopped at the character limit. */
140
+ "isBodyTruncated"?: boolean | undefined;
141
+ /** WebURL is the page's address in the Confluence web UI, or empty when Confluence omitted it. */
142
+ "webUrl"?: string | undefined;
143
+ }
144
+ /** CreatePageInput describes one published page. Set exactly one of SpaceID and SpaceKey. */
145
+ interface CreatePageInput {
146
+ /** SpaceID is the numeric space ID, as the space picker stores it. */
147
+ "spaceId"?: string | undefined;
148
+ /** SpaceKey is the space key, such as OPS; the connector looks up its ID before creating. */
149
+ "spaceKey"?: string | undefined;
150
+ /** ParentPageID places the page below this page in the same space; blank uses the space homepage. */
151
+ "parentPageId"?: string | undefined;
152
+ /** Title is the one-line page title, at most 255 characters. Confluence allows one page per title
153
+ * in a space. */
154
+ "title": string;
155
+ /** Body is the page content of at most 262144 characters in BodyFormat. */
156
+ "body": string;
157
+ /** BodyFormat is the format of Body; blank reads Markdown. */
158
+ "bodyFormat"?: "markdown" | "plainText" | (string & {}) | undefined;
159
+ }
160
+ /** CreatePageOutput identifies the page. On created it is the new page. On titleConflict it is the
161
+ * existing page with that title, so an application can update it with VersionNumber plus one. On
162
+ * notFound and providerRejected only the requested title and space are echoed. */
163
+ interface CreatePageOutput {
164
+ /** PageID is the page's numeric ID. */
165
+ "pageId"?: string | undefined;
166
+ /** Title echoes the requested title. */
167
+ "title": string;
168
+ /** SpaceID is the numeric ID of the space, resolved from SpaceKey when needed. */
169
+ "spaceId"?: string | undefined;
170
+ /** SpaceKey echoes the requested space key. */
171
+ "spaceKey"?: string | undefined;
172
+ /** ParentPageID is the page's parent page ID. */
173
+ "parentPageId"?: string | undefined;
174
+ /** VersionNumber is the page's current version number: 1 for a new page. */
175
+ "versionNumber"?: number | undefined;
176
+ /** WebURL is the page's address in the Confluence web UI, or empty when Confluence omitted it. */
177
+ "webUrl"?: string | undefined;
178
+ /** IsConfirmedByTitleLookup reports that Confluence did not confirm the create, and the connector
179
+ * found the page this Step execution sent by its title and content. */
180
+ "isConfirmedByTitleLookup"?: boolean | undefined;
181
+ }
182
+ /** UpdatePageInput replaces one page's title and body as the next version. */
183
+ interface UpdatePageInput {
184
+ /** PageID is the numeric page ID, such as 123456. */
185
+ "pageId": string;
186
+ /** Title is the page title after the update, one line of at most 255 characters; repeat the current
187
+ * title to keep it. */
188
+ "title": string;
189
+ /** Body is the complete new page content of at most 262144 characters in BodyFormat. */
190
+ "body": string;
191
+ /** BodyFormat is the format of Body; blank reads Markdown. */
192
+ "bodyFormat"?: "markdown" | "plainText" | (string & {}) | undefined;
193
+ /** NextVersionNumber is the version this update creates: the version number getPage returned plus one.
194
+ * Confluence refuses it when another edit saved that version first. */
195
+ "nextVersionNumber": number;
196
+ /** VersionMessage is an optional one-line change summary of at most 200 characters, shown in page
197
+ * history. The connector appends a marker such as [dex:3f9a2c1b7e04d5a6] to recognize its own update. */
198
+ "versionMessage"?: string | undefined;
199
+ }
200
+ /** UpdatePageOutput describes the page after the update. On versionConflict VersionNumber is the page's
201
+ * current version, so an application can read the page again and decide whether to update it. */
202
+ interface UpdatePageOutput {
203
+ /** PageID echoes the requested page. */
204
+ "pageId": string;
205
+ /** Title echoes the requested title. */
206
+ "title": string;
207
+ /** VersionNumber is the page's version: NextVersionNumber on updated, the current version otherwise. */
208
+ "versionNumber"?: number | undefined;
209
+ /** WebURL is the page's address in the Confluence web UI, or empty when Confluence omitted it. */
210
+ "webUrl"?: string | undefined;
211
+ /** IsConfirmedByReadBack reports that Confluence did not confirm the update, and the connector found
212
+ * this Step execution's version by reading the page back. */
213
+ "isConfirmedByReadBack"?: boolean | undefined;
214
+ }
215
+ /** AddCommentInput describes one footer comment on one page. */
216
+ interface AddCommentInput {
217
+ /** PageID is the numeric page ID, such as 123456. */
218
+ "pageId": string;
219
+ /** Body is the comment of at most 262144 characters in BodyFormat. */
220
+ "body": string;
221
+ /** BodyFormat is the format of Body; blank reads Markdown. */
222
+ "bodyFormat"?: "markdown" | "plainText" | (string & {}) | undefined;
223
+ }
224
+ /** AddCommentOutput identifies the comment. On notFound, providerRejected, and uncertain, CommentID is
225
+ * empty and PageID echoes the request. */
226
+ interface AddCommentOutput {
227
+ /** PageID echoes the requested page. */
228
+ "pageId": string;
229
+ /** CommentID is the new footer comment's numeric ID. */
230
+ "commentId"?: string | undefined;
231
+ /** CreatedAt is when Confluence stored the comment. */
232
+ "createdAt": string;
233
+ /** IsConfirmedByReadBack reports that an earlier attempt sent the comment and the connector found it
234
+ * among the page's newest footer comments instead of sending it again. */
235
+ "isConfirmedByReadBack"?: boolean | undefined;
236
+ }
237
+ /** Runtime validator for PageSearchFilter. */
238
+ declare const PageSearchFilterSchema: z.ZodObject<{
239
+ spaceKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
240
+ titlePhrase: z.ZodOptional<z.ZodString>;
241
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
242
+ modifiedSince: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
243
+ additionalCql: z.ZodOptional<z.ZodString>;
244
+ order: z.ZodOptional<z.ZodString>;
245
+ }, z.core.$strict>;
246
+ /** Runtime validator for SearchPagesInput. */
247
+ declare const SearchPagesInputSchema: z.ZodObject<{
248
+ filter: z.ZodObject<{
249
+ spaceKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
250
+ titlePhrase: z.ZodOptional<z.ZodString>;
251
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
252
+ modifiedSince: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
253
+ additionalCql: z.ZodOptional<z.ZodString>;
254
+ order: z.ZodOptional<z.ZodString>;
255
+ }, z.core.$strict>;
256
+ pageSize: z.ZodOptional<z.ZodNumber>;
257
+ cursor: z.ZodOptional<z.ZodString>;
258
+ }, z.core.$strict>;
259
+ /** Runtime validator for PageSummary. */
260
+ declare const PageSummarySchema: z.ZodObject<{
261
+ id: z.ZodString;
262
+ title: z.ZodString;
263
+ status: z.ZodOptional<z.ZodString>;
264
+ spaceId: z.ZodOptional<z.ZodString>;
265
+ spaceKey: z.ZodOptional<z.ZodString>;
266
+ versionNumber: z.ZodOptional<z.ZodNumber>;
267
+ lastModifiedAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
268
+ webUrl: z.ZodOptional<z.ZodString>;
269
+ }, z.core.$strict>;
270
+ /** Runtime validator for SearchPagesOutput. */
271
+ declare const SearchPagesOutputSchema: z.ZodObject<{
272
+ cql: z.ZodString;
273
+ pages: z.ZodNullable<z.ZodArray<z.ZodObject<{
274
+ id: z.ZodString;
275
+ title: z.ZodString;
276
+ status: z.ZodOptional<z.ZodString>;
277
+ spaceId: z.ZodOptional<z.ZodString>;
278
+ spaceKey: z.ZodOptional<z.ZodString>;
279
+ versionNumber: z.ZodOptional<z.ZodNumber>;
280
+ lastModifiedAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
281
+ webUrl: z.ZodOptional<z.ZodString>;
282
+ }, z.core.$strict>>>;
283
+ nextCursor: z.ZodOptional<z.ZodString>;
284
+ }, z.core.$strict>;
285
+ /** Runtime validator for GetPageInput. */
286
+ declare const GetPageInputSchema: z.ZodObject<{
287
+ pageId: z.ZodString;
288
+ bodyRepresentation: z.ZodOptional<z.ZodString>;
289
+ bodyFormat: z.ZodOptional<z.ZodString>;
290
+ maxBodyCharacters: z.ZodOptional<z.ZodNumber>;
291
+ }, z.core.$strict>;
292
+ /** Runtime validator for PageVersion. */
293
+ declare const PageVersionSchema: z.ZodObject<{
294
+ number: z.ZodNumber;
295
+ createdAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
296
+ authorAccountId: z.ZodOptional<z.ZodString>;
297
+ isMinorEdit: z.ZodOptional<z.ZodBoolean>;
298
+ }, z.core.$strict>;
299
+ /** Runtime validator for Page. */
300
+ declare const PageSchema: z.ZodObject<{
301
+ id: z.ZodString;
302
+ title: z.ZodString;
303
+ status: z.ZodString;
304
+ spaceId: z.ZodString;
305
+ parentPageId: z.ZodOptional<z.ZodString>;
306
+ authorAccountId: z.ZodOptional<z.ZodString>;
307
+ createdAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
308
+ version: z.ZodObject<{
309
+ number: z.ZodNumber;
310
+ createdAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
311
+ authorAccountId: z.ZodOptional<z.ZodString>;
312
+ isMinorEdit: z.ZodOptional<z.ZodBoolean>;
313
+ }, z.core.$strict>;
314
+ body: z.ZodString;
315
+ bodyFormat: z.ZodString;
316
+ isBodyTruncated: z.ZodOptional<z.ZodBoolean>;
317
+ webUrl: z.ZodOptional<z.ZodString>;
318
+ }, z.core.$strict>;
319
+ /** Runtime validator for CreatePageInput. */
320
+ declare const CreatePageInputSchema: z.ZodObject<{
321
+ spaceId: z.ZodOptional<z.ZodString>;
322
+ spaceKey: z.ZodOptional<z.ZodString>;
323
+ parentPageId: z.ZodOptional<z.ZodString>;
324
+ title: z.ZodString;
325
+ body: z.ZodString;
326
+ bodyFormat: z.ZodOptional<z.ZodString>;
327
+ }, z.core.$strict>;
328
+ /** Runtime validator for CreatePageOutput. */
329
+ declare const CreatePageOutputSchema: z.ZodObject<{
330
+ pageId: z.ZodOptional<z.ZodString>;
331
+ title: z.ZodString;
332
+ spaceId: z.ZodOptional<z.ZodString>;
333
+ spaceKey: z.ZodOptional<z.ZodString>;
334
+ parentPageId: z.ZodOptional<z.ZodString>;
335
+ versionNumber: z.ZodOptional<z.ZodNumber>;
336
+ webUrl: z.ZodOptional<z.ZodString>;
337
+ isConfirmedByTitleLookup: z.ZodOptional<z.ZodBoolean>;
338
+ }, z.core.$strict>;
339
+ /** Runtime validator for UpdatePageInput. */
340
+ declare const UpdatePageInputSchema: z.ZodObject<{
341
+ pageId: z.ZodString;
342
+ title: z.ZodString;
343
+ body: z.ZodString;
344
+ bodyFormat: z.ZodOptional<z.ZodString>;
345
+ nextVersionNumber: z.ZodNumber;
346
+ versionMessage: z.ZodOptional<z.ZodString>;
347
+ }, z.core.$strict>;
348
+ /** Runtime validator for UpdatePageOutput. */
349
+ declare const UpdatePageOutputSchema: z.ZodObject<{
350
+ pageId: z.ZodString;
351
+ title: z.ZodString;
352
+ versionNumber: z.ZodOptional<z.ZodNumber>;
353
+ webUrl: z.ZodOptional<z.ZodString>;
354
+ isConfirmedByReadBack: z.ZodOptional<z.ZodBoolean>;
355
+ }, z.core.$strict>;
356
+ /** Runtime validator for AddCommentInput. */
357
+ declare const AddCommentInputSchema: z.ZodObject<{
358
+ pageId: z.ZodString;
359
+ body: z.ZodString;
360
+ bodyFormat: z.ZodOptional<z.ZodString>;
361
+ }, z.core.$strict>;
362
+ /** Runtime validator for AddCommentOutput. */
363
+ declare const AddCommentOutputSchema: z.ZodObject<{
364
+ pageId: z.ZodString;
365
+ commentId: z.ZodOptional<z.ZodString>;
366
+ createdAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
367
+ isConfirmedByReadBack: z.ZodOptional<z.ZodBoolean>;
368
+ }, z.core.$strict>;
369
+
370
+ /** Typed operations supplied by a client or mock. */
371
+ interface Operations {
372
+ /** Invoke searchPages through this connection. */
373
+ searchPages(): Query<SearchPagesInput, SearchPagesOutput>;
374
+ /** Invoke getPage through this connection. */
375
+ getPage(): Query<GetPageInput, Page>;
376
+ /** Invoke createPage through this connection. */
377
+ createPage(): Mutation<CreatePageInput, CreatePageOutput>;
378
+ /** Invoke updatePage through this connection. */
379
+ updatePage(): Mutation<UpdatePageInput, UpdatePageOutput>;
380
+ /** Invoke addComment through this connection. */
381
+ addComment(): Mutation<AddCommentInput, AddCommentOutput>;
382
+ }
383
+ /** Named connector connection kept outside Flow state. */
384
+ declare class Connection<BoundOperations = Operations> {
385
+ /** Stable provider and connection name. */
386
+ readonly reference: ConnectionRef;
387
+ /** Bound provider operations. */
388
+ readonly operations: BoundOperations;
389
+ /** Validate a reference and bind operations. */
390
+ constructor(reference: ConnectionRef, operations: BoundOperations);
391
+ }
392
+ /** Bind a client to a named connection. */
393
+ declare function newConnection(client: Operations, reference: ConnectionRef): Connection;
394
+ /** Bind scripted operations to a named connection. */
395
+ declare function newConnectionWithOperations(operations: Operations, reference: ConnectionRef): Connection;
396
+
397
+ export { type AddCommentInput as A, decodeSharedCredentials as B, Connection as C, newConnection as D, newConnectionWithOperations as E, type GetPageInput as G, type Operations as O, type Page as P, type SearchPagesInput as S, type UpdatePageInput as U, type AddCommentOutput as a, type CreatePageInput as b, type CreatePageOutput as c, type SearchPagesOutput as d, type UpdatePageOutput as e, type CredentialSource as f, type Config as g, AddCommentInputSchema as h, AddCommentOutputSchema as i, ConfigSchema as j, CreatePageInputSchema as k, CreatePageOutputSchema as l, type Credentials as m, GetPageInputSchema as n, PageSchema as o, type PageSearchFilter as p, PageSearchFilterSchema as q, type PageSummary as r, PageSummarySchema as s, type PageVersion as t, PageVersionSchema as u, SearchPagesInputSchema as v, SearchPagesOutputSchema as w, UpdatePageInputSchema as x, UpdatePageOutputSchema as y, decodeCredentials as z };