@notionhq/apps 0.0.13 → 0.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/README.md +110 -49
  2. package/dist/box.generated.d.ts +164 -0
  3. package/dist/box.generated.d.ts.map +1 -0
  4. package/dist/box.generated.js +24 -0
  5. package/dist/calendar.generated.d.ts +1036 -0
  6. package/dist/calendar.generated.d.ts.map +1 -0
  7. package/dist/calendar.generated.js +42 -0
  8. package/dist/cli/build.js +7 -6
  9. package/dist/cli/emit-manifest.d.ts.map +1 -1
  10. package/dist/cli/emit-manifest.js +1 -4
  11. package/dist/confluence.generated.d.ts +98 -0
  12. package/dist/confluence.generated.d.ts.map +1 -0
  13. package/dist/confluence.generated.js +18 -0
  14. package/dist/connection-actions.d.ts +2 -0
  15. package/dist/connection-actions.d.ts.map +1 -0
  16. package/dist/connection-actions.js +0 -0
  17. package/dist/connection-trigger-definitions.generated.d.ts +34 -0
  18. package/dist/connection-trigger-definitions.generated.d.ts.map +1 -0
  19. package/dist/connection-trigger-definitions.generated.js +45 -0
  20. package/dist/connections.d.ts +15 -0
  21. package/dist/connections.d.ts.map +1 -0
  22. package/dist/connections.js +79 -0
  23. package/dist/connections.test.d.ts +2 -0
  24. package/dist/connections.test.d.ts.map +1 -0
  25. package/dist/context.d.ts.map +1 -1
  26. package/dist/context.js +3 -0
  27. package/dist/context.test.d.ts +2 -0
  28. package/dist/context.test.d.ts.map +1 -0
  29. package/dist/cursor.generated.d.ts +154 -0
  30. package/dist/cursor.generated.d.ts.map +1 -0
  31. package/dist/cursor.generated.js +18 -0
  32. package/dist/custom-block.d.ts +1 -1
  33. package/dist/custom-block.d.ts.map +1 -1
  34. package/dist/custom-block.js +3 -3
  35. package/dist/discord.generated.d.ts +279 -0
  36. package/dist/discord.generated.d.ts.map +1 -0
  37. package/dist/discord.generated.js +33 -0
  38. package/dist/gmail.generated.d.ts +184 -0
  39. package/dist/gmail.generated.d.ts.map +1 -0
  40. package/dist/gmail.generated.js +21 -0
  41. package/dist/googleCalendar.generated.d.ts +83 -0
  42. package/dist/googleCalendar.generated.d.ts.map +1 -0
  43. package/dist/googleCalendar.generated.js +15 -0
  44. package/dist/googleDrive.generated.d.ts +210 -0
  45. package/dist/googleDrive.generated.d.ts.map +1 -0
  46. package/dist/googleDrive.generated.js +27 -0
  47. package/dist/googleDriveOauth.generated.d.ts +851 -0
  48. package/dist/googleDriveOauth.generated.d.ts.map +1 -0
  49. package/dist/googleDriveOauth.generated.js +84 -0
  50. package/dist/index.d.ts +8 -0
  51. package/dist/index.d.ts.map +1 -0
  52. package/dist/index.js +16 -0
  53. package/dist/outlook.generated.d.ts +224 -0
  54. package/dist/outlook.generated.d.ts.map +1 -0
  55. package/dist/outlook.generated.js +24 -0
  56. package/dist/providers.generated.d.ts +117 -0
  57. package/dist/providers.generated.d.ts.map +1 -0
  58. package/dist/providers.generated.js +108 -0
  59. package/dist/salesforce.generated.d.ts +151 -0
  60. package/dist/salesforce.generated.d.ts.map +1 -0
  61. package/dist/salesforce.generated.js +24 -0
  62. package/dist/slack.generated.d.ts +290 -0
  63. package/dist/slack.generated.d.ts.map +1 -0
  64. package/dist/slack.generated.js +30 -0
  65. package/dist/sync.d.ts +2 -2
  66. package/dist/sync.d.ts.map +1 -1
  67. package/dist/sync.js +3 -3
  68. package/dist/triggers.generated.d.ts +107 -32
  69. package/dist/triggers.generated.d.ts.map +1 -1
  70. package/dist/triggers.generated.js +36 -24
  71. package/dist/workflow-connections-types.test.d.ts +2 -0
  72. package/dist/workflow-connections-types.test.d.ts.map +1 -0
  73. package/dist/workflow-types.test.d.ts +2 -0
  74. package/dist/workflow-types.test.d.ts.map +1 -0
  75. package/dist/workflow.d.ts +24 -20
  76. package/dist/workflow.d.ts.map +1 -1
  77. package/dist/workflow.js +16 -19
  78. package/docs/BUILD.md +83 -14
  79. package/docs/CONNECTIONS.md +130 -0
  80. package/package.json +5 -1
  81. package/src/box.generated.ts +187 -0
  82. package/src/calendar.generated.ts +1117 -0
  83. package/src/cli/build.test.ts +35 -4
  84. package/src/cli/build.ts +6 -5
  85. package/src/cli/emit-manifest.ts +1 -5
  86. package/src/confluence.generated.ts +109 -0
  87. package/src/connection-actions.ts +2 -0
  88. package/src/connection-trigger-definitions.generated.ts +48 -0
  89. package/src/connections.test.ts +157 -0
  90. package/src/connections.ts +126 -0
  91. package/src/context.test.ts +26 -0
  92. package/src/context.ts +8 -0
  93. package/src/cursor.generated.ts +167 -0
  94. package/src/custom-block.test.ts +4 -4
  95. package/src/custom-block.ts +2 -2
  96. package/src/discord.generated.ts +318 -0
  97. package/src/gmail.generated.ts +205 -0
  98. package/src/googleCalendar.generated.ts +95 -0
  99. package/src/googleDrive.generated.ts +235 -0
  100. package/src/googleDriveOauth.generated.ts +980 -0
  101. package/src/index.ts +7 -0
  102. package/src/outlook.generated.ts +249 -0
  103. package/src/providers.generated.ts +207 -0
  104. package/src/salesforce.generated.ts +170 -0
  105. package/src/slack.generated.ts +330 -0
  106. package/src/sync.ts +2 -2
  107. package/src/triggers.generated.ts +112 -32
  108. package/src/workflow-connections-types.test.ts +59 -0
  109. package/src/workflow-types.test.ts +144 -0
  110. package/src/workflow.test.ts +135 -25
  111. package/src/workflow.ts +63 -34
@@ -0,0 +1,205 @@
1
+ // Generated by notion tool-core codegen-script-types --connections. Do not edit.
2
+ import type { ConnectionActionInvoker } from "./connection-actions.js"
3
+ /**
4
+ * Script input for the "Load Gmail thread" effect (`gmail.loadThread`),
5
+ * derived from its Tool Core definition's call_function input projection.
6
+ *
7
+ * Load a Gmail thread.
8
+ */
9
+ export type LoadThreadScriptInput = {
10
+ /**
11
+ * Gmail thread ID.
12
+ */
13
+ threadId?: string
14
+ /**
15
+ * Gmail thread URL or gmail:// connector href.
16
+ */
17
+ url?: string
18
+ }
19
+
20
+ /**
21
+ * Canonical Tool Core output for the "Load Gmail thread" effect (`gmail.loadThread`).
22
+ * This is the definition's output schema; the effect's script surface may
23
+ * re-encode it before returning.
24
+ */
25
+ export type LoadThreadScriptOutput = {
26
+ type: "gmail"
27
+ threadId: string
28
+ subject: string
29
+ messages: Array<{
30
+ messageId: string
31
+ user: {
32
+ name: string
33
+ notionUserId?: string
34
+ notionUserName?: string
35
+ }
36
+ text: string
37
+ subject?: string
38
+ timestamp: number
39
+ attachments?: Array<{
40
+ attachmentId?: string
41
+ filename: string
42
+ mimeType: string
43
+ sizeBytes: number
44
+ inline: boolean
45
+ }>
46
+ }>
47
+ timestamp: number
48
+ }
49
+
50
+ /**
51
+ * Script input for the "Query Gmail" effect (`gmail.query`),
52
+ * derived from its Tool Core definition's call_function input projection.
53
+ *
54
+ * Query Gmail threads with structured parameters.
55
+ */
56
+ export type QueryScriptInput = {
57
+ /**
58
+ * Gmail search query string (from:, to:, subject:, after:, before:, has:attachment, is:unread, etc.).
59
+ */
60
+ q?: string
61
+ /**
62
+ * Maximum number of threads to return (default: 20, max: 100).
63
+ */
64
+ maxResults?: number
65
+ }
66
+
67
+ /**
68
+ * Canonical Tool Core output for the "Query Gmail" effect (`gmail.query`).
69
+ * This is the definition's output schema; the effect's script surface may
70
+ * re-encode it before returning.
71
+ */
72
+ export type QueryScriptOutput = {
73
+ threads: Array<{
74
+ type: "gmail"
75
+ threadId: string
76
+ subject: string
77
+ messages: Array<{
78
+ messageId: string
79
+ user: {
80
+ name: string
81
+ notionUserId?: string
82
+ notionUserName?: string
83
+ }
84
+ text: string
85
+ subject?: string
86
+ timestamp: number
87
+ attachments?: Array<{
88
+ attachmentId?: string
89
+ filename: string
90
+ mimeType: string
91
+ sizeBytes: number
92
+ inline: boolean
93
+ }>
94
+ }>
95
+ timestamp: number
96
+ }>
97
+ }
98
+
99
+ /**
100
+ * Script input for the "Read Gmail attachment" effect (`gmail.readAttachment`),
101
+ * derived from its Tool Core definition's call_function input projection.
102
+ *
103
+ * Read a Gmail attachment.
104
+ */
105
+ export type ReadAttachmentScriptInput = {
106
+ /**
107
+ * Gmail message ID from loadThread.
108
+ */
109
+ messageId: string
110
+ /**
111
+ * Optional attachment filename from loadThread. Useful as a fallback when an attachmentId is unavailable.
112
+ */
113
+ filename?: string
114
+ /**
115
+ * Optional Gmail attachment ID from loadThread. Use it when present to target a specific attachment.
116
+ */
117
+ attachmentId?: string
118
+ }
119
+
120
+ /**
121
+ * Canonical Tool Core output for the "Read Gmail attachment" effect (`gmail.readAttachment`).
122
+ * This is the definition's output schema; the effect's script surface may
123
+ * re-encode it before returning.
124
+ */
125
+ export type ReadAttachmentScriptOutput = {
126
+ type: "gmail"
127
+ items: Array<
128
+ | {
129
+ attachmentId?: string
130
+ filename: string
131
+ mimeType: string
132
+ sizeBytes: number
133
+ inline: boolean
134
+ contentType: "attachment"
135
+ message: string
136
+ }
137
+ | {
138
+ attachmentId?: string
139
+ filename: string
140
+ mimeType: string
141
+ sizeBytes: number
142
+ inline: boolean
143
+ contentType: "text"
144
+ text: string
145
+ }
146
+ | {
147
+ attachmentId?: string
148
+ filename: string
149
+ mimeType: string
150
+ sizeBytes: number
151
+ inline: boolean
152
+ contentType: "unsupported"
153
+ message: string
154
+ }
155
+ >
156
+ }
157
+
158
+ /**
159
+ * Script input for the "Search Gmail" effect (`gmail.search`),
160
+ * derived from its Tool Core definition's call_function input projection.
161
+ *
162
+ * Search Gmail via the configured connector.
163
+ */
164
+ export type SearchScriptInput = {
165
+ /**
166
+ * Search query for Gmail.
167
+ */
168
+ query: string
169
+ }
170
+
171
+ /**
172
+ * Canonical Tool Core output for the "Search Gmail" effect (`gmail.search`).
173
+ * This is the definition's output schema; the effect's script surface may
174
+ * re-encode it before returning.
175
+ */
176
+ export type SearchScriptOutput = {
177
+ results: Array<{
178
+ id: string
179
+ title: string
180
+ path: string
181
+ text: string
182
+ lastEdited: string
183
+ isPrivate: boolean
184
+ pageId: string
185
+ emailAddress: string
186
+ }>
187
+ }
188
+
189
+ export class GmailConnectionClient {
190
+ constructor(private readonly invoke: ConnectionActionInvoker) {}
191
+ loadThread(args: LoadThreadScriptInput): Promise<LoadThreadScriptOutput> {
192
+ return this.invoke<LoadThreadScriptOutput>("loadThread", args)
193
+ }
194
+ query(args: QueryScriptInput): Promise<QueryScriptOutput> {
195
+ return this.invoke<QueryScriptOutput>("query", args)
196
+ }
197
+ readAttachment(
198
+ args: ReadAttachmentScriptInput,
199
+ ): Promise<ReadAttachmentScriptOutput> {
200
+ return this.invoke<ReadAttachmentScriptOutput>("readAttachment", args)
201
+ }
202
+ search(args: SearchScriptInput): Promise<SearchScriptOutput> {
203
+ return this.invoke<SearchScriptOutput>("search", args)
204
+ }
205
+ }
@@ -0,0 +1,95 @@
1
+ // Generated by notion tool-core codegen-script-types --connections. Do not edit.
2
+ import type { ConnectionActionInvoker } from "./connection-actions.js"
3
+ /**
4
+ * Script input for the "Query Google Calendar connector" effect (`googleCalendar.query`),
5
+ * derived from its Tool Core definition's call_function input projection.
6
+ *
7
+ * Query Google Calendar events.
8
+ */
9
+ export type QueryScriptInput = {
10
+ /**
11
+ * Search query to filter events by text (title, description, location, attendees).
12
+ */
13
+ q?: string
14
+ /**
15
+ * Lower bound (inclusive) for event start time in ISO 8601 format.
16
+ */
17
+ timeMin?: string
18
+ /**
19
+ * Upper bound (exclusive) for event start time in ISO 8601 format.
20
+ */
21
+ timeMax?: string
22
+ /**
23
+ * Maximum number of events to return (default: 50, max: 250).
24
+ */
25
+ maxResults?: number
26
+ }
27
+
28
+ /**
29
+ * Canonical Tool Core output for the "Query Google Calendar connector" effect (`googleCalendar.query`).
30
+ * This is the definition's output schema; the effect's script surface may
31
+ * re-encode it before returning.
32
+ */
33
+ export type QueryScriptOutput = {
34
+ events: Array<{
35
+ id: string
36
+ title: string
37
+ text: string
38
+ start?: string
39
+ end?: string
40
+ location?: string
41
+ url?: string
42
+ isRecurring: boolean
43
+ attendees?: Array<{
44
+ name?: string
45
+ email?: string
46
+ responseStatus?:
47
+ | "accepted"
48
+ | "declined"
49
+ | "tentative"
50
+ | "noResponse"
51
+ | "unknown"
52
+ }>
53
+ }>
54
+ }
55
+
56
+ /**
57
+ * Script input for the "Search Google Calendar connector" effect (`googleCalendar.search`),
58
+ * derived from its Tool Core definition's call_function input projection.
59
+ *
60
+ * Search Google Calendar via the configured connector.
61
+ */
62
+ export type SearchScriptInput = {
63
+ /**
64
+ * Search query for Google Calendar.
65
+ */
66
+ query: string
67
+ }
68
+
69
+ /**
70
+ * Canonical Tool Core output for the "Search Google Calendar connector" effect (`googleCalendar.search`).
71
+ * This is the definition's output schema; the effect's script surface may
72
+ * re-encode it before returning.
73
+ */
74
+ export type SearchScriptOutput = {
75
+ results: Array<{
76
+ id: string
77
+ title: string
78
+ path: string
79
+ text: string
80
+ lastEdited: string
81
+ pageId: string
82
+ emailAddress: string
83
+ isPrivate: boolean
84
+ }>
85
+ }
86
+
87
+ export class GoogleCalendarConnectionClient {
88
+ constructor(private readonly invoke: ConnectionActionInvoker) {}
89
+ query(args: QueryScriptInput): Promise<QueryScriptOutput> {
90
+ return this.invoke<QueryScriptOutput>("query", args)
91
+ }
92
+ search(args: SearchScriptInput): Promise<SearchScriptOutput> {
93
+ return this.invoke<SearchScriptOutput>("search", args)
94
+ }
95
+ }
@@ -0,0 +1,235 @@
1
+ // Generated by notion tool-core codegen-script-types --connections. Do not edit.
2
+ import type { ConnectionActionInvoker } from "./connection-actions.js"
3
+ /**
4
+ * Script input for the "Get Google Drive file comments" effect (`googleDrive.getFileComments`),
5
+ * derived from its Tool Core definition's call_function input projection.
6
+ *
7
+ * Load comments from a Google Drive file.
8
+ */
9
+ export type GetFileCommentsScriptInput = {
10
+ /**
11
+ * Google Drive file ID.
12
+ */
13
+ fileId: string
14
+ /**
15
+ * Optional shared drive IDs that may contain the file being loaded.
16
+ */
17
+ sharedDriveIds?: Array<string>
18
+ }
19
+
20
+ /**
21
+ * Canonical Tool Core output for the "Get Google Drive file comments" effect (`googleDrive.getFileComments`).
22
+ * This is the definition's output schema; the effect's script surface may
23
+ * re-encode it before returning.
24
+ */
25
+ export type GetFileCommentsScriptOutput = Array<{
26
+ author: string
27
+ bodyText: string
28
+ lastEdited: string
29
+ }>
30
+
31
+ /**
32
+ * Script input for the "Grep Google Drive files" effect (`googleDrive.grepFiles`),
33
+ * derived from its Tool Core definition's call_function input projection.
34
+ *
35
+ * Search for files in Google Drive.
36
+ */
37
+ export type GrepFilesScriptInput = {
38
+ /**
39
+ * Search query for Google Drive title and content.
40
+ */
41
+ query: string
42
+ /**
43
+ * Maximum number of results to return.
44
+ */
45
+ maxResults?: number
46
+ /**
47
+ * Optional shared drive IDs to scope the search to specific shared drives.
48
+ */
49
+ sharedDriveIds?: Array<string>
50
+ }
51
+
52
+ /**
53
+ * Canonical Tool Core output for the "Grep Google Drive files" effect (`googleDrive.grepFiles`).
54
+ * This is the definition's output schema; the effect's script surface may
55
+ * re-encode it before returning.
56
+ */
57
+ export type GrepFilesScriptOutput = Array<{
58
+ type: "googleDrive"
59
+ blocks: Array<string>
60
+ title: string
61
+ fileId: string
62
+ fileType: string
63
+ timestamp: number
64
+ comments?: Array<{
65
+ author: string
66
+ bodyText: string
67
+ lastEdited: string
68
+ }>
69
+ }>
70
+
71
+ /**
72
+ * Script input for the "Load a Google Drive file" effect (`googleDrive.loadFile`),
73
+ * derived from its Tool Core definition's call_function input projection.
74
+ *
75
+ * Load a Google Drive file.
76
+ */
77
+ export type LoadFileScriptInput = {
78
+ /**
79
+ * Google Drive file ID.
80
+ */
81
+ fileId: string
82
+ /**
83
+ * Optional shared drive IDs that may contain the file being loaded.
84
+ */
85
+ sharedDriveIds?: Array<string>
86
+ /**
87
+ * Whether to include comments in the file. Defaults to false unless user requests it.
88
+ */
89
+ includeComments?: boolean
90
+ }
91
+
92
+ /**
93
+ * Canonical Tool Core output for the "Load a Google Drive file" effect (`googleDrive.loadFile`).
94
+ * This is the definition's output schema; the effect's script surface may
95
+ * re-encode it before returning.
96
+ */
97
+ export type LoadFileScriptOutput = {
98
+ title: string
99
+ fileId: string
100
+ fileType: string
101
+ timestamp: number
102
+ }
103
+
104
+ /**
105
+ * Script input for the "Load a Google Drive ZIP file" effect (`googleDrive.loadZipFile`),
106
+ * derived from its Tool Core definition's call_function input projection.
107
+ *
108
+ * Load the top-level files and folders in a zip file on Google Drive, including readable text content when available.
109
+ */
110
+ export type LoadZipFileScriptInput = {
111
+ /**
112
+ * Google Drive file ID for the zip file.
113
+ */
114
+ fileId: string
115
+ /**
116
+ * Optional shared drive IDs to scope listing to specific shared drives.
117
+ */
118
+ sharedDriveIds?: Array<string>
119
+ }
120
+
121
+ /**
122
+ * Canonical Tool Core output for the "Load a Google Drive ZIP file" effect (`googleDrive.loadZipFile`).
123
+ * This is the definition's output schema; the effect's script surface may
124
+ * re-encode it before returning.
125
+ */
126
+ export type LoadZipFileScriptOutput = Array<{
127
+ blocks: Array<string>
128
+ title: string
129
+ path: string
130
+ fileType: string
131
+ timestamp: number
132
+ }>
133
+
134
+ /**
135
+ * Script input for the "List a Google Drive folder" effect (`googleDrive.lsFolder`),
136
+ * derived from its Tool Core definition's call_function input projection.
137
+ *
138
+ * List files in a Google Drive folder.
139
+ */
140
+ export type LsFolderScriptInput = {
141
+ /**
142
+ * Google Drive folder ID.
143
+ */
144
+ folderId: string
145
+ /**
146
+ * Optional shared drive IDs to scope listing to specific shared drives.
147
+ */
148
+ sharedDriveIds?: Array<string>
149
+ }
150
+
151
+ /**
152
+ * Canonical Tool Core output for the "List a Google Drive folder" effect (`googleDrive.lsFolder`).
153
+ * This is the definition's output schema; the effect's script surface may
154
+ * re-encode it before returning.
155
+ */
156
+ export type LsFolderScriptOutput = Array<{
157
+ type: "googleDrive"
158
+ blocks: Array<string>
159
+ title: string
160
+ fileId: string
161
+ fileType: string
162
+ timestamp: number
163
+ comments?: Array<{
164
+ author: string
165
+ bodyText: string
166
+ lastEdited: string
167
+ }>
168
+ }>
169
+
170
+ /**
171
+ * Script input for the "Search Google Drive" effect (`googleDrive.search`),
172
+ * derived from its Tool Core definition's call_function input projection.
173
+ *
174
+ * Search Google Drive via the configured connector.
175
+ */
176
+ export type SearchScriptInput = {
177
+ /**
178
+ * A single, focused question to search for.
179
+ */
180
+ question: string
181
+ /**
182
+ * Brief keywords capturing the core entities.
183
+ */
184
+ keywords?: string
185
+ /**
186
+ * Optional time window. Use only "default", "all_time", a duration matching /^\d+[dwmy]$/ (for example, "7d", "2w", "3m", or "1y"), or a date in "YYYY-MM-DD" format. Do not use natural-language durations or combine units.
187
+ */
188
+ lookback?: string
189
+ /**
190
+ * Optional shared drive IDs to scope search to specific shared drives.
191
+ */
192
+ sharedDriveIds?: Array<string>
193
+ }
194
+
195
+ /**
196
+ * Canonical Tool Core output for the "Search Google Drive" effect (`googleDrive.search`).
197
+ * This is the definition's output schema; the effect's script surface may
198
+ * re-encode it before returning.
199
+ */
200
+ export type SearchScriptOutput = {
201
+ results: Array<{
202
+ id: string
203
+ title: string
204
+ path: string
205
+ text: string
206
+ lastEdited: string
207
+ isPrivate: boolean
208
+ pageId: string
209
+ fileType: string
210
+ }>
211
+ }
212
+
213
+ export class GoogleDriveConnectionClient {
214
+ constructor(private readonly invoke: ConnectionActionInvoker) {}
215
+ getFileComments(
216
+ args: GetFileCommentsScriptInput,
217
+ ): Promise<GetFileCommentsScriptOutput> {
218
+ return this.invoke<GetFileCommentsScriptOutput>("getFileComments", args)
219
+ }
220
+ grepFiles(args: GrepFilesScriptInput): Promise<GrepFilesScriptOutput> {
221
+ return this.invoke<GrepFilesScriptOutput>("grepFiles", args)
222
+ }
223
+ loadFile(args: LoadFileScriptInput): Promise<LoadFileScriptOutput> {
224
+ return this.invoke<LoadFileScriptOutput>("loadFile", args)
225
+ }
226
+ loadZipFile(args: LoadZipFileScriptInput): Promise<LoadZipFileScriptOutput> {
227
+ return this.invoke<LoadZipFileScriptOutput>("loadZipFile", args)
228
+ }
229
+ lsFolder(args: LsFolderScriptInput): Promise<LsFolderScriptOutput> {
230
+ return this.invoke<LsFolderScriptOutput>("lsFolder", args)
231
+ }
232
+ search(args: SearchScriptInput): Promise<SearchScriptOutput> {
233
+ return this.invoke<SearchScriptOutput>("search", args)
234
+ }
235
+ }