@notionhq/client 5.14.0 → 5.16.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.
- package/README.md +45 -9
- package/build/package.json +1 -1
- package/build/src/Client.d.ts +7 -1
- package/build/src/Client.d.ts.map +1 -1
- package/build/src/Client.js +21 -5
- package/build/src/Client.js.map +1 -1
- package/build/src/api-endpoints/blocks.d.ts +1010 -0
- package/build/src/api-endpoints/blocks.d.ts.map +1 -0
- package/build/src/api-endpoints/blocks.js +90 -0
- package/build/src/api-endpoints/blocks.js.map +1 -0
- package/build/src/api-endpoints/comments.d.ts +112 -0
- package/build/src/api-endpoints/comments.d.ts.map +1 -0
- package/build/src/api-endpoints/comments.js +42 -0
- package/build/src/api-endpoints/comments.js.map +1 -0
- package/build/src/api-endpoints/common.d.ts +1976 -0
- package/build/src/api-endpoints/common.d.ts.map +1 -0
- package/build/src/api-endpoints/common.js +5 -0
- package/build/src/api-endpoints/common.js.map +1 -0
- package/build/src/api-endpoints/custom-emojis.d.ts +26 -0
- package/build/src/api-endpoints/custom-emojis.d.ts.map +1 -0
- package/build/src/api-endpoints/custom-emojis.js +16 -0
- package/build/src/api-endpoints/custom-emojis.js.map +1 -0
- package/build/src/api-endpoints/data-sources.d.ts +430 -0
- package/build/src/api-endpoints/data-sources.d.ts.map +1 -0
- package/build/src/api-endpoints/data-sources.js +64 -0
- package/build/src/api-endpoints/data-sources.js.map +1 -0
- package/build/src/api-endpoints/databases.d.ts +109 -0
- package/build/src/api-endpoints/databases.d.ts.map +1 -0
- package/build/src/api-endpoints/databases.js +53 -0
- package/build/src/api-endpoints/databases.js.map +1 -0
- package/build/src/api-endpoints/file-uploads.d.ts +138 -0
- package/build/src/api-endpoints/file-uploads.d.ts.map +1 -0
- package/build/src/api-endpoints/file-uploads.js +63 -0
- package/build/src/api-endpoints/file-uploads.js.map +1 -0
- package/build/src/api-endpoints/oauth.d.ts +90 -0
- package/build/src/api-endpoints/oauth.d.ts.map +1 -0
- package/build/src/api-endpoints/oauth.js +42 -0
- package/build/src/api-endpoints/oauth.js.map +1 -0
- package/build/src/api-endpoints/pages.d.ts +639 -0
- package/build/src/api-endpoints/pages.d.ts.map +1 -0
- package/build/src/api-endpoints/pages.js +102 -0
- package/build/src/api-endpoints/pages.js.map +1 -0
- package/build/src/api-endpoints/search.d.ts +36 -0
- package/build/src/api-endpoints/search.d.ts.map +1 -0
- package/build/src/api-endpoints/search.js +16 -0
- package/build/src/api-endpoints/search.js.map +1 -0
- package/build/src/api-endpoints/users.d.ts +53 -0
- package/build/src/api-endpoints/users.d.ts.map +1 -0
- package/build/src/api-endpoints/users.js +36 -0
- package/build/src/api-endpoints/users.js.map +1 -0
- package/build/src/api-endpoints/views.d.ts +504 -0
- package/build/src/api-endpoints/views.d.ts.map +1 -0
- package/build/src/api-endpoints/views.js +86 -0
- package/build/src/api-endpoints/views.js.map +1 -0
- package/build/src/api-endpoints/webhooks.d.ts +302 -0
- package/build/src/api-endpoints/webhooks.d.ts.map +1 -0
- package/build/src/api-endpoints/webhooks.js +5 -0
- package/build/src/api-endpoints/webhooks.js.map +1 -0
- package/build/src/api-endpoints.d.ts +13 -4916
- package/build/src/api-endpoints.d.ts.map +1 -1
- package/build/src/api-endpoints.js +31 -533
- package/build/src/api-endpoints.js.map +1 -1
- package/build/src/constants.d.ts +32 -0
- package/build/src/constants.d.ts.map +1 -0
- package/build/src/constants.js +35 -0
- package/build/src/constants.js.map +1 -0
- package/build/src/errors.d.ts +2 -1
- package/build/src/errors.d.ts.map +1 -1
- package/build/src/errors.js +3 -0
- package/build/src/errors.js.map +1 -1
- package/build/src/index.d.ts +2 -1
- package/build/src/index.d.ts.map +1 -1
- package/build/src/index.js +8 -1
- package/build/src/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,639 @@
|
|
|
1
|
+
import type { BlockObjectRequest, DateRequest, DateResponse, EmptyObject, FileUploadWithOptionalNameRequest, GroupObjectRequest, IdRequest, InternalOrExternalFileWithNameRequest, InternalOrExternalFileWithNameResponse, PageCoverRequest, PageIconRequest, PageMarkdownResponse, PageObjectResponse, PagePositionSchema, PartialPageObjectResponse, PartialUserObjectRequest, PartialUserObjectResponse, RelationItemPropertyValueResponse, RichTextItemRequest, RichTextItemResponse, RollupFunction, SelectColor, StringRequest, TemplateTimezone, TextRequest, UserObjectResponse, VerificationPropertyValueResponse } from "./common";
|
|
2
|
+
type BooleanFormulaPropertyResponse = {
|
|
3
|
+
type: "boolean";
|
|
4
|
+
boolean: boolean | null;
|
|
5
|
+
};
|
|
6
|
+
export type ButtonPropertyItemObjectResponse = {
|
|
7
|
+
type: "button";
|
|
8
|
+
button: EmptyObject;
|
|
9
|
+
object: "property_item";
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
12
|
+
export type CheckboxPropertyItemObjectResponse = {
|
|
13
|
+
type: "checkbox";
|
|
14
|
+
checkbox: boolean;
|
|
15
|
+
object: "property_item";
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
export type CreatedByPropertyItemObjectResponse = {
|
|
19
|
+
type: "created_by";
|
|
20
|
+
created_by: PartialUserObjectResponse | UserObjectResponse;
|
|
21
|
+
object: "property_item";
|
|
22
|
+
id: string;
|
|
23
|
+
};
|
|
24
|
+
export type CreatedTimePropertyItemObjectResponse = {
|
|
25
|
+
type: "created_time";
|
|
26
|
+
created_time: string;
|
|
27
|
+
object: "property_item";
|
|
28
|
+
id: string;
|
|
29
|
+
};
|
|
30
|
+
type DateFormulaPropertyResponse = {
|
|
31
|
+
type: "date";
|
|
32
|
+
date: DateResponse | null;
|
|
33
|
+
};
|
|
34
|
+
export type DatePropertyItemObjectResponse = {
|
|
35
|
+
type: "date";
|
|
36
|
+
date: DateResponse | null;
|
|
37
|
+
object: "property_item";
|
|
38
|
+
id: string;
|
|
39
|
+
};
|
|
40
|
+
export type EmailPropertyItemObjectResponse = {
|
|
41
|
+
type: "email";
|
|
42
|
+
email: string | null;
|
|
43
|
+
object: "property_item";
|
|
44
|
+
id: string;
|
|
45
|
+
};
|
|
46
|
+
export type FilesPropertyItemObjectResponse = {
|
|
47
|
+
type: "files";
|
|
48
|
+
files: Array<InternalOrExternalFileWithNameResponse>;
|
|
49
|
+
object: "property_item";
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
52
|
+
export type FormulaPropertyItemObjectResponse = {
|
|
53
|
+
type: "formula";
|
|
54
|
+
formula: FormulaPropertyResponse;
|
|
55
|
+
object: "property_item";
|
|
56
|
+
id: string;
|
|
57
|
+
};
|
|
58
|
+
type FormulaPropertyResponse = StringFormulaPropertyResponse | DateFormulaPropertyResponse | NumberFormulaPropertyResponse | BooleanFormulaPropertyResponse;
|
|
59
|
+
export type LastEditedByPropertyItemObjectResponse = {
|
|
60
|
+
type: "last_edited_by";
|
|
61
|
+
last_edited_by: PartialUserObjectResponse | UserObjectResponse;
|
|
62
|
+
object: "property_item";
|
|
63
|
+
id: string;
|
|
64
|
+
};
|
|
65
|
+
export type LastEditedTimePropertyItemObjectResponse = {
|
|
66
|
+
type: "last_edited_time";
|
|
67
|
+
last_edited_time: string;
|
|
68
|
+
object: "property_item";
|
|
69
|
+
id: string;
|
|
70
|
+
};
|
|
71
|
+
export type MultiSelectPropertyItemObjectResponse = {
|
|
72
|
+
type: "multi_select";
|
|
73
|
+
multi_select: Array<PartialSelectResponse>;
|
|
74
|
+
object: "property_item";
|
|
75
|
+
id: string;
|
|
76
|
+
};
|
|
77
|
+
type NumberFormulaPropertyResponse = {
|
|
78
|
+
type: "number";
|
|
79
|
+
number: number | null;
|
|
80
|
+
};
|
|
81
|
+
export type NumberPropertyItemObjectResponse = {
|
|
82
|
+
type: "number";
|
|
83
|
+
number: number | null;
|
|
84
|
+
object: "property_item";
|
|
85
|
+
id: string;
|
|
86
|
+
};
|
|
87
|
+
type PartialSelectResponse = {
|
|
88
|
+
id: string;
|
|
89
|
+
name: string;
|
|
90
|
+
color: SelectColor;
|
|
91
|
+
};
|
|
92
|
+
export type PeoplePropertyItemObjectResponse = {
|
|
93
|
+
type: "people";
|
|
94
|
+
people: PartialUserObjectResponse | UserObjectResponse;
|
|
95
|
+
object: "property_item";
|
|
96
|
+
id: string;
|
|
97
|
+
};
|
|
98
|
+
export type PhoneNumberPropertyItemObjectResponse = {
|
|
99
|
+
type: "phone_number";
|
|
100
|
+
phone_number: string | null;
|
|
101
|
+
object: "property_item";
|
|
102
|
+
id: string;
|
|
103
|
+
};
|
|
104
|
+
export type PlacePropertyItemObjectResponse = {
|
|
105
|
+
type: "place";
|
|
106
|
+
place: {
|
|
107
|
+
lat: number;
|
|
108
|
+
lon: number;
|
|
109
|
+
name?: string | null;
|
|
110
|
+
address?: string | null;
|
|
111
|
+
aws_place_id?: string | null;
|
|
112
|
+
google_place_id?: string | null;
|
|
113
|
+
} | null;
|
|
114
|
+
object: "property_item";
|
|
115
|
+
id: string;
|
|
116
|
+
};
|
|
117
|
+
export type PropertyItemListResponse = PropertyItemPropertyItemListResponse;
|
|
118
|
+
export type PropertyItemObjectResponse = NumberPropertyItemObjectResponse | UrlPropertyItemObjectResponse | SelectPropertyItemObjectResponse | MultiSelectPropertyItemObjectResponse | StatusPropertyItemObjectResponse | DatePropertyItemObjectResponse | EmailPropertyItemObjectResponse | PhoneNumberPropertyItemObjectResponse | CheckboxPropertyItemObjectResponse | FilesPropertyItemObjectResponse | CreatedByPropertyItemObjectResponse | CreatedTimePropertyItemObjectResponse | LastEditedByPropertyItemObjectResponse | LastEditedTimePropertyItemObjectResponse | FormulaPropertyItemObjectResponse | ButtonPropertyItemObjectResponse | UniqueIdPropertyItemObjectResponse | VerificationPropertyItemObjectResponse | PlacePropertyItemObjectResponse | TitlePropertyItemObjectResponse | RichTextPropertyItemObjectResponse | PeoplePropertyItemObjectResponse | RelationPropertyItemObjectResponse | RollupPropertyItemObjectResponse;
|
|
119
|
+
type PropertyItemPropertyItemListResponse = {
|
|
120
|
+
type: "property_item";
|
|
121
|
+
property_item: {
|
|
122
|
+
type: "title";
|
|
123
|
+
title: EmptyObject;
|
|
124
|
+
next_url: string | null;
|
|
125
|
+
id: string;
|
|
126
|
+
} | {
|
|
127
|
+
type: "rich_text";
|
|
128
|
+
rich_text: EmptyObject;
|
|
129
|
+
next_url: string | null;
|
|
130
|
+
id: string;
|
|
131
|
+
} | {
|
|
132
|
+
type: "people";
|
|
133
|
+
people: EmptyObject;
|
|
134
|
+
next_url: string | null;
|
|
135
|
+
id: string;
|
|
136
|
+
} | {
|
|
137
|
+
type: "relation";
|
|
138
|
+
relation: EmptyObject;
|
|
139
|
+
next_url: string | null;
|
|
140
|
+
id: string;
|
|
141
|
+
} | {
|
|
142
|
+
type: "rollup";
|
|
143
|
+
rollup: {
|
|
144
|
+
type: "number";
|
|
145
|
+
number: number | null;
|
|
146
|
+
function: RollupFunction;
|
|
147
|
+
} | {
|
|
148
|
+
type: "date";
|
|
149
|
+
date: DateResponse | null;
|
|
150
|
+
function: RollupFunction;
|
|
151
|
+
} | {
|
|
152
|
+
type: "array";
|
|
153
|
+
array: Array<EmptyObject>;
|
|
154
|
+
function: RollupFunction;
|
|
155
|
+
} | {
|
|
156
|
+
type: "unsupported";
|
|
157
|
+
unsupported: EmptyObject;
|
|
158
|
+
function: RollupFunction;
|
|
159
|
+
} | {
|
|
160
|
+
type: "incomplete";
|
|
161
|
+
incomplete: EmptyObject;
|
|
162
|
+
function: RollupFunction;
|
|
163
|
+
};
|
|
164
|
+
next_url: string | null;
|
|
165
|
+
id: string;
|
|
166
|
+
};
|
|
167
|
+
object: "list";
|
|
168
|
+
next_cursor: string | null;
|
|
169
|
+
has_more: boolean;
|
|
170
|
+
results: Array<PropertyItemObjectResponse>;
|
|
171
|
+
};
|
|
172
|
+
export type RelationPropertyItemObjectResponse = {
|
|
173
|
+
type: "relation";
|
|
174
|
+
relation: {
|
|
175
|
+
id: string;
|
|
176
|
+
};
|
|
177
|
+
object: "property_item";
|
|
178
|
+
id: string;
|
|
179
|
+
};
|
|
180
|
+
export type RichTextPropertyItemObjectResponse = {
|
|
181
|
+
type: "rich_text";
|
|
182
|
+
rich_text: RichTextItemResponse;
|
|
183
|
+
object: "property_item";
|
|
184
|
+
id: string;
|
|
185
|
+
};
|
|
186
|
+
export type RollupPropertyItemObjectResponse = {
|
|
187
|
+
type: "rollup";
|
|
188
|
+
rollup: {
|
|
189
|
+
type: "number";
|
|
190
|
+
number: number | null;
|
|
191
|
+
function: RollupFunction;
|
|
192
|
+
} | {
|
|
193
|
+
type: "date";
|
|
194
|
+
date: DateResponse | null;
|
|
195
|
+
function: RollupFunction;
|
|
196
|
+
} | {
|
|
197
|
+
type: "array";
|
|
198
|
+
array: Array<EmptyObject>;
|
|
199
|
+
function: RollupFunction;
|
|
200
|
+
} | {
|
|
201
|
+
type: "unsupported";
|
|
202
|
+
unsupported: EmptyObject;
|
|
203
|
+
function: RollupFunction;
|
|
204
|
+
} | {
|
|
205
|
+
type: "incomplete";
|
|
206
|
+
incomplete: EmptyObject;
|
|
207
|
+
function: RollupFunction;
|
|
208
|
+
};
|
|
209
|
+
object: "property_item";
|
|
210
|
+
id: string;
|
|
211
|
+
};
|
|
212
|
+
export type SelectPropertyItemObjectResponse = {
|
|
213
|
+
type: "select";
|
|
214
|
+
select: PartialSelectResponse | null;
|
|
215
|
+
object: "property_item";
|
|
216
|
+
id: string;
|
|
217
|
+
};
|
|
218
|
+
export type StatusPropertyItemObjectResponse = {
|
|
219
|
+
type: "status";
|
|
220
|
+
status: PartialSelectResponse | null;
|
|
221
|
+
object: "property_item";
|
|
222
|
+
id: string;
|
|
223
|
+
};
|
|
224
|
+
type StringFormulaPropertyResponse = {
|
|
225
|
+
type: "string";
|
|
226
|
+
string: string | null;
|
|
227
|
+
};
|
|
228
|
+
export type TitlePropertyItemObjectResponse = {
|
|
229
|
+
type: "title";
|
|
230
|
+
title: RichTextItemResponse;
|
|
231
|
+
object: "property_item";
|
|
232
|
+
id: string;
|
|
233
|
+
};
|
|
234
|
+
export type UniqueIdPropertyItemObjectResponse = {
|
|
235
|
+
type: "unique_id";
|
|
236
|
+
unique_id: {
|
|
237
|
+
prefix: string | null;
|
|
238
|
+
number: number | null;
|
|
239
|
+
};
|
|
240
|
+
object: "property_item";
|
|
241
|
+
id: string;
|
|
242
|
+
};
|
|
243
|
+
export type UrlPropertyItemObjectResponse = {
|
|
244
|
+
type: "url";
|
|
245
|
+
url: string | null;
|
|
246
|
+
object: "property_item";
|
|
247
|
+
id: string;
|
|
248
|
+
};
|
|
249
|
+
export type VerificationPropertyItemObjectResponse = {
|
|
250
|
+
type: "verification";
|
|
251
|
+
verification: VerificationPropertyValueResponse | null;
|
|
252
|
+
object: "property_item";
|
|
253
|
+
id: string;
|
|
254
|
+
};
|
|
255
|
+
type CreatePageBodyParameters = {
|
|
256
|
+
parent?: {
|
|
257
|
+
page_id: IdRequest;
|
|
258
|
+
type?: "page_id";
|
|
259
|
+
} | {
|
|
260
|
+
database_id: IdRequest;
|
|
261
|
+
type?: "database_id";
|
|
262
|
+
} | {
|
|
263
|
+
data_source_id: IdRequest;
|
|
264
|
+
type?: "data_source_id";
|
|
265
|
+
} | {
|
|
266
|
+
workspace: true;
|
|
267
|
+
type?: "workspace";
|
|
268
|
+
};
|
|
269
|
+
properties?: Record<string, {
|
|
270
|
+
title: Array<RichTextItemRequest>;
|
|
271
|
+
type?: "title";
|
|
272
|
+
} | {
|
|
273
|
+
rich_text: Array<RichTextItemRequest>;
|
|
274
|
+
type?: "rich_text";
|
|
275
|
+
} | {
|
|
276
|
+
number: number | null;
|
|
277
|
+
type?: "number";
|
|
278
|
+
} | {
|
|
279
|
+
url: TextRequest | null;
|
|
280
|
+
type?: "url";
|
|
281
|
+
} | {
|
|
282
|
+
select: {
|
|
283
|
+
id: StringRequest;
|
|
284
|
+
name?: TextRequest;
|
|
285
|
+
color?: SelectColor;
|
|
286
|
+
description?: TextRequest | null;
|
|
287
|
+
} | {
|
|
288
|
+
name: TextRequest;
|
|
289
|
+
id?: StringRequest;
|
|
290
|
+
color?: SelectColor;
|
|
291
|
+
description?: TextRequest | null;
|
|
292
|
+
} | null;
|
|
293
|
+
type?: "select";
|
|
294
|
+
} | {
|
|
295
|
+
multi_select: Array<{
|
|
296
|
+
id: StringRequest;
|
|
297
|
+
name?: TextRequest;
|
|
298
|
+
color?: SelectColor;
|
|
299
|
+
description?: TextRequest | null;
|
|
300
|
+
} | {
|
|
301
|
+
name: TextRequest;
|
|
302
|
+
id?: StringRequest;
|
|
303
|
+
color?: SelectColor;
|
|
304
|
+
description?: TextRequest | null;
|
|
305
|
+
}>;
|
|
306
|
+
type?: "multi_select";
|
|
307
|
+
} | {
|
|
308
|
+
people: Array<PartialUserObjectRequest | GroupObjectRequest>;
|
|
309
|
+
type?: "people";
|
|
310
|
+
} | {
|
|
311
|
+
email: StringRequest | null;
|
|
312
|
+
type?: "email";
|
|
313
|
+
} | {
|
|
314
|
+
phone_number: StringRequest | null;
|
|
315
|
+
type?: "phone_number";
|
|
316
|
+
} | {
|
|
317
|
+
date: DateRequest | null;
|
|
318
|
+
type?: "date";
|
|
319
|
+
} | {
|
|
320
|
+
checkbox: boolean;
|
|
321
|
+
type?: "checkbox";
|
|
322
|
+
} | {
|
|
323
|
+
relation: Array<RelationItemPropertyValueResponse>;
|
|
324
|
+
type?: "relation";
|
|
325
|
+
} | {
|
|
326
|
+
files: Array<InternalOrExternalFileWithNameRequest | FileUploadWithOptionalNameRequest>;
|
|
327
|
+
type?: "files";
|
|
328
|
+
} | {
|
|
329
|
+
status: {
|
|
330
|
+
id: StringRequest;
|
|
331
|
+
name?: TextRequest;
|
|
332
|
+
color?: SelectColor;
|
|
333
|
+
description?: TextRequest | null;
|
|
334
|
+
} | {
|
|
335
|
+
name: TextRequest;
|
|
336
|
+
id?: StringRequest;
|
|
337
|
+
color?: SelectColor;
|
|
338
|
+
description?: TextRequest | null;
|
|
339
|
+
} | null;
|
|
340
|
+
type?: "status";
|
|
341
|
+
} | {
|
|
342
|
+
place: {
|
|
343
|
+
lat: number;
|
|
344
|
+
lon: number;
|
|
345
|
+
name?: string | null;
|
|
346
|
+
address?: string | null;
|
|
347
|
+
aws_place_id?: string | null;
|
|
348
|
+
google_place_id?: string | null;
|
|
349
|
+
} | null;
|
|
350
|
+
type?: "place";
|
|
351
|
+
} | {
|
|
352
|
+
verification: {
|
|
353
|
+
state: "verified";
|
|
354
|
+
date?: DateRequest;
|
|
355
|
+
} | {
|
|
356
|
+
state: "unverified";
|
|
357
|
+
};
|
|
358
|
+
type?: "verification";
|
|
359
|
+
}>;
|
|
360
|
+
icon?: PageIconRequest | null;
|
|
361
|
+
cover?: PageCoverRequest | null;
|
|
362
|
+
content?: Array<BlockObjectRequest>;
|
|
363
|
+
children?: Array<BlockObjectRequest>;
|
|
364
|
+
markdown?: string;
|
|
365
|
+
template?: {
|
|
366
|
+
type: "none";
|
|
367
|
+
} | {
|
|
368
|
+
type: "default";
|
|
369
|
+
timezone?: TemplateTimezone;
|
|
370
|
+
} | {
|
|
371
|
+
type: "template_id";
|
|
372
|
+
template_id: IdRequest;
|
|
373
|
+
timezone?: TemplateTimezone;
|
|
374
|
+
};
|
|
375
|
+
position?: PagePositionSchema;
|
|
376
|
+
};
|
|
377
|
+
export type CreatePageParameters = CreatePageBodyParameters;
|
|
378
|
+
export type CreatePageResponse = PageObjectResponse | PartialPageObjectResponse;
|
|
379
|
+
/**
|
|
380
|
+
* Create a page
|
|
381
|
+
*/
|
|
382
|
+
export declare const createPage: {
|
|
383
|
+
readonly method: "post";
|
|
384
|
+
readonly pathParams: readonly [];
|
|
385
|
+
readonly queryParams: readonly [];
|
|
386
|
+
readonly bodyParams: readonly ["parent", "properties", "icon", "cover", "content", "children", "markdown", "template", "position"];
|
|
387
|
+
readonly path: () => string;
|
|
388
|
+
};
|
|
389
|
+
type GetPagePathParameters = {
|
|
390
|
+
page_id: IdRequest;
|
|
391
|
+
};
|
|
392
|
+
type GetPageQueryParameters = {
|
|
393
|
+
filter_properties?: Array<string>;
|
|
394
|
+
};
|
|
395
|
+
export type GetPageParameters = GetPagePathParameters & GetPageQueryParameters;
|
|
396
|
+
export type GetPageResponse = PartialPageObjectResponse | PageObjectResponse;
|
|
397
|
+
/**
|
|
398
|
+
* Retrieve a page
|
|
399
|
+
*/
|
|
400
|
+
export declare const getPage: {
|
|
401
|
+
readonly method: "get";
|
|
402
|
+
readonly pathParams: readonly ["page_id"];
|
|
403
|
+
readonly queryParams: readonly ["filter_properties"];
|
|
404
|
+
readonly bodyParams: readonly [];
|
|
405
|
+
readonly path: (p: GetPagePathParameters) => string;
|
|
406
|
+
};
|
|
407
|
+
type UpdatePagePathParameters = {
|
|
408
|
+
page_id: IdRequest;
|
|
409
|
+
};
|
|
410
|
+
type UpdatePageBodyParameters = {
|
|
411
|
+
properties?: Record<string, {
|
|
412
|
+
title: Array<RichTextItemRequest>;
|
|
413
|
+
type?: "title";
|
|
414
|
+
} | {
|
|
415
|
+
rich_text: Array<RichTextItemRequest>;
|
|
416
|
+
type?: "rich_text";
|
|
417
|
+
} | {
|
|
418
|
+
number: number | null;
|
|
419
|
+
type?: "number";
|
|
420
|
+
} | {
|
|
421
|
+
url: TextRequest | null;
|
|
422
|
+
type?: "url";
|
|
423
|
+
} | {
|
|
424
|
+
select: {
|
|
425
|
+
id: StringRequest;
|
|
426
|
+
name?: TextRequest;
|
|
427
|
+
color?: SelectColor;
|
|
428
|
+
description?: TextRequest | null;
|
|
429
|
+
} | {
|
|
430
|
+
name: TextRequest;
|
|
431
|
+
id?: StringRequest;
|
|
432
|
+
color?: SelectColor;
|
|
433
|
+
description?: TextRequest | null;
|
|
434
|
+
} | null;
|
|
435
|
+
type?: "select";
|
|
436
|
+
} | {
|
|
437
|
+
multi_select: Array<{
|
|
438
|
+
id: StringRequest;
|
|
439
|
+
name?: TextRequest;
|
|
440
|
+
color?: SelectColor;
|
|
441
|
+
description?: TextRequest | null;
|
|
442
|
+
} | {
|
|
443
|
+
name: TextRequest;
|
|
444
|
+
id?: StringRequest;
|
|
445
|
+
color?: SelectColor;
|
|
446
|
+
description?: TextRequest | null;
|
|
447
|
+
}>;
|
|
448
|
+
type?: "multi_select";
|
|
449
|
+
} | {
|
|
450
|
+
people: Array<PartialUserObjectRequest | GroupObjectRequest>;
|
|
451
|
+
type?: "people";
|
|
452
|
+
} | {
|
|
453
|
+
email: StringRequest | null;
|
|
454
|
+
type?: "email";
|
|
455
|
+
} | {
|
|
456
|
+
phone_number: StringRequest | null;
|
|
457
|
+
type?: "phone_number";
|
|
458
|
+
} | {
|
|
459
|
+
date: DateRequest | null;
|
|
460
|
+
type?: "date";
|
|
461
|
+
} | {
|
|
462
|
+
checkbox: boolean;
|
|
463
|
+
type?: "checkbox";
|
|
464
|
+
} | {
|
|
465
|
+
relation: Array<RelationItemPropertyValueResponse>;
|
|
466
|
+
type?: "relation";
|
|
467
|
+
} | {
|
|
468
|
+
files: Array<InternalOrExternalFileWithNameRequest | FileUploadWithOptionalNameRequest>;
|
|
469
|
+
type?: "files";
|
|
470
|
+
} | {
|
|
471
|
+
status: {
|
|
472
|
+
id: StringRequest;
|
|
473
|
+
name?: TextRequest;
|
|
474
|
+
color?: SelectColor;
|
|
475
|
+
description?: TextRequest | null;
|
|
476
|
+
} | {
|
|
477
|
+
name: TextRequest;
|
|
478
|
+
id?: StringRequest;
|
|
479
|
+
color?: SelectColor;
|
|
480
|
+
description?: TextRequest | null;
|
|
481
|
+
} | null;
|
|
482
|
+
type?: "status";
|
|
483
|
+
} | {
|
|
484
|
+
place: {
|
|
485
|
+
lat: number;
|
|
486
|
+
lon: number;
|
|
487
|
+
name?: string | null;
|
|
488
|
+
address?: string | null;
|
|
489
|
+
aws_place_id?: string | null;
|
|
490
|
+
google_place_id?: string | null;
|
|
491
|
+
} | null;
|
|
492
|
+
type?: "place";
|
|
493
|
+
} | {
|
|
494
|
+
verification: {
|
|
495
|
+
state: "verified";
|
|
496
|
+
date?: DateRequest;
|
|
497
|
+
} | {
|
|
498
|
+
state: "unverified";
|
|
499
|
+
};
|
|
500
|
+
type?: "verification";
|
|
501
|
+
}>;
|
|
502
|
+
icon?: PageIconRequest | null;
|
|
503
|
+
cover?: PageCoverRequest | null;
|
|
504
|
+
is_locked?: boolean;
|
|
505
|
+
template?: {
|
|
506
|
+
type: "default";
|
|
507
|
+
timezone?: TemplateTimezone;
|
|
508
|
+
} | {
|
|
509
|
+
type: "template_id";
|
|
510
|
+
template_id: IdRequest;
|
|
511
|
+
timezone?: TemplateTimezone;
|
|
512
|
+
};
|
|
513
|
+
erase_content?: boolean;
|
|
514
|
+
in_trash?: boolean;
|
|
515
|
+
/** @deprecated Use `in_trash` instead. */
|
|
516
|
+
archived?: boolean;
|
|
517
|
+
is_archived?: boolean;
|
|
518
|
+
};
|
|
519
|
+
export type UpdatePageParameters = UpdatePagePathParameters & UpdatePageBodyParameters;
|
|
520
|
+
export type UpdatePageResponse = PageObjectResponse | PartialPageObjectResponse;
|
|
521
|
+
/**
|
|
522
|
+
* Update page
|
|
523
|
+
*/
|
|
524
|
+
export declare const updatePage: {
|
|
525
|
+
readonly method: "patch";
|
|
526
|
+
readonly pathParams: readonly ["page_id"];
|
|
527
|
+
readonly queryParams: readonly [];
|
|
528
|
+
readonly bodyParams: readonly ["archived", "properties", "icon", "cover", "is_locked", "template", "erase_content", "in_trash", "is_archived"];
|
|
529
|
+
readonly path: (p: UpdatePagePathParameters) => string;
|
|
530
|
+
};
|
|
531
|
+
type MovePagePathParameters = {
|
|
532
|
+
page_id: IdRequest;
|
|
533
|
+
};
|
|
534
|
+
type MovePageBodyParameters = {
|
|
535
|
+
parent: {
|
|
536
|
+
page_id: IdRequest;
|
|
537
|
+
type?: "page_id";
|
|
538
|
+
} | {
|
|
539
|
+
data_source_id: IdRequest;
|
|
540
|
+
type?: "data_source_id";
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
export type MovePageParameters = MovePagePathParameters & MovePageBodyParameters;
|
|
544
|
+
export type MovePageResponse = PartialPageObjectResponse | PageObjectResponse;
|
|
545
|
+
/**
|
|
546
|
+
* Move a page
|
|
547
|
+
*/
|
|
548
|
+
export declare const movePage: {
|
|
549
|
+
readonly method: "post";
|
|
550
|
+
readonly pathParams: readonly ["page_id"];
|
|
551
|
+
readonly queryParams: readonly [];
|
|
552
|
+
readonly bodyParams: readonly ["parent"];
|
|
553
|
+
readonly path: (p: MovePagePathParameters) => string;
|
|
554
|
+
};
|
|
555
|
+
type GetPagePropertyPathParameters = {
|
|
556
|
+
page_id: IdRequest;
|
|
557
|
+
property_id: string;
|
|
558
|
+
};
|
|
559
|
+
type GetPagePropertyQueryParameters = {
|
|
560
|
+
start_cursor?: string;
|
|
561
|
+
page_size?: number;
|
|
562
|
+
};
|
|
563
|
+
export type GetPagePropertyParameters = GetPagePropertyPathParameters & GetPagePropertyQueryParameters;
|
|
564
|
+
export type GetPagePropertyResponse = PropertyItemObjectResponse | PropertyItemListResponse;
|
|
565
|
+
/**
|
|
566
|
+
* Retrieve a page property item
|
|
567
|
+
*/
|
|
568
|
+
export declare const getPageProperty: {
|
|
569
|
+
readonly method: "get";
|
|
570
|
+
readonly pathParams: readonly ["page_id", "property_id"];
|
|
571
|
+
readonly queryParams: readonly ["start_cursor", "page_size"];
|
|
572
|
+
readonly bodyParams: readonly [];
|
|
573
|
+
readonly path: (p: GetPagePropertyPathParameters) => string;
|
|
574
|
+
};
|
|
575
|
+
type GetPageMarkdownPathParameters = {
|
|
576
|
+
page_id: IdRequest;
|
|
577
|
+
};
|
|
578
|
+
type GetPageMarkdownQueryParameters = {
|
|
579
|
+
include_transcript?: boolean;
|
|
580
|
+
};
|
|
581
|
+
export type GetPageMarkdownParameters = GetPageMarkdownPathParameters & GetPageMarkdownQueryParameters;
|
|
582
|
+
export type GetPageMarkdownResponse = PageMarkdownResponse;
|
|
583
|
+
/**
|
|
584
|
+
* Retrieve a page as markdown
|
|
585
|
+
*/
|
|
586
|
+
export declare const getPageMarkdown: {
|
|
587
|
+
readonly method: "get";
|
|
588
|
+
readonly pathParams: readonly ["page_id"];
|
|
589
|
+
readonly queryParams: readonly ["include_transcript"];
|
|
590
|
+
readonly bodyParams: readonly [];
|
|
591
|
+
readonly path: (p: GetPageMarkdownPathParameters) => string;
|
|
592
|
+
};
|
|
593
|
+
type UpdatePageMarkdownPathParameters = {
|
|
594
|
+
page_id: IdRequest;
|
|
595
|
+
};
|
|
596
|
+
type UpdatePageMarkdownBodyParameters = {
|
|
597
|
+
type: "insert_content";
|
|
598
|
+
insert_content: {
|
|
599
|
+
content: string;
|
|
600
|
+
after?: string;
|
|
601
|
+
};
|
|
602
|
+
} | {
|
|
603
|
+
type: "replace_content_range";
|
|
604
|
+
replace_content_range: {
|
|
605
|
+
content: string;
|
|
606
|
+
content_range: string;
|
|
607
|
+
allow_deleting_content?: boolean;
|
|
608
|
+
};
|
|
609
|
+
} | {
|
|
610
|
+
type: "update_content";
|
|
611
|
+
update_content: {
|
|
612
|
+
content_updates: Array<{
|
|
613
|
+
old_str: string;
|
|
614
|
+
new_str: string;
|
|
615
|
+
replace_all_matches?: boolean;
|
|
616
|
+
}>;
|
|
617
|
+
allow_deleting_content?: boolean;
|
|
618
|
+
};
|
|
619
|
+
} | {
|
|
620
|
+
type: "replace_content";
|
|
621
|
+
replace_content: {
|
|
622
|
+
new_str: string;
|
|
623
|
+
allow_deleting_content?: boolean;
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
export type UpdatePageMarkdownParameters = UpdatePageMarkdownPathParameters & UpdatePageMarkdownBodyParameters;
|
|
627
|
+
export type UpdatePageMarkdownResponse = PageMarkdownResponse;
|
|
628
|
+
/**
|
|
629
|
+
* Update a page's content as markdown
|
|
630
|
+
*/
|
|
631
|
+
export declare const updatePageMarkdown: {
|
|
632
|
+
readonly method: "patch";
|
|
633
|
+
readonly pathParams: readonly ["page_id"];
|
|
634
|
+
readonly queryParams: readonly [];
|
|
635
|
+
readonly bodyParams: readonly ["type", "insert_content", "replace_content_range", "update_content", "replace_content"];
|
|
636
|
+
readonly path: (p: UpdatePageMarkdownPathParameters) => string;
|
|
637
|
+
};
|
|
638
|
+
export {};
|
|
639
|
+
//# sourceMappingURL=pages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../src/api-endpoints/pages.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,iCAAiC,EACjC,kBAAkB,EAClB,SAAS,EACT,qCAAqC,EACrC,sCAAsC,EACtC,gBAAgB,EAChB,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,iCAAiC,EACjC,mBAAmB,EACnB,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,kBAAkB,EAClB,iCAAiC,EAClC,MAAM,UAAU,CAAA;AAEjB,KAAK,8BAA8B,GAAG;IACpC,IAAI,EAAE,SAAS,CAAA;IACf,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,gCAAgC,GAAG;IAC7C,IAAI,EAAE,QAAQ,CAAA;IACd,MAAM,EAAE,WAAW,CAAA;IACnB,MAAM,EAAE,eAAe,CAAA;IACvB,EAAE,EAAE,MAAM,CAAA;CACX,CAAA;AAED,MAAM,MAAM,kCAAkC,GAAG;IAC/C,IAAI,EAAE,UAAU,CAAA;IAChB,QAAQ,EAAE,OAAO,CAAA;IACjB,MAAM,EAAE,eAAe,CAAA;IACvB,EAAE,EAAE,MAAM,CAAA;CACX,CAAA;AAED,MAAM,MAAM,mCAAmC,GAAG;IAChD,IAAI,EAAE,YAAY,CAAA;IAClB,UAAU,EAAE,yBAAyB,GAAG,kBAAkB,CAAA;IAC1D,MAAM,EAAE,eAAe,CAAA;IACvB,EAAE,EAAE,MAAM,CAAA;CACX,CAAA;AAED,MAAM,MAAM,qCAAqC,GAAG;IAClD,IAAI,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