@notionhq/client 5.20.0 → 5.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/package.json +1 -1
- package/build/src/Client.d.ts +8 -0
- package/build/src/Client.d.ts.map +1 -1
- package/build/src/Client.js +15 -0
- package/build/src/Client.js.map +1 -1
- package/build/src/api-endpoints/common.d.ts +5 -1
- package/build/src/api-endpoints/common.d.ts.map +1 -1
- package/build/src/api-endpoints/common.js.map +1 -1
- package/build/src/api-endpoints/meeting-notes.d.ts +164 -0
- package/build/src/api-endpoints/meeting-notes.d.ts.map +1 -0
- package/build/src/api-endpoints/meeting-notes.js +16 -0
- package/build/src/api-endpoints/meeting-notes.js.map +1 -0
- package/build/src/api-endpoints/pages.d.ts +5 -0
- package/build/src/api-endpoints/pages.d.ts.map +1 -1
- package/build/src/api-endpoints/pages.js.map +1 -1
- package/build/src/api-endpoints/webhooks.d.ts +1 -1
- package/build/src/api-endpoints/webhooks.d.ts.map +1 -1
- package/build/src/api-endpoints/webhooks.js.map +1 -1
- package/build/src/index.d.ts +3 -0
- package/build/src/index.d.ts.map +1 -1
- package/build/src/index.js +3 -1
- package/build/src/index.js.map +1 -1
- package/build/src/meeting-notes.d.ts +81 -0
- package/build/src/meeting-notes.d.ts.map +1 -0
- package/build/src/meeting-notes.js +40 -0
- package/build/src/meeting-notes.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import type { IdResponse, PartialUserObjectResponse, RichTextItemResponse } from "./common";
|
|
2
|
+
type QueryMeetingNotesBodyParameters = {
|
|
3
|
+
filter?: {
|
|
4
|
+
operator: "and" | "or";
|
|
5
|
+
filters?: Array<{
|
|
6
|
+
operator: "and" | "or";
|
|
7
|
+
filters: Array<{
|
|
8
|
+
property: string;
|
|
9
|
+
filter: {
|
|
10
|
+
operator: string;
|
|
11
|
+
value?: {
|
|
12
|
+
type: "relative" | "exact";
|
|
13
|
+
value: string | {
|
|
14
|
+
type: "date" | "datetime";
|
|
15
|
+
start_date: string;
|
|
16
|
+
start_time?: string;
|
|
17
|
+
time_zone?: string;
|
|
18
|
+
};
|
|
19
|
+
} | {
|
|
20
|
+
type: "relative" | "exact";
|
|
21
|
+
value: string | {
|
|
22
|
+
type: "daterange";
|
|
23
|
+
start_date: string;
|
|
24
|
+
end_date?: string;
|
|
25
|
+
};
|
|
26
|
+
direction?: "past" | "future";
|
|
27
|
+
unit?: "day" | "week" | "month" | "year";
|
|
28
|
+
count?: number;
|
|
29
|
+
} | {
|
|
30
|
+
type: "exact";
|
|
31
|
+
value: string;
|
|
32
|
+
} | Array<{
|
|
33
|
+
type: "exact";
|
|
34
|
+
value: {
|
|
35
|
+
table: "notion_user";
|
|
36
|
+
id: string;
|
|
37
|
+
};
|
|
38
|
+
}>;
|
|
39
|
+
};
|
|
40
|
+
} | {
|
|
41
|
+
operator: "and" | "or";
|
|
42
|
+
filters: Array<{
|
|
43
|
+
property: string;
|
|
44
|
+
filter: {
|
|
45
|
+
operator: string;
|
|
46
|
+
value?: {
|
|
47
|
+
type: "relative" | "exact";
|
|
48
|
+
value: string | {
|
|
49
|
+
type: "date" | "datetime";
|
|
50
|
+
start_date: string;
|
|
51
|
+
start_time?: string;
|
|
52
|
+
time_zone?: string;
|
|
53
|
+
};
|
|
54
|
+
} | {
|
|
55
|
+
type: "relative" | "exact";
|
|
56
|
+
value: string | {
|
|
57
|
+
type: "daterange";
|
|
58
|
+
start_date: string;
|
|
59
|
+
end_date?: string;
|
|
60
|
+
};
|
|
61
|
+
direction?: "past" | "future";
|
|
62
|
+
unit?: "day" | "week" | "month" | "year";
|
|
63
|
+
count?: number;
|
|
64
|
+
} | {
|
|
65
|
+
type: "exact";
|
|
66
|
+
value: string;
|
|
67
|
+
} | Array<{
|
|
68
|
+
type: "exact";
|
|
69
|
+
value: {
|
|
70
|
+
table: "notion_user";
|
|
71
|
+
id: string;
|
|
72
|
+
};
|
|
73
|
+
}>;
|
|
74
|
+
};
|
|
75
|
+
}>;
|
|
76
|
+
}>;
|
|
77
|
+
} | {
|
|
78
|
+
property: string;
|
|
79
|
+
filter: {
|
|
80
|
+
operator: string;
|
|
81
|
+
value?: {
|
|
82
|
+
type: "relative" | "exact";
|
|
83
|
+
value: string | {
|
|
84
|
+
type: "date" | "datetime";
|
|
85
|
+
start_date: string;
|
|
86
|
+
start_time?: string;
|
|
87
|
+
time_zone?: string;
|
|
88
|
+
};
|
|
89
|
+
} | {
|
|
90
|
+
type: "relative" | "exact";
|
|
91
|
+
value: string | {
|
|
92
|
+
type: "daterange";
|
|
93
|
+
start_date: string;
|
|
94
|
+
end_date?: string;
|
|
95
|
+
};
|
|
96
|
+
direction?: "past" | "future";
|
|
97
|
+
unit?: "day" | "week" | "month" | "year";
|
|
98
|
+
count?: number;
|
|
99
|
+
} | {
|
|
100
|
+
type: "exact";
|
|
101
|
+
value: string;
|
|
102
|
+
} | Array<{
|
|
103
|
+
type: "exact";
|
|
104
|
+
value: {
|
|
105
|
+
table: "notion_user";
|
|
106
|
+
id: string;
|
|
107
|
+
};
|
|
108
|
+
}>;
|
|
109
|
+
};
|
|
110
|
+
}>;
|
|
111
|
+
};
|
|
112
|
+
sort?: Array<{
|
|
113
|
+
property: "title" | "attendees" | "created_time" | "created_by" | "last_edited_time" | "last_edited_by";
|
|
114
|
+
direction: "ascending" | "descending";
|
|
115
|
+
}>;
|
|
116
|
+
limit?: number;
|
|
117
|
+
};
|
|
118
|
+
export type QueryMeetingNotesParameters = QueryMeetingNotesBodyParameters;
|
|
119
|
+
export type QueryMeetingNotesResponse = {
|
|
120
|
+
results: Array<{
|
|
121
|
+
object: "block";
|
|
122
|
+
id: IdResponse;
|
|
123
|
+
type: "meeting_notes";
|
|
124
|
+
meeting_notes: {
|
|
125
|
+
title?: Array<RichTextItemResponse>;
|
|
126
|
+
status?: "transcription_not_started" | "transcription_paused" | "transcription_in_progress" | "summary_in_progress" | "notes_ready";
|
|
127
|
+
children?: {
|
|
128
|
+
summary_block_id?: IdResponse;
|
|
129
|
+
notes_block_id?: IdResponse;
|
|
130
|
+
transcript_block_id?: IdResponse;
|
|
131
|
+
};
|
|
132
|
+
calendar_event?: {
|
|
133
|
+
start_time: string;
|
|
134
|
+
end_time: string;
|
|
135
|
+
attendees?: Array<IdResponse>;
|
|
136
|
+
};
|
|
137
|
+
recording?: {
|
|
138
|
+
start_time?: string;
|
|
139
|
+
end_time?: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
created_time: string;
|
|
143
|
+
last_edited_time: string;
|
|
144
|
+
created_by: PartialUserObjectResponse;
|
|
145
|
+
last_edited_by: PartialUserObjectResponse;
|
|
146
|
+
has_children: boolean;
|
|
147
|
+
in_trash: boolean;
|
|
148
|
+
/** @deprecated Use `in_trash` instead. Present for backwards compatibility with API versions prior to 2026-03-11. */
|
|
149
|
+
archived: boolean;
|
|
150
|
+
}>;
|
|
151
|
+
has_more: boolean;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* Query meeting notes
|
|
155
|
+
*/
|
|
156
|
+
export declare const queryMeetingNotes: {
|
|
157
|
+
readonly method: "post";
|
|
158
|
+
readonly pathParams: readonly [];
|
|
159
|
+
readonly queryParams: readonly [];
|
|
160
|
+
readonly bodyParams: readonly ["filter", "sort", "limit"];
|
|
161
|
+
readonly path: () => string;
|
|
162
|
+
};
|
|
163
|
+
export {};
|
|
164
|
+
//# sourceMappingURL=meeting-notes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meeting-notes.d.ts","sourceRoot":"","sources":["../../../src/api-endpoints/meeting-notes.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,UAAU,EACV,yBAAyB,EACzB,oBAAoB,EACrB,MAAM,UAAU,CAAA;AAEjB,KAAK,+BAA+B,GAAG;IAIrC,MAAM,CAAC,EAAE;QAEP,QAAQ,EAAE,KAAK,GAAG,IAAI,CAAA;QAEtB,OAAO,CAAC,EAAE,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Aa,CAAA;YAEjB,QAAQ,CAAC,EAAE;gBAET,gBAAgB,CAAC,EAAE,UAAU,CAAA;gBAE7B,cAAc,CAAC,EAAE,UAAU,CAAA;gBAE3B,mBAAmB,CAAC,EAAE,UAAU,CAAA;aACjC,CAAA;YAED,cAAc,CAAC,EAAE;gBAEf,UAAU,EAAE,MAAM,CAAA;gBAElB,QAAQ,EAAE,MAAM,CAAA;gBAEhB,SAAS,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAA;aAC9B,CAAA;YAED,SAAS,CAAC,EAAE;gBAEV,UAAU,CAAC,EAAE,MAAM,CAAA;gBAEnB,QAAQ,CAAC,EAAE,MAAM,CAAA;aAClB,CAAA;SACF,CAAA;QAED,YAAY,EAAE,MAAM,CAAA;QAEpB,gBAAgB,EAAE,MAAM,CAAA;QAExB,UAAU,EAAE,yBAAyB,CAAA;QAErC,cAAc,EAAE,yBAAyB,CAAA;QAEzC,YAAY,EAAE,OAAO,CAAA;QAErB,QAAQ,EAAE,OAAO,CAAA;QACjB,qHAAqH;QACrH,QAAQ,EAAE,OAAO,CAAA;KAClB,CAAC,CAAA;IAEF,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;yBAMlB,MAAM;CACR,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// cspell:disable-file
|
|
3
|
+
// Note: This is a generated file. DO NOT EDIT!
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.queryMeetingNotes = void 0;
|
|
6
|
+
/**
|
|
7
|
+
* Query meeting notes
|
|
8
|
+
*/
|
|
9
|
+
exports.queryMeetingNotes = {
|
|
10
|
+
method: "post",
|
|
11
|
+
pathParams: [],
|
|
12
|
+
queryParams: [],
|
|
13
|
+
bodyParams: ["filter", "sort", "limit"],
|
|
14
|
+
path: () => `blocks/meeting_notes/query`,
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=meeting-notes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meeting-notes.js","sourceRoot":"","sources":["../../../src/api-endpoints/meeting-notes.ts"],"names":[],"mappings":";AAAA,sBAAsB;AACtB,+CAA+C;;;AAoP/C;;GAEG;AACU,QAAA,iBAAiB,GAAG;IAC/B,MAAM,EAAE,MAAM;IACd,UAAU,EAAE,EAAE;IACd,WAAW,EAAE,EAAE;IACf,UAAU,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC;IAEvC,IAAI,EAAE,GAAW,EAAE,CAAC,4BAA4B;CACxC,CAAA","sourcesContent":["// cspell:disable-file\n// Note: This is a generated file. DO NOT EDIT!\n\nimport type {\n IdResponse,\n PartialUserObjectResponse,\n RichTextItemResponse,\n} from \"./common\"\n\ntype QueryMeetingNotesBodyParameters = {\n // Optional filter for querying meeting notes. Supports combinator (and/or) and property\n // filters on title, attendees, created_time, created_by, last_edited_time,\n // last_edited_by.\n filter?: {\n // Operator for combinator filters.\n operator: \"and\" | \"or\"\n // Nested filters; each may be a combinator (and/or) or property filter.\n filters?: Array<\n | {\n // Operator for nested combinator filters.\n operator: \"and\" | \"or\"\n // Nested filters for combinator filters.\n filters: Array<\n | {\n // Property name.\n property: string\n filter: {\n // Operator.\n operator: string\n // Value for the operator.\n value?:\n | {\n type: \"relative\" | \"exact\"\n value:\n | string\n | {\n type: \"date\" | \"datetime\"\n start_date: string\n start_time?: string\n time_zone?: string\n }\n }\n | {\n type: \"relative\" | \"exact\"\n value:\n | string\n | {\n type: \"daterange\"\n start_date: string\n end_date?: string\n }\n direction?: \"past\" | \"future\"\n unit?: \"day\" | \"week\" | \"month\" | \"year\"\n count?: number\n }\n | {\n type: \"exact\"\n // The text value to filter on.\n value: string\n }\n | Array<{\n type: \"exact\"\n value: { table: \"notion_user\"; id: string }\n }>\n }\n }\n | {\n // Operator for nested combinator filters.\n operator: \"and\" | \"or\"\n filters: Array<{\n // Property name.\n property: string\n filter: {\n // Operator.\n operator: string\n // Value for the operator.\n value?:\n | {\n type: \"relative\" | \"exact\"\n value:\n | string\n | {\n type: \"date\" | \"datetime\"\n start_date: string\n start_time?: string\n time_zone?: string\n }\n }\n | {\n type: \"relative\" | \"exact\"\n value:\n | string\n | {\n type: \"daterange\"\n start_date: string\n end_date?: string\n }\n direction?: \"past\" | \"future\"\n unit?: \"day\" | \"week\" | \"month\" | \"year\"\n count?: number\n }\n | {\n type: \"exact\"\n // The text value to filter on.\n value: string\n }\n | Array<{\n type: \"exact\"\n value: { table: \"notion_user\"; id: string }\n }>\n }\n }>\n }\n >\n }\n | {\n // Property name.\n property: string\n filter: {\n // Operator.\n operator: string\n // Value for the operator.\n value?:\n | {\n type: \"relative\" | \"exact\"\n value:\n | string\n | {\n type: \"date\" | \"datetime\"\n start_date: string\n start_time?: string\n time_zone?: string\n }\n }\n | {\n type: \"relative\" | \"exact\"\n value:\n | string\n | {\n type: \"daterange\"\n start_date: string\n end_date?: string\n }\n direction?: \"past\" | \"future\"\n unit?: \"day\" | \"week\" | \"month\" | \"year\"\n count?: number\n }\n | {\n type: \"exact\"\n // The text value to filter on.\n value: string\n }\n | Array<{\n type: \"exact\"\n value: { table: \"notion_user\"; id: string }\n }>\n }\n }\n >\n }\n // Optional sort order for the results. Each entry specifies a property name and\n // direction.\n sort?: Array<{\n // Property name to sort by.\n property:\n | \"title\"\n | \"attendees\"\n | \"created_time\"\n | \"created_by\"\n | \"last_edited_time\"\n | \"last_edited_by\"\n // Sort direction. Must be 'ascending' or 'descending'.\n direction: \"ascending\" | \"descending\"\n }>\n // Maximum number of results to return. Defaults to 50.\n limit?: number\n}\n\nexport type QueryMeetingNotesParameters = QueryMeetingNotesBodyParameters\n\nexport type QueryMeetingNotesResponse = {\n // Meeting note transcription block objects.\n results: Array<{\n // Always \"block\".\n object: \"block\"\n // The ID of the meeting note block.\n id: IdResponse\n // Always \"meeting_notes\".\n type: \"meeting_notes\"\n // Meeting note content fields.\n meeting_notes: {\n // Title of the meeting note as rich text.\n title?: Array<RichTextItemResponse>\n // Current processing status of the meeting note transcription.\n status?:\n | \"transcription_not_started\"\n | \"transcription_paused\"\n | \"transcription_in_progress\"\n | \"summary_in_progress\"\n | \"notes_ready\"\n // Block IDs for each tab (summary, notes, transcript).\n children?: {\n // Block ID of the AI summary tab.\n summary_block_id?: IdResponse\n // Block ID of the meeting notes tab.\n notes_block_id?: IdResponse\n // Block ID of the transcript tab.\n transcript_block_id?: IdResponse\n }\n // Calendar event metadata associated with this meeting note.\n calendar_event?: {\n // ISO-8601 start time of the calendar event.\n start_time: string\n // ISO-8601 end time of the calendar event.\n end_time: string\n // List of attendee user IDs.\n attendees?: Array<IdResponse>\n }\n // Start and end times of the actual recording.\n recording?: {\n // ISO-8601 timestamp when the recording started.\n start_time?: string\n // ISO-8601 timestamp when the recording ended.\n end_time?: string\n }\n }\n // ISO-8601 timestamp when this meeting note was created.\n created_time: string\n // ISO-8601 timestamp when this meeting note was last edited.\n last_edited_time: string\n // User who created this meeting note.\n created_by: PartialUserObjectResponse\n // User who last edited this meeting note.\n last_edited_by: PartialUserObjectResponse\n // Whether this block has child blocks.\n has_children: boolean\n // Whether this meeting note is in the trash.\n in_trash: boolean\n /** @deprecated Use `in_trash` instead. Present for backwards compatibility with API versions prior to 2026-03-11. */\n archived: boolean\n }>\n // Whether additional results exist beyond the returned limit.\n has_more: boolean\n}\n\n/**\n * Query meeting notes\n */\nexport const queryMeetingNotes = {\n method: \"post\",\n pathParams: [],\n queryParams: [],\n bodyParams: [\"filter\", \"sort\", \"limit\"],\n\n path: (): string => `blocks/meeting_notes/query`,\n} as const\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../../src/api-endpoints/pages.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,WAAW,EACX,iCAAiC,EACjC,kBA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AAE,KAAK;IACb,UAAU,EAAE,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,CAAC,oBAAoB,CAAC;IACnC,UAAU,EAAE,EAAE;IAEd,IAAI,EAAE,CAAC,CAAgC,EAAU,EAAE,CACjD,SAAS,CAAC,CAAC,OAAO,WAAW;CACvB,CAAA;AA0EV;;GAEG;AACU,QAAA,kBAAkB,GAAG;IAChC,MAAM,EAAE,OAAO;IACf,UAAU,EAAE,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,EAAE;IACf,UAAU,EAAE;QACV,MAAM;QACN,gBAAgB;QAChB,uBAAuB;QACvB,gBAAgB;QAChB,iBAAiB;KAClB;IAED,IAAI,EAAE,CAAC,CAAmC,EAAU,EAAE,CACpD,SAAS,CAAC,CAAC,OAAO,WAAW;CACvB,CAAA","sourcesContent":["// cspell:disable-file\n// Note: This is a generated file. DO NOT EDIT!\n\nimport type {\n BlockObjectRequest,\n DateRequest,\n DateResponse,\n EmptyObject,\n FileUploadWithOptionalNameRequest,\n GroupObjectRequest,\n IdRequest,\n InternalOrExternalFileWithNameRequest,\n InternalOrExternalFileWithNameResponse,\n PageCoverRequest,\n PageIconRequest,\n PageMarkdownResponse,\n PageObjectResponse,\n PagePositionSchema,\n PartialPageObjectResponse,\n PartialUserObjectRequest,\n PartialUserObjectResponse,\n RelationItemPropertyValueResponse,\n RichTextItemRequest,\n RichTextItemResponse,\n RollupFunction,\n SelectColor,\n StringRequest,\n TemplateTimezone,\n TextRequest,\n UserObjectResponse,\n VerificationPropertyValueResponse,\n} from \"./common\"\n\ntype BooleanFormulaPropertyResponse = {\n type: \"boolean\"\n boolean: boolean | null\n}\n\nexport type ButtonPropertyItemObjectResponse = {\n type: \"button\"\n button: EmptyObject\n object: \"property_item\"\n id: string\n}\n\nexport type CheckboxPropertyItemObjectResponse = {\n type: \"checkbox\"\n checkbox: boolean\n object: \"property_item\"\n id: string\n}\n\nexport type CreatedByPropertyItemObjectResponse = {\n type: \"created_by\"\n created_by: PartialUserObjectResponse | UserObjectResponse\n object: \"property_item\"\n id: string\n}\n\nexport type CreatedTimePropertyItemObjectResponse = {\n type: \"created_time\"\n created_time: string\n object: \"property_item\"\n id: string\n}\n\ntype DateFormulaPropertyResponse = { type: \"date\"; date: DateResponse | null }\n\nexport type DatePropertyItemObjectResponse = {\n type: \"date\"\n date: DateResponse | null\n object: \"property_item\"\n id: string\n}\n\nexport type EmailPropertyItemObjectResponse = {\n type: \"email\"\n email: string | null\n object: \"property_item\"\n id: string\n}\n\nexport type FilesPropertyItemObjectResponse = {\n type: \"files\"\n files: Array<InternalOrExternalFileWithNameResponse>\n object: \"property_item\"\n id: string\n}\n\nexport type FormulaPropertyItemObjectResponse = {\n type: \"formula\"\n formula: FormulaPropertyResponse\n object: \"property_item\"\n id: string\n}\n\ntype FormulaPropertyResponse =\n | StringFormulaPropertyResponse\n | DateFormulaPropertyResponse\n | NumberFormulaPropertyResponse\n | BooleanFormulaPropertyResponse\n\nexport type LastEditedByPropertyItemObjectResponse = {\n type: \"last_edited_by\"\n last_edited_by: PartialUserObjectResponse | UserObjectResponse\n object: \"property_item\"\n id: string\n}\n\nexport type LastEditedTimePropertyItemObjectResponse = {\n type: \"last_edited_time\"\n last_edited_time: string\n object: \"property_item\"\n id: string\n}\n\nexport type MultiSelectPropertyItemObjectResponse = {\n type: \"multi_select\"\n multi_select: Array<PartialSelectResponse>\n object: \"property_item\"\n id: string\n}\n\ntype NumberFormulaPropertyResponse = { type: \"number\"; number: number | null }\n\nexport type NumberPropertyItemObjectResponse = {\n type: \"number\"\n number: number | null\n object: \"property_item\"\n id: string\n}\n\ntype PartialSelectResponse = { id: string; name: string; color: SelectColor }\n\nexport type PeoplePropertyItemObjectResponse = {\n type: \"people\"\n people: PartialUserObjectResponse | UserObjectResponse\n object: \"property_item\"\n id: string\n}\n\nexport type PhoneNumberPropertyItemObjectResponse = {\n type: \"phone_number\"\n phone_number: string | null\n object: \"property_item\"\n id: string\n}\n\nexport type PlacePropertyItemObjectResponse = {\n type: \"place\"\n place: {\n lat: number\n lon: number\n name?: string | null\n address?: string | null\n aws_place_id?: string | null\n google_place_id?: string | null\n } | null\n object: \"property_item\"\n id: string\n}\n\nexport type PropertyItemListResponse = PropertyItemPropertyItemListResponse\n\nexport type PropertyItemObjectResponse =\n | NumberPropertyItemObjectResponse\n | UrlPropertyItemObjectResponse\n | SelectPropertyItemObjectResponse\n | MultiSelectPropertyItemObjectResponse\n | StatusPropertyItemObjectResponse\n | DatePropertyItemObjectResponse\n | EmailPropertyItemObjectResponse\n | PhoneNumberPropertyItemObjectResponse\n | CheckboxPropertyItemObjectResponse\n | FilesPropertyItemObjectResponse\n | CreatedByPropertyItemObjectResponse\n | CreatedTimePropertyItemObjectResponse\n | LastEditedByPropertyItemObjectResponse\n | LastEditedTimePropertyItemObjectResponse\n | FormulaPropertyItemObjectResponse\n | ButtonPropertyItemObjectResponse\n | UniqueIdPropertyItemObjectResponse\n | VerificationPropertyItemObjectResponse\n | PlacePropertyItemObjectResponse\n | TitlePropertyItemObjectResponse\n | RichTextPropertyItemObjectResponse\n | PeoplePropertyItemObjectResponse\n | RelationPropertyItemObjectResponse\n | RollupPropertyItemObjectResponse\n\ntype PropertyItemPropertyItemListResponse = {\n type: \"property_item\"\n property_item:\n | { type: \"title\"; title: EmptyObject; next_url: string | null; id: string }\n | {\n type: \"rich_text\"\n rich_text: EmptyObject\n next_url: string | null\n id: string\n }\n | {\n type: \"people\"\n people: EmptyObject\n next_url: string | null\n id: string\n }\n | {\n type: \"relation\"\n relation: EmptyObject\n next_url: string | null\n id: string\n }\n | {\n type: \"rollup\"\n rollup:\n | { type: \"number\"; number: number | null; function: RollupFunction }\n | {\n type: \"date\"\n date: DateResponse | null\n function: RollupFunction\n }\n | {\n type: \"array\"\n array: Array<EmptyObject>\n function: RollupFunction\n }\n | {\n type: \"unsupported\"\n unsupported: EmptyObject\n function: RollupFunction\n }\n | {\n type: \"incomplete\"\n incomplete: EmptyObject\n function: RollupFunction\n }\n next_url: string | null\n id: string\n }\n object: \"list\"\n next_cursor: string | null\n has_more: boolean\n results: Array<PropertyItemObjectResponse>\n}\n\nexport type RelationPropertyItemObjectResponse = {\n type: \"relation\"\n relation: { id: string }\n object: \"property_item\"\n id: string\n}\n\nexport type RichTextPropertyItemObjectResponse = {\n type: \"rich_text\"\n rich_text: RichTextItemResponse\n object: \"property_item\"\n id: string\n}\n\nexport type RollupPropertyItemObjectResponse = {\n type: \"rollup\"\n rollup:\n | { type: \"number\"; number: number | null; function: RollupFunction }\n | { type: \"date\"; date: DateResponse | null; function: RollupFunction }\n | { type: \"array\"; array: Array<EmptyObject>; function: RollupFunction }\n | {\n type: \"unsupported\"\n unsupported: EmptyObject\n function: RollupFunction\n }\n | { type: \"incomplete\"; incomplete: EmptyObject; function: RollupFunction }\n object: \"property_item\"\n id: string\n}\n\nexport type SelectPropertyItemObjectResponse = {\n type: \"select\"\n select: PartialSelectResponse | null\n object: \"property_item\"\n id: string\n}\n\nexport type StatusPropertyItemObjectResponse = {\n type: \"status\"\n status: PartialSelectResponse | null\n object: \"property_item\"\n id: string\n}\n\ntype StringFormulaPropertyResponse = { type: \"string\"; string: string | null }\n\nexport type TitlePropertyItemObjectResponse = {\n type: \"title\"\n title: RichTextItemResponse\n object: \"property_item\"\n id: string\n}\n\nexport type UniqueIdPropertyItemObjectResponse = {\n type: \"unique_id\"\n unique_id: { prefix: string | null; number: number | null }\n object: \"property_item\"\n id: string\n}\n\nexport type UrlPropertyItemObjectResponse = {\n type: \"url\"\n url: string | null\n object: \"property_item\"\n id: string\n}\n\nexport type VerificationPropertyItemObjectResponse = {\n type: \"verification\"\n verification: VerificationPropertyValueResponse | null\n object: \"property_item\"\n id: string\n}\n\ntype CreatePageBodyParameters = {\n parent?:\n | { page_id: IdRequest; type?: \"page_id\" }\n | { database_id: IdRequest; type?: \"database_id\" }\n | { data_source_id: IdRequest; type?: \"data_source_id\" }\n | { workspace: true; type?: \"workspace\" }\n properties?: Record<\n string,\n | { title: Array<RichTextItemRequest>; type?: \"title\" }\n | { rich_text: Array<RichTextItemRequest>; type?: \"rich_text\" }\n | { number: number | null; type?: \"number\" }\n | { url: TextRequest | null; type?: \"url\" }\n | {\n select:\n | {\n id: StringRequest\n name?: TextRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | {\n name: TextRequest\n id?: StringRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | null\n type?: \"select\"\n }\n | {\n multi_select: Array<\n | {\n id: StringRequest\n name?: TextRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | {\n name: TextRequest\n id?: StringRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n >\n type?: \"multi_select\"\n }\n | {\n people: Array<PartialUserObjectRequest | GroupObjectRequest>\n type?: \"people\"\n }\n | { email: StringRequest | null; type?: \"email\" }\n | { phone_number: StringRequest | null; type?: \"phone_number\" }\n | { date: DateRequest | null; type?: \"date\" }\n | { checkbox: boolean; type?: \"checkbox\" }\n | { relation: Array<RelationItemPropertyValueResponse>; type?: \"relation\" }\n | {\n files: Array<\n | InternalOrExternalFileWithNameRequest\n | FileUploadWithOptionalNameRequest\n >\n type?: \"files\"\n }\n | {\n status:\n | {\n id: StringRequest\n name?: TextRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | {\n name: TextRequest\n id?: StringRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | null\n type?: \"status\"\n }\n | {\n place: {\n lat: number\n lon: number\n name?: string | null\n address?: string | null\n aws_place_id?: string | null\n google_place_id?: string | null\n } | null\n type?: \"place\"\n }\n | {\n verification:\n | { state: \"verified\"; date?: DateRequest }\n | { state: \"unverified\" }\n type?: \"verification\"\n }\n >\n icon?: PageIconRequest | null\n cover?: PageCoverRequest | null\n content?: Array<BlockObjectRequest>\n children?: Array<BlockObjectRequest>\n // Page content as Notion-flavored Markdown. Mutually exclusive with content/children.\n markdown?: string\n template?:\n | { type: \"none\" }\n | { type: \"default\"; timezone?: TemplateTimezone }\n | {\n type: \"template_id\"\n template_id: IdRequest\n timezone?: TemplateTimezone\n }\n position?: PagePositionSchema\n}\n\nexport type CreatePageParameters = CreatePageBodyParameters\n\nexport type CreatePageResponse = PageObjectResponse | PartialPageObjectResponse\n\n/**\n * Create a page\n */\nexport const createPage = {\n method: \"post\",\n pathParams: [],\n queryParams: [],\n bodyParams: [\n \"parent\",\n \"properties\",\n \"icon\",\n \"cover\",\n \"content\",\n \"children\",\n \"markdown\",\n \"template\",\n \"position\",\n ],\n\n path: (): string => `pages`,\n} as const\n\ntype GetPagePathParameters = {\n // The ID of the page to retrieve.\n page_id: IdRequest\n}\n\ntype GetPageQueryParameters = {\n // Supply a list of property IDs to filter properties in the response. Note that if a\n // page doesn't have a property, it won't be included in the filtered response.\n filter_properties?: Array<string>\n}\n\nexport type GetPageParameters = GetPagePathParameters & GetPageQueryParameters\n\nexport type GetPageResponse = PartialPageObjectResponse | PageObjectResponse\n\n/**\n * Retrieve a page\n */\nexport const getPage = {\n method: \"get\",\n pathParams: [\"page_id\"],\n queryParams: [\"filter_properties\"],\n bodyParams: [],\n\n path: (p: GetPagePathParameters): string => `pages/${p.page_id}`,\n} as const\n\ntype UpdatePagePathParameters = {\n page_id: IdRequest\n}\n\ntype UpdatePageBodyParameters = {\n properties?: Record<\n string,\n | { title: Array<RichTextItemRequest>; type?: \"title\" }\n | { rich_text: Array<RichTextItemRequest>; type?: \"rich_text\" }\n | { number: number | null; type?: \"number\" }\n | { url: TextRequest | null; type?: \"url\" }\n | {\n select:\n | {\n id: StringRequest\n name?: TextRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | {\n name: TextRequest\n id?: StringRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | null\n type?: \"select\"\n }\n | {\n multi_select: Array<\n | {\n id: StringRequest\n name?: TextRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | {\n name: TextRequest\n id?: StringRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n >\n type?: \"multi_select\"\n }\n | {\n people: Array<PartialUserObjectRequest | GroupObjectRequest>\n type?: \"people\"\n }\n | { email: StringRequest | null; type?: \"email\" }\n | { phone_number: StringRequest | null; type?: \"phone_number\" }\n | { date: DateRequest | null; type?: \"date\" }\n | { checkbox: boolean; type?: \"checkbox\" }\n | { relation: Array<RelationItemPropertyValueResponse>; type?: \"relation\" }\n | {\n files: Array<\n | InternalOrExternalFileWithNameRequest\n | FileUploadWithOptionalNameRequest\n >\n type?: \"files\"\n }\n | {\n status:\n | {\n id: StringRequest\n name?: TextRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | {\n name: TextRequest\n id?: StringRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | null\n type?: \"status\"\n }\n | {\n place: {\n lat: number\n lon: number\n name?: string | null\n address?: string | null\n aws_place_id?: string | null\n google_place_id?: string | null\n } | null\n type?: \"place\"\n }\n | {\n verification:\n | { state: \"verified\"; date?: DateRequest }\n | { state: \"unverified\" }\n type?: \"verification\"\n }\n >\n icon?: PageIconRequest | null\n cover?: PageCoverRequest | null\n // Whether the page should be locked from editing in the Notion app UI. If not provided,\n // the locked state will not be updated.\n is_locked?: boolean\n template?:\n | { type: \"default\"; timezone?: TemplateTimezone }\n | {\n type: \"template_id\"\n template_id: IdRequest\n timezone?: TemplateTimezone\n }\n // Whether to erase all existing content from the page. When used with a template, the\n // template content replaces the existing content. When used without a template, simply\n // clears the page content.\n erase_content?: boolean\n in_trash?: boolean\n /** @deprecated Use `in_trash` instead. */\n archived?: boolean\n is_archived?: boolean\n}\n\nexport type UpdatePageParameters = UpdatePagePathParameters &\n UpdatePageBodyParameters\n\nexport type UpdatePageResponse = PageObjectResponse | PartialPageObjectResponse\n\n/**\n * Update page\n */\nexport const updatePage = {\n method: \"patch\",\n pathParams: [\"page_id\"],\n queryParams: [],\n bodyParams: [\n \"archived\",\n \"properties\",\n \"icon\",\n \"cover\",\n \"is_locked\",\n \"template\",\n \"erase_content\",\n \"in_trash\",\n \"is_archived\",\n ],\n\n path: (p: UpdatePagePathParameters): string => `pages/${p.page_id}`,\n} as const\n\ntype MovePagePathParameters = {\n // The ID of the page to move.\n page_id: IdRequest\n}\n\ntype MovePageBodyParameters = {\n // The new parent of the page.\n parent:\n | {\n // The ID of the parent page (with or without dashes), for example,\n // 195de9221179449fab8075a27c979105\n page_id: IdRequest\n // Always `page_id`\n type?: \"page_id\"\n }\n | {\n // The ID of the parent data source (collection), with or without dashes. For example,\n // f336d0bc-b841-465b-8045-024475c079dd\n data_source_id: IdRequest\n // Always `data_source_id`\n type?: \"data_source_id\"\n }\n}\n\nexport type MovePageParameters = MovePagePathParameters & MovePageBodyParameters\n\nexport type MovePageResponse = PartialPageObjectResponse | PageObjectResponse\n\n/**\n * Move a page\n */\nexport const movePage = {\n method: \"post\",\n pathParams: [\"page_id\"],\n queryParams: [],\n bodyParams: [\"parent\"],\n\n path: (p: MovePagePathParameters): string => `pages/${p.page_id}/move`,\n} as const\n\ntype GetPagePropertyPathParameters = {\n page_id: IdRequest\n property_id: string\n}\n\ntype GetPagePropertyQueryParameters = {\n start_cursor?: string\n page_size?: number\n}\n\nexport type GetPagePropertyParameters = GetPagePropertyPathParameters &\n GetPagePropertyQueryParameters\n\nexport type GetPagePropertyResponse =\n | PropertyItemObjectResponse\n | PropertyItemListResponse\n\n/**\n * Retrieve a page property item\n */\nexport const getPageProperty = {\n method: \"get\",\n pathParams: [\"page_id\", \"property_id\"],\n queryParams: [\"start_cursor\", \"page_size\"],\n bodyParams: [],\n\n path: (p: GetPagePropertyPathParameters): string =>\n `pages/${p.page_id}/properties/${p.property_id}`,\n} as const\n\ntype GetPageMarkdownPathParameters = {\n // The ID of the page (or block) to retrieve as markdown. Non-navigable block IDs from\n // truncated responses can be passed here to fetch their subtrees.\n page_id: IdRequest\n}\n\ntype GetPageMarkdownQueryParameters = {\n // Whether to include meeting note transcripts. Defaults to false. When true, full\n // transcripts are included; when false, a placeholder with the meeting note URL is shown\n // instead.\n include_transcript?: boolean\n}\n\nexport type GetPageMarkdownParameters = GetPageMarkdownPathParameters &\n GetPageMarkdownQueryParameters\n\nexport type GetPageMarkdownResponse = PageMarkdownResponse\n\n/**\n * Retrieve a page as markdown\n */\nexport const getPageMarkdown = {\n method: \"get\",\n pathParams: [\"page_id\"],\n queryParams: [\"include_transcript\"],\n bodyParams: [],\n\n path: (p: GetPageMarkdownPathParameters): string =>\n `pages/${p.page_id}/markdown`,\n} as const\n\ntype UpdatePageMarkdownPathParameters = {\n // The ID of the page to update.\n page_id: IdRequest\n}\n\ntype UpdatePageMarkdownBodyParameters =\n | {\n // Always `insert_content`\n type: \"insert_content\"\n // Insert new content into the page.\n insert_content: {\n // The enhanced markdown content to insert into the page.\n content: string\n // Selection of existing content to insert after, using the ellipsis format (\"start\n // text...end text\"). Omit to append at the end of the page.\n after?: string\n }\n }\n | {\n // Always `replace_content_range`\n type: \"replace_content_range\"\n // Replace a range of content in the page.\n replace_content_range: {\n // The new enhanced markdown content to replace the matched range.\n content: string\n // Selection of existing content to replace, using the ellipsis format (\"start text...end\n // text\").\n content_range: string\n // Set to true to allow the operation to delete child pages or databases. Defaults to\n // false.\n allow_deleting_content?: boolean\n }\n }\n | {\n // Always `update_content`\n type: \"update_content\"\n // Update specific content using search-and-replace operations.\n update_content: {\n // An array of search-and-replace operations, each with old_str (content to find) and\n // new_str (replacement content).\n content_updates: Array<{\n // The existing content string to find and replace. Must exactly match the page content.\n old_str: string\n // The new content string to replace old_str with.\n new_str: string\n // If true, replaces all occurrences of old_str. If false (default), the operation fails\n // if there are multiple matches.\n replace_all_matches?: boolean\n }>\n // Set to true to allow the operation to delete child pages or databases. Defaults to\n // false.\n allow_deleting_content?: boolean\n }\n }\n | {\n // Always `replace_content`\n type: \"replace_content\"\n // Replace the entire page content with new markdown.\n replace_content: {\n // The new enhanced markdown content to replace the entire page content.\n new_str: string\n // Set to true to allow the operation to delete child pages or databases. Defaults to\n // false.\n allow_deleting_content?: boolean\n }\n }\n\nexport type UpdatePageMarkdownParameters = UpdatePageMarkdownPathParameters &\n UpdatePageMarkdownBodyParameters\n\nexport type UpdatePageMarkdownResponse = PageMarkdownResponse\n\n/**\n * Update a page's content as markdown\n */\nexport const updatePageMarkdown = {\n method: \"patch\",\n pathParams: [\"page_id\"],\n queryParams: [],\n bodyParams: [\n \"type\",\n \"insert_content\",\n \"replace_content_range\",\n \"update_content\",\n \"replace_content\",\n ],\n\n path: (p: UpdatePageMarkdownPathParameters): string =>\n `pages/${p.page_id}/markdown`,\n} as const\n"]}
|
|
1
|
+
{"version":3,"file":"pages.js","sourceRoot":"","sources":["../../../src/api-endpoints/pages.ts"],"names":[],"mappings":";AAAA,sBAAsB;AACtB,+CAA+C;;;AAob/C;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,MAAM,EAAE,MAAM;IACd,UAAU,EAAE,EAAE;IACd,WAAW,EAAE,EAAE;IACf,UAAU,EAAE;QACV,QAAQ;QACR,YAAY;QACZ,MAAM;QACN,OAAO;QACP,SAAS;QACT,UAAU;QACV,UAAU;QACV,UAAU;QACV,UAAU;KACX;IAED,IAAI,EAAE,GAAW,EAAE,CAAC,OAAO;CACnB,CAAA;AAiBV;;GAEG;AACU,QAAA,OAAO,GAAG;IACrB,MAAM,EAAE,KAAK;IACb,UAAU,EAAE,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,CAAC,mBAAmB,CAAC;IAClC,UAAU,EAAE,EAAE;IAEd,IAAI,EAAE,CAAC,CAAwB,EAAU,EAAE,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE;CACxD,CAAA;AA6HV;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,MAAM,EAAE,OAAO;IACf,UAAU,EAAE,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,EAAE;IACf,UAAU,EAAE;QACV,UAAU;QACV,YAAY;QACZ,MAAM;QACN,OAAO;QACP,WAAW;QACX,UAAU;QACV,eAAe;QACf,UAAU;QACV,aAAa;KACd;IAED,IAAI,EAAE,CAAC,CAA2B,EAAU,EAAE,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE;CAC3D,CAAA;AA8BV;;GAEG;AACU,QAAA,QAAQ,GAAG;IACtB,MAAM,EAAE,MAAM;IACd,UAAU,EAAE,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,EAAE;IACf,UAAU,EAAE,CAAC,QAAQ,CAAC;IAEtB,IAAI,EAAE,CAAC,CAAyB,EAAU,EAAE,CAAC,SAAS,CAAC,CAAC,OAAO,OAAO;CAC9D,CAAA;AAmBV;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,MAAM,EAAE,KAAK;IACb,UAAU,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC;IACtC,WAAW,EAAE,CAAC,cAAc,EAAE,WAAW,CAAC;IAC1C,UAAU,EAAE,EAAE;IAEd,IAAI,EAAE,CAAC,CAAgC,EAAU,EAAE,CACjD,SAAS,CAAC,CAAC,OAAO,eAAe,CAAC,CAAC,WAAW,EAAE;CAC1C,CAAA;AAoBV;;GAEG;AACU,QAAA,eAAe,GAAG;IAC7B,MAAM,EAAE,KAAK;IACb,UAAU,EAAE,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,CAAC,oBAAoB,CAAC;IACnC,UAAU,EAAE,EAAE;IAEd,IAAI,EAAE,CAAC,CAAgC,EAAU,EAAE,CACjD,SAAS,CAAC,CAAC,OAAO,WAAW;CACvB,CAAA;AAqFV;;GAEG;AACU,QAAA,kBAAkB,GAAG;IAChC,MAAM,EAAE,OAAO;IACf,UAAU,EAAE,CAAC,SAAS,CAAC;IACvB,WAAW,EAAE,EAAE;IACf,UAAU,EAAE;QACV,MAAM;QACN,gBAAgB;QAChB,uBAAuB;QACvB,gBAAgB;QAChB,iBAAiB;KAClB;IAED,IAAI,EAAE,CAAC,CAAmC,EAAU,EAAE,CACpD,SAAS,CAAC,CAAC,OAAO,WAAW;CACvB,CAAA","sourcesContent":["// cspell:disable-file\n// Note: This is a generated file. DO NOT EDIT!\n\nimport type {\n BlockObjectRequest,\n DateRequest,\n DateResponse,\n EmptyObject,\n FileUploadWithOptionalNameRequest,\n GroupObjectRequest,\n IdRequest,\n InternalOrExternalFileWithNameRequest,\n InternalOrExternalFileWithNameResponse,\n PageCoverRequest,\n PageIconRequest,\n PageMarkdownResponse,\n PageObjectResponse,\n PagePositionSchema,\n PartialPageObjectResponse,\n PartialUserObjectRequest,\n PartialUserObjectResponse,\n RelationItemPropertyValueResponse,\n RichTextItemRequest,\n RichTextItemResponse,\n RollupFunction,\n SelectColor,\n StringRequest,\n TemplateTimezone,\n TextRequest,\n UserObjectResponse,\n VerificationPropertyValueResponse,\n} from \"./common\"\n\ntype BooleanFormulaPropertyResponse = {\n type: \"boolean\"\n boolean: boolean | null\n}\n\nexport type ButtonPropertyItemObjectResponse = {\n type: \"button\"\n button: EmptyObject\n object: \"property_item\"\n id: string\n}\n\nexport type CheckboxPropertyItemObjectResponse = {\n type: \"checkbox\"\n checkbox: boolean\n object: \"property_item\"\n id: string\n}\n\nexport type CreatedByPropertyItemObjectResponse = {\n type: \"created_by\"\n created_by: PartialUserObjectResponse | UserObjectResponse\n object: \"property_item\"\n id: string\n}\n\nexport type CreatedTimePropertyItemObjectResponse = {\n type: \"created_time\"\n created_time: string\n object: \"property_item\"\n id: string\n}\n\ntype DateFormulaPropertyResponse = { type: \"date\"; date: DateResponse | null }\n\nexport type DatePropertyItemObjectResponse = {\n type: \"date\"\n date: DateResponse | null\n object: \"property_item\"\n id: string\n}\n\nexport type EmailPropertyItemObjectResponse = {\n type: \"email\"\n email: string | null\n object: \"property_item\"\n id: string\n}\n\nexport type FilesPropertyItemObjectResponse = {\n type: \"files\"\n files: Array<InternalOrExternalFileWithNameResponse>\n object: \"property_item\"\n id: string\n}\n\nexport type FormulaPropertyItemObjectResponse = {\n type: \"formula\"\n formula: FormulaPropertyResponse\n object: \"property_item\"\n id: string\n}\n\ntype FormulaPropertyResponse =\n | StringFormulaPropertyResponse\n | DateFormulaPropertyResponse\n | NumberFormulaPropertyResponse\n | BooleanFormulaPropertyResponse\n\nexport type LastEditedByPropertyItemObjectResponse = {\n type: \"last_edited_by\"\n last_edited_by: PartialUserObjectResponse | UserObjectResponse\n object: \"property_item\"\n id: string\n}\n\nexport type LastEditedTimePropertyItemObjectResponse = {\n type: \"last_edited_time\"\n last_edited_time: string\n object: \"property_item\"\n id: string\n}\n\nexport type MultiSelectPropertyItemObjectResponse = {\n type: \"multi_select\"\n multi_select: Array<PartialSelectResponse>\n object: \"property_item\"\n id: string\n}\n\ntype NumberFormulaPropertyResponse = { type: \"number\"; number: number | null }\n\nexport type NumberPropertyItemObjectResponse = {\n type: \"number\"\n number: number | null\n object: \"property_item\"\n id: string\n}\n\ntype PartialSelectResponse = { id: string; name: string; color: SelectColor }\n\nexport type PeoplePropertyItemObjectResponse = {\n type: \"people\"\n people: PartialUserObjectResponse | UserObjectResponse\n object: \"property_item\"\n id: string\n}\n\nexport type PhoneNumberPropertyItemObjectResponse = {\n type: \"phone_number\"\n phone_number: string | null\n object: \"property_item\"\n id: string\n}\n\nexport type PlacePropertyItemObjectResponse = {\n type: \"place\"\n place: {\n lat: number\n lon: number\n name?: string | null\n address?: string | null\n aws_place_id?: string | null\n google_place_id?: string | null\n } | null\n object: \"property_item\"\n id: string\n}\n\nexport type PropertyItemListResponse = PropertyItemPropertyItemListResponse\n\nexport type PropertyItemObjectResponse =\n | NumberPropertyItemObjectResponse\n | UrlPropertyItemObjectResponse\n | SelectPropertyItemObjectResponse\n | MultiSelectPropertyItemObjectResponse\n | StatusPropertyItemObjectResponse\n | DatePropertyItemObjectResponse\n | EmailPropertyItemObjectResponse\n | PhoneNumberPropertyItemObjectResponse\n | CheckboxPropertyItemObjectResponse\n | FilesPropertyItemObjectResponse\n | CreatedByPropertyItemObjectResponse\n | CreatedTimePropertyItemObjectResponse\n | LastEditedByPropertyItemObjectResponse\n | LastEditedTimePropertyItemObjectResponse\n | FormulaPropertyItemObjectResponse\n | ButtonPropertyItemObjectResponse\n | UniqueIdPropertyItemObjectResponse\n | VerificationPropertyItemObjectResponse\n | PlacePropertyItemObjectResponse\n | TitlePropertyItemObjectResponse\n | RichTextPropertyItemObjectResponse\n | PeoplePropertyItemObjectResponse\n | RelationPropertyItemObjectResponse\n | RollupPropertyItemObjectResponse\n\ntype PropertyItemPropertyItemListResponse = {\n type: \"property_item\"\n property_item:\n | { type: \"title\"; title: EmptyObject; next_url: string | null; id: string }\n | {\n type: \"rich_text\"\n rich_text: EmptyObject\n next_url: string | null\n id: string\n }\n | {\n type: \"people\"\n people: EmptyObject\n next_url: string | null\n id: string\n }\n | {\n type: \"relation\"\n relation: EmptyObject\n next_url: string | null\n id: string\n }\n | {\n type: \"rollup\"\n rollup:\n | { type: \"number\"; number: number | null; function: RollupFunction }\n | {\n type: \"date\"\n date: DateResponse | null\n function: RollupFunction\n }\n | {\n type: \"array\"\n array: Array<EmptyObject>\n function: RollupFunction\n }\n | {\n type: \"unsupported\"\n unsupported: EmptyObject\n function: RollupFunction\n }\n | {\n type: \"incomplete\"\n incomplete: EmptyObject\n function: RollupFunction\n }\n next_url: string | null\n id: string\n }\n object: \"list\"\n next_cursor: string | null\n has_more: boolean\n results: Array<PropertyItemObjectResponse>\n}\n\nexport type RelationPropertyItemObjectResponse = {\n type: \"relation\"\n relation: { id: string }\n object: \"property_item\"\n id: string\n}\n\nexport type RichTextPropertyItemObjectResponse = {\n type: \"rich_text\"\n rich_text: RichTextItemResponse\n object: \"property_item\"\n id: string\n}\n\nexport type RollupPropertyItemObjectResponse = {\n type: \"rollup\"\n rollup:\n | { type: \"number\"; number: number | null; function: RollupFunction }\n | { type: \"date\"; date: DateResponse | null; function: RollupFunction }\n | { type: \"array\"; array: Array<EmptyObject>; function: RollupFunction }\n | {\n type: \"unsupported\"\n unsupported: EmptyObject\n function: RollupFunction\n }\n | { type: \"incomplete\"; incomplete: EmptyObject; function: RollupFunction }\n object: \"property_item\"\n id: string\n}\n\nexport type SelectPropertyItemObjectResponse = {\n type: \"select\"\n select: PartialSelectResponse | null\n object: \"property_item\"\n id: string\n}\n\nexport type StatusPropertyItemObjectResponse = {\n type: \"status\"\n status: PartialSelectResponse | null\n object: \"property_item\"\n id: string\n}\n\ntype StringFormulaPropertyResponse = { type: \"string\"; string: string | null }\n\nexport type TitlePropertyItemObjectResponse = {\n type: \"title\"\n title: RichTextItemResponse\n object: \"property_item\"\n id: string\n}\n\nexport type UniqueIdPropertyItemObjectResponse = {\n type: \"unique_id\"\n unique_id: { prefix: string | null; number: number | null }\n object: \"property_item\"\n id: string\n}\n\nexport type UrlPropertyItemObjectResponse = {\n type: \"url\"\n url: string | null\n object: \"property_item\"\n id: string\n}\n\nexport type VerificationPropertyItemObjectResponse = {\n type: \"verification\"\n verification: VerificationPropertyValueResponse | null\n object: \"property_item\"\n id: string\n}\n\ntype CreatePageBodyParameters = {\n parent?:\n | { page_id: IdRequest; type?: \"page_id\" }\n | { database_id: IdRequest; type?: \"database_id\" }\n | { data_source_id: IdRequest; type?: \"data_source_id\" }\n | { workspace: true; type?: \"workspace\" }\n properties?: Record<\n string,\n | { title: Array<RichTextItemRequest>; type?: \"title\" }\n | { rich_text: Array<RichTextItemRequest>; type?: \"rich_text\" }\n | { number: number | null; type?: \"number\" }\n | { url: TextRequest | null; type?: \"url\" }\n | {\n select:\n | {\n id: StringRequest\n name?: TextRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | {\n name: TextRequest\n id?: StringRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | null\n type?: \"select\"\n }\n | {\n multi_select: Array<\n | {\n id: StringRequest\n name?: TextRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | {\n name: TextRequest\n id?: StringRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n >\n type?: \"multi_select\"\n }\n | {\n people: Array<PartialUserObjectRequest | GroupObjectRequest>\n type?: \"people\"\n }\n | { email: StringRequest | null; type?: \"email\" }\n | { phone_number: StringRequest | null; type?: \"phone_number\" }\n | { date: DateRequest | null; type?: \"date\" }\n | { checkbox: boolean; type?: \"checkbox\" }\n | { relation: Array<RelationItemPropertyValueResponse>; type?: \"relation\" }\n | {\n files: Array<\n | InternalOrExternalFileWithNameRequest\n | FileUploadWithOptionalNameRequest\n >\n type?: \"files\"\n }\n | {\n status:\n | {\n id: StringRequest\n name?: TextRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | {\n name: TextRequest\n id?: StringRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | null\n type?: \"status\"\n }\n | {\n place: {\n lat: number\n lon: number\n name?: string | null\n address?: string | null\n aws_place_id?: string | null\n google_place_id?: string | null\n } | null\n type?: \"place\"\n }\n | {\n verification:\n | { state: \"verified\"; date?: DateRequest }\n | { state: \"unverified\" }\n type?: \"verification\"\n }\n >\n icon?: PageIconRequest | null\n cover?: PageCoverRequest | null\n content?: Array<BlockObjectRequest>\n children?: Array<BlockObjectRequest>\n // Page content as Notion-flavored Markdown. Mutually exclusive with content/children.\n markdown?: string\n template?:\n | { type: \"none\" }\n | { type: \"default\"; timezone?: TemplateTimezone }\n | {\n type: \"template_id\"\n template_id: IdRequest\n timezone?: TemplateTimezone\n }\n position?: PagePositionSchema\n}\n\nexport type CreatePageParameters = CreatePageBodyParameters\n\nexport type CreatePageResponse = PageObjectResponse | PartialPageObjectResponse\n\n/**\n * Create a page\n */\nexport const createPage = {\n method: \"post\",\n pathParams: [],\n queryParams: [],\n bodyParams: [\n \"parent\",\n \"properties\",\n \"icon\",\n \"cover\",\n \"content\",\n \"children\",\n \"markdown\",\n \"template\",\n \"position\",\n ],\n\n path: (): string => `pages`,\n} as const\n\ntype GetPagePathParameters = {\n // The ID of the page to retrieve.\n page_id: IdRequest\n}\n\ntype GetPageQueryParameters = {\n // Supply a list of property IDs to filter properties in the response. Note that if a\n // page doesn't have a property, it won't be included in the filtered response.\n filter_properties?: Array<string>\n}\n\nexport type GetPageParameters = GetPagePathParameters & GetPageQueryParameters\n\nexport type GetPageResponse = PartialPageObjectResponse | PageObjectResponse\n\n/**\n * Retrieve a page\n */\nexport const getPage = {\n method: \"get\",\n pathParams: [\"page_id\"],\n queryParams: [\"filter_properties\"],\n bodyParams: [],\n\n path: (p: GetPagePathParameters): string => `pages/${p.page_id}`,\n} as const\n\ntype UpdatePagePathParameters = {\n page_id: IdRequest\n}\n\ntype UpdatePageBodyParameters = {\n properties?: Record<\n string,\n | { title: Array<RichTextItemRequest>; type?: \"title\" }\n | { rich_text: Array<RichTextItemRequest>; type?: \"rich_text\" }\n | { number: number | null; type?: \"number\" }\n | { url: TextRequest | null; type?: \"url\" }\n | {\n select:\n | {\n id: StringRequest\n name?: TextRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | {\n name: TextRequest\n id?: StringRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | null\n type?: \"select\"\n }\n | {\n multi_select: Array<\n | {\n id: StringRequest\n name?: TextRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | {\n name: TextRequest\n id?: StringRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n >\n type?: \"multi_select\"\n }\n | {\n people: Array<PartialUserObjectRequest | GroupObjectRequest>\n type?: \"people\"\n }\n | { email: StringRequest | null; type?: \"email\" }\n | { phone_number: StringRequest | null; type?: \"phone_number\" }\n | { date: DateRequest | null; type?: \"date\" }\n | { checkbox: boolean; type?: \"checkbox\" }\n | { relation: Array<RelationItemPropertyValueResponse>; type?: \"relation\" }\n | {\n files: Array<\n | InternalOrExternalFileWithNameRequest\n | FileUploadWithOptionalNameRequest\n >\n type?: \"files\"\n }\n | {\n status:\n | {\n id: StringRequest\n name?: TextRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | {\n name: TextRequest\n id?: StringRequest\n color?: SelectColor\n description?: TextRequest | null\n }\n | null\n type?: \"status\"\n }\n | {\n place: {\n lat: number\n lon: number\n name?: string | null\n address?: string | null\n aws_place_id?: string | null\n google_place_id?: string | null\n } | null\n type?: \"place\"\n }\n | {\n verification:\n | { state: \"verified\"; date?: DateRequest }\n | { state: \"unverified\" }\n type?: \"verification\"\n }\n >\n icon?: PageIconRequest | null\n cover?: PageCoverRequest | null\n // Whether the page should be locked from editing in the Notion app UI. If not provided,\n // the locked state will not be updated.\n is_locked?: boolean\n template?:\n | { type: \"default\"; timezone?: TemplateTimezone }\n | {\n type: \"template_id\"\n template_id: IdRequest\n timezone?: TemplateTimezone\n }\n // Whether to erase all existing content from the page. When used with a template, the\n // template content replaces the existing content. When used without a template, simply\n // clears the page content.\n erase_content?: boolean\n in_trash?: boolean\n /** @deprecated Use `in_trash` instead. */\n archived?: boolean\n is_archived?: boolean\n}\n\nexport type UpdatePageParameters = UpdatePagePathParameters &\n UpdatePageBodyParameters\n\nexport type UpdatePageResponse = PageObjectResponse | PartialPageObjectResponse\n\n/**\n * Update page\n */\nexport const updatePage = {\n method: \"patch\",\n pathParams: [\"page_id\"],\n queryParams: [],\n bodyParams: [\n \"archived\",\n \"properties\",\n \"icon\",\n \"cover\",\n \"is_locked\",\n \"template\",\n \"erase_content\",\n \"in_trash\",\n \"is_archived\",\n ],\n\n path: (p: UpdatePagePathParameters): string => `pages/${p.page_id}`,\n} as const\n\ntype MovePagePathParameters = {\n // The ID of the page to move.\n page_id: IdRequest\n}\n\ntype MovePageBodyParameters = {\n // The new parent of the page.\n parent:\n | {\n // The ID of the parent page (with or without dashes), for example,\n // 195de9221179449fab8075a27c979105\n page_id: IdRequest\n // Always `page_id`\n type?: \"page_id\"\n }\n | {\n // The ID of the parent data source (collection), with or without dashes. For example,\n // f336d0bc-b841-465b-8045-024475c079dd\n data_source_id: IdRequest\n // Always `data_source_id`\n type?: \"data_source_id\"\n }\n}\n\nexport type MovePageParameters = MovePagePathParameters & MovePageBodyParameters\n\nexport type MovePageResponse = PartialPageObjectResponse | PageObjectResponse\n\n/**\n * Move a page\n */\nexport const movePage = {\n method: \"post\",\n pathParams: [\"page_id\"],\n queryParams: [],\n bodyParams: [\"parent\"],\n\n path: (p: MovePagePathParameters): string => `pages/${p.page_id}/move`,\n} as const\n\ntype GetPagePropertyPathParameters = {\n page_id: IdRequest\n property_id: string\n}\n\ntype GetPagePropertyQueryParameters = {\n start_cursor?: string\n page_size?: number\n}\n\nexport type GetPagePropertyParameters = GetPagePropertyPathParameters &\n GetPagePropertyQueryParameters\n\nexport type GetPagePropertyResponse =\n | PropertyItemObjectResponse\n | PropertyItemListResponse\n\n/**\n * Retrieve a page property item\n */\nexport const getPageProperty = {\n method: \"get\",\n pathParams: [\"page_id\", \"property_id\"],\n queryParams: [\"start_cursor\", \"page_size\"],\n bodyParams: [],\n\n path: (p: GetPagePropertyPathParameters): string =>\n `pages/${p.page_id}/properties/${p.property_id}`,\n} as const\n\ntype GetPageMarkdownPathParameters = {\n // The ID of the page (or block) to retrieve as markdown. Non-navigable block IDs from\n // truncated responses can be passed here to fetch their subtrees.\n page_id: IdRequest\n}\n\ntype GetPageMarkdownQueryParameters = {\n // Whether to include meeting note transcripts. Defaults to false. When true, full\n // transcripts are included; when false, a placeholder with the meeting note URL is shown\n // instead.\n include_transcript?: boolean\n}\n\nexport type GetPageMarkdownParameters = GetPageMarkdownPathParameters &\n GetPageMarkdownQueryParameters\n\nexport type GetPageMarkdownResponse = PageMarkdownResponse\n\n/**\n * Retrieve a page as markdown\n */\nexport const getPageMarkdown = {\n method: \"get\",\n pathParams: [\"page_id\"],\n queryParams: [\"include_transcript\"],\n bodyParams: [],\n\n path: (p: GetPageMarkdownPathParameters): string =>\n `pages/${p.page_id}/markdown`,\n} as const\n\ntype UpdatePageMarkdownPathParameters = {\n // The ID of the page to update.\n page_id: IdRequest\n}\n\ntype UpdatePageMarkdownBodyParameters =\n | {\n // Always `insert_content`\n type: \"insert_content\"\n // Insert new content into the page.\n insert_content: {\n // The enhanced markdown content to insert into the page.\n content: string\n // Selection of existing content to insert after, using the ellipsis format (\"start\n // text...end text\"). Omit to append at the end of the page.\n after?: string\n // Explicit position for inserted content. Use {\"type\":\"start\"} to prepend or\n // {\"type\":\"end\"} to append. Cannot be combined with after.\n position?:\n | {\n // Insert the content at the start of the page.\n type: \"start\"\n }\n | {\n // Insert the content at the end of the page.\n type: \"end\"\n }\n }\n }\n | {\n // Always `replace_content_range`\n type: \"replace_content_range\"\n // Replace a range of content in the page.\n replace_content_range: {\n // The new enhanced markdown content to replace the matched range.\n content: string\n // Selection of existing content to replace, using the ellipsis format (\"start text...end\n // text\").\n content_range: string\n // Set to true to allow the operation to delete child pages or databases. Defaults to\n // false.\n allow_deleting_content?: boolean\n }\n }\n | {\n // Always `update_content`\n type: \"update_content\"\n // Update specific content using search-and-replace operations.\n update_content: {\n // An array of search-and-replace operations, each with old_str (content to find) and\n // new_str (replacement content).\n content_updates: Array<{\n // The existing content string to find and replace. Must exactly match the page content.\n old_str: string\n // The new content string to replace old_str with.\n new_str: string\n // If true, replaces all occurrences of old_str. If false (default), the operation fails\n // if there are multiple matches.\n replace_all_matches?: boolean\n }>\n // Set to true to allow the operation to delete child pages or databases. Defaults to\n // false.\n allow_deleting_content?: boolean\n }\n }\n | {\n // Always `replace_content`\n type: \"replace_content\"\n // Replace the entire page content with new markdown.\n replace_content: {\n // The new enhanced markdown content to replace the entire page content.\n new_str: string\n // Set to true to allow the operation to delete child pages or databases. Defaults to\n // false.\n allow_deleting_content?: boolean\n }\n }\n\nexport type UpdatePageMarkdownParameters = UpdatePageMarkdownPathParameters &\n UpdatePageMarkdownBodyParameters\n\nexport type UpdatePageMarkdownResponse = PageMarkdownResponse\n\n/**\n * Update a page's content as markdown\n */\nexport const updatePageMarkdown = {\n method: \"patch\",\n pathParams: [\"page_id\"],\n queryParams: [],\n bodyParams: [\n \"type\",\n \"insert_content\",\n \"replace_content_range\",\n \"update_content\",\n \"replace_content\",\n ],\n\n path: (p: UpdatePageMarkdownPathParameters): string =>\n `pages/${p.page_id}/markdown`,\n} as const\n"]}
|
|
@@ -287,7 +287,7 @@ type WebhookPageEntity = {
|
|
|
287
287
|
};
|
|
288
288
|
type WebhookParentBlock = {
|
|
289
289
|
id: IdResponse;
|
|
290
|
-
type: "space" | "block" | "page" | "database" | "team";
|
|
290
|
+
type: "space" | "block" | "page" | "database" | "team" | "agent";
|
|
291
291
|
data_source_id?: IdResponse;
|
|
292
292
|
};
|
|
293
293
|
type WebhookUpdatedBlock = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["../../../src/api-endpoints/webhooks.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAEvD,MAAM,MAAM,kBAAkB,GAAG;IAE/B,EAAE,EAAE,MAAM,CAAA;IAEV,SAAS,EAAE,MAAM,CAAA;IAEjB,YAAY,EAAE,UAAU,CAAA;IAExB,cAAc,EAAE,MAAM,CAAA;IAEtB,eAAe,EAAE,UAAU,CAAA;IAE3B,cAAc,EAAE,UAAU,CAAA;IAG1B,OAAO,EAAE,KAAK,CACV;QAEE,EAAE,EAAE,UAAU,CAAA;QAEd,IAAI,EAAE,QAAQ,CAAA;KACf,GACD;QAEE,EAAE,EAAE,UAAU,CAAA;QAEd,IAAI,EAAE,KAAK,CAAA;KACZ,CACJ,CAAA;IAED,cAAc,EAAE,MAAM,CAAA;IAEtB,WAAW,EAAE,YAAY,GAAG,YAAY,GAAG,YAAY,CAAA;IAGvD,aAAa,CAAC,EAAE,KAAK,CACjB;QAEE,EAAE,EAAE,UAAU,CAAA;QAEd,IAAI,EAAE,QAAQ,CAAA;KACf,GACD;QAEE,EAAE,EAAE,UAAU,CAAA;QAEd,IAAI,EAAE,KAAK,CAAA;KACZ,CACJ,CAAA;CACF,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,kBAAkB,GAAG;IAE9D,IAAI,EAAE,iBAAiB,CAAA;IAEvB,MAAM,EAAE,oBAAoB,CAAA;IAE5B,IAAI,EAAE;QAEJ,MAAM,EAAE,oBAAoB,CAAA;QAE5B,OAAO,EAAE,UAAU,CAAA;KACpB,CAAA;CACF,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG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-1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../../../src/api-endpoints/webhooks.ts"],"names":[],"mappings":";AAAA,sBAAsB;AACtB,+CAA+C","sourcesContent":["// cspell:disable-file\n// Note: This is a generated file. DO NOT EDIT!\n\nimport type { EmptyObject, IdResponse } from \"./common\"\n\nexport type BaseWebhookPayload = {\n // Unique identifier for this webhook event.\n id: string\n // ISO 8601 timestamp of when the event occurred. Can be used to order events.\n timestamp: string\n // The ID of the workspace where the event originated.\n workspace_id: IdResponse\n // The name of the workspace where the event originated.\n workspace_name: string\n // The ID of the webhook subscription.\n subscription_id: IdResponse\n // The ID of the integration the subscription is set up with.\n integration_id: IdResponse\n // The users or bots that performed the action. Typically an array of length 1; can be\n // more for aggregated events.\n authors: Array<\n | {\n // The ID of the user.\n id: IdResponse\n // Always `person`\n type: \"person\"\n }\n | {\n // The ID of the bot.\n id: IdResponse\n // Always `bot`\n type: \"bot\"\n }\n >\n // The delivery attempt number (1-8) of the current event delivery.\n attempt_number: number\n // The Notion API version that was used to render this webhook event's shape.\n api_version: \"2022-06-28\" | \"2025-09-03\" | \"2026-03-11\"\n // The users or bots who own the bot connection to the `integration_id` and have access\n // to the webhook's `entity`. Only present for public integrations.\n accessible_by?: Array<\n | {\n // The ID of the user.\n id: IdResponse\n // Always `person`\n type: \"person\"\n }\n | {\n // The ID of the bot.\n id: IdResponse\n // Always `bot`\n type: \"bot\"\n }\n >\n}\n\nexport type CommentCreatedWebhookPayload = BaseWebhookPayload & {\n // Always `comment.created`\n type: \"comment.created\"\n // The object that triggered the event.\n entity: WebhookCommentEntity\n // Additional event-specific data.\n data: {\n // The parent of the comment (the page or block the comment is attached to).\n parent: WebhookExternalBlock\n // The ID of the page containing the comment.\n page_id: IdResponse\n }\n}\n\nexport type CommentDeletedWebhookPayload = BaseWebhookPayload & {\n // Always `comment.deleted`\n type: \"comment.deleted\"\n // The object that triggered the event.\n entity: WebhookCommentEntity\n // Additional event-specific data.\n data: {\n // The parent of the comment (the page or block the comment is attached to).\n parent: WebhookExternalBlock\n // The ID of the page containing the comment.\n page_id: IdResponse\n }\n}\n\nexport type CommentUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `comment.updated`\n type: \"comment.updated\"\n // The object that triggered the event.\n entity: WebhookCommentEntity\n // Additional event-specific data.\n data: {\n // The parent of the comment (the page or block the comment is attached to).\n parent: WebhookExternalBlock\n // The ID of the page containing the comment.\n page_id: IdResponse\n }\n}\n\nexport type DataSourceContentUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `data_source.content_updated`\n type: \"data_source.content_updated\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity whose content was updated.\n parent: WebhookParentBlock\n // The blocks that were updated in this event.\n updated_blocks: Array<WebhookUpdatedBlock>\n }\n}\n\nexport type DataSourceCreatedWebhookPayload = BaseWebhookPayload & {\n // Always `data_source.created`\n type: \"data_source.created\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DataSourceDeletedWebhookPayload = BaseWebhookPayload & {\n // Always `data_source.deleted`\n type: \"data_source.deleted\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DataSourceMovedWebhookPayload = BaseWebhookPayload & {\n // Always `data_source.moved`\n type: \"data_source.moved\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DataSourceSchemaUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `data_source.schema_updated`\n type: \"data_source.schema_updated\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the database whose schema was updated.\n parent: WebhookParentBlock\n // The database properties that were created, updated, or deleted.\n updated_properties?: Array<{\n // The ID of the database property that changed.\n id: string\n // The name of the database property, or `null` if deleted.\n name: string | null\n // The action taken on the property.\n action: \"created\" | \"updated\" | \"deleted\"\n }>\n }\n}\n\nexport type DataSourceUndeletedWebhookPayload = BaseWebhookPayload & {\n // Always `data_source.undeleted`\n type: \"data_source.undeleted\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DatabaseContentUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `database.content_updated`\n type: \"database.content_updated\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity whose content was updated.\n parent: WebhookParentBlock\n // The blocks that were updated in this event.\n updated_blocks: Array<WebhookUpdatedBlock>\n }\n}\n\nexport type DatabaseCreatedWebhookPayload = BaseWebhookPayload & {\n // Always `database.created`\n type: \"database.created\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DatabaseDeletedWebhookPayload = BaseWebhookPayload & {\n // Always `database.deleted`\n type: \"database.deleted\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DatabaseMovedWebhookPayload = BaseWebhookPayload & {\n // Always `database.moved`\n type: \"database.moved\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DatabaseSchemaUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `database.schema_updated`\n type: \"database.schema_updated\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the database whose schema was updated.\n parent: WebhookParentBlock\n // The database properties that were created, updated, or deleted.\n updated_properties?: Array<{\n // The ID of the database property that changed.\n id: string\n // The name of the database property, or `null` if deleted.\n name: string | null\n // The action taken on the property.\n action: \"created\" | \"updated\" | \"deleted\"\n }>\n }\n}\n\nexport type DatabaseUndeletedWebhookPayload = BaseWebhookPayload & {\n // Always `database.undeleted`\n type: \"database.undeleted\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type FileUploadCompletedWebhookPayload = BaseWebhookPayload & {\n // Always `file_upload.completed`\n type: \"file_upload.completed\"\n // The object that triggered the event.\n entity: WebhookFileUploadEntity\n}\n\nexport type FileUploadCreatedWebhookPayload = BaseWebhookPayload & {\n // Always `file_upload.created`\n type: \"file_upload.created\"\n // The object that triggered the event.\n entity: WebhookFileUploadEntity\n}\n\nexport type FileUploadExpiredWebhookPayload = BaseWebhookPayload & {\n // Always `file_upload.expired`\n type: \"file_upload.expired\"\n // The object that triggered the event.\n entity: WebhookFileUploadEntity\n}\n\nexport type FileUploadUploadFailedWebhookPayload = BaseWebhookPayload & {\n // Always `file_upload.upload_failed`\n type: \"file_upload.upload_failed\"\n // The object that triggered the event.\n entity: WebhookFileUploadEntity\n // Additional event-specific data.\n data: {\n // The result of the file import attempt.\n file_import_result:\n | {\n // Always `success`\n type: \"success\"\n // ISO 8601 timestamp of when the file was imported.\n imported_time: string\n // Empty object indicating success.\n success: EmptyObject\n }\n | {\n // Always `error`\n type: \"error\"\n // ISO 8601 timestamp of when the import was attempted.\n imported_time: string\n // Details about the error.\n error: {\n // The category of the error.\n type:\n | \"validation_error\"\n | \"internal_system_error\"\n | \"download_error\"\n | \"upload_error\"\n // A machine-readable error code.\n code: string\n // A human-readable description of the error.\n message: string\n // The parameter that caused the error, or `null`.\n parameter: string | null\n // The HTTP status code associated with the error, or `null`.\n status_code: number | null\n }\n }\n }\n}\n\nexport type PageContentUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `page.content_updated`\n type: \"page.content_updated\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity whose content was updated.\n parent: WebhookParentBlock\n // The blocks that were updated in this event.\n updated_blocks: Array<WebhookUpdatedBlock>\n }\n}\n\nexport type PageCreatedWebhookPayload = BaseWebhookPayload & {\n // Always `page.created`\n type: \"page.created\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type PageDeletedWebhookPayload = BaseWebhookPayload & {\n // Always `page.deleted`\n type: \"page.deleted\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type PageLockedWebhookPayload = BaseWebhookPayload & {\n // Always `page.locked`\n type: \"page.locked\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type PageMovedWebhookPayload = BaseWebhookPayload & {\n // Always `page.moved`\n type: \"page.moved\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type PagePropertiesUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `page.properties_updated`\n type: \"page.properties_updated\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the page whose properties were updated.\n parent: WebhookParentBlock\n // The IDs of the properties that were updated.\n updated_properties: Array<string>\n }\n}\n\nexport type PageTranscriptionBlockTranscriptDeletedWebhookPayload =\n BaseWebhookPayload & {\n // Always `page.transcription_block.transcript_deleted`\n type: \"page.transcription_block.transcript_deleted\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The block that contained the deleted transcript.\n target: WebhookExternalBlock\n // The ID of the deleted transcript, or `null` if not available.\n transcript_id: string | null\n }\n }\n\nexport type PageUndeletedWebhookPayload = BaseWebhookPayload & {\n // Always `page.undeleted`\n type: \"page.undeleted\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type PageUnlockedWebhookPayload = BaseWebhookPayload & {\n // Always `page.unlocked`\n type: \"page.unlocked\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type ViewCreatedWebhookPayload = BaseWebhookPayload & {\n // Always `view.created`\n type: \"view.created\"\n // The object that triggered the event.\n entity: WebhookViewEntity\n // Additional event-specific data.\n data: {\n // The parent of the created view.\n parent: WebhookParentBlock\n // The type of the created view (e.g. `table`, `board`, `list`, `calendar`, `gallery`,\n // `timeline`).\n view_type: string\n }\n}\n\nexport type ViewDeletedWebhookPayload = BaseWebhookPayload & {\n // Always `view.deleted`\n type: \"view.deleted\"\n // The object that triggered the event.\n entity: WebhookViewEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type ViewUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `view.updated`\n type: \"view.updated\"\n // The object that triggered the event.\n entity: WebhookViewEntity\n // Additional event-specific data.\n data: {\n // The parent of the updated view.\n parent: WebhookParentBlock\n // The fields of the view that were updated.\n updated_fields: Array<\"name\" | \"filter\" | \"sorts\" | \"configuration\">\n }\n}\n\ntype WebhookCommentEntity = {\n // Always `comment`\n type: \"comment\"\n // The ID of the comment that triggered the event.\n id: IdResponse\n}\n\ntype WebhookDatabaseEventEntity = {\n // The ID of the database or data source that triggered the event.\n id: IdResponse\n // The type of entity. For linked databases, this is `block`.\n type: \"block\" | \"database\" | \"data_source\"\n}\n\ntype WebhookExternalBlock = {\n // The ID of the parent.\n id: IdResponse\n // The type of the parent.\n type: \"page\" | \"database\" | \"block\"\n}\n\ntype WebhookFileUploadEntity = {\n // Always `file_upload`\n type: \"file_upload\"\n // The ID of the file upload that triggered the event.\n id: IdResponse\n}\n\ntype WebhookPageEntity = {\n // Always `page`\n type: \"page\"\n // The ID of the page that triggered the event.\n id: IdResponse\n}\n\ntype WebhookParentBlock = {\n // The ID of the parent.\n id: IdResponse\n // The type of the parent.\n type: \"space\" | \"block\" | \"page\" | \"database\" | \"team\"\n // The data source ID of the parent, if applicable.\n data_source_id?: IdResponse\n}\n\ntype WebhookUpdatedBlock = {\n // The ID of the updated block.\n id: IdResponse\n // The type of the updated block.\n type: \"page\" | \"database\" | \"block\"\n}\n\ntype WebhookViewEntity = {\n // The ID of the view that triggered the event.\n id: IdResponse\n // Always `view`\n type: \"view\"\n}\n"]}
|
|
1
|
+
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../../../src/api-endpoints/webhooks.ts"],"names":[],"mappings":";AAAA,sBAAsB;AACtB,+CAA+C","sourcesContent":["// cspell:disable-file\n// Note: This is a generated file. DO NOT EDIT!\n\nimport type { EmptyObject, IdResponse } from \"./common\"\n\nexport type BaseWebhookPayload = {\n // Unique identifier for this webhook event.\n id: string\n // ISO 8601 timestamp of when the event occurred. Can be used to order events.\n timestamp: string\n // The ID of the workspace where the event originated.\n workspace_id: IdResponse\n // The name of the workspace where the event originated.\n workspace_name: string\n // The ID of the webhook subscription.\n subscription_id: IdResponse\n // The ID of the integration the subscription is set up with.\n integration_id: IdResponse\n // The users or bots that performed the action. Typically an array of length 1; can be\n // more for aggregated events.\n authors: Array<\n | {\n // The ID of the user.\n id: IdResponse\n // Always `person`\n type: \"person\"\n }\n | {\n // The ID of the bot.\n id: IdResponse\n // Always `bot`\n type: \"bot\"\n }\n >\n // The delivery attempt number (1-8) of the current event delivery.\n attempt_number: number\n // The Notion API version that was used to render this webhook event's shape.\n api_version: \"2022-06-28\" | \"2025-09-03\" | \"2026-03-11\"\n // The users or bots who own the bot connection to the `integration_id` and have access\n // to the webhook's `entity`. Only present for public integrations.\n accessible_by?: Array<\n | {\n // The ID of the user.\n id: IdResponse\n // Always `person`\n type: \"person\"\n }\n | {\n // The ID of the bot.\n id: IdResponse\n // Always `bot`\n type: \"bot\"\n }\n >\n}\n\nexport type CommentCreatedWebhookPayload = BaseWebhookPayload & {\n // Always `comment.created`\n type: \"comment.created\"\n // The object that triggered the event.\n entity: WebhookCommentEntity\n // Additional event-specific data.\n data: {\n // The parent of the comment (the page or block the comment is attached to).\n parent: WebhookExternalBlock\n // The ID of the page containing the comment.\n page_id: IdResponse\n }\n}\n\nexport type CommentDeletedWebhookPayload = BaseWebhookPayload & {\n // Always `comment.deleted`\n type: \"comment.deleted\"\n // The object that triggered the event.\n entity: WebhookCommentEntity\n // Additional event-specific data.\n data: {\n // The parent of the comment (the page or block the comment is attached to).\n parent: WebhookExternalBlock\n // The ID of the page containing the comment.\n page_id: IdResponse\n }\n}\n\nexport type CommentUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `comment.updated`\n type: \"comment.updated\"\n // The object that triggered the event.\n entity: WebhookCommentEntity\n // Additional event-specific data.\n data: {\n // The parent of the comment (the page or block the comment is attached to).\n parent: WebhookExternalBlock\n // The ID of the page containing the comment.\n page_id: IdResponse\n }\n}\n\nexport type DataSourceContentUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `data_source.content_updated`\n type: \"data_source.content_updated\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity whose content was updated.\n parent: WebhookParentBlock\n // The blocks that were updated in this event.\n updated_blocks: Array<WebhookUpdatedBlock>\n }\n}\n\nexport type DataSourceCreatedWebhookPayload = BaseWebhookPayload & {\n // Always `data_source.created`\n type: \"data_source.created\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DataSourceDeletedWebhookPayload = BaseWebhookPayload & {\n // Always `data_source.deleted`\n type: \"data_source.deleted\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DataSourceMovedWebhookPayload = BaseWebhookPayload & {\n // Always `data_source.moved`\n type: \"data_source.moved\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DataSourceSchemaUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `data_source.schema_updated`\n type: \"data_source.schema_updated\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the database whose schema was updated.\n parent: WebhookParentBlock\n // The database properties that were created, updated, or deleted.\n updated_properties?: Array<{\n // The ID of the database property that changed.\n id: string\n // The name of the database property, or `null` if deleted.\n name: string | null\n // The action taken on the property.\n action: \"created\" | \"updated\" | \"deleted\"\n }>\n }\n}\n\nexport type DataSourceUndeletedWebhookPayload = BaseWebhookPayload & {\n // Always `data_source.undeleted`\n type: \"data_source.undeleted\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DatabaseContentUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `database.content_updated`\n type: \"database.content_updated\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity whose content was updated.\n parent: WebhookParentBlock\n // The blocks that were updated in this event.\n updated_blocks: Array<WebhookUpdatedBlock>\n }\n}\n\nexport type DatabaseCreatedWebhookPayload = BaseWebhookPayload & {\n // Always `database.created`\n type: \"database.created\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DatabaseDeletedWebhookPayload = BaseWebhookPayload & {\n // Always `database.deleted`\n type: \"database.deleted\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DatabaseMovedWebhookPayload = BaseWebhookPayload & {\n // Always `database.moved`\n type: \"database.moved\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type DatabaseSchemaUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `database.schema_updated`\n type: \"database.schema_updated\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the database whose schema was updated.\n parent: WebhookParentBlock\n // The database properties that were created, updated, or deleted.\n updated_properties?: Array<{\n // The ID of the database property that changed.\n id: string\n // The name of the database property, or `null` if deleted.\n name: string | null\n // The action taken on the property.\n action: \"created\" | \"updated\" | \"deleted\"\n }>\n }\n}\n\nexport type DatabaseUndeletedWebhookPayload = BaseWebhookPayload & {\n // Always `database.undeleted`\n type: \"database.undeleted\"\n // The object that triggered the event.\n entity: WebhookDatabaseEventEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type FileUploadCompletedWebhookPayload = BaseWebhookPayload & {\n // Always `file_upload.completed`\n type: \"file_upload.completed\"\n // The object that triggered the event.\n entity: WebhookFileUploadEntity\n}\n\nexport type FileUploadCreatedWebhookPayload = BaseWebhookPayload & {\n // Always `file_upload.created`\n type: \"file_upload.created\"\n // The object that triggered the event.\n entity: WebhookFileUploadEntity\n}\n\nexport type FileUploadExpiredWebhookPayload = BaseWebhookPayload & {\n // Always `file_upload.expired`\n type: \"file_upload.expired\"\n // The object that triggered the event.\n entity: WebhookFileUploadEntity\n}\n\nexport type FileUploadUploadFailedWebhookPayload = BaseWebhookPayload & {\n // Always `file_upload.upload_failed`\n type: \"file_upload.upload_failed\"\n // The object that triggered the event.\n entity: WebhookFileUploadEntity\n // Additional event-specific data.\n data: {\n // The result of the file import attempt.\n file_import_result:\n | {\n // Always `success`\n type: \"success\"\n // ISO 8601 timestamp of when the file was imported.\n imported_time: string\n // Empty object indicating success.\n success: EmptyObject\n }\n | {\n // Always `error`\n type: \"error\"\n // ISO 8601 timestamp of when the import was attempted.\n imported_time: string\n // Details about the error.\n error: {\n // The category of the error.\n type:\n | \"validation_error\"\n | \"internal_system_error\"\n | \"download_error\"\n | \"upload_error\"\n // A machine-readable error code.\n code: string\n // A human-readable description of the error.\n message: string\n // The parameter that caused the error, or `null`.\n parameter: string | null\n // The HTTP status code associated with the error, or `null`.\n status_code: number | null\n }\n }\n }\n}\n\nexport type PageContentUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `page.content_updated`\n type: \"page.content_updated\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity whose content was updated.\n parent: WebhookParentBlock\n // The blocks that were updated in this event.\n updated_blocks: Array<WebhookUpdatedBlock>\n }\n}\n\nexport type PageCreatedWebhookPayload = BaseWebhookPayload & {\n // Always `page.created`\n type: \"page.created\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type PageDeletedWebhookPayload = BaseWebhookPayload & {\n // Always `page.deleted`\n type: \"page.deleted\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type PageLockedWebhookPayload = BaseWebhookPayload & {\n // Always `page.locked`\n type: \"page.locked\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type PageMovedWebhookPayload = BaseWebhookPayload & {\n // Always `page.moved`\n type: \"page.moved\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type PagePropertiesUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `page.properties_updated`\n type: \"page.properties_updated\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the page whose properties were updated.\n parent: WebhookParentBlock\n // The IDs of the properties that were updated.\n updated_properties: Array<string>\n }\n}\n\nexport type PageTranscriptionBlockTranscriptDeletedWebhookPayload =\n BaseWebhookPayload & {\n // Always `page.transcription_block.transcript_deleted`\n type: \"page.transcription_block.transcript_deleted\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The block that contained the deleted transcript.\n target: WebhookExternalBlock\n // The ID of the deleted transcript, or `null` if not available.\n transcript_id: string | null\n }\n }\n\nexport type PageUndeletedWebhookPayload = BaseWebhookPayload & {\n // Always `page.undeleted`\n type: \"page.undeleted\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type PageUnlockedWebhookPayload = BaseWebhookPayload & {\n // Always `page.unlocked`\n type: \"page.unlocked\"\n // The object that triggered the event.\n entity: WebhookPageEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type ViewCreatedWebhookPayload = BaseWebhookPayload & {\n // Always `view.created`\n type: \"view.created\"\n // The object that triggered the event.\n entity: WebhookViewEntity\n // Additional event-specific data.\n data: {\n // The parent of the created view.\n parent: WebhookParentBlock\n // The type of the created view (e.g. `table`, `board`, `list`, `calendar`, `gallery`,\n // `timeline`).\n view_type: string\n }\n}\n\nexport type ViewDeletedWebhookPayload = BaseWebhookPayload & {\n // Always `view.deleted`\n type: \"view.deleted\"\n // The object that triggered the event.\n entity: WebhookViewEntity\n // Additional event-specific data.\n data: {\n // The parent of the entity that triggered the event.\n parent: WebhookParentBlock\n }\n}\n\nexport type ViewUpdatedWebhookPayload = BaseWebhookPayload & {\n // Always `view.updated`\n type: \"view.updated\"\n // The object that triggered the event.\n entity: WebhookViewEntity\n // Additional event-specific data.\n data: {\n // The parent of the updated view.\n parent: WebhookParentBlock\n // The fields of the view that were updated.\n updated_fields: Array<\"name\" | \"filter\" | \"sorts\" | \"configuration\">\n }\n}\n\ntype WebhookCommentEntity = {\n // Always `comment`\n type: \"comment\"\n // The ID of the comment that triggered the event.\n id: IdResponse\n}\n\ntype WebhookDatabaseEventEntity = {\n // The ID of the database or data source that triggered the event.\n id: IdResponse\n // The type of entity. For linked databases, this is `block`.\n type: \"block\" | \"database\" | \"data_source\"\n}\n\ntype WebhookExternalBlock = {\n // The ID of the parent.\n id: IdResponse\n // The type of the parent.\n type: \"page\" | \"database\" | \"block\"\n}\n\ntype WebhookFileUploadEntity = {\n // Always `file_upload`\n type: \"file_upload\"\n // The ID of the file upload that triggered the event.\n id: IdResponse\n}\n\ntype WebhookPageEntity = {\n // Always `page`\n type: \"page\"\n // The ID of the page that triggered the event.\n id: IdResponse\n}\n\ntype WebhookParentBlock = {\n // The ID of the parent.\n id: IdResponse\n // The type of the parent.\n type: \"space\" | \"block\" | \"page\" | \"database\" | \"team\" | \"agent\"\n // The data source ID of the parent, if applicable.\n data_source_id?: IdResponse\n}\n\ntype WebhookUpdatedBlock = {\n // The ID of the updated block.\n id: IdResponse\n // The type of the updated block.\n type: \"page\" | \"database\" | \"block\"\n}\n\ntype WebhookViewEntity = {\n // The ID of the view that triggered the event.\n id: IdResponse\n // Always `view`\n type: \"view\"\n}\n"]}
|
package/build/src/index.d.ts
CHANGED
|
@@ -13,4 +13,7 @@ export { NotionErrorCode, APIErrorCode, ClientErrorCode, NotionClientError, APIR
|
|
|
13
13
|
export type { RetryOptions } from "./Client";
|
|
14
14
|
export { DEFAULT_BASE_URL, DEFAULT_TIMEOUT_MS, DEFAULT_MAX_RETRIES, DEFAULT_INITIAL_RETRY_DELAY_MS, DEFAULT_MAX_RETRY_DELAY_MS, MIN_VIEW_COLUMN_WIDTH, } from "./constants";
|
|
15
15
|
export { collectPaginatedAPI, iteratePaginatedAPI, collectDataSourceTemplates, iterateDataSourceTemplates, isFullBlock, isFullDataSource, isFullDatabase, isFullPage, isFullUser, isFullComment, isFullView, isFullPageOrDataSource, extractNotionId, extractDatabaseId, extractPageId, extractBlockId, } from "./helpers";
|
|
16
|
+
export type { QueryMeetingNotesResponse } from "./api-endpoints/meeting-notes";
|
|
17
|
+
export type { QueryMeetingNotesParameters, MeetingNotesCombinatorFilter, MeetingNotesFilterNode, MeetingNotesPropertyFilter, MeetingNotesPropertyName, MeetingNotesSort, } from "./meeting-notes";
|
|
18
|
+
export { meetingNotesFilterableProperties } from "./meeting-notes";
|
|
16
19
|
//# sourceMappingURL=index.d.ts.map
|
package/build/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,YAAY,EACV,6BAA6B,EAC7B,2BAA2B,EAC3B,wBAAwB,EACxB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,qBAAqB,EACrB,6BAA6B,EAC7B,mCAAmC,EACnC,gCAAgC,EAChC,0BAA0B,EAC1B,kCAAkC,EAClC,gCAAgC,EAChC,4BAA4B,EAC5B,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,qBAAqB,EACrB,4BAA4B,EAC5B,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,EACrB,wBAAwB,EACxB,sBAAsB,EACtB,0BAA0B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