1 | declare type IdRequest = string | string;
|
2 | declare type EmptyObject = Record<string, never>;
|
3 | declare type UserObjectResponse = {
|
4 | type: "person";
|
5 | person: {
|
6 | email?: string;
|
7 | };
|
8 | name: string | null;
|
9 | avatar_url: string | null;
|
10 | id: IdRequest;
|
11 | object: "user";
|
12 | } | {
|
13 | type: "bot";
|
14 | bot: EmptyObject | {
|
15 | owner: {
|
16 | type: "user";
|
17 | user: {
|
18 | type: "person";
|
19 | person: {
|
20 | email: string;
|
21 | };
|
22 | name: string | null;
|
23 | avatar_url: string | null;
|
24 | id: IdRequest;
|
25 | object: "user";
|
26 | } | {
|
27 | id: IdRequest;
|
28 | object: "user";
|
29 | };
|
30 | } | {
|
31 | type: "workspace";
|
32 | workspace: true;
|
33 | };
|
34 | };
|
35 | name: string | null;
|
36 | avatar_url: string | null;
|
37 | id: IdRequest;
|
38 | object: "user";
|
39 | };
|
40 | declare type StringRequest = string;
|
41 | declare type SelectColor = "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red";
|
42 | declare type SelectPropertyResponse = {
|
43 | id: StringRequest;
|
44 | name: StringRequest;
|
45 | color: SelectColor;
|
46 | };
|
47 | declare type TimeZoneRequest = "Africa/Abidjan" | "Africa/Accra" | "Africa/Addis_Ababa" | "Africa/Algiers" | "Africa/Asmara" | "Africa/Asmera" | "Africa/Bamako" | "Africa/Bangui" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Blantyre" | "Africa/Brazzaville" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Casablanca" | "Africa/Ceuta" | "Africa/Conakry" | "Africa/Dakar" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Douala" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Kampala" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Lome" | "Africa/Luanda" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Malabo" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Mogadishu" | "Africa/Monrovia" | "Africa/Nairobi" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Porto-Novo" | "Africa/Sao_Tome" | "Africa/Timbuktu" | "Africa/Tripoli" | "Africa/Tunis" | "Africa/Windhoek" | "America/Adak" | "America/Anchorage" | "America/Anguilla" | "America/Antigua" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/ComodRivadavia" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Aruba" | "America/Asuncion" | "America/Atikokan" | "America/Atka" | "America/Bahia" | "America/Bahia_Banderas" | "America/Barbados" | "America/Belem" | "America/Belize" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Bogota" | "America/Boise" | "America/Buenos_Aires" | "America/Cambridge_Bay" | "America/Campo_Grande" | "America/Cancun" | "America/Caracas" | "America/Catamarca" | "America/Cayenne" | "America/Cayman" | "America/Chicago" | "America/Chihuahua" | "America/Coral_Harbour" | "America/Cordoba" | "America/Costa_Rica" | "America/Creston" | "America/Cuiaba" | "America/Curacao" | "America/Danmarkshavn" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Detroit" | "America/Dominica" | "America/Edmonton" | "America/Eirunepe" | "America/El_Salvador" | "America/Ensenada" | "America/Fort_Nelson" | "America/Fort_Wayne" | "America/Fortaleza" | "America/Glace_Bay" | "America/Godthab" | "America/Goose_Bay" | "America/Grand_Turk" | "America/Grenada" | "America/Guadeloupe" | "America/Guatemala" | "America/Guayaquil" | "America/Guyana" | "America/Halifax" | "America/Havana" | "America/Hermosillo" | "America/Indiana/Indianapolis" | "America/Indiana/Knox" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Tell_City" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Indianapolis" | "America/Inuvik" | "America/Iqaluit" | "America/Jamaica" | "America/Jujuy" | "America/Juneau" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Knox_IN" | "America/Kralendijk" | "America/La_Paz" | "America/Lima" | "America/Los_Angeles" | "America/Louisville" | "America/Lower_Princes" | "America/Maceio" | "America/Managua" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Matamoros" | "America/Mazatlan" | "America/Mendoza" | "America/Menominee" | "America/Merida" | "America/Metlakatla" | "America/Mexico_City" | "America/Miquelon" | "America/Moncton" | "America/Monterrey" | "America/Montevideo" | "America/Montreal" | "America/Montserrat" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Nome" | "America/Noronha" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Ojinaga" | "America/Panama" | "America/Pangnirtung" | "America/Paramaribo" | "America/Phoenix" | "America/Port-au-Prince" | "America/Port_of_Spain" | "America/Porto_Acre" | "America/Porto_Velho" | "America/Puerto_Rico" | "America/Punta_Arenas" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Recife" | "America/Regina" | "America/Resolute" | "America/Rio_Branco" | "America/Rosario" | "America/Santa_Isabel" | "America/Santarem" | "America/Santiago" | "America/Santo_Domingo" | "America/Sao_Paulo" | "America/Scoresbysund" | "America/Shiprock" | "America/Sitka" | "America/St_Barthelemy" | "America/St_Johns" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Thule" | "America/Thunder_Bay" | "America/Tijuana" | "America/Toronto" | "America/Tortola" | "America/Vancouver" | "America/Virgin" | "America/Whitehorse" | "America/Winnipeg" | "America/Yakutat" | "America/Yellowknife" | "Antarctica/Casey" | "Antarctica/Davis" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Antarctica/Mawson" | "Antarctica/McMurdo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Antarctica/South_Pole" | "Antarctica/Syowa" | "Antarctica/Troll" | "Antarctica/Vostok" | "Arctic/Longyearbyen" | "Asia/Aden" | "Asia/Almaty" | "Asia/Amman" | "Asia/Anadyr" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Ashkhabad" | "Asia/Atyrau" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Baku" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Beirut" | "Asia/Bishkek" | "Asia/Brunei" | "Asia/Calcutta" | "Asia/Chita" | "Asia/Choibalsan" | "Asia/Chongqing" | "Asia/Chungking" | "Asia/Colombo" | "Asia/Dacca" | "Asia/Damascus" | "Asia/Dhaka" | "Asia/Dili" | "Asia/Dubai" | "Asia/Dushanbe" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Harbin" | "Asia/Hebron" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Hovd" | "Asia/Irkutsk" | "Asia/Istanbul" | "Asia/Jakarta" | "Asia/Jayapura" | "Asia/Jerusalem" | "Asia/Kabul" | "Asia/Kamchatka" | "Asia/Karachi" | "Asia/Kashgar" | "Asia/Kathmandu" | "Asia/Katmandu" | "Asia/Khandyga" | "Asia/Kolkata" | "Asia/Krasnoyarsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Kuwait" | "Asia/Macao" | "Asia/Macau" | "Asia/Magadan" | "Asia/Makassar" | "Asia/Manila" | "Asia/Muscat" | "Asia/Nicosia" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Omsk" | "Asia/Oral" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Pyongyang" | "Asia/Qatar" | "Asia/Qostanay" | "Asia/Qyzylorda" | "Asia/Rangoon" | "Asia/Riyadh" | "Asia/Saigon" | "Asia/Sakhalin" | "Asia/Samarkand" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Srednekolymsk" | "Asia/Taipei" | "Asia/Tashkent" | "Asia/Tbilisi" | "Asia/Tehran" | "Asia/Tel_Aviv" | "Asia/Thimbu" | "Asia/Thimphu" | "Asia/Tokyo" | "Asia/Tomsk" | "Asia/Ujung_Pandang" | "Asia/Ulaanbaatar" | "Asia/Ulan_Bator" | "Asia/Urumqi" | "Asia/Ust-Nera" | "Asia/Vientiane" | "Asia/Vladivostok" | "Asia/Yakutsk" | "Asia/Yangon" | "Asia/Yekaterinburg" | "Asia/Yerevan" | "Atlantic/Azores" | "Atlantic/Bermuda" | "Atlantic/Canary" | "Atlantic/Cape_Verde" | "Atlantic/Faeroe" | "Atlantic/Faroe" | "Atlantic/Jan_Mayen" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/South_Georgia" | "Atlantic/St_Helena" | "Atlantic/Stanley" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Broken_Hill" | "Australia/Canberra" | "Australia/Currie" | "Australia/Darwin" | "Australia/Eucla" | "Australia/Hobart" | "Australia/LHI" | "Australia/Lindeman" | "Australia/Lord_Howe" | "Australia/Melbourne" | "Australia/NSW" | "Australia/North" | "Australia/Perth" | "Australia/Queensland" | "Australia/South" | "Australia/Sydney" | "Australia/Tasmania" | "Australia/Victoria" | "Australia/West" | "Australia/Yancowinna" | "Brazil/Acre" | "Brazil/DeNoronha" | "Brazil/East" | "Brazil/West" | "CET" | "CST6CDT" | "Canada/Atlantic" | "Canada/Central" | "Canada/Eastern" | "Canada/Mountain" | "Canada/Newfoundland" | "Canada/Pacific" | "Canada/Saskatchewan" | "Canada/Yukon" | "Chile/Continental" | "Chile/EasterIsland" | "Cuba" | "EET" | "EST" | "EST5EDT" | "Egypt" | "Eire" | "Etc/GMT" | "Etc/GMT+0" | "Etc/GMT+1" | "Etc/GMT+10" | "Etc/GMT+11" | "Etc/GMT+12" | "Etc/GMT+2" | "Etc/GMT+3" | "Etc/GMT+4" | "Etc/GMT+5" | "Etc/GMT+6" | "Etc/GMT+7" | "Etc/GMT+8" | "Etc/GMT+9" | "Etc/GMT-0" | "Etc/GMT-1" | "Etc/GMT-10" | "Etc/GMT-11" | "Etc/GMT-12" | "Etc/GMT-13" | "Etc/GMT-14" | "Etc/GMT-2" | "Etc/GMT-3" | "Etc/GMT-4" | "Etc/GMT-5" | "Etc/GMT-6" | "Etc/GMT-7" | "Etc/GMT-8" | "Etc/GMT-9" | "Etc/GMT0" | "Etc/Greenwich" | "Etc/UCT" | "Etc/UTC" | "Etc/Universal" | "Etc/Zulu" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Astrakhan" | "Europe/Athens" | "Europe/Belfast" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Bucharest" | "Europe/Budapest" | "Europe/Busingen" | "Europe/Chisinau" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Gibraltar" | "Europe/Guernsey" | "Europe/Helsinki" | "Europe/Isle_of_Man" | "Europe/Istanbul" | "Europe/Jersey" | "Europe/Kaliningrad" | "Europe/Kiev" | "Europe/Kirov" | "Europe/Lisbon" | "Europe/Ljubljana" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Mariehamn" | "Europe/Minsk" | "Europe/Monaco" | "Europe/Moscow" | "Europe/Nicosia" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Riga" | "Europe/Rome" | "Europe/Samara" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Saratov" | "Europe/Simferopol" | "Europe/Skopje" | "Europe/Sofia" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Tirane" | "Europe/Tiraspol" | "Europe/Ulyanovsk" | "Europe/Uzhgorod" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Vilnius" | "Europe/Volgograd" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zaporozhye" | "Europe/Zurich" | "GB" | "GB-Eire" | "GMT" | "GMT+0" | "GMT-0" | "GMT0" | "Greenwich" | "HST" | "Hongkong" | "Iceland" | "Indian/Antananarivo" | "Indian/Chagos" | "Indian/Christmas" | "Indian/Cocos" | "Indian/Comoro" | "Indian/Kerguelen" | "Indian/Mahe" | "Indian/Maldives" | "Indian/Mauritius" | "Indian/Mayotte" | "Indian/Reunion" | "Iran" | "Israel" | "Jamaica" | "Japan" | "Kwajalein" | "Libya" | "MET" | "MST" | "MST7MDT" | "Mexico/BajaNorte" | "Mexico/BajaSur" | "Mexico/General" | "NZ" | "NZ-CHAT" | "Navajo" | "PRC" | "PST8PDT" | "Pacific/Apia" | "Pacific/Auckland" | "Pacific/Bougainville" | "Pacific/Chatham" | "Pacific/Chuuk" | "Pacific/Easter" | "Pacific/Efate" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Galapagos" | "Pacific/Gambier" | "Pacific/Guadalcanal" | "Pacific/Guam" | "Pacific/Honolulu" | "Pacific/Johnston" | "Pacific/Kiritimati" | "Pacific/Kosrae" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Marquesas" | "Pacific/Midway" | "Pacific/Nauru" | "Pacific/Niue" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pago_Pago" | "Pacific/Palau" | "Pacific/Pitcairn" | "Pacific/Pohnpei" | "Pacific/Ponape" | "Pacific/Port_Moresby" | "Pacific/Rarotonga" | "Pacific/Saipan" | "Pacific/Samoa" | "Pacific/Tahiti" | "Pacific/Tarawa" | "Pacific/Tongatapu" | "Pacific/Truk" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Yap" | "Poland" | "Portugal" | "ROC" | "ROK" | "Singapore" | "Turkey" | "UCT" | "US/Alaska" | "US/Aleutian" | "US/Arizona" | "US/Central" | "US/East-Indiana" | "US/Eastern" | "US/Hawaii" | "US/Indiana-Starke" | "US/Michigan" | "US/Mountain" | "US/Pacific" | "US/Pacific-New" | "US/Samoa" | "UTC" | "Universal" | "W-SU" | "WET" | "Zulu";
|
48 | declare type DateResponse = {
|
49 | start: string;
|
50 | end: string | null;
|
51 | time_zone: TimeZoneRequest | null;
|
52 | };
|
53 | declare type TextRequest = string;
|
54 | declare type PartialUserObjectResponse = {
|
55 | id: IdRequest;
|
56 | object: "user";
|
57 | } | UserObjectResponse;
|
58 | declare type RichTextItemResponse = {
|
59 | type: "text";
|
60 | text: {
|
61 | content: string;
|
62 | link: {
|
63 | url: TextRequest;
|
64 | } | null;
|
65 | };
|
66 | annotations: {
|
67 | bold: boolean;
|
68 | italic: boolean;
|
69 | strikethrough: boolean;
|
70 | underline: boolean;
|
71 | code: boolean;
|
72 | color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
73 | };
|
74 | plain_text: string;
|
75 | href: string | null;
|
76 | } | {
|
77 | type: "mention";
|
78 | mention: {
|
79 | type: "user";
|
80 | user: PartialUserObjectResponse;
|
81 | } | {
|
82 | type: "date";
|
83 | date: DateResponse;
|
84 | } | {
|
85 | type: "link_preview";
|
86 | link_preview: {
|
87 | url: TextRequest;
|
88 | };
|
89 | } | {
|
90 | type: "template_mention";
|
91 | template_mention: {
|
92 | type: "template_mention_date";
|
93 | template_mention_date: "today" | "now";
|
94 | } | {
|
95 | type: "template_mention_user";
|
96 | template_mention_user: "me";
|
97 | };
|
98 | } | {
|
99 | type: "page";
|
100 | page: {
|
101 | id: IdRequest;
|
102 | };
|
103 | } | {
|
104 | type: "database";
|
105 | database: {
|
106 | id: IdRequest;
|
107 | };
|
108 | };
|
109 | annotations: {
|
110 | bold: boolean;
|
111 | italic: boolean;
|
112 | strikethrough: boolean;
|
113 | underline: boolean;
|
114 | code: boolean;
|
115 | color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
116 | };
|
117 | plain_text: string;
|
118 | href: string | null;
|
119 | } | {
|
120 | type: "equation";
|
121 | equation: {
|
122 | expression: TextRequest;
|
123 | };
|
124 | annotations: {
|
125 | bold: boolean;
|
126 | italic: boolean;
|
127 | strikethrough: boolean;
|
128 | underline: boolean;
|
129 | code: boolean;
|
130 | color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
131 | };
|
132 | plain_text: string;
|
133 | href: string | null;
|
134 | };
|
135 | declare type RollupFunction = "count" | "count_values" | "empty" | "not_empty" | "unique" | "show_unique" | "percent_empty" | "percent_not_empty" | "sum" | "average" | "median" | "min" | "max" | "range" | "earliest_date" | "latest_date" | "date_range" | "checked" | "unchecked" | "percent_checked" | "percent_unchecked" | "show_original";
|
136 | declare type EmojiRequest = "😀" | "😃" | "😄" | "😁" | "😆" | "😅" | "🤣" | "😂" | "🙂" | "🙃" | "😉" | "😊" | "😇" | "🥰" | "😍" | "🤩" | "😘" | "😗" | "☺️" | "☺" | "😚" | "😙" | "🥲" | "😋" | "😛" | "😜" | "🤪" | "😝" | "🤑" | "🤗" | "🤭" | "🤫" | "🤔" | "🤐" | "🤨" | "😐" | "😑" | "😶" | "😶🌫️" | "😶🌫" | "😏" | "😒" | "🙄" | "😬" | "😮💨" | "🤥" | "😌" | "😔" | "😪" | "🤤" | "😴" | "😷" | "🤒" | "🤕" | "🤢" | "🤮" | "🤧" | "🥵" | "🥶" | "🥴" | "😵" | "😵💫" | "🤯" | "🤠" | "🥳" | "🥸" | "😎" | "🤓" | "🧐" | "😕" | "😟" | "🙁" | "☹️" | "☹" | "😮" | "😯" | "😲" | "😳" | "🥺" | "😦" | "😧" | "😨" | "😰" | "😥" | "😢" | "😭" | "😱" | "😖" | "😣" | "😞" | "😓" | "😩" | "😫" | "🥱" | "😤" | "😡" | "😠" | "🤬" | "😈" | "👿" | "💀" | "☠️" | "☠" | "💩" | "🤡" | "👹" | "👺" | "👻" | "👽" | "👾" | "🤖" | "😺" | "😸" | "😹" | "😻" | "😼" | "😽" | "🙀" | "😿" | "😾" | "🙈" | "🙉" | "🙊" | "💋" | "💌" | "💘" | "💝" | "💖" | "💗" | "💓" | "💞" | "💕" | "💟" | "❣️" | "❣" | "💔" | "❤️🔥" | "❤🔥" | "❤️🩹" | "❤🩹" | "❤️" | "❤" | "🧡" | "💛" | "💚" | "💙" | "💜" | "🤎" | "🖤" | "🤍" | "💯" | "💢" | "💥" | "💫" | "💦" | "💨" | "🕳️" | "🕳" | "💣" | "💬" | "👁️🗨️" | "🗨️" | "🗨" | "🗯️" | "🗯" | "💭" | "💤" | "👋🏻" | "👋🏼" | "👋🏽" | "👋🏾" | "👋🏿" | "👋" | "🤚🏻" | "🤚🏼" | "🤚🏽" | "🤚🏾" | "🤚🏿" | "🤚" | "🖐🏻" | "🖐🏼" | "🖐🏽" | "🖐🏾" | "🖐🏿" | "🖐️" | "🖐" | "✋🏻" | "✋🏼" | "✋🏽" | "✋🏾" | "✋🏿" | "✋" | "🖖🏻" | "🖖🏼" | "🖖🏽" | "🖖🏾" | "🖖🏿" | "🖖" | "👌🏻" | "👌🏼" | "👌🏽" | "👌🏾" | "👌🏿" | "👌" | "🤌🏻" | "🤌🏼" | "🤌🏽" | "🤌🏾" | "🤌🏿" | "🤌" | "🤏🏻" | "🤏🏼" | "🤏🏽" | "🤏🏾" | "🤏🏿" | "🤏" | "✌🏻" | "✌🏼" | "✌🏽" | "✌🏾" | "✌🏿" | "✌️" | "✌" | "🤞🏻" | "🤞🏼" | "🤞🏽" | "🤞🏾" | "🤞🏿" | "🤞" | "🤟🏻" | "🤟🏼" | "🤟🏽" | "🤟🏾" | "🤟🏿" | "🤟" | "🤘🏻" | "🤘🏼" | "🤘🏽" | "🤘🏾" | "🤘🏿" | "🤘" | "🤙🏻" | "🤙🏼" | "🤙🏽" | "🤙🏾" | "🤙🏿" | "🤙" | "👈🏻" | "👈🏼" | "👈🏽" | "👈🏾" | "👈🏿" | "👈" | "👉🏻" | "👉🏼" | "👉🏽" | "👉🏾" | "👉🏿" | "👉" | "👆🏻" | "👆🏼" | "👆🏽" | "👆🏾" | "👆🏿" | "👆" | "🖕🏻" | "🖕🏼" | "🖕🏽" | "🖕🏾" | "🖕🏿" | "🖕" | "👇🏻" | "👇🏼" | "👇🏽" | "👇🏾" | "👇🏿" | "👇" | "☝🏻" | "☝🏼" | "☝🏽" | "☝🏾" | "☝🏿" | "☝️" | "☝" | "👍🏻" | "👍🏼" | "👍🏽" | "👍🏾" | "👍🏿" | "👍" | "👎🏻" | "👎🏼" | "👎🏽" | "👎🏾" | "👎🏿" | "👎" | "✊🏻" | "✊🏼" | "✊🏽" | "✊🏾" | "✊🏿" | "✊" | "👊🏻" | "👊🏼" | "👊🏽" | "👊🏾" | "👊🏿" | "👊" | "🤛🏻" | "🤛🏼" | "🤛🏽" | "🤛🏾" | "🤛🏿" | "🤛" | "🤜🏻" | "🤜🏼" | "🤜🏽" | "🤜🏾" | "🤜🏿" | "🤜" | "👏🏻" | "👏🏼" | "👏🏽" | "👏🏾" | "👏🏿" | "👏" | "🙌🏻" | "🙌🏼" | "🙌🏽" | "🙌🏾" | "🙌🏿" | "🙌" | "👐🏻" | "👐🏼" | "👐🏽" | "👐🏾" | "👐🏿" | "👐" | "🤲🏻" | "🤲🏼" | "🤲🏽" | "🤲🏾" | "🤲🏿" | "🤲" | "🤝" | "🙏🏻" | "🙏🏼" | "🙏🏽" | "🙏🏾" | "🙏🏿" | "🙏" | "✍🏻" | "✍🏼" | "✍🏽" | "✍🏾" | "✍🏿" | "✍️" | "✍" | "💅🏻" | "💅🏼" | "💅🏽" | "💅🏾" | "💅🏿" | "💅" | "🤳🏻" | "🤳🏼" | "🤳🏽" | "🤳🏾" | "🤳🏿" | "🤳" | "💪🏻" | "💪🏼" | "💪🏽" | "💪🏾" | "💪🏿" | "💪" | "🦾" | "🦿" | "🦵🏻" | "🦵🏼" | "🦵🏽" | "🦵🏾" | "🦵🏿" | "🦵" | "🦶🏻" | "🦶🏼" | "🦶🏽" | "🦶🏾" | "🦶🏿" | "🦶" | "👂🏻" | "👂🏼" | "👂🏽" | "👂🏾" | "👂🏿" | "👂" | "🦻🏻" | "🦻🏼" | "🦻🏽" | "🦻🏾" | "🦻🏿" | "🦻" | "👃🏻" | "👃🏼" | "👃🏽" | "👃🏾" | "👃🏿" | "👃" | "🧠" | "🫀" | "🫁" | "🦷" | "🦴" | "👀" | "👁️" | "👁" | "👅" | "👄" | "👶🏻" | "👶🏼" | "👶🏽" | "👶🏾" | "👶🏿" | "👶" | "🧒🏻" | "🧒🏼" | "🧒🏽" | "🧒🏾" | "🧒🏿" | "🧒" | "👦🏻" | "👦🏼" | "👦🏽" | "👦🏾" | "👦🏿" | "👦" | "👧🏻" | "👧🏼" | "👧🏽" | "👧🏾" | "👧🏿" | "👧" | "🧑🏻" | "🧑🏼" | "🧑🏽" | "🧑🏾" | "🧑🏿" | "🧑" | "👱🏻" | "👱🏼" | "👱🏽" | "👱🏾" | "👱🏿" | "👱" | "👨🏻" | "👨🏼" | "👨🏽" | "👨🏾" | "👨🏿" | "👨" | "🧔🏻" | "🧔🏼" | "🧔🏽" | "🧔🏾" | "🧔🏿" | "🧔" | "🧔🏻♂️" | "🧔🏼♂️" | "🧔🏽♂️" | "🧔🏾♂️" | "🧔🏿♂️" | "🧔♂️" | "🧔♂" | "🧔🏻♀️" | "🧔🏼♀️" | "🧔🏽♀️" | "🧔🏾♀️" | "🧔🏿♀️" | "🧔♀️" | "🧔♀" | "👨🏻🦰" | "👨🏼🦰" | "👨🏽🦰" | "👨🏾🦰" | "👨🏿🦰" | "👨🦰" | "👨🏻🦱" | "👨🏼🦱" | "👨🏽🦱" | "👨🏾🦱" | "👨🏿🦱" | "👨🦱" | "👨🏻🦳" | "👨🏼🦳" | "👨🏽🦳" | "👨🏾🦳" | "👨🏿🦳" | "👨🦳" | "👨🏻🦲" | "👨🏼🦲" | "👨🏽🦲" | "👨🏾🦲" | "👨🏿🦲" | "👨🦲" | "👩🏻" | "👩🏼" | "👩🏽" | "👩🏾" | "👩🏿" | "👩" | "👩🏻🦰" | "👩🏼🦰" | "👩🏽🦰" | "👩🏾🦰" | "👩🏿🦰" | "👩🦰" | "🧑🏻🦰" | "🧑🏼🦰" | "🧑🏽🦰" | "🧑🏾🦰" | "🧑🏿🦰" | "🧑🦰" | "👩🏻🦱" | "👩🏼🦱" | "👩🏽🦱" | "👩🏾🦱" | "👩🏿🦱" | "👩🦱" | "🧑🏻🦱" | "🧑🏼🦱" | "🧑🏽🦱" | "🧑🏾🦱" | "🧑🏿🦱" | "🧑🦱" | "👩🏻🦳" | "👩🏼🦳" | "👩🏽🦳" | "👩🏾🦳" | "👩🏿🦳" | "👩🦳" | "🧑🏻🦳" | "🧑🏼🦳" | "🧑🏽🦳" | "🧑🏾🦳" | "🧑🏿🦳" | "🧑🦳" | "👩🏻🦲" | "👩🏼🦲" | "👩🏽🦲" | "👩🏾🦲" | "👩🏿🦲" | "👩🦲" | "🧑🏻🦲" | "🧑🏼🦲" | "🧑🏽🦲" | "🧑🏾🦲" | "🧑🏿🦲" | "🧑🦲" | "👱🏻♀️" | "👱🏼♀️" | "👱🏽♀️" | "👱🏾♀️" | "👱🏿♀️" | "👱♀️" | "👱♀" | "👱🏻♂️" | "👱🏼♂️" | "👱🏽♂️" | "👱🏾♂️" | "👱🏿♂️" | "👱♂️" | "👱♂" | "🧓🏻" | "🧓🏼" | "🧓🏽" | "🧓🏾" | "🧓🏿" | "🧓" | "👴🏻" | "👴🏼" | "👴🏽" | "👴🏾" | "👴🏿" | "👴" | "👵🏻" | "👵🏼" | "👵🏽" | "👵🏾" | "👵🏿" | "👵" | "🙍🏻" | "🙍🏼" | "🙍🏽" | "🙍🏾" | "🙍🏿" | "🙍" | "🙍🏻♂️" | "🙍🏼♂️" | "🙍🏽♂️" | "🙍🏾♂️" | "🙍🏿♂️" | "🙍♂️" | "🙍♂" | "🙍🏻♀️" | "🙍🏼♀️" | "🙍🏽♀️" | "🙍🏾♀️" | "🙍🏿♀️" | "🙍♀️" | "🙍♀" | "🙎🏻" | "🙎🏼" | "🙎🏽" | "🙎🏾" | "🙎🏿" | "🙎" | "🙎🏻♂️" | "🙎🏼♂️" | "🙎🏽♂️" | "🙎🏾♂️" | "🙎🏿♂️" | "🙎♂️" | "🙎♂" | "🙎🏻♀️" | "🙎🏼♀️" | "🙎🏽♀️" | "🙎🏾♀️" | "🙎🏿♀️" | "🙎♀️" | "🙎♀" | "🙅🏻" | "🙅🏼" | "🙅🏽" | "🙅🏾" | "🙅🏿" | "🙅" | "🙅🏻♂️" | "🙅🏼♂️" | "🙅🏽♂️" | "🙅🏾♂️" | "🙅🏿♂️" | "🙅♂️" | "🙅♂" | "🙅🏻♀️" | "🙅🏼♀️" | "🙅🏽♀️" | "🙅🏾♀️" | "🙅🏿♀️" | "🙅♀️" | "🙅♀" | "🙆🏻" | "🙆🏼" | "🙆🏽" | "🙆🏾" | "🙆🏿" | "🙆" | "🙆🏻♂️" | "🙆🏼♂️" | "🙆🏽♂️" | "🙆🏾♂️" | "🙆🏿♂️" | "🙆♂️" | "🙆♂" | "🙆🏻♀️" | "🙆🏼♀️" | "🙆🏽♀️" | "🙆🏾♀️" | "🙆🏿♀️" | "🙆♀️" | "🙆♀" | "💁🏻" | "💁🏼" | "💁🏽" | "💁🏾" | "💁🏿" | "💁" | "💁🏻♂️" | "💁🏼♂️" | "💁🏽♂️" | "💁🏾♂️" | "💁🏿♂️" | "💁♂️" | "💁♂" | "💁🏻♀️" | "💁🏼♀️" | "💁🏽♀️" | "💁🏾♀️" | "💁🏿♀️" | "💁♀️" | "💁♀" | "🙋🏻" | "🙋🏼" | "🙋🏽" | "🙋🏾" | "🙋🏿" | "🙋" | "🙋🏻♂️" | "🙋🏼♂️" | "🙋🏽♂️" | "🙋🏾♂️" | "🙋🏿♂️" | "🙋♂️" | "🙋♂" | "🙋🏻♀️" | "🙋🏼♀️" | "🙋🏽♀️" | "🙋🏾♀️" | "🙋🏿♀️" | "🙋♀️" | "🙋♀" | "🧏🏻" | "🧏🏼" | "🧏🏽" | "🧏🏾" | "🧏🏿" | "🧏" | "🧏🏻♂️" | "🧏🏼♂️" | "🧏🏽♂️" | "🧏🏾♂️" | "🧏🏿♂️" | "🧏♂️" | "🧏♂" | "🧏🏻♀️" | "🧏🏼♀️" | "🧏🏽♀️" | "🧏🏾♀️" | "🧏🏿♀️" | "🧏♀️" | "🧏♀" | "🙇🏻" | "🙇🏼" | "🙇🏽" | "🙇🏾" | "🙇🏿" | "🙇" | "🙇🏻♂️" | "🙇🏼♂️" | "🙇🏽♂️" | "🙇🏾♂️" | "🙇🏿♂️" | "🙇♂️" | "🙇♂" | "🙇🏻♀️" | "🙇🏼♀️" | "🙇🏽♀️" | "🙇🏾♀️" | "🙇🏿♀️" | "🙇♀️" | "🙇♀" | "🤦🏻" | "🤦🏼" | "🤦🏽" | "🤦🏾" | "🤦🏿" | "🤦" | "🤦🏻♂️" | "🤦🏼♂️" | "🤦🏽♂️" | "🤦🏾♂️" | "🤦🏿♂️" | "🤦♂️" | "🤦♂" | "🤦🏻♀️" | "🤦🏼♀️" | "🤦🏽♀️" | "🤦🏾♀️" | "🤦🏿♀️" | "🤦♀️" | "🤦♀" | "🤷🏻" | "🤷🏼" | "🤷🏽" | "🤷🏾" | "🤷🏿" | "🤷" | "🤷🏻♂️" | "🤷🏼♂️" | "🤷🏽♂️" | "🤷🏾♂️" | "🤷🏿♂️" | "🤷♂️" | "🤷♂" | "🤷🏻♀️" | "🤷🏼♀️" | "🤷🏽♀️" | "🤷🏾♀️" | "🤷🏿♀️" | "🤷♀️" | "🤷♀" | "🧑🏻⚕️" | "🧑🏼⚕️" | "🧑🏽⚕️" | "🧑🏾⚕️" | "🧑🏿⚕️" | "🧑⚕️" | "🧑⚕" | "👨🏻⚕️" | "👨🏼⚕️" | "👨🏽⚕️" | "👨🏾⚕️" | "👨🏿⚕️" | "👨⚕️" | "👨⚕" | "👩🏻⚕️" | "👩🏼⚕️" | "👩🏽⚕️" | "👩🏾⚕️" | "👩🏿⚕️" | "👩⚕️" | "👩⚕" | "🧑🏻🎓" | "🧑🏼🎓" | "🧑🏽🎓" | "🧑🏾🎓" | "🧑🏿🎓" | "🧑🎓" | "👨🏻🎓" | "👨🏼🎓" | "👨🏽🎓" | "👨🏾🎓" | "👨🏿🎓" | "👨🎓" | "👩🏻🎓" | "👩🏼🎓" | "👩🏽🎓" | "👩🏾🎓" | "👩🏿🎓" | "👩🎓" | "🧑🏻🏫" | "🧑🏼🏫" | "🧑🏽🏫" | "🧑🏾🏫" | "🧑🏿🏫" | "🧑🏫" | "👨🏻🏫" | "👨🏼🏫" | "👨🏽🏫" | "👨🏾🏫" | "👨🏿🏫" | "👨🏫" | "👩🏻🏫" | "👩🏼🏫" | "👩🏽🏫" | "👩🏾🏫" | "👩🏿🏫" | "👩🏫" | "🧑🏻⚖️" | "🧑🏼⚖️" | "🧑🏽⚖️" | "🧑🏾⚖️" | "🧑🏿⚖️" | "🧑⚖️" | "🧑⚖" | "👨🏻⚖️" | "👨🏼⚖️" | "👨🏽⚖️" | "👨🏾⚖️" | "👨🏿⚖️" | "👨⚖️" | "👨⚖" | "👩🏻⚖️" | "👩🏼⚖️" | "👩🏽⚖️" | "👩🏾⚖️" | "👩🏿⚖️" | "👩⚖️" | "👩⚖" | "🧑🏻🌾" | "🧑🏼🌾" | "🧑🏽🌾" | "🧑🏾🌾" | "🧑🏿🌾" | "🧑🌾" | "👨🏻🌾" | "👨🏼🌾" | "👨🏽🌾" | "👨🏾🌾" | "👨🏿🌾" | "👨🌾" | "👩🏻🌾" | "👩🏼🌾" | "👩🏽🌾" | "👩🏾🌾" | "👩🏿🌾" | "👩🌾" | "🧑🏻🍳" | "🧑🏼🍳" | "🧑🏽🍳" | "🧑🏾🍳" | "🧑🏿🍳" | "🧑🍳" | "👨🏻🍳" | "👨🏼🍳" | "👨🏽🍳" | "👨🏾🍳" | "👨🏿🍳" | "👨🍳" | "👩🏻🍳" | "👩🏼🍳" | "👩🏽🍳" | "👩🏾🍳" | "👩🏿🍳" | "👩🍳" | "🧑🏻🔧" | "🧑🏼🔧" | "🧑🏽🔧" | "🧑🏾🔧" | "🧑🏿🔧" | "🧑🔧" | "👨🏻🔧" | "👨🏼🔧" | "👨🏽🔧" | "👨🏾🔧" | "👨🏿🔧" | "👨🔧" | "👩🏻🔧" | "👩🏼🔧" | "👩🏽🔧" | "👩🏾🔧" | "👩🏿🔧" | "👩🔧" | "🧑🏻🏭" | "🧑🏼🏭" | "🧑🏽🏭" | "🧑🏾🏭" | "🧑🏿🏭" | "🧑🏭" | "👨🏻🏭" | "👨🏼🏭" | "👨🏽🏭" | "👨🏾🏭" | "👨🏿🏭" | "👨🏭" | "👩🏻🏭" | "👩🏼🏭" | "👩🏽🏭" | "👩🏾🏭" | "👩🏿🏭" | "👩🏭" | "🧑🏻💼" | "🧑🏼💼" | "🧑🏽💼" | "🧑🏾💼" | "🧑🏿💼" | "🧑💼" | "👨🏻💼" | "👨🏼💼" | "👨🏽💼" | "👨🏾💼" | "👨🏿💼" | "👨💼" | "👩🏻💼" | "👩🏼💼" | "👩🏽💼" | "👩🏾💼" | "👩🏿💼" | "👩💼" | "🧑🏻🔬" | "🧑🏼🔬" | "🧑🏽🔬" | "🧑🏾🔬" | "🧑🏿🔬" | "🧑🔬" | "👨🏻🔬" | "👨🏼🔬" | "👨🏽🔬" | "👨🏾🔬" | "👨🏿🔬" | "👨🔬" | "👩🏻🔬" | "👩🏼🔬" | "👩🏽🔬" | "👩🏾🔬" | "👩🏿🔬" | "👩🔬" | "🧑🏻💻" | "🧑🏼💻" | "🧑🏽💻" | "🧑🏾💻" | "🧑🏿💻" | "🧑💻" | "👨🏻💻" | "👨🏼💻" | "👨🏽💻" | "👨🏾💻" | "👨🏿💻" | "👨💻" | "👩🏻💻" | "👩🏼💻" | "👩🏽💻" | "👩🏾💻" | "👩🏿💻" | "👩💻" | "🧑🏻🎤" | "🧑🏼🎤" | "🧑🏽🎤" | "🧑🏾🎤" | "🧑🏿🎤" | "🧑🎤" | "👨🏻🎤" | "👨🏼🎤" | "👨🏽🎤" | "👨🏾🎤" | "👨🏿🎤" | "👨🎤" | "👩🏻🎤" | "👩🏼🎤" | "👩🏽🎤" | "👩🏾🎤" | "👩🏿🎤" | "👩🎤" | "🧑🏻🎨" | "🧑🏼🎨" | "🧑🏽🎨" | "🧑🏾🎨" | "🧑🏿🎨" | "🧑🎨" | "👨🏻🎨" | "👨🏼🎨" | "👨🏽🎨" | "👨🏾🎨" | "👨🏿🎨" | "👨🎨" | "👩🏻🎨" | "👩🏼🎨" | "👩🏽🎨" | "👩🏾🎨" | "👩🏿🎨" | "👩🎨" | "🧑🏻✈️" | "🧑🏼✈️" | "🧑🏽✈️" | "🧑🏾✈️" | "🧑🏿✈️" | "🧑✈️" | "🧑✈" | "👨🏻✈️" | "👨🏼✈️" | "👨🏽✈️" | "👨🏾✈️" | "👨🏿✈️" | "👨✈️" | "👨✈" | "👩🏻✈️" | "👩🏼✈️" | "👩🏽✈️" | "👩🏾✈️" | "👩🏿✈️" | "👩✈️" | "👩✈" | "🧑🏻🚀" | "🧑🏼🚀" | "🧑🏽🚀" | "🧑🏾🚀" | "🧑🏿🚀" | "🧑🚀" | "👨🏻🚀" | "👨🏼🚀" | "👨🏽🚀" | "👨🏾🚀" | "👨🏿🚀" | "👨🚀" | "👩🏻🚀" | "👩🏼🚀" | "👩🏽🚀" | "👩🏾🚀" | "👩🏿🚀" | "👩🚀" | "🧑🏻🚒" | "🧑🏼🚒" | "🧑🏽🚒" | "🧑🏾🚒" | "🧑🏿🚒" | "🧑🚒" | "👨🏻🚒" | "👨🏼🚒" | "👨🏽🚒" | "👨🏾🚒" | "👨🏿🚒" | "👨🚒" | "👩🏻🚒" | "👩🏼🚒" | "👩🏽🚒" | "👩🏾🚒" | "👩🏿🚒" | "👩🚒" | "👮🏻" | "👮🏼" | "👮🏽" | "👮🏾" | "👮🏿" | "👮" | "👮🏻♂️" | "👮🏼♂️" | "👮🏽♂️" | "👮🏾♂️" | "👮🏿♂️" | "👮♂️" | "👮♂" | "👮🏻♀️" | "👮🏼♀️" | "👮🏽♀️" | "👮🏾♀️" | "👮🏿♀️" | "👮♀️" | "👮♀" | "🕵🏻" | "🕵🏼" | "🕵🏽" | "🕵🏾" | "🕵🏿" | "🕵️" | "🕵" | "🕵🏻♂️" | "🕵🏼♂️" | "🕵🏽♂️" | "🕵🏾♂️" | "🕵🏿♂️" | "🕵️♂️" | "🕵🏻♀️" | "🕵🏼♀️" | "🕵🏽♀️" | "🕵🏾♀️" | "🕵🏿♀️" | "🕵️♀️" | "💂🏻" | "💂🏼" | "💂🏽" | "💂🏾" | "💂🏿" | "💂" | "💂🏻♂️" | "💂🏼♂️" | "💂🏽♂️" | "💂🏾♂️" | "💂🏿♂️" | "💂♂️" | "💂♂" | "💂🏻♀️" | "💂🏼♀️" | "💂🏽♀️" | "💂🏾♀️" | "💂🏿♀️" | "💂♀️" | "💂♀" | "🥷🏻" | "🥷🏼" | "🥷🏽" | "🥷🏾" | "🥷🏿" | "🥷" | "👷🏻" | "👷🏼" | "👷🏽" | "👷🏾" | "👷🏿" | "👷" | "👷🏻♂️" | "👷🏼♂️" | "👷🏽♂️" | "👷🏾♂️" | "👷🏿♂️" | "👷♂️" | "👷♂" | "👷🏻♀️" | "👷🏼♀️" | "👷🏽♀️" | "👷🏾♀️" | "👷🏿♀️" | "👷♀️" | "👷♀" | "🤴🏻" | "🤴🏼" | "🤴🏽" | "🤴🏾" | "🤴🏿" | "🤴" | "👸🏻" | "👸🏼" | "👸🏽" | "👸🏾" | "👸🏿" | "👸" | "👳🏻" | "👳🏼" | "👳🏽" | "👳🏾" | "👳🏿" | "👳" | "👳🏻♂️" | "👳🏼♂️" | "👳🏽♂️" | "👳🏾♂️" | "👳🏿♂️" | "👳♂️" | "👳♂" | "👳🏻♀️" | "👳🏼♀️" | "👳🏽♀️" | "👳🏾♀️" | "👳🏿♀️" | "👳♀️" | "👳♀" | "👲🏻" | "👲🏼" | "👲🏽" | "👲🏾" | "👲🏿" | "👲" | "🧕🏻" | "🧕🏼" | "🧕🏽" | "🧕🏾" | "🧕🏿" | "🧕" | "🤵🏻" | "🤵🏼" | "🤵🏽" | "🤵🏾" | "🤵🏿" | "🤵" | "🤵🏻♂️" | "🤵🏼♂️" | "🤵🏽♂️" | "🤵🏾♂️" | "🤵🏿♂️" | "🤵♂️" | "🤵♂" | "🤵🏻♀️" | "🤵🏼♀️" | "🤵🏽♀️" | "🤵🏾♀️" | "🤵🏿♀️" | "🤵♀️" | "🤵♀" | "👰🏻" | "👰🏼" | "👰🏽" | "👰🏾" | "👰🏿" | "👰" | "👰🏻♂️" | "👰🏼♂️" | "👰🏽♂️" | "👰🏾♂️" | "👰🏿♂️" | "👰♂️" | "👰♂" | "👰🏻♀️" | "👰🏼♀️" | "👰🏽♀️" | "👰🏾♀️" | "👰🏿♀️" | "👰♀️" | "👰♀" | "🤰🏻" | "🤰🏼" | "🤰🏽" | "🤰🏾" | "🤰🏿" | "🤰" | "🤱🏻" | "🤱🏼" | "🤱🏽" | "🤱🏾" | "🤱🏿" | "🤱" | "👩🏻🍼" | "👩🏼🍼" | "👩🏽🍼" | "👩🏾🍼" | "👩🏿🍼" | "👩🍼" | "👨🏻🍼" | "👨🏼🍼" | "👨🏽🍼" | "👨🏾🍼" | "👨🏿🍼" | "👨🍼" | "🧑🏻🍼" | "🧑🏼🍼" | "🧑🏽🍼" | "🧑🏾🍼" | "🧑🏿🍼" | "🧑🍼" | "👼🏻" | "👼🏼" | "👼🏽" | "👼🏾" | "👼🏿" | "👼" | "🎅🏻" | "🎅🏼" | "🎅🏽" | "🎅🏾" | "🎅🏿" | "🎅" | "🤶🏻" | "🤶🏼" | "🤶🏽" | "🤶🏾" | "🤶🏿" | "🤶" | "🧑🏻🎄" | "🧑🏼🎄" | "🧑🏽🎄" | "🧑🏾🎄" | "🧑🏿🎄" | "🧑🎄" | "🦸🏻" | "🦸🏼" | "🦸🏽" | "🦸🏾" | "🦸🏿" | "🦸" | "🦸🏻♂️" | "🦸🏼♂️" | "🦸🏽♂️" | "🦸🏾♂️" | "🦸🏿♂️" | "🦸♂️" | "🦸♂" | "🦸🏻♀️" | "🦸🏼♀️" | "🦸🏽♀️" | "🦸🏾♀️" | "🦸🏿♀️" | "🦸♀️" | "🦸♀" | "🦹🏻" | "🦹🏼" | "🦹🏽" | "🦹🏾" | "🦹🏿" | "🦹" | "🦹🏻♂️" | "🦹🏼♂️" | "🦹🏽♂️" | "🦹🏾♂️" | "🦹🏿♂️" | "🦹♂️" | "🦹♂" | "🦹🏻♀️" | "🦹🏼♀️" | "🦹🏽♀️" | "🦹🏾♀️" | "🦹🏿♀️" | "🦹♀️" | "🦹♀" | "🧙🏻" | "🧙🏼" | "🧙🏽" | "🧙🏾" | "🧙🏿" | "🧙" | "🧙🏻♂️" | "🧙🏼♂️" | "🧙🏽♂️" | "🧙🏾♂️" | "🧙🏿♂️" | "🧙♂️" | "🧙♂" | "🧙🏻♀️" | "🧙🏼♀️" | "🧙🏽♀️" | "🧙🏾♀️" | "🧙🏿♀️" | "🧙♀️" | "🧙♀" | "🧚🏻" | "🧚🏼" | "🧚🏽" | "🧚🏾" | "🧚🏿" | "🧚" | "🧚🏻♂️" | "🧚🏼♂️" | "🧚🏽♂️" | "🧚🏾♂️" | "🧚🏿♂️" | "🧚♂️" | "🧚♂" | "🧚🏻♀️" | "🧚🏼♀️" | "🧚🏽♀️" | "🧚🏾♀️" | "🧚🏿♀️" | "🧚♀️" | "🧚♀" | "🧛🏻" | "🧛🏼" | "🧛🏽" | "🧛🏾" | "🧛🏿" | "🧛" | "🧛🏻♂️" | "🧛🏼♂️" | "🧛🏽♂️" | "🧛🏾♂️" | "🧛🏿♂️" | "🧛♂️" | "🧛♂" | "🧛🏻♀️" | "🧛🏼♀️" | "🧛🏽♀️" | "🧛🏾♀️" | "🧛🏿♀️" | "🧛♀️" | "🧛♀" | "🧜🏻" | "🧜🏼" | "🧜🏽" | "🧜🏾" | "🧜🏿" | "🧜" | "🧜🏻♂️" | "🧜🏼♂️" | "🧜🏽♂️" | "🧜🏾♂️" | "🧜🏿♂️" | "🧜♂️" | "🧜♂" | "🧜🏻♀️" | "🧜🏼♀️" | "🧜🏽♀️" | "🧜🏾♀️" | "🧜🏿♀️" | "🧜♀️" | "🧜♀" | "🧝🏻" | "🧝🏼" | "🧝🏽" | "🧝🏾" | "🧝🏿" | "🧝" | "🧝🏻♂️" | "🧝🏼♂️" | "🧝🏽♂️" | "🧝🏾♂️" | "🧝🏿♂️" | "🧝♂️" | "🧝♂" | "🧝🏻♀️" | "🧝🏼♀️" | "🧝🏽♀️" | "🧝🏾♀️" | "🧝🏿♀️" | "🧝♀️" | "🧝♀" | "🧞" | "🧞♂️" | "🧞♂" | "🧞♀️" | "🧞♀" | "🧟" | "🧟♂️" | "🧟♂" | "🧟♀️" | "🧟♀" | "💆🏻" | "💆🏼" | "💆🏽" | "💆🏾" | "💆🏿" | "💆" | "💆🏻♂️" | "💆🏼♂️" | "💆🏽♂️" | "💆🏾♂️" | "💆🏿♂️" | "💆♂️" | "💆♂" | "💆🏻♀️" | "💆🏼♀️" | "💆🏽♀️" | "💆🏾♀️" | "💆🏿♀️" | "💆♀️" | "💆♀" | "💇🏻" | "💇🏼" | "💇🏽" | "💇🏾" | "💇🏿" | "💇" | "💇🏻♂️" | "💇🏼♂️" | "💇🏽♂️" | "💇🏾♂️" | "💇🏿♂️" | "💇♂️" | "💇♂" | "💇🏻♀️" | "💇🏼♀️" | "💇🏽♀️" | "💇🏾♀️" | "💇🏿♀️" | "💇♀️" | "💇♀" | "🚶🏻" | "🚶🏼" | "🚶🏽" | "🚶🏾" | "🚶🏿" | "🚶" | "🚶🏻♂️" | "🚶🏼♂️" | "🚶🏽♂️" | "🚶🏾♂️" | "🚶🏿♂️" | "🚶♂️" | "🚶♂" | "🚶🏻♀️" | "🚶🏼♀️" | "🚶🏽♀️" | "🚶🏾♀️" | "🚶🏿♀️" | "🚶♀️" | "🚶♀" | "🧍🏻" | "🧍🏼" | "🧍🏽" | "🧍🏾" | "🧍🏿" | "🧍" | "🧍🏻♂️" | "🧍🏼♂️" | "🧍🏽♂️" | "🧍🏾♂️" | "🧍🏿♂️" | "🧍♂️" | "🧍♂" | "🧍🏻♀️" | "🧍🏼♀️" | "🧍🏽♀️" | "🧍🏾♀️" | "🧍🏿♀️" | "🧍♀️" | "🧍♀" | "🧎🏻" | "🧎🏼" | "🧎🏽" | "🧎🏾" | "🧎🏿" | "🧎" | "🧎🏻♂️" | "🧎🏼♂️" | "🧎🏽♂️" | "🧎🏾♂️" | "🧎🏿♂️" | "🧎♂️" | "🧎♂" | "🧎🏻♀️" | "🧎🏼♀️" | "🧎🏽♀️" | "🧎🏾♀️" | "🧎🏿♀️" | "🧎♀️" | "🧎♀" | "🧑🏻🦯" | "🧑🏼🦯" | "🧑🏽🦯" | "🧑🏾🦯" | "🧑🏿🦯" | "🧑🦯" | "👨🏻🦯" | "👨🏼🦯" | "👨🏽🦯" | "👨🏾🦯" | "👨🏿🦯" | "👨🦯" | "👩🏻🦯" | "👩🏼🦯" | "👩🏽🦯" | "👩🏾🦯" | "👩🏿🦯" | "👩🦯" | "🧑🏻🦼" | "🧑🏼🦼" | "🧑🏽🦼" | "🧑🏾🦼" | "🧑🏿🦼" | "🧑🦼" | "👨🏻🦼" | "👨🏼🦼" | "👨🏽🦼" | "👨🏾🦼" | "👨🏿🦼" | "👨🦼" | "👩🏻🦼" | "👩🏼🦼" | "👩🏽🦼" | "👩🏾🦼" | "👩🏿🦼" | "👩🦼" | "🧑🏻🦽" | "🧑🏼🦽" | "🧑🏽🦽" | "🧑🏾🦽" | "🧑🏿🦽" | "🧑🦽" | "👨🏻🦽" | "👨🏼🦽" | "👨🏽🦽" | "👨🏾🦽" | "👨🏿🦽" | "👨🦽" | "👩🏻🦽" | "👩🏼🦽" | "👩🏽🦽" | "👩🏾🦽" | "👩🏿🦽" | "👩🦽" | "🏃🏻" | "🏃🏼" | "🏃🏽" | "🏃🏾" | "🏃🏿" | "🏃" | "🏃🏻♂️" | "🏃🏼♂️" | "🏃🏽♂️" | "🏃🏾♂️" | "🏃🏿♂️" | "🏃♂️" | "🏃♂" | "🏃🏻♀️" | "🏃🏼♀️" | "🏃🏽♀️" | "🏃🏾♀️" | "🏃🏿♀️" | "🏃♀️" | "🏃♀" | "💃🏻" | "💃🏼" | "💃🏽" | "💃🏾" | "💃🏿" | "💃" | "🕺🏻" | "🕺🏼" | "🕺🏽" | "🕺🏾" | "🕺🏿" | "🕺" | "🕴🏻" | "🕴🏼" | "🕴🏽" | "🕴🏾" | "🕴🏿" | "🕴️" | "🕴" | "👯" | "👯♂️" | "👯♂" | "👯♀️" | "👯♀" | "🧖🏻" | "🧖🏼" | "🧖🏽" | "🧖🏾" | "🧖🏿" | "🧖" | "🧖🏻♂️" | "🧖🏼♂️" | "🧖🏽♂️" | "🧖🏾♂️" | "🧖🏿♂️" | "🧖♂️" | "🧖♂" | "🧖🏻♀️" | "🧖🏼♀️" | "🧖🏽♀️" | "🧖🏾♀️" | "🧖🏿♀️" | "🧖♀️" | "🧖♀" | "🧗🏻" | "🧗🏼" | "🧗🏽" | "🧗🏾" | "🧗🏿" | "🧗" | "🧗🏻♂️" | "🧗🏼♂️" | "🧗🏽♂️" | "🧗🏾♂️" | "🧗🏿♂️" | "🧗♂️" | "🧗♂" | "🧗🏻♀️" | "🧗🏼♀️" | "🧗🏽♀️" | "🧗🏾♀️" | "🧗🏿♀️" | "🧗♀️" | "🧗♀" | "🤺" | "🏇🏻" | "🏇🏼" | "🏇🏽" | "🏇🏾" | "🏇🏿" | "🏇" | "⛷️" | "⛷" | "🏂🏻" | "🏂🏼" | "🏂🏽" | "🏂🏾" | "🏂🏿" | "🏂" | "🏌🏻" | "🏌🏼" | "🏌🏽" | "🏌🏾" | "🏌🏿" | "🏌️" | "🏌" | "🏌🏻♂️" | "🏌🏼♂️" | "🏌🏽♂️" | "🏌🏾♂️" | "🏌🏿♂️" | "🏌️♂️" | "🏌🏻♀️" | "🏌🏼♀️" | "🏌🏽♀️" | "🏌🏾♀️" | "🏌🏿♀️" | "🏌️♀️" | "🏄🏻" | "🏄🏼" | "🏄🏽" | "🏄🏾" | "🏄🏿" | "🏄" | "🏄🏻♂️" | "🏄🏼♂️" | "🏄🏽♂️" | "🏄🏾♂️" | "🏄🏿♂️" | "🏄♂️" | "🏄♂" | "🏄🏻♀️" | "🏄🏼♀️" | "🏄🏽♀️" | "🏄🏾♀️" | "🏄🏿♀️" | "🏄♀️" | "🏄♀" | "🚣🏻" | "🚣🏼" | "🚣🏽" | "🚣🏾" | "🚣🏿" | "🚣" | "🚣🏻♂️" | "🚣🏼♂️" | "🚣🏽♂️" | "🚣🏾♂️" | "🚣🏿♂️" | "🚣♂️" | "🚣♂" | "🚣🏻♀️" | "🚣🏼♀️" | "🚣🏽♀️" | "🚣🏾♀️" | "🚣🏿♀️" | "🚣♀️" | "🚣♀" | "🏊🏻" | "🏊🏼" | "🏊🏽" | "🏊🏾" | "🏊🏿" | "🏊" | "🏊🏻♂️" | "🏊🏼♂️" | "🏊🏽♂️" | "🏊🏾♂️" | "🏊🏿♂️" | "🏊♂️" | "🏊♂" | "🏊🏻♀️" | "🏊🏼♀️" | "🏊🏽♀️" | "🏊🏾♀️" | "🏊🏿♀️" | "🏊♀️" | "🏊♀" | "⛹🏻" | "⛹🏼" | "⛹🏽" | "⛹🏾" | "⛹🏿" | "⛹️" | "⛹" | "⛹🏻♂️" | "⛹🏼♂️" | "⛹🏽♂️" | "⛹🏾♂️" | "⛹🏿♂️" | "⛹️♂️" | "⛹🏻♀️" | "⛹🏼♀️" | "⛹🏽♀️" | "⛹🏾♀️" | "⛹🏿♀️" | "⛹️♀️" | "🏋🏻" | "🏋🏼" | "🏋🏽" | "🏋🏾" | "🏋🏿" | "🏋️" | "🏋" | "🏋🏻♂️" | "🏋🏼♂️" | "🏋🏽♂️" | "🏋🏾♂️" | "🏋🏿♂️" | "🏋️♂️" | "🏋🏻♀️" | "🏋🏼♀️" | "🏋🏽♀️" | "🏋🏾♀️" | "🏋🏿♀️" | "🏋️♀️" | "🚴🏻" | "🚴🏼" | "🚴🏽" | "🚴🏾" | "🚴🏿" | "🚴" | "🚴🏻♂️" | "🚴🏼♂️" | "🚴🏽♂️" | "🚴🏾♂️" | "🚴🏿♂️" | "🚴♂️" | "🚴♂" | "🚴🏻♀️" | "🚴🏼♀️" | "🚴🏽♀️" | "🚴🏾♀️" | "🚴🏿♀️" | "🚴♀️" | "🚴♀" | "🚵🏻" | "🚵🏼" | "🚵🏽" | "🚵🏾" | "🚵🏿" | "🚵" | "🚵🏻♂️" | "🚵🏼♂️" | "🚵🏽♂️" | "🚵🏾♂️" | "🚵🏿♂️" | "🚵♂️" | "🚵♂" | "🚵🏻♀️" | "🚵🏼♀️" | "🚵🏽♀️" | "🚵🏾♀️" | "🚵🏿♀️" | "🚵♀️" | "🚵♀" | "🤸🏻" | "🤸🏼" | "🤸🏽" | "🤸🏾" | "🤸🏿" | "🤸" | "🤸🏻♂️" | "🤸🏼♂️" | "🤸🏽♂️" | "🤸🏾♂️" | "🤸🏿♂️" | "🤸♂️" | "🤸♂" | "🤸🏻♀️" | "🤸🏼♀️" | "🤸🏽♀️" | "🤸🏾♀️" | "🤸🏿♀️" | "🤸♀️" | "🤸♀" | "🤼" | "🤼♂️" | "🤼♂" | "🤼♀️" | "🤼♀" | "🤽🏻" | "🤽🏼" | "🤽🏽" | "🤽🏾" | "🤽🏿" | "🤽" | "🤽🏻♂️" | "🤽🏼♂️" | "🤽🏽♂️" | "🤽🏾♂️" | "🤽🏿♂️" | "🤽♂️" | "🤽♂" | "🤽🏻♀️" | "🤽🏼♀️" | "🤽🏽♀️" | "🤽🏾♀️" | "🤽🏿♀️" | "🤽♀️" | "🤽♀" | "🤾🏻" | "🤾🏼" | "🤾🏽" | "🤾🏾" | "🤾🏿" | "🤾" | "🤾🏻♂️" | "🤾🏼♂️" | "🤾🏽♂️" | "🤾🏾♂️" | "🤾🏿♂️" | "🤾♂️" | "🤾♂" | "🤾🏻♀️" | "🤾🏼♀️" | "🤾🏽♀️" | "🤾🏾♀️" | "🤾🏿♀️" | "🤾♀️" | "🤾♀" | "🤹🏻" | "🤹🏼" | "🤹🏽" | "🤹🏾" | "🤹🏿" | "🤹" | "🤹🏻♂️" | "🤹🏼♂️" | "🤹🏽♂️" | "🤹🏾♂️" | "🤹🏿♂️" | "🤹♂️" | "🤹♂" | "🤹🏻♀️" | "🤹🏼♀️" | "🤹🏽♀️" | "🤹🏾♀️" | "🤹🏿♀️" | "🤹♀️" | "🤹♀" | "🧘🏻" | "🧘🏼" | "🧘🏽" | "🧘🏾" | "🧘🏿" | "🧘" | "🧘🏻♂️" | "🧘🏼♂️" | "🧘🏽♂️" | "🧘🏾♂️" | "🧘🏿♂️" | "🧘♂️" | "🧘♂" | "🧘🏻♀️" | "🧘🏼♀️" | "🧘🏽♀️" | "🧘🏾♀️" | "🧘🏿♀️" | "🧘♀️" | "🧘♀" | "🛀🏻" | "🛀🏼" | "🛀🏽" | "🛀🏾" | "🛀🏿" | "🛀" | "🛌🏻" | "🛌🏼" | "🛌🏽" | "🛌🏾" | "🛌🏿" | "🛌" | "🧑🏻🤝🧑🏻" | "🧑🏻🤝🧑🏼" | "🧑🏻🤝🧑🏽" | "🧑🏻🤝🧑🏾" | "🧑🏻🤝🧑🏿" | "🧑🏼🤝🧑🏻" | "🧑🏼🤝🧑🏼" | "🧑🏼🤝🧑🏽" | "🧑🏼🤝🧑🏾" | "🧑🏼🤝🧑🏿" | "🧑🏽🤝🧑🏻" | "🧑🏽🤝🧑🏼" | "🧑🏽🤝🧑🏽" | "🧑🏽🤝🧑🏾" | "🧑🏽🤝🧑🏿" | "🧑🏾🤝🧑🏻" | "🧑🏾🤝🧑🏼" | "🧑🏾🤝🧑🏽" | "🧑🏾🤝🧑🏾" | "🧑🏾🤝🧑🏿" | "🧑🏿🤝🧑🏻" | "🧑🏿🤝🧑🏼" | "🧑🏿🤝🧑🏽" | "🧑🏿🤝🧑🏾" | "🧑🏿🤝🧑🏿" | "🧑🤝🧑" | "👭" | "👫" | "👬" | "💏" | "💑" | "👪" | "👨👩👦" | "👨👩👧" | "👨👩👧👦" | "👨👩👦👦" | "👨👩👧👧" | "👨👨👦" | "👨👨👧" | "👨👨👧👦" | "👨👨👦👦" | "👨👨👧👧" | "👩👩👦" | "👩👩👧" | "👩👩👧👦" | "👩👩👦👦" | "👩👩👧👧" | "👨👦" | "👨👦👦" | "👨👧" | "👨👧👦" | "👨👧👧" | "👩👦" | "👩👦👦" | "👩👧" | "👩👧👦" | "👩👧👧" | "🗣️" | "🗣" | "👤" | "👥" | "🫂" | "👣" | "🐵" | "🐒" | "🦍" | "🦧" | "🐶" | "🐕" | "🦮" | "🐕🦺" | "🐩" | "🐺" | "🦊" | "🦝" | "🐱" | "🐈" | "🐈⬛" | "🦁" | "🐯" | "🐅" | "🐆" | "🐴" | "🐎" | "🦄" | "🦓" | "🦌" | "🦬" | "🐮" | "🐂" | "🐃" | "🐄" | "🐷" | "🐖" | "🐗" | "🐽" | "🐏" | "🐑" | "🐐" | "🐪" | "🐫" | "🦙" | "🦒" | "🐘" | "🦣" | "🦏" | "🦛" | "🐭" | "🐁" | "🐀" | "🐹" | "🐰" | "🐇" | "🐿️" | "🐿" | "🦫" | "🦔" | "🦇" | "🐻" | "🐻❄️" | "🐻❄" | "🐨" | "🐼" | "🦥" | "🦦" | "🦨" | "🦘" | "🦡" | "🐾" | "🦃" | "🐔" | "🐓" | "🐣" | "🐤" | "🐥" | "🐦" | "🐧" | "🕊️" | "🕊" | "🦅" | "🦆" | "🦢" | "🦉" | "🦤" | "🪶" | "🦩" | "🦚" | "🦜" | "🐸" | "🐊" | "🐢" | "🦎" | "🐍" | "🐲" | "🐉" | "🦕" | "🦖" | "🐳" | "🐋" | "🐬" | "🦭" | "🐟" | "🐠" | "🐡" | "🦈" | "🐙" | "🐚" | "🐌" | "🦋" | "🐛" | "🐜" | "🐝" | "🪲" | "🐞" | "🦗" | "🪳" | "🕷️" | "🕷" | "🕸️" | "🕸" | "🦂" | "🦟" | "🪰" | "🪱" | "🦠" | "💐" | "🌸" | "💮" | "🏵️" | "🏵" | "🌹" | "🥀" | "🌺" | "🌻" | "🌼" | "🌷" | "🌱" | "🪴" | "🌲" | "🌳" | "🌴" | "🌵" | "🌾" | "🌿" | "☘️" | "☘" | "🍀" | "🍁" | "🍂" | "🍃" | "🍇" | "🍈" | "🍉" | "🍊" | "🍋" | "🍌" | "🍍" | "🥭" | "🍎" | "🍏" | "🍐" | "🍑" | "🍒" | "🍓" | "🫐" | "🥝" | "🍅" | "🫒" | "🥥" | "🥑" | "🍆" | "🥔" | "🥕" | "🌽" | "🌶️" | "🌶" | "🫑" | "🥒" | "🥬" | "🥦" | "🧄" | "🧅" | "🍄" | "🥜" | "🌰" | "🍞" | "🥐" | "🥖" | "🫓" | "🥨" | "🥯" | "🥞" | "🧇" | "🧀" | "🍖" | "🍗" | "🥩" | "🥓" | "🍔" | "🍟" | "🍕" | "🌭" | "🥪" | "🌮" | "🌯" | "🫔" | "🥙" | "🧆" | "🥚" | "🍳" | "🥘" | "🍲" | "🫕" | "🥣" | "🥗" | "🍿" | "🧈" | "🧂" | "🥫" | "🍱" | "🍘" | "🍙" | "🍚" | "🍛" | "🍜" | "🍝" | "🍠" | "🍢" | "🍣" | "🍤" | "🍥" | "🥮" | "🍡" | "🥟" | "🥠" | "🥡" | "🦀" | "🦞" | "🦐" | "🦑" | "🦪" | "🍦" | "🍧" | "🍨" | "🍩" | "🍪" | "🎂" | "🍰" | "🧁" | "🥧" | "🍫" | "🍬" | "🍭" | "🍮" | "🍯" | "🍼" | "🥛" | "☕" | "🫖" | "🍵" | "🍶" | "🍾" | "🍷" | "🍸" | "🍹" | "🍺" | "🍻" | "🥂" | "🥃" | "🥤" | "🧋" | "🧃" | "🧉" | "🧊" | "🥢" | "🍽️" | "🍽" | "🍴" | "🥄" | "🔪" | "🏺" | "🌍" | "🌎" | "🌏" | "🌐" | "🗺️" | "🗺" | "🗾" | "🧭" | "🏔️" | "🏔" | "⛰️" | "⛰" | "🌋" | "🗻" | "🏕️" | "🏕" | "🏖️" | "🏖" | "🏜️" | "🏜" | "🏝️" | "🏝" | "🏞️" | "🏞" | "🏟️" | "🏟" | "🏛️" | "🏛" | "🏗️" | "🏗" | "🧱" | "🪨" | "🪵" | "🛖" | "🏘️" | "🏘" | "🏚️" | "🏚" | "🏠" | "🏡" | "🏢" | "🏣" | "🏤" | "🏥" | "🏦" | "🏨" | "🏩" | "🏪" | "🏫" | "🏬" | "🏭" | "🏯" | "🏰" | "💒" | "🗼" | "🗽" | "⛪" | "🕌" | "🛕" | "🕍" | "⛩️" | "⛩" | "🕋" | "⛲" | "⛺" | "🌁" | "🌃" | "🏙️" | "🏙" | "🌄" | "🌅" | "🌆" | "🌇" | "🌉" | "♨️" | "♨" | "🎠" | "🎡" | "🎢" | "💈" | "🎪" | "🚂" | "🚃" | "🚄" | "🚅" | "🚆" | "🚇" | "🚈" | "🚉" | "🚊" | "🚝" | "🚞" | "🚋" | "🚌" | "🚍" | "🚎" | "🚐" | "🚑" | "🚒" | "🚓" | "🚔" | "🚕" | "🚖" | "🚗" | "🚘" | "🚙" | "🛻" | "🚚" | "🚛" | "🚜" | "🏎️" | "🏎" | "🏍️" | "🏍" | "🛵" | "🦽" | "🦼" | "🛺" | "🚲" | "🛴" | "🛹" | "🛼" | "🚏" | "🛣️" | "🛣" | "🛤️" | "🛤" | "🛢️" | "🛢" | "⛽" | "🚨" | "🚥" | "🚦" | "🛑" | "🚧" | "⚓" | "⛵" | "🛶" | "🚤" | "🛳️" | "🛳" | "⛴️" | "⛴" | "🛥️" | "🛥" | "🚢" | "✈️" | "✈" | "🛩️" | "🛩" | "🛫" | "🛬" | "🪂" | "💺" | "🚁" | "🚟" | "🚠" | "🚡" | "🛰️" | "🛰" | "🚀" | "🛸" | "🛎️" | "🛎" | "🧳" | "⌛" | "⏳" | "⌚" | "⏰" | "⏱️" | "⏱" | "⏲️" | "⏲" | "🕰️" | "🕰" | "🕛" | "🕧" | "🕐" | "🕜" | "🕑" | "🕝" | "🕒" | "🕞" | "🕓" | "🕟" | "🕔" | "🕠" | "🕕" | "🕡" | "🕖" | "🕢" | "🕗" | "🕣" | "🕘" | "🕤" | "🕙" | "🕥" | "🕚" | "🕦" | "🌑" | "🌒" | "🌓" | "🌔" | "🌕" | "🌖" | "🌗" | "🌘" | "🌙" | "🌚" | "🌛" | "🌜" | "🌡️" | "🌡" | "☀️" | "☀" | "🌝" | "🌞" | "🪐" | "⭐" | "🌟" | "🌠" | "🌌" | "☁️" | "☁" | "⛅" | "⛈️" | "⛈" | "🌤️" | "🌤" | "🌥️" | "🌥" | "🌦️" | "🌦" | "🌧️" | "🌧" | "🌨️" | "🌨" | "🌩️" | "🌩" | "🌪️" | "🌪" | "🌫️" | "🌫" | "🌬️" | "🌬" | "🌀" | "🌈" | "🌂" | "☂️" | "☂" | "☔" | "⛱️" | "⛱" | "⚡" | "❄️" | "❄" | "☃️" | "☃" | "⛄" | "☄️" | "☄" | "🔥" | "💧" | "🌊" | "🎃" | "🎄" | "🎆" | "🎇" | "🧨" | "✨" | "🎈" | "🎉" | "🎊" | "🎋" | "🎍" | "🎎" | "🎏" | "🎐" | "🎑" | "🧧" | "🎀" | "🎁" | "🎗️" | "🎗" | "🎟️" | "🎟" | "🎫" | "🎖️" | "🎖" | "🏆" | "🏅" | "🥇" | "🥈" | "🥉" | "⚽" | "⚾" | "🥎" | "🏀" | "🏐" | "🏈" | "🏉" | "🎾" | "🥏" | "🎳" | "🏏" | "🏑" | "🏒" | "🥍" | "🏓" | "🏸" | "🥊" | "🥋" | "🥅" | "⛳" | "⛸️" | "⛸" | "🎣" | "🤿" | "🎽" | "🎿" | "🛷" | "🥌" | "🎯" | "🪀" | "🪁" | "🎱" | "🔮" | "🪄" | "🧿" | "🎮" | "🕹️" | "🕹" | "🎰" | "🎲" | "🧩" | "🧸" | "🪅" | "🪆" | "♠️" | "♠" | "♥️" | "♥" | "♦️" | "♦" | "♣️" | "♣" | "♟️" | "♟" | "🃏" | "🀄" | "🎴" | "🎭" | "🖼️" | "🖼" | "🎨" | "🧵" | "🪡" | "🧶" | "🪢" | "👓" | "🕶️" | "🕶" | "🥽" | "🥼" | "🦺" | "👔" | "👕" | "👖" | "🧣" | "🧤" | "🧥" | "🧦" | "👗" | "👘" | "🥻" | "🩱" | "🩲" | "🩳" | "👙" | "👚" | "👛" | "👜" | "👝" | "🛍️" | "🛍" | "🎒" | "🩴" | "👞" | "👟" | "🥾" | "🥿" | "👠" | "👡" | "🩰" | "👢" | "👑" | "👒" | "🎩" | "🎓" | "🧢" | "🪖" | "⛑️" | "⛑" | "📿" | "💄" | "💍" | "💎" | "🔇" | "🔈" | "🔉" | "🔊" | "📢" | "📣" | "📯" | "🔔" | "🔕" | "🎼" | "🎵" | "🎶" | "🎙️" | "🎙" | "🎚️" | "🎚" | "🎛️" | "🎛" | "🎤" | "🎧" | "📻" | "🎷" | "🪗" | "🎸" | "🎹" | "🎺" | "🎻" | "🪕" | "🥁" | "🪘" | "📱" | "📲" | "☎️" | "☎" | "📞" | "📟" | "📠" | "🔋" | "🔌" | "💻" | "🖥️" | "🖥" | "🖨️" | "🖨" | "⌨️" | "⌨" | "🖱️" | "🖱" | "🖲️" | "🖲" | "💽" | "💾" | "💿" | "📀" | "🧮" | "🎥" | "🎞️" | "🎞" | "📽️" | "📽" | "🎬" | "📺" | "📷" | "📸" | "📹" | "📼" | "🔍" | "🔎" | "🕯️" | "🕯" | "💡" | "🔦" | "🏮" | "🪔" | "📔" | "📕" | "📖" | "📗" | "📘" | "📙" | "📚" | "📓" | "📒" | "📃" | "📜" | "📄" | "📰" | "🗞️" | "🗞" | "📑" | "🔖" | "🏷️" | "🏷" | "💰" | "🪙" | "💴" | "💵" | "💶" | "💷" | "💸" | "💳" | "🧾" | "💹" | "✉️" | "✉" | "📧" | "📨" | "📩" | "📤" | "📥" | "📦" | "📫" | "📪" | "📬" | "📭" | "📮" | "🗳️" | "🗳" | "✏️" | "✏" | "✒️" | "✒" | "🖋️" | "🖋" | "🖊️" | "🖊" | "🖌️" | "🖌" | "🖍️" | "🖍" | "📝" | "💼" | "📁" | "📂" | "🗂️" | "🗂" | "📅" | "📆" | "🗒️" | "🗒" | "🗓️" | "🗓" | "📇" | "📈" | "📉" | "📊" | "📋" | "📌" | "📍" | "📎" | "🖇️" | "🖇" | "📏" | "📐" | "✂️" | "✂" | "🗃️" | "🗃" | "🗄️" | "🗄" | "🗑️" | "🗑" | "🔒" | "🔓" | "🔏" | "🔐" | "🔑" | "🗝️" | "🗝" | "🔨" | "🪓" | "⛏️" | "⛏" | "⚒️" | "⚒" | "🛠️" | "🛠" | "🗡️" | "🗡" | "⚔️" | "⚔" | "🔫" | "🪃" | "🏹" | "🛡️" | "🛡" | "🪚" | "🔧" | "🪛" | "🔩" | "⚙️" | "⚙" | "🗜️" | "🗜" | "⚖️" | "⚖" | "🦯" | "🔗" | "⛓️" | "⛓" | "🪝" | "🧰" | "🧲" | "🪜" | "⚗️" | "⚗" | "🧪" | "🧫" | "🧬" | "🔬" | "🔭" | "📡" | "💉" | "🩸" | "💊" | "🩹" | "🩺" | "🚪" | "🛗" | "🪞" | "🪟" | "🛏️" | "🛏" | "🛋️" | "🛋" | "🪑" | "🚽" | "🪠" | "🚿" | "🛁" | "🪤" | "🪒" | "🧴" | "🧷" | "🧹" | "🧺" | "🧻" | "🪣" | "🧼" | "🪥" | "🧽" | "🧯" | "🛒" | "🚬" | "⚰️" | "⚰" | "🪦" | "⚱️" | "⚱" | "🗿" | "🪧" | "🏧" | "🚮" | "🚰" | "♿" | "🚹" | "🚺" | "🚻" | "🚼" | "🚾" | "🛂" | "🛃" | "🛄" | "🛅" | "⚠️" | "⚠" | "🚸" | "⛔" | "🚫" | "🚳" | "🚭" | "🚯" | "🚱" | "🚷" | "📵" | "🔞" | "☢️" | "☢" | "☣️" | "☣" | "⬆️" | "⬆" | "↗️" | "↗" | "➡️" | "➡" | "↘️" | "↘" | "⬇️" | "⬇" | "↙️" | "↙" | "⬅️" | "⬅" | "↖️" | "↖" | "↕️" | "↕" | "↔️" | "↔" | "↩️" | "↩" | "↪️" | "↪" | "⤴️" | "⤴" | "⤵️" | "⤵" | "🔃" | "🔄" | "🔙" | "🔚" | "🔛" | "🔜" | "🔝" | "🛐" | "⚛️" | "⚛" | "🕉️" | "🕉" | "✡️" | "✡" | "☸️" | "☸" | "☯️" | "☯" | "✝️" | "✝" | "☦️" | "☦" | "☪️" | "☪" | "☮️" | "☮" | "🕎" | "🔯" | "♈" | "♉" | "♊" | "♋" | "♌" | "♍" | "♎" | "♏" | "♐" | "♑" | "♒" | "♓" | "⛎" | "🔀" | "🔁" | "🔂" | "▶️" | "▶" | "⏩" | "⏭️" | "⏭" | "⏯️" | "⏯" | "◀️" | "◀" | "⏪" | "⏮️" | "⏮" | "🔼" | "⏫" | "🔽" | "⏬" | "⏸️" | "⏸" | "⏹️" | "⏹" | "⏺️" | "⏺" | "⏏️" | "⏏" | "🎦" | "🔅" | "🔆" | "📶" | "📳" | "📴" | "♀️" | "♀" | "♂️" | "♂" | "⚧️" | "⚧" | "✖️" | "✖" | "➕" | "➖" | "➗" | "♾️" | "♾" | "‼️" | "‼" | "⁉️" | "⁉" | "❓" | "❔" | "❕" | "❗" | "〰️" | "〰" | "💱" | "💲" | "⚕️" | "⚕" | "♻️" | "♻" | "⚜️" | "⚜" | "🔱" | "📛" | "🔰" | "⭕" | "✅" | "☑️" | "☑" | "✔️" | "✔" | "❌" | "❎" | "➰" | "➿" | "〽️" | "〽" | "✳️" | "✳" | "✴️" | "✴" | "❇️" | "❇" | "©️" | "©" | "®️" | "®" | "™️" | "™" | "#️⃣" | "#⃣" | "*️⃣" | "*⃣" | "0️⃣" | "0⃣" | "1️⃣" | "1⃣" | "2️⃣" | "2⃣" | "3️⃣" | "3⃣" | "4️⃣" | "4⃣" | "5️⃣" | "5⃣" | "6️⃣" | "6⃣" | "7️⃣" | "7⃣" | "8️⃣" | "8⃣" | "9️⃣" | "9⃣" | "🔟" | "🔠" | "🔡" | "🔢" | "🔣" | "🔤" | "🅰️" | "🅰" | "🆎" | "🅱️" | "🅱" | "🆑" | "🆒" | "🆓" | "ℹ️" | "ℹ" | "🆔" | "Ⓜ️" | "Ⓜ" | "🆕" | "🆖" | "🅾️" | "🅾" | "🆗" | "🅿️" | "🅿" | "🆘" | "🆙" | "🆚" | "🈁" | "🈂️" | "🈂" | "🈷️" | "🈷" | "🈶" | "🈯" | "🉐" | "🈹" | "🈚" | "🈲" | "🉑" | "🈸" | "🈴" | "🈳" | "㊗️" | "㊗" | "㊙️" | "㊙" | "🈺" | "🈵" | "🔴" | "🟠" | "🟡" | "🟢" | "🔵" | "🟣" | "🟤" | "⚫" | "⚪" | "🟥" | "🟧" | "🟨" | "🟩" | "🟦" | "🟪" | "🟫" | "⬛" | "⬜" | "◼️" | "◼" | "◻️" | "◻" | "◾" | "◽" | "▪️" | "▪" | "▫️" | "▫" | "🔶" | "🔷" | "🔸" | "🔹" | "🔺" | "🔻" | "💠" | "🔘" | "🔳" | "🔲" | "🏁" | "🚩" | "🎌" | "🏴" | "🏳️" | "🏳" | "🏳️🌈" | "🏳🌈" | "🏳️⚧️" | "🏴☠️" | "🏴☠" | "🇦🇨" | "🇦🇩" | "🇦🇪" | "🇦🇫" | "🇦🇬" | "🇦🇮" | "🇦🇱" | "🇦🇲" | "🇦🇴" | "🇦🇶" | "🇦🇷" | "🇦🇸" | "🇦🇹" | "🇦🇺" | "🇦🇼" | "🇦🇽" | "🇦🇿" | "🇧🇦" | "🇧🇧" | "🇧🇩" | "🇧🇪" | "🇧🇫" | "🇧🇬" | "🇧🇭" | "🇧🇮" | "🇧🇯" | "🇧🇱" | "🇧🇲" | "🇧🇳" | "🇧🇴" | "🇧🇶" | "🇧🇷" | "🇧🇸" | "🇧🇹" | "🇧🇻" | "🇧🇼" | "🇧🇾" | "🇧🇿" | "🇨🇦" | "🇨🇨" | "🇨🇩" | "🇨🇫" | "🇨🇬" | "🇨🇭" | "🇨🇮" | "🇨🇰" | "🇨🇱" | "🇨🇲" | "🇨🇳" | "🇨🇴" | "🇨🇵" | "🇨🇷" | "🇨🇺" | "🇨🇻" | "🇨🇼" | "🇨🇽" | "🇨🇾" | "🇨🇿" | "🇩🇪" | "🇩🇬" | "🇩🇯" | "🇩🇰" | "🇩🇲" | "🇩🇴" | "🇩🇿" | "🇪🇦" | "🇪🇨" | "🇪🇪" | "🇪🇬" | "🇪🇭" | "🇪🇷" | "🇪🇸" | "🇪🇹" | "🇪🇺" | "🇫🇮" | "🇫🇯" | "🇫🇰" | "🇫🇲" | "🇫🇴" | "🇫🇷" | "🇬🇦" | "🇬🇧" | "🇬🇩" | "🇬🇪" | "🇬🇫" | "🇬🇬" | "🇬🇭" | "🇬🇮" | "🇬🇱" | "🇬🇲" | "🇬🇳" | "🇬🇵" | "🇬🇶" | "🇬🇷" | "🇬🇸" | "🇬🇹" | "🇬🇺" | "🇬🇼" | "🇬🇾" | "🇭🇰" | "🇭🇲" | "🇭🇳" | "🇭🇷" | "🇭🇹" | "🇭🇺" | "🇮🇨" | "🇮🇩" | "🇮🇪" | "🇮🇱" | "🇮🇲" | "🇮🇳" | "🇮🇴" | "🇮🇶" | "🇮🇷" | "🇮🇸" | "🇮🇹" | "🇯🇪" | "🇯🇲" | "🇯🇴" | "🇯🇵" | "🇰🇪" | "🇰🇬" | "🇰🇭" | "🇰🇮" | "🇰🇲" | "🇰🇳" | "🇰🇵" | "🇰🇷" | "🇰🇼" | "🇰🇾" | "🇰🇿" | "🇱🇦" | "🇱🇧" | "🇱🇨" | "🇱🇮" | "🇱🇰" | "🇱🇷" | "🇱🇸" | "🇱🇹" | "🇱🇺" | "🇱🇻" | "🇱🇾" | "🇲🇦" | "🇲🇨" | "🇲🇩" | "🇲🇪" | "🇲🇫" | "🇲🇬" | "🇲🇭" | "🇲🇰" | "🇲🇱" | "🇲🇲" | "🇲🇳" | "🇲🇴" | "🇲🇵" | "🇲🇶" | "🇲🇷" | "🇲🇸" | "🇲🇹" | "🇲🇺" | "🇲🇻" | "🇲🇼" | "🇲🇽" | "🇲🇾" | "🇲🇿" | "🇳🇦" | "🇳🇨" | "🇳🇪" | "🇳🇫" | "🇳🇬" | "🇳🇮" | "🇳🇱" | "🇳🇴" | "🇳🇵" | "🇳🇷" | "🇳🇺" | "🇳🇿" | "🇴🇲" | "🇵🇦" | "🇵🇪" | "🇵🇫" | "🇵🇬" | "🇵🇭" | "🇵🇰" | "🇵🇱" | "🇵🇲" | "🇵🇳" | "🇵🇷" | "🇵🇸" | "🇵🇹" | "🇵🇼" | "🇵🇾" | "🇶🇦" | "🇷🇪" | "🇷🇴" | "🇷🇸" | "🇷🇺" | "🇷🇼" | "🇸🇦" | "🇸🇧" | "🇸🇨" | "🇸🇩" | "🇸🇪" | "🇸🇬" | "🇸🇭" | "🇸🇮" | "🇸🇯" | "🇸🇰" | "🇸🇱" | "🇸🇲" | "🇸🇳" | "🇸🇴" | "🇸🇷" | "🇸🇸" | "🇸🇹" | "🇸🇻" | "🇸🇽" | "🇸🇾" | "🇸🇿" | "🇹🇦" | "🇹🇨" | "🇹🇩" | "🇹🇫" | "🇹🇬" | "🇹🇭" | "🇹🇯" | "🇹🇰" | "🇹🇱" | "🇹🇲" | "🇹🇳" | "🇹🇴" | "🇹🇷" | "🇹🇹" | "🇹🇻" | "🇹🇼" | "🇹🇿" | "🇺🇦" | "🇺🇬" | "🇺🇲" | "🇺🇳" | "🇺🇸" | "🇺🇾" | "🇺🇿" | "🇻🇦" | "🇻🇨" | "🇻🇪" | "🇻🇬" | "🇻🇮" | "🇻🇳" | "🇻🇺" | "🇼🇫" | "🇼🇸" | "🇽🇰" | "🇾🇪" | "🇾🇹" | "🇿🇦" | "🇿🇲" | "🇿🇼" | "🏴" | "🏴" | "🏴";
|
137 | declare type NumberFormat = "number" | "number_with_commas" | "percent" | "dollar" | "canadian_dollar" | "euro" | "pound" | "yen" | "ruble" | "rupee" | "won" | "yuan" | "real" | "lira" | "rupiah" | "franc" | "hong_kong_dollar" | "new_zealand_dollar" | "krona" | "norwegian_krone" | "mexican_peso" | "rand" | "new_taiwan_dollar" | "danish_krone" | "zloty" | "baht" | "forint" | "koruna" | "shekel" | "chilean_peso" | "philippine_peso" | "dirham" | "colombian_peso" | "riyal" | "ringgit" | "leu" | "argentine_peso" | "uruguayan_peso";
|
138 | declare type PartialBlockObjectResponse = {
|
139 | object: "block";
|
140 | id: string;
|
141 | };
|
142 | declare type ApiColor = "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
143 | declare type LanguageRequest = "abap" | "arduino" | "bash" | "basic" | "c" | "clojure" | "coffeescript" | "c++" | "c#" | "css" | "dart" | "diff" | "docker" | "elixir" | "elm" | "erlang" | "flow" | "fortran" | "f#" | "gherkin" | "glsl" | "go" | "graphql" | "groovy" | "haskell" | "html" | "java" | "javascript" | "json" | "julia" | "kotlin" | "latex" | "less" | "lisp" | "livescript" | "lua" | "makefile" | "markdown" | "markup" | "matlab" | "mermaid" | "nix" | "objective-c" | "ocaml" | "pascal" | "perl" | "php" | "plain text" | "powershell" | "prolog" | "protobuf" | "python" | "r" | "reason" | "ruby" | "rust" | "sass" | "scala" | "scheme" | "scss" | "shell" | "solidity" | "sql" | "swift" | "typescript" | "vb.net" | "verilog" | "vhdl" | "visual basic" | "webassembly" | "xml" | "yaml" | "java/c/c++/c#";
|
144 | declare type BlockObjectResponse = {
|
145 | type: "paragraph";
|
146 | paragraph: {
|
147 | rich_text: Array<RichTextItemResponse>;
|
148 | color: ApiColor;
|
149 | };
|
150 | object: "block";
|
151 | id: string;
|
152 | created_time: string;
|
153 | created_by: {
|
154 | id: IdRequest;
|
155 | object: "user";
|
156 | };
|
157 | last_edited_time: string;
|
158 | last_edited_by: {
|
159 | id: IdRequest;
|
160 | object: "user";
|
161 | };
|
162 | has_children: boolean;
|
163 | archived: boolean;
|
164 | } | {
|
165 | type: "heading_1";
|
166 | heading_1: {
|
167 | rich_text: Array<RichTextItemResponse>;
|
168 | color: ApiColor;
|
169 | };
|
170 | object: "block";
|
171 | id: string;
|
172 | created_time: string;
|
173 | created_by: {
|
174 | id: IdRequest;
|
175 | object: "user";
|
176 | };
|
177 | last_edited_time: string;
|
178 | last_edited_by: {
|
179 | id: IdRequest;
|
180 | object: "user";
|
181 | };
|
182 | has_children: boolean;
|
183 | archived: boolean;
|
184 | } | {
|
185 | type: "heading_2";
|
186 | heading_2: {
|
187 | rich_text: Array<RichTextItemResponse>;
|
188 | color: ApiColor;
|
189 | };
|
190 | object: "block";
|
191 | id: string;
|
192 | created_time: string;
|
193 | created_by: {
|
194 | id: IdRequest;
|
195 | object: "user";
|
196 | };
|
197 | last_edited_time: string;
|
198 | last_edited_by: {
|
199 | id: IdRequest;
|
200 | object: "user";
|
201 | };
|
202 | has_children: boolean;
|
203 | archived: boolean;
|
204 | } | {
|
205 | type: "heading_3";
|
206 | heading_3: {
|
207 | rich_text: Array<RichTextItemResponse>;
|
208 | color: ApiColor;
|
209 | };
|
210 | object: "block";
|
211 | id: string;
|
212 | created_time: string;
|
213 | created_by: {
|
214 | id: IdRequest;
|
215 | object: "user";
|
216 | };
|
217 | last_edited_time: string;
|
218 | last_edited_by: {
|
219 | id: IdRequest;
|
220 | object: "user";
|
221 | };
|
222 | has_children: boolean;
|
223 | archived: boolean;
|
224 | } | {
|
225 | type: "bulleted_list_item";
|
226 | bulleted_list_item: {
|
227 | rich_text: Array<RichTextItemResponse>;
|
228 | color: ApiColor;
|
229 | };
|
230 | object: "block";
|
231 | id: string;
|
232 | created_time: string;
|
233 | created_by: {
|
234 | id: IdRequest;
|
235 | object: "user";
|
236 | };
|
237 | last_edited_time: string;
|
238 | last_edited_by: {
|
239 | id: IdRequest;
|
240 | object: "user";
|
241 | };
|
242 | has_children: boolean;
|
243 | archived: boolean;
|
244 | } | {
|
245 | type: "numbered_list_item";
|
246 | numbered_list_item: {
|
247 | rich_text: Array<RichTextItemResponse>;
|
248 | color: ApiColor;
|
249 | };
|
250 | object: "block";
|
251 | id: string;
|
252 | created_time: string;
|
253 | created_by: {
|
254 | id: IdRequest;
|
255 | object: "user";
|
256 | };
|
257 | last_edited_time: string;
|
258 | last_edited_by: {
|
259 | id: IdRequest;
|
260 | object: "user";
|
261 | };
|
262 | has_children: boolean;
|
263 | archived: boolean;
|
264 | } | {
|
265 | type: "quote";
|
266 | quote: {
|
267 | rich_text: Array<RichTextItemResponse>;
|
268 | color: ApiColor;
|
269 | };
|
270 | object: "block";
|
271 | id: string;
|
272 | created_time: string;
|
273 | created_by: {
|
274 | id: IdRequest;
|
275 | object: "user";
|
276 | };
|
277 | last_edited_time: string;
|
278 | last_edited_by: {
|
279 | id: IdRequest;
|
280 | object: "user";
|
281 | };
|
282 | has_children: boolean;
|
283 | archived: boolean;
|
284 | } | {
|
285 | type: "to_do";
|
286 | to_do: {
|
287 | rich_text: Array<RichTextItemResponse>;
|
288 | color: ApiColor;
|
289 | checked: boolean;
|
290 | };
|
291 | object: "block";
|
292 | id: string;
|
293 | created_time: string;
|
294 | created_by: {
|
295 | id: IdRequest;
|
296 | object: "user";
|
297 | };
|
298 | last_edited_time: string;
|
299 | last_edited_by: {
|
300 | id: IdRequest;
|
301 | object: "user";
|
302 | };
|
303 | has_children: boolean;
|
304 | archived: boolean;
|
305 | } | {
|
306 | type: "toggle";
|
307 | toggle: {
|
308 | rich_text: Array<RichTextItemResponse>;
|
309 | color: ApiColor;
|
310 | };
|
311 | object: "block";
|
312 | id: string;
|
313 | created_time: string;
|
314 | created_by: {
|
315 | id: IdRequest;
|
316 | object: "user";
|
317 | };
|
318 | last_edited_time: string;
|
319 | last_edited_by: {
|
320 | id: IdRequest;
|
321 | object: "user";
|
322 | };
|
323 | has_children: boolean;
|
324 | archived: boolean;
|
325 | } | {
|
326 | type: "template";
|
327 | template: {
|
328 | rich_text: Array<RichTextItemResponse>;
|
329 | };
|
330 | object: "block";
|
331 | id: string;
|
332 | created_time: string;
|
333 | created_by: {
|
334 | id: IdRequest;
|
335 | object: "user";
|
336 | };
|
337 | last_edited_time: string;
|
338 | last_edited_by: {
|
339 | id: IdRequest;
|
340 | object: "user";
|
341 | };
|
342 | has_children: boolean;
|
343 | archived: boolean;
|
344 | } | {
|
345 | type: "synced_block";
|
346 | synced_block: {
|
347 | synced_from: {
|
348 | type: "block_id";
|
349 | block_id: IdRequest;
|
350 | } | null;
|
351 | };
|
352 | object: "block";
|
353 | id: string;
|
354 | created_time: string;
|
355 | created_by: {
|
356 | id: IdRequest;
|
357 | object: "user";
|
358 | };
|
359 | last_edited_time: string;
|
360 | last_edited_by: {
|
361 | id: IdRequest;
|
362 | object: "user";
|
363 | };
|
364 | has_children: boolean;
|
365 | archived: boolean;
|
366 | } | {
|
367 | type: "child_page";
|
368 | child_page: {
|
369 | title: string;
|
370 | };
|
371 | object: "block";
|
372 | id: string;
|
373 | created_time: string;
|
374 | created_by: {
|
375 | id: IdRequest;
|
376 | object: "user";
|
377 | };
|
378 | last_edited_time: string;
|
379 | last_edited_by: {
|
380 | id: IdRequest;
|
381 | object: "user";
|
382 | };
|
383 | has_children: boolean;
|
384 | archived: boolean;
|
385 | } | {
|
386 | type: "child_database";
|
387 | child_database: {
|
388 | title: string;
|
389 | };
|
390 | object: "block";
|
391 | id: string;
|
392 | created_time: string;
|
393 | created_by: {
|
394 | id: IdRequest;
|
395 | object: "user";
|
396 | };
|
397 | last_edited_time: string;
|
398 | last_edited_by: {
|
399 | id: IdRequest;
|
400 | object: "user";
|
401 | };
|
402 | has_children: boolean;
|
403 | archived: boolean;
|
404 | } | {
|
405 | type: "equation";
|
406 | equation: {
|
407 | expression: string;
|
408 | };
|
409 | object: "block";
|
410 | id: string;
|
411 | created_time: string;
|
412 | created_by: {
|
413 | id: IdRequest;
|
414 | object: "user";
|
415 | };
|
416 | last_edited_time: string;
|
417 | last_edited_by: {
|
418 | id: IdRequest;
|
419 | object: "user";
|
420 | };
|
421 | has_children: boolean;
|
422 | archived: boolean;
|
423 | } | {
|
424 | type: "code";
|
425 | code: {
|
426 | rich_text: Array<RichTextItemResponse>;
|
427 | caption: Array<RichTextItemResponse>;
|
428 | language: LanguageRequest;
|
429 | };
|
430 | object: "block";
|
431 | id: string;
|
432 | created_time: string;
|
433 | created_by: {
|
434 | id: IdRequest;
|
435 | object: "user";
|
436 | };
|
437 | last_edited_time: string;
|
438 | last_edited_by: {
|
439 | id: IdRequest;
|
440 | object: "user";
|
441 | };
|
442 | has_children: boolean;
|
443 | archived: boolean;
|
444 | } | {
|
445 | type: "callout";
|
446 | callout: {
|
447 | rich_text: Array<RichTextItemResponse>;
|
448 | color: ApiColor;
|
449 | icon: {
|
450 | type: "emoji";
|
451 | emoji: EmojiRequest;
|
452 | } | null | {
|
453 | type: "external";
|
454 | external: {
|
455 | url: TextRequest;
|
456 | };
|
457 | } | null | {
|
458 | type: "file";
|
459 | file: {
|
460 | url: string;
|
461 | expiry_time: string;
|
462 | };
|
463 | } | null;
|
464 | };
|
465 | object: "block";
|
466 | id: string;
|
467 | created_time: string;
|
468 | created_by: {
|
469 | id: IdRequest;
|
470 | object: "user";
|
471 | };
|
472 | last_edited_time: string;
|
473 | last_edited_by: {
|
474 | id: IdRequest;
|
475 | object: "user";
|
476 | };
|
477 | has_children: boolean;
|
478 | archived: boolean;
|
479 | } | {
|
480 | type: "divider";
|
481 | divider: EmptyObject;
|
482 | object: "block";
|
483 | id: string;
|
484 | created_time: string;
|
485 | created_by: {
|
486 | id: IdRequest;
|
487 | object: "user";
|
488 | };
|
489 | last_edited_time: string;
|
490 | last_edited_by: {
|
491 | id: IdRequest;
|
492 | object: "user";
|
493 | };
|
494 | has_children: boolean;
|
495 | archived: boolean;
|
496 | } | {
|
497 | type: "breadcrumb";
|
498 | breadcrumb: EmptyObject;
|
499 | object: "block";
|
500 | id: string;
|
501 | created_time: string;
|
502 | created_by: {
|
503 | id: IdRequest;
|
504 | object: "user";
|
505 | };
|
506 | last_edited_time: string;
|
507 | last_edited_by: {
|
508 | id: IdRequest;
|
509 | object: "user";
|
510 | };
|
511 | has_children: boolean;
|
512 | archived: boolean;
|
513 | } | {
|
514 | type: "table_of_contents";
|
515 | table_of_contents: {
|
516 | color: ApiColor;
|
517 | };
|
518 | object: "block";
|
519 | id: string;
|
520 | created_time: string;
|
521 | created_by: {
|
522 | id: IdRequest;
|
523 | object: "user";
|
524 | };
|
525 | last_edited_time: string;
|
526 | last_edited_by: {
|
527 | id: IdRequest;
|
528 | object: "user";
|
529 | };
|
530 | has_children: boolean;
|
531 | archived: boolean;
|
532 | } | {
|
533 | type: "column_list";
|
534 | column_list: EmptyObject;
|
535 | object: "block";
|
536 | id: string;
|
537 | created_time: string;
|
538 | created_by: {
|
539 | id: IdRequest;
|
540 | object: "user";
|
541 | };
|
542 | last_edited_time: string;
|
543 | last_edited_by: {
|
544 | id: IdRequest;
|
545 | object: "user";
|
546 | };
|
547 | has_children: boolean;
|
548 | archived: boolean;
|
549 | } | {
|
550 | type: "column";
|
551 | column: EmptyObject;
|
552 | object: "block";
|
553 | id: string;
|
554 | created_time: string;
|
555 | created_by: {
|
556 | id: IdRequest;
|
557 | object: "user";
|
558 | };
|
559 | last_edited_time: string;
|
560 | last_edited_by: {
|
561 | id: IdRequest;
|
562 | object: "user";
|
563 | };
|
564 | has_children: boolean;
|
565 | archived: boolean;
|
566 | } | {
|
567 | type: "link_to_page";
|
568 | link_to_page: {
|
569 | type: "page_id";
|
570 | page_id: IdRequest;
|
571 | } | {
|
572 | type: "database_id";
|
573 | database_id: IdRequest;
|
574 | };
|
575 | object: "block";
|
576 | id: string;
|
577 | created_time: string;
|
578 | created_by: {
|
579 | id: IdRequest;
|
580 | object: "user";
|
581 | };
|
582 | last_edited_time: string;
|
583 | last_edited_by: {
|
584 | id: IdRequest;
|
585 | object: "user";
|
586 | };
|
587 | has_children: boolean;
|
588 | archived: boolean;
|
589 | } | {
|
590 | type: "table";
|
591 | table: {
|
592 | has_column_header: boolean;
|
593 | has_row_header: boolean;
|
594 | table_width: number;
|
595 | };
|
596 | object: "block";
|
597 | id: string;
|
598 | created_time: string;
|
599 | created_by: {
|
600 | id: IdRequest;
|
601 | object: "user";
|
602 | };
|
603 | last_edited_time: string;
|
604 | last_edited_by: {
|
605 | id: IdRequest;
|
606 | object: "user";
|
607 | };
|
608 | has_children: boolean;
|
609 | archived: boolean;
|
610 | } | {
|
611 | type: "table_row";
|
612 | table_row: {
|
613 | cells: Array<Array<RichTextItemResponse>>;
|
614 | };
|
615 | object: "block";
|
616 | id: string;
|
617 | created_time: string;
|
618 | created_by: {
|
619 | id: IdRequest;
|
620 | object: "user";
|
621 | };
|
622 | last_edited_time: string;
|
623 | last_edited_by: {
|
624 | id: IdRequest;
|
625 | object: "user";
|
626 | };
|
627 | has_children: boolean;
|
628 | archived: boolean;
|
629 | } | {
|
630 | type: "embed";
|
631 | embed: {
|
632 | url: string;
|
633 | caption: Array<RichTextItemResponse>;
|
634 | };
|
635 | object: "block";
|
636 | id: string;
|
637 | created_time: string;
|
638 | created_by: {
|
639 | id: IdRequest;
|
640 | object: "user";
|
641 | };
|
642 | last_edited_time: string;
|
643 | last_edited_by: {
|
644 | id: IdRequest;
|
645 | object: "user";
|
646 | };
|
647 | has_children: boolean;
|
648 | archived: boolean;
|
649 | } | {
|
650 | type: "bookmark";
|
651 | bookmark: {
|
652 | url: string;
|
653 | caption: Array<RichTextItemResponse>;
|
654 | };
|
655 | object: "block";
|
656 | id: string;
|
657 | created_time: string;
|
658 | created_by: {
|
659 | id: IdRequest;
|
660 | object: "user";
|
661 | };
|
662 | last_edited_time: string;
|
663 | last_edited_by: {
|
664 | id: IdRequest;
|
665 | object: "user";
|
666 | };
|
667 | has_children: boolean;
|
668 | archived: boolean;
|
669 | } | {
|
670 | type: "image";
|
671 | image: {
|
672 | type: "external";
|
673 | external: {
|
674 | url: TextRequest;
|
675 | };
|
676 | caption: Array<RichTextItemResponse>;
|
677 | } | {
|
678 | type: "file";
|
679 | file: {
|
680 | url: string;
|
681 | expiry_time: string;
|
682 | };
|
683 | caption: Array<RichTextItemResponse>;
|
684 | };
|
685 | object: "block";
|
686 | id: string;
|
687 | created_time: string;
|
688 | created_by: {
|
689 | id: IdRequest;
|
690 | object: "user";
|
691 | };
|
692 | last_edited_time: string;
|
693 | last_edited_by: {
|
694 | id: IdRequest;
|
695 | object: "user";
|
696 | };
|
697 | has_children: boolean;
|
698 | archived: boolean;
|
699 | } | {
|
700 | type: "video";
|
701 | video: {
|
702 | type: "external";
|
703 | external: {
|
704 | url: TextRequest;
|
705 | };
|
706 | caption: Array<RichTextItemResponse>;
|
707 | } | {
|
708 | type: "file";
|
709 | file: {
|
710 | url: string;
|
711 | expiry_time: string;
|
712 | };
|
713 | caption: Array<RichTextItemResponse>;
|
714 | };
|
715 | object: "block";
|
716 | id: string;
|
717 | created_time: string;
|
718 | created_by: {
|
719 | id: IdRequest;
|
720 | object: "user";
|
721 | };
|
722 | last_edited_time: string;
|
723 | last_edited_by: {
|
724 | id: IdRequest;
|
725 | object: "user";
|
726 | };
|
727 | has_children: boolean;
|
728 | archived: boolean;
|
729 | } | {
|
730 | type: "pdf";
|
731 | pdf: {
|
732 | type: "external";
|
733 | external: {
|
734 | url: TextRequest;
|
735 | };
|
736 | caption: Array<RichTextItemResponse>;
|
737 | } | {
|
738 | type: "file";
|
739 | file: {
|
740 | url: string;
|
741 | expiry_time: string;
|
742 | };
|
743 | caption: Array<RichTextItemResponse>;
|
744 | };
|
745 | object: "block";
|
746 | id: string;
|
747 | created_time: string;
|
748 | created_by: {
|
749 | id: IdRequest;
|
750 | object: "user";
|
751 | };
|
752 | last_edited_time: string;
|
753 | last_edited_by: {
|
754 | id: IdRequest;
|
755 | object: "user";
|
756 | };
|
757 | has_children: boolean;
|
758 | archived: boolean;
|
759 | } | {
|
760 | type: "file";
|
761 | file: {
|
762 | type: "external";
|
763 | external: {
|
764 | url: TextRequest;
|
765 | };
|
766 | caption: Array<RichTextItemResponse>;
|
767 | } | {
|
768 | type: "file";
|
769 | file: {
|
770 | url: string;
|
771 | expiry_time: string;
|
772 | };
|
773 | caption: Array<RichTextItemResponse>;
|
774 | };
|
775 | object: "block";
|
776 | id: string;
|
777 | created_time: string;
|
778 | created_by: {
|
779 | id: IdRequest;
|
780 | object: "user";
|
781 | };
|
782 | last_edited_time: string;
|
783 | last_edited_by: {
|
784 | id: IdRequest;
|
785 | object: "user";
|
786 | };
|
787 | has_children: boolean;
|
788 | archived: boolean;
|
789 | } | {
|
790 | type: "audio";
|
791 | audio: {
|
792 | type: "external";
|
793 | external: {
|
794 | url: TextRequest;
|
795 | };
|
796 | caption: Array<RichTextItemResponse>;
|
797 | } | {
|
798 | type: "file";
|
799 | file: {
|
800 | url: string;
|
801 | expiry_time: string;
|
802 | };
|
803 | caption: Array<RichTextItemResponse>;
|
804 | };
|
805 | object: "block";
|
806 | id: string;
|
807 | created_time: string;
|
808 | created_by: {
|
809 | id: IdRequest;
|
810 | object: "user";
|
811 | };
|
812 | last_edited_time: string;
|
813 | last_edited_by: {
|
814 | id: IdRequest;
|
815 | object: "user";
|
816 | };
|
817 | has_children: boolean;
|
818 | archived: boolean;
|
819 | } | {
|
820 | type: "link_preview";
|
821 | link_preview: {
|
822 | url: TextRequest;
|
823 | };
|
824 | object: "block";
|
825 | id: string;
|
826 | created_time: string;
|
827 | created_by: {
|
828 | id: IdRequest;
|
829 | object: "user";
|
830 | };
|
831 | last_edited_time: string;
|
832 | last_edited_by: {
|
833 | id: IdRequest;
|
834 | object: "user";
|
835 | };
|
836 | has_children: boolean;
|
837 | archived: boolean;
|
838 | } | {
|
839 | type: "unsupported";
|
840 | unsupported: EmptyObject;
|
841 | object: "block";
|
842 | id: string;
|
843 | created_time: string;
|
844 | created_by: {
|
845 | id: IdRequest;
|
846 | object: "user";
|
847 | };
|
848 | last_edited_time: string;
|
849 | last_edited_by: {
|
850 | id: IdRequest;
|
851 | object: "user";
|
852 | };
|
853 | has_children: boolean;
|
854 | archived: boolean;
|
855 | };
|
856 | declare type DateRequest = {
|
857 | start: string;
|
858 | end?: string | null;
|
859 | time_zone?: TimeZoneRequest | null;
|
860 | };
|
861 | declare type RichTextItemRequest = {
|
862 | text: {
|
863 | content: string;
|
864 | link?: {
|
865 | url: TextRequest;
|
866 | } | null;
|
867 | };
|
868 | type?: "text";
|
869 | annotations?: {
|
870 | bold?: boolean;
|
871 | italic?: boolean;
|
872 | strikethrough?: boolean;
|
873 | underline?: boolean;
|
874 | code?: boolean;
|
875 | color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
876 | };
|
877 | } | {
|
878 | mention: {
|
879 | user: {
|
880 | id: IdRequest;
|
881 | } | {
|
882 | person: {
|
883 | email?: string;
|
884 | };
|
885 | id: IdRequest;
|
886 | type?: "person";
|
887 | name?: string | null;
|
888 | avatar_url?: string | null;
|
889 | object?: "user";
|
890 | } | {
|
891 | bot: EmptyObject | {
|
892 | owner: {
|
893 | type: "user";
|
894 | user: {
|
895 | type: "person";
|
896 | person: {
|
897 | email: string;
|
898 | };
|
899 | name: string | null;
|
900 | avatar_url: string | null;
|
901 | id: IdRequest;
|
902 | object: "user";
|
903 | } | {
|
904 | id: IdRequest;
|
905 | object: "user";
|
906 | };
|
907 | } | {
|
908 | type: "workspace";
|
909 | workspace: true;
|
910 | };
|
911 | };
|
912 | id: IdRequest;
|
913 | type?: "bot";
|
914 | name?: string | null;
|
915 | avatar_url?: string | null;
|
916 | object?: "user";
|
917 | };
|
918 | } | {
|
919 | date: DateRequest;
|
920 | } | {
|
921 | page: {
|
922 | id: IdRequest;
|
923 | };
|
924 | } | {
|
925 | database: {
|
926 | id: IdRequest;
|
927 | };
|
928 | };
|
929 | type?: "mention";
|
930 | annotations?: {
|
931 | bold?: boolean;
|
932 | italic?: boolean;
|
933 | strikethrough?: boolean;
|
934 | underline?: boolean;
|
935 | code?: boolean;
|
936 | color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
937 | };
|
938 | } | {
|
939 | equation: {
|
940 | expression: TextRequest;
|
941 | };
|
942 | type?: "equation";
|
943 | annotations?: {
|
944 | bold?: boolean;
|
945 | italic?: boolean;
|
946 | strikethrough?: boolean;
|
947 | underline?: boolean;
|
948 | code?: boolean;
|
949 | color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | "gray_background" | "brown_background" | "orange_background" | "yellow_background" | "green_background" | "blue_background" | "purple_background" | "pink_background" | "red_background";
|
950 | };
|
951 | };
|
952 | declare type BlockObjectRequestWithoutChildren = {
|
953 | embed: {
|
954 | url: string;
|
955 | caption?: Array<RichTextItemRequest>;
|
956 | };
|
957 | type?: "embed";
|
958 | object?: "block";
|
959 | } | {
|
960 | bookmark: {
|
961 | url: string;
|
962 | caption?: Array<RichTextItemRequest>;
|
963 | };
|
964 | type?: "bookmark";
|
965 | object?: "block";
|
966 | } | {
|
967 | image: {
|
968 | external: {
|
969 | url: TextRequest;
|
970 | };
|
971 | type?: "external";
|
972 | caption?: Array<RichTextItemRequest>;
|
973 | };
|
974 | type?: "image";
|
975 | object?: "block";
|
976 | } | {
|
977 | video: {
|
978 | external: {
|
979 | url: TextRequest;
|
980 | };
|
981 | type?: "external";
|
982 | caption?: Array<RichTextItemRequest>;
|
983 | };
|
984 | type?: "video";
|
985 | object?: "block";
|
986 | } | {
|
987 | pdf: {
|
988 | external: {
|
989 | url: TextRequest;
|
990 | };
|
991 | type?: "external";
|
992 | caption?: Array<RichTextItemRequest>;
|
993 | };
|
994 | type?: "pdf";
|
995 | object?: "block";
|
996 | } | {
|
997 | file: {
|
998 | external: {
|
999 | url: TextRequest;
|
1000 | };
|
1001 | type?: "external";
|
1002 | caption?: Array<RichTextItemRequest>;
|
1003 | };
|
1004 | type?: "file";
|
1005 | object?: "block";
|
1006 | } | {
|
1007 | audio: {
|
1008 | external: {
|
1009 | url: TextRequest;
|
1010 | };
|
1011 | type?: "external";
|
1012 | caption?: Array<RichTextItemRequest>;
|
1013 | };
|
1014 | type?: "audio";
|
1015 | object?: "block";
|
1016 | } | {
|
1017 | code: {
|
1018 | rich_text: Array<RichTextItemRequest>;
|
1019 | language: LanguageRequest;
|
1020 | caption?: Array<RichTextItemRequest>;
|
1021 | };
|
1022 | type?: "code";
|
1023 | object?: "block";
|
1024 | } | {
|
1025 | equation: {
|
1026 | expression: string;
|
1027 | };
|
1028 | type?: "equation";
|
1029 | object?: "block";
|
1030 | } | {
|
1031 | divider: EmptyObject;
|
1032 | type?: "divider";
|
1033 | object?: "block";
|
1034 | } | {
|
1035 | breadcrumb: EmptyObject;
|
1036 | type?: "breadcrumb";
|
1037 | object?: "block";
|
1038 | } | {
|
1039 | table_of_contents: {
|
1040 | color?: ApiColor;
|
1041 | };
|
1042 | type?: "table_of_contents";
|
1043 | object?: "block";
|
1044 | } | {
|
1045 | link_to_page: {
|
1046 | page_id: IdRequest;
|
1047 | type?: "page_id";
|
1048 | } | {
|
1049 | database_id: IdRequest;
|
1050 | type?: "database_id";
|
1051 | };
|
1052 | type?: "link_to_page";
|
1053 | object?: "block";
|
1054 | } | {
|
1055 | table_row: {
|
1056 | cells: Array<Array<RichTextItemRequest>>;
|
1057 | };
|
1058 | type?: "table_row";
|
1059 | object?: "block";
|
1060 | } | {
|
1061 | heading_1: {
|
1062 | rich_text: Array<RichTextItemRequest>;
|
1063 | color?: ApiColor;
|
1064 | };
|
1065 | type?: "heading_1";
|
1066 | object?: "block";
|
1067 | } | {
|
1068 | heading_2: {
|
1069 | rich_text: Array<RichTextItemRequest>;
|
1070 | color?: ApiColor;
|
1071 | };
|
1072 | type?: "heading_2";
|
1073 | object?: "block";
|
1074 | } | {
|
1075 | heading_3: {
|
1076 | rich_text: Array<RichTextItemRequest>;
|
1077 | color?: ApiColor;
|
1078 | };
|
1079 | type?: "heading_3";
|
1080 | object?: "block";
|
1081 | } | {
|
1082 | paragraph: {
|
1083 | rich_text: Array<RichTextItemRequest>;
|
1084 | color?: ApiColor;
|
1085 | };
|
1086 | type?: "paragraph";
|
1087 | object?: "block";
|
1088 | } | {
|
1089 | bulleted_list_item: {
|
1090 | rich_text: Array<RichTextItemRequest>;
|
1091 | color?: ApiColor;
|
1092 | };
|
1093 | type?: "bulleted_list_item";
|
1094 | object?: "block";
|
1095 | } | {
|
1096 | numbered_list_item: {
|
1097 | rich_text: Array<RichTextItemRequest>;
|
1098 | color?: ApiColor;
|
1099 | };
|
1100 | type?: "numbered_list_item";
|
1101 | object?: "block";
|
1102 | } | {
|
1103 | quote: {
|
1104 | rich_text: Array<RichTextItemRequest>;
|
1105 | color?: ApiColor;
|
1106 | };
|
1107 | type?: "quote";
|
1108 | object?: "block";
|
1109 | } | {
|
1110 | to_do: {
|
1111 | rich_text: Array<RichTextItemRequest>;
|
1112 | checked?: boolean;
|
1113 | color?: ApiColor;
|
1114 | };
|
1115 | type?: "to_do";
|
1116 | object?: "block";
|
1117 | } | {
|
1118 | toggle: {
|
1119 | rich_text: Array<RichTextItemRequest>;
|
1120 | color?: ApiColor;
|
1121 | };
|
1122 | type?: "toggle";
|
1123 | object?: "block";
|
1124 | } | {
|
1125 | template: {
|
1126 | rich_text: Array<RichTextItemRequest>;
|
1127 | };
|
1128 | type?: "template";
|
1129 | object?: "block";
|
1130 | } | {
|
1131 | callout: {
|
1132 | rich_text: Array<RichTextItemRequest>;
|
1133 | icon?: {
|
1134 | emoji: EmojiRequest;
|
1135 | type?: "emoji";
|
1136 | } | {
|
1137 | external: {
|
1138 | url: TextRequest;
|
1139 | };
|
1140 | type?: "external";
|
1141 | };
|
1142 | color?: ApiColor;
|
1143 | };
|
1144 | type?: "callout";
|
1145 | object?: "block";
|
1146 | } | {
|
1147 | synced_block: {
|
1148 | synced_from: {
|
1149 | block_id: IdRequest;
|
1150 | type?: "block_id";
|
1151 | } | null;
|
1152 | };
|
1153 | type?: "synced_block";
|
1154 | object?: "block";
|
1155 | };
|
1156 | declare type BlockObjectRequest = {
|
1157 | embed: {
|
1158 | url: string;
|
1159 | caption?: Array<RichTextItemRequest>;
|
1160 | };
|
1161 | type?: "embed";
|
1162 | object?: "block";
|
1163 | } | {
|
1164 | bookmark: {
|
1165 | url: string;
|
1166 | caption?: Array<RichTextItemRequest>;
|
1167 | };
|
1168 | type?: "bookmark";
|
1169 | object?: "block";
|
1170 | } | {
|
1171 | image: {
|
1172 | external: {
|
1173 | url: TextRequest;
|
1174 | };
|
1175 | type?: "external";
|
1176 | caption?: Array<RichTextItemRequest>;
|
1177 | };
|
1178 | type?: "image";
|
1179 | object?: "block";
|
1180 | } | {
|
1181 | video: {
|
1182 | external: {
|
1183 | url: TextRequest;
|
1184 | };
|
1185 | type?: "external";
|
1186 | caption?: Array<RichTextItemRequest>;
|
1187 | };
|
1188 | type?: "video";
|
1189 | object?: "block";
|
1190 | } | {
|
1191 | pdf: {
|
1192 | external: {
|
1193 | url: TextRequest;
|
1194 | };
|
1195 | type?: "external";
|
1196 | caption?: Array<RichTextItemRequest>;
|
1197 | };
|
1198 | type?: "pdf";
|
1199 | object?: "block";
|
1200 | } | {
|
1201 | file: {
|
1202 | external: {
|
1203 | url: TextRequest;
|
1204 | };
|
1205 | type?: "external";
|
1206 | caption?: Array<RichTextItemRequest>;
|
1207 | };
|
1208 | type?: "file";
|
1209 | object?: "block";
|
1210 | } | {
|
1211 | audio: {
|
1212 | external: {
|
1213 | url: TextRequest;
|
1214 | };
|
1215 | type?: "external";
|
1216 | caption?: Array<RichTextItemRequest>;
|
1217 | };
|
1218 | type?: "audio";
|
1219 | object?: "block";
|
1220 | } | {
|
1221 | code: {
|
1222 | rich_text: Array<RichTextItemRequest>;
|
1223 | language: LanguageRequest;
|
1224 | caption?: Array<RichTextItemRequest>;
|
1225 | };
|
1226 | type?: "code";
|
1227 | object?: "block";
|
1228 | } | {
|
1229 | equation: {
|
1230 | expression: string;
|
1231 | };
|
1232 | type?: "equation";
|
1233 | object?: "block";
|
1234 | } | {
|
1235 | divider: EmptyObject;
|
1236 | type?: "divider";
|
1237 | object?: "block";
|
1238 | } | {
|
1239 | breadcrumb: EmptyObject;
|
1240 | type?: "breadcrumb";
|
1241 | object?: "block";
|
1242 | } | {
|
1243 | table_of_contents: {
|
1244 | color?: ApiColor;
|
1245 | };
|
1246 | type?: "table_of_contents";
|
1247 | object?: "block";
|
1248 | } | {
|
1249 | link_to_page: {
|
1250 | page_id: IdRequest;
|
1251 | type?: "page_id";
|
1252 | } | {
|
1253 | database_id: IdRequest;
|
1254 | type?: "database_id";
|
1255 | };
|
1256 | type?: "link_to_page";
|
1257 | object?: "block";
|
1258 | } | {
|
1259 | table_row: {
|
1260 | cells: Array<Array<RichTextItemRequest>>;
|
1261 | };
|
1262 | type?: "table_row";
|
1263 | object?: "block";
|
1264 | } | {
|
1265 | column_list: {
|
1266 | children: Array<{
|
1267 | column: {
|
1268 | children: Array<{
|
1269 | embed: {
|
1270 | url: string;
|
1271 | caption?: Array<RichTextItemRequest>;
|
1272 | };
|
1273 | type?: "embed";
|
1274 | object?: "block";
|
1275 | } | {
|
1276 | bookmark: {
|
1277 | url: string;
|
1278 | caption?: Array<RichTextItemRequest>;
|
1279 | };
|
1280 | type?: "bookmark";
|
1281 | object?: "block";
|
1282 | } | {
|
1283 | image: {
|
1284 | external: {
|
1285 | url: TextRequest;
|
1286 | };
|
1287 | type?: "external";
|
1288 | caption?: Array<RichTextItemRequest>;
|
1289 | };
|
1290 | type?: "image";
|
1291 | object?: "block";
|
1292 | } | {
|
1293 | video: {
|
1294 | external: {
|
1295 | url: TextRequest;
|
1296 | };
|
1297 | type?: "external";
|
1298 | caption?: Array<RichTextItemRequest>;
|
1299 | };
|
1300 | type?: "video";
|
1301 | object?: "block";
|
1302 | } | {
|
1303 | pdf: {
|
1304 | external: {
|
1305 | url: TextRequest;
|
1306 | };
|
1307 | type?: "external";
|
1308 | caption?: Array<RichTextItemRequest>;
|
1309 | };
|
1310 | type?: "pdf";
|
1311 | object?: "block";
|
1312 | } | {
|
1313 | file: {
|
1314 | external: {
|
1315 | url: TextRequest;
|
1316 | };
|
1317 | type?: "external";
|
1318 | caption?: Array<RichTextItemRequest>;
|
1319 | };
|
1320 | type?: "file";
|
1321 | object?: "block";
|
1322 | } | {
|
1323 | audio: {
|
1324 | external: {
|
1325 | url: TextRequest;
|
1326 | };
|
1327 | type?: "external";
|
1328 | caption?: Array<RichTextItemRequest>;
|
1329 | };
|
1330 | type?: "audio";
|
1331 | object?: "block";
|
1332 | } | {
|
1333 | code: {
|
1334 | rich_text: Array<RichTextItemRequest>;
|
1335 | language: LanguageRequest;
|
1336 | caption?: Array<RichTextItemRequest>;
|
1337 | };
|
1338 | type?: "code";
|
1339 | object?: "block";
|
1340 | } | {
|
1341 | equation: {
|
1342 | expression: string;
|
1343 | };
|
1344 | type?: "equation";
|
1345 | object?: "block";
|
1346 | } | {
|
1347 | divider: EmptyObject;
|
1348 | type?: "divider";
|
1349 | object?: "block";
|
1350 | } | {
|
1351 | breadcrumb: EmptyObject;
|
1352 | type?: "breadcrumb";
|
1353 | object?: "block";
|
1354 | } | {
|
1355 | table_of_contents: {
|
1356 | color?: ApiColor;
|
1357 | };
|
1358 | type?: "table_of_contents";
|
1359 | object?: "block";
|
1360 | } | {
|
1361 | link_to_page: {
|
1362 | page_id: IdRequest;
|
1363 | type?: "page_id";
|
1364 | } | {
|
1365 | database_id: IdRequest;
|
1366 | type?: "database_id";
|
1367 | };
|
1368 | type?: "link_to_page";
|
1369 | object?: "block";
|
1370 | } | {
|
1371 | table_row: {
|
1372 | cells: Array<Array<RichTextItemRequest>>;
|
1373 | };
|
1374 | type?: "table_row";
|
1375 | object?: "block";
|
1376 | } | {
|
1377 | heading_1: {
|
1378 | rich_text: Array<RichTextItemRequest>;
|
1379 | color?: ApiColor;
|
1380 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1381 | };
|
1382 | type?: "heading_1";
|
1383 | object?: "block";
|
1384 | } | {
|
1385 | heading_2: {
|
1386 | rich_text: Array<RichTextItemRequest>;
|
1387 | color?: ApiColor;
|
1388 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1389 | };
|
1390 | type?: "heading_2";
|
1391 | object?: "block";
|
1392 | } | {
|
1393 | heading_3: {
|
1394 | rich_text: Array<RichTextItemRequest>;
|
1395 | color?: ApiColor;
|
1396 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1397 | };
|
1398 | type?: "heading_3";
|
1399 | object?: "block";
|
1400 | } | {
|
1401 | paragraph: {
|
1402 | rich_text: Array<RichTextItemRequest>;
|
1403 | color?: ApiColor;
|
1404 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1405 | };
|
1406 | type?: "paragraph";
|
1407 | object?: "block";
|
1408 | } | {
|
1409 | bulleted_list_item: {
|
1410 | rich_text: Array<RichTextItemRequest>;
|
1411 | color?: ApiColor;
|
1412 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1413 | };
|
1414 | type?: "bulleted_list_item";
|
1415 | object?: "block";
|
1416 | } | {
|
1417 | numbered_list_item: {
|
1418 | rich_text: Array<RichTextItemRequest>;
|
1419 | color?: ApiColor;
|
1420 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1421 | };
|
1422 | type?: "numbered_list_item";
|
1423 | object?: "block";
|
1424 | } | {
|
1425 | quote: {
|
1426 | rich_text: Array<RichTextItemRequest>;
|
1427 | color?: ApiColor;
|
1428 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1429 | };
|
1430 | type?: "quote";
|
1431 | object?: "block";
|
1432 | } | {
|
1433 | to_do: {
|
1434 | rich_text: Array<RichTextItemRequest>;
|
1435 | color?: ApiColor;
|
1436 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1437 | checked?: boolean;
|
1438 | };
|
1439 | type?: "to_do";
|
1440 | object?: "block";
|
1441 | } | {
|
1442 | toggle: {
|
1443 | rich_text: Array<RichTextItemRequest>;
|
1444 | color?: ApiColor;
|
1445 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1446 | };
|
1447 | type?: "toggle";
|
1448 | object?: "block";
|
1449 | } | {
|
1450 | template: {
|
1451 | rich_text: Array<RichTextItemRequest>;
|
1452 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1453 | };
|
1454 | type?: "template";
|
1455 | object?: "block";
|
1456 | } | {
|
1457 | callout: {
|
1458 | rich_text: Array<RichTextItemRequest>;
|
1459 | color?: ApiColor;
|
1460 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1461 | icon?: {
|
1462 | emoji: EmojiRequest;
|
1463 | type?: "emoji";
|
1464 | } | {
|
1465 | external: {
|
1466 | url: TextRequest;
|
1467 | };
|
1468 | type?: "external";
|
1469 | };
|
1470 | };
|
1471 | type?: "callout";
|
1472 | object?: "block";
|
1473 | } | {
|
1474 | synced_block: {
|
1475 | synced_from: {
|
1476 | block_id: IdRequest;
|
1477 | type?: "block_id";
|
1478 | } | null;
|
1479 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1480 | };
|
1481 | type?: "synced_block";
|
1482 | object?: "block";
|
1483 | }>;
|
1484 | };
|
1485 | type?: "column";
|
1486 | object?: "block";
|
1487 | }>;
|
1488 | };
|
1489 | type?: "column_list";
|
1490 | object?: "block";
|
1491 | } | {
|
1492 | column: {
|
1493 | children: Array<{
|
1494 | embed: {
|
1495 | url: string;
|
1496 | caption?: Array<RichTextItemRequest>;
|
1497 | };
|
1498 | type?: "embed";
|
1499 | object?: "block";
|
1500 | } | {
|
1501 | bookmark: {
|
1502 | url: string;
|
1503 | caption?: Array<RichTextItemRequest>;
|
1504 | };
|
1505 | type?: "bookmark";
|
1506 | object?: "block";
|
1507 | } | {
|
1508 | image: {
|
1509 | external: {
|
1510 | url: TextRequest;
|
1511 | };
|
1512 | type?: "external";
|
1513 | caption?: Array<RichTextItemRequest>;
|
1514 | };
|
1515 | type?: "image";
|
1516 | object?: "block";
|
1517 | } | {
|
1518 | video: {
|
1519 | external: {
|
1520 | url: TextRequest;
|
1521 | };
|
1522 | type?: "external";
|
1523 | caption?: Array<RichTextItemRequest>;
|
1524 | };
|
1525 | type?: "video";
|
1526 | object?: "block";
|
1527 | } | {
|
1528 | pdf: {
|
1529 | external: {
|
1530 | url: TextRequest;
|
1531 | };
|
1532 | type?: "external";
|
1533 | caption?: Array<RichTextItemRequest>;
|
1534 | };
|
1535 | type?: "pdf";
|
1536 | object?: "block";
|
1537 | } | {
|
1538 | file: {
|
1539 | external: {
|
1540 | url: TextRequest;
|
1541 | };
|
1542 | type?: "external";
|
1543 | caption?: Array<RichTextItemRequest>;
|
1544 | };
|
1545 | type?: "file";
|
1546 | object?: "block";
|
1547 | } | {
|
1548 | audio: {
|
1549 | external: {
|
1550 | url: TextRequest;
|
1551 | };
|
1552 | type?: "external";
|
1553 | caption?: Array<RichTextItemRequest>;
|
1554 | };
|
1555 | type?: "audio";
|
1556 | object?: "block";
|
1557 | } | {
|
1558 | code: {
|
1559 | rich_text: Array<RichTextItemRequest>;
|
1560 | language: LanguageRequest;
|
1561 | caption?: Array<RichTextItemRequest>;
|
1562 | };
|
1563 | type?: "code";
|
1564 | object?: "block";
|
1565 | } | {
|
1566 | equation: {
|
1567 | expression: string;
|
1568 | };
|
1569 | type?: "equation";
|
1570 | object?: "block";
|
1571 | } | {
|
1572 | divider: EmptyObject;
|
1573 | type?: "divider";
|
1574 | object?: "block";
|
1575 | } | {
|
1576 | breadcrumb: EmptyObject;
|
1577 | type?: "breadcrumb";
|
1578 | object?: "block";
|
1579 | } | {
|
1580 | table_of_contents: {
|
1581 | color?: ApiColor;
|
1582 | };
|
1583 | type?: "table_of_contents";
|
1584 | object?: "block";
|
1585 | } | {
|
1586 | link_to_page: {
|
1587 | page_id: IdRequest;
|
1588 | type?: "page_id";
|
1589 | } | {
|
1590 | database_id: IdRequest;
|
1591 | type?: "database_id";
|
1592 | };
|
1593 | type?: "link_to_page";
|
1594 | object?: "block";
|
1595 | } | {
|
1596 | table_row: {
|
1597 | cells: Array<Array<RichTextItemRequest>>;
|
1598 | };
|
1599 | type?: "table_row";
|
1600 | object?: "block";
|
1601 | } | {
|
1602 | heading_1: {
|
1603 | rich_text: Array<RichTextItemRequest>;
|
1604 | color?: ApiColor;
|
1605 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1606 | };
|
1607 | type?: "heading_1";
|
1608 | object?: "block";
|
1609 | } | {
|
1610 | heading_2: {
|
1611 | rich_text: Array<RichTextItemRequest>;
|
1612 | color?: ApiColor;
|
1613 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1614 | };
|
1615 | type?: "heading_2";
|
1616 | object?: "block";
|
1617 | } | {
|
1618 | heading_3: {
|
1619 | rich_text: Array<RichTextItemRequest>;
|
1620 | color?: ApiColor;
|
1621 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1622 | };
|
1623 | type?: "heading_3";
|
1624 | object?: "block";
|
1625 | } | {
|
1626 | paragraph: {
|
1627 | rich_text: Array<RichTextItemRequest>;
|
1628 | color?: ApiColor;
|
1629 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1630 | };
|
1631 | type?: "paragraph";
|
1632 | object?: "block";
|
1633 | } | {
|
1634 | bulleted_list_item: {
|
1635 | rich_text: Array<RichTextItemRequest>;
|
1636 | color?: ApiColor;
|
1637 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1638 | };
|
1639 | type?: "bulleted_list_item";
|
1640 | object?: "block";
|
1641 | } | {
|
1642 | numbered_list_item: {
|
1643 | rich_text: Array<RichTextItemRequest>;
|
1644 | color?: ApiColor;
|
1645 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1646 | };
|
1647 | type?: "numbered_list_item";
|
1648 | object?: "block";
|
1649 | } | {
|
1650 | quote: {
|
1651 | rich_text: Array<RichTextItemRequest>;
|
1652 | color?: ApiColor;
|
1653 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1654 | };
|
1655 | type?: "quote";
|
1656 | object?: "block";
|
1657 | } | {
|
1658 | to_do: {
|
1659 | rich_text: Array<RichTextItemRequest>;
|
1660 | color?: ApiColor;
|
1661 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1662 | checked?: boolean;
|
1663 | };
|
1664 | type?: "to_do";
|
1665 | object?: "block";
|
1666 | } | {
|
1667 | toggle: {
|
1668 | rich_text: Array<RichTextItemRequest>;
|
1669 | color?: ApiColor;
|
1670 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1671 | };
|
1672 | type?: "toggle";
|
1673 | object?: "block";
|
1674 | } | {
|
1675 | template: {
|
1676 | rich_text: Array<RichTextItemRequest>;
|
1677 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1678 | };
|
1679 | type?: "template";
|
1680 | object?: "block";
|
1681 | } | {
|
1682 | callout: {
|
1683 | rich_text: Array<RichTextItemRequest>;
|
1684 | color?: ApiColor;
|
1685 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1686 | icon?: {
|
1687 | emoji: EmojiRequest;
|
1688 | type?: "emoji";
|
1689 | } | {
|
1690 | external: {
|
1691 | url: TextRequest;
|
1692 | };
|
1693 | type?: "external";
|
1694 | };
|
1695 | };
|
1696 | type?: "callout";
|
1697 | object?: "block";
|
1698 | } | {
|
1699 | synced_block: {
|
1700 | synced_from: {
|
1701 | block_id: IdRequest;
|
1702 | type?: "block_id";
|
1703 | } | null;
|
1704 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1705 | };
|
1706 | type?: "synced_block";
|
1707 | object?: "block";
|
1708 | }>;
|
1709 | };
|
1710 | type?: "column";
|
1711 | object?: "block";
|
1712 | } | {
|
1713 | table: {
|
1714 | table_width: number;
|
1715 | children: Array<BlockObjectRequestWithoutChildren>;
|
1716 | has_column_header?: boolean;
|
1717 | has_row_header?: boolean;
|
1718 | };
|
1719 | type?: "table";
|
1720 | object?: "block";
|
1721 | } | {
|
1722 | heading_1: {
|
1723 | rich_text: Array<RichTextItemRequest>;
|
1724 | color?: ApiColor;
|
1725 | children?: Array<{
|
1726 | embed: {
|
1727 | url: string;
|
1728 | caption?: Array<RichTextItemRequest>;
|
1729 | };
|
1730 | type?: "embed";
|
1731 | object?: "block";
|
1732 | } | {
|
1733 | bookmark: {
|
1734 | url: string;
|
1735 | caption?: Array<RichTextItemRequest>;
|
1736 | };
|
1737 | type?: "bookmark";
|
1738 | object?: "block";
|
1739 | } | {
|
1740 | image: {
|
1741 | external: {
|
1742 | url: TextRequest;
|
1743 | };
|
1744 | type?: "external";
|
1745 | caption?: Array<RichTextItemRequest>;
|
1746 | };
|
1747 | type?: "image";
|
1748 | object?: "block";
|
1749 | } | {
|
1750 | video: {
|
1751 | external: {
|
1752 | url: TextRequest;
|
1753 | };
|
1754 | type?: "external";
|
1755 | caption?: Array<RichTextItemRequest>;
|
1756 | };
|
1757 | type?: "video";
|
1758 | object?: "block";
|
1759 | } | {
|
1760 | pdf: {
|
1761 | external: {
|
1762 | url: TextRequest;
|
1763 | };
|
1764 | type?: "external";
|
1765 | caption?: Array<RichTextItemRequest>;
|
1766 | };
|
1767 | type?: "pdf";
|
1768 | object?: "block";
|
1769 | } | {
|
1770 | file: {
|
1771 | external: {
|
1772 | url: TextRequest;
|
1773 | };
|
1774 | type?: "external";
|
1775 | caption?: Array<RichTextItemRequest>;
|
1776 | };
|
1777 | type?: "file";
|
1778 | object?: "block";
|
1779 | } | {
|
1780 | audio: {
|
1781 | external: {
|
1782 | url: TextRequest;
|
1783 | };
|
1784 | type?: "external";
|
1785 | caption?: Array<RichTextItemRequest>;
|
1786 | };
|
1787 | type?: "audio";
|
1788 | object?: "block";
|
1789 | } | {
|
1790 | code: {
|
1791 | rich_text: Array<RichTextItemRequest>;
|
1792 | language: LanguageRequest;
|
1793 | caption?: Array<RichTextItemRequest>;
|
1794 | };
|
1795 | type?: "code";
|
1796 | object?: "block";
|
1797 | } | {
|
1798 | equation: {
|
1799 | expression: string;
|
1800 | };
|
1801 | type?: "equation";
|
1802 | object?: "block";
|
1803 | } | {
|
1804 | divider: EmptyObject;
|
1805 | type?: "divider";
|
1806 | object?: "block";
|
1807 | } | {
|
1808 | breadcrumb: EmptyObject;
|
1809 | type?: "breadcrumb";
|
1810 | object?: "block";
|
1811 | } | {
|
1812 | table_of_contents: {
|
1813 | color?: ApiColor;
|
1814 | };
|
1815 | type?: "table_of_contents";
|
1816 | object?: "block";
|
1817 | } | {
|
1818 | link_to_page: {
|
1819 | page_id: IdRequest;
|
1820 | type?: "page_id";
|
1821 | } | {
|
1822 | database_id: IdRequest;
|
1823 | type?: "database_id";
|
1824 | };
|
1825 | type?: "link_to_page";
|
1826 | object?: "block";
|
1827 | } | {
|
1828 | table_row: {
|
1829 | cells: Array<Array<RichTextItemRequest>>;
|
1830 | };
|
1831 | type?: "table_row";
|
1832 | object?: "block";
|
1833 | } | {
|
1834 | heading_1: {
|
1835 | rich_text: Array<RichTextItemRequest>;
|
1836 | color?: ApiColor;
|
1837 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1838 | };
|
1839 | type?: "heading_1";
|
1840 | object?: "block";
|
1841 | } | {
|
1842 | heading_2: {
|
1843 | rich_text: Array<RichTextItemRequest>;
|
1844 | color?: ApiColor;
|
1845 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1846 | };
|
1847 | type?: "heading_2";
|
1848 | object?: "block";
|
1849 | } | {
|
1850 | heading_3: {
|
1851 | rich_text: Array<RichTextItemRequest>;
|
1852 | color?: ApiColor;
|
1853 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1854 | };
|
1855 | type?: "heading_3";
|
1856 | object?: "block";
|
1857 | } | {
|
1858 | paragraph: {
|
1859 | rich_text: Array<RichTextItemRequest>;
|
1860 | color?: ApiColor;
|
1861 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1862 | };
|
1863 | type?: "paragraph";
|
1864 | object?: "block";
|
1865 | } | {
|
1866 | bulleted_list_item: {
|
1867 | rich_text: Array<RichTextItemRequest>;
|
1868 | color?: ApiColor;
|
1869 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1870 | };
|
1871 | type?: "bulleted_list_item";
|
1872 | object?: "block";
|
1873 | } | {
|
1874 | numbered_list_item: {
|
1875 | rich_text: Array<RichTextItemRequest>;
|
1876 | color?: ApiColor;
|
1877 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1878 | };
|
1879 | type?: "numbered_list_item";
|
1880 | object?: "block";
|
1881 | } | {
|
1882 | quote: {
|
1883 | rich_text: Array<RichTextItemRequest>;
|
1884 | color?: ApiColor;
|
1885 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1886 | };
|
1887 | type?: "quote";
|
1888 | object?: "block";
|
1889 | } | {
|
1890 | to_do: {
|
1891 | rich_text: Array<RichTextItemRequest>;
|
1892 | color?: ApiColor;
|
1893 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1894 | checked?: boolean;
|
1895 | };
|
1896 | type?: "to_do";
|
1897 | object?: "block";
|
1898 | } | {
|
1899 | toggle: {
|
1900 | rich_text: Array<RichTextItemRequest>;
|
1901 | color?: ApiColor;
|
1902 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1903 | };
|
1904 | type?: "toggle";
|
1905 | object?: "block";
|
1906 | } | {
|
1907 | template: {
|
1908 | rich_text: Array<RichTextItemRequest>;
|
1909 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1910 | };
|
1911 | type?: "template";
|
1912 | object?: "block";
|
1913 | } | {
|
1914 | callout: {
|
1915 | rich_text: Array<RichTextItemRequest>;
|
1916 | color?: ApiColor;
|
1917 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1918 | icon?: {
|
1919 | emoji: EmojiRequest;
|
1920 | type?: "emoji";
|
1921 | } | {
|
1922 | external: {
|
1923 | url: TextRequest;
|
1924 | };
|
1925 | type?: "external";
|
1926 | };
|
1927 | };
|
1928 | type?: "callout";
|
1929 | object?: "block";
|
1930 | } | {
|
1931 | synced_block: {
|
1932 | synced_from: {
|
1933 | block_id: IdRequest;
|
1934 | type?: "block_id";
|
1935 | } | null;
|
1936 | children?: Array<BlockObjectRequestWithoutChildren>;
|
1937 | };
|
1938 | type?: "synced_block";
|
1939 | object?: "block";
|
1940 | }>;
|
1941 | };
|
1942 | type?: "heading_1";
|
1943 | object?: "block";
|
1944 | } | {
|
1945 | heading_2: {
|
1946 | rich_text: Array<RichTextItemRequest>;
|
1947 | color?: ApiColor;
|
1948 | children?: Array<{
|
1949 | embed: {
|
1950 | url: string;
|
1951 | caption?: Array<RichTextItemRequest>;
|
1952 | };
|
1953 | type?: "embed";
|
1954 | object?: "block";
|
1955 | } | {
|
1956 | bookmark: {
|
1957 | url: string;
|
1958 | caption?: Array<RichTextItemRequest>;
|
1959 | };
|
1960 | type?: "bookmark";
|
1961 | object?: "block";
|
1962 | } | {
|
1963 | image: {
|
1964 | external: {
|
1965 | url: TextRequest;
|
1966 | };
|
1967 | type?: "external";
|
1968 | caption?: Array<RichTextItemRequest>;
|
1969 | };
|
1970 | type?: "image";
|
1971 | object?: "block";
|
1972 | } | {
|
1973 | video: {
|
1974 | external: {
|
1975 | url: TextRequest;
|
1976 | };
|
1977 | type?: "external";
|
1978 | caption?: Array<RichTextItemRequest>;
|
1979 | };
|
1980 | type?: "video";
|
1981 | object?: "block";
|
1982 | } | {
|
1983 | pdf: {
|
1984 | external: {
|
1985 | url: TextRequest;
|
1986 | };
|
1987 | type?: "external";
|
1988 | caption?: Array<RichTextItemRequest>;
|
1989 | };
|
1990 | type?: "pdf";
|
1991 | object?: "block";
|
1992 | } | {
|
1993 | file: {
|
1994 | external: {
|
1995 | url: TextRequest;
|
1996 | };
|
1997 | type?: "external";
|
1998 | caption?: Array<RichTextItemRequest>;
|
1999 | };
|
2000 | type?: "file";
|
2001 | object?: "block";
|
2002 | } | {
|
2003 | audio: {
|
2004 | external: {
|
2005 | url: TextRequest;
|
2006 | };
|
2007 | type?: "external";
|
2008 | caption?: Array<RichTextItemRequest>;
|
2009 | };
|
2010 | type?: "audio";
|
2011 | object?: "block";
|
2012 | } | {
|
2013 | code: {
|
2014 | rich_text: Array<RichTextItemRequest>;
|
2015 | language: LanguageRequest;
|
2016 | caption?: Array<RichTextItemRequest>;
|
2017 | };
|
2018 | type?: "code";
|
2019 | object?: "block";
|
2020 | } | {
|
2021 | equation: {
|
2022 | expression: string;
|
2023 | };
|
2024 | type?: "equation";
|
2025 | object?: "block";
|
2026 | } | {
|
2027 | divider: EmptyObject;
|
2028 | type?: "divider";
|
2029 | object?: "block";
|
2030 | } | {
|
2031 | breadcrumb: EmptyObject;
|
2032 | type?: "breadcrumb";
|
2033 | object?: "block";
|
2034 | } | {
|
2035 | table_of_contents: {
|
2036 | color?: ApiColor;
|
2037 | };
|
2038 | type?: "table_of_contents";
|
2039 | object?: "block";
|
2040 | } | {
|
2041 | link_to_page: {
|
2042 | page_id: IdRequest;
|
2043 | type?: "page_id";
|
2044 | } | {
|
2045 | database_id: IdRequest;
|
2046 | type?: "database_id";
|
2047 | };
|
2048 | type?: "link_to_page";
|
2049 | object?: "block";
|
2050 | } | {
|
2051 | table_row: {
|
2052 | cells: Array<Array<RichTextItemRequest>>;
|
2053 | };
|
2054 | type?: "table_row";
|
2055 | object?: "block";
|
2056 | } | {
|
2057 | heading_1: {
|
2058 | rich_text: Array<RichTextItemRequest>;
|
2059 | color?: ApiColor;
|
2060 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2061 | };
|
2062 | type?: "heading_1";
|
2063 | object?: "block";
|
2064 | } | {
|
2065 | heading_2: {
|
2066 | rich_text: Array<RichTextItemRequest>;
|
2067 | color?: ApiColor;
|
2068 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2069 | };
|
2070 | type?: "heading_2";
|
2071 | object?: "block";
|
2072 | } | {
|
2073 | heading_3: {
|
2074 | rich_text: Array<RichTextItemRequest>;
|
2075 | color?: ApiColor;
|
2076 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2077 | };
|
2078 | type?: "heading_3";
|
2079 | object?: "block";
|
2080 | } | {
|
2081 | paragraph: {
|
2082 | rich_text: Array<RichTextItemRequest>;
|
2083 | color?: ApiColor;
|
2084 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2085 | };
|
2086 | type?: "paragraph";
|
2087 | object?: "block";
|
2088 | } | {
|
2089 | bulleted_list_item: {
|
2090 | rich_text: Array<RichTextItemRequest>;
|
2091 | color?: ApiColor;
|
2092 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2093 | };
|
2094 | type?: "bulleted_list_item";
|
2095 | object?: "block";
|
2096 | } | {
|
2097 | numbered_list_item: {
|
2098 | rich_text: Array<RichTextItemRequest>;
|
2099 | color?: ApiColor;
|
2100 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2101 | };
|
2102 | type?: "numbered_list_item";
|
2103 | object?: "block";
|
2104 | } | {
|
2105 | quote: {
|
2106 | rich_text: Array<RichTextItemRequest>;
|
2107 | color?: ApiColor;
|
2108 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2109 | };
|
2110 | type?: "quote";
|
2111 | object?: "block";
|
2112 | } | {
|
2113 | to_do: {
|
2114 | rich_text: Array<RichTextItemRequest>;
|
2115 | color?: ApiColor;
|
2116 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2117 | checked?: boolean;
|
2118 | };
|
2119 | type?: "to_do";
|
2120 | object?: "block";
|
2121 | } | {
|
2122 | toggle: {
|
2123 | rich_text: Array<RichTextItemRequest>;
|
2124 | color?: ApiColor;
|
2125 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2126 | };
|
2127 | type?: "toggle";
|
2128 | object?: "block";
|
2129 | } | {
|
2130 | template: {
|
2131 | rich_text: Array<RichTextItemRequest>;
|
2132 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2133 | };
|
2134 | type?: "template";
|
2135 | object?: "block";
|
2136 | } | {
|
2137 | callout: {
|
2138 | rich_text: Array<RichTextItemRequest>;
|
2139 | color?: ApiColor;
|
2140 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2141 | icon?: {
|
2142 | emoji: EmojiRequest;
|
2143 | type?: "emoji";
|
2144 | } | {
|
2145 | external: {
|
2146 | url: TextRequest;
|
2147 | };
|
2148 | type?: "external";
|
2149 | };
|
2150 | };
|
2151 | type?: "callout";
|
2152 | object?: "block";
|
2153 | } | {
|
2154 | synced_block: {
|
2155 | synced_from: {
|
2156 | block_id: IdRequest;
|
2157 | type?: "block_id";
|
2158 | } | null;
|
2159 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2160 | };
|
2161 | type?: "synced_block";
|
2162 | object?: "block";
|
2163 | }>;
|
2164 | };
|
2165 | type?: "heading_2";
|
2166 | object?: "block";
|
2167 | } | {
|
2168 | heading_3: {
|
2169 | rich_text: Array<RichTextItemRequest>;
|
2170 | color?: ApiColor;
|
2171 | children?: Array<{
|
2172 | embed: {
|
2173 | url: string;
|
2174 | caption?: Array<RichTextItemRequest>;
|
2175 | };
|
2176 | type?: "embed";
|
2177 | object?: "block";
|
2178 | } | {
|
2179 | bookmark: {
|
2180 | url: string;
|
2181 | caption?: Array<RichTextItemRequest>;
|
2182 | };
|
2183 | type?: "bookmark";
|
2184 | object?: "block";
|
2185 | } | {
|
2186 | image: {
|
2187 | external: {
|
2188 | url: TextRequest;
|
2189 | };
|
2190 | type?: "external";
|
2191 | caption?: Array<RichTextItemRequest>;
|
2192 | };
|
2193 | type?: "image";
|
2194 | object?: "block";
|
2195 | } | {
|
2196 | video: {
|
2197 | external: {
|
2198 | url: TextRequest;
|
2199 | };
|
2200 | type?: "external";
|
2201 | caption?: Array<RichTextItemRequest>;
|
2202 | };
|
2203 | type?: "video";
|
2204 | object?: "block";
|
2205 | } | {
|
2206 | pdf: {
|
2207 | external: {
|
2208 | url: TextRequest;
|
2209 | };
|
2210 | type?: "external";
|
2211 | caption?: Array<RichTextItemRequest>;
|
2212 | };
|
2213 | type?: "pdf";
|
2214 | object?: "block";
|
2215 | } | {
|
2216 | file: {
|
2217 | external: {
|
2218 | url: TextRequest;
|
2219 | };
|
2220 | type?: "external";
|
2221 | caption?: Array<RichTextItemRequest>;
|
2222 | };
|
2223 | type?: "file";
|
2224 | object?: "block";
|
2225 | } | {
|
2226 | audio: {
|
2227 | external: {
|
2228 | url: TextRequest;
|
2229 | };
|
2230 | type?: "external";
|
2231 | caption?: Array<RichTextItemRequest>;
|
2232 | };
|
2233 | type?: "audio";
|
2234 | object?: "block";
|
2235 | } | {
|
2236 | code: {
|
2237 | rich_text: Array<RichTextItemRequest>;
|
2238 | language: LanguageRequest;
|
2239 | caption?: Array<RichTextItemRequest>;
|
2240 | };
|
2241 | type?: "code";
|
2242 | object?: "block";
|
2243 | } | {
|
2244 | equation: {
|
2245 | expression: string;
|
2246 | };
|
2247 | type?: "equation";
|
2248 | object?: "block";
|
2249 | } | {
|
2250 | divider: EmptyObject;
|
2251 | type?: "divider";
|
2252 | object?: "block";
|
2253 | } | {
|
2254 | breadcrumb: EmptyObject;
|
2255 | type?: "breadcrumb";
|
2256 | object?: "block";
|
2257 | } | {
|
2258 | table_of_contents: {
|
2259 | color?: ApiColor;
|
2260 | };
|
2261 | type?: "table_of_contents";
|
2262 | object?: "block";
|
2263 | } | {
|
2264 | link_to_page: {
|
2265 | page_id: IdRequest;
|
2266 | type?: "page_id";
|
2267 | } | {
|
2268 | database_id: IdRequest;
|
2269 | type?: "database_id";
|
2270 | };
|
2271 | type?: "link_to_page";
|
2272 | object?: "block";
|
2273 | } | {
|
2274 | table_row: {
|
2275 | cells: Array<Array<RichTextItemRequest>>;
|
2276 | };
|
2277 | type?: "table_row";
|
2278 | object?: "block";
|
2279 | } | {
|
2280 | heading_1: {
|
2281 | rich_text: Array<RichTextItemRequest>;
|
2282 | color?: ApiColor;
|
2283 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2284 | };
|
2285 | type?: "heading_1";
|
2286 | object?: "block";
|
2287 | } | {
|
2288 | heading_2: {
|
2289 | rich_text: Array<RichTextItemRequest>;
|
2290 | color?: ApiColor;
|
2291 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2292 | };
|
2293 | type?: "heading_2";
|
2294 | object?: "block";
|
2295 | } | {
|
2296 | heading_3: {
|
2297 | rich_text: Array<RichTextItemRequest>;
|
2298 | color?: ApiColor;
|
2299 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2300 | };
|
2301 | type?: "heading_3";
|
2302 | object?: "block";
|
2303 | } | {
|
2304 | paragraph: {
|
2305 | rich_text: Array<RichTextItemRequest>;
|
2306 | color?: ApiColor;
|
2307 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2308 | };
|
2309 | type?: "paragraph";
|
2310 | object?: "block";
|
2311 | } | {
|
2312 | bulleted_list_item: {
|
2313 | rich_text: Array<RichTextItemRequest>;
|
2314 | color?: ApiColor;
|
2315 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2316 | };
|
2317 | type?: "bulleted_list_item";
|
2318 | object?: "block";
|
2319 | } | {
|
2320 | numbered_list_item: {
|
2321 | rich_text: Array<RichTextItemRequest>;
|
2322 | color?: ApiColor;
|
2323 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2324 | };
|
2325 | type?: "numbered_list_item";
|
2326 | object?: "block";
|
2327 | } | {
|
2328 | quote: {
|
2329 | rich_text: Array<RichTextItemRequest>;
|
2330 | color?: ApiColor;
|
2331 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2332 | };
|
2333 | type?: "quote";
|
2334 | object?: "block";
|
2335 | } | {
|
2336 | to_do: {
|
2337 | rich_text: Array<RichTextItemRequest>;
|
2338 | color?: ApiColor;
|
2339 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2340 | checked?: boolean;
|
2341 | };
|
2342 | type?: "to_do";
|
2343 | object?: "block";
|
2344 | } | {
|
2345 | toggle: {
|
2346 | rich_text: Array<RichTextItemRequest>;
|
2347 | color?: ApiColor;
|
2348 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2349 | };
|
2350 | type?: "toggle";
|
2351 | object?: "block";
|
2352 | } | {
|
2353 | template: {
|
2354 | rich_text: Array<RichTextItemRequest>;
|
2355 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2356 | };
|
2357 | type?: "template";
|
2358 | object?: "block";
|
2359 | } | {
|
2360 | callout: {
|
2361 | rich_text: Array<RichTextItemRequest>;
|
2362 | color?: ApiColor;
|
2363 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2364 | icon?: {
|
2365 | emoji: EmojiRequest;
|
2366 | type?: "emoji";
|
2367 | } | {
|
2368 | external: {
|
2369 | url: TextRequest;
|
2370 | };
|
2371 | type?: "external";
|
2372 | };
|
2373 | };
|
2374 | type?: "callout";
|
2375 | object?: "block";
|
2376 | } | {
|
2377 | synced_block: {
|
2378 | synced_from: {
|
2379 | block_id: IdRequest;
|
2380 | type?: "block_id";
|
2381 | } | null;
|
2382 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2383 | };
|
2384 | type?: "synced_block";
|
2385 | object?: "block";
|
2386 | }>;
|
2387 | };
|
2388 | type?: "heading_3";
|
2389 | object?: "block";
|
2390 | } | {
|
2391 | paragraph: {
|
2392 | rich_text: Array<RichTextItemRequest>;
|
2393 | color?: ApiColor;
|
2394 | children?: Array<{
|
2395 | embed: {
|
2396 | url: string;
|
2397 | caption?: Array<RichTextItemRequest>;
|
2398 | };
|
2399 | type?: "embed";
|
2400 | object?: "block";
|
2401 | } | {
|
2402 | bookmark: {
|
2403 | url: string;
|
2404 | caption?: Array<RichTextItemRequest>;
|
2405 | };
|
2406 | type?: "bookmark";
|
2407 | object?: "block";
|
2408 | } | {
|
2409 | image: {
|
2410 | external: {
|
2411 | url: TextRequest;
|
2412 | };
|
2413 | type?: "external";
|
2414 | caption?: Array<RichTextItemRequest>;
|
2415 | };
|
2416 | type?: "image";
|
2417 | object?: "block";
|
2418 | } | {
|
2419 | video: {
|
2420 | external: {
|
2421 | url: TextRequest;
|
2422 | };
|
2423 | type?: "external";
|
2424 | caption?: Array<RichTextItemRequest>;
|
2425 | };
|
2426 | type?: "video";
|
2427 | object?: "block";
|
2428 | } | {
|
2429 | pdf: {
|
2430 | external: {
|
2431 | url: TextRequest;
|
2432 | };
|
2433 | type?: "external";
|
2434 | caption?: Array<RichTextItemRequest>;
|
2435 | };
|
2436 | type?: "pdf";
|
2437 | object?: "block";
|
2438 | } | {
|
2439 | file: {
|
2440 | external: {
|
2441 | url: TextRequest;
|
2442 | };
|
2443 | type?: "external";
|
2444 | caption?: Array<RichTextItemRequest>;
|
2445 | };
|
2446 | type?: "file";
|
2447 | object?: "block";
|
2448 | } | {
|
2449 | audio: {
|
2450 | external: {
|
2451 | url: TextRequest;
|
2452 | };
|
2453 | type?: "external";
|
2454 | caption?: Array<RichTextItemRequest>;
|
2455 | };
|
2456 | type?: "audio";
|
2457 | object?: "block";
|
2458 | } | {
|
2459 | code: {
|
2460 | rich_text: Array<RichTextItemRequest>;
|
2461 | language: LanguageRequest;
|
2462 | caption?: Array<RichTextItemRequest>;
|
2463 | };
|
2464 | type?: "code";
|
2465 | object?: "block";
|
2466 | } | {
|
2467 | equation: {
|
2468 | expression: string;
|
2469 | };
|
2470 | type?: "equation";
|
2471 | object?: "block";
|
2472 | } | {
|
2473 | divider: EmptyObject;
|
2474 | type?: "divider";
|
2475 | object?: "block";
|
2476 | } | {
|
2477 | breadcrumb: EmptyObject;
|
2478 | type?: "breadcrumb";
|
2479 | object?: "block";
|
2480 | } | {
|
2481 | table_of_contents: {
|
2482 | color?: ApiColor;
|
2483 | };
|
2484 | type?: "table_of_contents";
|
2485 | object?: "block";
|
2486 | } | {
|
2487 | link_to_page: {
|
2488 | page_id: IdRequest;
|
2489 | type?: "page_id";
|
2490 | } | {
|
2491 | database_id: IdRequest;
|
2492 | type?: "database_id";
|
2493 | };
|
2494 | type?: "link_to_page";
|
2495 | object?: "block";
|
2496 | } | {
|
2497 | table_row: {
|
2498 | cells: Array<Array<RichTextItemRequest>>;
|
2499 | };
|
2500 | type?: "table_row";
|
2501 | object?: "block";
|
2502 | } | {
|
2503 | heading_1: {
|
2504 | rich_text: Array<RichTextItemRequest>;
|
2505 | color?: ApiColor;
|
2506 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2507 | };
|
2508 | type?: "heading_1";
|
2509 | object?: "block";
|
2510 | } | {
|
2511 | heading_2: {
|
2512 | rich_text: Array<RichTextItemRequest>;
|
2513 | color?: ApiColor;
|
2514 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2515 | };
|
2516 | type?: "heading_2";
|
2517 | object?: "block";
|
2518 | } | {
|
2519 | heading_3: {
|
2520 | rich_text: Array<RichTextItemRequest>;
|
2521 | color?: ApiColor;
|
2522 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2523 | };
|
2524 | type?: "heading_3";
|
2525 | object?: "block";
|
2526 | } | {
|
2527 | paragraph: {
|
2528 | rich_text: Array<RichTextItemRequest>;
|
2529 | color?: ApiColor;
|
2530 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2531 | };
|
2532 | type?: "paragraph";
|
2533 | object?: "block";
|
2534 | } | {
|
2535 | bulleted_list_item: {
|
2536 | rich_text: Array<RichTextItemRequest>;
|
2537 | color?: ApiColor;
|
2538 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2539 | };
|
2540 | type?: "bulleted_list_item";
|
2541 | object?: "block";
|
2542 | } | {
|
2543 | numbered_list_item: {
|
2544 | rich_text: Array<RichTextItemRequest>;
|
2545 | color?: ApiColor;
|
2546 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2547 | };
|
2548 | type?: "numbered_list_item";
|
2549 | object?: "block";
|
2550 | } | {
|
2551 | quote: {
|
2552 | rich_text: Array<RichTextItemRequest>;
|
2553 | color?: ApiColor;
|
2554 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2555 | };
|
2556 | type?: "quote";
|
2557 | object?: "block";
|
2558 | } | {
|
2559 | to_do: {
|
2560 | rich_text: Array<RichTextItemRequest>;
|
2561 | color?: ApiColor;
|
2562 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2563 | checked?: boolean;
|
2564 | };
|
2565 | type?: "to_do";
|
2566 | object?: "block";
|
2567 | } | {
|
2568 | toggle: {
|
2569 | rich_text: Array<RichTextItemRequest>;
|
2570 | color?: ApiColor;
|
2571 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2572 | };
|
2573 | type?: "toggle";
|
2574 | object?: "block";
|
2575 | } | {
|
2576 | template: {
|
2577 | rich_text: Array<RichTextItemRequest>;
|
2578 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2579 | };
|
2580 | type?: "template";
|
2581 | object?: "block";
|
2582 | } | {
|
2583 | callout: {
|
2584 | rich_text: Array<RichTextItemRequest>;
|
2585 | color?: ApiColor;
|
2586 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2587 | icon?: {
|
2588 | emoji: EmojiRequest;
|
2589 | type?: "emoji";
|
2590 | } | {
|
2591 | external: {
|
2592 | url: TextRequest;
|
2593 | };
|
2594 | type?: "external";
|
2595 | };
|
2596 | };
|
2597 | type?: "callout";
|
2598 | object?: "block";
|
2599 | } | {
|
2600 | synced_block: {
|
2601 | synced_from: {
|
2602 | block_id: IdRequest;
|
2603 | type?: "block_id";
|
2604 | } | null;
|
2605 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2606 | };
|
2607 | type?: "synced_block";
|
2608 | object?: "block";
|
2609 | }>;
|
2610 | };
|
2611 | type?: "paragraph";
|
2612 | object?: "block";
|
2613 | } | {
|
2614 | bulleted_list_item: {
|
2615 | rich_text: Array<RichTextItemRequest>;
|
2616 | color?: ApiColor;
|
2617 | children?: Array<{
|
2618 | embed: {
|
2619 | url: string;
|
2620 | caption?: Array<RichTextItemRequest>;
|
2621 | };
|
2622 | type?: "embed";
|
2623 | object?: "block";
|
2624 | } | {
|
2625 | bookmark: {
|
2626 | url: string;
|
2627 | caption?: Array<RichTextItemRequest>;
|
2628 | };
|
2629 | type?: "bookmark";
|
2630 | object?: "block";
|
2631 | } | {
|
2632 | image: {
|
2633 | external: {
|
2634 | url: TextRequest;
|
2635 | };
|
2636 | type?: "external";
|
2637 | caption?: Array<RichTextItemRequest>;
|
2638 | };
|
2639 | type?: "image";
|
2640 | object?: "block";
|
2641 | } | {
|
2642 | video: {
|
2643 | external: {
|
2644 | url: TextRequest;
|
2645 | };
|
2646 | type?: "external";
|
2647 | caption?: Array<RichTextItemRequest>;
|
2648 | };
|
2649 | type?: "video";
|
2650 | object?: "block";
|
2651 | } | {
|
2652 | pdf: {
|
2653 | external: {
|
2654 | url: TextRequest;
|
2655 | };
|
2656 | type?: "external";
|
2657 | caption?: Array<RichTextItemRequest>;
|
2658 | };
|
2659 | type?: "pdf";
|
2660 | object?: "block";
|
2661 | } | {
|
2662 | file: {
|
2663 | external: {
|
2664 | url: TextRequest;
|
2665 | };
|
2666 | type?: "external";
|
2667 | caption?: Array<RichTextItemRequest>;
|
2668 | };
|
2669 | type?: "file";
|
2670 | object?: "block";
|
2671 | } | {
|
2672 | audio: {
|
2673 | external: {
|
2674 | url: TextRequest;
|
2675 | };
|
2676 | type?: "external";
|
2677 | caption?: Array<RichTextItemRequest>;
|
2678 | };
|
2679 | type?: "audio";
|
2680 | object?: "block";
|
2681 | } | {
|
2682 | code: {
|
2683 | rich_text: Array<RichTextItemRequest>;
|
2684 | language: LanguageRequest;
|
2685 | caption?: Array<RichTextItemRequest>;
|
2686 | };
|
2687 | type?: "code";
|
2688 | object?: "block";
|
2689 | } | {
|
2690 | equation: {
|
2691 | expression: string;
|
2692 | };
|
2693 | type?: "equation";
|
2694 | object?: "block";
|
2695 | } | {
|
2696 | divider: EmptyObject;
|
2697 | type?: "divider";
|
2698 | object?: "block";
|
2699 | } | {
|
2700 | breadcrumb: EmptyObject;
|
2701 | type?: "breadcrumb";
|
2702 | object?: "block";
|
2703 | } | {
|
2704 | table_of_contents: {
|
2705 | color?: ApiColor;
|
2706 | };
|
2707 | type?: "table_of_contents";
|
2708 | object?: "block";
|
2709 | } | {
|
2710 | link_to_page: {
|
2711 | page_id: IdRequest;
|
2712 | type?: "page_id";
|
2713 | } | {
|
2714 | database_id: IdRequest;
|
2715 | type?: "database_id";
|
2716 | };
|
2717 | type?: "link_to_page";
|
2718 | object?: "block";
|
2719 | } | {
|
2720 | table_row: {
|
2721 | cells: Array<Array<RichTextItemRequest>>;
|
2722 | };
|
2723 | type?: "table_row";
|
2724 | object?: "block";
|
2725 | } | {
|
2726 | heading_1: {
|
2727 | rich_text: Array<RichTextItemRequest>;
|
2728 | color?: ApiColor;
|
2729 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2730 | };
|
2731 | type?: "heading_1";
|
2732 | object?: "block";
|
2733 | } | {
|
2734 | heading_2: {
|
2735 | rich_text: Array<RichTextItemRequest>;
|
2736 | color?: ApiColor;
|
2737 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2738 | };
|
2739 | type?: "heading_2";
|
2740 | object?: "block";
|
2741 | } | {
|
2742 | heading_3: {
|
2743 | rich_text: Array<RichTextItemRequest>;
|
2744 | color?: ApiColor;
|
2745 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2746 | };
|
2747 | type?: "heading_3";
|
2748 | object?: "block";
|
2749 | } | {
|
2750 | paragraph: {
|
2751 | rich_text: Array<RichTextItemRequest>;
|
2752 | color?: ApiColor;
|
2753 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2754 | };
|
2755 | type?: "paragraph";
|
2756 | object?: "block";
|
2757 | } | {
|
2758 | bulleted_list_item: {
|
2759 | rich_text: Array<RichTextItemRequest>;
|
2760 | color?: ApiColor;
|
2761 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2762 | };
|
2763 | type?: "bulleted_list_item";
|
2764 | object?: "block";
|
2765 | } | {
|
2766 | numbered_list_item: {
|
2767 | rich_text: Array<RichTextItemRequest>;
|
2768 | color?: ApiColor;
|
2769 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2770 | };
|
2771 | type?: "numbered_list_item";
|
2772 | object?: "block";
|
2773 | } | {
|
2774 | quote: {
|
2775 | rich_text: Array<RichTextItemRequest>;
|
2776 | color?: ApiColor;
|
2777 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2778 | };
|
2779 | type?: "quote";
|
2780 | object?: "block";
|
2781 | } | {
|
2782 | to_do: {
|
2783 | rich_text: Array<RichTextItemRequest>;
|
2784 | color?: ApiColor;
|
2785 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2786 | checked?: boolean;
|
2787 | };
|
2788 | type?: "to_do";
|
2789 | object?: "block";
|
2790 | } | {
|
2791 | toggle: {
|
2792 | rich_text: Array<RichTextItemRequest>;
|
2793 | color?: ApiColor;
|
2794 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2795 | };
|
2796 | type?: "toggle";
|
2797 | object?: "block";
|
2798 | } | {
|
2799 | template: {
|
2800 | rich_text: Array<RichTextItemRequest>;
|
2801 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2802 | };
|
2803 | type?: "template";
|
2804 | object?: "block";
|
2805 | } | {
|
2806 | callout: {
|
2807 | rich_text: Array<RichTextItemRequest>;
|
2808 | color?: ApiColor;
|
2809 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2810 | icon?: {
|
2811 | emoji: EmojiRequest;
|
2812 | type?: "emoji";
|
2813 | } | {
|
2814 | external: {
|
2815 | url: TextRequest;
|
2816 | };
|
2817 | type?: "external";
|
2818 | };
|
2819 | };
|
2820 | type?: "callout";
|
2821 | object?: "block";
|
2822 | } | {
|
2823 | synced_block: {
|
2824 | synced_from: {
|
2825 | block_id: IdRequest;
|
2826 | type?: "block_id";
|
2827 | } | null;
|
2828 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2829 | };
|
2830 | type?: "synced_block";
|
2831 | object?: "block";
|
2832 | }>;
|
2833 | };
|
2834 | type?: "bulleted_list_item";
|
2835 | object?: "block";
|
2836 | } | {
|
2837 | numbered_list_item: {
|
2838 | rich_text: Array<RichTextItemRequest>;
|
2839 | color?: ApiColor;
|
2840 | children?: Array<{
|
2841 | embed: {
|
2842 | url: string;
|
2843 | caption?: Array<RichTextItemRequest>;
|
2844 | };
|
2845 | type?: "embed";
|
2846 | object?: "block";
|
2847 | } | {
|
2848 | bookmark: {
|
2849 | url: string;
|
2850 | caption?: Array<RichTextItemRequest>;
|
2851 | };
|
2852 | type?: "bookmark";
|
2853 | object?: "block";
|
2854 | } | {
|
2855 | image: {
|
2856 | external: {
|
2857 | url: TextRequest;
|
2858 | };
|
2859 | type?: "external";
|
2860 | caption?: Array<RichTextItemRequest>;
|
2861 | };
|
2862 | type?: "image";
|
2863 | object?: "block";
|
2864 | } | {
|
2865 | video: {
|
2866 | external: {
|
2867 | url: TextRequest;
|
2868 | };
|
2869 | type?: "external";
|
2870 | caption?: Array<RichTextItemRequest>;
|
2871 | };
|
2872 | type?: "video";
|
2873 | object?: "block";
|
2874 | } | {
|
2875 | pdf: {
|
2876 | external: {
|
2877 | url: TextRequest;
|
2878 | };
|
2879 | type?: "external";
|
2880 | caption?: Array<RichTextItemRequest>;
|
2881 | };
|
2882 | type?: "pdf";
|
2883 | object?: "block";
|
2884 | } | {
|
2885 | file: {
|
2886 | external: {
|
2887 | url: TextRequest;
|
2888 | };
|
2889 | type?: "external";
|
2890 | caption?: Array<RichTextItemRequest>;
|
2891 | };
|
2892 | type?: "file";
|
2893 | object?: "block";
|
2894 | } | {
|
2895 | audio: {
|
2896 | external: {
|
2897 | url: TextRequest;
|
2898 | };
|
2899 | type?: "external";
|
2900 | caption?: Array<RichTextItemRequest>;
|
2901 | };
|
2902 | type?: "audio";
|
2903 | object?: "block";
|
2904 | } | {
|
2905 | code: {
|
2906 | rich_text: Array<RichTextItemRequest>;
|
2907 | language: LanguageRequest;
|
2908 | caption?: Array<RichTextItemRequest>;
|
2909 | };
|
2910 | type?: "code";
|
2911 | object?: "block";
|
2912 | } | {
|
2913 | equation: {
|
2914 | expression: string;
|
2915 | };
|
2916 | type?: "equation";
|
2917 | object?: "block";
|
2918 | } | {
|
2919 | divider: EmptyObject;
|
2920 | type?: "divider";
|
2921 | object?: "block";
|
2922 | } | {
|
2923 | breadcrumb: EmptyObject;
|
2924 | type?: "breadcrumb";
|
2925 | object?: "block";
|
2926 | } | {
|
2927 | table_of_contents: {
|
2928 | color?: ApiColor;
|
2929 | };
|
2930 | type?: "table_of_contents";
|
2931 | object?: "block";
|
2932 | } | {
|
2933 | link_to_page: {
|
2934 | page_id: IdRequest;
|
2935 | type?: "page_id";
|
2936 | } | {
|
2937 | database_id: IdRequest;
|
2938 | type?: "database_id";
|
2939 | };
|
2940 | type?: "link_to_page";
|
2941 | object?: "block";
|
2942 | } | {
|
2943 | table_row: {
|
2944 | cells: Array<Array<RichTextItemRequest>>;
|
2945 | };
|
2946 | type?: "table_row";
|
2947 | object?: "block";
|
2948 | } | {
|
2949 | heading_1: {
|
2950 | rich_text: Array<RichTextItemRequest>;
|
2951 | color?: ApiColor;
|
2952 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2953 | };
|
2954 | type?: "heading_1";
|
2955 | object?: "block";
|
2956 | } | {
|
2957 | heading_2: {
|
2958 | rich_text: Array<RichTextItemRequest>;
|
2959 | color?: ApiColor;
|
2960 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2961 | };
|
2962 | type?: "heading_2";
|
2963 | object?: "block";
|
2964 | } | {
|
2965 | heading_3: {
|
2966 | rich_text: Array<RichTextItemRequest>;
|
2967 | color?: ApiColor;
|
2968 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2969 | };
|
2970 | type?: "heading_3";
|
2971 | object?: "block";
|
2972 | } | {
|
2973 | paragraph: {
|
2974 | rich_text: Array<RichTextItemRequest>;
|
2975 | color?: ApiColor;
|
2976 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2977 | };
|
2978 | type?: "paragraph";
|
2979 | object?: "block";
|
2980 | } | {
|
2981 | bulleted_list_item: {
|
2982 | rich_text: Array<RichTextItemRequest>;
|
2983 | color?: ApiColor;
|
2984 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2985 | };
|
2986 | type?: "bulleted_list_item";
|
2987 | object?: "block";
|
2988 | } | {
|
2989 | numbered_list_item: {
|
2990 | rich_text: Array<RichTextItemRequest>;
|
2991 | color?: ApiColor;
|
2992 | children?: Array<BlockObjectRequestWithoutChildren>;
|
2993 | };
|
2994 | type?: "numbered_list_item";
|
2995 | object?: "block";
|
2996 | } | {
|
2997 | quote: {
|
2998 | rich_text: Array<RichTextItemRequest>;
|
2999 | color?: ApiColor;
|
3000 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3001 | };
|
3002 | type?: "quote";
|
3003 | object?: "block";
|
3004 | } | {
|
3005 | to_do: {
|
3006 | rich_text: Array<RichTextItemRequest>;
|
3007 | color?: ApiColor;
|
3008 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3009 | checked?: boolean;
|
3010 | };
|
3011 | type?: "to_do";
|
3012 | object?: "block";
|
3013 | } | {
|
3014 | toggle: {
|
3015 | rich_text: Array<RichTextItemRequest>;
|
3016 | color?: ApiColor;
|
3017 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3018 | };
|
3019 | type?: "toggle";
|
3020 | object?: "block";
|
3021 | } | {
|
3022 | template: {
|
3023 | rich_text: Array<RichTextItemRequest>;
|
3024 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3025 | };
|
3026 | type?: "template";
|
3027 | object?: "block";
|
3028 | } | {
|
3029 | callout: {
|
3030 | rich_text: Array<RichTextItemRequest>;
|
3031 | color?: ApiColor;
|
3032 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3033 | icon?: {
|
3034 | emoji: EmojiRequest;
|
3035 | type?: "emoji";
|
3036 | } | {
|
3037 | external: {
|
3038 | url: TextRequest;
|
3039 | };
|
3040 | type?: "external";
|
3041 | };
|
3042 | };
|
3043 | type?: "callout";
|
3044 | object?: "block";
|
3045 | } | {
|
3046 | synced_block: {
|
3047 | synced_from: {
|
3048 | block_id: IdRequest;
|
3049 | type?: "block_id";
|
3050 | } | null;
|
3051 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3052 | };
|
3053 | type?: "synced_block";
|
3054 | object?: "block";
|
3055 | }>;
|
3056 | };
|
3057 | type?: "numbered_list_item";
|
3058 | object?: "block";
|
3059 | } | {
|
3060 | quote: {
|
3061 | rich_text: Array<RichTextItemRequest>;
|
3062 | color?: ApiColor;
|
3063 | children?: Array<{
|
3064 | embed: {
|
3065 | url: string;
|
3066 | caption?: Array<RichTextItemRequest>;
|
3067 | };
|
3068 | type?: "embed";
|
3069 | object?: "block";
|
3070 | } | {
|
3071 | bookmark: {
|
3072 | url: string;
|
3073 | caption?: Array<RichTextItemRequest>;
|
3074 | };
|
3075 | type?: "bookmark";
|
3076 | object?: "block";
|
3077 | } | {
|
3078 | image: {
|
3079 | external: {
|
3080 | url: TextRequest;
|
3081 | };
|
3082 | type?: "external";
|
3083 | caption?: Array<RichTextItemRequest>;
|
3084 | };
|
3085 | type?: "image";
|
3086 | object?: "block";
|
3087 | } | {
|
3088 | video: {
|
3089 | external: {
|
3090 | url: TextRequest;
|
3091 | };
|
3092 | type?: "external";
|
3093 | caption?: Array<RichTextItemRequest>;
|
3094 | };
|
3095 | type?: "video";
|
3096 | object?: "block";
|
3097 | } | {
|
3098 | pdf: {
|
3099 | external: {
|
3100 | url: TextRequest;
|
3101 | };
|
3102 | type?: "external";
|
3103 | caption?: Array<RichTextItemRequest>;
|
3104 | };
|
3105 | type?: "pdf";
|
3106 | object?: "block";
|
3107 | } | {
|
3108 | file: {
|
3109 | external: {
|
3110 | url: TextRequest;
|
3111 | };
|
3112 | type?: "external";
|
3113 | caption?: Array<RichTextItemRequest>;
|
3114 | };
|
3115 | type?: "file";
|
3116 | object?: "block";
|
3117 | } | {
|
3118 | audio: {
|
3119 | external: {
|
3120 | url: TextRequest;
|
3121 | };
|
3122 | type?: "external";
|
3123 | caption?: Array<RichTextItemRequest>;
|
3124 | };
|
3125 | type?: "audio";
|
3126 | object?: "block";
|
3127 | } | {
|
3128 | code: {
|
3129 | rich_text: Array<RichTextItemRequest>;
|
3130 | language: LanguageRequest;
|
3131 | caption?: Array<RichTextItemRequest>;
|
3132 | };
|
3133 | type?: "code";
|
3134 | object?: "block";
|
3135 | } | {
|
3136 | equation: {
|
3137 | expression: string;
|
3138 | };
|
3139 | type?: "equation";
|
3140 | object?: "block";
|
3141 | } | {
|
3142 | divider: EmptyObject;
|
3143 | type?: "divider";
|
3144 | object?: "block";
|
3145 | } | {
|
3146 | breadcrumb: EmptyObject;
|
3147 | type?: "breadcrumb";
|
3148 | object?: "block";
|
3149 | } | {
|
3150 | table_of_contents: {
|
3151 | color?: ApiColor;
|
3152 | };
|
3153 | type?: "table_of_contents";
|
3154 | object?: "block";
|
3155 | } | {
|
3156 | link_to_page: {
|
3157 | page_id: IdRequest;
|
3158 | type?: "page_id";
|
3159 | } | {
|
3160 | database_id: IdRequest;
|
3161 | type?: "database_id";
|
3162 | };
|
3163 | type?: "link_to_page";
|
3164 | object?: "block";
|
3165 | } | {
|
3166 | table_row: {
|
3167 | cells: Array<Array<RichTextItemRequest>>;
|
3168 | };
|
3169 | type?: "table_row";
|
3170 | object?: "block";
|
3171 | } | {
|
3172 | heading_1: {
|
3173 | rich_text: Array<RichTextItemRequest>;
|
3174 | color?: ApiColor;
|
3175 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3176 | };
|
3177 | type?: "heading_1";
|
3178 | object?: "block";
|
3179 | } | {
|
3180 | heading_2: {
|
3181 | rich_text: Array<RichTextItemRequest>;
|
3182 | color?: ApiColor;
|
3183 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3184 | };
|
3185 | type?: "heading_2";
|
3186 | object?: "block";
|
3187 | } | {
|
3188 | heading_3: {
|
3189 | rich_text: Array<RichTextItemRequest>;
|
3190 | color?: ApiColor;
|
3191 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3192 | };
|
3193 | type?: "heading_3";
|
3194 | object?: "block";
|
3195 | } | {
|
3196 | paragraph: {
|
3197 | rich_text: Array<RichTextItemRequest>;
|
3198 | color?: ApiColor;
|
3199 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3200 | };
|
3201 | type?: "paragraph";
|
3202 | object?: "block";
|
3203 | } | {
|
3204 | bulleted_list_item: {
|
3205 | rich_text: Array<RichTextItemRequest>;
|
3206 | color?: ApiColor;
|
3207 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3208 | };
|
3209 | type?: "bulleted_list_item";
|
3210 | object?: "block";
|
3211 | } | {
|
3212 | numbered_list_item: {
|
3213 | rich_text: Array<RichTextItemRequest>;
|
3214 | color?: ApiColor;
|
3215 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3216 | };
|
3217 | type?: "numbered_list_item";
|
3218 | object?: "block";
|
3219 | } | {
|
3220 | quote: {
|
3221 | rich_text: Array<RichTextItemRequest>;
|
3222 | color?: ApiColor;
|
3223 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3224 | };
|
3225 | type?: "quote";
|
3226 | object?: "block";
|
3227 | } | {
|
3228 | to_do: {
|
3229 | rich_text: Array<RichTextItemRequest>;
|
3230 | color?: ApiColor;
|
3231 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3232 | checked?: boolean;
|
3233 | };
|
3234 | type?: "to_do";
|
3235 | object?: "block";
|
3236 | } | {
|
3237 | toggle: {
|
3238 | rich_text: Array<RichTextItemRequest>;
|
3239 | color?: ApiColor;
|
3240 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3241 | };
|
3242 | type?: "toggle";
|
3243 | object?: "block";
|
3244 | } | {
|
3245 | template: {
|
3246 | rich_text: Array<RichTextItemRequest>;
|
3247 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3248 | };
|
3249 | type?: "template";
|
3250 | object?: "block";
|
3251 | } | {
|
3252 | callout: {
|
3253 | rich_text: Array<RichTextItemRequest>;
|
3254 | color?: ApiColor;
|
3255 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3256 | icon?: {
|
3257 | emoji: EmojiRequest;
|
3258 | type?: "emoji";
|
3259 | } | {
|
3260 | external: {
|
3261 | url: TextRequest;
|
3262 | };
|
3263 | type?: "external";
|
3264 | };
|
3265 | };
|
3266 | type?: "callout";
|
3267 | object?: "block";
|
3268 | } | {
|
3269 | synced_block: {
|
3270 | synced_from: {
|
3271 | block_id: IdRequest;
|
3272 | type?: "block_id";
|
3273 | } | null;
|
3274 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3275 | };
|
3276 | type?: "synced_block";
|
3277 | object?: "block";
|
3278 | }>;
|
3279 | };
|
3280 | type?: "quote";
|
3281 | object?: "block";
|
3282 | } | {
|
3283 | to_do: {
|
3284 | rich_text: Array<RichTextItemRequest>;
|
3285 | color?: ApiColor;
|
3286 | children?: Array<{
|
3287 | embed: {
|
3288 | url: string;
|
3289 | caption?: Array<RichTextItemRequest>;
|
3290 | };
|
3291 | type?: "embed";
|
3292 | object?: "block";
|
3293 | } | {
|
3294 | bookmark: {
|
3295 | url: string;
|
3296 | caption?: Array<RichTextItemRequest>;
|
3297 | };
|
3298 | type?: "bookmark";
|
3299 | object?: "block";
|
3300 | } | {
|
3301 | image: {
|
3302 | external: {
|
3303 | url: TextRequest;
|
3304 | };
|
3305 | type?: "external";
|
3306 | caption?: Array<RichTextItemRequest>;
|
3307 | };
|
3308 | type?: "image";
|
3309 | object?: "block";
|
3310 | } | {
|
3311 | video: {
|
3312 | external: {
|
3313 | url: TextRequest;
|
3314 | };
|
3315 | type?: "external";
|
3316 | caption?: Array<RichTextItemRequest>;
|
3317 | };
|
3318 | type?: "video";
|
3319 | object?: "block";
|
3320 | } | {
|
3321 | pdf: {
|
3322 | external: {
|
3323 | url: TextRequest;
|
3324 | };
|
3325 | type?: "external";
|
3326 | caption?: Array<RichTextItemRequest>;
|
3327 | };
|
3328 | type?: "pdf";
|
3329 | object?: "block";
|
3330 | } | {
|
3331 | file: {
|
3332 | external: {
|
3333 | url: TextRequest;
|
3334 | };
|
3335 | type?: "external";
|
3336 | caption?: Array<RichTextItemRequest>;
|
3337 | };
|
3338 | type?: "file";
|
3339 | object?: "block";
|
3340 | } | {
|
3341 | audio: {
|
3342 | external: {
|
3343 | url: TextRequest;
|
3344 | };
|
3345 | type?: "external";
|
3346 | caption?: Array<RichTextItemRequest>;
|
3347 | };
|
3348 | type?: "audio";
|
3349 | object?: "block";
|
3350 | } | {
|
3351 | code: {
|
3352 | rich_text: Array<RichTextItemRequest>;
|
3353 | language: LanguageRequest;
|
3354 | caption?: Array<RichTextItemRequest>;
|
3355 | };
|
3356 | type?: "code";
|
3357 | object?: "block";
|
3358 | } | {
|
3359 | equation: {
|
3360 | expression: string;
|
3361 | };
|
3362 | type?: "equation";
|
3363 | object?: "block";
|
3364 | } | {
|
3365 | divider: EmptyObject;
|
3366 | type?: "divider";
|
3367 | object?: "block";
|
3368 | } | {
|
3369 | breadcrumb: EmptyObject;
|
3370 | type?: "breadcrumb";
|
3371 | object?: "block";
|
3372 | } | {
|
3373 | table_of_contents: {
|
3374 | color?: ApiColor;
|
3375 | };
|
3376 | type?: "table_of_contents";
|
3377 | object?: "block";
|
3378 | } | {
|
3379 | link_to_page: {
|
3380 | page_id: IdRequest;
|
3381 | type?: "page_id";
|
3382 | } | {
|
3383 | database_id: IdRequest;
|
3384 | type?: "database_id";
|
3385 | };
|
3386 | type?: "link_to_page";
|
3387 | object?: "block";
|
3388 | } | {
|
3389 | table_row: {
|
3390 | cells: Array<Array<RichTextItemRequest>>;
|
3391 | };
|
3392 | type?: "table_row";
|
3393 | object?: "block";
|
3394 | } | {
|
3395 | heading_1: {
|
3396 | rich_text: Array<RichTextItemRequest>;
|
3397 | color?: ApiColor;
|
3398 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3399 | };
|
3400 | type?: "heading_1";
|
3401 | object?: "block";
|
3402 | } | {
|
3403 | heading_2: {
|
3404 | rich_text: Array<RichTextItemRequest>;
|
3405 | color?: ApiColor;
|
3406 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3407 | };
|
3408 | type?: "heading_2";
|
3409 | object?: "block";
|
3410 | } | {
|
3411 | heading_3: {
|
3412 | rich_text: Array<RichTextItemRequest>;
|
3413 | color?: ApiColor;
|
3414 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3415 | };
|
3416 | type?: "heading_3";
|
3417 | object?: "block";
|
3418 | } | {
|
3419 | paragraph: {
|
3420 | rich_text: Array<RichTextItemRequest>;
|
3421 | color?: ApiColor;
|
3422 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3423 | };
|
3424 | type?: "paragraph";
|
3425 | object?: "block";
|
3426 | } | {
|
3427 | bulleted_list_item: {
|
3428 | rich_text: Array<RichTextItemRequest>;
|
3429 | color?: ApiColor;
|
3430 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3431 | };
|
3432 | type?: "bulleted_list_item";
|
3433 | object?: "block";
|
3434 | } | {
|
3435 | numbered_list_item: {
|
3436 | rich_text: Array<RichTextItemRequest>;
|
3437 | color?: ApiColor;
|
3438 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3439 | };
|
3440 | type?: "numbered_list_item";
|
3441 | object?: "block";
|
3442 | } | {
|
3443 | quote: {
|
3444 | rich_text: Array<RichTextItemRequest>;
|
3445 | color?: ApiColor;
|
3446 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3447 | };
|
3448 | type?: "quote";
|
3449 | object?: "block";
|
3450 | } | {
|
3451 | to_do: {
|
3452 | rich_text: Array<RichTextItemRequest>;
|
3453 | color?: ApiColor;
|
3454 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3455 | checked?: boolean;
|
3456 | };
|
3457 | type?: "to_do";
|
3458 | object?: "block";
|
3459 | } | {
|
3460 | toggle: {
|
3461 | rich_text: Array<RichTextItemRequest>;
|
3462 | color?: ApiColor;
|
3463 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3464 | };
|
3465 | type?: "toggle";
|
3466 | object?: "block";
|
3467 | } | {
|
3468 | template: {
|
3469 | rich_text: Array<RichTextItemRequest>;
|
3470 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3471 | };
|
3472 | type?: "template";
|
3473 | object?: "block";
|
3474 | } | {
|
3475 | callout: {
|
3476 | rich_text: Array<RichTextItemRequest>;
|
3477 | color?: ApiColor;
|
3478 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3479 | icon?: {
|
3480 | emoji: EmojiRequest;
|
3481 | type?: "emoji";
|
3482 | } | {
|
3483 | external: {
|
3484 | url: TextRequest;
|
3485 | };
|
3486 | type?: "external";
|
3487 | };
|
3488 | };
|
3489 | type?: "callout";
|
3490 | object?: "block";
|
3491 | } | {
|
3492 | synced_block: {
|
3493 | synced_from: {
|
3494 | block_id: IdRequest;
|
3495 | type?: "block_id";
|
3496 | } | null;
|
3497 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3498 | };
|
3499 | type?: "synced_block";
|
3500 | object?: "block";
|
3501 | }>;
|
3502 | checked?: boolean;
|
3503 | };
|
3504 | type?: "to_do";
|
3505 | object?: "block";
|
3506 | } | {
|
3507 | toggle: {
|
3508 | rich_text: Array<RichTextItemRequest>;
|
3509 | color?: ApiColor;
|
3510 | children?: Array<{
|
3511 | embed: {
|
3512 | url: string;
|
3513 | caption?: Array<RichTextItemRequest>;
|
3514 | };
|
3515 | type?: "embed";
|
3516 | object?: "block";
|
3517 | } | {
|
3518 | bookmark: {
|
3519 | url: string;
|
3520 | caption?: Array<RichTextItemRequest>;
|
3521 | };
|
3522 | type?: "bookmark";
|
3523 | object?: "block";
|
3524 | } | {
|
3525 | image: {
|
3526 | external: {
|
3527 | url: TextRequest;
|
3528 | };
|
3529 | type?: "external";
|
3530 | caption?: Array<RichTextItemRequest>;
|
3531 | };
|
3532 | type?: "image";
|
3533 | object?: "block";
|
3534 | } | {
|
3535 | video: {
|
3536 | external: {
|
3537 | url: TextRequest;
|
3538 | };
|
3539 | type?: "external";
|
3540 | caption?: Array<RichTextItemRequest>;
|
3541 | };
|
3542 | type?: "video";
|
3543 | object?: "block";
|
3544 | } | {
|
3545 | pdf: {
|
3546 | external: {
|
3547 | url: TextRequest;
|
3548 | };
|
3549 | type?: "external";
|
3550 | caption?: Array<RichTextItemRequest>;
|
3551 | };
|
3552 | type?: "pdf";
|
3553 | object?: "block";
|
3554 | } | {
|
3555 | file: {
|
3556 | external: {
|
3557 | url: TextRequest;
|
3558 | };
|
3559 | type?: "external";
|
3560 | caption?: Array<RichTextItemRequest>;
|
3561 | };
|
3562 | type?: "file";
|
3563 | object?: "block";
|
3564 | } | {
|
3565 | audio: {
|
3566 | external: {
|
3567 | url: TextRequest;
|
3568 | };
|
3569 | type?: "external";
|
3570 | caption?: Array<RichTextItemRequest>;
|
3571 | };
|
3572 | type?: "audio";
|
3573 | object?: "block";
|
3574 | } | {
|
3575 | code: {
|
3576 | rich_text: Array<RichTextItemRequest>;
|
3577 | language: LanguageRequest;
|
3578 | caption?: Array<RichTextItemRequest>;
|
3579 | };
|
3580 | type?: "code";
|
3581 | object?: "block";
|
3582 | } | {
|
3583 | equation: {
|
3584 | expression: string;
|
3585 | };
|
3586 | type?: "equation";
|
3587 | object?: "block";
|
3588 | } | {
|
3589 | divider: EmptyObject;
|
3590 | type?: "divider";
|
3591 | object?: "block";
|
3592 | } | {
|
3593 | breadcrumb: EmptyObject;
|
3594 | type?: "breadcrumb";
|
3595 | object?: "block";
|
3596 | } | {
|
3597 | table_of_contents: {
|
3598 | color?: ApiColor;
|
3599 | };
|
3600 | type?: "table_of_contents";
|
3601 | object?: "block";
|
3602 | } | {
|
3603 | link_to_page: {
|
3604 | page_id: IdRequest;
|
3605 | type?: "page_id";
|
3606 | } | {
|
3607 | database_id: IdRequest;
|
3608 | type?: "database_id";
|
3609 | };
|
3610 | type?: "link_to_page";
|
3611 | object?: "block";
|
3612 | } | {
|
3613 | table_row: {
|
3614 | cells: Array<Array<RichTextItemRequest>>;
|
3615 | };
|
3616 | type?: "table_row";
|
3617 | object?: "block";
|
3618 | } | {
|
3619 | heading_1: {
|
3620 | rich_text: Array<RichTextItemRequest>;
|
3621 | color?: ApiColor;
|
3622 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3623 | };
|
3624 | type?: "heading_1";
|
3625 | object?: "block";
|
3626 | } | {
|
3627 | heading_2: {
|
3628 | rich_text: Array<RichTextItemRequest>;
|
3629 | color?: ApiColor;
|
3630 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3631 | };
|
3632 | type?: "heading_2";
|
3633 | object?: "block";
|
3634 | } | {
|
3635 | heading_3: {
|
3636 | rich_text: Array<RichTextItemRequest>;
|
3637 | color?: ApiColor;
|
3638 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3639 | };
|
3640 | type?: "heading_3";
|
3641 | object?: "block";
|
3642 | } | {
|
3643 | paragraph: {
|
3644 | rich_text: Array<RichTextItemRequest>;
|
3645 | color?: ApiColor;
|
3646 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3647 | };
|
3648 | type?: "paragraph";
|
3649 | object?: "block";
|
3650 | } | {
|
3651 | bulleted_list_item: {
|
3652 | rich_text: Array<RichTextItemRequest>;
|
3653 | color?: ApiColor;
|
3654 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3655 | };
|
3656 | type?: "bulleted_list_item";
|
3657 | object?: "block";
|
3658 | } | {
|
3659 | numbered_list_item: {
|
3660 | rich_text: Array<RichTextItemRequest>;
|
3661 | color?: ApiColor;
|
3662 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3663 | };
|
3664 | type?: "numbered_list_item";
|
3665 | object?: "block";
|
3666 | } | {
|
3667 | quote: {
|
3668 | rich_text: Array<RichTextItemRequest>;
|
3669 | color?: ApiColor;
|
3670 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3671 | };
|
3672 | type?: "quote";
|
3673 | object?: "block";
|
3674 | } | {
|
3675 | to_do: {
|
3676 | rich_text: Array<RichTextItemRequest>;
|
3677 | color?: ApiColor;
|
3678 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3679 | checked?: boolean;
|
3680 | };
|
3681 | type?: "to_do";
|
3682 | object?: "block";
|
3683 | } | {
|
3684 | toggle: {
|
3685 | rich_text: Array<RichTextItemRequest>;
|
3686 | color?: ApiColor;
|
3687 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3688 | };
|
3689 | type?: "toggle";
|
3690 | object?: "block";
|
3691 | } | {
|
3692 | template: {
|
3693 | rich_text: Array<RichTextItemRequest>;
|
3694 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3695 | };
|
3696 | type?: "template";
|
3697 | object?: "block";
|
3698 | } | {
|
3699 | callout: {
|
3700 | rich_text: Array<RichTextItemRequest>;
|
3701 | color?: ApiColor;
|
3702 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3703 | icon?: {
|
3704 | emoji: EmojiRequest;
|
3705 | type?: "emoji";
|
3706 | } | {
|
3707 | external: {
|
3708 | url: TextRequest;
|
3709 | };
|
3710 | type?: "external";
|
3711 | };
|
3712 | };
|
3713 | type?: "callout";
|
3714 | object?: "block";
|
3715 | } | {
|
3716 | synced_block: {
|
3717 | synced_from: {
|
3718 | block_id: IdRequest;
|
3719 | type?: "block_id";
|
3720 | } | null;
|
3721 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3722 | };
|
3723 | type?: "synced_block";
|
3724 | object?: "block";
|
3725 | }>;
|
3726 | };
|
3727 | type?: "toggle";
|
3728 | object?: "block";
|
3729 | } | {
|
3730 | template: {
|
3731 | rich_text: Array<RichTextItemRequest>;
|
3732 | children?: Array<{
|
3733 | embed: {
|
3734 | url: string;
|
3735 | caption?: Array<RichTextItemRequest>;
|
3736 | };
|
3737 | type?: "embed";
|
3738 | object?: "block";
|
3739 | } | {
|
3740 | bookmark: {
|
3741 | url: string;
|
3742 | caption?: Array<RichTextItemRequest>;
|
3743 | };
|
3744 | type?: "bookmark";
|
3745 | object?: "block";
|
3746 | } | {
|
3747 | image: {
|
3748 | external: {
|
3749 | url: TextRequest;
|
3750 | };
|
3751 | type?: "external";
|
3752 | caption?: Array<RichTextItemRequest>;
|
3753 | };
|
3754 | type?: "image";
|
3755 | object?: "block";
|
3756 | } | {
|
3757 | video: {
|
3758 | external: {
|
3759 | url: TextRequest;
|
3760 | };
|
3761 | type?: "external";
|
3762 | caption?: Array<RichTextItemRequest>;
|
3763 | };
|
3764 | type?: "video";
|
3765 | object?: "block";
|
3766 | } | {
|
3767 | pdf: {
|
3768 | external: {
|
3769 | url: TextRequest;
|
3770 | };
|
3771 | type?: "external";
|
3772 | caption?: Array<RichTextItemRequest>;
|
3773 | };
|
3774 | type?: "pdf";
|
3775 | object?: "block";
|
3776 | } | {
|
3777 | file: {
|
3778 | external: {
|
3779 | url: TextRequest;
|
3780 | };
|
3781 | type?: "external";
|
3782 | caption?: Array<RichTextItemRequest>;
|
3783 | };
|
3784 | type?: "file";
|
3785 | object?: "block";
|
3786 | } | {
|
3787 | audio: {
|
3788 | external: {
|
3789 | url: TextRequest;
|
3790 | };
|
3791 | type?: "external";
|
3792 | caption?: Array<RichTextItemRequest>;
|
3793 | };
|
3794 | type?: "audio";
|
3795 | object?: "block";
|
3796 | } | {
|
3797 | code: {
|
3798 | rich_text: Array<RichTextItemRequest>;
|
3799 | language: LanguageRequest;
|
3800 | caption?: Array<RichTextItemRequest>;
|
3801 | };
|
3802 | type?: "code";
|
3803 | object?: "block";
|
3804 | } | {
|
3805 | equation: {
|
3806 | expression: string;
|
3807 | };
|
3808 | type?: "equation";
|
3809 | object?: "block";
|
3810 | } | {
|
3811 | divider: EmptyObject;
|
3812 | type?: "divider";
|
3813 | object?: "block";
|
3814 | } | {
|
3815 | breadcrumb: EmptyObject;
|
3816 | type?: "breadcrumb";
|
3817 | object?: "block";
|
3818 | } | {
|
3819 | table_of_contents: {
|
3820 | color?: ApiColor;
|
3821 | };
|
3822 | type?: "table_of_contents";
|
3823 | object?: "block";
|
3824 | } | {
|
3825 | link_to_page: {
|
3826 | page_id: IdRequest;
|
3827 | type?: "page_id";
|
3828 | } | {
|
3829 | database_id: IdRequest;
|
3830 | type?: "database_id";
|
3831 | };
|
3832 | type?: "link_to_page";
|
3833 | object?: "block";
|
3834 | } | {
|
3835 | table_row: {
|
3836 | cells: Array<Array<RichTextItemRequest>>;
|
3837 | };
|
3838 | type?: "table_row";
|
3839 | object?: "block";
|
3840 | } | {
|
3841 | heading_1: {
|
3842 | rich_text: Array<RichTextItemRequest>;
|
3843 | color?: ApiColor;
|
3844 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3845 | };
|
3846 | type?: "heading_1";
|
3847 | object?: "block";
|
3848 | } | {
|
3849 | heading_2: {
|
3850 | rich_text: Array<RichTextItemRequest>;
|
3851 | color?: ApiColor;
|
3852 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3853 | };
|
3854 | type?: "heading_2";
|
3855 | object?: "block";
|
3856 | } | {
|
3857 | heading_3: {
|
3858 | rich_text: Array<RichTextItemRequest>;
|
3859 | color?: ApiColor;
|
3860 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3861 | };
|
3862 | type?: "heading_3";
|
3863 | object?: "block";
|
3864 | } | {
|
3865 | paragraph: {
|
3866 | rich_text: Array<RichTextItemRequest>;
|
3867 | color?: ApiColor;
|
3868 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3869 | };
|
3870 | type?: "paragraph";
|
3871 | object?: "block";
|
3872 | } | {
|
3873 | bulleted_list_item: {
|
3874 | rich_text: Array<RichTextItemRequest>;
|
3875 | color?: ApiColor;
|
3876 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3877 | };
|
3878 | type?: "bulleted_list_item";
|
3879 | object?: "block";
|
3880 | } | {
|
3881 | numbered_list_item: {
|
3882 | rich_text: Array<RichTextItemRequest>;
|
3883 | color?: ApiColor;
|
3884 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3885 | };
|
3886 | type?: "numbered_list_item";
|
3887 | object?: "block";
|
3888 | } | {
|
3889 | quote: {
|
3890 | rich_text: Array<RichTextItemRequest>;
|
3891 | color?: ApiColor;
|
3892 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3893 | };
|
3894 | type?: "quote";
|
3895 | object?: "block";
|
3896 | } | {
|
3897 | to_do: {
|
3898 | rich_text: Array<RichTextItemRequest>;
|
3899 | color?: ApiColor;
|
3900 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3901 | checked?: boolean;
|
3902 | };
|
3903 | type?: "to_do";
|
3904 | object?: "block";
|
3905 | } | {
|
3906 | toggle: {
|
3907 | rich_text: Array<RichTextItemRequest>;
|
3908 | color?: ApiColor;
|
3909 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3910 | };
|
3911 | type?: "toggle";
|
3912 | object?: "block";
|
3913 | } | {
|
3914 | template: {
|
3915 | rich_text: Array<RichTextItemRequest>;
|
3916 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3917 | };
|
3918 | type?: "template";
|
3919 | object?: "block";
|
3920 | } | {
|
3921 | callout: {
|
3922 | rich_text: Array<RichTextItemRequest>;
|
3923 | color?: ApiColor;
|
3924 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3925 | icon?: {
|
3926 | emoji: EmojiRequest;
|
3927 | type?: "emoji";
|
3928 | } | {
|
3929 | external: {
|
3930 | url: TextRequest;
|
3931 | };
|
3932 | type?: "external";
|
3933 | };
|
3934 | };
|
3935 | type?: "callout";
|
3936 | object?: "block";
|
3937 | } | {
|
3938 | synced_block: {
|
3939 | synced_from: {
|
3940 | block_id: IdRequest;
|
3941 | type?: "block_id";
|
3942 | } | null;
|
3943 | children?: Array<BlockObjectRequestWithoutChildren>;
|
3944 | };
|
3945 | type?: "synced_block";
|
3946 | object?: "block";
|
3947 | }>;
|
3948 | };
|
3949 | type?: "template";
|
3950 | object?: "block";
|
3951 | } | {
|
3952 | callout: {
|
3953 | rich_text: Array<RichTextItemRequest>;
|
3954 | color?: ApiColor;
|
3955 | children?: Array<{
|
3956 | embed: {
|
3957 | url: string;
|
3958 | caption?: Array<RichTextItemRequest>;
|
3959 | };
|
3960 | type?: "embed";
|
3961 | object?: "block";
|
3962 | } | {
|
3963 | bookmark: {
|
3964 | url: string;
|
3965 | caption?: Array<RichTextItemRequest>;
|
3966 | };
|
3967 | type?: "bookmark";
|
3968 | object?: "block";
|
3969 | } | {
|
3970 | image: {
|
3971 | external: {
|
3972 | url: TextRequest;
|
3973 | };
|
3974 | type?: "external";
|
3975 | caption?: Array<RichTextItemRequest>;
|
3976 | };
|
3977 | type?: "image";
|
3978 | object?: "block";
|
3979 | } | {
|
3980 | video: {
|
3981 | external: {
|
3982 | url: TextRequest;
|
3983 | };
|
3984 | type?: "external";
|
3985 | caption?: Array<RichTextItemRequest>;
|
3986 | };
|
3987 | type?: "video";
|
3988 | object?: "block";
|
3989 | } | {
|
3990 | pdf: {
|
3991 | external: {
|
3992 | url: TextRequest;
|
3993 | };
|
3994 | type?: "external";
|
3995 | caption?: Array<RichTextItemRequest>;
|
3996 | };
|
3997 | type?: "pdf";
|
3998 | object?: "block";
|
3999 | } | {
|
4000 | file: {
|
4001 | external: {
|
4002 | url: TextRequest;
|
4003 | };
|
4004 | type?: "external";
|
4005 | caption?: Array<RichTextItemRequest>;
|
4006 | };
|
4007 | type?: "file";
|
4008 | object?: "block";
|
4009 | } | {
|
4010 | audio: {
|
4011 | external: {
|
4012 | url: TextRequest;
|
4013 | };
|
4014 | type?: "external";
|
4015 | caption?: Array<RichTextItemRequest>;
|
4016 | };
|
4017 | type?: "audio";
|
4018 | object?: "block";
|
4019 | } | {
|
4020 | code: {
|
4021 | rich_text: Array<RichTextItemRequest>;
|
4022 | language: LanguageRequest;
|
4023 | caption?: Array<RichTextItemRequest>;
|
4024 | };
|
4025 | type?: "code";
|
4026 | object?: "block";
|
4027 | } | {
|
4028 | equation: {
|
4029 | expression: string;
|
4030 | };
|
4031 | type?: "equation";
|
4032 | object?: "block";
|
4033 | } | {
|
4034 | divider: EmptyObject;
|
4035 | type?: "divider";
|
4036 | object?: "block";
|
4037 | } | {
|
4038 | breadcrumb: EmptyObject;
|
4039 | type?: "breadcrumb";
|
4040 | object?: "block";
|
4041 | } | {
|
4042 | table_of_contents: {
|
4043 | color?: ApiColor;
|
4044 | };
|
4045 | type?: "table_of_contents";
|
4046 | object?: "block";
|
4047 | } | {
|
4048 | link_to_page: {
|
4049 | page_id: IdRequest;
|
4050 | type?: "page_id";
|
4051 | } | {
|
4052 | database_id: IdRequest;
|
4053 | type?: "database_id";
|
4054 | };
|
4055 | type?: "link_to_page";
|
4056 | object?: "block";
|
4057 | } | {
|
4058 | table_row: {
|
4059 | cells: Array<Array<RichTextItemRequest>>;
|
4060 | };
|
4061 | type?: "table_row";
|
4062 | object?: "block";
|
4063 | } | {
|
4064 | heading_1: {
|
4065 | rich_text: Array<RichTextItemRequest>;
|
4066 | color?: ApiColor;
|
4067 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4068 | };
|
4069 | type?: "heading_1";
|
4070 | object?: "block";
|
4071 | } | {
|
4072 | heading_2: {
|
4073 | rich_text: Array<RichTextItemRequest>;
|
4074 | color?: ApiColor;
|
4075 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4076 | };
|
4077 | type?: "heading_2";
|
4078 | object?: "block";
|
4079 | } | {
|
4080 | heading_3: {
|
4081 | rich_text: Array<RichTextItemRequest>;
|
4082 | color?: ApiColor;
|
4083 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4084 | };
|
4085 | type?: "heading_3";
|
4086 | object?: "block";
|
4087 | } | {
|
4088 | paragraph: {
|
4089 | rich_text: Array<RichTextItemRequest>;
|
4090 | color?: ApiColor;
|
4091 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4092 | };
|
4093 | type?: "paragraph";
|
4094 | object?: "block";
|
4095 | } | {
|
4096 | bulleted_list_item: {
|
4097 | rich_text: Array<RichTextItemRequest>;
|
4098 | color?: ApiColor;
|
4099 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4100 | };
|
4101 | type?: "bulleted_list_item";
|
4102 | object?: "block";
|
4103 | } | {
|
4104 | numbered_list_item: {
|
4105 | rich_text: Array<RichTextItemRequest>;
|
4106 | color?: ApiColor;
|
4107 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4108 | };
|
4109 | type?: "numbered_list_item";
|
4110 | object?: "block";
|
4111 | } | {
|
4112 | quote: {
|
4113 | rich_text: Array<RichTextItemRequest>;
|
4114 | color?: ApiColor;
|
4115 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4116 | };
|
4117 | type?: "quote";
|
4118 | object?: "block";
|
4119 | } | {
|
4120 | to_do: {
|
4121 | rich_text: Array<RichTextItemRequest>;
|
4122 | color?: ApiColor;
|
4123 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4124 | checked?: boolean;
|
4125 | };
|
4126 | type?: "to_do";
|
4127 | object?: "block";
|
4128 | } | {
|
4129 | toggle: {
|
4130 | rich_text: Array<RichTextItemRequest>;
|
4131 | color?: ApiColor;
|
4132 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4133 | };
|
4134 | type?: "toggle";
|
4135 | object?: "block";
|
4136 | } | {
|
4137 | template: {
|
4138 | rich_text: Array<RichTextItemRequest>;
|
4139 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4140 | };
|
4141 | type?: "template";
|
4142 | object?: "block";
|
4143 | } | {
|
4144 | callout: {
|
4145 | rich_text: Array<RichTextItemRequest>;
|
4146 | color?: ApiColor;
|
4147 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4148 | icon?: {
|
4149 | emoji: EmojiRequest;
|
4150 | type?: "emoji";
|
4151 | } | {
|
4152 | external: {
|
4153 | url: TextRequest;
|
4154 | };
|
4155 | type?: "external";
|
4156 | };
|
4157 | };
|
4158 | type?: "callout";
|
4159 | object?: "block";
|
4160 | } | {
|
4161 | synced_block: {
|
4162 | synced_from: {
|
4163 | block_id: IdRequest;
|
4164 | type?: "block_id";
|
4165 | } | null;
|
4166 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4167 | };
|
4168 | type?: "synced_block";
|
4169 | object?: "block";
|
4170 | }>;
|
4171 | icon?: {
|
4172 | emoji: EmojiRequest;
|
4173 | type?: "emoji";
|
4174 | } | {
|
4175 | external: {
|
4176 | url: TextRequest;
|
4177 | };
|
4178 | type?: "external";
|
4179 | };
|
4180 | };
|
4181 | type?: "callout";
|
4182 | object?: "block";
|
4183 | } | {
|
4184 | synced_block: {
|
4185 | synced_from: {
|
4186 | block_id: IdRequest;
|
4187 | type?: "block_id";
|
4188 | } | null;
|
4189 | children?: Array<{
|
4190 | embed: {
|
4191 | url: string;
|
4192 | caption?: Array<RichTextItemRequest>;
|
4193 | };
|
4194 | type?: "embed";
|
4195 | object?: "block";
|
4196 | } | {
|
4197 | bookmark: {
|
4198 | url: string;
|
4199 | caption?: Array<RichTextItemRequest>;
|
4200 | };
|
4201 | type?: "bookmark";
|
4202 | object?: "block";
|
4203 | } | {
|
4204 | image: {
|
4205 | external: {
|
4206 | url: TextRequest;
|
4207 | };
|
4208 | type?: "external";
|
4209 | caption?: Array<RichTextItemRequest>;
|
4210 | };
|
4211 | type?: "image";
|
4212 | object?: "block";
|
4213 | } | {
|
4214 | video: {
|
4215 | external: {
|
4216 | url: TextRequest;
|
4217 | };
|
4218 | type?: "external";
|
4219 | caption?: Array<RichTextItemRequest>;
|
4220 | };
|
4221 | type?: "video";
|
4222 | object?: "block";
|
4223 | } | {
|
4224 | pdf: {
|
4225 | external: {
|
4226 | url: TextRequest;
|
4227 | };
|
4228 | type?: "external";
|
4229 | caption?: Array<RichTextItemRequest>;
|
4230 | };
|
4231 | type?: "pdf";
|
4232 | object?: "block";
|
4233 | } | {
|
4234 | file: {
|
4235 | external: {
|
4236 | url: TextRequest;
|
4237 | };
|
4238 | type?: "external";
|
4239 | caption?: Array<RichTextItemRequest>;
|
4240 | };
|
4241 | type?: "file";
|
4242 | object?: "block";
|
4243 | } | {
|
4244 | audio: {
|
4245 | external: {
|
4246 | url: TextRequest;
|
4247 | };
|
4248 | type?: "external";
|
4249 | caption?: Array<RichTextItemRequest>;
|
4250 | };
|
4251 | type?: "audio";
|
4252 | object?: "block";
|
4253 | } | {
|
4254 | code: {
|
4255 | rich_text: Array<RichTextItemRequest>;
|
4256 | language: LanguageRequest;
|
4257 | caption?: Array<RichTextItemRequest>;
|
4258 | };
|
4259 | type?: "code";
|
4260 | object?: "block";
|
4261 | } | {
|
4262 | equation: {
|
4263 | expression: string;
|
4264 | };
|
4265 | type?: "equation";
|
4266 | object?: "block";
|
4267 | } | {
|
4268 | divider: EmptyObject;
|
4269 | type?: "divider";
|
4270 | object?: "block";
|
4271 | } | {
|
4272 | breadcrumb: EmptyObject;
|
4273 | type?: "breadcrumb";
|
4274 | object?: "block";
|
4275 | } | {
|
4276 | table_of_contents: {
|
4277 | color?: ApiColor;
|
4278 | };
|
4279 | type?: "table_of_contents";
|
4280 | object?: "block";
|
4281 | } | {
|
4282 | link_to_page: {
|
4283 | page_id: IdRequest;
|
4284 | type?: "page_id";
|
4285 | } | {
|
4286 | database_id: IdRequest;
|
4287 | type?: "database_id";
|
4288 | };
|
4289 | type?: "link_to_page";
|
4290 | object?: "block";
|
4291 | } | {
|
4292 | table_row: {
|
4293 | cells: Array<Array<RichTextItemRequest>>;
|
4294 | };
|
4295 | type?: "table_row";
|
4296 | object?: "block";
|
4297 | } | {
|
4298 | heading_1: {
|
4299 | rich_text: Array<RichTextItemRequest>;
|
4300 | color?: ApiColor;
|
4301 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4302 | };
|
4303 | type?: "heading_1";
|
4304 | object?: "block";
|
4305 | } | {
|
4306 | heading_2: {
|
4307 | rich_text: Array<RichTextItemRequest>;
|
4308 | color?: ApiColor;
|
4309 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4310 | };
|
4311 | type?: "heading_2";
|
4312 | object?: "block";
|
4313 | } | {
|
4314 | heading_3: {
|
4315 | rich_text: Array<RichTextItemRequest>;
|
4316 | color?: ApiColor;
|
4317 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4318 | };
|
4319 | type?: "heading_3";
|
4320 | object?: "block";
|
4321 | } | {
|
4322 | paragraph: {
|
4323 | rich_text: Array<RichTextItemRequest>;
|
4324 | color?: ApiColor;
|
4325 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4326 | };
|
4327 | type?: "paragraph";
|
4328 | object?: "block";
|
4329 | } | {
|
4330 | bulleted_list_item: {
|
4331 | rich_text: Array<RichTextItemRequest>;
|
4332 | color?: ApiColor;
|
4333 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4334 | };
|
4335 | type?: "bulleted_list_item";
|
4336 | object?: "block";
|
4337 | } | {
|
4338 | numbered_list_item: {
|
4339 | rich_text: Array<RichTextItemRequest>;
|
4340 | color?: ApiColor;
|
4341 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4342 | };
|
4343 | type?: "numbered_list_item";
|
4344 | object?: "block";
|
4345 | } | {
|
4346 | quote: {
|
4347 | rich_text: Array<RichTextItemRequest>;
|
4348 | color?: ApiColor;
|
4349 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4350 | };
|
4351 | type?: "quote";
|
4352 | object?: "block";
|
4353 | } | {
|
4354 | to_do: {
|
4355 | rich_text: Array<RichTextItemRequest>;
|
4356 | color?: ApiColor;
|
4357 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4358 | checked?: boolean;
|
4359 | };
|
4360 | type?: "to_do";
|
4361 | object?: "block";
|
4362 | } | {
|
4363 | toggle: {
|
4364 | rich_text: Array<RichTextItemRequest>;
|
4365 | color?: ApiColor;
|
4366 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4367 | };
|
4368 | type?: "toggle";
|
4369 | object?: "block";
|
4370 | } | {
|
4371 | template: {
|
4372 | rich_text: Array<RichTextItemRequest>;
|
4373 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4374 | };
|
4375 | type?: "template";
|
4376 | object?: "block";
|
4377 | } | {
|
4378 | callout: {
|
4379 | rich_text: Array<RichTextItemRequest>;
|
4380 | color?: ApiColor;
|
4381 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4382 | icon?: {
|
4383 | emoji: EmojiRequest;
|
4384 | type?: "emoji";
|
4385 | } | {
|
4386 | external: {
|
4387 | url: TextRequest;
|
4388 | };
|
4389 | type?: "external";
|
4390 | };
|
4391 | };
|
4392 | type?: "callout";
|
4393 | object?: "block";
|
4394 | } | {
|
4395 | synced_block: {
|
4396 | synced_from: {
|
4397 | block_id: IdRequest;
|
4398 | type?: "block_id";
|
4399 | } | null;
|
4400 | children?: Array<BlockObjectRequestWithoutChildren>;
|
4401 | };
|
4402 | type?: "synced_block";
|
4403 | object?: "block";
|
4404 | }>;
|
4405 | };
|
4406 | type?: "synced_block";
|
4407 | object?: "block";
|
4408 | };
|
4409 | declare type ExistencePropertyFilter = {
|
4410 | is_empty: true;
|
4411 | } | {
|
4412 | is_not_empty: true;
|
4413 | };
|
4414 | declare type TextPropertyFilter = {
|
4415 | equals: string;
|
4416 | } | {
|
4417 | does_not_equal: string;
|
4418 | } | {
|
4419 | contains: string;
|
4420 | } | {
|
4421 | does_not_contain: string;
|
4422 | } | {
|
4423 | starts_with: string;
|
4424 | } | {
|
4425 | ends_with: string;
|
4426 | } | ExistencePropertyFilter;
|
4427 | declare type NumberPropertyFilter = {
|
4428 | equals: number;
|
4429 | } | {
|
4430 | does_not_equal: number;
|
4431 | } | {
|
4432 | greater_than: number;
|
4433 | } | {
|
4434 | less_than: number;
|
4435 | } | {
|
4436 | greater_than_or_equal_to: number;
|
4437 | } | {
|
4438 | less_than_or_equal_to: number;
|
4439 | } | ExistencePropertyFilter;
|
4440 | declare type CheckboxPropertyFilter = {
|
4441 | equals: boolean;
|
4442 | } | {
|
4443 | does_not_equal: boolean;
|
4444 | };
|
4445 | declare type SelectPropertyFilter = {
|
4446 | equals: string;
|
4447 | } | {
|
4448 | does_not_equal: string;
|
4449 | } | ExistencePropertyFilter;
|
4450 | declare type MultiSelectPropertyFilter = {
|
4451 | contains: string;
|
4452 | } | {
|
4453 | does_not_contain: string;
|
4454 | } | ExistencePropertyFilter;
|
4455 | declare type DatePropertyFilter = {
|
4456 | equals: string;
|
4457 | } | {
|
4458 | before: string;
|
4459 | } | {
|
4460 | after: string;
|
4461 | } | {
|
4462 | on_or_before: string;
|
4463 | } | {
|
4464 | on_or_after: string;
|
4465 | } | {
|
4466 | past_week: EmptyObject;
|
4467 | } | {
|
4468 | past_month: EmptyObject;
|
4469 | } | {
|
4470 | past_year: EmptyObject;
|
4471 | } | {
|
4472 | next_week: EmptyObject;
|
4473 | } | {
|
4474 | next_month: EmptyObject;
|
4475 | } | {
|
4476 | next_year: EmptyObject;
|
4477 | } | ExistencePropertyFilter;
|
4478 | declare type PeoplePropertyFilter = {
|
4479 | contains: IdRequest;
|
4480 | } | {
|
4481 | does_not_contain: IdRequest;
|
4482 | } | ExistencePropertyFilter;
|
4483 | declare type RelationPropertyFilter = {
|
4484 | contains: IdRequest;
|
4485 | } | {
|
4486 | does_not_contain: IdRequest;
|
4487 | } | ExistencePropertyFilter;
|
4488 | declare type FormulaPropertyFilter = {
|
4489 | string: TextPropertyFilter;
|
4490 | } | {
|
4491 | checkbox: CheckboxPropertyFilter;
|
4492 | } | {
|
4493 | number: NumberPropertyFilter;
|
4494 | } | {
|
4495 | date: DatePropertyFilter;
|
4496 | };
|
4497 | declare type RollupSubfilterPropertyFilter = {
|
4498 | rich_text: TextPropertyFilter;
|
4499 | } | {
|
4500 | number: NumberPropertyFilter;
|
4501 | } | {
|
4502 | checkbox: CheckboxPropertyFilter;
|
4503 | } | {
|
4504 | select: SelectPropertyFilter;
|
4505 | } | {
|
4506 | multi_select: MultiSelectPropertyFilter;
|
4507 | } | {
|
4508 | relation: RelationPropertyFilter;
|
4509 | } | {
|
4510 | date: DatePropertyFilter;
|
4511 | } | {
|
4512 | people: PeoplePropertyFilter;
|
4513 | } | {
|
4514 | files: ExistencePropertyFilter;
|
4515 | };
|
4516 | declare type RollupPropertyFilter = {
|
4517 | any: RollupSubfilterPropertyFilter;
|
4518 | } | {
|
4519 | none: RollupSubfilterPropertyFilter;
|
4520 | } | {
|
4521 | every: RollupSubfilterPropertyFilter;
|
4522 | } | {
|
4523 | date: DatePropertyFilter;
|
4524 | } | {
|
4525 | number: NumberPropertyFilter;
|
4526 | };
|
4527 | declare type PropertyFilter = {
|
4528 | title: TextPropertyFilter;
|
4529 | property: string;
|
4530 | type?: "title";
|
4531 | } | {
|
4532 | rich_text: TextPropertyFilter;
|
4533 | property: string;
|
4534 | type?: "rich_text";
|
4535 | } | {
|
4536 | number: NumberPropertyFilter;
|
4537 | property: string;
|
4538 | type?: "number";
|
4539 | } | {
|
4540 | checkbox: CheckboxPropertyFilter;
|
4541 | property: string;
|
4542 | type?: "checkbox";
|
4543 | } | {
|
4544 | select: SelectPropertyFilter;
|
4545 | property: string;
|
4546 | type?: "select";
|
4547 | } | {
|
4548 | multi_select: MultiSelectPropertyFilter;
|
4549 | property: string;
|
4550 | type?: "multi_select";
|
4551 | } | {
|
4552 | date: DatePropertyFilter;
|
4553 | property: string;
|
4554 | type?: "date";
|
4555 | } | {
|
4556 | people: PeoplePropertyFilter;
|
4557 | property: string;
|
4558 | type?: "people";
|
4559 | } | {
|
4560 | files: ExistencePropertyFilter;
|
4561 | property: string;
|
4562 | type?: "files";
|
4563 | } | {
|
4564 | url: TextPropertyFilter;
|
4565 | property: string;
|
4566 | type?: "url";
|
4567 | } | {
|
4568 | email: TextPropertyFilter;
|
4569 | property: string;
|
4570 | type?: "email";
|
4571 | } | {
|
4572 | phone_number: TextPropertyFilter;
|
4573 | property: string;
|
4574 | type?: "phone_number";
|
4575 | } | {
|
4576 | relation: RelationPropertyFilter;
|
4577 | property: string;
|
4578 | type?: "relation";
|
4579 | } | {
|
4580 | created_by: PeoplePropertyFilter;
|
4581 | property: string;
|
4582 | type?: "created_by";
|
4583 | } | {
|
4584 | created_time: DatePropertyFilter;
|
4585 | property: string;
|
4586 | type?: "created_time";
|
4587 | } | {
|
4588 | last_edited_by: PeoplePropertyFilter;
|
4589 | property: string;
|
4590 | type?: "last_edited_by";
|
4591 | } | {
|
4592 | last_edited_time: DatePropertyFilter;
|
4593 | property: string;
|
4594 | type?: "last_edited_time";
|
4595 | } | {
|
4596 | formula: FormulaPropertyFilter;
|
4597 | property: string;
|
4598 | type?: "formula";
|
4599 | } | {
|
4600 | rollup: RollupPropertyFilter;
|
4601 | property: string;
|
4602 | type?: "rollup";
|
4603 | };
|
4604 | export declare type GetSelfParameters = Record<string, never>;
|
4605 | export declare type GetSelfResponse = UserObjectResponse;
|
4606 | export declare const getSelf: {
|
4607 | readonly method: "get";
|
4608 | readonly pathParams: readonly [];
|
4609 | readonly queryParams: readonly [];
|
4610 | readonly bodyParams: readonly [];
|
4611 | readonly path: () => string;
|
4612 | };
|
4613 | declare type GetUserPathParameters = {
|
4614 | user_id: IdRequest;
|
4615 | };
|
4616 | export declare type GetUserParameters = GetUserPathParameters;
|
4617 | export declare type GetUserResponse = UserObjectResponse;
|
4618 | export declare const getUser: {
|
4619 | readonly method: "get";
|
4620 | readonly pathParams: readonly ["user_id"];
|
4621 | readonly queryParams: readonly [];
|
4622 | readonly bodyParams: readonly [];
|
4623 | readonly path: (p: GetUserPathParameters) => string;
|
4624 | };
|
4625 | declare type ListUsersQueryParameters = {
|
4626 | start_cursor?: string;
|
4627 | page_size?: number;
|
4628 | };
|
4629 | export declare type ListUsersParameters = ListUsersQueryParameters;
|
4630 | export declare type ListUsersResponse = {
|
4631 | type: "user";
|
4632 | user: EmptyObject;
|
4633 | object: "list";
|
4634 | next_cursor: string | null;
|
4635 | has_more: boolean;
|
4636 | results: Array<UserObjectResponse>;
|
4637 | };
|
4638 | export declare const listUsers: {
|
4639 | readonly method: "get";
|
4640 | readonly pathParams: readonly [];
|
4641 | readonly queryParams: readonly ["start_cursor", "page_size"];
|
4642 | readonly bodyParams: readonly [];
|
4643 | readonly path: () => string;
|
4644 | };
|
4645 | declare type CreatePageBodyParameters = {
|
4646 | parent: {
|
4647 | database_id: IdRequest;
|
4648 | type?: "database_id";
|
4649 | };
|
4650 | properties: Record<string, {
|
4651 | title: Array<RichTextItemRequest>;
|
4652 | type?: "title";
|
4653 | } | {
|
4654 | rich_text: Array<RichTextItemRequest>;
|
4655 | type?: "rich_text";
|
4656 | } | {
|
4657 | number: number | null;
|
4658 | type?: "number";
|
4659 | } | {
|
4660 | url: TextRequest | null;
|
4661 | type?: "url";
|
4662 | } | {
|
4663 | select: {
|
4664 | id: StringRequest;
|
4665 | name?: StringRequest;
|
4666 | color?: SelectColor;
|
4667 | } | null | {
|
4668 | name: StringRequest;
|
4669 | id?: StringRequest;
|
4670 | color?: SelectColor;
|
4671 | } | null;
|
4672 | type?: "select";
|
4673 | } | {
|
4674 | multi_select: Array<{
|
4675 | id: StringRequest;
|
4676 | name?: StringRequest;
|
4677 | color?: SelectColor;
|
4678 | } | {
|
4679 | name: StringRequest;
|
4680 | id?: StringRequest;
|
4681 | color?: SelectColor;
|
4682 | }>;
|
4683 | type?: "multi_select";
|
4684 | } | {
|
4685 | people: Array<{
|
4686 | id: IdRequest;
|
4687 | } | {
|
4688 | person: {
|
4689 | email?: string;
|
4690 | };
|
4691 | id: IdRequest;
|
4692 | type?: "person";
|
4693 | name?: string | null;
|
4694 | avatar_url?: string | null;
|
4695 | object?: "user";
|
4696 | } | {
|
4697 | bot: EmptyObject | {
|
4698 | owner: {
|
4699 | type: "user";
|
4700 | user: {
|
4701 | type: "person";
|
4702 | person: {
|
4703 | email: string;
|
4704 | };
|
4705 | name: string | null;
|
4706 | avatar_url: string | null;
|
4707 | id: IdRequest;
|
4708 | object: "user";
|
4709 | } | {
|
4710 | id: IdRequest;
|
4711 | object: "user";
|
4712 | };
|
4713 | } | {
|
4714 | type: "workspace";
|
4715 | workspace: true;
|
4716 | };
|
4717 | };
|
4718 | id: IdRequest;
|
4719 | type?: "bot";
|
4720 | name?: string | null;
|
4721 | avatar_url?: string | null;
|
4722 | object?: "user";
|
4723 | }>;
|
4724 | type?: "people";
|
4725 | } | {
|
4726 | email: StringRequest | null;
|
4727 | type?: "email";
|
4728 | } | {
|
4729 | phone_number: StringRequest | null;
|
4730 | type?: "phone_number";
|
4731 | } | {
|
4732 | date: DateRequest | null;
|
4733 | type?: "date";
|
4734 | } | {
|
4735 | checkbox: boolean;
|
4736 | type?: "checkbox";
|
4737 | } | {
|
4738 | relation: Array<{
|
4739 | id: IdRequest;
|
4740 | }>;
|
4741 | type?: "relation";
|
4742 | } | {
|
4743 | files: Array<{
|
4744 | file: {
|
4745 | url: string;
|
4746 | expiry_time?: string;
|
4747 | };
|
4748 | name: StringRequest;
|
4749 | type?: "file";
|
4750 | } | {
|
4751 | external: {
|
4752 | url: TextRequest;
|
4753 | };
|
4754 | name: StringRequest;
|
4755 | type?: "external";
|
4756 | }>;
|
4757 | type?: "files";
|
4758 | }> | Record<string, Array<RichTextItemRequest> | Array<RichTextItemRequest> | number | null | TextRequest | null | {
|
4759 | id: StringRequest;
|
4760 | name?: StringRequest;
|
4761 | color?: SelectColor;
|
4762 | } | null | {
|
4763 | name: StringRequest;
|
4764 | id?: StringRequest;
|
4765 | color?: SelectColor;
|
4766 | } | null | Array<{
|
4767 | id: StringRequest;
|
4768 | name?: StringRequest;
|
4769 | color?: SelectColor;
|
4770 | } | {
|
4771 | name: StringRequest;
|
4772 | id?: StringRequest;
|
4773 | color?: SelectColor;
|
4774 | }> | Array<{
|
4775 | id: IdRequest;
|
4776 | } | {
|
4777 | person: {
|
4778 | email?: string;
|
4779 | };
|
4780 | id: IdRequest;
|
4781 | type?: "person";
|
4782 | name?: string | null;
|
4783 | avatar_url?: string | null;
|
4784 | object?: "user";
|
4785 | } | {
|
4786 | bot: EmptyObject | {
|
4787 | owner: {
|
4788 | type: "user";
|
4789 | user: {
|
4790 | type: "person";
|
4791 | person: {
|
4792 | email: string;
|
4793 | };
|
4794 | name: string | null;
|
4795 | avatar_url: string | null;
|
4796 | id: IdRequest;
|
4797 | object: "user";
|
4798 | } | {
|
4799 | id: IdRequest;
|
4800 | object: "user";
|
4801 | };
|
4802 | } | {
|
4803 | type: "workspace";
|
4804 | workspace: true;
|
4805 | };
|
4806 | };
|
4807 | id: IdRequest;
|
4808 | type?: "bot";
|
4809 | name?: string | null;
|
4810 | avatar_url?: string | null;
|
4811 | object?: "user";
|
4812 | }> | StringRequest | null | StringRequest | null | DateRequest | null | boolean | Array<{
|
4813 | id: IdRequest;
|
4814 | }> | Array<{
|
4815 | file: {
|
4816 | url: string;
|
4817 | expiry_time?: string;
|
4818 | };
|
4819 | name: StringRequest;
|
4820 | type?: "file";
|
4821 | } | {
|
4822 | external: {
|
4823 | url: TextRequest;
|
4824 | };
|
4825 | name: StringRequest;
|
4826 | type?: "external";
|
4827 | }>>;
|
4828 | icon?: {
|
4829 | emoji: EmojiRequest;
|
4830 | type?: "emoji";
|
4831 | } | null | {
|
4832 | external: {
|
4833 | url: TextRequest;
|
4834 | };
|
4835 | type?: "external";
|
4836 | } | null;
|
4837 | cover?: {
|
4838 | external: {
|
4839 | url: TextRequest;
|
4840 | };
|
4841 | type?: "external";
|
4842 | } | null;
|
4843 | content?: Array<BlockObjectRequest>;
|
4844 | children?: Array<BlockObjectRequest>;
|
4845 | } | {
|
4846 | parent: {
|
4847 | page_id: IdRequest;
|
4848 | type?: "page_id";
|
4849 | };
|
4850 | properties: {
|
4851 | title?: {
|
4852 | title: Array<RichTextItemRequest>;
|
4853 | type?: "title";
|
4854 | } | Array<RichTextItemRequest>;
|
4855 | };
|
4856 | icon?: {
|
4857 | emoji: EmojiRequest;
|
4858 | type?: "emoji";
|
4859 | } | null | {
|
4860 | external: {
|
4861 | url: TextRequest;
|
4862 | };
|
4863 | type?: "external";
|
4864 | } | null;
|
4865 | cover?: {
|
4866 | external: {
|
4867 | url: TextRequest;
|
4868 | };
|
4869 | type?: "external";
|
4870 | } | null;
|
4871 | children?: Array<BlockObjectRequest>;
|
4872 | };
|
4873 | export declare type CreatePageParameters = CreatePageBodyParameters;
|
4874 | export declare type CreatePageResponse = {
|
4875 | parent: {
|
4876 | type: "database_id";
|
4877 | database_id: IdRequest;
|
4878 | } | {
|
4879 | type: "page_id";
|
4880 | page_id: IdRequest;
|
4881 | } | {
|
4882 | type: "workspace";
|
4883 | workspace: true;
|
4884 | };
|
4885 | properties: Record<string, {
|
4886 | type: "number";
|
4887 | number: number | null;
|
4888 | id: string;
|
4889 | } | {
|
4890 | type: "url";
|
4891 | url: string | null;
|
4892 | id: string;
|
4893 | } | {
|
4894 | type: "select";
|
4895 | select: SelectPropertyResponse | null;
|
4896 | id: string;
|
4897 | } | {
|
4898 | type: "multi_select";
|
4899 | multi_select: Array<SelectPropertyResponse>;
|
4900 | id: string;
|
4901 | } | {
|
4902 | type: "date";
|
4903 | date: DateResponse | null;
|
4904 | id: string;
|
4905 | } | {
|
4906 | type: "email";
|
4907 | email: string | null;
|
4908 | id: string;
|
4909 | } | {
|
4910 | type: "phone_number";
|
4911 | phone_number: string | null;
|
4912 | id: string;
|
4913 | } | {
|
4914 | type: "checkbox";
|
4915 | checkbox: boolean;
|
4916 | id: string;
|
4917 | } | {
|
4918 | type: "files";
|
4919 | files: Array<{
|
4920 | file: {
|
4921 | url: string;
|
4922 | expiry_time: string;
|
4923 | };
|
4924 | name: StringRequest;
|
4925 | type?: "file";
|
4926 | } | {
|
4927 | external: {
|
4928 | url: TextRequest;
|
4929 | };
|
4930 | name: StringRequest;
|
4931 | type?: "external";
|
4932 | }>;
|
4933 | id: string;
|
4934 | } | {
|
4935 | type: "created_by";
|
4936 | created_by: PartialUserObjectResponse;
|
4937 | id: string;
|
4938 | } | {
|
4939 | type: "created_time";
|
4940 | created_time: string;
|
4941 | id: string;
|
4942 | } | {
|
4943 | type: "last_edited_by";
|
4944 | last_edited_by: PartialUserObjectResponse;
|
4945 | id: string;
|
4946 | } | {
|
4947 | type: "last_edited_time";
|
4948 | last_edited_time: string;
|
4949 | id: string;
|
4950 | } | {
|
4951 | type: "formula";
|
4952 | formula: {
|
4953 | type: "string";
|
4954 | string: string | null;
|
4955 | } | {
|
4956 | type: "date";
|
4957 | date: DateResponse | null;
|
4958 | } | {
|
4959 | type: "number";
|
4960 | number: number | null;
|
4961 | } | {
|
4962 | type: "boolean";
|
4963 | boolean: boolean | null;
|
4964 | };
|
4965 | id: string;
|
4966 | } | {
|
4967 | type: "title";
|
4968 | title: Array<RichTextItemResponse>;
|
4969 | id: string;
|
4970 | } | {
|
4971 | type: "rich_text";
|
4972 | rich_text: Array<RichTextItemResponse>;
|
4973 | id: string;
|
4974 | } | {
|
4975 | type: "people";
|
4976 | people: Array<PartialUserObjectResponse>;
|
4977 | id: string;
|
4978 | } | {
|
4979 | type: "relation";
|
4980 | relation: Array<{
|
4981 | id: string;
|
4982 | }>;
|
4983 | id: string;
|
4984 | } | {
|
4985 | type: "rollup";
|
4986 | rollup: {
|
4987 | type: "number";
|
4988 | number: number | null;
|
4989 | function: RollupFunction;
|
4990 | } | {
|
4991 | type: "date";
|
4992 | date: DateResponse | null;
|
4993 | function: RollupFunction;
|
4994 | } | {
|
4995 | type: "array";
|
4996 | array: Array<{
|
4997 | type: "title";
|
4998 | title: Array<RichTextItemResponse>;
|
4999 | } | {
|
5000 | type: "rich_text";
|
5001 | rich_text: Array<RichTextItemResponse>;
|
5002 | } | {
|
5003 | type: "people";
|
5004 | people: Array<PartialUserObjectResponse>;
|
5005 | } | {
|
5006 | type: "relation";
|
5007 | relation: Array<{
|
5008 | id: string;
|
5009 | }>;
|
5010 | }>;
|
5011 | function: RollupFunction;
|
5012 | };
|
5013 | id: string;
|
5014 | }>;
|
5015 | icon: {
|
5016 | type: "emoji";
|
5017 | emoji: EmojiRequest;
|
5018 | } | null | {
|
5019 | type: "external";
|
5020 | external: {
|
5021 | url: TextRequest;
|
5022 | };
|
5023 | } | null | {
|
5024 | type: "file";
|
5025 | file: {
|
5026 | url: string;
|
5027 | expiry_time: string;
|
5028 | };
|
5029 | } | null;
|
5030 | cover: {
|
5031 | type: "external";
|
5032 | external: {
|
5033 | url: TextRequest;
|
5034 | };
|
5035 | } | null | {
|
5036 | type: "file";
|
5037 | file: {
|
5038 | url: string;
|
5039 | expiry_time: string;
|
5040 | };
|
5041 | } | null;
|
5042 | created_by: {
|
5043 | id: IdRequest;
|
5044 | object: "user";
|
5045 | };
|
5046 | last_edited_by: {
|
5047 | id: IdRequest;
|
5048 | object: "user";
|
5049 | };
|
5050 | object: "page";
|
5051 | id: string;
|
5052 | created_time: string;
|
5053 | last_edited_time: string;
|
5054 | archived: boolean;
|
5055 | url: string;
|
5056 | } | {
|
5057 | object: "page";
|
5058 | id: string;
|
5059 | };
|
5060 | export declare const createPage: {
|
5061 | readonly method: "post";
|
5062 | readonly pathParams: readonly [];
|
5063 | readonly queryParams: readonly [];
|
5064 | readonly bodyParams: readonly ["parent", "properties", "icon", "cover", "content", "children"];
|
5065 | readonly path: () => string;
|
5066 | };
|
5067 | declare type GetPagePathParameters = {
|
5068 | page_id: IdRequest;
|
5069 | };
|
5070 | export declare type GetPageParameters = GetPagePathParameters;
|
5071 | export declare type GetPageResponse = {
|
5072 | parent: {
|
5073 | type: "database_id";
|
5074 | database_id: IdRequest;
|
5075 | } | {
|
5076 | type: "page_id";
|
5077 | page_id: IdRequest;
|
5078 | } | {
|
5079 | type: "workspace";
|
5080 | workspace: true;
|
5081 | };
|
5082 | properties: Record<string, {
|
5083 | type: "number";
|
5084 | number: number | null;
|
5085 | id: string;
|
5086 | } | {
|
5087 | type: "url";
|
5088 | url: string | null;
|
5089 | id: string;
|
5090 | } | {
|
5091 | type: "select";
|
5092 | select: SelectPropertyResponse | null;
|
5093 | id: string;
|
5094 | } | {
|
5095 | type: "multi_select";
|
5096 | multi_select: Array<SelectPropertyResponse>;
|
5097 | id: string;
|
5098 | } | {
|
5099 | type: "date";
|
5100 | date: DateResponse | null;
|
5101 | id: string;
|
5102 | } | {
|
5103 | type: "email";
|
5104 | email: string | null;
|
5105 | id: string;
|
5106 | } | {
|
5107 | type: "phone_number";
|
5108 | phone_number: string | null;
|
5109 | id: string;
|
5110 | } | {
|
5111 | type: "checkbox";
|
5112 | checkbox: boolean;
|
5113 | id: string;
|
5114 | } | {
|
5115 | type: "files";
|
5116 | files: Array<{
|
5117 | file: {
|
5118 | url: string;
|
5119 | expiry_time: string;
|
5120 | };
|
5121 | name: StringRequest;
|
5122 | type?: "file";
|
5123 | } | {
|
5124 | external: {
|
5125 | url: TextRequest;
|
5126 | };
|
5127 | name: StringRequest;
|
5128 | type?: "external";
|
5129 | }>;
|
5130 | id: string;
|
5131 | } | {
|
5132 | type: "created_by";
|
5133 | created_by: PartialUserObjectResponse;
|
5134 | id: string;
|
5135 | } | {
|
5136 | type: "created_time";
|
5137 | created_time: string;
|
5138 | id: string;
|
5139 | } | {
|
5140 | type: "last_edited_by";
|
5141 | last_edited_by: PartialUserObjectResponse;
|
5142 | id: string;
|
5143 | } | {
|
5144 | type: "last_edited_time";
|
5145 | last_edited_time: string;
|
5146 | id: string;
|
5147 | } | {
|
5148 | type: "formula";
|
5149 | formula: {
|
5150 | type: "string";
|
5151 | string: string | null;
|
5152 | } | {
|
5153 | type: "date";
|
5154 | date: DateResponse | null;
|
5155 | } | {
|
5156 | type: "number";
|
5157 | number: number | null;
|
5158 | } | {
|
5159 | type: "boolean";
|
5160 | boolean: boolean | null;
|
5161 | };
|
5162 | id: string;
|
5163 | } | {
|
5164 | type: "title";
|
5165 | title: Array<RichTextItemResponse>;
|
5166 | id: string;
|
5167 | } | {
|
5168 | type: "rich_text";
|
5169 | rich_text: Array<RichTextItemResponse>;
|
5170 | id: string;
|
5171 | } | {
|
5172 | type: "people";
|
5173 | people: Array<PartialUserObjectResponse>;
|
5174 | id: string;
|
5175 | } | {
|
5176 | type: "relation";
|
5177 | relation: Array<{
|
5178 | id: string;
|
5179 | }>;
|
5180 | id: string;
|
5181 | } | {
|
5182 | type: "rollup";
|
5183 | rollup: {
|
5184 | type: "number";
|
5185 | number: number | null;
|
5186 | function: RollupFunction;
|
5187 | } | {
|
5188 | type: "date";
|
5189 | date: DateResponse | null;
|
5190 | function: RollupFunction;
|
5191 | } | {
|
5192 | type: "array";
|
5193 | array: Array<{
|
5194 | type: "title";
|
5195 | title: Array<RichTextItemResponse>;
|
5196 | } | {
|
5197 | type: "rich_text";
|
5198 | rich_text: Array<RichTextItemResponse>;
|
5199 | } | {
|
5200 | type: "people";
|
5201 | people: Array<PartialUserObjectResponse>;
|
5202 | } | {
|
5203 | type: "relation";
|
5204 | relation: Array<{
|
5205 | id: string;
|
5206 | }>;
|
5207 | }>;
|
5208 | function: RollupFunction;
|
5209 | };
|
5210 | id: string;
|
5211 | }>;
|
5212 | icon: {
|
5213 | type: "emoji";
|
5214 | emoji: EmojiRequest;
|
5215 | } | null | {
|
5216 | type: "external";
|
5217 | external: {
|
5218 | url: TextRequest;
|
5219 | };
|
5220 | } | null | {
|
5221 | type: "file";
|
5222 | file: {
|
5223 | url: string;
|
5224 | expiry_time: string;
|
5225 | };
|
5226 | } | null;
|
5227 | cover: {
|
5228 | type: "external";
|
5229 | external: {
|
5230 | url: TextRequest;
|
5231 | };
|
5232 | } | null | {
|
5233 | type: "file";
|
5234 | file: {
|
5235 | url: string;
|
5236 | expiry_time: string;
|
5237 | };
|
5238 | } | null;
|
5239 | created_by: {
|
5240 | id: IdRequest;
|
5241 | object: "user";
|
5242 | };
|
5243 | last_edited_by: {
|
5244 | id: IdRequest;
|
5245 | object: "user";
|
5246 | };
|
5247 | object: "page";
|
5248 | id: string;
|
5249 | created_time: string;
|
5250 | last_edited_time: string;
|
5251 | archived: boolean;
|
5252 | url: string;
|
5253 | } | {
|
5254 | object: "page";
|
5255 | id: string;
|
5256 | };
|
5257 | export declare const getPage: {
|
5258 | readonly method: "get";
|
5259 | readonly pathParams: readonly ["page_id"];
|
5260 | readonly queryParams: readonly [];
|
5261 | readonly bodyParams: readonly [];
|
5262 | readonly path: (p: GetPagePathParameters) => string;
|
5263 | };
|
5264 | declare type UpdatePagePathParameters = {
|
5265 | page_id: IdRequest;
|
5266 | };
|
5267 | declare type UpdatePageBodyParameters = {
|
5268 | properties?: Record<string, {
|
5269 | title: Array<RichTextItemRequest>;
|
5270 | type?: "title";
|
5271 | } | {
|
5272 | rich_text: Array<RichTextItemRequest>;
|
5273 | type?: "rich_text";
|
5274 | } | {
|
5275 | number: number | null;
|
5276 | type?: "number";
|
5277 | } | {
|
5278 | url: TextRequest | null;
|
5279 | type?: "url";
|
5280 | } | {
|
5281 | select: {
|
5282 | id: StringRequest;
|
5283 | name?: StringRequest;
|
5284 | color?: SelectColor;
|
5285 | } | null | {
|
5286 | name: StringRequest;
|
5287 | id?: StringRequest;
|
5288 | color?: SelectColor;
|
5289 | } | null;
|
5290 | type?: "select";
|
5291 | } | {
|
5292 | multi_select: Array<{
|
5293 | id: StringRequest;
|
5294 | name?: StringRequest;
|
5295 | color?: SelectColor;
|
5296 | } | {
|
5297 | name: StringRequest;
|
5298 | id?: StringRequest;
|
5299 | color?: SelectColor;
|
5300 | }>;
|
5301 | type?: "multi_select";
|
5302 | } | {
|
5303 | people: Array<{
|
5304 | id: IdRequest;
|
5305 | } | {
|
5306 | person: {
|
5307 | email?: string;
|
5308 | };
|
5309 | id: IdRequest;
|
5310 | type?: "person";
|
5311 | name?: string | null;
|
5312 | avatar_url?: string | null;
|
5313 | object?: "user";
|
5314 | } | {
|
5315 | bot: EmptyObject | {
|
5316 | owner: {
|
5317 | type: "user";
|
5318 | user: {
|
5319 | type: "person";
|
5320 | person: {
|
5321 | email: string;
|
5322 | };
|
5323 | name: string | null;
|
5324 | avatar_url: string | null;
|
5325 | id: IdRequest;
|
5326 | object: "user";
|
5327 | } | {
|
5328 | id: IdRequest;
|
5329 | object: "user";
|
5330 | };
|
5331 | } | {
|
5332 | type: "workspace";
|
5333 | workspace: true;
|
5334 | };
|
5335 | };
|
5336 | id: IdRequest;
|
5337 | type?: "bot";
|
5338 | name?: string | null;
|
5339 | avatar_url?: string | null;
|
5340 | object?: "user";
|
5341 | }>;
|
5342 | type?: "people";
|
5343 | } | {
|
5344 | email: StringRequest | null;
|
5345 | type?: "email";
|
5346 | } | {
|
5347 | phone_number: StringRequest | null;
|
5348 | type?: "phone_number";
|
5349 | } | {
|
5350 | date: DateRequest | null;
|
5351 | type?: "date";
|
5352 | } | {
|
5353 | checkbox: boolean;
|
5354 | type?: "checkbox";
|
5355 | } | {
|
5356 | relation: Array<{
|
5357 | id: IdRequest;
|
5358 | }>;
|
5359 | type?: "relation";
|
5360 | } | {
|
5361 | files: Array<{
|
5362 | file: {
|
5363 | url: string;
|
5364 | expiry_time?: string;
|
5365 | };
|
5366 | name: StringRequest;
|
5367 | type?: "file";
|
5368 | } | {
|
5369 | external: {
|
5370 | url: TextRequest;
|
5371 | };
|
5372 | name: StringRequest;
|
5373 | type?: "external";
|
5374 | }>;
|
5375 | type?: "files";
|
5376 | }> | Record<string, Array<RichTextItemRequest> | Array<RichTextItemRequest> | number | null | TextRequest | null | {
|
5377 | id: StringRequest;
|
5378 | name?: StringRequest;
|
5379 | color?: SelectColor;
|
5380 | } | null | {
|
5381 | name: StringRequest;
|
5382 | id?: StringRequest;
|
5383 | color?: SelectColor;
|
5384 | } | null | Array<{
|
5385 | id: StringRequest;
|
5386 | name?: StringRequest;
|
5387 | color?: SelectColor;
|
5388 | } | {
|
5389 | name: StringRequest;
|
5390 | id?: StringRequest;
|
5391 | color?: SelectColor;
|
5392 | }> | Array<{
|
5393 | id: IdRequest;
|
5394 | } | {
|
5395 | person: {
|
5396 | email?: string;
|
5397 | };
|
5398 | id: IdRequest;
|
5399 | type?: "person";
|
5400 | name?: string | null;
|
5401 | avatar_url?: string | null;
|
5402 | object?: "user";
|
5403 | } | {
|
5404 | bot: EmptyObject | {
|
5405 | owner: {
|
5406 | type: "user";
|
5407 | user: {
|
5408 | type: "person";
|
5409 | person: {
|
5410 | email: string;
|
5411 | };
|
5412 | name: string | null;
|
5413 | avatar_url: string | null;
|
5414 | id: IdRequest;
|
5415 | object: "user";
|
5416 | } | {
|
5417 | id: IdRequest;
|
5418 | object: "user";
|
5419 | };
|
5420 | } | {
|
5421 | type: "workspace";
|
5422 | workspace: true;
|
5423 | };
|
5424 | };
|
5425 | id: IdRequest;
|
5426 | type?: "bot";
|
5427 | name?: string | null;
|
5428 | avatar_url?: string | null;
|
5429 | object?: "user";
|
5430 | }> | StringRequest | null | StringRequest | null | DateRequest | null | boolean | Array<{
|
5431 | id: IdRequest;
|
5432 | }> | Array<{
|
5433 | file: {
|
5434 | url: string;
|
5435 | expiry_time?: string;
|
5436 | };
|
5437 | name: StringRequest;
|
5438 | type?: "file";
|
5439 | } | {
|
5440 | external: {
|
5441 | url: TextRequest;
|
5442 | };
|
5443 | name: StringRequest;
|
5444 | type?: "external";
|
5445 | }>>;
|
5446 | icon?: {
|
5447 | emoji: EmojiRequest;
|
5448 | type?: "emoji";
|
5449 | } | null | {
|
5450 | external: {
|
5451 | url: TextRequest;
|
5452 | };
|
5453 | type?: "external";
|
5454 | } | null;
|
5455 | cover?: {
|
5456 | external: {
|
5457 | url: TextRequest;
|
5458 | };
|
5459 | type?: "external";
|
5460 | } | null;
|
5461 | archived?: boolean;
|
5462 | };
|
5463 | export declare type UpdatePageParameters = UpdatePagePathParameters & UpdatePageBodyParameters;
|
5464 | export declare type UpdatePageResponse = {
|
5465 | parent: {
|
5466 | type: "database_id";
|
5467 | database_id: IdRequest;
|
5468 | } | {
|
5469 | type: "page_id";
|
5470 | page_id: IdRequest;
|
5471 | } | {
|
5472 | type: "workspace";
|
5473 | workspace: true;
|
5474 | };
|
5475 | properties: Record<string, {
|
5476 | type: "number";
|
5477 | number: number | null;
|
5478 | id: string;
|
5479 | } | {
|
5480 | type: "url";
|
5481 | url: string | null;
|
5482 | id: string;
|
5483 | } | {
|
5484 | type: "select";
|
5485 | select: SelectPropertyResponse | null;
|
5486 | id: string;
|
5487 | } | {
|
5488 | type: "multi_select";
|
5489 | multi_select: Array<SelectPropertyResponse>;
|
5490 | id: string;
|
5491 | } | {
|
5492 | type: "date";
|
5493 | date: DateResponse | null;
|
5494 | id: string;
|
5495 | } | {
|
5496 | type: "email";
|
5497 | email: string | null;
|
5498 | id: string;
|
5499 | } | {
|
5500 | type: "phone_number";
|
5501 | phone_number: string | null;
|
5502 | id: string;
|
5503 | } | {
|
5504 | type: "checkbox";
|
5505 | checkbox: boolean;
|
5506 | id: string;
|
5507 | } | {
|
5508 | type: "files";
|
5509 | files: Array<{
|
5510 | file: {
|
5511 | url: string;
|
5512 | expiry_time: string;
|
5513 | };
|
5514 | name: StringRequest;
|
5515 | type?: "file";
|
5516 | } | {
|
5517 | external: {
|
5518 | url: TextRequest;
|
5519 | };
|
5520 | name: StringRequest;
|
5521 | type?: "external";
|
5522 | }>;
|
5523 | id: string;
|
5524 | } | {
|
5525 | type: "created_by";
|
5526 | created_by: PartialUserObjectResponse;
|
5527 | id: string;
|
5528 | } | {
|
5529 | type: "created_time";
|
5530 | created_time: string;
|
5531 | id: string;
|
5532 | } | {
|
5533 | type: "last_edited_by";
|
5534 | last_edited_by: PartialUserObjectResponse;
|
5535 | id: string;
|
5536 | } | {
|
5537 | type: "last_edited_time";
|
5538 | last_edited_time: string;
|
5539 | id: string;
|
5540 | } | {
|
5541 | type: "formula";
|
5542 | formula: {
|
5543 | type: "string";
|
5544 | string: string | null;
|
5545 | } | {
|
5546 | type: "date";
|
5547 | date: DateResponse | null;
|
5548 | } | {
|
5549 | type: "number";
|
5550 | number: number | null;
|
5551 | } | {
|
5552 | type: "boolean";
|
5553 | boolean: boolean | null;
|
5554 | };
|
5555 | id: string;
|
5556 | } | {
|
5557 | type: "title";
|
5558 | title: Array<RichTextItemResponse>;
|
5559 | id: string;
|
5560 | } | {
|
5561 | type: "rich_text";
|
5562 | rich_text: Array<RichTextItemResponse>;
|
5563 | id: string;
|
5564 | } | {
|
5565 | type: "people";
|
5566 | people: Array<PartialUserObjectResponse>;
|
5567 | id: string;
|
5568 | } | {
|
5569 | type: "relation";
|
5570 | relation: Array<{
|
5571 | id: string;
|
5572 | }>;
|
5573 | id: string;
|
5574 | } | {
|
5575 | type: "rollup";
|
5576 | rollup: {
|
5577 | type: "number";
|
5578 | number: number | null;
|
5579 | function: RollupFunction;
|
5580 | } | {
|
5581 | type: "date";
|
5582 | date: DateResponse | null;
|
5583 | function: RollupFunction;
|
5584 | } | {
|
5585 | type: "array";
|
5586 | array: Array<{
|
5587 | type: "title";
|
5588 | title: Array<RichTextItemResponse>;
|
5589 | } | {
|
5590 | type: "rich_text";
|
5591 | rich_text: Array<RichTextItemResponse>;
|
5592 | } | {
|
5593 | type: "people";
|
5594 | people: Array<PartialUserObjectResponse>;
|
5595 | } | {
|
5596 | type: "relation";
|
5597 | relation: Array<{
|
5598 | id: string;
|
5599 | }>;
|
5600 | }>;
|
5601 | function: RollupFunction;
|
5602 | };
|
5603 | id: string;
|
5604 | }>;
|
5605 | icon: {
|
5606 | type: "emoji";
|
5607 | emoji: EmojiRequest;
|
5608 | } | null | {
|
5609 | type: "external";
|
5610 | external: {
|
5611 | url: TextRequest;
|
5612 | };
|
5613 | } | null | {
|
5614 | type: "file";
|
5615 | file: {
|
5616 | url: string;
|
5617 | expiry_time: string;
|
5618 | };
|
5619 | } | null;
|
5620 | cover: {
|
5621 | type: "external";
|
5622 | external: {
|
5623 | url: TextRequest;
|
5624 | };
|
5625 | } | null | {
|
5626 | type: "file";
|
5627 | file: {
|
5628 | url: string;
|
5629 | expiry_time: string;
|
5630 | };
|
5631 | } | null;
|
5632 | created_by: {
|
5633 | id: IdRequest;
|
5634 | object: "user";
|
5635 | };
|
5636 | last_edited_by: {
|
5637 | id: IdRequest;
|
5638 | object: "user";
|
5639 | };
|
5640 | object: "page";
|
5641 | id: string;
|
5642 | created_time: string;
|
5643 | last_edited_time: string;
|
5644 | archived: boolean;
|
5645 | url: string;
|
5646 | } | {
|
5647 | object: "page";
|
5648 | id: string;
|
5649 | };
|
5650 | export declare const updatePage: {
|
5651 | readonly method: "patch";
|
5652 | readonly pathParams: readonly ["page_id"];
|
5653 | readonly queryParams: readonly [];
|
5654 | readonly bodyParams: readonly ["properties", "icon", "cover", "archived"];
|
5655 | readonly path: (p: UpdatePagePathParameters) => string;
|
5656 | };
|
5657 | declare type GetPagePropertyPathParameters = {
|
5658 | page_id: IdRequest;
|
5659 | property_id: string;
|
5660 | };
|
5661 | declare type GetPagePropertyQueryParameters = {
|
5662 | start_cursor?: string;
|
5663 | page_size?: number;
|
5664 | };
|
5665 | export declare type GetPagePropertyParameters = GetPagePropertyPathParameters & GetPagePropertyQueryParameters;
|
5666 | export declare type GetPagePropertyResponse = {
|
5667 | type: "number";
|
5668 | number: number | null;
|
5669 | object: "property_item";
|
5670 | } | {
|
5671 | type: "url";
|
5672 | url: string | null;
|
5673 | object: "property_item";
|
5674 | } | {
|
5675 | type: "select";
|
5676 | select: SelectPropertyResponse | null;
|
5677 | object: "property_item";
|
5678 | } | {
|
5679 | type: "multi_select";
|
5680 | multi_select: Array<SelectPropertyResponse>;
|
5681 | object: "property_item";
|
5682 | } | {
|
5683 | type: "date";
|
5684 | date: DateResponse | null;
|
5685 | object: "property_item";
|
5686 | } | {
|
5687 | type: "email";
|
5688 | email: string | null;
|
5689 | object: "property_item";
|
5690 | } | {
|
5691 | type: "phone_number";
|
5692 | phone_number: string | null;
|
5693 | object: "property_item";
|
5694 | } | {
|
5695 | type: "checkbox";
|
5696 | checkbox: boolean;
|
5697 | object: "property_item";
|
5698 | } | {
|
5699 | type: "files";
|
5700 | files: Array<{
|
5701 | file: {
|
5702 | url: string;
|
5703 | expiry_time: string;
|
5704 | };
|
5705 | name: StringRequest;
|
5706 | type?: "file";
|
5707 | } | {
|
5708 | external: {
|
5709 | url: TextRequest;
|
5710 | };
|
5711 | name: StringRequest;
|
5712 | type?: "external";
|
5713 | }>;
|
5714 | object: "property_item";
|
5715 | } | {
|
5716 | type: "created_by";
|
5717 | created_by: PartialUserObjectResponse;
|
5718 | object: "property_item";
|
5719 | } | {
|
5720 | type: "created_time";
|
5721 | created_time: string;
|
5722 | object: "property_item";
|
5723 | } | {
|
5724 | type: "last_edited_by";
|
5725 | last_edited_by: PartialUserObjectResponse;
|
5726 | object: "property_item";
|
5727 | } | {
|
5728 | type: "last_edited_time";
|
5729 | last_edited_time: string;
|
5730 | object: "property_item";
|
5731 | } | {
|
5732 | type: "formula";
|
5733 | formula: {
|
5734 | type: "string";
|
5735 | string: string | null;
|
5736 | } | {
|
5737 | type: "date";
|
5738 | date: DateResponse | null;
|
5739 | } | {
|
5740 | type: "number";
|
5741 | number: number | null;
|
5742 | } | {
|
5743 | type: "boolean";
|
5744 | boolean: boolean | null;
|
5745 | };
|
5746 | object: "property_item";
|
5747 | } | {
|
5748 | type: "title";
|
5749 | title: RichTextItemResponse;
|
5750 | object: "property_item";
|
5751 | } | {
|
5752 | type: "rich_text";
|
5753 | rich_text: RichTextItemResponse;
|
5754 | object: "property_item";
|
5755 | } | {
|
5756 | type: "people";
|
5757 | people: PartialUserObjectResponse;
|
5758 | object: "property_item";
|
5759 | } | {
|
5760 | type: "relation";
|
5761 | relation: {
|
5762 | id: string;
|
5763 | };
|
5764 | object: "property_item";
|
5765 | } | {
|
5766 | type: "rollup";
|
5767 | rollup: {
|
5768 | type: "number";
|
5769 | number: number | null;
|
5770 | function: RollupFunction;
|
5771 | } | {
|
5772 | type: "date";
|
5773 | date: DateResponse | null;
|
5774 | function: RollupFunction;
|
5775 | } | {
|
5776 | type: "array";
|
5777 | array: Array<EmptyObject>;
|
5778 | function: RollupFunction;
|
5779 | } | {
|
5780 | type: "unsupported";
|
5781 | unsupported: EmptyObject;
|
5782 | function: RollupFunction;
|
5783 | } | {
|
5784 | type: "incomplete";
|
5785 | incomplete: EmptyObject;
|
5786 | function: RollupFunction;
|
5787 | };
|
5788 | object: "property_item";
|
5789 | } | {
|
5790 | type: "property_item";
|
5791 | property_item: {
|
5792 | type: "title";
|
5793 | title: EmptyObject;
|
5794 | next_url: string | null;
|
5795 | } | {
|
5796 | type: "rich_text";
|
5797 | rich_text: EmptyObject;
|
5798 | next_url: string | null;
|
5799 | } | {
|
5800 | type: "people";
|
5801 | people: EmptyObject;
|
5802 | next_url: string | null;
|
5803 | } | {
|
5804 | type: "relation";
|
5805 | relation: EmptyObject;
|
5806 | next_url: string | null;
|
5807 | } | {
|
5808 | type: "rollup";
|
5809 | rollup: {
|
5810 | type: "number";
|
5811 | number: number | null;
|
5812 | function: RollupFunction;
|
5813 | } | {
|
5814 | type: "date";
|
5815 | date: DateResponse | null;
|
5816 | function: RollupFunction;
|
5817 | } | {
|
5818 | type: "array";
|
5819 | array: Array<EmptyObject>;
|
5820 | function: RollupFunction;
|
5821 | } | {
|
5822 | type: "unsupported";
|
5823 | unsupported: EmptyObject;
|
5824 | function: RollupFunction;
|
5825 | } | {
|
5826 | type: "incomplete";
|
5827 | incomplete: EmptyObject;
|
5828 | function: RollupFunction;
|
5829 | };
|
5830 | next_url: string | null;
|
5831 | };
|
5832 | object: "list";
|
5833 | next_cursor: string | null;
|
5834 | has_more: boolean;
|
5835 | results: Array<{
|
5836 | type: "number";
|
5837 | number: number | null;
|
5838 | object: "property_item";
|
5839 | } | {
|
5840 | type: "url";
|
5841 | url: string | null;
|
5842 | object: "property_item";
|
5843 | } | {
|
5844 | type: "select";
|
5845 | select: SelectPropertyResponse | null;
|
5846 | object: "property_item";
|
5847 | } | {
|
5848 | type: "multi_select";
|
5849 | multi_select: Array<SelectPropertyResponse>;
|
5850 | object: "property_item";
|
5851 | } | {
|
5852 | type: "date";
|
5853 | date: DateResponse | null;
|
5854 | object: "property_item";
|
5855 | } | {
|
5856 | type: "email";
|
5857 | email: string | null;
|
5858 | object: "property_item";
|
5859 | } | {
|
5860 | type: "phone_number";
|
5861 | phone_number: string | null;
|
5862 | object: "property_item";
|
5863 | } | {
|
5864 | type: "checkbox";
|
5865 | checkbox: boolean;
|
5866 | object: "property_item";
|
5867 | } | {
|
5868 | type: "files";
|
5869 | files: Array<{
|
5870 | file: {
|
5871 | url: string;
|
5872 | expiry_time: string;
|
5873 | };
|
5874 | name: StringRequest;
|
5875 | type?: "file";
|
5876 | } | {
|
5877 | external: {
|
5878 | url: TextRequest;
|
5879 | };
|
5880 | name: StringRequest;
|
5881 | type?: "external";
|
5882 | }>;
|
5883 | object: "property_item";
|
5884 | } | {
|
5885 | type: "created_by";
|
5886 | created_by: PartialUserObjectResponse;
|
5887 | object: "property_item";
|
5888 | } | {
|
5889 | type: "created_time";
|
5890 | created_time: string;
|
5891 | object: "property_item";
|
5892 | } | {
|
5893 | type: "last_edited_by";
|
5894 | last_edited_by: PartialUserObjectResponse;
|
5895 | object: "property_item";
|
5896 | } | {
|
5897 | type: "last_edited_time";
|
5898 | last_edited_time: string;
|
5899 | object: "property_item";
|
5900 | } | {
|
5901 | type: "formula";
|
5902 | formula: {
|
5903 | type: "string";
|
5904 | string: string | null;
|
5905 | } | {
|
5906 | type: "date";
|
5907 | date: DateResponse | null;
|
5908 | } | {
|
5909 | type: "number";
|
5910 | number: number | null;
|
5911 | } | {
|
5912 | type: "boolean";
|
5913 | boolean: boolean | null;
|
5914 | };
|
5915 | object: "property_item";
|
5916 | } | {
|
5917 | type: "title";
|
5918 | title: RichTextItemResponse;
|
5919 | object: "property_item";
|
5920 | } | {
|
5921 | type: "rich_text";
|
5922 | rich_text: RichTextItemResponse;
|
5923 | object: "property_item";
|
5924 | } | {
|
5925 | type: "people";
|
5926 | people: PartialUserObjectResponse;
|
5927 | object: "property_item";
|
5928 | } | {
|
5929 | type: "relation";
|
5930 | relation: {
|
5931 | id: string;
|
5932 | };
|
5933 | object: "property_item";
|
5934 | } | {
|
5935 | type: "rollup";
|
5936 | rollup: {
|
5937 | type: "number";
|
5938 | number: number | null;
|
5939 | function: RollupFunction;
|
5940 | } | {
|
5941 | type: "date";
|
5942 | date: DateResponse | null;
|
5943 | function: RollupFunction;
|
5944 | } | {
|
5945 | type: "array";
|
5946 | array: Array<EmptyObject>;
|
5947 | function: RollupFunction;
|
5948 | } | {
|
5949 | type: "unsupported";
|
5950 | unsupported: EmptyObject;
|
5951 | function: RollupFunction;
|
5952 | } | {
|
5953 | type: "incomplete";
|
5954 | incomplete: EmptyObject;
|
5955 | function: RollupFunction;
|
5956 | };
|
5957 | object: "property_item";
|
5958 | }>;
|
5959 | };
|
5960 | export declare const getPageProperty: {
|
5961 | readonly method: "get";
|
5962 | readonly pathParams: readonly ["page_id", "property_id"];
|
5963 | readonly queryParams: readonly ["start_cursor", "page_size"];
|
5964 | readonly bodyParams: readonly [];
|
5965 | readonly path: (p: GetPagePropertyPathParameters) => string;
|
5966 | };
|
5967 | declare type GetBlockPathParameters = {
|
5968 | block_id: IdRequest;
|
5969 | };
|
5970 | export declare type GetBlockParameters = GetBlockPathParameters;
|
5971 | export declare type GetBlockResponse = PartialBlockObjectResponse | BlockObjectResponse;
|
5972 | export declare const getBlock: {
|
5973 | readonly method: "get";
|
5974 | readonly pathParams: readonly ["block_id"];
|
5975 | readonly queryParams: readonly [];
|
5976 | readonly bodyParams: readonly [];
|
5977 | readonly path: (p: GetBlockPathParameters) => string;
|
5978 | };
|
5979 | declare type UpdateBlockPathParameters = {
|
5980 | block_id: IdRequest;
|
5981 | };
|
5982 | declare type UpdateBlockBodyParameters = {
|
5983 | embed: {
|
5984 | url?: string;
|
5985 | caption?: Array<RichTextItemRequest>;
|
5986 | };
|
5987 | type?: "embed";
|
5988 | archived?: boolean;
|
5989 | } | {
|
5990 | bookmark: {
|
5991 | url?: string;
|
5992 | caption?: Array<RichTextItemRequest>;
|
5993 | };
|
5994 | type?: "bookmark";
|
5995 | archived?: boolean;
|
5996 | } | {
|
5997 | image: {
|
5998 | caption?: Array<RichTextItemRequest>;
|
5999 | external?: {
|
6000 | url: TextRequest;
|
6001 | };
|
6002 | };
|
6003 | type?: "image";
|
6004 | archived?: boolean;
|
6005 | } | {
|
6006 | video: {
|
6007 | caption?: Array<RichTextItemRequest>;
|
6008 | external?: {
|
6009 | url: TextRequest;
|
6010 | };
|
6011 | };
|
6012 | type?: "video";
|
6013 | archived?: boolean;
|
6014 | } | {
|
6015 | pdf: {
|
6016 | caption?: Array<RichTextItemRequest>;
|
6017 | external?: {
|
6018 | url: TextRequest;
|
6019 | };
|
6020 | };
|
6021 | type?: "pdf";
|
6022 | archived?: boolean;
|
6023 | } | {
|
6024 | file: {
|
6025 | caption?: Array<RichTextItemRequest>;
|
6026 | external?: {
|
6027 | url: TextRequest;
|
6028 | };
|
6029 | };
|
6030 | type?: "file";
|
6031 | archived?: boolean;
|
6032 | } | {
|
6033 | audio: {
|
6034 | caption?: Array<RichTextItemRequest>;
|
6035 | external?: {
|
6036 | url: TextRequest;
|
6037 | };
|
6038 | };
|
6039 | type?: "audio";
|
6040 | archived?: boolean;
|
6041 | } | {
|
6042 | code: {
|
6043 | rich_text?: Array<RichTextItemRequest>;
|
6044 | language?: LanguageRequest;
|
6045 | caption?: Array<RichTextItemRequest>;
|
6046 | };
|
6047 | type?: "code";
|
6048 | archived?: boolean;
|
6049 | } | {
|
6050 | equation: {
|
6051 | expression: string;
|
6052 | };
|
6053 | type?: "equation";
|
6054 | archived?: boolean;
|
6055 | } | {
|
6056 | divider: EmptyObject;
|
6057 | type?: "divider";
|
6058 | archived?: boolean;
|
6059 | } | {
|
6060 | breadcrumb: EmptyObject;
|
6061 | type?: "breadcrumb";
|
6062 | archived?: boolean;
|
6063 | } | {
|
6064 | table_of_contents: {
|
6065 | color?: ApiColor;
|
6066 | };
|
6067 | type?: "table_of_contents";
|
6068 | archived?: boolean;
|
6069 | } | {
|
6070 | link_to_page: {
|
6071 | page_id: IdRequest;
|
6072 | type?: "page_id";
|
6073 | } | {
|
6074 | database_id: IdRequest;
|
6075 | type?: "database_id";
|
6076 | };
|
6077 | type?: "link_to_page";
|
6078 | archived?: boolean;
|
6079 | } | {
|
6080 | table_row: {
|
6081 | cells: Array<Array<RichTextItemRequest>>;
|
6082 | };
|
6083 | type?: "table_row";
|
6084 | archived?: boolean;
|
6085 | } | {
|
6086 | heading_1: {
|
6087 | rich_text: Array<RichTextItemRequest>;
|
6088 | color?: ApiColor;
|
6089 | };
|
6090 | type?: "heading_1";
|
6091 | archived?: boolean;
|
6092 | } | {
|
6093 | heading_2: {
|
6094 | rich_text: Array<RichTextItemRequest>;
|
6095 | color?: ApiColor;
|
6096 | };
|
6097 | type?: "heading_2";
|
6098 | archived?: boolean;
|
6099 | } | {
|
6100 | heading_3: {
|
6101 | rich_text: Array<RichTextItemRequest>;
|
6102 | color?: ApiColor;
|
6103 | };
|
6104 | type?: "heading_3";
|
6105 | archived?: boolean;
|
6106 | } | {
|
6107 | paragraph: {
|
6108 | rich_text: Array<RichTextItemRequest>;
|
6109 | color?: ApiColor;
|
6110 | };
|
6111 | type?: "paragraph";
|
6112 | archived?: boolean;
|
6113 | } | {
|
6114 | bulleted_list_item: {
|
6115 | rich_text: Array<RichTextItemRequest>;
|
6116 | color?: ApiColor;
|
6117 | };
|
6118 | type?: "bulleted_list_item";
|
6119 | archived?: boolean;
|
6120 | } | {
|
6121 | numbered_list_item: {
|
6122 | rich_text: Array<RichTextItemRequest>;
|
6123 | color?: ApiColor;
|
6124 | };
|
6125 | type?: "numbered_list_item";
|
6126 | archived?: boolean;
|
6127 | } | {
|
6128 | quote: {
|
6129 | rich_text: Array<RichTextItemRequest>;
|
6130 | color?: ApiColor;
|
6131 | };
|
6132 | type?: "quote";
|
6133 | archived?: boolean;
|
6134 | } | {
|
6135 | to_do: {
|
6136 | rich_text?: Array<RichTextItemRequest>;
|
6137 | checked?: boolean;
|
6138 | color?: ApiColor;
|
6139 | };
|
6140 | type?: "to_do";
|
6141 | archived?: boolean;
|
6142 | } | {
|
6143 | toggle: {
|
6144 | rich_text: Array<RichTextItemRequest>;
|
6145 | color?: ApiColor;
|
6146 | };
|
6147 | type?: "toggle";
|
6148 | archived?: boolean;
|
6149 | } | {
|
6150 | template: {
|
6151 | rich_text: Array<RichTextItemRequest>;
|
6152 | };
|
6153 | type?: "template";
|
6154 | archived?: boolean;
|
6155 | } | {
|
6156 | callout: {
|
6157 | rich_text?: Array<RichTextItemRequest>;
|
6158 | icon?: {
|
6159 | emoji: EmojiRequest;
|
6160 | type?: "emoji";
|
6161 | } | {
|
6162 | external: {
|
6163 | url: TextRequest;
|
6164 | };
|
6165 | type?: "external";
|
6166 | };
|
6167 | color?: ApiColor;
|
6168 | };
|
6169 | type?: "callout";
|
6170 | archived?: boolean;
|
6171 | } | {
|
6172 | synced_block: {
|
6173 | synced_from: {
|
6174 | block_id: IdRequest;
|
6175 | type?: "block_id";
|
6176 | } | null;
|
6177 | };
|
6178 | type?: "synced_block";
|
6179 | archived?: boolean;
|
6180 | } | {
|
6181 | table: {
|
6182 | has_column_header?: boolean;
|
6183 | has_row_header?: boolean;
|
6184 | };
|
6185 | type?: "table";
|
6186 | archived?: boolean;
|
6187 | } | {
|
6188 | archived?: boolean;
|
6189 | };
|
6190 | export declare type UpdateBlockParameters = UpdateBlockPathParameters & UpdateBlockBodyParameters;
|
6191 | export declare type UpdateBlockResponse = PartialBlockObjectResponse | BlockObjectResponse;
|
6192 | export declare const updateBlock: {
|
6193 | readonly method: "patch";
|
6194 | readonly pathParams: readonly ["block_id"];
|
6195 | readonly queryParams: readonly [];
|
6196 | readonly bodyParams: readonly ["embed", "type", "archived", "bookmark", "image", "video", "pdf", "file", "audio", "code", "equation", "divider", "breadcrumb", "table_of_contents", "link_to_page", "table_row", "heading_1", "heading_2", "heading_3", "paragraph", "bulleted_list_item", "numbered_list_item", "quote", "to_do", "toggle", "template", "callout", "synced_block", "table"];
|
6197 | readonly path: (p: UpdateBlockPathParameters) => string;
|
6198 | };
|
6199 | declare type DeleteBlockPathParameters = {
|
6200 | block_id: IdRequest;
|
6201 | };
|
6202 | export declare type DeleteBlockParameters = DeleteBlockPathParameters;
|
6203 | export declare type DeleteBlockResponse = PartialBlockObjectResponse | BlockObjectResponse;
|
6204 | export declare const deleteBlock: {
|
6205 | readonly method: "delete";
|
6206 | readonly pathParams: readonly ["block_id"];
|
6207 | readonly queryParams: readonly [];
|
6208 | readonly bodyParams: readonly [];
|
6209 | readonly path: (p: DeleteBlockPathParameters) => string;
|
6210 | };
|
6211 | declare type ListBlockChildrenPathParameters = {
|
6212 | block_id: IdRequest;
|
6213 | };
|
6214 | declare type ListBlockChildrenQueryParameters = {
|
6215 | start_cursor?: string;
|
6216 | page_size?: number;
|
6217 | };
|
6218 | export declare type ListBlockChildrenParameters = ListBlockChildrenPathParameters & ListBlockChildrenQueryParameters;
|
6219 | export declare type ListBlockChildrenResponse = {
|
6220 | type: "block";
|
6221 | block: EmptyObject;
|
6222 | object: "list";
|
6223 | next_cursor: string | null;
|
6224 | has_more: boolean;
|
6225 | results: Array<PartialBlockObjectResponse | BlockObjectResponse>;
|
6226 | };
|
6227 | export declare const listBlockChildren: {
|
6228 | readonly method: "get";
|
6229 | readonly pathParams: readonly ["block_id"];
|
6230 | readonly queryParams: readonly ["start_cursor", "page_size"];
|
6231 | readonly bodyParams: readonly [];
|
6232 | readonly path: (p: ListBlockChildrenPathParameters) => string;
|
6233 | };
|
6234 | declare type AppendBlockChildrenPathParameters = {
|
6235 | block_id: IdRequest;
|
6236 | };
|
6237 | declare type AppendBlockChildrenBodyParameters = {
|
6238 | children: Array<BlockObjectRequest>;
|
6239 | };
|
6240 | export declare type AppendBlockChildrenParameters = AppendBlockChildrenPathParameters & AppendBlockChildrenBodyParameters;
|
6241 | export declare type AppendBlockChildrenResponse = {
|
6242 | type: "block";
|
6243 | block: EmptyObject;
|
6244 | object: "list";
|
6245 | next_cursor: string | null;
|
6246 | has_more: boolean;
|
6247 | results: Array<PartialBlockObjectResponse | BlockObjectResponse>;
|
6248 | };
|
6249 | export declare const appendBlockChildren: {
|
6250 | readonly method: "patch";
|
6251 | readonly pathParams: readonly ["block_id"];
|
6252 | readonly queryParams: readonly [];
|
6253 | readonly bodyParams: readonly ["children"];
|
6254 | readonly path: (p: AppendBlockChildrenPathParameters) => string;
|
6255 | };
|
6256 | declare type GetDatabasePathParameters = {
|
6257 | database_id: IdRequest;
|
6258 | };
|
6259 | export declare type GetDatabaseParameters = GetDatabasePathParameters;
|
6260 | export declare type GetDatabaseResponse = {
|
6261 | object: "database";
|
6262 | id: string;
|
6263 | properties: Record<string, {
|
6264 | type: "number";
|
6265 | number: {
|
6266 | format: NumberFormat;
|
6267 | };
|
6268 | id: string;
|
6269 | name: string;
|
6270 | } | {
|
6271 | type: "formula";
|
6272 | formula: {
|
6273 | expression: string;
|
6274 | };
|
6275 | id: string;
|
6276 | name: string;
|
6277 | } | {
|
6278 | type: "select";
|
6279 | select: {
|
6280 | options: Array<{
|
6281 | name: StringRequest;
|
6282 | id?: StringRequest;
|
6283 | color?: SelectColor;
|
6284 | }>;
|
6285 | };
|
6286 | id: string;
|
6287 | name: string;
|
6288 | } | {
|
6289 | type: "multi_select";
|
6290 | multi_select: {
|
6291 | options: Array<{
|
6292 | name: StringRequest;
|
6293 | id?: StringRequest;
|
6294 | color?: SelectColor;
|
6295 | }>;
|
6296 | };
|
6297 | id: string;
|
6298 | name: string;
|
6299 | } | {
|
6300 | type: "relation";
|
6301 | relation: {
|
6302 | database_id: IdRequest;
|
6303 | synced_property_id: StringRequest;
|
6304 | synced_property_name: StringRequest;
|
6305 | };
|
6306 | id: string;
|
6307 | name: string;
|
6308 | } | {
|
6309 | type: "rollup";
|
6310 | rollup: {
|
6311 | rollup_property_name: string;
|
6312 | relation_property_name: string;
|
6313 | rollup_property_id: string;
|
6314 | relation_property_id: string;
|
6315 | function: RollupFunction;
|
6316 | };
|
6317 | id: string;
|
6318 | name: string;
|
6319 | } | {
|
6320 | type: "title";
|
6321 | title: EmptyObject;
|
6322 | id: string;
|
6323 | name: string;
|
6324 | } | {
|
6325 | type: "rich_text";
|
6326 | rich_text: EmptyObject;
|
6327 | id: string;
|
6328 | name: string;
|
6329 | } | {
|
6330 | type: "url";
|
6331 | url: EmptyObject;
|
6332 | id: string;
|
6333 | name: string;
|
6334 | } | {
|
6335 | type: "people";
|
6336 | people: EmptyObject;
|
6337 | id: string;
|
6338 | name: string;
|
6339 | } | {
|
6340 | type: "files";
|
6341 | files: EmptyObject;
|
6342 | id: string;
|
6343 | name: string;
|
6344 | } | {
|
6345 | type: "email";
|
6346 | email: EmptyObject;
|
6347 | id: string;
|
6348 | name: string;
|
6349 | } | {
|
6350 | type: "phone_number";
|
6351 | phone_number: EmptyObject;
|
6352 | id: string;
|
6353 | name: string;
|
6354 | } | {
|
6355 | type: "date";
|
6356 | date: EmptyObject;
|
6357 | id: string;
|
6358 | name: string;
|
6359 | } | {
|
6360 | type: "checkbox";
|
6361 | checkbox: EmptyObject;
|
6362 | id: string;
|
6363 | name: string;
|
6364 | } | {
|
6365 | type: "created_by";
|
6366 | created_by: EmptyObject;
|
6367 | id: string;
|
6368 | name: string;
|
6369 | } | {
|
6370 | type: "created_time";
|
6371 | created_time: EmptyObject;
|
6372 | id: string;
|
6373 | name: string;
|
6374 | } | {
|
6375 | type: "last_edited_by";
|
6376 | last_edited_by: EmptyObject;
|
6377 | id: string;
|
6378 | name: string;
|
6379 | } | {
|
6380 | type: "last_edited_time";
|
6381 | last_edited_time: EmptyObject;
|
6382 | id: string;
|
6383 | name: string;
|
6384 | }>;
|
6385 | } | {
|
6386 | title: Array<RichTextItemResponse>;
|
6387 | icon: {
|
6388 | type: "emoji";
|
6389 | emoji: EmojiRequest;
|
6390 | } | null | {
|
6391 | type: "external";
|
6392 | external: {
|
6393 | url: TextRequest;
|
6394 | };
|
6395 | } | null | {
|
6396 | type: "file";
|
6397 | file: {
|
6398 | url: string;
|
6399 | expiry_time: string;
|
6400 | };
|
6401 | } | null;
|
6402 | cover: {
|
6403 | type: "external";
|
6404 | external: {
|
6405 | url: TextRequest;
|
6406 | };
|
6407 | } | null | {
|
6408 | type: "file";
|
6409 | file: {
|
6410 | url: string;
|
6411 | expiry_time: string;
|
6412 | };
|
6413 | } | null;
|
6414 | properties: Record<string, {
|
6415 | type: "number";
|
6416 | number: {
|
6417 | format: NumberFormat;
|
6418 | };
|
6419 | id: string;
|
6420 | name: string;
|
6421 | } | {
|
6422 | type: "formula";
|
6423 | formula: {
|
6424 | expression: string;
|
6425 | };
|
6426 | id: string;
|
6427 | name: string;
|
6428 | } | {
|
6429 | type: "select";
|
6430 | select: {
|
6431 | options: Array<{
|
6432 | name: StringRequest;
|
6433 | id?: StringRequest;
|
6434 | color?: SelectColor;
|
6435 | }>;
|
6436 | };
|
6437 | id: string;
|
6438 | name: string;
|
6439 | } | {
|
6440 | type: "multi_select";
|
6441 | multi_select: {
|
6442 | options: Array<{
|
6443 | name: StringRequest;
|
6444 | id?: StringRequest;
|
6445 | color?: SelectColor;
|
6446 | }>;
|
6447 | };
|
6448 | id: string;
|
6449 | name: string;
|
6450 | } | {
|
6451 | type: "relation";
|
6452 | relation: {
|
6453 | database_id: IdRequest;
|
6454 | synced_property_id: StringRequest;
|
6455 | synced_property_name: StringRequest;
|
6456 | };
|
6457 | id: string;
|
6458 | name: string;
|
6459 | } | {
|
6460 | type: "rollup";
|
6461 | rollup: {
|
6462 | rollup_property_name: string;
|
6463 | relation_property_name: string;
|
6464 | rollup_property_id: string;
|
6465 | relation_property_id: string;
|
6466 | function: RollupFunction;
|
6467 | };
|
6468 | id: string;
|
6469 | name: string;
|
6470 | } | {
|
6471 | type: "title";
|
6472 | title: EmptyObject;
|
6473 | id: string;
|
6474 | name: string;
|
6475 | } | {
|
6476 | type: "rich_text";
|
6477 | rich_text: EmptyObject;
|
6478 | id: string;
|
6479 | name: string;
|
6480 | } | {
|
6481 | type: "url";
|
6482 | url: EmptyObject;
|
6483 | id: string;
|
6484 | name: string;
|
6485 | } | {
|
6486 | type: "people";
|
6487 | people: EmptyObject;
|
6488 | id: string;
|
6489 | name: string;
|
6490 | } | {
|
6491 | type: "files";
|
6492 | files: EmptyObject;
|
6493 | id: string;
|
6494 | name: string;
|
6495 | } | {
|
6496 | type: "email";
|
6497 | email: EmptyObject;
|
6498 | id: string;
|
6499 | name: string;
|
6500 | } | {
|
6501 | type: "phone_number";
|
6502 | phone_number: EmptyObject;
|
6503 | id: string;
|
6504 | name: string;
|
6505 | } | {
|
6506 | type: "date";
|
6507 | date: EmptyObject;
|
6508 | id: string;
|
6509 | name: string;
|
6510 | } | {
|
6511 | type: "checkbox";
|
6512 | checkbox: EmptyObject;
|
6513 | id: string;
|
6514 | name: string;
|
6515 | } | {
|
6516 | type: "created_by";
|
6517 | created_by: EmptyObject;
|
6518 | id: string;
|
6519 | name: string;
|
6520 | } | {
|
6521 | type: "created_time";
|
6522 | created_time: EmptyObject;
|
6523 | id: string;
|
6524 | name: string;
|
6525 | } | {
|
6526 | type: "last_edited_by";
|
6527 | last_edited_by: EmptyObject;
|
6528 | id: string;
|
6529 | name: string;
|
6530 | } | {
|
6531 | type: "last_edited_time";
|
6532 | last_edited_time: EmptyObject;
|
6533 | id: string;
|
6534 | name: string;
|
6535 | }>;
|
6536 | parent: {
|
6537 | type: "page_id";
|
6538 | page_id: string;
|
6539 | } | {
|
6540 | type: "workspace";
|
6541 | workspace: true;
|
6542 | };
|
6543 | created_by: {
|
6544 | id: IdRequest;
|
6545 | object: "user";
|
6546 | };
|
6547 | last_edited_by: {
|
6548 | id: IdRequest;
|
6549 | object: "user";
|
6550 | };
|
6551 | object: "database";
|
6552 | id: string;
|
6553 | created_time: string;
|
6554 | last_edited_time: string;
|
6555 | archived: boolean;
|
6556 | url: string;
|
6557 | };
|
6558 | export declare const getDatabase: {
|
6559 | readonly method: "get";
|
6560 | readonly pathParams: readonly ["database_id"];
|
6561 | readonly queryParams: readonly [];
|
6562 | readonly bodyParams: readonly [];
|
6563 | readonly path: (p: GetDatabasePathParameters) => string;
|
6564 | };
|
6565 | declare type UpdateDatabasePathParameters = {
|
6566 | database_id: IdRequest;
|
6567 | };
|
6568 | declare type UpdateDatabaseBodyParameters = {
|
6569 | title?: Array<RichTextItemRequest>;
|
6570 | icon?: {
|
6571 | emoji: EmojiRequest;
|
6572 | type?: "emoji";
|
6573 | } | null | {
|
6574 | external: {
|
6575 | url: TextRequest;
|
6576 | };
|
6577 | type?: "external";
|
6578 | } | null;
|
6579 | cover?: {
|
6580 | external: {
|
6581 | url: TextRequest;
|
6582 | };
|
6583 | type?: "external";
|
6584 | } | null;
|
6585 | properties?: Record<string, {
|
6586 | number: {
|
6587 | format?: NumberFormat;
|
6588 | };
|
6589 | type?: "number";
|
6590 | name?: string;
|
6591 | } | null | {
|
6592 | formula: {
|
6593 | expression?: string;
|
6594 | };
|
6595 | type?: "formula";
|
6596 | name?: string;
|
6597 | } | null | {
|
6598 | select: {
|
6599 | options?: Array<{
|
6600 | id: StringRequest;
|
6601 | name?: StringRequest;
|
6602 | color?: SelectColor;
|
6603 | } | {
|
6604 | name: StringRequest;
|
6605 | id?: StringRequest;
|
6606 | color?: SelectColor;
|
6607 | }>;
|
6608 | };
|
6609 | type?: "select";
|
6610 | name?: string;
|
6611 | } | null | {
|
6612 | multi_select: {
|
6613 | options?: Array<{
|
6614 | id: StringRequest;
|
6615 | name?: StringRequest;
|
6616 | color?: SelectColor;
|
6617 | } | {
|
6618 | name: StringRequest;
|
6619 | id?: StringRequest;
|
6620 | color?: SelectColor;
|
6621 | }>;
|
6622 | };
|
6623 | type?: "multi_select";
|
6624 | name?: string;
|
6625 | } | null | {
|
6626 | relation: {
|
6627 | database_id: IdRequest;
|
6628 | };
|
6629 | type?: "relation";
|
6630 | name?: string;
|
6631 | } | null | {
|
6632 | rollup: {
|
6633 | rollup_property_name: string;
|
6634 | relation_property_name: string;
|
6635 | function: RollupFunction;
|
6636 | rollup_property_id?: string;
|
6637 | relation_property_id?: string;
|
6638 | } | {
|
6639 | rollup_property_name: string;
|
6640 | relation_property_id: string;
|
6641 | function: RollupFunction;
|
6642 | relation_property_name?: string;
|
6643 | rollup_property_id?: string;
|
6644 | } | {
|
6645 | relation_property_name: string;
|
6646 | rollup_property_id: string;
|
6647 | function: RollupFunction;
|
6648 | rollup_property_name?: string;
|
6649 | relation_property_id?: string;
|
6650 | } | {
|
6651 | rollup_property_id: string;
|
6652 | relation_property_id: string;
|
6653 | function: RollupFunction;
|
6654 | rollup_property_name?: string;
|
6655 | relation_property_name?: string;
|
6656 | };
|
6657 | type?: "rollup";
|
6658 | name?: string;
|
6659 | } | null | {
|
6660 | title: EmptyObject;
|
6661 | type?: "title";
|
6662 | name?: string;
|
6663 | } | null | {
|
6664 | rich_text: EmptyObject;
|
6665 | type?: "rich_text";
|
6666 | name?: string;
|
6667 | } | null | {
|
6668 | url: EmptyObject;
|
6669 | type?: "url";
|
6670 | name?: string;
|
6671 | } | null | {
|
6672 | people: EmptyObject;
|
6673 | type?: "people";
|
6674 | name?: string;
|
6675 | } | null | {
|
6676 | files: EmptyObject;
|
6677 | type?: "files";
|
6678 | name?: string;
|
6679 | } | null | {
|
6680 | email: EmptyObject;
|
6681 | type?: "email";
|
6682 | name?: string;
|
6683 | } | null | {
|
6684 | phone_number: EmptyObject;
|
6685 | type?: "phone_number";
|
6686 | name?: string;
|
6687 | } | null | {
|
6688 | date: EmptyObject;
|
6689 | type?: "date";
|
6690 | name?: string;
|
6691 | } | null | {
|
6692 | checkbox: EmptyObject;
|
6693 | type?: "checkbox";
|
6694 | name?: string;
|
6695 | } | null | {
|
6696 | created_by: EmptyObject;
|
6697 | type?: "created_by";
|
6698 | name?: string;
|
6699 | } | null | {
|
6700 | created_time: EmptyObject;
|
6701 | type?: "created_time";
|
6702 | name?: string;
|
6703 | } | null | {
|
6704 | last_edited_by: EmptyObject;
|
6705 | type?: "last_edited_by";
|
6706 | name?: string;
|
6707 | } | null | {
|
6708 | last_edited_time: EmptyObject;
|
6709 | type?: "last_edited_time";
|
6710 | name?: string;
|
6711 | } | null | {
|
6712 | name: string;
|
6713 | } | null>;
|
6714 | archived?: boolean;
|
6715 | };
|
6716 | export declare type UpdateDatabaseParameters = UpdateDatabasePathParameters & UpdateDatabaseBodyParameters;
|
6717 | export declare type UpdateDatabaseResponse = {
|
6718 | object: "database";
|
6719 | id: string;
|
6720 | properties: Record<string, {
|
6721 | type: "number";
|
6722 | number: {
|
6723 | format: NumberFormat;
|
6724 | };
|
6725 | id: string;
|
6726 | name: string;
|
6727 | } | {
|
6728 | type: "formula";
|
6729 | formula: {
|
6730 | expression: string;
|
6731 | };
|
6732 | id: string;
|
6733 | name: string;
|
6734 | } | {
|
6735 | type: "select";
|
6736 | select: {
|
6737 | options: Array<{
|
6738 | name: StringRequest;
|
6739 | id?: StringRequest;
|
6740 | color?: SelectColor;
|
6741 | }>;
|
6742 | };
|
6743 | id: string;
|
6744 | name: string;
|
6745 | } | {
|
6746 | type: "multi_select";
|
6747 | multi_select: {
|
6748 | options: Array<{
|
6749 | name: StringRequest;
|
6750 | id?: StringRequest;
|
6751 | color?: SelectColor;
|
6752 | }>;
|
6753 | };
|
6754 | id: string;
|
6755 | name: string;
|
6756 | } | {
|
6757 | type: "relation";
|
6758 | relation: {
|
6759 | database_id: IdRequest;
|
6760 | synced_property_id: StringRequest;
|
6761 | synced_property_name: StringRequest;
|
6762 | };
|
6763 | id: string;
|
6764 | name: string;
|
6765 | } | {
|
6766 | type: "rollup";
|
6767 | rollup: {
|
6768 | rollup_property_name: string;
|
6769 | relation_property_name: string;
|
6770 | rollup_property_id: string;
|
6771 | relation_property_id: string;
|
6772 | function: RollupFunction;
|
6773 | };
|
6774 | id: string;
|
6775 | name: string;
|
6776 | } | {
|
6777 | type: "title";
|
6778 | title: EmptyObject;
|
6779 | id: string;
|
6780 | name: string;
|
6781 | } | {
|
6782 | type: "rich_text";
|
6783 | rich_text: EmptyObject;
|
6784 | id: string;
|
6785 | name: string;
|
6786 | } | {
|
6787 | type: "url";
|
6788 | url: EmptyObject;
|
6789 | id: string;
|
6790 | name: string;
|
6791 | } | {
|
6792 | type: "people";
|
6793 | people: EmptyObject;
|
6794 | id: string;
|
6795 | name: string;
|
6796 | } | {
|
6797 | type: "files";
|
6798 | files: EmptyObject;
|
6799 | id: string;
|
6800 | name: string;
|
6801 | } | {
|
6802 | type: "email";
|
6803 | email: EmptyObject;
|
6804 | id: string;
|
6805 | name: string;
|
6806 | } | {
|
6807 | type: "phone_number";
|
6808 | phone_number: EmptyObject;
|
6809 | id: string;
|
6810 | name: string;
|
6811 | } | {
|
6812 | type: "date";
|
6813 | date: EmptyObject;
|
6814 | id: string;
|
6815 | name: string;
|
6816 | } | {
|
6817 | type: "checkbox";
|
6818 | checkbox: EmptyObject;
|
6819 | id: string;
|
6820 | name: string;
|
6821 | } | {
|
6822 | type: "created_by";
|
6823 | created_by: EmptyObject;
|
6824 | id: string;
|
6825 | name: string;
|
6826 | } | {
|
6827 | type: "created_time";
|
6828 | created_time: EmptyObject;
|
6829 | id: string;
|
6830 | name: string;
|
6831 | } | {
|
6832 | type: "last_edited_by";
|
6833 | last_edited_by: EmptyObject;
|
6834 | id: string;
|
6835 | name: string;
|
6836 | } | {
|
6837 | type: "last_edited_time";
|
6838 | last_edited_time: EmptyObject;
|
6839 | id: string;
|
6840 | name: string;
|
6841 | }>;
|
6842 | } | {
|
6843 | title: Array<RichTextItemResponse>;
|
6844 | icon: {
|
6845 | type: "emoji";
|
6846 | emoji: EmojiRequest;
|
6847 | } | null | {
|
6848 | type: "external";
|
6849 | external: {
|
6850 | url: TextRequest;
|
6851 | };
|
6852 | } | null | {
|
6853 | type: "file";
|
6854 | file: {
|
6855 | url: string;
|
6856 | expiry_time: string;
|
6857 | };
|
6858 | } | null;
|
6859 | cover: {
|
6860 | type: "external";
|
6861 | external: {
|
6862 | url: TextRequest;
|
6863 | };
|
6864 | } | null | {
|
6865 | type: "file";
|
6866 | file: {
|
6867 | url: string;
|
6868 | expiry_time: string;
|
6869 | };
|
6870 | } | null;
|
6871 | properties: Record<string, {
|
6872 | type: "number";
|
6873 | number: {
|
6874 | format: NumberFormat;
|
6875 | };
|
6876 | id: string;
|
6877 | name: string;
|
6878 | } | {
|
6879 | type: "formula";
|
6880 | formula: {
|
6881 | expression: string;
|
6882 | };
|
6883 | id: string;
|
6884 | name: string;
|
6885 | } | {
|
6886 | type: "select";
|
6887 | select: {
|
6888 | options: Array<{
|
6889 | name: StringRequest;
|
6890 | id?: StringRequest;
|
6891 | color?: SelectColor;
|
6892 | }>;
|
6893 | };
|
6894 | id: string;
|
6895 | name: string;
|
6896 | } | {
|
6897 | type: "multi_select";
|
6898 | multi_select: {
|
6899 | options: Array<{
|
6900 | name: StringRequest;
|
6901 | id?: StringRequest;
|
6902 | color?: SelectColor;
|
6903 | }>;
|
6904 | };
|
6905 | id: string;
|
6906 | name: string;
|
6907 | } | {
|
6908 | type: "relation";
|
6909 | relation: {
|
6910 | database_id: IdRequest;
|
6911 | synced_property_id: StringRequest;
|
6912 | synced_property_name: StringRequest;
|
6913 | };
|
6914 | id: string;
|
6915 | name: string;
|
6916 | } | {
|
6917 | type: "rollup";
|
6918 | rollup: {
|
6919 | rollup_property_name: string;
|
6920 | relation_property_name: string;
|
6921 | rollup_property_id: string;
|
6922 | relation_property_id: string;
|
6923 | function: RollupFunction;
|
6924 | };
|
6925 | id: string;
|
6926 | name: string;
|
6927 | } | {
|
6928 | type: "title";
|
6929 | title: EmptyObject;
|
6930 | id: string;
|
6931 | name: string;
|
6932 | } | {
|
6933 | type: "rich_text";
|
6934 | rich_text: EmptyObject;
|
6935 | id: string;
|
6936 | name: string;
|
6937 | } | {
|
6938 | type: "url";
|
6939 | url: EmptyObject;
|
6940 | id: string;
|
6941 | name: string;
|
6942 | } | {
|
6943 | type: "people";
|
6944 | people: EmptyObject;
|
6945 | id: string;
|
6946 | name: string;
|
6947 | } | {
|
6948 | type: "files";
|
6949 | files: EmptyObject;
|
6950 | id: string;
|
6951 | name: string;
|
6952 | } | {
|
6953 | type: "email";
|
6954 | email: EmptyObject;
|
6955 | id: string;
|
6956 | name: string;
|
6957 | } | {
|
6958 | type: "phone_number";
|
6959 | phone_number: EmptyObject;
|
6960 | id: string;
|
6961 | name: string;
|
6962 | } | {
|
6963 | type: "date";
|
6964 | date: EmptyObject;
|
6965 | id: string;
|
6966 | name: string;
|
6967 | } | {
|
6968 | type: "checkbox";
|
6969 | checkbox: EmptyObject;
|
6970 | id: string;
|
6971 | name: string;
|
6972 | } | {
|
6973 | type: "created_by";
|
6974 | created_by: EmptyObject;
|
6975 | id: string;
|
6976 | name: string;
|
6977 | } | {
|
6978 | type: "created_time";
|
6979 | created_time: EmptyObject;
|
6980 | id: string;
|
6981 | name: string;
|
6982 | } | {
|
6983 | type: "last_edited_by";
|
6984 | last_edited_by: EmptyObject;
|
6985 | id: string;
|
6986 | name: string;
|
6987 | } | {
|
6988 | type: "last_edited_time";
|
6989 | last_edited_time: EmptyObject;
|
6990 | id: string;
|
6991 | name: string;
|
6992 | }>;
|
6993 | parent: {
|
6994 | type: "page_id";
|
6995 | page_id: string;
|
6996 | } | {
|
6997 | type: "workspace";
|
6998 | workspace: true;
|
6999 | };
|
7000 | created_by: {
|
7001 | id: IdRequest;
|
7002 | object: "user";
|
7003 | };
|
7004 | last_edited_by: {
|
7005 | id: IdRequest;
|
7006 | object: "user";
|
7007 | };
|
7008 | object: "database";
|
7009 | id: string;
|
7010 | created_time: string;
|
7011 | last_edited_time: string;
|
7012 | archived: boolean;
|
7013 | url: string;
|
7014 | };
|
7015 | export declare const updateDatabase: {
|
7016 | readonly method: "patch";
|
7017 | readonly pathParams: readonly ["database_id"];
|
7018 | readonly queryParams: readonly [];
|
7019 | readonly bodyParams: readonly ["title", "icon", "cover", "properties", "archived"];
|
7020 | readonly path: (p: UpdateDatabasePathParameters) => string;
|
7021 | };
|
7022 | declare type QueryDatabasePathParameters = {
|
7023 | database_id: IdRequest;
|
7024 | };
|
7025 | declare type QueryDatabaseBodyParameters = {
|
7026 | sorts?: Array<{
|
7027 | property: string;
|
7028 | direction: "ascending" | "descending";
|
7029 | } | {
|
7030 | timestamp: "created_time" | "last_edited_time";
|
7031 | direction: "ascending" | "descending";
|
7032 | }>;
|
7033 | filter?: {
|
7034 | or: Array<PropertyFilter | {
|
7035 | or: Array<PropertyFilter>;
|
7036 | } | {
|
7037 | and: Array<PropertyFilter>;
|
7038 | }>;
|
7039 | } | {
|
7040 | and: Array<PropertyFilter | {
|
7041 | or: Array<PropertyFilter>;
|
7042 | } | {
|
7043 | and: Array<PropertyFilter>;
|
7044 | }>;
|
7045 | } | PropertyFilter;
|
7046 | start_cursor?: string;
|
7047 | page_size?: number;
|
7048 | archived?: boolean;
|
7049 | };
|
7050 | export declare type QueryDatabaseParameters = QueryDatabasePathParameters & QueryDatabaseBodyParameters;
|
7051 | export declare type QueryDatabaseResponse = {
|
7052 | type: "page";
|
7053 | page: EmptyObject;
|
7054 | object: "list";
|
7055 | next_cursor: string | null;
|
7056 | has_more: boolean;
|
7057 | results: Array<{
|
7058 | parent: {
|
7059 | type: "database_id";
|
7060 | database_id: IdRequest;
|
7061 | } | {
|
7062 | type: "page_id";
|
7063 | page_id: IdRequest;
|
7064 | } | {
|
7065 | type: "workspace";
|
7066 | workspace: true;
|
7067 | };
|
7068 | properties: Record<string, {
|
7069 | type: "number";
|
7070 | number: number | null;
|
7071 | id: string;
|
7072 | } | {
|
7073 | type: "url";
|
7074 | url: string | null;
|
7075 | id: string;
|
7076 | } | {
|
7077 | type: "select";
|
7078 | select: SelectPropertyResponse | null;
|
7079 | id: string;
|
7080 | } | {
|
7081 | type: "multi_select";
|
7082 | multi_select: Array<SelectPropertyResponse>;
|
7083 | id: string;
|
7084 | } | {
|
7085 | type: "date";
|
7086 | date: DateResponse | null;
|
7087 | id: string;
|
7088 | } | {
|
7089 | type: "email";
|
7090 | email: string | null;
|
7091 | id: string;
|
7092 | } | {
|
7093 | type: "phone_number";
|
7094 | phone_number: string | null;
|
7095 | id: string;
|
7096 | } | {
|
7097 | type: "checkbox";
|
7098 | checkbox: boolean;
|
7099 | id: string;
|
7100 | } | {
|
7101 | type: "files";
|
7102 | files: Array<{
|
7103 | file: {
|
7104 | url: string;
|
7105 | expiry_time: string;
|
7106 | };
|
7107 | name: StringRequest;
|
7108 | type?: "file";
|
7109 | } | {
|
7110 | external: {
|
7111 | url: TextRequest;
|
7112 | };
|
7113 | name: StringRequest;
|
7114 | type?: "external";
|
7115 | }>;
|
7116 | id: string;
|
7117 | } | {
|
7118 | type: "created_by";
|
7119 | created_by: PartialUserObjectResponse;
|
7120 | id: string;
|
7121 | } | {
|
7122 | type: "created_time";
|
7123 | created_time: string;
|
7124 | id: string;
|
7125 | } | {
|
7126 | type: "last_edited_by";
|
7127 | last_edited_by: PartialUserObjectResponse;
|
7128 | id: string;
|
7129 | } | {
|
7130 | type: "last_edited_time";
|
7131 | last_edited_time: string;
|
7132 | id: string;
|
7133 | } | {
|
7134 | type: "formula";
|
7135 | formula: {
|
7136 | type: "string";
|
7137 | string: string | null;
|
7138 | } | {
|
7139 | type: "date";
|
7140 | date: DateResponse | null;
|
7141 | } | {
|
7142 | type: "number";
|
7143 | number: number | null;
|
7144 | } | {
|
7145 | type: "boolean";
|
7146 | boolean: boolean | null;
|
7147 | };
|
7148 | id: string;
|
7149 | } | {
|
7150 | type: "title";
|
7151 | title: Array<RichTextItemResponse>;
|
7152 | id: string;
|
7153 | } | {
|
7154 | type: "rich_text";
|
7155 | rich_text: Array<RichTextItemResponse>;
|
7156 | id: string;
|
7157 | } | {
|
7158 | type: "people";
|
7159 | people: Array<PartialUserObjectResponse>;
|
7160 | id: string;
|
7161 | } | {
|
7162 | type: "relation";
|
7163 | relation: Array<{
|
7164 | id: string;
|
7165 | }>;
|
7166 | id: string;
|
7167 | } | {
|
7168 | type: "rollup";
|
7169 | rollup: {
|
7170 | type: "number";
|
7171 | number: number | null;
|
7172 | function: RollupFunction;
|
7173 | } | {
|
7174 | type: "date";
|
7175 | date: DateResponse | null;
|
7176 | function: RollupFunction;
|
7177 | } | {
|
7178 | type: "array";
|
7179 | array: Array<{
|
7180 | type: "title";
|
7181 | title: Array<RichTextItemResponse>;
|
7182 | } | {
|
7183 | type: "rich_text";
|
7184 | rich_text: Array<RichTextItemResponse>;
|
7185 | } | {
|
7186 | type: "people";
|
7187 | people: Array<PartialUserObjectResponse>;
|
7188 | } | {
|
7189 | type: "relation";
|
7190 | relation: Array<{
|
7191 | id: string;
|
7192 | }>;
|
7193 | }>;
|
7194 | function: RollupFunction;
|
7195 | };
|
7196 | id: string;
|
7197 | }>;
|
7198 | icon: {
|
7199 | type: "emoji";
|
7200 | emoji: EmojiRequest;
|
7201 | } | null | {
|
7202 | type: "external";
|
7203 | external: {
|
7204 | url: TextRequest;
|
7205 | };
|
7206 | } | null | {
|
7207 | type: "file";
|
7208 | file: {
|
7209 | url: string;
|
7210 | expiry_time: string;
|
7211 | };
|
7212 | } | null;
|
7213 | cover: {
|
7214 | type: "external";
|
7215 | external: {
|
7216 | url: TextRequest;
|
7217 | };
|
7218 | } | null | {
|
7219 | type: "file";
|
7220 | file: {
|
7221 | url: string;
|
7222 | expiry_time: string;
|
7223 | };
|
7224 | } | null;
|
7225 | created_by: {
|
7226 | id: IdRequest;
|
7227 | object: "user";
|
7228 | };
|
7229 | last_edited_by: {
|
7230 | id: IdRequest;
|
7231 | object: "user";
|
7232 | };
|
7233 | object: "page";
|
7234 | id: string;
|
7235 | created_time: string;
|
7236 | last_edited_time: string;
|
7237 | archived: boolean;
|
7238 | url: string;
|
7239 | } | {
|
7240 | object: "page";
|
7241 | id: string;
|
7242 | }>;
|
7243 | };
|
7244 | export declare const queryDatabase: {
|
7245 | readonly method: "post";
|
7246 | readonly pathParams: readonly ["database_id"];
|
7247 | readonly queryParams: readonly [];
|
7248 | readonly bodyParams: readonly ["sorts", "filter", "start_cursor", "page_size", "archived"];
|
7249 | readonly path: (p: QueryDatabasePathParameters) => string;
|
7250 | };
|
7251 | declare type ListDatabasesQueryParameters = {
|
7252 | start_cursor?: string;
|
7253 | page_size?: number;
|
7254 | };
|
7255 | export declare type ListDatabasesParameters = ListDatabasesQueryParameters;
|
7256 | export declare type ListDatabasesResponse = {
|
7257 | type: "database";
|
7258 | database: EmptyObject;
|
7259 | object: "list";
|
7260 | next_cursor: string | null;
|
7261 | has_more: boolean;
|
7262 | results: Array<{
|
7263 | object: "database";
|
7264 | id: string;
|
7265 | properties: Record<string, {
|
7266 | type: "number";
|
7267 | number: {
|
7268 | format: NumberFormat;
|
7269 | };
|
7270 | id: string;
|
7271 | name: string;
|
7272 | } | {
|
7273 | type: "formula";
|
7274 | formula: {
|
7275 | expression: string;
|
7276 | };
|
7277 | id: string;
|
7278 | name: string;
|
7279 | } | {
|
7280 | type: "select";
|
7281 | select: {
|
7282 | options: Array<{
|
7283 | name: StringRequest;
|
7284 | id?: StringRequest;
|
7285 | color?: SelectColor;
|
7286 | }>;
|
7287 | };
|
7288 | id: string;
|
7289 | name: string;
|
7290 | } | {
|
7291 | type: "multi_select";
|
7292 | multi_select: {
|
7293 | options: Array<{
|
7294 | name: StringRequest;
|
7295 | id?: StringRequest;
|
7296 | color?: SelectColor;
|
7297 | }>;
|
7298 | };
|
7299 | id: string;
|
7300 | name: string;
|
7301 | } | {
|
7302 | type: "relation";
|
7303 | relation: {
|
7304 | database_id: IdRequest;
|
7305 | synced_property_id: StringRequest;
|
7306 | synced_property_name: StringRequest;
|
7307 | };
|
7308 | id: string;
|
7309 | name: string;
|
7310 | } | {
|
7311 | type: "rollup";
|
7312 | rollup: {
|
7313 | rollup_property_name: string;
|
7314 | relation_property_name: string;
|
7315 | rollup_property_id: string;
|
7316 | relation_property_id: string;
|
7317 | function: RollupFunction;
|
7318 | };
|
7319 | id: string;
|
7320 | name: string;
|
7321 | } | {
|
7322 | type: "title";
|
7323 | title: EmptyObject;
|
7324 | id: string;
|
7325 | name: string;
|
7326 | } | {
|
7327 | type: "rich_text";
|
7328 | rich_text: EmptyObject;
|
7329 | id: string;
|
7330 | name: string;
|
7331 | } | {
|
7332 | type: "url";
|
7333 | url: EmptyObject;
|
7334 | id: string;
|
7335 | name: string;
|
7336 | } | {
|
7337 | type: "people";
|
7338 | people: EmptyObject;
|
7339 | id: string;
|
7340 | name: string;
|
7341 | } | {
|
7342 | type: "files";
|
7343 | files: EmptyObject;
|
7344 | id: string;
|
7345 | name: string;
|
7346 | } | {
|
7347 | type: "email";
|
7348 | email: EmptyObject;
|
7349 | id: string;
|
7350 | name: string;
|
7351 | } | {
|
7352 | type: "phone_number";
|
7353 | phone_number: EmptyObject;
|
7354 | id: string;
|
7355 | name: string;
|
7356 | } | {
|
7357 | type: "date";
|
7358 | date: EmptyObject;
|
7359 | id: string;
|
7360 | name: string;
|
7361 | } | {
|
7362 | type: "checkbox";
|
7363 | checkbox: EmptyObject;
|
7364 | id: string;
|
7365 | name: string;
|
7366 | } | {
|
7367 | type: "created_by";
|
7368 | created_by: EmptyObject;
|
7369 | id: string;
|
7370 | name: string;
|
7371 | } | {
|
7372 | type: "created_time";
|
7373 | created_time: EmptyObject;
|
7374 | id: string;
|
7375 | name: string;
|
7376 | } | {
|
7377 | type: "last_edited_by";
|
7378 | last_edited_by: EmptyObject;
|
7379 | id: string;
|
7380 | name: string;
|
7381 | } | {
|
7382 | type: "last_edited_time";
|
7383 | last_edited_time: EmptyObject;
|
7384 | id: string;
|
7385 | name: string;
|
7386 | }>;
|
7387 | } | {
|
7388 | title: Array<RichTextItemResponse>;
|
7389 | icon: {
|
7390 | type: "emoji";
|
7391 | emoji: EmojiRequest;
|
7392 | } | null | {
|
7393 | type: "external";
|
7394 | external: {
|
7395 | url: TextRequest;
|
7396 | };
|
7397 | } | null | {
|
7398 | type: "file";
|
7399 | file: {
|
7400 | url: string;
|
7401 | expiry_time: string;
|
7402 | };
|
7403 | } | null;
|
7404 | cover: {
|
7405 | type: "external";
|
7406 | external: {
|
7407 | url: TextRequest;
|
7408 | };
|
7409 | } | null | {
|
7410 | type: "file";
|
7411 | file: {
|
7412 | url: string;
|
7413 | expiry_time: string;
|
7414 | };
|
7415 | } | null;
|
7416 | properties: Record<string, {
|
7417 | type: "number";
|
7418 | number: {
|
7419 | format: NumberFormat;
|
7420 | };
|
7421 | id: string;
|
7422 | name: string;
|
7423 | } | {
|
7424 | type: "formula";
|
7425 | formula: {
|
7426 | expression: string;
|
7427 | };
|
7428 | id: string;
|
7429 | name: string;
|
7430 | } | {
|
7431 | type: "select";
|
7432 | select: {
|
7433 | options: Array<{
|
7434 | name: StringRequest;
|
7435 | id?: StringRequest;
|
7436 | color?: SelectColor;
|
7437 | }>;
|
7438 | };
|
7439 | id: string;
|
7440 | name: string;
|
7441 | } | {
|
7442 | type: "multi_select";
|
7443 | multi_select: {
|
7444 | options: Array<{
|
7445 | name: StringRequest;
|
7446 | id?: StringRequest;
|
7447 | color?: SelectColor;
|
7448 | }>;
|
7449 | };
|
7450 | id: string;
|
7451 | name: string;
|
7452 | } | {
|
7453 | type: "relation";
|
7454 | relation: {
|
7455 | database_id: IdRequest;
|
7456 | synced_property_id: StringRequest;
|
7457 | synced_property_name: StringRequest;
|
7458 | };
|
7459 | id: string;
|
7460 | name: string;
|
7461 | } | {
|
7462 | type: "rollup";
|
7463 | rollup: {
|
7464 | rollup_property_name: string;
|
7465 | relation_property_name: string;
|
7466 | rollup_property_id: string;
|
7467 | relation_property_id: string;
|
7468 | function: RollupFunction;
|
7469 | };
|
7470 | id: string;
|
7471 | name: string;
|
7472 | } | {
|
7473 | type: "title";
|
7474 | title: EmptyObject;
|
7475 | id: string;
|
7476 | name: string;
|
7477 | } | {
|
7478 | type: "rich_text";
|
7479 | rich_text: EmptyObject;
|
7480 | id: string;
|
7481 | name: string;
|
7482 | } | {
|
7483 | type: "url";
|
7484 | url: EmptyObject;
|
7485 | id: string;
|
7486 | name: string;
|
7487 | } | {
|
7488 | type: "people";
|
7489 | people: EmptyObject;
|
7490 | id: string;
|
7491 | name: string;
|
7492 | } | {
|
7493 | type: "files";
|
7494 | files: EmptyObject;
|
7495 | id: string;
|
7496 | name: string;
|
7497 | } | {
|
7498 | type: "email";
|
7499 | email: EmptyObject;
|
7500 | id: string;
|
7501 | name: string;
|
7502 | } | {
|
7503 | type: "phone_number";
|
7504 | phone_number: EmptyObject;
|
7505 | id: string;
|
7506 | name: string;
|
7507 | } | {
|
7508 | type: "date";
|
7509 | date: EmptyObject;
|
7510 | id: string;
|
7511 | name: string;
|
7512 | } | {
|
7513 | type: "checkbox";
|
7514 | checkbox: EmptyObject;
|
7515 | id: string;
|
7516 | name: string;
|
7517 | } | {
|
7518 | type: "created_by";
|
7519 | created_by: EmptyObject;
|
7520 | id: string;
|
7521 | name: string;
|
7522 | } | {
|
7523 | type: "created_time";
|
7524 | created_time: EmptyObject;
|
7525 | id: string;
|
7526 | name: string;
|
7527 | } | {
|
7528 | type: "last_edited_by";
|
7529 | last_edited_by: EmptyObject;
|
7530 | id: string;
|
7531 | name: string;
|
7532 | } | {
|
7533 | type: "last_edited_time";
|
7534 | last_edited_time: EmptyObject;
|
7535 | id: string;
|
7536 | name: string;
|
7537 | }>;
|
7538 | parent: {
|
7539 | type: "page_id";
|
7540 | page_id: string;
|
7541 | } | {
|
7542 | type: "workspace";
|
7543 | workspace: true;
|
7544 | };
|
7545 | created_by: {
|
7546 | id: IdRequest;
|
7547 | object: "user";
|
7548 | };
|
7549 | last_edited_by: {
|
7550 | id: IdRequest;
|
7551 | object: "user";
|
7552 | };
|
7553 | object: "database";
|
7554 | id: string;
|
7555 | created_time: string;
|
7556 | last_edited_time: string;
|
7557 | archived: boolean;
|
7558 | url: string;
|
7559 | }>;
|
7560 | };
|
7561 | export declare const listDatabases: {
|
7562 | readonly method: "get";
|
7563 | readonly pathParams: readonly [];
|
7564 | readonly queryParams: readonly ["start_cursor", "page_size"];
|
7565 | readonly bodyParams: readonly [];
|
7566 | readonly path: () => string;
|
7567 | };
|
7568 | declare type CreateDatabaseBodyParameters = {
|
7569 | parent: {
|
7570 | page_id: IdRequest;
|
7571 | type?: "page_id";
|
7572 | };
|
7573 | properties: Record<string, {
|
7574 | number: {
|
7575 | format?: NumberFormat;
|
7576 | };
|
7577 | type?: "number";
|
7578 | } | {
|
7579 | formula: {
|
7580 | expression?: string;
|
7581 | };
|
7582 | type?: "formula";
|
7583 | } | {
|
7584 | select: {
|
7585 | options?: Array<{
|
7586 | name: StringRequest;
|
7587 | color?: SelectColor;
|
7588 | }>;
|
7589 | };
|
7590 | type?: "select";
|
7591 | } | {
|
7592 | multi_select: {
|
7593 | options?: Array<{
|
7594 | name: StringRequest;
|
7595 | color?: SelectColor;
|
7596 | }>;
|
7597 | };
|
7598 | type?: "multi_select";
|
7599 | } | {
|
7600 | relation: {
|
7601 | database_id: IdRequest;
|
7602 | };
|
7603 | type?: "relation";
|
7604 | } | {
|
7605 | rollup: {
|
7606 | rollup_property_name: string;
|
7607 | relation_property_name: string;
|
7608 | function: RollupFunction;
|
7609 | rollup_property_id?: string;
|
7610 | relation_property_id?: string;
|
7611 | } | {
|
7612 | rollup_property_name: string;
|
7613 | relation_property_id: string;
|
7614 | function: RollupFunction;
|
7615 | relation_property_name?: string;
|
7616 | rollup_property_id?: string;
|
7617 | } | {
|
7618 | relation_property_name: string;
|
7619 | rollup_property_id: string;
|
7620 | function: RollupFunction;
|
7621 | rollup_property_name?: string;
|
7622 | relation_property_id?: string;
|
7623 | } | {
|
7624 | rollup_property_id: string;
|
7625 | relation_property_id: string;
|
7626 | function: RollupFunction;
|
7627 | rollup_property_name?: string;
|
7628 | relation_property_name?: string;
|
7629 | };
|
7630 | type?: "rollup";
|
7631 | } | {
|
7632 | title: EmptyObject;
|
7633 | type?: "title";
|
7634 | } | {
|
7635 | rich_text: EmptyObject;
|
7636 | type?: "rich_text";
|
7637 | } | {
|
7638 | url: EmptyObject;
|
7639 | type?: "url";
|
7640 | } | {
|
7641 | people: EmptyObject;
|
7642 | type?: "people";
|
7643 | } | {
|
7644 | files: EmptyObject;
|
7645 | type?: "files";
|
7646 | } | {
|
7647 | email: EmptyObject;
|
7648 | type?: "email";
|
7649 | } | {
|
7650 | phone_number: EmptyObject;
|
7651 | type?: "phone_number";
|
7652 | } | {
|
7653 | date: EmptyObject;
|
7654 | type?: "date";
|
7655 | } | {
|
7656 | checkbox: EmptyObject;
|
7657 | type?: "checkbox";
|
7658 | } | {
|
7659 | created_by: EmptyObject;
|
7660 | type?: "created_by";
|
7661 | } | {
|
7662 | created_time: EmptyObject;
|
7663 | type?: "created_time";
|
7664 | } | {
|
7665 | last_edited_by: EmptyObject;
|
7666 | type?: "last_edited_by";
|
7667 | } | {
|
7668 | last_edited_time: EmptyObject;
|
7669 | type?: "last_edited_time";
|
7670 | }>;
|
7671 | icon?: {
|
7672 | emoji: EmojiRequest;
|
7673 | type?: "emoji";
|
7674 | } | null | {
|
7675 | external: {
|
7676 | url: TextRequest;
|
7677 | };
|
7678 | type?: "external";
|
7679 | } | null;
|
7680 | cover?: {
|
7681 | external: {
|
7682 | url: TextRequest;
|
7683 | };
|
7684 | type?: "external";
|
7685 | } | null;
|
7686 | title?: Array<RichTextItemRequest>;
|
7687 | };
|
7688 | export declare type CreateDatabaseParameters = CreateDatabaseBodyParameters;
|
7689 | export declare type CreateDatabaseResponse = {
|
7690 | object: "database";
|
7691 | id: string;
|
7692 | properties: Record<string, {
|
7693 | type: "number";
|
7694 | number: {
|
7695 | format: NumberFormat;
|
7696 | };
|
7697 | id: string;
|
7698 | name: string;
|
7699 | } | {
|
7700 | type: "formula";
|
7701 | formula: {
|
7702 | expression: string;
|
7703 | };
|
7704 | id: string;
|
7705 | name: string;
|
7706 | } | {
|
7707 | type: "select";
|
7708 | select: {
|
7709 | options: Array<{
|
7710 | name: StringRequest;
|
7711 | id?: StringRequest;
|
7712 | color?: SelectColor;
|
7713 | }>;
|
7714 | };
|
7715 | id: string;
|
7716 | name: string;
|
7717 | } | {
|
7718 | type: "multi_select";
|
7719 | multi_select: {
|
7720 | options: Array<{
|
7721 | name: StringRequest;
|
7722 | id?: StringRequest;
|
7723 | color?: SelectColor;
|
7724 | }>;
|
7725 | };
|
7726 | id: string;
|
7727 | name: string;
|
7728 | } | {
|
7729 | type: "relation";
|
7730 | relation: {
|
7731 | database_id: IdRequest;
|
7732 | synced_property_id: StringRequest;
|
7733 | synced_property_name: StringRequest;
|
7734 | };
|
7735 | id: string;
|
7736 | name: string;
|
7737 | } | {
|
7738 | type: "rollup";
|
7739 | rollup: {
|
7740 | rollup_property_name: string;
|
7741 | relation_property_name: string;
|
7742 | rollup_property_id: string;
|
7743 | relation_property_id: string;
|
7744 | function: RollupFunction;
|
7745 | };
|
7746 | id: string;
|
7747 | name: string;
|
7748 | } | {
|
7749 | type: "title";
|
7750 | title: EmptyObject;
|
7751 | id: string;
|
7752 | name: string;
|
7753 | } | {
|
7754 | type: "rich_text";
|
7755 | rich_text: EmptyObject;
|
7756 | id: string;
|
7757 | name: string;
|
7758 | } | {
|
7759 | type: "url";
|
7760 | url: EmptyObject;
|
7761 | id: string;
|
7762 | name: string;
|
7763 | } | {
|
7764 | type: "people";
|
7765 | people: EmptyObject;
|
7766 | id: string;
|
7767 | name: string;
|
7768 | } | {
|
7769 | type: "files";
|
7770 | files: EmptyObject;
|
7771 | id: string;
|
7772 | name: string;
|
7773 | } | {
|
7774 | type: "email";
|
7775 | email: EmptyObject;
|
7776 | id: string;
|
7777 | name: string;
|
7778 | } | {
|
7779 | type: "phone_number";
|
7780 | phone_number: EmptyObject;
|
7781 | id: string;
|
7782 | name: string;
|
7783 | } | {
|
7784 | type: "date";
|
7785 | date: EmptyObject;
|
7786 | id: string;
|
7787 | name: string;
|
7788 | } | {
|
7789 | type: "checkbox";
|
7790 | checkbox: EmptyObject;
|
7791 | id: string;
|
7792 | name: string;
|
7793 | } | {
|
7794 | type: "created_by";
|
7795 | created_by: EmptyObject;
|
7796 | id: string;
|
7797 | name: string;
|
7798 | } | {
|
7799 | type: "created_time";
|
7800 | created_time: EmptyObject;
|
7801 | id: string;
|
7802 | name: string;
|
7803 | } | {
|
7804 | type: "last_edited_by";
|
7805 | last_edited_by: EmptyObject;
|
7806 | id: string;
|
7807 | name: string;
|
7808 | } | {
|
7809 | type: "last_edited_time";
|
7810 | last_edited_time: EmptyObject;
|
7811 | id: string;
|
7812 | name: string;
|
7813 | }>;
|
7814 | } | {
|
7815 | title: Array<RichTextItemResponse>;
|
7816 | icon: {
|
7817 | type: "emoji";
|
7818 | emoji: EmojiRequest;
|
7819 | } | null | {
|
7820 | type: "external";
|
7821 | external: {
|
7822 | url: TextRequest;
|
7823 | };
|
7824 | } | null | {
|
7825 | type: "file";
|
7826 | file: {
|
7827 | url: string;
|
7828 | expiry_time: string;
|
7829 | };
|
7830 | } | null;
|
7831 | cover: {
|
7832 | type: "external";
|
7833 | external: {
|
7834 | url: TextRequest;
|
7835 | };
|
7836 | } | null | {
|
7837 | type: "file";
|
7838 | file: {
|
7839 | url: string;
|
7840 | expiry_time: string;
|
7841 | };
|
7842 | } | null;
|
7843 | properties: Record<string, {
|
7844 | type: "number";
|
7845 | number: {
|
7846 | format: NumberFormat;
|
7847 | };
|
7848 | id: string;
|
7849 | name: string;
|
7850 | } | {
|
7851 | type: "formula";
|
7852 | formula: {
|
7853 | expression: string;
|
7854 | };
|
7855 | id: string;
|
7856 | name: string;
|
7857 | } | {
|
7858 | type: "select";
|
7859 | select: {
|
7860 | options: Array<{
|
7861 | name: StringRequest;
|
7862 | id?: StringRequest;
|
7863 | color?: SelectColor;
|
7864 | }>;
|
7865 | };
|
7866 | id: string;
|
7867 | name: string;
|
7868 | } | {
|
7869 | type: "multi_select";
|
7870 | multi_select: {
|
7871 | options: Array<{
|
7872 | name: StringRequest;
|
7873 | id?: StringRequest;
|
7874 | color?: SelectColor;
|
7875 | }>;
|
7876 | };
|
7877 | id: string;
|
7878 | name: string;
|
7879 | } | {
|
7880 | type: "relation";
|
7881 | relation: {
|
7882 | database_id: IdRequest;
|
7883 | synced_property_id: StringRequest;
|
7884 | synced_property_name: StringRequest;
|
7885 | };
|
7886 | id: string;
|
7887 | name: string;
|
7888 | } | {
|
7889 | type: "rollup";
|
7890 | rollup: {
|
7891 | rollup_property_name: string;
|
7892 | relation_property_name: string;
|
7893 | rollup_property_id: string;
|
7894 | relation_property_id: string;
|
7895 | function: RollupFunction;
|
7896 | };
|
7897 | id: string;
|
7898 | name: string;
|
7899 | } | {
|
7900 | type: "title";
|
7901 | title: EmptyObject;
|
7902 | id: string;
|
7903 | name: string;
|
7904 | } | {
|
7905 | type: "rich_text";
|
7906 | rich_text: EmptyObject;
|
7907 | id: string;
|
7908 | name: string;
|
7909 | } | {
|
7910 | type: "url";
|
7911 | url: EmptyObject;
|
7912 | id: string;
|
7913 | name: string;
|
7914 | } | {
|
7915 | type: "people";
|
7916 | people: EmptyObject;
|
7917 | id: string;
|
7918 | name: string;
|
7919 | } | {
|
7920 | type: "files";
|
7921 | files: EmptyObject;
|
7922 | id: string;
|
7923 | name: string;
|
7924 | } | {
|
7925 | type: "email";
|
7926 | email: EmptyObject;
|
7927 | id: string;
|
7928 | name: string;
|
7929 | } | {
|
7930 | type: "phone_number";
|
7931 | phone_number: EmptyObject;
|
7932 | id: string;
|
7933 | name: string;
|
7934 | } | {
|
7935 | type: "date";
|
7936 | date: EmptyObject;
|
7937 | id: string;
|
7938 | name: string;
|
7939 | } | {
|
7940 | type: "checkbox";
|
7941 | checkbox: EmptyObject;
|
7942 | id: string;
|
7943 | name: string;
|
7944 | } | {
|
7945 | type: "created_by";
|
7946 | created_by: EmptyObject;
|
7947 | id: string;
|
7948 | name: string;
|
7949 | } | {
|
7950 | type: "created_time";
|
7951 | created_time: EmptyObject;
|
7952 | id: string;
|
7953 | name: string;
|
7954 | } | {
|
7955 | type: "last_edited_by";
|
7956 | last_edited_by: EmptyObject;
|
7957 | id: string;
|
7958 | name: string;
|
7959 | } | {
|
7960 | type: "last_edited_time";
|
7961 | last_edited_time: EmptyObject;
|
7962 | id: string;
|
7963 | name: string;
|
7964 | }>;
|
7965 | parent: {
|
7966 | type: "page_id";
|
7967 | page_id: string;
|
7968 | } | {
|
7969 | type: "workspace";
|
7970 | workspace: true;
|
7971 | };
|
7972 | created_by: {
|
7973 | id: IdRequest;
|
7974 | object: "user";
|
7975 | };
|
7976 | last_edited_by: {
|
7977 | id: IdRequest;
|
7978 | object: "user";
|
7979 | };
|
7980 | object: "database";
|
7981 | id: string;
|
7982 | created_time: string;
|
7983 | last_edited_time: string;
|
7984 | archived: boolean;
|
7985 | url: string;
|
7986 | };
|
7987 | export declare const createDatabase: {
|
7988 | readonly method: "post";
|
7989 | readonly pathParams: readonly [];
|
7990 | readonly queryParams: readonly [];
|
7991 | readonly bodyParams: readonly ["parent", "properties", "icon", "cover", "title"];
|
7992 | readonly path: () => string;
|
7993 | };
|
7994 | declare type SearchBodyParameters = {
|
7995 | sort?: {
|
7996 | timestamp: "last_edited_time";
|
7997 | direction: "ascending" | "descending";
|
7998 | };
|
7999 | query?: string;
|
8000 | start_cursor?: string;
|
8001 | page_size?: number;
|
8002 | filter?: {
|
8003 | property: "object";
|
8004 | value: "page" | "database";
|
8005 | };
|
8006 | };
|
8007 | export declare type SearchParameters = SearchBodyParameters;
|
8008 | export declare type SearchResponse = {
|
8009 | type: "page_or_database";
|
8010 | page_or_database: EmptyObject;
|
8011 | object: "list";
|
8012 | next_cursor: string | null;
|
8013 | has_more: boolean;
|
8014 | results: Array<{
|
8015 | parent: {
|
8016 | type: "database_id";
|
8017 | database_id: IdRequest;
|
8018 | } | {
|
8019 | type: "page_id";
|
8020 | page_id: IdRequest;
|
8021 | } | {
|
8022 | type: "workspace";
|
8023 | workspace: true;
|
8024 | };
|
8025 | properties: Record<string, {
|
8026 | type: "number";
|
8027 | number: number | null;
|
8028 | id: string;
|
8029 | } | {
|
8030 | type: "url";
|
8031 | url: string | null;
|
8032 | id: string;
|
8033 | } | {
|
8034 | type: "select";
|
8035 | select: SelectPropertyResponse | null;
|
8036 | id: string;
|
8037 | } | {
|
8038 | type: "multi_select";
|
8039 | multi_select: Array<SelectPropertyResponse>;
|
8040 | id: string;
|
8041 | } | {
|
8042 | type: "date";
|
8043 | date: DateResponse | null;
|
8044 | id: string;
|
8045 | } | {
|
8046 | type: "email";
|
8047 | email: string | null;
|
8048 | id: string;
|
8049 | } | {
|
8050 | type: "phone_number";
|
8051 | phone_number: string | null;
|
8052 | id: string;
|
8053 | } | {
|
8054 | type: "checkbox";
|
8055 | checkbox: boolean;
|
8056 | id: string;
|
8057 | } | {
|
8058 | type: "files";
|
8059 | files: Array<{
|
8060 | file: {
|
8061 | url: string;
|
8062 | expiry_time: string;
|
8063 | };
|
8064 | name: StringRequest;
|
8065 | type?: "file";
|
8066 | } | {
|
8067 | external: {
|
8068 | url: TextRequest;
|
8069 | };
|
8070 | name: StringRequest;
|
8071 | type?: "external";
|
8072 | }>;
|
8073 | id: string;
|
8074 | } | {
|
8075 | type: "created_by";
|
8076 | created_by: PartialUserObjectResponse;
|
8077 | id: string;
|
8078 | } | {
|
8079 | type: "created_time";
|
8080 | created_time: string;
|
8081 | id: string;
|
8082 | } | {
|
8083 | type: "last_edited_by";
|
8084 | last_edited_by: PartialUserObjectResponse;
|
8085 | id: string;
|
8086 | } | {
|
8087 | type: "last_edited_time";
|
8088 | last_edited_time: string;
|
8089 | id: string;
|
8090 | } | {
|
8091 | type: "formula";
|
8092 | formula: {
|
8093 | type: "string";
|
8094 | string: string | null;
|
8095 | } | {
|
8096 | type: "date";
|
8097 | date: DateResponse | null;
|
8098 | } | {
|
8099 | type: "number";
|
8100 | number: number | null;
|
8101 | } | {
|
8102 | type: "boolean";
|
8103 | boolean: boolean | null;
|
8104 | };
|
8105 | id: string;
|
8106 | } | {
|
8107 | type: "title";
|
8108 | title: Array<RichTextItemResponse>;
|
8109 | id: string;
|
8110 | } | {
|
8111 | type: "rich_text";
|
8112 | rich_text: Array<RichTextItemResponse>;
|
8113 | id: string;
|
8114 | } | {
|
8115 | type: "people";
|
8116 | people: Array<PartialUserObjectResponse>;
|
8117 | id: string;
|
8118 | } | {
|
8119 | type: "relation";
|
8120 | relation: Array<{
|
8121 | id: string;
|
8122 | }>;
|
8123 | id: string;
|
8124 | } | {
|
8125 | type: "rollup";
|
8126 | rollup: {
|
8127 | type: "number";
|
8128 | number: number | null;
|
8129 | function: RollupFunction;
|
8130 | } | {
|
8131 | type: "date";
|
8132 | date: DateResponse | null;
|
8133 | function: RollupFunction;
|
8134 | } | {
|
8135 | type: "array";
|
8136 | array: Array<{
|
8137 | type: "title";
|
8138 | title: Array<RichTextItemResponse>;
|
8139 | } | {
|
8140 | type: "rich_text";
|
8141 | rich_text: Array<RichTextItemResponse>;
|
8142 | } | {
|
8143 | type: "people";
|
8144 | people: Array<PartialUserObjectResponse>;
|
8145 | } | {
|
8146 | type: "relation";
|
8147 | relation: Array<{
|
8148 | id: string;
|
8149 | }>;
|
8150 | }>;
|
8151 | function: RollupFunction;
|
8152 | };
|
8153 | id: string;
|
8154 | }>;
|
8155 | icon: {
|
8156 | type: "emoji";
|
8157 | emoji: EmojiRequest;
|
8158 | } | null | {
|
8159 | type: "external";
|
8160 | external: {
|
8161 | url: TextRequest;
|
8162 | };
|
8163 | } | null | {
|
8164 | type: "file";
|
8165 | file: {
|
8166 | url: string;
|
8167 | expiry_time: string;
|
8168 | };
|
8169 | } | null;
|
8170 | cover: {
|
8171 | type: "external";
|
8172 | external: {
|
8173 | url: TextRequest;
|
8174 | };
|
8175 | } | null | {
|
8176 | type: "file";
|
8177 | file: {
|
8178 | url: string;
|
8179 | expiry_time: string;
|
8180 | };
|
8181 | } | null;
|
8182 | created_by: {
|
8183 | id: IdRequest;
|
8184 | object: "user";
|
8185 | };
|
8186 | last_edited_by: {
|
8187 | id: IdRequest;
|
8188 | object: "user";
|
8189 | };
|
8190 | object: "page";
|
8191 | id: string;
|
8192 | created_time: string;
|
8193 | last_edited_time: string;
|
8194 | archived: boolean;
|
8195 | url: string;
|
8196 | } | {
|
8197 | object: "page";
|
8198 | id: string;
|
8199 | } | {
|
8200 | object: "database";
|
8201 | id: string;
|
8202 | properties: Record<string, {
|
8203 | type: "number";
|
8204 | number: {
|
8205 | format: NumberFormat;
|
8206 | };
|
8207 | id: string;
|
8208 | name: string;
|
8209 | } | {
|
8210 | type: "formula";
|
8211 | formula: {
|
8212 | expression: string;
|
8213 | };
|
8214 | id: string;
|
8215 | name: string;
|
8216 | } | {
|
8217 | type: "select";
|
8218 | select: {
|
8219 | options: Array<{
|
8220 | name: StringRequest;
|
8221 | id?: StringRequest;
|
8222 | color?: SelectColor;
|
8223 | }>;
|
8224 | };
|
8225 | id: string;
|
8226 | name: string;
|
8227 | } | {
|
8228 | type: "multi_select";
|
8229 | multi_select: {
|
8230 | options: Array<{
|
8231 | name: StringRequest;
|
8232 | id?: StringRequest;
|
8233 | color?: SelectColor;
|
8234 | }>;
|
8235 | };
|
8236 | id: string;
|
8237 | name: string;
|
8238 | } | {
|
8239 | type: "relation";
|
8240 | relation: {
|
8241 | database_id: IdRequest;
|
8242 | synced_property_id: StringRequest;
|
8243 | synced_property_name: StringRequest;
|
8244 | };
|
8245 | id: string;
|
8246 | name: string;
|
8247 | } | {
|
8248 | type: "rollup";
|
8249 | rollup: {
|
8250 | rollup_property_name: string;
|
8251 | relation_property_name: string;
|
8252 | rollup_property_id: string;
|
8253 | relation_property_id: string;
|
8254 | function: RollupFunction;
|
8255 | };
|
8256 | id: string;
|
8257 | name: string;
|
8258 | } | {
|
8259 | type: "title";
|
8260 | title: EmptyObject;
|
8261 | id: string;
|
8262 | name: string;
|
8263 | } | {
|
8264 | type: "rich_text";
|
8265 | rich_text: EmptyObject;
|
8266 | id: string;
|
8267 | name: string;
|
8268 | } | {
|
8269 | type: "url";
|
8270 | url: EmptyObject;
|
8271 | id: string;
|
8272 | name: string;
|
8273 | } | {
|
8274 | type: "people";
|
8275 | people: EmptyObject;
|
8276 | id: string;
|
8277 | name: string;
|
8278 | } | {
|
8279 | type: "files";
|
8280 | files: EmptyObject;
|
8281 | id: string;
|
8282 | name: string;
|
8283 | } | {
|
8284 | type: "email";
|
8285 | email: EmptyObject;
|
8286 | id: string;
|
8287 | name: string;
|
8288 | } | {
|
8289 | type: "phone_number";
|
8290 | phone_number: EmptyObject;
|
8291 | id: string;
|
8292 | name: string;
|
8293 | } | {
|
8294 | type: "date";
|
8295 | date: EmptyObject;
|
8296 | id: string;
|
8297 | name: string;
|
8298 | } | {
|
8299 | type: "checkbox";
|
8300 | checkbox: EmptyObject;
|
8301 | id: string;
|
8302 | name: string;
|
8303 | } | {
|
8304 | type: "created_by";
|
8305 | created_by: EmptyObject;
|
8306 | id: string;
|
8307 | name: string;
|
8308 | } | {
|
8309 | type: "created_time";
|
8310 | created_time: EmptyObject;
|
8311 | id: string;
|
8312 | name: string;
|
8313 | } | {
|
8314 | type: "last_edited_by";
|
8315 | last_edited_by: EmptyObject;
|
8316 | id: string;
|
8317 | name: string;
|
8318 | } | {
|
8319 | type: "last_edited_time";
|
8320 | last_edited_time: EmptyObject;
|
8321 | id: string;
|
8322 | name: string;
|
8323 | }>;
|
8324 | } | {
|
8325 | title: Array<RichTextItemResponse>;
|
8326 | icon: {
|
8327 | type: "emoji";
|
8328 | emoji: EmojiRequest;
|
8329 | } | null | {
|
8330 | type: "external";
|
8331 | external: {
|
8332 | url: TextRequest;
|
8333 | };
|
8334 | } | null | {
|
8335 | type: "file";
|
8336 | file: {
|
8337 | url: string;
|
8338 | expiry_time: string;
|
8339 | };
|
8340 | } | null;
|
8341 | cover: {
|
8342 | type: "external";
|
8343 | external: {
|
8344 | url: TextRequest;
|
8345 | };
|
8346 | } | null | {
|
8347 | type: "file";
|
8348 | file: {
|
8349 | url: string;
|
8350 | expiry_time: string;
|
8351 | };
|
8352 | } | null;
|
8353 | properties: Record<string, {
|
8354 | type: "number";
|
8355 | number: {
|
8356 | format: NumberFormat;
|
8357 | };
|
8358 | id: string;
|
8359 | name: string;
|
8360 | } | {
|
8361 | type: "formula";
|
8362 | formula: {
|
8363 | expression: string;
|
8364 | };
|
8365 | id: string;
|
8366 | name: string;
|
8367 | } | {
|
8368 | type: "select";
|
8369 | select: {
|
8370 | options: Array<{
|
8371 | name: StringRequest;
|
8372 | id?: StringRequest;
|
8373 | color?: SelectColor;
|
8374 | }>;
|
8375 | };
|
8376 | id: string;
|
8377 | name: string;
|
8378 | } | {
|
8379 | type: "multi_select";
|
8380 | multi_select: {
|
8381 | options: Array<{
|
8382 | name: StringRequest;
|
8383 | id?: StringRequest;
|
8384 | color?: SelectColor;
|
8385 | }>;
|
8386 | };
|
8387 | id: string;
|
8388 | name: string;
|
8389 | } | {
|
8390 | type: "relation";
|
8391 | relation: {
|
8392 | database_id: IdRequest;
|
8393 | synced_property_id: StringRequest;
|
8394 | synced_property_name: StringRequest;
|
8395 | };
|
8396 | id: string;
|
8397 | name: string;
|
8398 | } | {
|
8399 | type: "rollup";
|
8400 | rollup: {
|
8401 | rollup_property_name: string;
|
8402 | relation_property_name: string;
|
8403 | rollup_property_id: string;
|
8404 | relation_property_id: string;
|
8405 | function: RollupFunction;
|
8406 | };
|
8407 | id: string;
|
8408 | name: string;
|
8409 | } | {
|
8410 | type: "title";
|
8411 | title: EmptyObject;
|
8412 | id: string;
|
8413 | name: string;
|
8414 | } | {
|
8415 | type: "rich_text";
|
8416 | rich_text: EmptyObject;
|
8417 | id: string;
|
8418 | name: string;
|
8419 | } | {
|
8420 | type: "url";
|
8421 | url: EmptyObject;
|
8422 | id: string;
|
8423 | name: string;
|
8424 | } | {
|
8425 | type: "people";
|
8426 | people: EmptyObject;
|
8427 | id: string;
|
8428 | name: string;
|
8429 | } | {
|
8430 | type: "files";
|
8431 | files: EmptyObject;
|
8432 | id: string;
|
8433 | name: string;
|
8434 | } | {
|
8435 | type: "email";
|
8436 | email: EmptyObject;
|
8437 | id: string;
|
8438 | name: string;
|
8439 | } | {
|
8440 | type: "phone_number";
|
8441 | phone_number: EmptyObject;
|
8442 | id: string;
|
8443 | name: string;
|
8444 | } | {
|
8445 | type: "date";
|
8446 | date: EmptyObject;
|
8447 | id: string;
|
8448 | name: string;
|
8449 | } | {
|
8450 | type: "checkbox";
|
8451 | checkbox: EmptyObject;
|
8452 | id: string;
|
8453 | name: string;
|
8454 | } | {
|
8455 | type: "created_by";
|
8456 | created_by: EmptyObject;
|
8457 | id: string;
|
8458 | name: string;
|
8459 | } | {
|
8460 | type: "created_time";
|
8461 | created_time: EmptyObject;
|
8462 | id: string;
|
8463 | name: string;
|
8464 | } | {
|
8465 | type: "last_edited_by";
|
8466 | last_edited_by: EmptyObject;
|
8467 | id: string;
|
8468 | name: string;
|
8469 | } | {
|
8470 | type: "last_edited_time";
|
8471 | last_edited_time: EmptyObject;
|
8472 | id: string;
|
8473 | name: string;
|
8474 | }>;
|
8475 | parent: {
|
8476 | type: "page_id";
|
8477 | page_id: string;
|
8478 | } | {
|
8479 | type: "workspace";
|
8480 | workspace: true;
|
8481 | };
|
8482 | created_by: {
|
8483 | id: IdRequest;
|
8484 | object: "user";
|
8485 | };
|
8486 | last_edited_by: {
|
8487 | id: IdRequest;
|
8488 | object: "user";
|
8489 | };
|
8490 | object: "database";
|
8491 | id: string;
|
8492 | created_time: string;
|
8493 | last_edited_time: string;
|
8494 | archived: boolean;
|
8495 | url: string;
|
8496 | }>;
|
8497 | };
|
8498 | export declare const search: {
|
8499 | readonly method: "post";
|
8500 | readonly pathParams: readonly [];
|
8501 | readonly queryParams: readonly [];
|
8502 | readonly bodyParams: readonly ["sort", "query", "start_cursor", "page_size", "filter"];
|
8503 | readonly path: () => string;
|
8504 | };
|
8505 | export {};
|
8506 |
|
\ | No newline at end of file |