@superclerk/sdk 0.1.1 → 0.3.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/CHANGELOG.md +38 -0
- package/api.md +32 -4
- package/core/client.js +11 -0
- package/generated/client.d.ts +3 -1
- package/generated/client.js +3 -1
- package/generated/resources.d.ts +136 -18
- package/generated/resources.js +205 -20
- package/generated/tools.d.ts +4147 -214
- package/generated/types.d.ts +1110 -52
- package/generated/version.d.ts +1 -1
- package/generated/version.js +1 -1
- package/generated/webhooks.d.ts +2 -2
- package/lib/chats.d.ts +79 -0
- package/lib/chats.js +122 -0
- package/package.json +2 -2
package/generated/tools.d.ts
CHANGED
|
@@ -1,5 +1,571 @@
|
|
|
1
1
|
/** Every tool's input and output, by tool ID, as the public catalog describes them. */
|
|
2
2
|
export interface Tools {
|
|
3
|
+
/** Block a chosen calendar for a time range so clients cannot book it. */
|
|
4
|
+
acuity_block_time: {
|
|
5
|
+
input: {
|
|
6
|
+
calendarID: number;
|
|
7
|
+
start: string;
|
|
8
|
+
end: string;
|
|
9
|
+
notes?: string;
|
|
10
|
+
};
|
|
11
|
+
output: {
|
|
12
|
+
id: number;
|
|
13
|
+
notes: string;
|
|
14
|
+
description: string;
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
/** Book an appointment on the chosen calendar. Explicitly choose whether to bypass client rules and send notices. */
|
|
19
|
+
acuity_book_appointment: {
|
|
20
|
+
input: {
|
|
21
|
+
datetime: string;
|
|
22
|
+
appointmentTypeID: number;
|
|
23
|
+
calendarID: number;
|
|
24
|
+
firstName: string;
|
|
25
|
+
lastName: string;
|
|
26
|
+
/** Required unless booking as an admin. */
|
|
27
|
+
email?: string;
|
|
28
|
+
phone?: string;
|
|
29
|
+
timezone?: string;
|
|
30
|
+
certificate?: string;
|
|
31
|
+
fields?: Array<{
|
|
32
|
+
id: number;
|
|
33
|
+
value: string;
|
|
34
|
+
}>;
|
|
35
|
+
notes?: string;
|
|
36
|
+
addonIDs?: Array<number>;
|
|
37
|
+
labels?: Array<{
|
|
38
|
+
id: number;
|
|
39
|
+
}>;
|
|
40
|
+
/** True only if the client explicitly agreed to SMS reminders. */
|
|
41
|
+
smsOptIn?: boolean;
|
|
42
|
+
/** Bypass Acuity's client rules and validations. Choose explicitly. */
|
|
43
|
+
admin: boolean;
|
|
44
|
+
/** Suppress the confirmation email and SMS. Choose explicitly. */
|
|
45
|
+
noEmail: boolean;
|
|
46
|
+
};
|
|
47
|
+
output: {
|
|
48
|
+
id: number;
|
|
49
|
+
firstName: string;
|
|
50
|
+
lastName: string;
|
|
51
|
+
email: string;
|
|
52
|
+
phone: string;
|
|
53
|
+
datetime: string;
|
|
54
|
+
appointmentTypeID: number;
|
|
55
|
+
type: string;
|
|
56
|
+
calendarID: number;
|
|
57
|
+
calendar: string;
|
|
58
|
+
duration: string;
|
|
59
|
+
price: string;
|
|
60
|
+
paid: string;
|
|
61
|
+
location: string;
|
|
62
|
+
notes: string;
|
|
63
|
+
timezone: string;
|
|
64
|
+
[key: string]: unknown;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
/** Permanently cancel an appointment. Acuity cannot undo a cancellation. Explicitly choose notices and admin rules. */
|
|
68
|
+
acuity_cancel_appointment: {
|
|
69
|
+
input: {
|
|
70
|
+
appointmentID: number;
|
|
71
|
+
cancelNote?: string;
|
|
72
|
+
/** Only an admin may mark a cancellation as a no-show. */
|
|
73
|
+
noShow?: boolean;
|
|
74
|
+
/** Bypass Acuity's client rules and validations. Choose explicitly. */
|
|
75
|
+
admin: boolean;
|
|
76
|
+
/** Suppress the confirmation email and SMS. Choose explicitly. */
|
|
77
|
+
noEmail: boolean;
|
|
78
|
+
};
|
|
79
|
+
output: {
|
|
80
|
+
id: number;
|
|
81
|
+
firstName: string;
|
|
82
|
+
lastName: string;
|
|
83
|
+
email: string;
|
|
84
|
+
phone: string;
|
|
85
|
+
datetime: string;
|
|
86
|
+
appointmentTypeID: number;
|
|
87
|
+
type: string;
|
|
88
|
+
calendarID: number;
|
|
89
|
+
calendar: string;
|
|
90
|
+
duration: string;
|
|
91
|
+
price: string;
|
|
92
|
+
paid: string;
|
|
93
|
+
location: string;
|
|
94
|
+
notes: string;
|
|
95
|
+
timezone: string;
|
|
96
|
+
[key: string]: unknown;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
/** Add a client to Acuity's client list. */
|
|
100
|
+
acuity_create_client: {
|
|
101
|
+
input: {
|
|
102
|
+
firstName: string;
|
|
103
|
+
lastName: string;
|
|
104
|
+
phone?: string;
|
|
105
|
+
email?: string | "";
|
|
106
|
+
notes?: string;
|
|
107
|
+
};
|
|
108
|
+
output: {
|
|
109
|
+
firstName: string;
|
|
110
|
+
lastName: string;
|
|
111
|
+
phone: string;
|
|
112
|
+
notes: string;
|
|
113
|
+
email?: string;
|
|
114
|
+
[key: string]: unknown;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
/** Remove a blocked time record and reopen that time for bookings. */
|
|
118
|
+
acuity_delete_block: {
|
|
119
|
+
input: {
|
|
120
|
+
blockID: number;
|
|
121
|
+
};
|
|
122
|
+
output: {
|
|
123
|
+
deleted: true;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
/** Delete a client identified by their exact name and optional phone. Acuity clients have no ID. */
|
|
127
|
+
acuity_delete_client: {
|
|
128
|
+
input: {
|
|
129
|
+
firstName: string;
|
|
130
|
+
lastName: string;
|
|
131
|
+
phone?: string;
|
|
132
|
+
};
|
|
133
|
+
output: {
|
|
134
|
+
deleted: true;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
/** Read an appointment's current details, forms and client scheduling permissions by its ID. */
|
|
138
|
+
acuity_get_appointment: {
|
|
139
|
+
input: {
|
|
140
|
+
appointmentID: number;
|
|
141
|
+
pastFormAnswers?: boolean;
|
|
142
|
+
};
|
|
143
|
+
output: {
|
|
144
|
+
id: number;
|
|
145
|
+
firstName: string;
|
|
146
|
+
lastName: string;
|
|
147
|
+
email: string;
|
|
148
|
+
phone: string;
|
|
149
|
+
datetime: string;
|
|
150
|
+
appointmentTypeID: number;
|
|
151
|
+
type: string;
|
|
152
|
+
calendarID: number;
|
|
153
|
+
calendar: string;
|
|
154
|
+
duration: string;
|
|
155
|
+
price: string;
|
|
156
|
+
paid: string;
|
|
157
|
+
location: string;
|
|
158
|
+
notes: string;
|
|
159
|
+
timezone: string;
|
|
160
|
+
[key: string]: unknown;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
/** Read appointment types, prices, durations and the calendars offering them. */
|
|
164
|
+
acuity_list_appointment_types: {
|
|
165
|
+
input: {
|
|
166
|
+
includeDeleted?: boolean;
|
|
167
|
+
};
|
|
168
|
+
output: Array<{
|
|
169
|
+
id: number;
|
|
170
|
+
name: string;
|
|
171
|
+
[key: string]: unknown;
|
|
172
|
+
}>;
|
|
173
|
+
};
|
|
174
|
+
/** Find appointments by client, calendar, type or date. Canceled appointments are a separate list. */
|
|
175
|
+
acuity_list_appointments: {
|
|
176
|
+
input: {
|
|
177
|
+
max?: number;
|
|
178
|
+
minDate?: string;
|
|
179
|
+
maxDate?: string;
|
|
180
|
+
calendarID?: number;
|
|
181
|
+
appointmentTypeID?: number;
|
|
182
|
+
canceled?: boolean;
|
|
183
|
+
firstName?: string;
|
|
184
|
+
lastName?: string;
|
|
185
|
+
email?: string;
|
|
186
|
+
phone?: string;
|
|
187
|
+
excludeForms?: boolean;
|
|
188
|
+
direction?: "ASC" | "DESC";
|
|
189
|
+
};
|
|
190
|
+
output: Array<{
|
|
191
|
+
id: number;
|
|
192
|
+
firstName: string;
|
|
193
|
+
lastName: string;
|
|
194
|
+
email: string;
|
|
195
|
+
phone: string;
|
|
196
|
+
datetime: string;
|
|
197
|
+
appointmentTypeID: number;
|
|
198
|
+
type: string;
|
|
199
|
+
calendarID: number;
|
|
200
|
+
calendar: string;
|
|
201
|
+
duration: string;
|
|
202
|
+
price: string;
|
|
203
|
+
paid: string;
|
|
204
|
+
location: string;
|
|
205
|
+
notes: string;
|
|
206
|
+
timezone: string;
|
|
207
|
+
[key: string]: unknown;
|
|
208
|
+
}>;
|
|
209
|
+
};
|
|
210
|
+
/** Find dates with openings for an appointment type in a month, optionally on one calendar. */
|
|
211
|
+
acuity_list_availability_dates: {
|
|
212
|
+
input: {
|
|
213
|
+
month: string;
|
|
214
|
+
appointmentTypeID: number;
|
|
215
|
+
calendarID?: number;
|
|
216
|
+
timezone?: string;
|
|
217
|
+
addonIDs?: Array<number>;
|
|
218
|
+
};
|
|
219
|
+
output: Array<{
|
|
220
|
+
date: string;
|
|
221
|
+
}>;
|
|
222
|
+
};
|
|
223
|
+
/** Find openings on a date. For rescheduling, name the appointment to ignore its current occupied time. */
|
|
224
|
+
acuity_list_availability_times: {
|
|
225
|
+
input: {
|
|
226
|
+
date: string;
|
|
227
|
+
appointmentTypeID: number;
|
|
228
|
+
calendarID?: number;
|
|
229
|
+
timezone?: string;
|
|
230
|
+
addonIDs?: Array<number>;
|
|
231
|
+
ignoreAppointmentIDs?: Array<number>;
|
|
232
|
+
};
|
|
233
|
+
output: Array<{
|
|
234
|
+
time: string;
|
|
235
|
+
}>;
|
|
236
|
+
};
|
|
237
|
+
/** Read blocked time on calendars within a date range. */
|
|
238
|
+
acuity_list_blocks: {
|
|
239
|
+
input: {
|
|
240
|
+
max?: number;
|
|
241
|
+
minDate?: string;
|
|
242
|
+
maxDate?: string;
|
|
243
|
+
calendarID?: number;
|
|
244
|
+
};
|
|
245
|
+
output: Array<{
|
|
246
|
+
id: number;
|
|
247
|
+
calendarID: number;
|
|
248
|
+
start: string;
|
|
249
|
+
end: string;
|
|
250
|
+
until: string | null;
|
|
251
|
+
recurring: string | null;
|
|
252
|
+
notes: string;
|
|
253
|
+
description: string;
|
|
254
|
+
[key: string]: unknown;
|
|
255
|
+
}>;
|
|
256
|
+
};
|
|
257
|
+
/** Read calendars, locations and timezones before choosing where to book or block time. */
|
|
258
|
+
acuity_list_calendars: {
|
|
259
|
+
input: {
|
|
260
|
+
[key: string]: never;
|
|
261
|
+
};
|
|
262
|
+
output: Array<{
|
|
263
|
+
id: number;
|
|
264
|
+
name: string;
|
|
265
|
+
[key: string]: unknown;
|
|
266
|
+
}>;
|
|
267
|
+
};
|
|
268
|
+
/** Find clients by first name, last name or phone. Acuity clients have names and phone numbers, not IDs. */
|
|
269
|
+
acuity_list_clients: {
|
|
270
|
+
input: {
|
|
271
|
+
search?: string;
|
|
272
|
+
};
|
|
273
|
+
output: Array<{
|
|
274
|
+
firstName: string;
|
|
275
|
+
lastName: string;
|
|
276
|
+
phone: string;
|
|
277
|
+
notes: string;
|
|
278
|
+
email?: string;
|
|
279
|
+
[key: string]: unknown;
|
|
280
|
+
}>;
|
|
281
|
+
};
|
|
282
|
+
/** Move an appointment to a new time or calendar. Explicitly choose admin rules and notifications. */
|
|
283
|
+
acuity_reschedule_appointment: {
|
|
284
|
+
input: {
|
|
285
|
+
appointmentID: number;
|
|
286
|
+
datetime: string;
|
|
287
|
+
/** Omit to keep its calendar; null explicitly lets Acuity choose an opening. */
|
|
288
|
+
calendarID?: number | null;
|
|
289
|
+
timezone?: string;
|
|
290
|
+
/** Bypass Acuity's client rules and validations. Choose explicitly. */
|
|
291
|
+
admin: boolean;
|
|
292
|
+
/** Suppress the confirmation email and SMS. Choose explicitly. */
|
|
293
|
+
noEmail: boolean;
|
|
294
|
+
};
|
|
295
|
+
output: {
|
|
296
|
+
id: number;
|
|
297
|
+
firstName: string;
|
|
298
|
+
lastName: string;
|
|
299
|
+
email: string;
|
|
300
|
+
phone: string;
|
|
301
|
+
datetime: string;
|
|
302
|
+
appointmentTypeID: number;
|
|
303
|
+
type: string;
|
|
304
|
+
calendarID: number;
|
|
305
|
+
calendar: string;
|
|
306
|
+
duration: string;
|
|
307
|
+
price: string;
|
|
308
|
+
paid: string;
|
|
309
|
+
location: string;
|
|
310
|
+
notes: string;
|
|
311
|
+
timezone: string;
|
|
312
|
+
[key: string]: unknown;
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
/** Edit client details, form answers, labels or admin notes. Use the separate tools to reschedule or cancel. */
|
|
316
|
+
acuity_update_appointment: {
|
|
317
|
+
input: {
|
|
318
|
+
appointmentID: number;
|
|
319
|
+
/** Bypass Acuity's client rules and validations. Choose explicitly. */
|
|
320
|
+
admin: boolean;
|
|
321
|
+
firstName?: string;
|
|
322
|
+
lastName?: string;
|
|
323
|
+
email?: string | "";
|
|
324
|
+
phone?: string;
|
|
325
|
+
certificate?: string;
|
|
326
|
+
fields?: Array<{
|
|
327
|
+
id: number;
|
|
328
|
+
value: string;
|
|
329
|
+
}>;
|
|
330
|
+
notes?: string;
|
|
331
|
+
labels?: Array<{
|
|
332
|
+
id: number;
|
|
333
|
+
}>;
|
|
334
|
+
smsOptIn?: boolean;
|
|
335
|
+
};
|
|
336
|
+
output: {
|
|
337
|
+
id: number;
|
|
338
|
+
firstName: string;
|
|
339
|
+
lastName: string;
|
|
340
|
+
email: string;
|
|
341
|
+
phone: string;
|
|
342
|
+
datetime: string;
|
|
343
|
+
appointmentTypeID: number;
|
|
344
|
+
type: string;
|
|
345
|
+
calendarID: number;
|
|
346
|
+
calendar: string;
|
|
347
|
+
duration: string;
|
|
348
|
+
price: string;
|
|
349
|
+
paid: string;
|
|
350
|
+
location: string;
|
|
351
|
+
notes: string;
|
|
352
|
+
timezone: string;
|
|
353
|
+
[key: string]: unknown;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
/** Update a client identified by their current name and optional phone. Acuity clients have no ID. */
|
|
357
|
+
acuity_update_client: {
|
|
358
|
+
input: {
|
|
359
|
+
currentFirstName: string;
|
|
360
|
+
currentLastName: string;
|
|
361
|
+
currentPhone?: string;
|
|
362
|
+
firstName: string;
|
|
363
|
+
lastName: string;
|
|
364
|
+
phone?: string;
|
|
365
|
+
email?: string | "";
|
|
366
|
+
notes?: string;
|
|
367
|
+
};
|
|
368
|
+
output: {
|
|
369
|
+
firstName: string;
|
|
370
|
+
lastName: string;
|
|
371
|
+
phone: string;
|
|
372
|
+
notes: string;
|
|
373
|
+
email?: string;
|
|
374
|
+
[key: string]: unknown;
|
|
375
|
+
};
|
|
376
|
+
};
|
|
377
|
+
/** Create up to 10 records in one Airtable table with explicit field values and typecasting choice. */
|
|
378
|
+
airtable_create_records: {
|
|
379
|
+
input: {
|
|
380
|
+
baseId: string;
|
|
381
|
+
tableId: string;
|
|
382
|
+
records: Array<{
|
|
383
|
+
fields: {
|
|
384
|
+
[key: string]: unknown;
|
|
385
|
+
};
|
|
386
|
+
}>;
|
|
387
|
+
/** Explicitly allow Airtable to convert strings to field types and create select options. */
|
|
388
|
+
typecast: boolean;
|
|
389
|
+
};
|
|
390
|
+
output: {
|
|
391
|
+
records: Array<{
|
|
392
|
+
id: string;
|
|
393
|
+
createdTime: string;
|
|
394
|
+
fields: {
|
|
395
|
+
[key: string]: unknown;
|
|
396
|
+
};
|
|
397
|
+
[key: string]: unknown;
|
|
398
|
+
}>;
|
|
399
|
+
details?: {
|
|
400
|
+
message: string;
|
|
401
|
+
reasons: Array<string>;
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
};
|
|
405
|
+
/** Delete up to 10 Airtable records by ID. Always asks for approval. */
|
|
406
|
+
airtable_delete_records: {
|
|
407
|
+
input: {
|
|
408
|
+
baseId: string;
|
|
409
|
+
tableId: string;
|
|
410
|
+
recordIds: Array<string>;
|
|
411
|
+
};
|
|
412
|
+
output: {
|
|
413
|
+
records: Array<{
|
|
414
|
+
id: string;
|
|
415
|
+
deleted: true;
|
|
416
|
+
}>;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
/** Find records with an Airtable formula, or list records when no formula is supplied. */
|
|
420
|
+
airtable_find_records: {
|
|
421
|
+
input: {
|
|
422
|
+
baseId: string;
|
|
423
|
+
tableId: string;
|
|
424
|
+
/** Airtable formula. Omit it to list all records. Fields may use names or IDs. */
|
|
425
|
+
filterByFormula?: string;
|
|
426
|
+
view?: string;
|
|
427
|
+
fields?: Array<string>;
|
|
428
|
+
sort?: Array<{
|
|
429
|
+
field: string;
|
|
430
|
+
direction: "asc" | "desc";
|
|
431
|
+
}>;
|
|
432
|
+
pageSize?: number;
|
|
433
|
+
offset?: string;
|
|
434
|
+
};
|
|
435
|
+
output: {
|
|
436
|
+
records: Array<{
|
|
437
|
+
id: string;
|
|
438
|
+
createdTime: string;
|
|
439
|
+
fields: {
|
|
440
|
+
[key: string]: unknown;
|
|
441
|
+
};
|
|
442
|
+
[key: string]: unknown;
|
|
443
|
+
}>;
|
|
444
|
+
offset?: string;
|
|
445
|
+
[key: string]: unknown;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
/** Read a base's tables, fields, field types and views before finding or changing records. */
|
|
449
|
+
airtable_get_base_schema: {
|
|
450
|
+
input: {
|
|
451
|
+
baseId: string;
|
|
452
|
+
};
|
|
453
|
+
output: {
|
|
454
|
+
tables: Array<{
|
|
455
|
+
id: string;
|
|
456
|
+
name: string;
|
|
457
|
+
fields: Array<{
|
|
458
|
+
id: string;
|
|
459
|
+
name: string;
|
|
460
|
+
type: string;
|
|
461
|
+
options?: {
|
|
462
|
+
[key: string]: unknown;
|
|
463
|
+
};
|
|
464
|
+
[key: string]: unknown;
|
|
465
|
+
}>;
|
|
466
|
+
views: Array<{
|
|
467
|
+
id: string;
|
|
468
|
+
name: string;
|
|
469
|
+
type: string;
|
|
470
|
+
[key: string]: unknown;
|
|
471
|
+
}>;
|
|
472
|
+
[key: string]: unknown;
|
|
473
|
+
}>;
|
|
474
|
+
};
|
|
475
|
+
};
|
|
476
|
+
/** Read one Airtable record by ID. A missing field key means the cell is empty. */
|
|
477
|
+
airtable_get_record: {
|
|
478
|
+
input: {
|
|
479
|
+
baseId: string;
|
|
480
|
+
tableId: string;
|
|
481
|
+
recordId: string;
|
|
482
|
+
};
|
|
483
|
+
output: {
|
|
484
|
+
id: string;
|
|
485
|
+
createdTime: string;
|
|
486
|
+
fields: {
|
|
487
|
+
[key: string]: unknown;
|
|
488
|
+
};
|
|
489
|
+
[key: string]: unknown;
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
/** List the bases the connected Airtable account authorized Superclerk to access. */
|
|
493
|
+
airtable_list_bases: {
|
|
494
|
+
input: {
|
|
495
|
+
offset?: string;
|
|
496
|
+
};
|
|
497
|
+
output: {
|
|
498
|
+
bases: Array<{
|
|
499
|
+
id: string;
|
|
500
|
+
name: string;
|
|
501
|
+
permissionLevel: string;
|
|
502
|
+
[key: string]: unknown;
|
|
503
|
+
}>;
|
|
504
|
+
offset?: string;
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
/** Update up to 10 records by ID. Only supplied fields change; use null to clear a cell. */
|
|
508
|
+
airtable_update_records: {
|
|
509
|
+
input: {
|
|
510
|
+
baseId: string;
|
|
511
|
+
tableId: string;
|
|
512
|
+
records: Array<{
|
|
513
|
+
id: string;
|
|
514
|
+
fields: {
|
|
515
|
+
[key: string]: unknown;
|
|
516
|
+
};
|
|
517
|
+
}>;
|
|
518
|
+
/** Explicitly allow Airtable to convert strings to field types and create select options. */
|
|
519
|
+
typecast: boolean;
|
|
520
|
+
};
|
|
521
|
+
output: {
|
|
522
|
+
records: Array<{
|
|
523
|
+
id: string;
|
|
524
|
+
createdTime: string;
|
|
525
|
+
fields: {
|
|
526
|
+
[key: string]: unknown;
|
|
527
|
+
};
|
|
528
|
+
[key: string]: unknown;
|
|
529
|
+
}>;
|
|
530
|
+
details?: {
|
|
531
|
+
message: string;
|
|
532
|
+
reasons: Array<string>;
|
|
533
|
+
};
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
/** Create or update up to 10 records using one to three fields as the match key. Multiple matches refuse the request. */
|
|
537
|
+
airtable_upsert_records: {
|
|
538
|
+
input: {
|
|
539
|
+
baseId: string;
|
|
540
|
+
tableId: string;
|
|
541
|
+
records: Array<{
|
|
542
|
+
id?: string;
|
|
543
|
+
fields: {
|
|
544
|
+
[key: string]: unknown;
|
|
545
|
+
};
|
|
546
|
+
}>;
|
|
547
|
+
/** One to three noncomputed fields that uniquely identify a record. */
|
|
548
|
+
fieldsToMergeOn: Array<string>;
|
|
549
|
+
/** Explicitly allow Airtable to convert strings to field types and create select options. */
|
|
550
|
+
typecast: boolean;
|
|
551
|
+
};
|
|
552
|
+
output: {
|
|
553
|
+
records: Array<{
|
|
554
|
+
id: string;
|
|
555
|
+
createdTime: string;
|
|
556
|
+
fields: {
|
|
557
|
+
[key: string]: unknown;
|
|
558
|
+
};
|
|
559
|
+
[key: string]: unknown;
|
|
560
|
+
}>;
|
|
561
|
+
details?: {
|
|
562
|
+
message: string;
|
|
563
|
+
reasons: Array<string>;
|
|
564
|
+
};
|
|
565
|
+
createdRecords: Array<string>;
|
|
566
|
+
updatedRecords: Array<string>;
|
|
567
|
+
};
|
|
568
|
+
};
|
|
3
569
|
/** Request a page or directory be removed from Bing results or its cached copy. */
|
|
4
570
|
bing_webmaster_block_url: {
|
|
5
571
|
input: {
|
|
@@ -438,7 +1004,7 @@ export interface Tools {
|
|
|
438
1004
|
engagement: number;
|
|
439
1005
|
};
|
|
440
1006
|
};
|
|
441
|
-
/** List LinkedIn organization pages the connected member can
|
|
1007
|
+
/** List LinkedIn organization pages the connected member can post to. */
|
|
442
1008
|
linkedin_page_list_organizations: {
|
|
443
1009
|
input: {
|
|
444
1010
|
[key: string]: never;
|
|
@@ -565,21 +1131,220 @@ export interface Tools {
|
|
|
565
1131
|
}>;
|
|
566
1132
|
};
|
|
567
1133
|
};
|
|
568
|
-
/**
|
|
569
|
-
|
|
1134
|
+
/** Book an invitee at an available time. Calendly sends its normal invitations, notifications and workflows. */
|
|
1135
|
+
calendly_book_meeting: {
|
|
570
1136
|
input: {
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
1137
|
+
event_type: string;
|
|
1138
|
+
start_time: string;
|
|
1139
|
+
invitee: {
|
|
1140
|
+
name: string;
|
|
1141
|
+
email: string;
|
|
1142
|
+
timezone: string;
|
|
1143
|
+
text_reminder_number?: string;
|
|
1144
|
+
};
|
|
1145
|
+
/** A location configured on the event type. Omit for round robin events. */
|
|
1146
|
+
location?: {
|
|
1147
|
+
kind: "physical";
|
|
1148
|
+
location: string;
|
|
1149
|
+
} | {
|
|
1150
|
+
kind: "outbound_call";
|
|
1151
|
+
location: string;
|
|
1152
|
+
} | {
|
|
1153
|
+
kind: "ask_invitee";
|
|
1154
|
+
location: string;
|
|
1155
|
+
} | {
|
|
1156
|
+
kind: "custom";
|
|
1157
|
+
location: string;
|
|
1158
|
+
} | {
|
|
1159
|
+
kind: "inbound_call" | "zoom_conference" | "google_conference" | "gotomeeting_conference" | "microsoft_teams_conference" | "webex_conference";
|
|
1160
|
+
};
|
|
1161
|
+
questions_and_answers?: Array<{
|
|
1162
|
+
question: string;
|
|
1163
|
+
answer: string;
|
|
1164
|
+
position: number;
|
|
1165
|
+
}>;
|
|
1166
|
+
tracking?: {
|
|
1167
|
+
utm_campaign?: string;
|
|
1168
|
+
utm_source?: string;
|
|
1169
|
+
utm_medium?: string;
|
|
1170
|
+
utm_content?: string;
|
|
1171
|
+
utm_term?: string;
|
|
1172
|
+
salesforce_uuid?: string;
|
|
1173
|
+
};
|
|
1174
|
+
event_guests?: Array<string>;
|
|
1175
|
+
};
|
|
1176
|
+
output: {
|
|
1177
|
+
resource: {
|
|
1178
|
+
[key: string]: unknown;
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
};
|
|
1182
|
+
/** Cancel an entire meeting for every invitee and send Calendly's cancellation notifications. */
|
|
1183
|
+
calendly_cancel_event: {
|
|
1184
|
+
input: {
|
|
1185
|
+
event_uuid: string;
|
|
1186
|
+
reason?: string;
|
|
1187
|
+
};
|
|
1188
|
+
output: {
|
|
1189
|
+
resource: {
|
|
1190
|
+
[key: string]: unknown;
|
|
1191
|
+
};
|
|
1192
|
+
};
|
|
1193
|
+
};
|
|
1194
|
+
/** Create a booking link that accepts exactly one meeting for an event type. */
|
|
1195
|
+
calendly_create_single_use_link: {
|
|
1196
|
+
input: {
|
|
1197
|
+
event_type: string;
|
|
1198
|
+
};
|
|
1199
|
+
output: {
|
|
1200
|
+
resource: {
|
|
1201
|
+
booking_url: string;
|
|
1202
|
+
owner?: string;
|
|
1203
|
+
owner_type?: "EventType";
|
|
1204
|
+
};
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
/** Read a scheduled meeting, including its hosts, location, cancellation and invitee count. */
|
|
1208
|
+
calendly_get_event: {
|
|
1209
|
+
input: {
|
|
1210
|
+
event_uuid: string;
|
|
1211
|
+
};
|
|
1212
|
+
output: {
|
|
1213
|
+
resource: {
|
|
1214
|
+
[key: string]: unknown;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
/** Read one invitee's contact details, answers, cancellation and reschedule links, and no-show record. */
|
|
1219
|
+
calendly_get_invitee: {
|
|
1220
|
+
input: {
|
|
1221
|
+
event_uuid: string;
|
|
1222
|
+
invitee_uuid: string;
|
|
1223
|
+
};
|
|
1224
|
+
output: {
|
|
1225
|
+
resource: {
|
|
1226
|
+
[key: string]: unknown;
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
/** Find open times for an event type in a future time window of up to 31 days. */
|
|
1231
|
+
calendly_list_available_times: {
|
|
1232
|
+
input: {
|
|
1233
|
+
event_type: string;
|
|
1234
|
+
start_time: string;
|
|
1235
|
+
end_time: string;
|
|
1236
|
+
};
|
|
1237
|
+
output: {
|
|
1238
|
+
collection: Array<{
|
|
1239
|
+
[key: string]: unknown;
|
|
1240
|
+
}>;
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
1243
|
+
/** Read a meeting's invitees, their answers, cancellation, rescheduling and no-show records. */
|
|
1244
|
+
calendly_list_event_invitees: {
|
|
1245
|
+
input: {
|
|
1246
|
+
event_uuid: string;
|
|
1247
|
+
email?: string;
|
|
1248
|
+
status?: "active" | "canceled";
|
|
1249
|
+
sort?: "created_at:asc" | "created_at:desc";
|
|
1250
|
+
count?: number;
|
|
1251
|
+
/** pagination.next_page_token from the previous page. */
|
|
1252
|
+
page_token?: string;
|
|
1253
|
+
};
|
|
1254
|
+
output: {
|
|
1255
|
+
collection: Array<{
|
|
1256
|
+
[key: string]: unknown;
|
|
1257
|
+
}>;
|
|
1258
|
+
pagination: {
|
|
1259
|
+
count: number;
|
|
1260
|
+
next_page: string | null;
|
|
1261
|
+
previous_page: string | null;
|
|
1262
|
+
next_page_token: string | null;
|
|
1263
|
+
previous_page_token: string | null;
|
|
1264
|
+
};
|
|
1265
|
+
};
|
|
1266
|
+
};
|
|
1267
|
+
/** List your personal and team event types, booking links, durations and configured locations. */
|
|
1268
|
+
calendly_list_event_types: {
|
|
1269
|
+
input: {
|
|
1270
|
+
active?: boolean;
|
|
1271
|
+
count?: number;
|
|
1272
|
+
/** pagination.next_page_token from the previous page. */
|
|
1273
|
+
page_token?: string;
|
|
1274
|
+
};
|
|
1275
|
+
output: {
|
|
1276
|
+
collection: Array<{
|
|
1277
|
+
[key: string]: unknown;
|
|
1278
|
+
}>;
|
|
1279
|
+
pagination: {
|
|
1280
|
+
count: number;
|
|
1281
|
+
next_page: string | null;
|
|
1282
|
+
previous_page: string | null;
|
|
1283
|
+
next_page_token: string | null;
|
|
1284
|
+
previous_page_token: string | null;
|
|
1285
|
+
};
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1288
|
+
/** Find your scheduled meetings, optionally by invitee email, status or start time. */
|
|
1289
|
+
calendly_list_events: {
|
|
1290
|
+
input: {
|
|
1291
|
+
invitee_email?: string;
|
|
1292
|
+
status?: "active" | "canceled";
|
|
1293
|
+
min_start_time?: string;
|
|
1294
|
+
max_start_time?: string;
|
|
1295
|
+
sort?: "start_time:asc" | "start_time:desc";
|
|
1296
|
+
count?: number;
|
|
1297
|
+
/** pagination.next_page_token from the previous page. */
|
|
1298
|
+
page_token?: string;
|
|
1299
|
+
};
|
|
1300
|
+
output: {
|
|
1301
|
+
collection: Array<{
|
|
1302
|
+
[key: string]: unknown;
|
|
1303
|
+
}>;
|
|
1304
|
+
pagination: {
|
|
1305
|
+
count: number;
|
|
1306
|
+
next_page: string | null;
|
|
1307
|
+
previous_page: string | null;
|
|
1308
|
+
next_page_token: string | null;
|
|
1309
|
+
previous_page_token: string | null;
|
|
1310
|
+
};
|
|
1311
|
+
};
|
|
1312
|
+
};
|
|
1313
|
+
/** Mark one invitee as a no-show and return the no-show record. */
|
|
1314
|
+
calendly_mark_no_show: {
|
|
1315
|
+
input: {
|
|
1316
|
+
invitee: string;
|
|
1317
|
+
};
|
|
1318
|
+
output: {
|
|
1319
|
+
resource: {
|
|
1320
|
+
[key: string]: unknown;
|
|
1321
|
+
};
|
|
1322
|
+
};
|
|
1323
|
+
};
|
|
1324
|
+
/** Remove the no-show mark using its no-show record ID. */
|
|
1325
|
+
calendly_unmark_no_show: {
|
|
1326
|
+
input: {
|
|
1327
|
+
no_show_uuid: string;
|
|
1328
|
+
};
|
|
1329
|
+
output: {
|
|
1330
|
+
[key: string]: never;
|
|
1331
|
+
};
|
|
1332
|
+
};
|
|
1333
|
+
/** Read a domain's backlink counts, referring domains, broken links, rank and spam score. */
|
|
1334
|
+
dataforseo_backlinks_summary: {
|
|
1335
|
+
input: {
|
|
1336
|
+
/** The site's domain without a scheme, path or wildcard. A leading www. is dropped: DataForSEO measures the whole domain. */
|
|
1337
|
+
domain: string;
|
|
1338
|
+
includeSubdomains: boolean;
|
|
1339
|
+
status: "live" | "lost" | "all";
|
|
1340
|
+
};
|
|
1341
|
+
output: {
|
|
1342
|
+
meta: {
|
|
1343
|
+
provider: "dataforseo";
|
|
1344
|
+
endpoint: string;
|
|
1345
|
+
retrievedAt: string;
|
|
1346
|
+
statusCode: number;
|
|
1347
|
+
costUSD: number;
|
|
583
1348
|
tasksCount: number;
|
|
584
1349
|
tasksError: number;
|
|
585
1350
|
taskID: string;
|
|
@@ -1613,7 +2378,7 @@ export interface Tools {
|
|
|
1613
2378
|
type: "CALL";
|
|
1614
2379
|
phoneNumber: string;
|
|
1615
2380
|
countryCode: string;
|
|
1616
|
-
/** Count calls from the ad as conversions. */
|
|
2381
|
+
/** Count calls from the ad as conversions, under the account's call conversion action. */
|
|
1617
2382
|
countCalls: boolean;
|
|
1618
2383
|
} | {
|
|
1619
2384
|
type: "STRUCTURED_SNIPPET";
|
|
@@ -6178,6 +6943,14 @@ export interface Tools {
|
|
|
6178
6943
|
geoTargetConstantIds: Array<string>;
|
|
6179
6944
|
/** Left out, calls ring the Business Profile number. */
|
|
6180
6945
|
callsTo?: string;
|
|
6946
|
+
/** When someone answers the phone, in the account's time zone; all seven days from 0 to 24 if always. */
|
|
6947
|
+
hours: Array<{
|
|
6948
|
+
dayOfWeek: "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
|
|
6949
|
+
startHour: number;
|
|
6950
|
+
startMinute: "ZERO" | "FIFTEEN" | "THIRTY" | "FORTY_FIVE";
|
|
6951
|
+
endHour: number;
|
|
6952
|
+
endMinute: "ZERO" | "FIFTEEN" | "THIRTY" | "FORTY_FIVE";
|
|
6953
|
+
}>;
|
|
6181
6954
|
};
|
|
6182
6955
|
output: {
|
|
6183
6956
|
operationResponses: Array<{
|
|
@@ -6255,8 +7028,8 @@ export interface Tools {
|
|
|
6255
7028
|
text: string;
|
|
6256
7029
|
matchType: "EXACT" | "PHRASE" | "BROAD";
|
|
6257
7030
|
}>;
|
|
6258
|
-
/**
|
|
6259
|
-
geoTargetConstantIds
|
|
7031
|
+
/** The area served, from google_ads_list_geo_targets. */
|
|
7032
|
+
geoTargetConstantIds: Array<string>;
|
|
6260
7033
|
callouts?: Array<{
|
|
6261
7034
|
text: string;
|
|
6262
7035
|
name?: string;
|
|
@@ -6274,7 +7047,7 @@ export interface Tools {
|
|
|
6274
7047
|
/** Keywords serve as soon as their campaign and ad group are enabled. */
|
|
6275
7048
|
keywordStatus?: "ENABLED" | "PAUSED";
|
|
6276
7049
|
/** Also show ads on Google's search partner sites. */
|
|
6277
|
-
targetSearchNetwork
|
|
7050
|
+
targetSearchNetwork: boolean;
|
|
6278
7051
|
/** Google Partner Network, a restricted program; leave false unless the account is in it. */
|
|
6279
7052
|
targetPartnerSearchNetwork?: boolean;
|
|
6280
7053
|
};
|
|
@@ -6305,6 +7078,11 @@ export interface Tools {
|
|
|
6305
7078
|
loginCustomerId?: string;
|
|
6306
7079
|
label: string;
|
|
6307
7080
|
}>;
|
|
7081
|
+
/** Customers the sign-in lists that Google refused to read, each with Google's reason. */
|
|
7082
|
+
unreachable: Array<{
|
|
7083
|
+
customerId: string;
|
|
7084
|
+
reason: string;
|
|
7085
|
+
}>;
|
|
6308
7086
|
};
|
|
6309
7087
|
};
|
|
6310
7088
|
/** List ad groups with campaign context and performance metrics. */
|
|
@@ -6312,6 +7090,9 @@ export interface Tools {
|
|
|
6312
7090
|
input: {
|
|
6313
7091
|
campaignId?: string;
|
|
6314
7092
|
statuses?: Array<"ENABLED" | "PAUSED" | "REMOVED">;
|
|
7093
|
+
/** First day the metrics cover, given with endDate. Without them, the last 30 days. */
|
|
7094
|
+
startDate?: string;
|
|
7095
|
+
endDate?: string;
|
|
6315
7096
|
limit?: number;
|
|
6316
7097
|
/** Google Ads customer id. Hyphens are accepted and stripped before API calls. */
|
|
6317
7098
|
customerId: string;
|
|
@@ -6322,6 +7103,8 @@ export interface Tools {
|
|
|
6322
7103
|
adGroups: Array<{
|
|
6323
7104
|
[key: string]: unknown;
|
|
6324
7105
|
}>;
|
|
7106
|
+
/** The days the metrics cover, as the query's segments.date filter. */
|
|
7107
|
+
dateRange: string;
|
|
6325
7108
|
totalResultsCount?: string;
|
|
6326
7109
|
fieldMask?: string;
|
|
6327
7110
|
};
|
|
@@ -6331,6 +7114,9 @@ export interface Tools {
|
|
|
6331
7114
|
input: {
|
|
6332
7115
|
campaignId?: string;
|
|
6333
7116
|
statuses?: Array<"ENABLED" | "PAUSED" | "REMOVED">;
|
|
7117
|
+
/** First day the metrics cover, given with endDate. Without them, the last 30 days. */
|
|
7118
|
+
startDate?: string;
|
|
7119
|
+
endDate?: string;
|
|
6334
7120
|
limit?: number;
|
|
6335
7121
|
adGroupId?: string;
|
|
6336
7122
|
/** Google Ads customer id. Hyphens are accepted and stripped before API calls. */
|
|
@@ -6342,6 +7128,8 @@ export interface Tools {
|
|
|
6342
7128
|
ads: Array<{
|
|
6343
7129
|
[key: string]: unknown;
|
|
6344
7130
|
}>;
|
|
7131
|
+
/** The days the metrics cover, as the query's segments.date filter. */
|
|
7132
|
+
dateRange: string;
|
|
6345
7133
|
totalResultsCount?: string;
|
|
6346
7134
|
fieldMask?: string;
|
|
6347
7135
|
};
|
|
@@ -6368,6 +7156,7 @@ export interface Tools {
|
|
|
6368
7156
|
input: {
|
|
6369
7157
|
statuses?: Array<"ENABLED" | "PAUSED" | "REMOVED">;
|
|
6370
7158
|
channelType?: string;
|
|
7159
|
+
/** First day the metrics cover, given with endDate. Without them, the last 30 days. */
|
|
6371
7160
|
startDate?: string;
|
|
6372
7161
|
endDate?: string;
|
|
6373
7162
|
limit?: number;
|
|
@@ -6380,6 +7169,8 @@ export interface Tools {
|
|
|
6380
7169
|
campaigns: Array<{
|
|
6381
7170
|
[key: string]: unknown;
|
|
6382
7171
|
}>;
|
|
7172
|
+
/** The days the metrics cover, as the query's segments.date filter. */
|
|
7173
|
+
dateRange: string;
|
|
6383
7174
|
totalResultsCount?: string;
|
|
6384
7175
|
fieldMask?: string;
|
|
6385
7176
|
};
|
|
@@ -6433,6 +7224,9 @@ export interface Tools {
|
|
|
6433
7224
|
input: {
|
|
6434
7225
|
campaignId?: string;
|
|
6435
7226
|
statuses?: Array<"ENABLED" | "PAUSED" | "REMOVED">;
|
|
7227
|
+
/** First day the metrics cover, given with endDate. Without them, the last 30 days. */
|
|
7228
|
+
startDate?: string;
|
|
7229
|
+
endDate?: string;
|
|
6436
7230
|
limit?: number;
|
|
6437
7231
|
adGroupId?: string;
|
|
6438
7232
|
/** Google Ads customer id. Hyphens are accepted and stripped before API calls. */
|
|
@@ -6444,6 +7238,8 @@ export interface Tools {
|
|
|
6444
7238
|
keywords: Array<{
|
|
6445
7239
|
[key: string]: unknown;
|
|
6446
7240
|
}>;
|
|
7241
|
+
/** The days the metrics cover, as the query's segments.date filter. */
|
|
7242
|
+
dateRange: string;
|
|
6447
7243
|
totalResultsCount?: string;
|
|
6448
7244
|
fieldMask?: string;
|
|
6449
7245
|
};
|
|
@@ -6529,6 +7325,36 @@ export interface Tools {
|
|
|
6529
7325
|
jobs: Array<string>;
|
|
6530
7326
|
};
|
|
6531
7327
|
};
|
|
7328
|
+
/** Remove campaigns, ad groups, keywords and ads for good. To stop spend, pause instead. */
|
|
7329
|
+
google_ads_remove: {
|
|
7330
|
+
input: {
|
|
7331
|
+
/** Google Ads customer id. Hyphens are accepted and stripped before API calls. */
|
|
7332
|
+
customerId: string;
|
|
7333
|
+
/** Omit it: each of the connection's accounts keeps the manager it is reached through. Name one only when the same customer is kept through two managers. */
|
|
7334
|
+
loginCustomerId?: string;
|
|
7335
|
+
/** What to change, with IDs from the list tools or google_ads_find_waste. */
|
|
7336
|
+
targets: Array<{
|
|
7337
|
+
level: "CAMPAIGN";
|
|
7338
|
+
campaignId: string;
|
|
7339
|
+
} | {
|
|
7340
|
+
level: "AD_GROUP";
|
|
7341
|
+
adGroupId: string;
|
|
7342
|
+
} | {
|
|
7343
|
+
level: "KEYWORD";
|
|
7344
|
+
adGroupId: string;
|
|
7345
|
+
criterionId: string;
|
|
7346
|
+
} | {
|
|
7347
|
+
level: "AD";
|
|
7348
|
+
adGroupId: string;
|
|
7349
|
+
adId: string;
|
|
7350
|
+
}>;
|
|
7351
|
+
};
|
|
7352
|
+
output: {
|
|
7353
|
+
operationResponses: Array<{
|
|
7354
|
+
[key: string]: unknown;
|
|
7355
|
+
}>;
|
|
7356
|
+
};
|
|
7357
|
+
};
|
|
6532
7358
|
/** Remove one campaign-level criterion by campaign id and criterion id. */
|
|
6533
7359
|
google_ads_remove_campaign_criterion: {
|
|
6534
7360
|
input: {
|
|
@@ -6690,7 +7516,7 @@ export interface Tools {
|
|
|
6690
7516
|
loginCustomerId?: string;
|
|
6691
7517
|
campaignId: string;
|
|
6692
7518
|
strategy: "MANUAL_CPC" | "MAXIMIZE_CLICKS" | "MAXIMIZE_CONVERSIONS";
|
|
6693
|
-
/** MAXIMIZE_CLICKS: the most to pay for a click. MAXIMIZE_CONVERSIONS: the average cost per conversion to aim for. Leave it out for none. */
|
|
7519
|
+
/** MAXIMIZE_CLICKS: the most to pay for a click. MAXIMIZE_CONVERSIONS: the average cost per conversion to aim for. Leave it out for none. MANUAL_CPC takes none: each ad group's bid is set with google_ads_update_ad_group_bid. */
|
|
6694
7520
|
limitMicros?: number;
|
|
6695
7521
|
};
|
|
6696
7522
|
output: {
|
|
@@ -6854,15 +7680,13 @@ export interface Tools {
|
|
|
6854
7680
|
}>;
|
|
6855
7681
|
};
|
|
6856
7682
|
};
|
|
6857
|
-
/** Enable
|
|
7683
|
+
/** Enable or pause campaigns, ad groups, keywords and ads. */
|
|
6858
7684
|
google_ads_update_status: {
|
|
6859
7685
|
input: {
|
|
6860
7686
|
/** Google Ads customer id. Hyphens are accepted and stripped before API calls. */
|
|
6861
7687
|
customerId: string;
|
|
6862
7688
|
/** Omit it: each of the connection's accounts keeps the manager it is reached through. Name one only when the same customer is kept through two managers. */
|
|
6863
7689
|
loginCustomerId?: string;
|
|
6864
|
-
/** REMOVED cannot be undone. */
|
|
6865
|
-
status: "ENABLED" | "PAUSED" | "REMOVED";
|
|
6866
7690
|
/** What to change, with IDs from the list tools or google_ads_find_waste. */
|
|
6867
7691
|
targets: Array<{
|
|
6868
7692
|
level: "CAMPAIGN";
|
|
@@ -6879,6 +7703,7 @@ export interface Tools {
|
|
|
6879
7703
|
adGroupId: string;
|
|
6880
7704
|
adId: string;
|
|
6881
7705
|
}>;
|
|
7706
|
+
status: "ENABLED" | "PAUSED";
|
|
6882
7707
|
};
|
|
6883
7708
|
output: {
|
|
6884
7709
|
operationResponses: Array<{
|
|
@@ -10035,55 +10860,462 @@ export interface Tools {
|
|
|
10035
10860
|
}>;
|
|
10036
10861
|
};
|
|
10037
10862
|
};
|
|
10038
|
-
/**
|
|
10039
|
-
|
|
10863
|
+
/** Add one Google contact to a label without changing its other labels. */
|
|
10864
|
+
contacts_add_to_label: {
|
|
10040
10865
|
input: {
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
tabId?: string;
|
|
10044
|
-
requiredRevisionId?: string;
|
|
10866
|
+
resourceName: string;
|
|
10867
|
+
labelResourceName: string;
|
|
10045
10868
|
};
|
|
10046
10869
|
output: {
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10870
|
+
resourceName: string;
|
|
10871
|
+
labelResourceName: string;
|
|
10872
|
+
changed: boolean;
|
|
10050
10873
|
};
|
|
10051
10874
|
};
|
|
10052
|
-
/**
|
|
10053
|
-
|
|
10875
|
+
/** Read a Google contact by its resource name. */
|
|
10876
|
+
contacts_get_contact: {
|
|
10054
10877
|
input: {
|
|
10055
|
-
|
|
10056
|
-
content: string;
|
|
10057
|
-
quotedText?: string;
|
|
10878
|
+
resourceName: string;
|
|
10058
10879
|
};
|
|
10059
10880
|
output: {
|
|
10060
|
-
|
|
10061
|
-
|
|
10062
|
-
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
|
|
10066
|
-
|
|
10067
|
-
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
|
|
10071
|
-
|
|
10072
|
-
|
|
10073
|
-
|
|
10881
|
+
resourceName: string;
|
|
10882
|
+
names?: Array<{
|
|
10883
|
+
givenName?: string;
|
|
10884
|
+
familyName?: string;
|
|
10885
|
+
middleName?: string;
|
|
10886
|
+
honorificPrefix?: string;
|
|
10887
|
+
honorificSuffix?: string;
|
|
10888
|
+
displayName?: string;
|
|
10889
|
+
}>;
|
|
10890
|
+
emailAddresses?: Array<{
|
|
10891
|
+
value: string;
|
|
10892
|
+
type?: string;
|
|
10893
|
+
}>;
|
|
10894
|
+
phoneNumbers?: Array<{
|
|
10895
|
+
value: string;
|
|
10896
|
+
type?: string;
|
|
10897
|
+
canonicalForm?: string;
|
|
10898
|
+
}>;
|
|
10899
|
+
organizations?: Array<{
|
|
10900
|
+
name?: string;
|
|
10901
|
+
title?: string;
|
|
10902
|
+
department?: string;
|
|
10903
|
+
type?: string;
|
|
10904
|
+
}>;
|
|
10905
|
+
addresses?: Array<{
|
|
10906
|
+
type?: string;
|
|
10907
|
+
streetAddress?: string;
|
|
10908
|
+
city?: string;
|
|
10909
|
+
region?: string;
|
|
10910
|
+
postalCode?: string;
|
|
10911
|
+
country?: string;
|
|
10912
|
+
countryCode?: string;
|
|
10913
|
+
formattedValue?: string;
|
|
10074
10914
|
}>;
|
|
10915
|
+
biographies?: Array<{
|
|
10916
|
+
value: string;
|
|
10917
|
+
contentType?: "CONTENT_TYPE_UNSPECIFIED" | "TEXT_PLAIN" | "TEXT_HTML";
|
|
10918
|
+
}>;
|
|
10919
|
+
memberships?: Array<{
|
|
10920
|
+
contactGroupMembership?: {
|
|
10921
|
+
contactGroupResourceName: string;
|
|
10922
|
+
};
|
|
10923
|
+
}>;
|
|
10924
|
+
metadata?: {
|
|
10925
|
+
deleted?: boolean;
|
|
10926
|
+
previousResourceNames?: Array<string>;
|
|
10927
|
+
sources?: Array<{
|
|
10928
|
+
type: string;
|
|
10929
|
+
id?: string;
|
|
10930
|
+
etag?: string;
|
|
10931
|
+
updateTime?: string;
|
|
10932
|
+
}>;
|
|
10933
|
+
};
|
|
10075
10934
|
};
|
|
10076
10935
|
};
|
|
10077
|
-
/**
|
|
10078
|
-
|
|
10936
|
+
/** List one page of Google contacts, most recently changed first. */
|
|
10937
|
+
contacts_list_contacts: {
|
|
10079
10938
|
input: {
|
|
10080
|
-
|
|
10939
|
+
pageSize?: number;
|
|
10940
|
+
pageToken?: string;
|
|
10081
10941
|
};
|
|
10082
10942
|
output: {
|
|
10083
|
-
|
|
10084
|
-
|
|
10085
|
-
|
|
10086
|
-
|
|
10943
|
+
contacts: Array<{
|
|
10944
|
+
resourceName: string;
|
|
10945
|
+
names?: Array<{
|
|
10946
|
+
givenName?: string;
|
|
10947
|
+
familyName?: string;
|
|
10948
|
+
middleName?: string;
|
|
10949
|
+
honorificPrefix?: string;
|
|
10950
|
+
honorificSuffix?: string;
|
|
10951
|
+
displayName?: string;
|
|
10952
|
+
}>;
|
|
10953
|
+
emailAddresses?: Array<{
|
|
10954
|
+
value: string;
|
|
10955
|
+
type?: string;
|
|
10956
|
+
}>;
|
|
10957
|
+
phoneNumbers?: Array<{
|
|
10958
|
+
value: string;
|
|
10959
|
+
type?: string;
|
|
10960
|
+
canonicalForm?: string;
|
|
10961
|
+
}>;
|
|
10962
|
+
organizations?: Array<{
|
|
10963
|
+
name?: string;
|
|
10964
|
+
title?: string;
|
|
10965
|
+
department?: string;
|
|
10966
|
+
type?: string;
|
|
10967
|
+
}>;
|
|
10968
|
+
addresses?: Array<{
|
|
10969
|
+
type?: string;
|
|
10970
|
+
streetAddress?: string;
|
|
10971
|
+
city?: string;
|
|
10972
|
+
region?: string;
|
|
10973
|
+
postalCode?: string;
|
|
10974
|
+
country?: string;
|
|
10975
|
+
countryCode?: string;
|
|
10976
|
+
formattedValue?: string;
|
|
10977
|
+
}>;
|
|
10978
|
+
biographies?: Array<{
|
|
10979
|
+
value: string;
|
|
10980
|
+
contentType?: "CONTENT_TYPE_UNSPECIFIED" | "TEXT_PLAIN" | "TEXT_HTML";
|
|
10981
|
+
}>;
|
|
10982
|
+
memberships?: Array<{
|
|
10983
|
+
contactGroupMembership?: {
|
|
10984
|
+
contactGroupResourceName: string;
|
|
10985
|
+
};
|
|
10986
|
+
}>;
|
|
10987
|
+
metadata?: {
|
|
10988
|
+
deleted?: boolean;
|
|
10989
|
+
previousResourceNames?: Array<string>;
|
|
10990
|
+
sources?: Array<{
|
|
10991
|
+
type: string;
|
|
10992
|
+
id?: string;
|
|
10993
|
+
etag?: string;
|
|
10994
|
+
updateTime?: string;
|
|
10995
|
+
}>;
|
|
10996
|
+
};
|
|
10997
|
+
}>;
|
|
10998
|
+
nextPageToken?: string;
|
|
10999
|
+
};
|
|
11000
|
+
};
|
|
11001
|
+
/** List labels in Google Contacts. */
|
|
11002
|
+
contacts_list_labels: {
|
|
11003
|
+
input: {
|
|
11004
|
+
pageSize?: number;
|
|
11005
|
+
pageToken?: string;
|
|
11006
|
+
};
|
|
11007
|
+
output: {
|
|
11008
|
+
labels: Array<{
|
|
11009
|
+
resourceName: string;
|
|
11010
|
+
name: string;
|
|
11011
|
+
groupType?: string;
|
|
11012
|
+
memberCount?: number;
|
|
11013
|
+
}>;
|
|
11014
|
+
nextPageToken?: string;
|
|
11015
|
+
};
|
|
11016
|
+
};
|
|
11017
|
+
/** Search Google Contacts by name, email, phone or organization. */
|
|
11018
|
+
contacts_search_contacts: {
|
|
11019
|
+
input: {
|
|
11020
|
+
query: string;
|
|
11021
|
+
pageSize?: number;
|
|
11022
|
+
};
|
|
11023
|
+
output: {
|
|
11024
|
+
contacts: Array<{
|
|
11025
|
+
resourceName: string;
|
|
11026
|
+
names?: Array<{
|
|
11027
|
+
givenName?: string;
|
|
11028
|
+
familyName?: string;
|
|
11029
|
+
middleName?: string;
|
|
11030
|
+
honorificPrefix?: string;
|
|
11031
|
+
honorificSuffix?: string;
|
|
11032
|
+
displayName?: string;
|
|
11033
|
+
}>;
|
|
11034
|
+
emailAddresses?: Array<{
|
|
11035
|
+
value: string;
|
|
11036
|
+
type?: string;
|
|
11037
|
+
}>;
|
|
11038
|
+
phoneNumbers?: Array<{
|
|
11039
|
+
value: string;
|
|
11040
|
+
type?: string;
|
|
11041
|
+
canonicalForm?: string;
|
|
11042
|
+
}>;
|
|
11043
|
+
organizations?: Array<{
|
|
11044
|
+
name?: string;
|
|
11045
|
+
title?: string;
|
|
11046
|
+
department?: string;
|
|
11047
|
+
type?: string;
|
|
11048
|
+
}>;
|
|
11049
|
+
addresses?: Array<{
|
|
11050
|
+
type?: string;
|
|
11051
|
+
streetAddress?: string;
|
|
11052
|
+
city?: string;
|
|
11053
|
+
region?: string;
|
|
11054
|
+
postalCode?: string;
|
|
11055
|
+
country?: string;
|
|
11056
|
+
countryCode?: string;
|
|
11057
|
+
formattedValue?: string;
|
|
11058
|
+
}>;
|
|
11059
|
+
biographies?: Array<{
|
|
11060
|
+
value: string;
|
|
11061
|
+
contentType?: "CONTENT_TYPE_UNSPECIFIED" | "TEXT_PLAIN" | "TEXT_HTML";
|
|
11062
|
+
}>;
|
|
11063
|
+
memberships?: Array<{
|
|
11064
|
+
contactGroupMembership?: {
|
|
11065
|
+
contactGroupResourceName: string;
|
|
11066
|
+
};
|
|
11067
|
+
}>;
|
|
11068
|
+
metadata?: {
|
|
11069
|
+
deleted?: boolean;
|
|
11070
|
+
previousResourceNames?: Array<string>;
|
|
11071
|
+
sources?: Array<{
|
|
11072
|
+
type: string;
|
|
11073
|
+
id?: string;
|
|
11074
|
+
etag?: string;
|
|
11075
|
+
updateTime?: string;
|
|
11076
|
+
}>;
|
|
11077
|
+
};
|
|
11078
|
+
}>;
|
|
11079
|
+
};
|
|
11080
|
+
};
|
|
11081
|
+
/** Update a Google contact, replacing each supplied field's entire list. */
|
|
11082
|
+
contacts_update_contact: {
|
|
11083
|
+
input: {
|
|
11084
|
+
resourceName: string;
|
|
11085
|
+
names?: Array<{
|
|
11086
|
+
givenName?: string;
|
|
11087
|
+
familyName?: string;
|
|
11088
|
+
middleName?: string;
|
|
11089
|
+
honorificPrefix?: string;
|
|
11090
|
+
honorificSuffix?: string;
|
|
11091
|
+
}>;
|
|
11092
|
+
emailAddresses?: Array<{
|
|
11093
|
+
value: string;
|
|
11094
|
+
type?: string;
|
|
11095
|
+
}>;
|
|
11096
|
+
phoneNumbers?: Array<{
|
|
11097
|
+
value: string;
|
|
11098
|
+
type?: string;
|
|
11099
|
+
}>;
|
|
11100
|
+
organizations?: Array<{
|
|
11101
|
+
name?: string;
|
|
11102
|
+
title?: string;
|
|
11103
|
+
department?: string;
|
|
11104
|
+
type?: string;
|
|
11105
|
+
}>;
|
|
11106
|
+
addresses?: Array<{
|
|
11107
|
+
type?: string;
|
|
11108
|
+
streetAddress?: string;
|
|
11109
|
+
city?: string;
|
|
11110
|
+
region?: string;
|
|
11111
|
+
postalCode?: string;
|
|
11112
|
+
country?: string;
|
|
11113
|
+
countryCode?: string;
|
|
11114
|
+
}>;
|
|
11115
|
+
biographies?: Array<{
|
|
11116
|
+
value: string;
|
|
11117
|
+
contentType?: "CONTENT_TYPE_UNSPECIFIED" | "TEXT_PLAIN" | "TEXT_HTML";
|
|
11118
|
+
}>;
|
|
11119
|
+
};
|
|
11120
|
+
output: {
|
|
11121
|
+
contact: {
|
|
11122
|
+
resourceName: string;
|
|
11123
|
+
names?: Array<{
|
|
11124
|
+
givenName?: string;
|
|
11125
|
+
familyName?: string;
|
|
11126
|
+
middleName?: string;
|
|
11127
|
+
honorificPrefix?: string;
|
|
11128
|
+
honorificSuffix?: string;
|
|
11129
|
+
displayName?: string;
|
|
11130
|
+
}>;
|
|
11131
|
+
emailAddresses?: Array<{
|
|
11132
|
+
value: string;
|
|
11133
|
+
type?: string;
|
|
11134
|
+
}>;
|
|
11135
|
+
phoneNumbers?: Array<{
|
|
11136
|
+
value: string;
|
|
11137
|
+
type?: string;
|
|
11138
|
+
canonicalForm?: string;
|
|
11139
|
+
}>;
|
|
11140
|
+
organizations?: Array<{
|
|
11141
|
+
name?: string;
|
|
11142
|
+
title?: string;
|
|
11143
|
+
department?: string;
|
|
11144
|
+
type?: string;
|
|
11145
|
+
}>;
|
|
11146
|
+
addresses?: Array<{
|
|
11147
|
+
type?: string;
|
|
11148
|
+
streetAddress?: string;
|
|
11149
|
+
city?: string;
|
|
11150
|
+
region?: string;
|
|
11151
|
+
postalCode?: string;
|
|
11152
|
+
country?: string;
|
|
11153
|
+
countryCode?: string;
|
|
11154
|
+
formattedValue?: string;
|
|
11155
|
+
}>;
|
|
11156
|
+
biographies?: Array<{
|
|
11157
|
+
value: string;
|
|
11158
|
+
contentType?: "CONTENT_TYPE_UNSPECIFIED" | "TEXT_PLAIN" | "TEXT_HTML";
|
|
11159
|
+
}>;
|
|
11160
|
+
memberships?: Array<{
|
|
11161
|
+
contactGroupMembership?: {
|
|
11162
|
+
contactGroupResourceName: string;
|
|
11163
|
+
};
|
|
11164
|
+
}>;
|
|
11165
|
+
metadata?: {
|
|
11166
|
+
deleted?: boolean;
|
|
11167
|
+
previousResourceNames?: Array<string>;
|
|
11168
|
+
sources?: Array<{
|
|
11169
|
+
type: string;
|
|
11170
|
+
id?: string;
|
|
11171
|
+
etag?: string;
|
|
11172
|
+
updateTime?: string;
|
|
11173
|
+
}>;
|
|
11174
|
+
};
|
|
11175
|
+
};
|
|
11176
|
+
changed: boolean;
|
|
11177
|
+
};
|
|
11178
|
+
};
|
|
11179
|
+
/** Create or update one Google contact by exact email, then E.164 phone. */
|
|
11180
|
+
contacts_upsert_contact: {
|
|
11181
|
+
input: {
|
|
11182
|
+
email?: string;
|
|
11183
|
+
phone?: string;
|
|
11184
|
+
names?: Array<{
|
|
11185
|
+
givenName?: string;
|
|
11186
|
+
familyName?: string;
|
|
11187
|
+
middleName?: string;
|
|
11188
|
+
honorificPrefix?: string;
|
|
11189
|
+
honorificSuffix?: string;
|
|
11190
|
+
}>;
|
|
11191
|
+
organizations?: Array<{
|
|
11192
|
+
name?: string;
|
|
11193
|
+
title?: string;
|
|
11194
|
+
department?: string;
|
|
11195
|
+
type?: string;
|
|
11196
|
+
}>;
|
|
11197
|
+
addresses?: Array<{
|
|
11198
|
+
type?: string;
|
|
11199
|
+
streetAddress?: string;
|
|
11200
|
+
city?: string;
|
|
11201
|
+
region?: string;
|
|
11202
|
+
postalCode?: string;
|
|
11203
|
+
country?: string;
|
|
11204
|
+
countryCode?: string;
|
|
11205
|
+
}>;
|
|
11206
|
+
biographies?: Array<{
|
|
11207
|
+
value: string;
|
|
11208
|
+
contentType?: "CONTENT_TYPE_UNSPECIFIED" | "TEXT_PLAIN" | "TEXT_HTML";
|
|
11209
|
+
}>;
|
|
11210
|
+
};
|
|
11211
|
+
output: {
|
|
11212
|
+
contact: {
|
|
11213
|
+
resourceName: string;
|
|
11214
|
+
names?: Array<{
|
|
11215
|
+
givenName?: string;
|
|
11216
|
+
familyName?: string;
|
|
11217
|
+
middleName?: string;
|
|
11218
|
+
honorificPrefix?: string;
|
|
11219
|
+
honorificSuffix?: string;
|
|
11220
|
+
displayName?: string;
|
|
11221
|
+
}>;
|
|
11222
|
+
emailAddresses?: Array<{
|
|
11223
|
+
value: string;
|
|
11224
|
+
type?: string;
|
|
11225
|
+
}>;
|
|
11226
|
+
phoneNumbers?: Array<{
|
|
11227
|
+
value: string;
|
|
11228
|
+
type?: string;
|
|
11229
|
+
canonicalForm?: string;
|
|
11230
|
+
}>;
|
|
11231
|
+
organizations?: Array<{
|
|
11232
|
+
name?: string;
|
|
11233
|
+
title?: string;
|
|
11234
|
+
department?: string;
|
|
11235
|
+
type?: string;
|
|
11236
|
+
}>;
|
|
11237
|
+
addresses?: Array<{
|
|
11238
|
+
type?: string;
|
|
11239
|
+
streetAddress?: string;
|
|
11240
|
+
city?: string;
|
|
11241
|
+
region?: string;
|
|
11242
|
+
postalCode?: string;
|
|
11243
|
+
country?: string;
|
|
11244
|
+
countryCode?: string;
|
|
11245
|
+
formattedValue?: string;
|
|
11246
|
+
}>;
|
|
11247
|
+
biographies?: Array<{
|
|
11248
|
+
value: string;
|
|
11249
|
+
contentType?: "CONTENT_TYPE_UNSPECIFIED" | "TEXT_PLAIN" | "TEXT_HTML";
|
|
11250
|
+
}>;
|
|
11251
|
+
memberships?: Array<{
|
|
11252
|
+
contactGroupMembership?: {
|
|
11253
|
+
contactGroupResourceName: string;
|
|
11254
|
+
};
|
|
11255
|
+
}>;
|
|
11256
|
+
metadata?: {
|
|
11257
|
+
deleted?: boolean;
|
|
11258
|
+
previousResourceNames?: Array<string>;
|
|
11259
|
+
sources?: Array<{
|
|
11260
|
+
type: string;
|
|
11261
|
+
id?: string;
|
|
11262
|
+
etag?: string;
|
|
11263
|
+
updateTime?: string;
|
|
11264
|
+
}>;
|
|
11265
|
+
};
|
|
11266
|
+
};
|
|
11267
|
+
outcome: "created" | "updated" | "unchanged";
|
|
11268
|
+
};
|
|
11269
|
+
};
|
|
11270
|
+
/** Append plain text to the end of a Google Doc body. */
|
|
11271
|
+
docs_append_text: {
|
|
11272
|
+
input: {
|
|
11273
|
+
documentId: string;
|
|
11274
|
+
text: string;
|
|
11275
|
+
tabId?: string;
|
|
11276
|
+
requiredRevisionId?: string;
|
|
11277
|
+
};
|
|
11278
|
+
output: {
|
|
11279
|
+
documentId: string;
|
|
11280
|
+
documentUrl: string;
|
|
11281
|
+
revisionId: string;
|
|
11282
|
+
};
|
|
11283
|
+
};
|
|
11284
|
+
/** Create a document-level comment on a Google Doc. */
|
|
11285
|
+
docs_create_comment: {
|
|
11286
|
+
input: {
|
|
11287
|
+
documentId: string;
|
|
11288
|
+
content: string;
|
|
11289
|
+
quotedText?: string;
|
|
11290
|
+
};
|
|
11291
|
+
output: {
|
|
11292
|
+
commentId: string;
|
|
11293
|
+
content: string;
|
|
11294
|
+
resolved: boolean;
|
|
11295
|
+
quotedText?: string;
|
|
11296
|
+
authorName?: string;
|
|
11297
|
+
createdTime?: string;
|
|
11298
|
+
modifiedTime?: string;
|
|
11299
|
+
replies: Array<{
|
|
11300
|
+
replyId: string;
|
|
11301
|
+
content?: string;
|
|
11302
|
+
action?: string;
|
|
11303
|
+
authorName?: string;
|
|
11304
|
+
createdTime?: string;
|
|
11305
|
+
modifiedTime?: string;
|
|
11306
|
+
}>;
|
|
11307
|
+
};
|
|
11308
|
+
};
|
|
11309
|
+
/** Create a blank Google Doc. */
|
|
11310
|
+
docs_create_document: {
|
|
11311
|
+
input: {
|
|
11312
|
+
title: string;
|
|
11313
|
+
};
|
|
11314
|
+
output: {
|
|
11315
|
+
documentId: string;
|
|
11316
|
+
title: string;
|
|
11317
|
+
documentUrl: string;
|
|
11318
|
+
revisionId?: string;
|
|
10087
11319
|
};
|
|
10088
11320
|
};
|
|
10089
11321
|
/** Insert an empty table at an explicit Google Docs index. */
|
|
@@ -10589,40 +11821,349 @@ export interface Tools {
|
|
|
10589
11821
|
size?: string;
|
|
10590
11822
|
};
|
|
10591
11823
|
};
|
|
10592
|
-
/**
|
|
10593
|
-
|
|
11824
|
+
/** Insert text, choice, scale, date, time or rating questions into a form. */
|
|
11825
|
+
forms_add_questions: {
|
|
10594
11826
|
input: {
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
11827
|
+
formId: string;
|
|
11828
|
+
/** Insert before this zero-based item index; use the item count to append. */
|
|
11829
|
+
index: number;
|
|
11830
|
+
questions: Array<{
|
|
11831
|
+
title: string;
|
|
11832
|
+
description?: string;
|
|
11833
|
+
question: {
|
|
11834
|
+
required: boolean;
|
|
11835
|
+
textQuestion: {
|
|
11836
|
+
paragraph: boolean;
|
|
11837
|
+
};
|
|
11838
|
+
} | {
|
|
11839
|
+
required: boolean;
|
|
11840
|
+
choiceQuestion: {
|
|
11841
|
+
type: "RADIO" | "CHECKBOX" | "DROP_DOWN";
|
|
11842
|
+
options: Array<{
|
|
11843
|
+
value: string;
|
|
11844
|
+
isOther?: boolean;
|
|
11845
|
+
}>;
|
|
11846
|
+
shuffle?: boolean;
|
|
11847
|
+
};
|
|
11848
|
+
} | {
|
|
11849
|
+
required: boolean;
|
|
11850
|
+
scaleQuestion: {
|
|
11851
|
+
low: number;
|
|
11852
|
+
high: number;
|
|
11853
|
+
lowLabel?: string;
|
|
11854
|
+
highLabel?: string;
|
|
11855
|
+
};
|
|
11856
|
+
} | {
|
|
11857
|
+
required: boolean;
|
|
11858
|
+
dateQuestion: {
|
|
11859
|
+
includeTime: boolean;
|
|
11860
|
+
includeYear: boolean;
|
|
11861
|
+
};
|
|
11862
|
+
} | {
|
|
11863
|
+
required: boolean;
|
|
11864
|
+
timeQuestion: {
|
|
11865
|
+
duration: boolean;
|
|
11866
|
+
};
|
|
11867
|
+
} | {
|
|
11868
|
+
required: boolean;
|
|
11869
|
+
ratingQuestion: {
|
|
11870
|
+
ratingScaleLevel: number;
|
|
11871
|
+
iconType: "STAR" | "HEART" | "THUMB_UP";
|
|
11872
|
+
};
|
|
11873
|
+
};
|
|
11874
|
+
}>;
|
|
10599
11875
|
};
|
|
10600
11876
|
output: {
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
|
|
10608
|
-
|
|
10609
|
-
|
|
10610
|
-
|
|
10611
|
-
|
|
10612
|
-
|
|
10613
|
-
|
|
10614
|
-
|
|
10615
|
-
|
|
11877
|
+
formId: string;
|
|
11878
|
+
title: string;
|
|
11879
|
+
documentTitle?: string;
|
|
11880
|
+
description?: string;
|
|
11881
|
+
editUrl: string;
|
|
11882
|
+
responderUri?: string;
|
|
11883
|
+
revisionId?: string;
|
|
11884
|
+
linkedSheetId?: string;
|
|
11885
|
+
settings?: {
|
|
11886
|
+
[key: string]: unknown;
|
|
11887
|
+
};
|
|
11888
|
+
publishSettings?: {
|
|
11889
|
+
publishState?: {
|
|
11890
|
+
isPublished: boolean;
|
|
11891
|
+
isAcceptingResponses: boolean;
|
|
11892
|
+
};
|
|
11893
|
+
};
|
|
11894
|
+
items: Array<{
|
|
11895
|
+
[key: string]: unknown;
|
|
10616
11896
|
}>;
|
|
10617
|
-
|
|
10618
|
-
|
|
10619
|
-
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
11897
|
+
};
|
|
11898
|
+
};
|
|
11899
|
+
/** Create an empty, unpublished form that does not accept responses. */
|
|
11900
|
+
forms_create_form: {
|
|
11901
|
+
input: {
|
|
11902
|
+
title: string;
|
|
11903
|
+
documentTitle?: string;
|
|
11904
|
+
};
|
|
11905
|
+
output: {
|
|
11906
|
+
formId: string;
|
|
11907
|
+
title: string;
|
|
11908
|
+
documentTitle?: string;
|
|
11909
|
+
description?: string;
|
|
11910
|
+
editUrl: string;
|
|
11911
|
+
responderUri?: string;
|
|
11912
|
+
revisionId?: string;
|
|
11913
|
+
linkedSheetId?: string;
|
|
11914
|
+
settings?: {
|
|
11915
|
+
[key: string]: unknown;
|
|
11916
|
+
};
|
|
11917
|
+
publishSettings?: {
|
|
11918
|
+
publishState?: {
|
|
11919
|
+
isPublished: boolean;
|
|
11920
|
+
isAcceptingResponses: boolean;
|
|
11921
|
+
};
|
|
11922
|
+
};
|
|
11923
|
+
items: Array<{
|
|
11924
|
+
[key: string]: unknown;
|
|
11925
|
+
}>;
|
|
11926
|
+
};
|
|
11927
|
+
};
|
|
11928
|
+
/** Read a form's questions, settings and publishing state. */
|
|
11929
|
+
forms_get_form: {
|
|
11930
|
+
input: {
|
|
11931
|
+
formId: string;
|
|
11932
|
+
};
|
|
11933
|
+
output: {
|
|
11934
|
+
formId: string;
|
|
11935
|
+
title: string;
|
|
11936
|
+
documentTitle?: string;
|
|
11937
|
+
description?: string;
|
|
11938
|
+
editUrl: string;
|
|
11939
|
+
responderUri?: string;
|
|
11940
|
+
revisionId?: string;
|
|
11941
|
+
linkedSheetId?: string;
|
|
11942
|
+
settings?: {
|
|
11943
|
+
[key: string]: unknown;
|
|
11944
|
+
};
|
|
11945
|
+
publishSettings?: {
|
|
11946
|
+
publishState?: {
|
|
11947
|
+
isPublished: boolean;
|
|
11948
|
+
isAcceptingResponses: boolean;
|
|
11949
|
+
};
|
|
11950
|
+
};
|
|
11951
|
+
items: Array<{
|
|
11952
|
+
[key: string]: unknown;
|
|
11953
|
+
}>;
|
|
11954
|
+
};
|
|
11955
|
+
};
|
|
11956
|
+
/** Read one form response with its question labels and answers. */
|
|
11957
|
+
forms_get_response: {
|
|
11958
|
+
input: {
|
|
11959
|
+
formId: string;
|
|
11960
|
+
responseId: string;
|
|
11961
|
+
};
|
|
11962
|
+
output: {
|
|
11963
|
+
responseId: string;
|
|
11964
|
+
createTime: unknown;
|
|
11965
|
+
lastSubmittedTime: unknown;
|
|
11966
|
+
formId: string;
|
|
11967
|
+
respondentEmail?: string;
|
|
11968
|
+
totalScore?: number;
|
|
11969
|
+
answers: {
|
|
11970
|
+
[key: string]: {
|
|
11971
|
+
title?: string;
|
|
11972
|
+
rowTitle?: string;
|
|
11973
|
+
values: Array<string>;
|
|
11974
|
+
files: Array<{
|
|
11975
|
+
fileId: string;
|
|
11976
|
+
fileName?: string;
|
|
11977
|
+
mimeType?: string;
|
|
11978
|
+
}>;
|
|
11979
|
+
grade?: {
|
|
11980
|
+
[key: string]: unknown;
|
|
11981
|
+
};
|
|
11982
|
+
};
|
|
11983
|
+
};
|
|
11984
|
+
};
|
|
11985
|
+
};
|
|
11986
|
+
/** Read one page of form responses, with question labels and answers. */
|
|
11987
|
+
forms_list_responses: {
|
|
11988
|
+
input: {
|
|
11989
|
+
formId: string;
|
|
11990
|
+
/** Only responses submitted at or after this UTC time. */
|
|
11991
|
+
submittedAtOrAfter?: unknown;
|
|
11992
|
+
pageSize?: number;
|
|
11993
|
+
pageToken?: string;
|
|
11994
|
+
};
|
|
11995
|
+
output: {
|
|
11996
|
+
responses: Array<{
|
|
11997
|
+
responseId: string;
|
|
11998
|
+
createTime: unknown;
|
|
11999
|
+
lastSubmittedTime: unknown;
|
|
12000
|
+
formId: string;
|
|
12001
|
+
respondentEmail?: string;
|
|
12002
|
+
totalScore?: number;
|
|
12003
|
+
answers: {
|
|
12004
|
+
[key: string]: {
|
|
12005
|
+
title?: string;
|
|
12006
|
+
rowTitle?: string;
|
|
12007
|
+
values: Array<string>;
|
|
12008
|
+
files: Array<{
|
|
12009
|
+
fileId: string;
|
|
12010
|
+
fileName?: string;
|
|
12011
|
+
mimeType?: string;
|
|
12012
|
+
}>;
|
|
12013
|
+
grade?: {
|
|
12014
|
+
[key: string]: unknown;
|
|
12015
|
+
};
|
|
12016
|
+
};
|
|
12017
|
+
};
|
|
12018
|
+
}>;
|
|
12019
|
+
nextPageToken?: string;
|
|
12020
|
+
};
|
|
12021
|
+
};
|
|
12022
|
+
/** Find forms by name in Google Drive. */
|
|
12023
|
+
forms_search_forms: {
|
|
12024
|
+
input: {
|
|
12025
|
+
query?: string;
|
|
12026
|
+
pageSize?: number;
|
|
12027
|
+
pageToken?: string;
|
|
12028
|
+
};
|
|
12029
|
+
output: {
|
|
12030
|
+
forms: Array<{
|
|
12031
|
+
formId: string;
|
|
12032
|
+
title: string;
|
|
12033
|
+
editUrl: string;
|
|
12034
|
+
modifiedTime?: unknown;
|
|
12035
|
+
}>;
|
|
12036
|
+
nextPageToken?: string;
|
|
12037
|
+
};
|
|
12038
|
+
};
|
|
12039
|
+
/** Publish or unpublish a form and choose whether it accepts responses. Legacy forms do not support this. */
|
|
12040
|
+
forms_set_publish_state: {
|
|
12041
|
+
input: {
|
|
12042
|
+
formId: string;
|
|
12043
|
+
isPublished: boolean;
|
|
12044
|
+
isAcceptingResponses: boolean;
|
|
12045
|
+
};
|
|
12046
|
+
output: {
|
|
12047
|
+
formId: string;
|
|
12048
|
+
publishSettings: {
|
|
12049
|
+
publishState?: {
|
|
12050
|
+
isPublished: boolean;
|
|
12051
|
+
isAcceptingResponses: boolean;
|
|
12052
|
+
};
|
|
12053
|
+
};
|
|
12054
|
+
};
|
|
12055
|
+
};
|
|
12056
|
+
/** Replace a question's title and definition, preserving its ID, grading and sibling questions. */
|
|
12057
|
+
forms_update_question: {
|
|
12058
|
+
input: {
|
|
12059
|
+
formId: string;
|
|
12060
|
+
questionId: string;
|
|
12061
|
+
title: string;
|
|
12062
|
+
description?: string;
|
|
12063
|
+
question: {
|
|
12064
|
+
required: boolean;
|
|
12065
|
+
textQuestion: {
|
|
12066
|
+
paragraph: boolean;
|
|
12067
|
+
};
|
|
12068
|
+
} | {
|
|
12069
|
+
required: boolean;
|
|
12070
|
+
choiceQuestion: {
|
|
12071
|
+
type: "RADIO" | "CHECKBOX" | "DROP_DOWN";
|
|
12072
|
+
options: Array<{
|
|
12073
|
+
value: string;
|
|
12074
|
+
isOther?: boolean;
|
|
12075
|
+
}>;
|
|
12076
|
+
shuffle?: boolean;
|
|
12077
|
+
};
|
|
12078
|
+
} | {
|
|
12079
|
+
required: boolean;
|
|
12080
|
+
scaleQuestion: {
|
|
12081
|
+
low: number;
|
|
12082
|
+
high: number;
|
|
12083
|
+
lowLabel?: string;
|
|
12084
|
+
highLabel?: string;
|
|
12085
|
+
};
|
|
12086
|
+
} | {
|
|
12087
|
+
required: boolean;
|
|
12088
|
+
dateQuestion: {
|
|
12089
|
+
includeTime: boolean;
|
|
12090
|
+
includeYear: boolean;
|
|
12091
|
+
};
|
|
12092
|
+
} | {
|
|
12093
|
+
required: boolean;
|
|
12094
|
+
timeQuestion: {
|
|
12095
|
+
duration: boolean;
|
|
12096
|
+
};
|
|
12097
|
+
} | {
|
|
12098
|
+
required: boolean;
|
|
12099
|
+
ratingQuestion: {
|
|
12100
|
+
ratingScaleLevel: number;
|
|
12101
|
+
iconType: "STAR" | "HEART" | "THUMB_UP";
|
|
12102
|
+
};
|
|
12103
|
+
} | {
|
|
12104
|
+
required: boolean;
|
|
12105
|
+
rowQuestion: {
|
|
12106
|
+
title: string;
|
|
12107
|
+
};
|
|
12108
|
+
};
|
|
12109
|
+
};
|
|
12110
|
+
output: {
|
|
12111
|
+
formId: string;
|
|
12112
|
+
title: string;
|
|
12113
|
+
documentTitle?: string;
|
|
12114
|
+
description?: string;
|
|
12115
|
+
editUrl: string;
|
|
12116
|
+
responderUri?: string;
|
|
12117
|
+
revisionId?: string;
|
|
12118
|
+
linkedSheetId?: string;
|
|
12119
|
+
settings?: {
|
|
12120
|
+
[key: string]: unknown;
|
|
12121
|
+
};
|
|
12122
|
+
publishSettings?: {
|
|
12123
|
+
publishState?: {
|
|
12124
|
+
isPublished: boolean;
|
|
12125
|
+
isAcceptingResponses: boolean;
|
|
12126
|
+
};
|
|
12127
|
+
};
|
|
12128
|
+
items: Array<{
|
|
12129
|
+
[key: string]: unknown;
|
|
12130
|
+
}>;
|
|
12131
|
+
};
|
|
12132
|
+
};
|
|
12133
|
+
/** Read up to 40 weekly Chrome UX Report collection windows for one URL or origin. */
|
|
12134
|
+
google_crux_history: {
|
|
12135
|
+
input: {
|
|
12136
|
+
targetUrl: string;
|
|
12137
|
+
scope: "url" | "origin";
|
|
12138
|
+
formFactor: "PHONE" | "DESKTOP" | "TABLET" | "ALL";
|
|
12139
|
+
collectionPeriodCount: number;
|
|
12140
|
+
};
|
|
12141
|
+
output: {
|
|
12142
|
+
targetUrl: string;
|
|
12143
|
+
scope: "url" | "origin";
|
|
12144
|
+
formFactor: "PHONE" | "DESKTOP" | "TABLET" | "ALL";
|
|
12145
|
+
retrievedAt: string;
|
|
12146
|
+
state: "no_data";
|
|
12147
|
+
} | {
|
|
12148
|
+
targetUrl: string;
|
|
12149
|
+
scope: "url" | "origin";
|
|
12150
|
+
formFactor: "PHONE" | "DESKTOP" | "TABLET" | "ALL";
|
|
12151
|
+
retrievedAt: string;
|
|
12152
|
+
state: "available";
|
|
12153
|
+
resolvedUrl: string;
|
|
12154
|
+
collectionPeriods: Array<{
|
|
12155
|
+
firstDate: string;
|
|
12156
|
+
lastDate: string;
|
|
12157
|
+
}>;
|
|
12158
|
+
metrics: Array<{
|
|
12159
|
+
name: "largest_contentful_paint" | "interaction_to_next_paint" | "cumulative_layout_shift" | "first_contentful_paint" | "experimental_time_to_first_byte";
|
|
12160
|
+
unit: "milliseconds" | "unitless";
|
|
12161
|
+
p75s: Array<number | null>;
|
|
12162
|
+
histogram: Array<{
|
|
12163
|
+
start: number;
|
|
12164
|
+
end: number | null;
|
|
12165
|
+
densities: Array<number | null>;
|
|
12166
|
+
}>;
|
|
10626
12167
|
}>;
|
|
10627
12168
|
unavailableMetrics: Array<"largest_contentful_paint" | "interaction_to_next_paint" | "cumulative_layout_shift" | "first_contentful_paint" | "experimental_time_to_first_byte">;
|
|
10628
12169
|
};
|
|
@@ -11664,6 +13205,171 @@ export interface Tools {
|
|
|
11664
13205
|
appendedRows: number;
|
|
11665
13206
|
};
|
|
11666
13207
|
};
|
|
13208
|
+
/** Create a task with optional notes, due date and position. */
|
|
13209
|
+
tasks_create_task: {
|
|
13210
|
+
input: {
|
|
13211
|
+
taskListId: string;
|
|
13212
|
+
title: string;
|
|
13213
|
+
notes?: string;
|
|
13214
|
+
/** Calendar date in YYYY-MM-DD format, without a time zone. */
|
|
13215
|
+
due?: string;
|
|
13216
|
+
parent?: string;
|
|
13217
|
+
previous?: string;
|
|
13218
|
+
};
|
|
13219
|
+
output: {
|
|
13220
|
+
taskId: string;
|
|
13221
|
+
title: string;
|
|
13222
|
+
status: "needsAction" | "completed";
|
|
13223
|
+
updated: string;
|
|
13224
|
+
notes?: string;
|
|
13225
|
+
/** Calendar date in YYYY-MM-DD format, without a time zone. */
|
|
13226
|
+
due?: string;
|
|
13227
|
+
completed?: string;
|
|
13228
|
+
parent?: string;
|
|
13229
|
+
position?: string;
|
|
13230
|
+
webViewLink?: string;
|
|
13231
|
+
};
|
|
13232
|
+
};
|
|
13233
|
+
/** Create a task list in Google Tasks. */
|
|
13234
|
+
tasks_create_task_list: {
|
|
13235
|
+
input: {
|
|
13236
|
+
title: string;
|
|
13237
|
+
};
|
|
13238
|
+
output: {
|
|
13239
|
+
taskListId: string;
|
|
13240
|
+
title: string;
|
|
13241
|
+
updated?: string;
|
|
13242
|
+
};
|
|
13243
|
+
};
|
|
13244
|
+
/** Delete a Google task. */
|
|
13245
|
+
tasks_delete_task: {
|
|
13246
|
+
input: {
|
|
13247
|
+
taskListId: string;
|
|
13248
|
+
taskId: string;
|
|
13249
|
+
};
|
|
13250
|
+
output: {
|
|
13251
|
+
taskId: string;
|
|
13252
|
+
deleted: true;
|
|
13253
|
+
};
|
|
13254
|
+
};
|
|
13255
|
+
/** Read one Google task. */
|
|
13256
|
+
tasks_get_task: {
|
|
13257
|
+
input: {
|
|
13258
|
+
taskListId: string;
|
|
13259
|
+
taskId: string;
|
|
13260
|
+
};
|
|
13261
|
+
output: {
|
|
13262
|
+
taskId: string;
|
|
13263
|
+
title: string;
|
|
13264
|
+
status: "needsAction" | "completed";
|
|
13265
|
+
updated: string;
|
|
13266
|
+
notes?: string;
|
|
13267
|
+
/** Calendar date in YYYY-MM-DD format, without a time zone. */
|
|
13268
|
+
due?: string;
|
|
13269
|
+
completed?: string;
|
|
13270
|
+
parent?: string;
|
|
13271
|
+
position?: string;
|
|
13272
|
+
webViewLink?: string;
|
|
13273
|
+
};
|
|
13274
|
+
};
|
|
13275
|
+
/** List task lists in the connected Google account. */
|
|
13276
|
+
tasks_list_task_lists: {
|
|
13277
|
+
input: {
|
|
13278
|
+
pageSize?: number;
|
|
13279
|
+
pageToken?: string;
|
|
13280
|
+
};
|
|
13281
|
+
output: {
|
|
13282
|
+
taskLists: Array<{
|
|
13283
|
+
taskListId: string;
|
|
13284
|
+
title: string;
|
|
13285
|
+
updated?: string;
|
|
13286
|
+
}>;
|
|
13287
|
+
nextPageToken?: string;
|
|
13288
|
+
};
|
|
13289
|
+
};
|
|
13290
|
+
/** List tasks with status, due date and title filters. */
|
|
13291
|
+
tasks_list_tasks: {
|
|
13292
|
+
input: {
|
|
13293
|
+
taskListId: string;
|
|
13294
|
+
status?: "needsAction" | "completed";
|
|
13295
|
+
/** Calendar date in YYYY-MM-DD format, without a time zone. */
|
|
13296
|
+
dueMin?: string;
|
|
13297
|
+
/** Calendar date in YYYY-MM-DD format, without a time zone. */
|
|
13298
|
+
dueMax?: string;
|
|
13299
|
+
/** Case-insensitive text to match in task titles. */
|
|
13300
|
+
titleMatch?: string;
|
|
13301
|
+
pageSize?: number;
|
|
13302
|
+
pageToken?: string;
|
|
13303
|
+
};
|
|
13304
|
+
output: {
|
|
13305
|
+
tasks: Array<{
|
|
13306
|
+
taskId: string;
|
|
13307
|
+
title: string;
|
|
13308
|
+
status: "needsAction" | "completed";
|
|
13309
|
+
updated: string;
|
|
13310
|
+
notes?: string;
|
|
13311
|
+
/** Calendar date in YYYY-MM-DD format, without a time zone. */
|
|
13312
|
+
due?: string;
|
|
13313
|
+
completed?: string;
|
|
13314
|
+
parent?: string;
|
|
13315
|
+
position?: string;
|
|
13316
|
+
webViewLink?: string;
|
|
13317
|
+
}>;
|
|
13318
|
+
nextPageToken?: string;
|
|
13319
|
+
};
|
|
13320
|
+
};
|
|
13321
|
+
/** Move a task to another list, under a parent or to a new position. */
|
|
13322
|
+
tasks_move_task: {
|
|
13323
|
+
input: {
|
|
13324
|
+
taskListId: string;
|
|
13325
|
+
taskId: string;
|
|
13326
|
+
/** Destination list. Omit to move within the current list. */
|
|
13327
|
+
destinationTaskListId?: string;
|
|
13328
|
+
/** New parent task. Omit to move to the top level. */
|
|
13329
|
+
parent?: string;
|
|
13330
|
+
/** Previous sibling task. Omit to move to the first position. */
|
|
13331
|
+
previous?: string;
|
|
13332
|
+
};
|
|
13333
|
+
output: {
|
|
13334
|
+
taskId: string;
|
|
13335
|
+
title: string;
|
|
13336
|
+
status: "needsAction" | "completed";
|
|
13337
|
+
updated: string;
|
|
13338
|
+
notes?: string;
|
|
13339
|
+
/** Calendar date in YYYY-MM-DD format, without a time zone. */
|
|
13340
|
+
due?: string;
|
|
13341
|
+
completed?: string;
|
|
13342
|
+
parent?: string;
|
|
13343
|
+
position?: string;
|
|
13344
|
+
webViewLink?: string;
|
|
13345
|
+
};
|
|
13346
|
+
};
|
|
13347
|
+
/** Edit a task or mark it complete or incomplete. */
|
|
13348
|
+
tasks_update_task: {
|
|
13349
|
+
input: {
|
|
13350
|
+
taskListId: string;
|
|
13351
|
+
taskId: string;
|
|
13352
|
+
title?: string;
|
|
13353
|
+
/** Set null to clear the notes. */
|
|
13354
|
+
notes?: string | null;
|
|
13355
|
+
/** Set null to clear the due date. */
|
|
13356
|
+
due?: string | null;
|
|
13357
|
+
status?: "needsAction" | "completed";
|
|
13358
|
+
};
|
|
13359
|
+
output: {
|
|
13360
|
+
taskId: string;
|
|
13361
|
+
title: string;
|
|
13362
|
+
status: "needsAction" | "completed";
|
|
13363
|
+
updated: string;
|
|
13364
|
+
notes?: string;
|
|
13365
|
+
/** Calendar date in YYYY-MM-DD format, without a time zone. */
|
|
13366
|
+
due?: string;
|
|
13367
|
+
completed?: string;
|
|
13368
|
+
parent?: string;
|
|
13369
|
+
position?: string;
|
|
13370
|
+
webViewLink?: string;
|
|
13371
|
+
};
|
|
13372
|
+
};
|
|
11667
13373
|
/** Archive one HubSpot contact, company, deal, or ticket. */
|
|
11668
13374
|
hubspot_archive_record: {
|
|
11669
13375
|
input: {
|
|
@@ -12400,6 +14106,8 @@ export interface Tools {
|
|
|
12400
14106
|
caption?: string;
|
|
12401
14107
|
/** Optional thumbnail offset in milliseconds. */
|
|
12402
14108
|
thumbOffsetMs?: number;
|
|
14109
|
+
/** Publish as a trial reel, shown to non-followers first. MANUAL: the account shares it with followers in Instagram. SS_PERFORMANCE: Instagram shares it with followers if it performs well. Omit for a normal Reel. */
|
|
14110
|
+
trialGraduation?: "MANUAL" | "SS_PERFORMANCE";
|
|
12403
14111
|
};
|
|
12404
14112
|
output: {
|
|
12405
14113
|
mediaId: string;
|
|
@@ -13166,24 +14874,573 @@ export interface Tools {
|
|
|
13166
14874
|
};
|
|
13167
14875
|
};
|
|
13168
14876
|
};
|
|
13169
|
-
/**
|
|
13170
|
-
|
|
14877
|
+
/** Build a link from the form's own URL, with answers filled by unique field name. The link does not submit answers. */
|
|
14878
|
+
jotform_build_prefill_link: {
|
|
13171
14879
|
input: {
|
|
13172
|
-
|
|
13173
|
-
|
|
13174
|
-
|
|
13175
|
-
|
|
13176
|
-
|
|
13177
|
-
|
|
14880
|
+
formId: string;
|
|
14881
|
+
/** Answers keyed by field unique name, rather than question ID. */
|
|
14882
|
+
answers: {
|
|
14883
|
+
[key: string]: string | Array<string> | {
|
|
14884
|
+
[key: string]: string;
|
|
14885
|
+
};
|
|
14886
|
+
};
|
|
13178
14887
|
};
|
|
13179
14888
|
output: {
|
|
13180
|
-
postId: string;
|
|
13181
|
-
author: string;
|
|
13182
14889
|
url: string;
|
|
13183
14890
|
};
|
|
13184
14891
|
};
|
|
13185
|
-
/**
|
|
13186
|
-
|
|
14892
|
+
/** Submit answers to a form using question IDs. Requires a Full Access key. */
|
|
14893
|
+
jotform_create_submission: {
|
|
14894
|
+
input: {
|
|
14895
|
+
formId: string;
|
|
14896
|
+
/** Answers keyed by question ID; compound answers use subfield names, for example {"3":{"first":"Ada","last":"Lovelace"}}. */
|
|
14897
|
+
answers: {
|
|
14898
|
+
[key: string]: string | Array<string> | {
|
|
14899
|
+
[key: string]: string;
|
|
14900
|
+
};
|
|
14901
|
+
};
|
|
14902
|
+
};
|
|
14903
|
+
output: {
|
|
14904
|
+
submissionID: string;
|
|
14905
|
+
URL: string;
|
|
14906
|
+
};
|
|
14907
|
+
};
|
|
14908
|
+
/** Find submissions across forms by text or form IDs. */
|
|
14909
|
+
jotform_find_submissions: {
|
|
14910
|
+
input: {
|
|
14911
|
+
fullText?: string;
|
|
14912
|
+
formIDs?: Array<string>;
|
|
14913
|
+
limit?: number;
|
|
14914
|
+
offset?: number;
|
|
14915
|
+
};
|
|
14916
|
+
output: Array<{
|
|
14917
|
+
id: string;
|
|
14918
|
+
form_id: string;
|
|
14919
|
+
created_at: string;
|
|
14920
|
+
status: string;
|
|
14921
|
+
encryptionProtocol?: string;
|
|
14922
|
+
answers: {
|
|
14923
|
+
[key: string]: {
|
|
14924
|
+
name?: string;
|
|
14925
|
+
text?: string;
|
|
14926
|
+
type: string;
|
|
14927
|
+
answer?: unknown;
|
|
14928
|
+
[key: string]: unknown;
|
|
14929
|
+
};
|
|
14930
|
+
};
|
|
14931
|
+
[key: string]: unknown;
|
|
14932
|
+
}>;
|
|
14933
|
+
};
|
|
14934
|
+
/** Get a form's title, URL, settings and question IDs, names and types for writing answers. */
|
|
14935
|
+
jotform_get_form: {
|
|
14936
|
+
input: {
|
|
14937
|
+
formId: string;
|
|
14938
|
+
};
|
|
14939
|
+
output: {
|
|
14940
|
+
id: string;
|
|
14941
|
+
title: string;
|
|
14942
|
+
url: string;
|
|
14943
|
+
status: string;
|
|
14944
|
+
questions: {
|
|
14945
|
+
[key: string]: {
|
|
14946
|
+
name?: string;
|
|
14947
|
+
text?: string;
|
|
14948
|
+
type: string;
|
|
14949
|
+
[key: string]: unknown;
|
|
14950
|
+
};
|
|
14951
|
+
};
|
|
14952
|
+
[key: string]: unknown;
|
|
14953
|
+
};
|
|
14954
|
+
};
|
|
14955
|
+
/** Read a submission with its answers and field names. */
|
|
14956
|
+
jotform_get_submission: {
|
|
14957
|
+
input: {
|
|
14958
|
+
submissionId: string;
|
|
14959
|
+
};
|
|
14960
|
+
output: {
|
|
14961
|
+
id: string;
|
|
14962
|
+
form_id: string;
|
|
14963
|
+
created_at: string;
|
|
14964
|
+
status: string;
|
|
14965
|
+
encryptionProtocol?: string;
|
|
14966
|
+
answers: {
|
|
14967
|
+
[key: string]: {
|
|
14968
|
+
name?: string;
|
|
14969
|
+
text?: string;
|
|
14970
|
+
type: string;
|
|
14971
|
+
answer?: unknown;
|
|
14972
|
+
[key: string]: unknown;
|
|
14973
|
+
};
|
|
14974
|
+
};
|
|
14975
|
+
[key: string]: unknown;
|
|
14976
|
+
};
|
|
14977
|
+
};
|
|
14978
|
+
/** List this account's forms with their URLs and status. */
|
|
14979
|
+
jotform_list_forms: {
|
|
14980
|
+
input: {
|
|
14981
|
+
limit?: number;
|
|
14982
|
+
offset?: number;
|
|
14983
|
+
};
|
|
14984
|
+
output: Array<{
|
|
14985
|
+
id: string;
|
|
14986
|
+
title: string;
|
|
14987
|
+
url: string;
|
|
14988
|
+
status: string;
|
|
14989
|
+
[key: string]: unknown;
|
|
14990
|
+
}>;
|
|
14991
|
+
};
|
|
14992
|
+
/** Update answers, read state or flag on a submission. Requires a Full Access key. */
|
|
14993
|
+
jotform_update_submission: {
|
|
14994
|
+
input: {
|
|
14995
|
+
submissionId: string;
|
|
14996
|
+
/** Answers keyed by question ID; compound answers use subfield names, for example {"3":{"first":"Ada","last":"Lovelace"}}. */
|
|
14997
|
+
answers?: {
|
|
14998
|
+
[key: string]: string | Array<string> | {
|
|
14999
|
+
[key: string]: string;
|
|
15000
|
+
};
|
|
15001
|
+
};
|
|
15002
|
+
read?: boolean;
|
|
15003
|
+
flag?: boolean;
|
|
15004
|
+
};
|
|
15005
|
+
output: {
|
|
15006
|
+
submissionID: string;
|
|
15007
|
+
URL: string;
|
|
15008
|
+
};
|
|
15009
|
+
};
|
|
15010
|
+
/** Add the selected tags to a contact, keeping the contact's other tags. */
|
|
15011
|
+
kajabi_add_tags: {
|
|
15012
|
+
input: {
|
|
15013
|
+
contactId: string;
|
|
15014
|
+
tagIds: Array<string>;
|
|
15015
|
+
};
|
|
15016
|
+
output: {
|
|
15017
|
+
data: Array<{
|
|
15018
|
+
id: string;
|
|
15019
|
+
type: "contact_tags";
|
|
15020
|
+
}>;
|
|
15021
|
+
};
|
|
15022
|
+
};
|
|
15023
|
+
/** Find a contact by exact email in the selected site, or create one when none matches. Existing contact details stay unchanged. */
|
|
15024
|
+
kajabi_find_or_create_contact: {
|
|
15025
|
+
input: {
|
|
15026
|
+
siteId: string;
|
|
15027
|
+
name: string;
|
|
15028
|
+
email: string;
|
|
15029
|
+
phone_number?: string;
|
|
15030
|
+
business_number?: string;
|
|
15031
|
+
address_line_1?: string;
|
|
15032
|
+
address_line_2?: string;
|
|
15033
|
+
address_city?: string;
|
|
15034
|
+
address_state?: string;
|
|
15035
|
+
address_country?: string;
|
|
15036
|
+
address_zip?: string;
|
|
15037
|
+
custom_1?: string;
|
|
15038
|
+
custom_2?: string;
|
|
15039
|
+
custom_3?: string;
|
|
15040
|
+
subscribed?: boolean;
|
|
15041
|
+
};
|
|
15042
|
+
output: {
|
|
15043
|
+
created: boolean;
|
|
15044
|
+
contact: {
|
|
15045
|
+
id: string;
|
|
15046
|
+
type: "contacts";
|
|
15047
|
+
attributes: {
|
|
15048
|
+
email: string;
|
|
15049
|
+
[key: string]: unknown;
|
|
15050
|
+
};
|
|
15051
|
+
[key: string]: unknown;
|
|
15052
|
+
};
|
|
15053
|
+
};
|
|
15054
|
+
};
|
|
15055
|
+
/** Grant one offer to a contact. Kajabi creates a customer if needed and runs configured automations. Choose whether to send the welcome email. */
|
|
15056
|
+
kajabi_grant_offer: {
|
|
15057
|
+
input: {
|
|
15058
|
+
contactId: string;
|
|
15059
|
+
offerId: string;
|
|
15060
|
+
sendCustomerWelcomeEmail: boolean;
|
|
15061
|
+
};
|
|
15062
|
+
output: {
|
|
15063
|
+
data: Array<{
|
|
15064
|
+
id: string;
|
|
15065
|
+
type: "offers";
|
|
15066
|
+
}>;
|
|
15067
|
+
};
|
|
15068
|
+
};
|
|
15069
|
+
/** Remove only the selected tags from a contact, keeping the contact's other tags. */
|
|
15070
|
+
kajabi_remove_tags: {
|
|
15071
|
+
input: {
|
|
15072
|
+
contactId: string;
|
|
15073
|
+
tagIds: Array<string>;
|
|
15074
|
+
};
|
|
15075
|
+
output: {
|
|
15076
|
+
data: Array<{
|
|
15077
|
+
id: string;
|
|
15078
|
+
type: "contact_tags";
|
|
15079
|
+
}>;
|
|
15080
|
+
};
|
|
15081
|
+
};
|
|
15082
|
+
/** Revoke a contact's offer access and deactivate its product memberships, including purchased offers. */
|
|
15083
|
+
kajabi_revoke_offer: {
|
|
15084
|
+
input: {
|
|
15085
|
+
contactId: string;
|
|
15086
|
+
offerId: string;
|
|
15087
|
+
};
|
|
15088
|
+
output: {
|
|
15089
|
+
data: Array<{
|
|
15090
|
+
id: string;
|
|
15091
|
+
type: "offers";
|
|
15092
|
+
}>;
|
|
15093
|
+
};
|
|
15094
|
+
};
|
|
15095
|
+
/** Submit a Kajabi form with a name and email. This runs the form's opt-in, tags, offers, email sequences and automations. */
|
|
15096
|
+
kajabi_submit_form: {
|
|
15097
|
+
input: {
|
|
15098
|
+
formId: string;
|
|
15099
|
+
name: string;
|
|
15100
|
+
email: string;
|
|
15101
|
+
phone_number?: string;
|
|
15102
|
+
business_number?: string;
|
|
15103
|
+
address_line_1?: string;
|
|
15104
|
+
address_line_2?: string;
|
|
15105
|
+
address_city?: string;
|
|
15106
|
+
address_state?: string;
|
|
15107
|
+
address_country?: string;
|
|
15108
|
+
address_zip?: string;
|
|
15109
|
+
custom_1?: string;
|
|
15110
|
+
custom_2?: string;
|
|
15111
|
+
custom_3?: string;
|
|
15112
|
+
};
|
|
15113
|
+
output: {
|
|
15114
|
+
data: {
|
|
15115
|
+
id: string;
|
|
15116
|
+
type: string;
|
|
15117
|
+
attributes: {
|
|
15118
|
+
[key: string]: unknown;
|
|
15119
|
+
};
|
|
15120
|
+
[key: string]: unknown;
|
|
15121
|
+
};
|
|
15122
|
+
};
|
|
15123
|
+
};
|
|
15124
|
+
/** Apply a tag to an existing subscriber by email. Upsert the subscriber first if they do not exist. */
|
|
15125
|
+
kit_add_tag: {
|
|
15126
|
+
input: {
|
|
15127
|
+
tag_id: number;
|
|
15128
|
+
email_address: string;
|
|
15129
|
+
};
|
|
15130
|
+
output: {
|
|
15131
|
+
subscriber: {
|
|
15132
|
+
id: number;
|
|
15133
|
+
first_name: string | null;
|
|
15134
|
+
email_address: string;
|
|
15135
|
+
state: "active" | "cancelled" | "bounced" | "complained" | "inactive";
|
|
15136
|
+
created_at: string;
|
|
15137
|
+
fields: {
|
|
15138
|
+
[key: string]: string | null;
|
|
15139
|
+
};
|
|
15140
|
+
[key: string]: unknown;
|
|
15141
|
+
};
|
|
15142
|
+
warnings?: Array<string>;
|
|
15143
|
+
};
|
|
15144
|
+
};
|
|
15145
|
+
/** Add an existing subscriber to a form, sending its incentive email when configured. Upsert the subscriber first if they do not exist. */
|
|
15146
|
+
kit_add_to_form: {
|
|
15147
|
+
input: {
|
|
15148
|
+
form_id: number;
|
|
15149
|
+
email_address: string;
|
|
15150
|
+
referrer?: string | null;
|
|
15151
|
+
};
|
|
15152
|
+
output: {
|
|
15153
|
+
subscriber: {
|
|
15154
|
+
id: number;
|
|
15155
|
+
first_name: string | null;
|
|
15156
|
+
email_address: string;
|
|
15157
|
+
state: "active" | "cancelled" | "bounced" | "complained" | "inactive";
|
|
15158
|
+
created_at: string;
|
|
15159
|
+
fields: {
|
|
15160
|
+
[key: string]: string | null;
|
|
15161
|
+
};
|
|
15162
|
+
[key: string]: unknown;
|
|
15163
|
+
};
|
|
15164
|
+
warnings?: Array<string>;
|
|
15165
|
+
};
|
|
15166
|
+
};
|
|
15167
|
+
/** Add an existing subscriber to an email sequence. Upsert the subscriber first if they do not exist. */
|
|
15168
|
+
kit_add_to_sequence: {
|
|
15169
|
+
input: {
|
|
15170
|
+
sequence_id: number;
|
|
15171
|
+
email_address: string;
|
|
15172
|
+
};
|
|
15173
|
+
output: {
|
|
15174
|
+
subscriber: {
|
|
15175
|
+
id: number;
|
|
15176
|
+
first_name: string | null;
|
|
15177
|
+
email_address: string;
|
|
15178
|
+
state: "active" | "cancelled" | "bounced" | "complained" | "inactive";
|
|
15179
|
+
created_at: string;
|
|
15180
|
+
fields: {
|
|
15181
|
+
[key: string]: string | null;
|
|
15182
|
+
};
|
|
15183
|
+
[key: string]: unknown;
|
|
15184
|
+
};
|
|
15185
|
+
warnings?: Array<string>;
|
|
15186
|
+
};
|
|
15187
|
+
};
|
|
15188
|
+
/** Record a purchase and its products in Kit. A missing buyer is created as an active subscriber. */
|
|
15189
|
+
kit_create_purchase: {
|
|
15190
|
+
input: {
|
|
15191
|
+
email_address: string;
|
|
15192
|
+
transaction_id: string;
|
|
15193
|
+
status: string;
|
|
15194
|
+
subtotal: number;
|
|
15195
|
+
tax: number;
|
|
15196
|
+
shipping: number;
|
|
15197
|
+
discount: number;
|
|
15198
|
+
total: number;
|
|
15199
|
+
currency: string;
|
|
15200
|
+
transaction_time: string;
|
|
15201
|
+
products: Array<{
|
|
15202
|
+
name: string;
|
|
15203
|
+
pid: string;
|
|
15204
|
+
lid: string;
|
|
15205
|
+
quantity: number;
|
|
15206
|
+
unit_price: number;
|
|
15207
|
+
sku: string;
|
|
15208
|
+
}>;
|
|
15209
|
+
};
|
|
15210
|
+
output: {
|
|
15211
|
+
purchase: {
|
|
15212
|
+
id: number;
|
|
15213
|
+
transaction_id: string;
|
|
15214
|
+
subscriber_id: number;
|
|
15215
|
+
email_address: string;
|
|
15216
|
+
[key: string]: unknown;
|
|
15217
|
+
};
|
|
15218
|
+
};
|
|
15219
|
+
};
|
|
15220
|
+
/** Find a subscriber by exact email address, including inactive and unsubscribed subscribers. */
|
|
15221
|
+
kit_find_subscriber: {
|
|
15222
|
+
input: {
|
|
15223
|
+
email_address: string;
|
|
15224
|
+
per_page?: number;
|
|
15225
|
+
/** pagination.end_cursor from the previous page. */
|
|
15226
|
+
after?: string;
|
|
15227
|
+
};
|
|
15228
|
+
output: {
|
|
15229
|
+
subscribers: Array<{
|
|
15230
|
+
id: number;
|
|
15231
|
+
first_name: string | null;
|
|
15232
|
+
email_address: string;
|
|
15233
|
+
state: "active" | "cancelled" | "bounced" | "complained" | "inactive";
|
|
15234
|
+
created_at: string;
|
|
15235
|
+
fields: {
|
|
15236
|
+
[key: string]: string | null;
|
|
15237
|
+
};
|
|
15238
|
+
[key: string]: unknown;
|
|
15239
|
+
}>;
|
|
15240
|
+
pagination: {
|
|
15241
|
+
has_previous_page: boolean;
|
|
15242
|
+
has_next_page: boolean;
|
|
15243
|
+
start_cursor: string | null;
|
|
15244
|
+
end_cursor: string | null;
|
|
15245
|
+
per_page: number;
|
|
15246
|
+
};
|
|
15247
|
+
};
|
|
15248
|
+
};
|
|
15249
|
+
/** Read the connected Kit account, plan, timezone and sending addresses. */
|
|
15250
|
+
kit_get_account: {
|
|
15251
|
+
input: {
|
|
15252
|
+
[key: string]: never;
|
|
15253
|
+
};
|
|
15254
|
+
output: {
|
|
15255
|
+
user: {
|
|
15256
|
+
email: string;
|
|
15257
|
+
[key: string]: unknown;
|
|
15258
|
+
};
|
|
15259
|
+
account: {
|
|
15260
|
+
id: number;
|
|
15261
|
+
name: string;
|
|
15262
|
+
[key: string]: unknown;
|
|
15263
|
+
};
|
|
15264
|
+
};
|
|
15265
|
+
};
|
|
15266
|
+
/** List custom fields and the keys used when upserting a subscriber. */
|
|
15267
|
+
kit_list_custom_fields: {
|
|
15268
|
+
input: {
|
|
15269
|
+
per_page?: number;
|
|
15270
|
+
/** pagination.end_cursor from the previous page. */
|
|
15271
|
+
after?: string;
|
|
15272
|
+
};
|
|
15273
|
+
output: {
|
|
15274
|
+
custom_fields: Array<{
|
|
15275
|
+
id: number;
|
|
15276
|
+
name: string;
|
|
15277
|
+
key: string;
|
|
15278
|
+
label: string;
|
|
15279
|
+
}>;
|
|
15280
|
+
pagination: {
|
|
15281
|
+
has_previous_page: boolean;
|
|
15282
|
+
has_next_page: boolean;
|
|
15283
|
+
start_cursor: string | null;
|
|
15284
|
+
end_cursor: string | null;
|
|
15285
|
+
per_page: number;
|
|
15286
|
+
};
|
|
15287
|
+
};
|
|
15288
|
+
};
|
|
15289
|
+
/** List the account's forms and landing pages, with their IDs and public links. */
|
|
15290
|
+
kit_list_forms: {
|
|
15291
|
+
input: {
|
|
15292
|
+
per_page?: number;
|
|
15293
|
+
/** pagination.end_cursor from the previous page. */
|
|
15294
|
+
after?: string;
|
|
15295
|
+
};
|
|
15296
|
+
output: {
|
|
15297
|
+
forms: Array<{
|
|
15298
|
+
id: number;
|
|
15299
|
+
name: string;
|
|
15300
|
+
created_at: string;
|
|
15301
|
+
[key: string]: unknown;
|
|
15302
|
+
}>;
|
|
15303
|
+
pagination: {
|
|
15304
|
+
has_previous_page: boolean;
|
|
15305
|
+
has_next_page: boolean;
|
|
15306
|
+
start_cursor: string | null;
|
|
15307
|
+
end_cursor: string | null;
|
|
15308
|
+
per_page: number;
|
|
15309
|
+
};
|
|
15310
|
+
};
|
|
15311
|
+
};
|
|
15312
|
+
/** List recorded purchases, buyers, totals and purchased products. */
|
|
15313
|
+
kit_list_purchases: {
|
|
15314
|
+
input: {
|
|
15315
|
+
per_page?: number;
|
|
15316
|
+
/** pagination.end_cursor from the previous page. */
|
|
15317
|
+
after?: string;
|
|
15318
|
+
};
|
|
15319
|
+
output: {
|
|
15320
|
+
purchases: Array<{
|
|
15321
|
+
id: number;
|
|
15322
|
+
transaction_id: string;
|
|
15323
|
+
subscriber_id: number;
|
|
15324
|
+
email_address: string;
|
|
15325
|
+
[key: string]: unknown;
|
|
15326
|
+
}>;
|
|
15327
|
+
pagination: {
|
|
15328
|
+
has_previous_page: boolean;
|
|
15329
|
+
has_next_page: boolean;
|
|
15330
|
+
start_cursor: string | null;
|
|
15331
|
+
end_cursor: string | null;
|
|
15332
|
+
per_page: number;
|
|
15333
|
+
};
|
|
15334
|
+
};
|
|
15335
|
+
};
|
|
15336
|
+
/** List the account's automated email sequences and their IDs. */
|
|
15337
|
+
kit_list_sequences: {
|
|
15338
|
+
input: {
|
|
15339
|
+
per_page?: number;
|
|
15340
|
+
/** pagination.end_cursor from the previous page. */
|
|
15341
|
+
after?: string;
|
|
15342
|
+
};
|
|
15343
|
+
output: {
|
|
15344
|
+
sequences: Array<{
|
|
15345
|
+
id: number;
|
|
15346
|
+
name: string;
|
|
15347
|
+
created_at: string;
|
|
15348
|
+
[key: string]: unknown;
|
|
15349
|
+
}>;
|
|
15350
|
+
pagination: {
|
|
15351
|
+
has_previous_page: boolean;
|
|
15352
|
+
has_next_page: boolean;
|
|
15353
|
+
start_cursor: string | null;
|
|
15354
|
+
end_cursor: string | null;
|
|
15355
|
+
per_page: number;
|
|
15356
|
+
};
|
|
15357
|
+
};
|
|
15358
|
+
};
|
|
15359
|
+
/** List the account's tags and their IDs. */
|
|
15360
|
+
kit_list_tags: {
|
|
15361
|
+
input: {
|
|
15362
|
+
per_page?: number;
|
|
15363
|
+
/** pagination.end_cursor from the previous page. */
|
|
15364
|
+
after?: string;
|
|
15365
|
+
};
|
|
15366
|
+
output: {
|
|
15367
|
+
tags: Array<{
|
|
15368
|
+
id: number;
|
|
15369
|
+
name: string;
|
|
15370
|
+
created_at: string;
|
|
15371
|
+
[key: string]: unknown;
|
|
15372
|
+
}>;
|
|
15373
|
+
pagination: {
|
|
15374
|
+
has_previous_page: boolean;
|
|
15375
|
+
has_next_page: boolean;
|
|
15376
|
+
start_cursor: string | null;
|
|
15377
|
+
end_cursor: string | null;
|
|
15378
|
+
per_page: number;
|
|
15379
|
+
};
|
|
15380
|
+
};
|
|
15381
|
+
};
|
|
15382
|
+
/** Remove one tag from a subscriber by email, keeping the subscriber and their other tags. */
|
|
15383
|
+
kit_remove_tag: {
|
|
15384
|
+
input: {
|
|
15385
|
+
tag_id: number;
|
|
15386
|
+
email_address: string;
|
|
15387
|
+
};
|
|
15388
|
+
output: {
|
|
15389
|
+
[key: string]: never;
|
|
15390
|
+
};
|
|
15391
|
+
};
|
|
15392
|
+
/** Unsubscribe a subscriber from all future email. Only resubscribe them with their explicit permission. */
|
|
15393
|
+
kit_unsubscribe: {
|
|
15394
|
+
input: {
|
|
15395
|
+
subscriber_id: number;
|
|
15396
|
+
};
|
|
15397
|
+
output: {
|
|
15398
|
+
[key: string]: never;
|
|
15399
|
+
};
|
|
15400
|
+
};
|
|
15401
|
+
/** Create a subscriber or update an existing subscriber's first name and custom fields by email. */
|
|
15402
|
+
kit_upsert_subscriber: {
|
|
15403
|
+
input: {
|
|
15404
|
+
email_address: string;
|
|
15405
|
+
first_name?: string | null;
|
|
15406
|
+
state: "active" | "inactive" | "cancelled" | "bounced" | "complained";
|
|
15407
|
+
fields?: {
|
|
15408
|
+
[key: string]: string;
|
|
15409
|
+
};
|
|
15410
|
+
};
|
|
15411
|
+
output: {
|
|
15412
|
+
subscriber: {
|
|
15413
|
+
id: number;
|
|
15414
|
+
first_name: string | null;
|
|
15415
|
+
email_address: string;
|
|
15416
|
+
state: "active" | "cancelled" | "bounced" | "complained" | "inactive";
|
|
15417
|
+
created_at: string;
|
|
15418
|
+
fields: {
|
|
15419
|
+
[key: string]: string | null;
|
|
15420
|
+
};
|
|
15421
|
+
[key: string]: unknown;
|
|
15422
|
+
};
|
|
15423
|
+
warnings?: Array<string>;
|
|
15424
|
+
};
|
|
15425
|
+
};
|
|
15426
|
+
/** Publish a LinkedIn profile post that links to an article URL. */
|
|
15427
|
+
linkedin_profile_publish_article_post: {
|
|
15428
|
+
input: {
|
|
15429
|
+
/** Plain text to publish. LinkedIn reserved characters are escaped before posting. */
|
|
15430
|
+
commentary: string;
|
|
15431
|
+
/** Public article URL to attach to the post. */
|
|
15432
|
+
sourceUrl: string;
|
|
15433
|
+
title: string;
|
|
15434
|
+
description?: string;
|
|
15435
|
+
};
|
|
15436
|
+
output: {
|
|
15437
|
+
postId: string;
|
|
15438
|
+
author: string;
|
|
15439
|
+
url: string;
|
|
15440
|
+
};
|
|
15441
|
+
};
|
|
15442
|
+
/** Fetch a public image URL, upload it to LinkedIn, and publish it as the connected member profile. */
|
|
15443
|
+
linkedin_profile_publish_image_post: {
|
|
13187
15444
|
input: {
|
|
13188
15445
|
/** Plain text to publish. LinkedIn reserved characters are escaped before posting. */
|
|
13189
15446
|
commentary: string;
|
|
@@ -13595,6 +15852,48 @@ export interface Tools {
|
|
|
13595
15852
|
};
|
|
13596
15853
|
};
|
|
13597
15854
|
};
|
|
15855
|
+
/** Read what Meta still needs before lead ads run: a payment method, and each Page's lead terms, forms and leads. */
|
|
15856
|
+
meta_ads_check_setup: {
|
|
15857
|
+
input: {
|
|
15858
|
+
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
15859
|
+
accountId: string;
|
|
15860
|
+
};
|
|
15861
|
+
output: {
|
|
15862
|
+
pages: Array<{
|
|
15863
|
+
id: string;
|
|
15864
|
+
name: string;
|
|
15865
|
+
/** Null when Meta doesn't say. */
|
|
15866
|
+
leadTermsAccepted: boolean | null;
|
|
15867
|
+
/** Null until a Meta Lead Ads sign-in reaches this Page. */
|
|
15868
|
+
leadInstallationID: string | null;
|
|
15869
|
+
/** Null until leads reach the Inbox. */
|
|
15870
|
+
channel: {
|
|
15871
|
+
id: string;
|
|
15872
|
+
agentID: string;
|
|
15873
|
+
/** The line that texts these leads. Null: nobody is texted. */
|
|
15874
|
+
smsLine: string | null;
|
|
15875
|
+
} | null;
|
|
15876
|
+
/** Connected to this Page, so its ads run as this unless another is chosen. Null: under the Page's name. */
|
|
15877
|
+
instagramAccount: {
|
|
15878
|
+
id: string;
|
|
15879
|
+
username: string | null;
|
|
15880
|
+
} | null;
|
|
15881
|
+
forms: Array<{
|
|
15882
|
+
id: string;
|
|
15883
|
+
name: string;
|
|
15884
|
+
questionCount: number;
|
|
15885
|
+
/** Whether the form has the box asking permission to text. */
|
|
15886
|
+
canText: boolean;
|
|
15887
|
+
}>;
|
|
15888
|
+
}>;
|
|
15889
|
+
instagramAccounts: Array<{
|
|
15890
|
+
id: string;
|
|
15891
|
+
name: string;
|
|
15892
|
+
}>;
|
|
15893
|
+
/** Whether the ad account has one. Null when Meta doesn't say. */
|
|
15894
|
+
paymentMethod: boolean | null;
|
|
15895
|
+
};
|
|
15896
|
+
};
|
|
13598
15897
|
/** Create one ad with an explicit status from an owned ad set and creative in the Meta ad account. */
|
|
13599
15898
|
meta_ads_create_ad: {
|
|
13600
15899
|
input: {
|
|
@@ -13767,6 +16066,7 @@ export interface Tools {
|
|
|
13767
16066
|
creativeFeatures?: {
|
|
13768
16067
|
[key: string]: "OPT_IN" | "OPT_OUT";
|
|
13769
16068
|
};
|
|
16069
|
+
/** Left out, Meta may show other businesses' ads beside this one; OPT_OUT keeps them away. */
|
|
13770
16070
|
multiAdvertiser?: "OPT_IN" | "OPT_OUT";
|
|
13771
16071
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
13772
16072
|
accountId: string;
|
|
@@ -14006,7 +16306,7 @@ export interface Tools {
|
|
|
14006
16306
|
excluded_publisher_categories?: Array<string>;
|
|
14007
16307
|
excluded_publisher_list_ids?: Array<string>;
|
|
14008
16308
|
targeting_automation: {
|
|
14009
|
-
/** 1
|
|
16309
|
+
/** 1, Meta's default, may go past your ages and interests, never past your places, minimum age or exclusions. */
|
|
14010
16310
|
advantage_audience: 0 | 1;
|
|
14011
16311
|
individual_setting?: {
|
|
14012
16312
|
geo?: 0 | 1;
|
|
@@ -14106,10 +16406,8 @@ export interface Tools {
|
|
|
14106
16406
|
lifetimeBudgetMinorUnits?: string;
|
|
14107
16407
|
/** Required when neither campaign daily nor lifetime budget is set. false keeps each ad set's budget separate; true allows Meta to share up to 20% between ad sets. Choose explicitly. */
|
|
14108
16408
|
isAdsetBudgetSharingEnabled?: boolean;
|
|
14109
|
-
/** Meta campaign spending limit, subject to a currency-specific minimum ($100 USD). For a smaller fixed test budget, use lifetimeBudgetMinorUnits with
|
|
16409
|
+
/** Meta campaign spending limit, subject to a currency-specific minimum ($100 USD). For a smaller fixed test budget, use lifetimeBudgetMinorUnits instead, with endsAt on each ad set. */
|
|
14110
16410
|
spendCapMinorUnits?: string;
|
|
14111
|
-
startsAt?: string;
|
|
14112
|
-
endsAt?: string;
|
|
14113
16411
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
14114
16412
|
accountId: string;
|
|
14115
16413
|
};
|
|
@@ -14151,7 +16449,6 @@ export interface Tools {
|
|
|
14151
16449
|
kind: "lookalike";
|
|
14152
16450
|
name: string;
|
|
14153
16451
|
originAudienceId: string;
|
|
14154
|
-
country: string;
|
|
14155
16452
|
ratio: number;
|
|
14156
16453
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
14157
16454
|
accountId: string;
|
|
@@ -14674,7 +16971,7 @@ export interface Tools {
|
|
|
14674
16971
|
excluded_publisher_categories?: Array<string>;
|
|
14675
16972
|
excluded_publisher_list_ids?: Array<string>;
|
|
14676
16973
|
targeting_automation: {
|
|
14677
|
-
/** 1
|
|
16974
|
+
/** 1, Meta's default, may go past your ages and interests, never past your places, minimum age or exclusions. */
|
|
14678
16975
|
advantage_audience: 0 | 1;
|
|
14679
16976
|
individual_setting?: {
|
|
14680
16977
|
geo?: 0 | 1;
|
|
@@ -14728,7 +17025,7 @@ export interface Tools {
|
|
|
14728
17025
|
}>;
|
|
14729
17026
|
};
|
|
14730
17027
|
};
|
|
14731
|
-
/** Read the Meta ad account's status, currency, timezone, and spend balances, and on request its business, finance, and EU DSA settings. */
|
|
17028
|
+
/** Read the Meta ad account's status with what it means, currency, timezone, and spend balances, and on request its business, finance, and EU DSA settings. */
|
|
14732
17029
|
meta_ads_get_account: {
|
|
14733
17030
|
input: {
|
|
14734
17031
|
/** Sections to read with the account: business (only the Meta business that owns it, or null when none does; never other businesses the user can reach), finance (exact minor-unit balances, spend cap and funding-source display), dsaDefaults (its configured EU DSA beneficiary and payor), dsaRecommendations (Meta's suggested DSA disclosure names, never applied). */
|
|
@@ -14740,8 +17037,12 @@ export interface Tools {
|
|
|
14740
17037
|
account: {
|
|
14741
17038
|
accountId: string;
|
|
14742
17039
|
name: string;
|
|
17040
|
+
/** Meta's account_status: only 1, active, runs ads. */
|
|
14743
17041
|
status: number;
|
|
17042
|
+
/** What status means, in words to tell the owner. */
|
|
17043
|
+
statusMeaning: string;
|
|
14744
17044
|
currency: string;
|
|
17045
|
+
/** The clock Meta counts this account's days on: insights dates and presets such as today are its days. */
|
|
14745
17046
|
timezoneName: string;
|
|
14746
17047
|
disableReason?: number;
|
|
14747
17048
|
amountSpentMinorUnits?: string;
|
|
@@ -15174,7 +17475,53 @@ export interface Tools {
|
|
|
15174
17475
|
criteriaValueTypes: Array<"NONE" | "LOCATION_COUNTRY" | "LOCATION_REGION" | "LOCATION_CITY" | "LOCATION_COMSCORE_MARKET">;
|
|
15175
17476
|
}>;
|
|
15176
17477
|
}>;
|
|
15177
|
-
};
|
|
17478
|
+
};
|
|
17479
|
+
};
|
|
17480
|
+
};
|
|
17481
|
+
/** Build and turn on a whole instant-form lead campaign in one step. */
|
|
17482
|
+
meta_ads_launch_campaign: {
|
|
17483
|
+
input: {
|
|
17484
|
+
name: string;
|
|
17485
|
+
/** Per day. A plain amount of the account's currency, as the owner says it: 20 is $20. Not the minor units of the other Meta Ads tools, where $20 is 2000. */
|
|
17486
|
+
dailyBudget: number;
|
|
17487
|
+
/** Null gets the most leads for the budget; a number caps the average cost per lead. A plain amount of the account's currency, as the owner says it: 20 is $20. Not the minor units of the other Meta Ads tools, where $20 is 2000. */
|
|
17488
|
+
costPerResultGoal: number | null;
|
|
17489
|
+
/** HOUSING where Meta requires it, such as home sales, rentals and repairs; NONE otherwise. */
|
|
17490
|
+
specialAdCategory: "NONE" | "HOUSING" | "FINANCIAL_PRODUCTS_SERVICES" | "EMPLOYMENT";
|
|
17491
|
+
startsAt: string | null;
|
|
17492
|
+
endsAt: string | null;
|
|
17493
|
+
adSets: Array<{
|
|
17494
|
+
name: string;
|
|
17495
|
+
pageId: string;
|
|
17496
|
+
/** Null runs on Instagram as the Page's connected account, or under the Page's name and picture if it has none. */
|
|
17497
|
+
instagramUserId: string | null;
|
|
17498
|
+
formId: string;
|
|
17499
|
+
/** Places as meta_ads_search_targeting returns them. */
|
|
17500
|
+
places: Array<{
|
|
17501
|
+
key: string;
|
|
17502
|
+
type: "country" | "region" | "city" | "zip";
|
|
17503
|
+
countryCode: string;
|
|
17504
|
+
/** Miles around a city; null for any other place. */
|
|
17505
|
+
radiusMiles: number | null;
|
|
17506
|
+
}>;
|
|
17507
|
+
ads: Array<{
|
|
17508
|
+
name: string;
|
|
17509
|
+
messages: Array<string>;
|
|
17510
|
+
headlines: Array<string>;
|
|
17511
|
+
descriptions: Array<string>;
|
|
17512
|
+
callToAction: "APPLY_NOW" | "DOWNLOAD" | "GET_QUOTE" | "LEARN_MORE" | "SIGN_UP" | "SUBSCRIBE";
|
|
17513
|
+
feedImageHash: string;
|
|
17514
|
+
/** 9:16, for Stories and Reels; null shows the feed image there. */
|
|
17515
|
+
verticalImageHash: string | null;
|
|
17516
|
+
}>;
|
|
17517
|
+
}>;
|
|
17518
|
+
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
17519
|
+
accountId: string;
|
|
17520
|
+
};
|
|
17521
|
+
output: {
|
|
17522
|
+
campaignId: string;
|
|
17523
|
+
/** What the campaign now spends a day, as the owner reads it: $20.00. */
|
|
17524
|
+
dailyBudget: string;
|
|
15178
17525
|
};
|
|
15179
17526
|
};
|
|
15180
17527
|
/** Read the ad account's provider audit log with bounded filters and pagination. */
|
|
@@ -15211,7 +17558,7 @@ export interface Tools {
|
|
|
15211
17558
|
after?: string;
|
|
15212
17559
|
};
|
|
15213
17560
|
};
|
|
15214
|
-
/** List the ad accounts this connection acts on, and the other
|
|
17561
|
+
/** List the ad accounts this connection acts on, and the other ad accounts its sign-in reaches. Every other Meta Ads tool names one of the first by accountId. */
|
|
15215
17562
|
meta_ads_list_accounts: {
|
|
15216
17563
|
input: {
|
|
15217
17564
|
[key: string]: never;
|
|
@@ -15224,6 +17571,8 @@ export interface Tools {
|
|
|
15224
17571
|
otherAccounts: Array<{
|
|
15225
17572
|
accountId: string;
|
|
15226
17573
|
label: string;
|
|
17574
|
+
/** Meta's status for the account, in words to tell the owner. */
|
|
17575
|
+
statusMeaning: string;
|
|
15227
17576
|
}>;
|
|
15228
17577
|
};
|
|
15229
17578
|
};
|
|
@@ -15578,12 +17927,9 @@ export interface Tools {
|
|
|
15578
17927
|
after?: string;
|
|
15579
17928
|
};
|
|
15580
17929
|
};
|
|
15581
|
-
/** List Facebook Pages
|
|
17930
|
+
/** List the Facebook Pages the connected Meta sign-in can run ads from. */
|
|
15582
17931
|
meta_ads_list_promotable_pages: {
|
|
15583
17932
|
input: {
|
|
15584
|
-
limit?: number;
|
|
15585
|
-
/** Opaque cursor returned by the preceding list call. */
|
|
15586
|
-
after?: string;
|
|
15587
17933
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
15588
17934
|
accountId: string;
|
|
15589
17935
|
};
|
|
@@ -15592,7 +17938,6 @@ export interface Tools {
|
|
|
15592
17938
|
id: string;
|
|
15593
17939
|
name: string;
|
|
15594
17940
|
}>;
|
|
15595
|
-
after?: string;
|
|
15596
17941
|
};
|
|
15597
17942
|
};
|
|
15598
17943
|
/** List reservation quotes and reservations owned by the Meta ad account. */
|
|
@@ -16102,7 +18447,7 @@ export interface Tools {
|
|
|
16102
18447
|
excluded_publisher_categories?: Array<string>;
|
|
16103
18448
|
excluded_publisher_list_ids?: Array<string>;
|
|
16104
18449
|
targeting_automation: {
|
|
16105
|
-
/** 1
|
|
18450
|
+
/** 1, Meta's default, may go past your ages and interests, never past your places, minimum age or exclusions. */
|
|
16106
18451
|
advantage_audience: 0 | 1;
|
|
16107
18452
|
individual_setting?: {
|
|
16108
18453
|
geo?: 0 | 1;
|
|
@@ -16239,6 +18584,8 @@ export interface Tools {
|
|
|
16239
18584
|
name: string;
|
|
16240
18585
|
type?: string;
|
|
16241
18586
|
countryCode?: string;
|
|
18587
|
+
/** The state or region a city or ZIP code is in: it tells same-name places apart. */
|
|
18588
|
+
region?: string;
|
|
16242
18589
|
audienceSizeLowerBound?: number;
|
|
16243
18590
|
audienceSizeUpperBound?: number;
|
|
16244
18591
|
}>;
|
|
@@ -16548,7 +18895,7 @@ export interface Tools {
|
|
|
16548
18895
|
excluded_publisher_categories?: Array<string>;
|
|
16549
18896
|
excluded_publisher_list_ids?: Array<string>;
|
|
16550
18897
|
targeting_automation?: {
|
|
16551
|
-
/** 1
|
|
18898
|
+
/** 1, Meta's default, may go past your ages and interests, never past your places, minimum age or exclusions. */
|
|
16552
18899
|
advantage_audience: 0 | 1;
|
|
16553
18900
|
individual_setting?: {
|
|
16554
18901
|
geo?: 0 | 1;
|
|
@@ -16644,10 +18991,8 @@ export interface Tools {
|
|
|
16644
18991
|
dailyBudgetMinorUnits?: string;
|
|
16645
18992
|
/** Total budget. Meta counts money in units of the account currency: 100 per unit for most currencies (USD 50 = 5000), and 1 per unit for CLP, COP, CRC, HUF, ISK, IDR, JPY, KRW, PYG, TWD and VND (JPY 5000 = 5000). Do not also set dailyBudgetMinorUnits. */
|
|
16646
18993
|
lifetimeBudgetMinorUnits?: string;
|
|
16647
|
-
/** Meta campaign spending limit, subject to a currency-specific minimum ($100 USD). For a smaller fixed test budget, use lifetimeBudgetMinorUnits with
|
|
18994
|
+
/** Meta campaign spending limit, subject to a currency-specific minimum ($100 USD). For a smaller fixed test budget, use lifetimeBudgetMinorUnits instead, with endsAt on each ad set. */
|
|
16648
18995
|
spendCapMinorUnits?: string;
|
|
16649
|
-
startsAt?: string;
|
|
16650
|
-
endsAt?: string;
|
|
16651
18996
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
16652
18997
|
accountId: string;
|
|
16653
18998
|
};
|
|
@@ -16708,8 +19053,10 @@ export interface Tools {
|
|
|
16708
19053
|
/** Fetch and upload one bounded image into the Meta ad account. */
|
|
16709
19054
|
meta_ads_upload_image: {
|
|
16710
19055
|
input: {
|
|
19056
|
+
/** A ready image in this conversation, such as the owner's own job photo. */
|
|
19057
|
+
sessionFileId?: string;
|
|
16711
19058
|
/** Public HTTPS image URL that Superclerk will fetch once without redirects. */
|
|
16712
|
-
fileUrl
|
|
19059
|
+
fileUrl?: string;
|
|
16713
19060
|
/** The ad account the call acts on: one of this connection's accounts, as meta_ads_list_accounts lists them. */
|
|
16714
19061
|
accountId: string;
|
|
16715
19062
|
};
|
|
@@ -16909,7 +19256,7 @@ export interface Tools {
|
|
|
16909
19256
|
url: string;
|
|
16910
19257
|
linkText: string;
|
|
16911
19258
|
};
|
|
16912
|
-
/** True adds the box asking permission to text, in Superclerk's wording: optional, unticked and named for the Page. Only leads who tick it are texted. */
|
|
19259
|
+
/** True adds the box asking permission to text, in Superclerk's wording: optional, unticked and named for the Page. Only leads who tick it are texted. Requires a PHONE question. */
|
|
16913
19260
|
askTextConsent?: boolean;
|
|
16914
19261
|
customDisclaimer?: {
|
|
16915
19262
|
title: string;
|
|
@@ -16935,6 +19282,7 @@ export interface Tools {
|
|
|
16935
19282
|
} | {
|
|
16936
19283
|
type: "CUSTOM";
|
|
16937
19284
|
key: string;
|
|
19285
|
+
/** Only what no predefined field asks: Meta disapproves a custom question that repeats one. */
|
|
16938
19286
|
label: string;
|
|
16939
19287
|
options?: Array<{
|
|
16940
19288
|
key: string;
|
|
@@ -16953,6 +19301,7 @@ export interface Tools {
|
|
|
16953
19301
|
websiteUrl?: string;
|
|
16954
19302
|
/** Required for CALL_BUSINESS; include the international dialing code. */
|
|
16955
19303
|
businessPhoneNumber?: string;
|
|
19304
|
+
/** The country of businessPhoneNumber, for CALL_BUSINESS. */
|
|
16956
19305
|
countryCode?: string;
|
|
16957
19306
|
enableMessenger?: boolean;
|
|
16958
19307
|
};
|
|
@@ -16965,6 +19314,7 @@ export interface Tools {
|
|
|
16965
19314
|
questionPageCustomHeadline?: string;
|
|
16966
19315
|
allowOrganicLeadRetrieval?: boolean;
|
|
16967
19316
|
blockDisplayForNonTargetedViewer?: boolean;
|
|
19317
|
+
/** True is Higher intent: a review screen, fewer leads. Leave it out for More volume, Meta's default. */
|
|
16968
19318
|
isOptimizedForQuality?: boolean;
|
|
16969
19319
|
isLeadCaptureAiAgentEnabled?: boolean;
|
|
16970
19320
|
/** Requires a PHONE question when true. */
|
|
@@ -19411,48 +21761,445 @@ export interface Tools {
|
|
|
19411
21761
|
message: string;
|
|
19412
21762
|
};
|
|
19413
21763
|
output: {
|
|
19414
|
-
/** Photon chat ID returned by Create iMessage Chat & Send Message. */
|
|
19415
|
-
chatId: string;
|
|
19416
|
-
phoneNumber: string;
|
|
19417
|
-
/** Null when Photon acknowledges a duplicate without its original GUID. */
|
|
19418
|
-
messageId: string | null;
|
|
19419
|
-
/** Photon acknowledged this idempotency key without returning its original message. */
|
|
19420
|
-
duplicate: boolean;
|
|
21764
|
+
/** Photon chat ID returned by Create iMessage Chat & Send Message. */
|
|
21765
|
+
chatId: string;
|
|
21766
|
+
phoneNumber: string;
|
|
21767
|
+
/** Null when Photon acknowledges a duplicate without its original GUID. */
|
|
21768
|
+
messageId: string | null;
|
|
21769
|
+
/** Photon acknowledged this idempotency key without returning its original message. */
|
|
21770
|
+
duplicate: boolean;
|
|
21771
|
+
};
|
|
21772
|
+
};
|
|
21773
|
+
/** Send an existing Photon audio attachment using Apple's voice-message bubble. */
|
|
21774
|
+
photon_send_voice_note: {
|
|
21775
|
+
input: {
|
|
21776
|
+
/** Photon chat ID returned by Create iMessage Chat & Send Message. */
|
|
21777
|
+
chatId: string;
|
|
21778
|
+
/** Existing uploaded or received Photon audio attachment GUID on this line. */
|
|
21779
|
+
attachmentId: string;
|
|
21780
|
+
};
|
|
21781
|
+
output: {
|
|
21782
|
+
/** Photon chat ID returned by Create iMessage Chat & Send Message. */
|
|
21783
|
+
chatId: string;
|
|
21784
|
+
/** Null when Photon acknowledges a duplicate without its original GUID. */
|
|
21785
|
+
messageId: string | null;
|
|
21786
|
+
/** Photon acknowledged this idempotency key without returning its original message. */
|
|
21787
|
+
duplicate: boolean;
|
|
21788
|
+
};
|
|
21789
|
+
};
|
|
21790
|
+
/** Retract a message sent by the connected line within Apple's 2-minute unsend window. */
|
|
21791
|
+
photon_unsend_message: {
|
|
21792
|
+
input: {
|
|
21793
|
+
/** Photon chat ID returned by Create iMessage Chat & Send Message. */
|
|
21794
|
+
chatId: string;
|
|
21795
|
+
/** Photon message GUID returned by a message tool. */
|
|
21796
|
+
messageId: string;
|
|
21797
|
+
/** Zero-based bubble index for a multipart message. Omit for the whole message. */
|
|
21798
|
+
partIndex?: number;
|
|
21799
|
+
};
|
|
21800
|
+
output: {
|
|
21801
|
+
/** Photon chat ID returned by Create iMessage Chat & Send Message. */
|
|
21802
|
+
chatId: string;
|
|
21803
|
+
/** Photon message GUID returned by a message tool. */
|
|
21804
|
+
messageId: string;
|
|
21805
|
+
retracted: true;
|
|
21806
|
+
};
|
|
21807
|
+
};
|
|
21808
|
+
/** Create a call, meeting or task. Link people through participants; primary selects the activity's person. */
|
|
21809
|
+
pipedrive_add_activity: {
|
|
21810
|
+
input: {
|
|
21811
|
+
subject: string;
|
|
21812
|
+
type: string;
|
|
21813
|
+
owner_id?: number;
|
|
21814
|
+
deal_id?: number;
|
|
21815
|
+
lead_id?: string;
|
|
21816
|
+
org_id?: number;
|
|
21817
|
+
due_date?: string;
|
|
21818
|
+
due_time?: string;
|
|
21819
|
+
duration?: string;
|
|
21820
|
+
done?: boolean;
|
|
21821
|
+
note?: string;
|
|
21822
|
+
participants?: Array<{
|
|
21823
|
+
person_id: number;
|
|
21824
|
+
primary: boolean;
|
|
21825
|
+
}>;
|
|
21826
|
+
};
|
|
21827
|
+
output: {
|
|
21828
|
+
success: true;
|
|
21829
|
+
data: {
|
|
21830
|
+
id: number | string;
|
|
21831
|
+
[key: string]: unknown;
|
|
21832
|
+
};
|
|
21833
|
+
};
|
|
21834
|
+
};
|
|
21835
|
+
/** Add an HTML note to a deal, lead, person or organization. */
|
|
21836
|
+
pipedrive_add_note: {
|
|
21837
|
+
input: {
|
|
21838
|
+
content: string;
|
|
21839
|
+
deal_id?: number;
|
|
21840
|
+
lead_id?: string;
|
|
21841
|
+
person_id?: number;
|
|
21842
|
+
org_id?: number;
|
|
21843
|
+
};
|
|
21844
|
+
output: {
|
|
21845
|
+
success: true;
|
|
21846
|
+
data: {
|
|
21847
|
+
id: number | string;
|
|
21848
|
+
[key: string]: unknown;
|
|
21849
|
+
};
|
|
21850
|
+
};
|
|
21851
|
+
};
|
|
21852
|
+
/** Create a deal in an explicit pipeline and stage, linked to a person or organization when supplied. */
|
|
21853
|
+
pipedrive_create_deal: {
|
|
21854
|
+
input: {
|
|
21855
|
+
title: string;
|
|
21856
|
+
owner_id?: number;
|
|
21857
|
+
person_id?: number;
|
|
21858
|
+
org_id?: number;
|
|
21859
|
+
pipeline_id: number;
|
|
21860
|
+
stage_id: number;
|
|
21861
|
+
value?: number;
|
|
21862
|
+
currency?: string;
|
|
21863
|
+
status?: "open" | "won" | "lost";
|
|
21864
|
+
expected_close_date?: string;
|
|
21865
|
+
probability?: number;
|
|
21866
|
+
lost_reason?: string;
|
|
21867
|
+
custom_fields?: {
|
|
21868
|
+
[key: string]: unknown;
|
|
21869
|
+
};
|
|
21870
|
+
};
|
|
21871
|
+
output: {
|
|
21872
|
+
success: true;
|
|
21873
|
+
data: {
|
|
21874
|
+
id: number | string;
|
|
21875
|
+
[key: string]: unknown;
|
|
21876
|
+
};
|
|
21877
|
+
};
|
|
21878
|
+
};
|
|
21879
|
+
/** Create a lead linked to a person or organization, with an optional value and expected close date. */
|
|
21880
|
+
pipedrive_create_lead: {
|
|
21881
|
+
input: {
|
|
21882
|
+
title: string;
|
|
21883
|
+
owner_id?: number;
|
|
21884
|
+
person_id?: number;
|
|
21885
|
+
organization_id?: number;
|
|
21886
|
+
value?: {
|
|
21887
|
+
amount: number;
|
|
21888
|
+
currency: string;
|
|
21889
|
+
};
|
|
21890
|
+
expected_close_date?: string;
|
|
21891
|
+
};
|
|
21892
|
+
output: {
|
|
21893
|
+
success: true;
|
|
21894
|
+
data: {
|
|
21895
|
+
id: number | string;
|
|
21896
|
+
[key: string]: unknown;
|
|
21897
|
+
};
|
|
21898
|
+
};
|
|
21899
|
+
};
|
|
21900
|
+
/** Create an organization with its owner, address, website and custom fields. */
|
|
21901
|
+
pipedrive_create_organization: {
|
|
21902
|
+
input: {
|
|
21903
|
+
name: string;
|
|
21904
|
+
owner_id?: number;
|
|
21905
|
+
address?: {
|
|
21906
|
+
value: string;
|
|
21907
|
+
};
|
|
21908
|
+
website?: string;
|
|
21909
|
+
custom_fields?: {
|
|
21910
|
+
[key: string]: unknown;
|
|
21911
|
+
};
|
|
21912
|
+
};
|
|
21913
|
+
output: {
|
|
21914
|
+
success: true;
|
|
21915
|
+
data: {
|
|
21916
|
+
id: number | string;
|
|
21917
|
+
[key: string]: unknown;
|
|
21918
|
+
};
|
|
21919
|
+
};
|
|
21920
|
+
};
|
|
21921
|
+
/** Read a deal's stage, value, status, person, organization and custom fields by ID. */
|
|
21922
|
+
pipedrive_get_deal: {
|
|
21923
|
+
input: {
|
|
21924
|
+
id: number;
|
|
21925
|
+
};
|
|
21926
|
+
output: {
|
|
21927
|
+
success: true;
|
|
21928
|
+
data: {
|
|
21929
|
+
id: number | string;
|
|
21930
|
+
[key: string]: unknown;
|
|
21931
|
+
};
|
|
21932
|
+
};
|
|
21933
|
+
};
|
|
21934
|
+
/** Read an organization's address, owner and custom fields by ID. */
|
|
21935
|
+
pipedrive_get_organization: {
|
|
21936
|
+
input: {
|
|
21937
|
+
id: number;
|
|
21938
|
+
};
|
|
21939
|
+
output: {
|
|
21940
|
+
success: true;
|
|
21941
|
+
data: {
|
|
21942
|
+
id: number | string;
|
|
21943
|
+
[key: string]: unknown;
|
|
21944
|
+
};
|
|
21945
|
+
};
|
|
21946
|
+
};
|
|
21947
|
+
/** Read a person's contact details, organization and custom fields by ID. */
|
|
21948
|
+
pipedrive_get_person: {
|
|
21949
|
+
input: {
|
|
21950
|
+
id: number;
|
|
21951
|
+
};
|
|
21952
|
+
output: {
|
|
21953
|
+
success: true;
|
|
21954
|
+
data: {
|
|
21955
|
+
id: number | string;
|
|
21956
|
+
[key: string]: unknown;
|
|
21957
|
+
};
|
|
21958
|
+
};
|
|
21959
|
+
};
|
|
21960
|
+
/** Read activities, optionally by owner, deal, lead, person, organization or completion status. */
|
|
21961
|
+
pipedrive_list_activities: {
|
|
21962
|
+
input: {
|
|
21963
|
+
owner_id?: number;
|
|
21964
|
+
deal_id?: number;
|
|
21965
|
+
lead_id?: string;
|
|
21966
|
+
person_id?: number;
|
|
21967
|
+
org_id?: number;
|
|
21968
|
+
done?: boolean;
|
|
21969
|
+
limit?: number;
|
|
21970
|
+
cursor?: string;
|
|
21971
|
+
};
|
|
21972
|
+
output: {
|
|
21973
|
+
success: true;
|
|
21974
|
+
data: Array<{
|
|
21975
|
+
[key: string]: unknown;
|
|
21976
|
+
}>;
|
|
21977
|
+
additional_data: {
|
|
21978
|
+
next_cursor: string | null;
|
|
21979
|
+
};
|
|
21980
|
+
};
|
|
21981
|
+
};
|
|
21982
|
+
/** Read activity type names and key_string values for creating activities. */
|
|
21983
|
+
pipedrive_list_activity_types: {
|
|
21984
|
+
input: {
|
|
21985
|
+
[key: string]: never;
|
|
21986
|
+
};
|
|
21987
|
+
output: {
|
|
21988
|
+
success: true;
|
|
21989
|
+
data: Array<{
|
|
21990
|
+
[key: string]: unknown;
|
|
21991
|
+
}>;
|
|
21992
|
+
};
|
|
21993
|
+
};
|
|
21994
|
+
/** Read field codes, types and available options before setting deal, person or organization custom fields. */
|
|
21995
|
+
pipedrive_list_fields: {
|
|
21996
|
+
input: {
|
|
21997
|
+
object: "deal" | "person" | "organization";
|
|
21998
|
+
limit?: number;
|
|
21999
|
+
cursor?: string;
|
|
22000
|
+
};
|
|
22001
|
+
output: {
|
|
22002
|
+
success: true;
|
|
22003
|
+
data: Array<{
|
|
22004
|
+
[key: string]: unknown;
|
|
22005
|
+
}>;
|
|
22006
|
+
additional_data: {
|
|
22007
|
+
next_cursor: string | null;
|
|
22008
|
+
};
|
|
22009
|
+
};
|
|
22010
|
+
};
|
|
22011
|
+
/** Read notes attached to deals, leads, people or organizations. */
|
|
22012
|
+
pipedrive_list_notes: {
|
|
22013
|
+
input: {
|
|
22014
|
+
deal_id?: number;
|
|
22015
|
+
lead_id?: string;
|
|
22016
|
+
person_id?: number;
|
|
22017
|
+
org_id?: number;
|
|
22018
|
+
start?: number;
|
|
22019
|
+
limit?: number;
|
|
22020
|
+
};
|
|
22021
|
+
output: {
|
|
22022
|
+
success: true;
|
|
22023
|
+
data: Array<{
|
|
22024
|
+
[key: string]: unknown;
|
|
22025
|
+
}>;
|
|
22026
|
+
additional_data: {
|
|
22027
|
+
pagination: {
|
|
22028
|
+
start: number;
|
|
22029
|
+
limit: number;
|
|
22030
|
+
more_items_in_collection: boolean;
|
|
22031
|
+
next_start?: number;
|
|
22032
|
+
};
|
|
22033
|
+
};
|
|
22034
|
+
};
|
|
22035
|
+
};
|
|
22036
|
+
/** Read the company's deal pipelines. */
|
|
22037
|
+
pipedrive_list_pipelines: {
|
|
22038
|
+
input: {
|
|
22039
|
+
limit?: number;
|
|
22040
|
+
cursor?: string;
|
|
22041
|
+
};
|
|
22042
|
+
output: {
|
|
22043
|
+
success: true;
|
|
22044
|
+
data: Array<{
|
|
22045
|
+
[key: string]: unknown;
|
|
22046
|
+
}>;
|
|
22047
|
+
additional_data: {
|
|
22048
|
+
next_cursor: string | null;
|
|
22049
|
+
};
|
|
22050
|
+
};
|
|
22051
|
+
};
|
|
22052
|
+
/** Read deal stages, optionally within one pipeline. */
|
|
22053
|
+
pipedrive_list_stages: {
|
|
22054
|
+
input: {
|
|
22055
|
+
pipeline_id?: number;
|
|
22056
|
+
limit?: number;
|
|
22057
|
+
cursor?: string;
|
|
22058
|
+
};
|
|
22059
|
+
output: {
|
|
22060
|
+
success: true;
|
|
22061
|
+
data: Array<{
|
|
22062
|
+
[key: string]: unknown;
|
|
22063
|
+
}>;
|
|
22064
|
+
additional_data: {
|
|
22065
|
+
next_cursor: string | null;
|
|
22066
|
+
};
|
|
22067
|
+
};
|
|
22068
|
+
};
|
|
22069
|
+
/** Read the company's users and their active status to choose an owner. */
|
|
22070
|
+
pipedrive_list_users: {
|
|
22071
|
+
input: {
|
|
22072
|
+
[key: string]: never;
|
|
22073
|
+
};
|
|
22074
|
+
output: {
|
|
22075
|
+
success: true;
|
|
22076
|
+
data: Array<{
|
|
22077
|
+
[key: string]: unknown;
|
|
22078
|
+
}>;
|
|
22079
|
+
};
|
|
22080
|
+
};
|
|
22081
|
+
/** Find deals by title, notes or searchable custom fields. */
|
|
22082
|
+
pipedrive_search_deals: {
|
|
22083
|
+
input: {
|
|
22084
|
+
term: string;
|
|
22085
|
+
exact_match?: boolean;
|
|
22086
|
+
limit?: number;
|
|
22087
|
+
cursor?: string;
|
|
22088
|
+
};
|
|
22089
|
+
output: {
|
|
22090
|
+
success: true;
|
|
22091
|
+
data: {
|
|
22092
|
+
items: Array<{
|
|
22093
|
+
result_score: number;
|
|
22094
|
+
item: {
|
|
22095
|
+
id: number;
|
|
22096
|
+
[key: string]: unknown;
|
|
22097
|
+
};
|
|
22098
|
+
}>;
|
|
22099
|
+
};
|
|
22100
|
+
additional_data: {
|
|
22101
|
+
next_cursor: string | null;
|
|
22102
|
+
};
|
|
22103
|
+
};
|
|
22104
|
+
};
|
|
22105
|
+
/** Find organizations by name, address, notes or searchable custom fields. */
|
|
22106
|
+
pipedrive_search_organizations: {
|
|
22107
|
+
input: {
|
|
22108
|
+
term: string;
|
|
22109
|
+
exact_match?: boolean;
|
|
22110
|
+
limit?: number;
|
|
22111
|
+
cursor?: string;
|
|
22112
|
+
};
|
|
22113
|
+
output: {
|
|
22114
|
+
success: true;
|
|
22115
|
+
data: {
|
|
22116
|
+
items: Array<{
|
|
22117
|
+
result_score: number;
|
|
22118
|
+
item: {
|
|
22119
|
+
id: number;
|
|
22120
|
+
[key: string]: unknown;
|
|
22121
|
+
};
|
|
22122
|
+
}>;
|
|
22123
|
+
};
|
|
22124
|
+
additional_data: {
|
|
22125
|
+
next_cursor: string | null;
|
|
22126
|
+
};
|
|
22127
|
+
};
|
|
22128
|
+
};
|
|
22129
|
+
/** Find people by name, email, phone, notes or searchable custom fields. */
|
|
22130
|
+
pipedrive_search_persons: {
|
|
22131
|
+
input: {
|
|
22132
|
+
term: string;
|
|
22133
|
+
exact_match?: boolean;
|
|
22134
|
+
limit?: number;
|
|
22135
|
+
cursor?: string;
|
|
22136
|
+
};
|
|
22137
|
+
output: {
|
|
22138
|
+
success: true;
|
|
22139
|
+
data: {
|
|
22140
|
+
items: Array<{
|
|
22141
|
+
result_score: number;
|
|
22142
|
+
item: {
|
|
22143
|
+
id: number;
|
|
22144
|
+
[key: string]: unknown;
|
|
22145
|
+
};
|
|
22146
|
+
}>;
|
|
22147
|
+
};
|
|
22148
|
+
additional_data: {
|
|
22149
|
+
next_cursor: string | null;
|
|
22150
|
+
};
|
|
19421
22151
|
};
|
|
19422
22152
|
};
|
|
19423
|
-
/**
|
|
19424
|
-
|
|
22153
|
+
/** Change a deal's stage, status, value, owner, links or custom fields. */
|
|
22154
|
+
pipedrive_update_deal: {
|
|
19425
22155
|
input: {
|
|
19426
|
-
|
|
19427
|
-
|
|
19428
|
-
|
|
19429
|
-
|
|
22156
|
+
id: number;
|
|
22157
|
+
title?: string;
|
|
22158
|
+
owner_id?: number;
|
|
22159
|
+
person_id?: number;
|
|
22160
|
+
org_id?: number;
|
|
22161
|
+
pipeline_id?: number;
|
|
22162
|
+
stage_id?: number;
|
|
22163
|
+
value?: number;
|
|
22164
|
+
currency?: string;
|
|
22165
|
+
status?: "open" | "won" | "lost";
|
|
22166
|
+
expected_close_date?: string;
|
|
22167
|
+
probability?: number;
|
|
22168
|
+
lost_reason?: string;
|
|
22169
|
+
custom_fields?: {
|
|
22170
|
+
[key: string]: unknown;
|
|
22171
|
+
};
|
|
19430
22172
|
};
|
|
19431
22173
|
output: {
|
|
19432
|
-
|
|
19433
|
-
|
|
19434
|
-
|
|
19435
|
-
|
|
19436
|
-
|
|
19437
|
-
duplicate: boolean;
|
|
22174
|
+
success: true;
|
|
22175
|
+
data: {
|
|
22176
|
+
id: number | string;
|
|
22177
|
+
[key: string]: unknown;
|
|
22178
|
+
};
|
|
19438
22179
|
};
|
|
19439
22180
|
};
|
|
19440
|
-
/**
|
|
19441
|
-
|
|
22181
|
+
/** Find a person by exact email, update that person or create one when no match exists. Multiple matches are refused. */
|
|
22182
|
+
pipedrive_upsert_person: {
|
|
19442
22183
|
input: {
|
|
19443
|
-
|
|
19444
|
-
|
|
19445
|
-
|
|
19446
|
-
|
|
19447
|
-
|
|
19448
|
-
|
|
22184
|
+
email: string;
|
|
22185
|
+
name: string;
|
|
22186
|
+
owner_id?: number;
|
|
22187
|
+
org_id?: number;
|
|
22188
|
+
phones?: Array<{
|
|
22189
|
+
value: string;
|
|
22190
|
+
primary: boolean;
|
|
22191
|
+
label?: string;
|
|
22192
|
+
}>;
|
|
22193
|
+
custom_fields?: {
|
|
22194
|
+
[key: string]: unknown;
|
|
22195
|
+
};
|
|
19449
22196
|
};
|
|
19450
22197
|
output: {
|
|
19451
|
-
|
|
19452
|
-
|
|
19453
|
-
|
|
19454
|
-
|
|
19455
|
-
|
|
22198
|
+
success: true;
|
|
22199
|
+
data: {
|
|
22200
|
+
id: number | string;
|
|
22201
|
+
[key: string]: unknown;
|
|
22202
|
+
};
|
|
19456
22203
|
};
|
|
19457
22204
|
};
|
|
19458
22205
|
/** Add one or more leads to a PlusVibe campaign. */
|
|
@@ -19535,8 +22282,8 @@ export interface Tools {
|
|
|
19535
22282
|
workspaceId: string;
|
|
19536
22283
|
/** Start date accepted by PlusVibe, for example YYYY-MM-DD. */
|
|
19537
22284
|
startDate: string;
|
|
19538
|
-
|
|
19539
|
-
|
|
22285
|
+
/** End date accepted by PlusVibe, for example YYYY-MM-DD. */
|
|
22286
|
+
endDate: string;
|
|
19540
22287
|
provider?: Array<"GOOGLE_WORKSPACE" | "MICROSOFT365" | "REGULAR_ACCOUNT">;
|
|
19541
22288
|
tags?: Array<string>;
|
|
19542
22289
|
recipientProvider?: Array<"GOOGLE_WORKSPACE" | "MICROSOFT365" | "REGULAR_ACCOUNT">;
|
|
@@ -19558,8 +22305,9 @@ export interface Tools {
|
|
|
19558
22305
|
campaignId?: string;
|
|
19559
22306
|
parentCampaignId?: string;
|
|
19560
22307
|
status?: string;
|
|
19561
|
-
campaignType?: "parent" | "
|
|
19562
|
-
|
|
22308
|
+
campaignType?: "all" | "parent" | "subseq";
|
|
22309
|
+
/** nextStartingAfter from the previous page; omit for the first page. */
|
|
22310
|
+
startingAfter?: string;
|
|
19563
22311
|
limit?: number;
|
|
19564
22312
|
};
|
|
19565
22313
|
output: {
|
|
@@ -19583,6 +22331,7 @@ export interface Tools {
|
|
|
19583
22331
|
openRate?: number;
|
|
19584
22332
|
replyRate?: number;
|
|
19585
22333
|
}>;
|
|
22334
|
+
nextStartingAfter?: string;
|
|
19586
22335
|
};
|
|
19587
22336
|
};
|
|
19588
22337
|
/** List recent PlusVibe Unibox emails with lead, campaign, thread, and body context. */
|
|
@@ -19590,9 +22339,12 @@ export interface Tools {
|
|
|
19590
22339
|
input: {
|
|
19591
22340
|
/** PlusVibe workspace id. */
|
|
19592
22341
|
workspaceId: string;
|
|
22342
|
+
/** Read one conversation's messages. */
|
|
22343
|
+
threadId?: string;
|
|
22344
|
+
/** nextStartingAfter from the previous page; omit for the first page. */
|
|
22345
|
+
startingAfter?: string;
|
|
19593
22346
|
};
|
|
19594
22347
|
output: {
|
|
19595
|
-
pageTrail?: string;
|
|
19596
22348
|
emails: Array<{
|
|
19597
22349
|
emailId: string;
|
|
19598
22350
|
messageId?: string;
|
|
@@ -19613,6 +22365,7 @@ export interface Tools {
|
|
|
19613
22365
|
bodyText?: string;
|
|
19614
22366
|
bodyHtml?: string;
|
|
19615
22367
|
}>;
|
|
22368
|
+
nextStartingAfter?: string;
|
|
19616
22369
|
};
|
|
19617
22370
|
};
|
|
19618
22371
|
/** List PlusVibe leads filtered by campaign, status, label, email, or name. */
|
|
@@ -19621,15 +22374,14 @@ export interface Tools {
|
|
|
19621
22374
|
/** PlusVibe workspace id. */
|
|
19622
22375
|
workspaceId: string;
|
|
19623
22376
|
campaignId?: string;
|
|
19624
|
-
status?: "SKIPPED" | "COMPLETED" | "
|
|
22377
|
+
status?: "SKIPPED" | "COMPLETED" | "NOT_CONTACTED" | "CONTACTED" | "BOUNCED" | "REPLIED" | "UNSUBSCRIBED" | "PAUSED";
|
|
19625
22378
|
label?: string;
|
|
19626
22379
|
email?: string;
|
|
19627
22380
|
firstName?: string;
|
|
19628
22381
|
lastName?: string;
|
|
19629
|
-
page
|
|
22382
|
+
/** nextStartingAfter from the previous page; omit for the first page. */
|
|
22383
|
+
startingAfter?: string;
|
|
19630
22384
|
limit?: number;
|
|
19631
|
-
sort?: string;
|
|
19632
|
-
direction?: "asc" | "desc";
|
|
19633
22385
|
};
|
|
19634
22386
|
output: {
|
|
19635
22387
|
leads: Array<{
|
|
@@ -19653,6 +22405,7 @@ export interface Tools {
|
|
|
19653
22405
|
[key: string]: unknown;
|
|
19654
22406
|
};
|
|
19655
22407
|
}>;
|
|
22408
|
+
nextStartingAfter?: string;
|
|
19656
22409
|
};
|
|
19657
22410
|
};
|
|
19658
22411
|
/** List PlusVibe workspaces available to the connected API key. */
|
|
@@ -19672,8 +22425,8 @@ export interface Tools {
|
|
|
19672
22425
|
input: {
|
|
19673
22426
|
/** PlusVibe workspace id. */
|
|
19674
22427
|
workspaceId: string;
|
|
19675
|
-
/** PlusVibe
|
|
19676
|
-
|
|
22428
|
+
/** PlusVibe thread id (threadId from List PlusVibe Emails) to draft the reply on. */
|
|
22429
|
+
threadId: string;
|
|
19677
22430
|
/** Connected PlusVibe sender mailbox. */
|
|
19678
22431
|
from: string;
|
|
19679
22432
|
/** Reply recipients. */
|
|
@@ -19700,6 +22453,8 @@ export interface Tools {
|
|
|
19700
22453
|
email: string;
|
|
19701
22454
|
/** Optional campaign id to scope the lookup. */
|
|
19702
22455
|
campaignId?: string;
|
|
22456
|
+
/** nextStartingAfter from the previous page; omit for the first page. */
|
|
22457
|
+
startingAfter?: string;
|
|
19703
22458
|
};
|
|
19704
22459
|
output: {
|
|
19705
22460
|
leads: Array<{
|
|
@@ -19723,6 +22478,7 @@ export interface Tools {
|
|
|
19723
22478
|
[key: string]: unknown;
|
|
19724
22479
|
};
|
|
19725
22480
|
}>;
|
|
22481
|
+
nextStartingAfter?: string;
|
|
19726
22482
|
};
|
|
19727
22483
|
};
|
|
19728
22484
|
/** Update a PlusVibe lead label or custom variables after review/classification. */
|
|
@@ -20324,6 +23080,67 @@ export interface Tools {
|
|
|
20324
23080
|
};
|
|
20325
23081
|
};
|
|
20326
23082
|
};
|
|
23083
|
+
/** Create one record in any Salesforce object, such as Lead, Opportunity, Task or CampaignMember. */
|
|
23084
|
+
salesforce_create_record: {
|
|
23085
|
+
input: {
|
|
23086
|
+
sObject: string;
|
|
23087
|
+
fields: {
|
|
23088
|
+
[key: string]: string | number | boolean | null | Array<unknown> | {
|
|
23089
|
+
[key: string]: unknown;
|
|
23090
|
+
};
|
|
23091
|
+
};
|
|
23092
|
+
};
|
|
23093
|
+
output: {
|
|
23094
|
+
sObject: string;
|
|
23095
|
+
recordId: string;
|
|
23096
|
+
created: boolean;
|
|
23097
|
+
};
|
|
23098
|
+
};
|
|
23099
|
+
/** Find Salesforce records with SOQL. Use the returned IDs in later workflow steps. */
|
|
23100
|
+
salesforce_query: {
|
|
23101
|
+
input: {
|
|
23102
|
+
query: string;
|
|
23103
|
+
};
|
|
23104
|
+
output: {
|
|
23105
|
+
totalSize: number;
|
|
23106
|
+
records: Array<{
|
|
23107
|
+
[key: string]: unknown;
|
|
23108
|
+
}>;
|
|
23109
|
+
};
|
|
23110
|
+
};
|
|
23111
|
+
/** Update the given fields of one Salesforce record. Find its record ID with Query Salesforce first. */
|
|
23112
|
+
salesforce_update_record: {
|
|
23113
|
+
input: {
|
|
23114
|
+
sObject: string;
|
|
23115
|
+
recordId: string;
|
|
23116
|
+
fields: {
|
|
23117
|
+
[key: string]: string | number | boolean | null | Array<unknown> | {
|
|
23118
|
+
[key: string]: unknown;
|
|
23119
|
+
};
|
|
23120
|
+
};
|
|
23121
|
+
};
|
|
23122
|
+
output: {
|
|
23123
|
+
sObject: string;
|
|
23124
|
+
recordId: string;
|
|
23125
|
+
created: boolean;
|
|
23126
|
+
};
|
|
23127
|
+
};
|
|
23128
|
+
/** Update the contact with this email, or create one if none matches. Refuse ambiguous matches. */
|
|
23129
|
+
salesforce_upsert_contact: {
|
|
23130
|
+
input: {
|
|
23131
|
+
email: string;
|
|
23132
|
+
fields: {
|
|
23133
|
+
[key: string]: string | number | boolean | null | Array<unknown> | {
|
|
23134
|
+
[key: string]: unknown;
|
|
23135
|
+
};
|
|
23136
|
+
};
|
|
23137
|
+
};
|
|
23138
|
+
output: {
|
|
23139
|
+
sObject: string;
|
|
23140
|
+
recordId: string;
|
|
23141
|
+
created: boolean;
|
|
23142
|
+
};
|
|
23143
|
+
};
|
|
20327
23144
|
/** Create a folder in SharePoint. A folder of that name already there fails rather than being renamed. */
|
|
20328
23145
|
sharepoint_create_folder: {
|
|
20329
23146
|
input: {
|
|
@@ -22394,24 +25211,372 @@ export interface Tools {
|
|
|
22394
25211
|
}>;
|
|
22395
25212
|
};
|
|
22396
25213
|
output: {
|
|
22397
|
-
listId: string;
|
|
22398
|
-
updatedCellCount: number;
|
|
22399
|
-
itemIds: Array<string>;
|
|
25214
|
+
listId: string;
|
|
25215
|
+
updatedCellCount: number;
|
|
25216
|
+
itemIds: Array<string>;
|
|
25217
|
+
};
|
|
25218
|
+
};
|
|
25219
|
+
/** Replace the text of a message authored by this Slack bot. */
|
|
25220
|
+
slack_update_own_message: {
|
|
25221
|
+
input: {
|
|
25222
|
+
/** Conversation containing the bot-authored message. */
|
|
25223
|
+
channelId: string;
|
|
25224
|
+
/** Timestamp of the bot-authored message to replace. */
|
|
25225
|
+
messageTs: string;
|
|
25226
|
+
/** Complete replacement message in standard Markdown. */
|
|
25227
|
+
text: string;
|
|
25228
|
+
};
|
|
25229
|
+
output: {
|
|
25230
|
+
channel: string;
|
|
25231
|
+
ts: string;
|
|
25232
|
+
};
|
|
25233
|
+
};
|
|
25234
|
+
/** Add one customer to an existing customer group. */
|
|
25235
|
+
square_add_customer_to_group: {
|
|
25236
|
+
input: {
|
|
25237
|
+
customerId: string;
|
|
25238
|
+
groupId: string;
|
|
25239
|
+
};
|
|
25240
|
+
output: {
|
|
25241
|
+
[key: string]: never;
|
|
25242
|
+
};
|
|
25243
|
+
};
|
|
25244
|
+
/** Cancel an appointment using its current version. Requires Square Appointments Plus or Premium. */
|
|
25245
|
+
square_cancel_booking: {
|
|
25246
|
+
input: {
|
|
25247
|
+
bookingId: string;
|
|
25248
|
+
version: number;
|
|
25249
|
+
};
|
|
25250
|
+
output: {
|
|
25251
|
+
booking: {
|
|
25252
|
+
[key: string]: unknown;
|
|
25253
|
+
};
|
|
25254
|
+
};
|
|
25255
|
+
};
|
|
25256
|
+
/** Book an appointment for a customer. Requires Square Appointments Plus or Premium; use an available slot and service variation version. */
|
|
25257
|
+
square_create_booking: {
|
|
25258
|
+
input: {
|
|
25259
|
+
locationId: string;
|
|
25260
|
+
customerId: string;
|
|
25261
|
+
startAt: string;
|
|
25262
|
+
segments: Array<{
|
|
25263
|
+
durationMinutes: number;
|
|
25264
|
+
teamMemberId: string;
|
|
25265
|
+
serviceVariationId: string;
|
|
25266
|
+
serviceVariationVersion: number;
|
|
25267
|
+
}>;
|
|
25268
|
+
customerNote?: string;
|
|
25269
|
+
sellerNote?: string;
|
|
25270
|
+
};
|
|
25271
|
+
output: {
|
|
25272
|
+
booking: {
|
|
25273
|
+
[key: string]: unknown;
|
|
25274
|
+
};
|
|
25275
|
+
};
|
|
25276
|
+
};
|
|
25277
|
+
/** Add a customer to Square with their contact details. */
|
|
25278
|
+
square_create_customer: {
|
|
25279
|
+
input: {
|
|
25280
|
+
givenName?: string;
|
|
25281
|
+
familyName?: string;
|
|
25282
|
+
companyName?: string;
|
|
25283
|
+
email?: string;
|
|
25284
|
+
phone?: string;
|
|
25285
|
+
referenceId?: string;
|
|
25286
|
+
note?: string;
|
|
25287
|
+
address?: {
|
|
25288
|
+
address_line_1?: string;
|
|
25289
|
+
address_line_2?: string;
|
|
25290
|
+
locality?: string;
|
|
25291
|
+
administrative_district_level_1?: string;
|
|
25292
|
+
postal_code?: string;
|
|
25293
|
+
country?: string;
|
|
25294
|
+
};
|
|
25295
|
+
};
|
|
25296
|
+
output: {
|
|
25297
|
+
customer: {
|
|
25298
|
+
[key: string]: unknown;
|
|
25299
|
+
};
|
|
25300
|
+
};
|
|
25301
|
+
};
|
|
25302
|
+
/** Create an order and its draft invoice for a customer. Use Send Square Invoice to email the invoice afterward. */
|
|
25303
|
+
square_create_invoice: {
|
|
25304
|
+
input: {
|
|
25305
|
+
locationId: string;
|
|
25306
|
+
customerId: string;
|
|
25307
|
+
lineItems: Array<{
|
|
25308
|
+
name: string;
|
|
25309
|
+
quantity: string;
|
|
25310
|
+
price: {
|
|
25311
|
+
amount: number;
|
|
25312
|
+
currency: string;
|
|
25313
|
+
};
|
|
25314
|
+
}>;
|
|
25315
|
+
dueDate: string;
|
|
25316
|
+
title?: string;
|
|
25317
|
+
description?: string;
|
|
25318
|
+
};
|
|
25319
|
+
output: {
|
|
25320
|
+
invoice: {
|
|
25321
|
+
[key: string]: unknown;
|
|
25322
|
+
};
|
|
25323
|
+
};
|
|
25324
|
+
};
|
|
25325
|
+
/** Create a Square checkout link for a named item and price, ready to share with a customer. */
|
|
25326
|
+
square_create_payment_link: {
|
|
25327
|
+
input: {
|
|
25328
|
+
locationId: string;
|
|
25329
|
+
name: string;
|
|
25330
|
+
price: {
|
|
25331
|
+
amount: number;
|
|
25332
|
+
currency: string;
|
|
25333
|
+
};
|
|
25334
|
+
description?: string;
|
|
25335
|
+
paymentNote?: string;
|
|
25336
|
+
redirectUrl?: string;
|
|
25337
|
+
};
|
|
25338
|
+
output: {
|
|
25339
|
+
payment_link: {
|
|
25340
|
+
[key: string]: unknown;
|
|
25341
|
+
};
|
|
25342
|
+
};
|
|
25343
|
+
};
|
|
25344
|
+
/** Read team members who can take appointments, optionally at one location. */
|
|
25345
|
+
square_list_bookable_team: {
|
|
25346
|
+
input: {
|
|
25347
|
+
locationId?: string;
|
|
25348
|
+
cursor?: string;
|
|
25349
|
+
limit?: number;
|
|
25350
|
+
};
|
|
25351
|
+
output: {
|
|
25352
|
+
team_member_booking_profiles: Array<{
|
|
25353
|
+
[key: string]: unknown;
|
|
25354
|
+
}>;
|
|
25355
|
+
cursor?: string;
|
|
25356
|
+
};
|
|
25357
|
+
};
|
|
25358
|
+
/** Read the seller's appointments in a time window, optionally for a customer or team member. */
|
|
25359
|
+
square_list_bookings: {
|
|
25360
|
+
input: {
|
|
25361
|
+
locationId: string;
|
|
25362
|
+
startAtMin: string;
|
|
25363
|
+
startAtMax: string;
|
|
25364
|
+
customerId?: string;
|
|
25365
|
+
teamMemberId?: string;
|
|
25366
|
+
cursor?: string;
|
|
25367
|
+
limit?: number;
|
|
25368
|
+
};
|
|
25369
|
+
output: {
|
|
25370
|
+
bookings: Array<{
|
|
25371
|
+
[key: string]: unknown;
|
|
25372
|
+
}>;
|
|
25373
|
+
cursor?: string;
|
|
25374
|
+
};
|
|
25375
|
+
};
|
|
25376
|
+
/** Read the seller's customer groups and their IDs. */
|
|
25377
|
+
square_list_customer_groups: {
|
|
25378
|
+
input: {
|
|
25379
|
+
cursor?: string;
|
|
25380
|
+
};
|
|
25381
|
+
output: {
|
|
25382
|
+
groups: Array<{
|
|
25383
|
+
[key: string]: unknown;
|
|
25384
|
+
}>;
|
|
25385
|
+
cursor?: string;
|
|
25386
|
+
};
|
|
25387
|
+
};
|
|
25388
|
+
/** Read invoices for a location, including their versions, payment status and public links. */
|
|
25389
|
+
square_list_invoices: {
|
|
25390
|
+
input: {
|
|
25391
|
+
locationId: string;
|
|
25392
|
+
cursor?: string;
|
|
25393
|
+
limit?: number;
|
|
25394
|
+
};
|
|
25395
|
+
output: {
|
|
25396
|
+
invoices: Array<{
|
|
25397
|
+
[key: string]: unknown;
|
|
25398
|
+
}>;
|
|
25399
|
+
cursor?: string;
|
|
25400
|
+
};
|
|
25401
|
+
};
|
|
25402
|
+
/** Read the seller's business locations, their addresses, currencies and time zones. */
|
|
25403
|
+
square_list_locations: {
|
|
25404
|
+
input: {
|
|
25405
|
+
[key: string]: never;
|
|
25406
|
+
};
|
|
25407
|
+
output: {
|
|
25408
|
+
locations: Array<{
|
|
25409
|
+
[key: string]: unknown;
|
|
25410
|
+
}>;
|
|
25411
|
+
};
|
|
25412
|
+
};
|
|
25413
|
+
/** Read payments for a location in a creation or update time range, including payment status and receipts. */
|
|
25414
|
+
square_list_payments: {
|
|
25415
|
+
input: {
|
|
25416
|
+
locationId: string;
|
|
25417
|
+
beginTime?: string;
|
|
25418
|
+
endTime?: string;
|
|
25419
|
+
updatedAfter?: string;
|
|
25420
|
+
updatedBefore?: string;
|
|
25421
|
+
cursor?: string;
|
|
25422
|
+
limit?: number;
|
|
25423
|
+
};
|
|
25424
|
+
output: {
|
|
25425
|
+
payments: Array<{
|
|
25426
|
+
[key: string]: unknown;
|
|
25427
|
+
}>;
|
|
25428
|
+
cursor?: string;
|
|
25429
|
+
};
|
|
25430
|
+
};
|
|
25431
|
+
/** Read appointment services and their variations, versions, prices and durations for booking. */
|
|
25432
|
+
square_list_services: {
|
|
25433
|
+
input: {
|
|
25434
|
+
search?: string;
|
|
25435
|
+
locationId?: string;
|
|
25436
|
+
cursor?: string;
|
|
25437
|
+
limit?: number;
|
|
25438
|
+
};
|
|
25439
|
+
output: {
|
|
25440
|
+
items: Array<{
|
|
25441
|
+
[key: string]: unknown;
|
|
25442
|
+
}>;
|
|
25443
|
+
cursor?: string;
|
|
22400
25444
|
};
|
|
22401
25445
|
};
|
|
22402
|
-
/**
|
|
22403
|
-
|
|
25446
|
+
/** Refund all or part of a payment in its currency's smallest unit. This returns money to the customer. */
|
|
25447
|
+
square_refund_payment: {
|
|
22404
25448
|
input: {
|
|
22405
|
-
|
|
22406
|
-
|
|
22407
|
-
|
|
22408
|
-
|
|
22409
|
-
|
|
22410
|
-
|
|
25449
|
+
paymentId: string;
|
|
25450
|
+
amount: {
|
|
25451
|
+
amount: number;
|
|
25452
|
+
currency: string;
|
|
25453
|
+
};
|
|
25454
|
+
reason?: string;
|
|
25455
|
+
paymentVersionToken?: string;
|
|
22411
25456
|
};
|
|
22412
25457
|
output: {
|
|
22413
|
-
|
|
22414
|
-
|
|
25458
|
+
refund: {
|
|
25459
|
+
[key: string]: unknown;
|
|
25460
|
+
};
|
|
25461
|
+
};
|
|
25462
|
+
};
|
|
25463
|
+
/** Remove a customer's membership from one group. */
|
|
25464
|
+
square_remove_customer_from_group: {
|
|
25465
|
+
input: {
|
|
25466
|
+
customerId: string;
|
|
25467
|
+
groupId: string;
|
|
25468
|
+
};
|
|
25469
|
+
output: {
|
|
25470
|
+
[key: string]: never;
|
|
25471
|
+
};
|
|
25472
|
+
};
|
|
25473
|
+
/** Move an appointment using its current version and new slot. Requires Square Appointments Plus or Premium. */
|
|
25474
|
+
square_reschedule_booking: {
|
|
25475
|
+
input: {
|
|
25476
|
+
bookingId: string;
|
|
25477
|
+
version: number;
|
|
25478
|
+
startAt: string;
|
|
25479
|
+
segments?: Array<{
|
|
25480
|
+
durationMinutes: number;
|
|
25481
|
+
teamMemberId: string;
|
|
25482
|
+
serviceVariationId: string;
|
|
25483
|
+
serviceVariationVersion: number;
|
|
25484
|
+
}>;
|
|
25485
|
+
};
|
|
25486
|
+
output: {
|
|
25487
|
+
booking: {
|
|
25488
|
+
[key: string]: unknown;
|
|
25489
|
+
};
|
|
25490
|
+
};
|
|
25491
|
+
};
|
|
25492
|
+
/** Find available appointment slots for a location and services, optionally with chosen team members. */
|
|
25493
|
+
square_search_availability: {
|
|
25494
|
+
input: {
|
|
25495
|
+
locationId: string;
|
|
25496
|
+
startAt: string;
|
|
25497
|
+
endAt: string;
|
|
25498
|
+
segments: Array<{
|
|
25499
|
+
serviceVariationId: string;
|
|
25500
|
+
teamMemberIds?: Array<string>;
|
|
25501
|
+
}>;
|
|
25502
|
+
};
|
|
25503
|
+
output: {
|
|
25504
|
+
availabilities: Array<{
|
|
25505
|
+
[key: string]: unknown;
|
|
25506
|
+
}>;
|
|
25507
|
+
};
|
|
25508
|
+
};
|
|
25509
|
+
/** Find customers by email, phone, reference ID or group, with contact details and their creation source. */
|
|
25510
|
+
square_search_customers: {
|
|
25511
|
+
input: {
|
|
25512
|
+
email?: string;
|
|
25513
|
+
phone?: string;
|
|
25514
|
+
referenceId?: string;
|
|
25515
|
+
groupId?: string;
|
|
25516
|
+
cursor?: string;
|
|
25517
|
+
limit?: number;
|
|
25518
|
+
};
|
|
25519
|
+
output: {
|
|
25520
|
+
customers: Array<{
|
|
25521
|
+
[key: string]: unknown;
|
|
25522
|
+
}>;
|
|
25523
|
+
cursor?: string;
|
|
25524
|
+
};
|
|
25525
|
+
};
|
|
25526
|
+
/** Read sales, returns and exchanges for selected locations, optionally filtering by state and creation time. */
|
|
25527
|
+
square_search_orders: {
|
|
25528
|
+
input: {
|
|
25529
|
+
locationIds: Array<string>;
|
|
25530
|
+
states?: Array<"OPEN" | "COMPLETED" | "CANCELED" | "DRAFT">;
|
|
25531
|
+
createdAfter?: string;
|
|
25532
|
+
createdBefore?: string;
|
|
25533
|
+
cursor?: string;
|
|
25534
|
+
limit?: number;
|
|
25535
|
+
};
|
|
25536
|
+
output: {
|
|
25537
|
+
orders: Array<{
|
|
25538
|
+
[key: string]: unknown;
|
|
25539
|
+
}>;
|
|
25540
|
+
cursor?: string;
|
|
25541
|
+
};
|
|
25542
|
+
};
|
|
25543
|
+
/** Publish a draft invoice configured for email delivery so Square emails it to the customer. */
|
|
25544
|
+
square_send_invoice: {
|
|
25545
|
+
input: {
|
|
25546
|
+
invoiceId: string;
|
|
25547
|
+
version: number;
|
|
25548
|
+
};
|
|
25549
|
+
output: {
|
|
25550
|
+
invoice: {
|
|
25551
|
+
[key: string]: unknown;
|
|
25552
|
+
};
|
|
25553
|
+
};
|
|
25554
|
+
};
|
|
25555
|
+
/** Change a customer's contact details, address or note using their current version. */
|
|
25556
|
+
square_update_customer: {
|
|
25557
|
+
input: {
|
|
25558
|
+
customerId: string;
|
|
25559
|
+
version: number;
|
|
25560
|
+
givenName?: string;
|
|
25561
|
+
familyName?: string;
|
|
25562
|
+
companyName?: string;
|
|
25563
|
+
email?: string;
|
|
25564
|
+
phone?: string;
|
|
25565
|
+
referenceId?: string;
|
|
25566
|
+
note?: string;
|
|
25567
|
+
address?: {
|
|
25568
|
+
address_line_1?: string;
|
|
25569
|
+
address_line_2?: string;
|
|
25570
|
+
locality?: string;
|
|
25571
|
+
administrative_district_level_1?: string;
|
|
25572
|
+
postal_code?: string;
|
|
25573
|
+
country?: string;
|
|
25574
|
+
};
|
|
25575
|
+
};
|
|
25576
|
+
output: {
|
|
25577
|
+
customer: {
|
|
25578
|
+
[key: string]: unknown;
|
|
25579
|
+
};
|
|
22415
25580
|
};
|
|
22416
25581
|
};
|
|
22417
25582
|
/** Cancel a subscription immediately with explicit invoice and proration behavior. */
|
|
@@ -23841,62 +27006,318 @@ export interface Tools {
|
|
|
23841
27006
|
altText?: string;
|
|
23842
27007
|
};
|
|
23843
27008
|
output: {
|
|
23844
|
-
threadId: string;
|
|
27009
|
+
threadId: string;
|
|
27010
|
+
};
|
|
27011
|
+
};
|
|
27012
|
+
/** Publish one text post to the connected Threads profile. */
|
|
27013
|
+
threads_publish_text_post: {
|
|
27014
|
+
input: {
|
|
27015
|
+
text: string;
|
|
27016
|
+
};
|
|
27017
|
+
output: {
|
|
27018
|
+
threadId: string;
|
|
27019
|
+
};
|
|
27020
|
+
};
|
|
27021
|
+
/** Publish one video post to the connected Threads profile. */
|
|
27022
|
+
threads_publish_video_post: {
|
|
27023
|
+
input: {
|
|
27024
|
+
text?: string;
|
|
27025
|
+
videoUrl: string;
|
|
27026
|
+
altText?: string;
|
|
27027
|
+
};
|
|
27028
|
+
output: {
|
|
27029
|
+
threadId: string;
|
|
27030
|
+
};
|
|
27031
|
+
};
|
|
27032
|
+
/** Read the connected creator identity and current publishing choices before presenting a TikTok post. */
|
|
27033
|
+
tiktok_get_creator_info: {
|
|
27034
|
+
input: {
|
|
27035
|
+
[key: string]: never;
|
|
27036
|
+
};
|
|
27037
|
+
output: {
|
|
27038
|
+
openId: string;
|
|
27039
|
+
creatorUsername: string;
|
|
27040
|
+
creatorNickname: string;
|
|
27041
|
+
creatorAvatarUrl: string;
|
|
27042
|
+
privacyLevelOptions: Array<"PUBLIC_TO_EVERYONE" | "MUTUAL_FOLLOW_FRIENDS" | "FOLLOWER_OF_CREATOR" | "SELF_ONLY">;
|
|
27043
|
+
commentDisabled: boolean;
|
|
27044
|
+
duetDisabled: boolean;
|
|
27045
|
+
stitchDisabled: boolean;
|
|
27046
|
+
maxVideoPostDurationSeconds: number;
|
|
27047
|
+
creatorInfoFingerprint: string;
|
|
27048
|
+
logId: string;
|
|
27049
|
+
};
|
|
27050
|
+
};
|
|
27051
|
+
/** Read TikTok's current processing, completion, public-availability, or failure state for a publish ID. */
|
|
27052
|
+
tiktok_get_post_status: {
|
|
27053
|
+
input: {
|
|
27054
|
+
/** Exact publishId: the remoteID of the TikTok entry in a Social post's platforms. */
|
|
27055
|
+
publishId: string;
|
|
27056
|
+
};
|
|
27057
|
+
output: {
|
|
27058
|
+
publishId: string;
|
|
27059
|
+
status: "PROCESSING_UPLOAD" | "PROCESSING_DOWNLOAD" | "SEND_TO_USER_INBOX" | "PUBLISH_COMPLETE" | "FAILED";
|
|
27060
|
+
failReason?: string;
|
|
27061
|
+
publiclyAvailablePostIds?: Array<string>;
|
|
27062
|
+
uploadedBytes?: number;
|
|
27063
|
+
downloadedBytes?: number;
|
|
27064
|
+
logId: string;
|
|
27065
|
+
};
|
|
27066
|
+
};
|
|
27067
|
+
/** Create TikTok's mock Instant Form submission for an explicit form. */
|
|
27068
|
+
tiktok_lead_forms_create_test_lead: {
|
|
27069
|
+
input: {
|
|
27070
|
+
sourceType: "advertiser" | "library";
|
|
27071
|
+
sourceId: string;
|
|
27072
|
+
formId: string;
|
|
27073
|
+
};
|
|
27074
|
+
output: {
|
|
27075
|
+
[key: string]: unknown;
|
|
27076
|
+
};
|
|
27077
|
+
};
|
|
27078
|
+
/** Delete an explicitly selected mock lead. */
|
|
27079
|
+
tiktok_lead_forms_delete_test_lead: {
|
|
27080
|
+
input: {
|
|
27081
|
+
sourceType: "advertiser" | "library";
|
|
27082
|
+
sourceId: string;
|
|
27083
|
+
leadId: string;
|
|
27084
|
+
};
|
|
27085
|
+
output: {
|
|
27086
|
+
[key: string]: unknown;
|
|
27087
|
+
};
|
|
27088
|
+
};
|
|
27089
|
+
/** Create an export, check its status, or download a completed lead file. */
|
|
27090
|
+
tiktok_lead_forms_export_leads: {
|
|
27091
|
+
input: {
|
|
27092
|
+
sourceType: "advertiser" | "library";
|
|
27093
|
+
sourceId: string;
|
|
27094
|
+
region: "eu" | "us" | "other";
|
|
27095
|
+
operation: "create";
|
|
27096
|
+
formId: string;
|
|
27097
|
+
} | {
|
|
27098
|
+
sourceType: "advertiser" | "library";
|
|
27099
|
+
sourceId: string;
|
|
27100
|
+
region: "eu" | "us" | "other";
|
|
27101
|
+
operation: "status";
|
|
27102
|
+
formId: string;
|
|
27103
|
+
taskId: string;
|
|
27104
|
+
} | {
|
|
27105
|
+
sourceType: "advertiser" | "library";
|
|
27106
|
+
sourceId: string;
|
|
27107
|
+
region: "eu" | "us" | "other";
|
|
27108
|
+
operation: "download";
|
|
27109
|
+
taskId: string;
|
|
27110
|
+
};
|
|
27111
|
+
output: {
|
|
27112
|
+
[key: string]: unknown;
|
|
27113
|
+
};
|
|
27114
|
+
};
|
|
27115
|
+
/** Read an Instant Form's fields and metadata using its advertiser ID. */
|
|
27116
|
+
tiktok_lead_forms_get_form_fields: {
|
|
27117
|
+
input: {
|
|
27118
|
+
advertiserId: string;
|
|
27119
|
+
formId: string;
|
|
27120
|
+
};
|
|
27121
|
+
output: {
|
|
27122
|
+
[key: string]: unknown;
|
|
27123
|
+
};
|
|
27124
|
+
};
|
|
27125
|
+
/** List the ad accounts authorized to this TikTok for Business connection. */
|
|
27126
|
+
tiktok_lead_forms_list_ad_accounts: {
|
|
27127
|
+
input: {
|
|
27128
|
+
[key: string]: never;
|
|
27129
|
+
};
|
|
27130
|
+
output: {
|
|
27131
|
+
sources: Array<{
|
|
27132
|
+
id: string;
|
|
27133
|
+
name: string;
|
|
27134
|
+
}>;
|
|
27135
|
+
};
|
|
27136
|
+
};
|
|
27137
|
+
/** List authorized Business Center form libraries. */
|
|
27138
|
+
tiktok_lead_forms_list_form_libraries: {
|
|
27139
|
+
input: {
|
|
27140
|
+
[key: string]: never;
|
|
27141
|
+
};
|
|
27142
|
+
output: {
|
|
27143
|
+
sources: Array<{
|
|
27144
|
+
id: string;
|
|
27145
|
+
name: string;
|
|
27146
|
+
}>;
|
|
27147
|
+
};
|
|
27148
|
+
};
|
|
27149
|
+
/** Read one page of Instant Forms under an explicit ad account or form library. */
|
|
27150
|
+
tiktok_lead_forms_list_forms: {
|
|
27151
|
+
input: {
|
|
27152
|
+
sourceType: "advertiser" | "library";
|
|
27153
|
+
sourceId: string;
|
|
27154
|
+
page?: number;
|
|
27155
|
+
};
|
|
27156
|
+
output: {
|
|
27157
|
+
[key: string]: unknown;
|
|
27158
|
+
};
|
|
27159
|
+
};
|
|
27160
|
+
/** Create a form from a Typeform definition in the specified workspace. */
|
|
27161
|
+
typeform_create_form: {
|
|
27162
|
+
input: {
|
|
27163
|
+
/** Typeform Create API definition: title, workspace.href, fields, settings, logic, theme and screens. */
|
|
27164
|
+
form: {
|
|
27165
|
+
title: string;
|
|
27166
|
+
workspace: {
|
|
27167
|
+
href: string;
|
|
27168
|
+
};
|
|
27169
|
+
[key: string]: unknown;
|
|
27170
|
+
};
|
|
27171
|
+
};
|
|
27172
|
+
output: {
|
|
27173
|
+
id: string;
|
|
27174
|
+
title: string;
|
|
27175
|
+
[key: string]: unknown;
|
|
27176
|
+
};
|
|
27177
|
+
};
|
|
27178
|
+
/** Permanently request deletion of specific response IDs. Typeform processes deletion asynchronously; verify the result before reporting it deleted. */
|
|
27179
|
+
typeform_delete_responses: {
|
|
27180
|
+
input: {
|
|
27181
|
+
formId: string;
|
|
27182
|
+
responseIds: Array<string>;
|
|
27183
|
+
};
|
|
27184
|
+
output: {
|
|
27185
|
+
accepted: true;
|
|
27186
|
+
responseIds: Array<string>;
|
|
27187
|
+
};
|
|
27188
|
+
};
|
|
27189
|
+
/** Copy a form's definition, questions, logic, theme and screens into the specified workspace as a private form. Responses and webhooks are not copied. */
|
|
27190
|
+
typeform_duplicate_form: {
|
|
27191
|
+
input: {
|
|
27192
|
+
formId: string;
|
|
27193
|
+
title: string;
|
|
27194
|
+
workspaceId: string;
|
|
27195
|
+
};
|
|
27196
|
+
output: {
|
|
27197
|
+
id: string;
|
|
27198
|
+
title: string;
|
|
27199
|
+
[key: string]: unknown;
|
|
27200
|
+
};
|
|
27201
|
+
};
|
|
27202
|
+
/** Find completed form responses, with answers by question title and ref. Recent submissions may take 30 minutes to appear. */
|
|
27203
|
+
typeform_find_responses: {
|
|
27204
|
+
input: {
|
|
27205
|
+
formId: string;
|
|
27206
|
+
/** Exact phrase to find in answers, hidden fields or variables. */
|
|
27207
|
+
query?: string;
|
|
27208
|
+
since?: string;
|
|
27209
|
+
until?: string;
|
|
27210
|
+
/** nextBefore from the previous page. */
|
|
27211
|
+
before?: string;
|
|
27212
|
+
pageSize?: number;
|
|
27213
|
+
};
|
|
27214
|
+
output: {
|
|
27215
|
+
totalItems: number;
|
|
27216
|
+
responses: Array<{
|
|
27217
|
+
formId: string;
|
|
27218
|
+
token: string;
|
|
27219
|
+
submittedAt: string;
|
|
27220
|
+
answersByTitle: {
|
|
27221
|
+
[key: string]: unknown;
|
|
27222
|
+
};
|
|
27223
|
+
answersByRef: {
|
|
27224
|
+
[key: string]: unknown;
|
|
27225
|
+
};
|
|
27226
|
+
respondentEmail: string | null;
|
|
27227
|
+
}>;
|
|
27228
|
+
nextBefore: string | null;
|
|
23845
27229
|
};
|
|
23846
27230
|
};
|
|
23847
|
-
/**
|
|
23848
|
-
|
|
27231
|
+
/** Read a form's full definition, including question IDs, choices, logic, settings and screens. */
|
|
27232
|
+
typeform_get_form: {
|
|
23849
27233
|
input: {
|
|
23850
|
-
|
|
27234
|
+
formId: string;
|
|
23851
27235
|
};
|
|
23852
27236
|
output: {
|
|
23853
|
-
|
|
27237
|
+
id: string;
|
|
27238
|
+
title: string;
|
|
27239
|
+
fields: Array<{
|
|
27240
|
+
id: string;
|
|
27241
|
+
ref: string;
|
|
27242
|
+
title: string;
|
|
27243
|
+
type: string;
|
|
27244
|
+
properties?: {
|
|
27245
|
+
[key: string]: unknown;
|
|
27246
|
+
};
|
|
27247
|
+
[key: string]: unknown;
|
|
27248
|
+
}>;
|
|
27249
|
+
_links: {
|
|
27250
|
+
[key: string]: string;
|
|
27251
|
+
};
|
|
27252
|
+
[key: string]: unknown;
|
|
23854
27253
|
};
|
|
23855
27254
|
};
|
|
23856
|
-
/**
|
|
23857
|
-
|
|
27255
|
+
/** Find forms by title or workspace, including private forms. Pass page to read the next page. */
|
|
27256
|
+
typeform_list_forms: {
|
|
23858
27257
|
input: {
|
|
23859
|
-
|
|
23860
|
-
|
|
23861
|
-
|
|
27258
|
+
search?: string;
|
|
27259
|
+
workspaceId?: string;
|
|
27260
|
+
page?: number;
|
|
27261
|
+
pageSize?: number;
|
|
23862
27262
|
};
|
|
23863
27263
|
output: {
|
|
23864
|
-
|
|
27264
|
+
total_items: number;
|
|
27265
|
+
page_count: number;
|
|
27266
|
+
items: Array<{
|
|
27267
|
+
id: string;
|
|
27268
|
+
title: string;
|
|
27269
|
+
[key: string]: unknown;
|
|
27270
|
+
}>;
|
|
27271
|
+
page: number;
|
|
23865
27272
|
};
|
|
23866
27273
|
};
|
|
23867
|
-
/**
|
|
23868
|
-
|
|
27274
|
+
/** List workspaces available to the connected Typeform user, with their IDs and names. */
|
|
27275
|
+
typeform_list_workspaces: {
|
|
23869
27276
|
input: {
|
|
23870
|
-
|
|
27277
|
+
search?: string;
|
|
27278
|
+
page?: number;
|
|
27279
|
+
pageSize?: number;
|
|
23871
27280
|
};
|
|
23872
27281
|
output: {
|
|
23873
|
-
|
|
23874
|
-
|
|
23875
|
-
|
|
23876
|
-
|
|
23877
|
-
|
|
23878
|
-
|
|
23879
|
-
|
|
23880
|
-
|
|
23881
|
-
maxVideoPostDurationSeconds: number;
|
|
23882
|
-
creatorInfoFingerprint: string;
|
|
23883
|
-
logId: string;
|
|
27282
|
+
total_items: number;
|
|
27283
|
+
page_count: number;
|
|
27284
|
+
items: Array<{
|
|
27285
|
+
id: string;
|
|
27286
|
+
name: string;
|
|
27287
|
+
[key: string]: unknown;
|
|
27288
|
+
}>;
|
|
27289
|
+
page: number;
|
|
23884
27290
|
};
|
|
23885
27291
|
};
|
|
23886
|
-
/**
|
|
23887
|
-
|
|
27292
|
+
/** Replace one question's choices while sending its entire form back unchanged. Keep existing choice IDs and refs to preserve them. */
|
|
27293
|
+
typeform_update_question_choices: {
|
|
23888
27294
|
input: {
|
|
23889
|
-
|
|
23890
|
-
|
|
27295
|
+
formId: string;
|
|
27296
|
+
fieldId: string;
|
|
27297
|
+
choices: Array<{
|
|
27298
|
+
id?: string;
|
|
27299
|
+
ref?: string;
|
|
27300
|
+
label: string;
|
|
27301
|
+
[key: string]: unknown;
|
|
27302
|
+
}>;
|
|
23891
27303
|
};
|
|
23892
27304
|
output: {
|
|
23893
|
-
|
|
23894
|
-
|
|
23895
|
-
|
|
23896
|
-
|
|
23897
|
-
|
|
23898
|
-
|
|
23899
|
-
|
|
27305
|
+
id: string;
|
|
27306
|
+
title: string;
|
|
27307
|
+
fields: Array<{
|
|
27308
|
+
id: string;
|
|
27309
|
+
ref: string;
|
|
27310
|
+
title: string;
|
|
27311
|
+
type: string;
|
|
27312
|
+
properties?: {
|
|
27313
|
+
[key: string]: unknown;
|
|
27314
|
+
};
|
|
27315
|
+
[key: string]: unknown;
|
|
27316
|
+
}>;
|
|
27317
|
+
_links: {
|
|
27318
|
+
[key: string]: string;
|
|
27319
|
+
};
|
|
27320
|
+
[key: string]: unknown;
|
|
23900
27321
|
};
|
|
23901
27322
|
};
|
|
23902
27323
|
/** List one page of approved templates from the connected WhatsApp messaging account. */
|
|
@@ -23968,7 +27389,7 @@ export interface Tools {
|
|
|
23968
27389
|
after?: string;
|
|
23969
27390
|
};
|
|
23970
27391
|
};
|
|
23971
|
-
/**
|
|
27392
|
+
/** Read the connected channel: its ID, title, handle, subscribers, lifetime views and public videos. */
|
|
23972
27393
|
youtube_get_channel: {
|
|
23973
27394
|
input: {
|
|
23974
27395
|
[key: string]: never;
|
|
@@ -23977,6 +27398,518 @@ export interface Tools {
|
|
|
23977
27398
|
channelId: string;
|
|
23978
27399
|
title: string;
|
|
23979
27400
|
customUrl?: string;
|
|
27401
|
+
/** Rounded by YouTube; null when the channel hides it. */
|
|
27402
|
+
subscribers: number | null;
|
|
27403
|
+
views: number;
|
|
27404
|
+
/** Public videos. */
|
|
27405
|
+
videos: number;
|
|
27406
|
+
};
|
|
27407
|
+
};
|
|
27408
|
+
/** List this channel's uploads from Superclerk, newest first, with each one's status and video link. */
|
|
27409
|
+
youtube_list_uploads: {
|
|
27410
|
+
input: {
|
|
27411
|
+
limit?: number;
|
|
27412
|
+
cursor?: string;
|
|
27413
|
+
};
|
|
27414
|
+
output: {
|
|
27415
|
+
items: Array<{
|
|
27416
|
+
postId: string;
|
|
27417
|
+
title: string;
|
|
27418
|
+
privacyStatus: "private" | "public" | "unlisted";
|
|
27419
|
+
scheduledFor: string | null;
|
|
27420
|
+
status: "pending" | "publishing" | "processing" | "scheduled" | "published" | "awaiting_creator" | "failed" | "outcome_unknown" | "cancelled";
|
|
27421
|
+
videoId: string | null;
|
|
27422
|
+
url: string | null;
|
|
27423
|
+
error: {
|
|
27424
|
+
kind: "validation" | "permission" | "auth" | "quota_exhausted" | "provider_rejected" | "rate_limited" | "retryable_upstream" | "outcome_unknown" | "result_unavailable" | "upstream" | "timeout" | "internal" | "cancelled";
|
|
27425
|
+
message: string;
|
|
27426
|
+
} | null;
|
|
27427
|
+
}>;
|
|
27428
|
+
nextCursor: string | null;
|
|
27429
|
+
};
|
|
27430
|
+
};
|
|
27431
|
+
/** List the channel's public videos with lifetime views, likes and comments. */
|
|
27432
|
+
youtube_list_videos: {
|
|
27433
|
+
input: {
|
|
27434
|
+
cursor?: string;
|
|
27435
|
+
};
|
|
27436
|
+
output: {
|
|
27437
|
+
posts: Array<{
|
|
27438
|
+
id: string;
|
|
27439
|
+
title: string;
|
|
27440
|
+
url: string | null;
|
|
27441
|
+
thumbnailUrl: string | null;
|
|
27442
|
+
publishedAt: number | null;
|
|
27443
|
+
metrics: Array<{
|
|
27444
|
+
key: string;
|
|
27445
|
+
label: string;
|
|
27446
|
+
value: number | null;
|
|
27447
|
+
}>;
|
|
27448
|
+
}>;
|
|
27449
|
+
nextCursor: string | null;
|
|
27450
|
+
description: string;
|
|
27451
|
+
};
|
|
27452
|
+
};
|
|
27453
|
+
/** Upload an MP4 to the connected channel now, or schedule when it goes live. */
|
|
27454
|
+
youtube_upload_video: {
|
|
27455
|
+
input: {
|
|
27456
|
+
title: string;
|
|
27457
|
+
tags?: Array<string>;
|
|
27458
|
+
categoryId: string;
|
|
27459
|
+
selfDeclaredMadeForKids: boolean;
|
|
27460
|
+
containsSyntheticMedia: boolean;
|
|
27461
|
+
hasPaidProductPlacement: boolean;
|
|
27462
|
+
communityGuidelinesCertified: true;
|
|
27463
|
+
privacyStatus: "private" | "public" | "unlisted";
|
|
27464
|
+
notifySubscribers: boolean;
|
|
27465
|
+
description: string;
|
|
27466
|
+
/** A ready MP4 from youtube_import_media or /v1/social/media. */
|
|
27467
|
+
videoAssetId: string;
|
|
27468
|
+
/** A ready JPEG or PNG of at most 20 MiB. */
|
|
27469
|
+
thumbnailAssetId?: string;
|
|
27470
|
+
/** null uploads now; otherwise a future publish time with its UTC offset. */
|
|
27471
|
+
scheduledFor: string | null;
|
|
27472
|
+
};
|
|
27473
|
+
output: {
|
|
27474
|
+
postId: string;
|
|
27475
|
+
title: string;
|
|
27476
|
+
privacyStatus: "private" | "public" | "unlisted";
|
|
27477
|
+
scheduledFor: string | null;
|
|
27478
|
+
status: "pending" | "publishing" | "processing" | "scheduled" | "published" | "awaiting_creator" | "failed" | "outcome_unknown" | "cancelled";
|
|
27479
|
+
videoId: string | null;
|
|
27480
|
+
url: string | null;
|
|
27481
|
+
error: {
|
|
27482
|
+
kind: "validation" | "permission" | "auth" | "quota_exhausted" | "provider_rejected" | "rate_limited" | "retryable_upstream" | "outcome_unknown" | "result_unavailable" | "upstream" | "timeout" | "internal" | "cancelled";
|
|
27483
|
+
message: string;
|
|
27484
|
+
} | null;
|
|
27485
|
+
};
|
|
27486
|
+
};
|
|
27487
|
+
/** Register a person for a meeting with registration enabled. Manual approval can leave the join link absent. */
|
|
27488
|
+
zoom_add_registrant: {
|
|
27489
|
+
input: {
|
|
27490
|
+
meetingId: string;
|
|
27491
|
+
occurrence_ids?: string;
|
|
27492
|
+
email: string;
|
|
27493
|
+
first_name: string;
|
|
27494
|
+
last_name?: string;
|
|
27495
|
+
address?: string;
|
|
27496
|
+
city?: string;
|
|
27497
|
+
state?: string;
|
|
27498
|
+
zip?: string;
|
|
27499
|
+
country?: string;
|
|
27500
|
+
phone?: string;
|
|
27501
|
+
comments?: string;
|
|
27502
|
+
industry?: string;
|
|
27503
|
+
job_title?: string;
|
|
27504
|
+
org?: string;
|
|
27505
|
+
custom_questions?: Array<{
|
|
27506
|
+
title: string;
|
|
27507
|
+
value: string;
|
|
27508
|
+
}>;
|
|
27509
|
+
};
|
|
27510
|
+
output: {
|
|
27511
|
+
id: number;
|
|
27512
|
+
registrant_id: string;
|
|
27513
|
+
join_url?: string;
|
|
27514
|
+
start_time?: string;
|
|
27515
|
+
topic?: string;
|
|
27516
|
+
occurrences?: Array<{
|
|
27517
|
+
occurrence_id: string;
|
|
27518
|
+
start_time: string;
|
|
27519
|
+
duration: number;
|
|
27520
|
+
status: string;
|
|
27521
|
+
}>;
|
|
27522
|
+
};
|
|
27523
|
+
};
|
|
27524
|
+
/** Create a meeting for the connected user and return its participant join link. */
|
|
27525
|
+
zoom_create_meeting: {
|
|
27526
|
+
input: {
|
|
27527
|
+
topic: string;
|
|
27528
|
+
agenda?: string;
|
|
27529
|
+
type?: 1 | 2 | 3 | 8 | 10;
|
|
27530
|
+
start_time?: string;
|
|
27531
|
+
duration?: number;
|
|
27532
|
+
timezone?: string;
|
|
27533
|
+
password?: string;
|
|
27534
|
+
recurrence?: {
|
|
27535
|
+
type: 1 | 2 | 3;
|
|
27536
|
+
repeat_interval?: number;
|
|
27537
|
+
weekly_days?: string;
|
|
27538
|
+
monthly_day?: number;
|
|
27539
|
+
monthly_week?: -1 | 1 | 2 | 3 | 4;
|
|
27540
|
+
monthly_week_day?: number;
|
|
27541
|
+
end_times?: number;
|
|
27542
|
+
end_date_time?: string;
|
|
27543
|
+
};
|
|
27544
|
+
settings?: {
|
|
27545
|
+
host_video?: boolean;
|
|
27546
|
+
participant_video?: boolean;
|
|
27547
|
+
join_before_host?: boolean;
|
|
27548
|
+
mute_upon_entry?: boolean;
|
|
27549
|
+
waiting_room?: boolean;
|
|
27550
|
+
audio?: "both" | "telephony" | "voip" | "thirdParty";
|
|
27551
|
+
auto_recording?: "local" | "cloud" | "none";
|
|
27552
|
+
approval_type?: 0 | 1 | 2;
|
|
27553
|
+
registration_type?: 1 | 2 | 3;
|
|
27554
|
+
registrants_email_notification?: boolean;
|
|
27555
|
+
meeting_authentication?: boolean;
|
|
27556
|
+
alternative_hosts?: string;
|
|
27557
|
+
use_pmi?: boolean;
|
|
27558
|
+
auto_start_meeting_summary?: boolean;
|
|
27559
|
+
who_will_receive_summary?: number;
|
|
27560
|
+
meeting_invitees?: Array<{
|
|
27561
|
+
email: string;
|
|
27562
|
+
}>;
|
|
27563
|
+
};
|
|
27564
|
+
};
|
|
27565
|
+
output: {
|
|
27566
|
+
id: number;
|
|
27567
|
+
uuid: string;
|
|
27568
|
+
topic: string;
|
|
27569
|
+
type: number;
|
|
27570
|
+
host_id?: string;
|
|
27571
|
+
host_email?: string;
|
|
27572
|
+
agenda?: string;
|
|
27573
|
+
created_at?: string;
|
|
27574
|
+
start_time?: string;
|
|
27575
|
+
duration?: number;
|
|
27576
|
+
timezone?: string;
|
|
27577
|
+
join_url?: string;
|
|
27578
|
+
registration_url?: string;
|
|
27579
|
+
password?: string;
|
|
27580
|
+
status?: string;
|
|
27581
|
+
settings?: {
|
|
27582
|
+
[key: string]: unknown;
|
|
27583
|
+
};
|
|
27584
|
+
recurrence?: {
|
|
27585
|
+
[key: string]: unknown;
|
|
27586
|
+
};
|
|
27587
|
+
occurrences?: Array<{
|
|
27588
|
+
occurrence_id: string;
|
|
27589
|
+
start_time: string;
|
|
27590
|
+
duration: number;
|
|
27591
|
+
status: string;
|
|
27592
|
+
}>;
|
|
27593
|
+
};
|
|
27594
|
+
};
|
|
27595
|
+
/** Delete a meeting or one occurrence. This always asks for approval. */
|
|
27596
|
+
zoom_delete_meeting: {
|
|
27597
|
+
input: {
|
|
27598
|
+
meetingId: string;
|
|
27599
|
+
occurrence_id?: string;
|
|
27600
|
+
schedule_for_reminder?: boolean;
|
|
27601
|
+
cancel_meeting_reminder?: boolean;
|
|
27602
|
+
};
|
|
27603
|
+
output: {
|
|
27604
|
+
[key: string]: never;
|
|
27605
|
+
};
|
|
27606
|
+
};
|
|
27607
|
+
/** Get a meeting's details and participant join link. Host start links are never returned. */
|
|
27608
|
+
zoom_get_meeting: {
|
|
27609
|
+
input: {
|
|
27610
|
+
meetingId: string;
|
|
27611
|
+
occurrence_id?: string;
|
|
27612
|
+
show_previous_occurrences?: boolean;
|
|
27613
|
+
};
|
|
27614
|
+
output: {
|
|
27615
|
+
id: number;
|
|
27616
|
+
uuid: string;
|
|
27617
|
+
topic: string;
|
|
27618
|
+
type: number;
|
|
27619
|
+
host_id?: string;
|
|
27620
|
+
host_email?: string;
|
|
27621
|
+
agenda?: string;
|
|
27622
|
+
created_at?: string;
|
|
27623
|
+
start_time?: string;
|
|
27624
|
+
duration?: number;
|
|
27625
|
+
timezone?: string;
|
|
27626
|
+
join_url?: string;
|
|
27627
|
+
registration_url?: string;
|
|
27628
|
+
password?: string;
|
|
27629
|
+
status?: string;
|
|
27630
|
+
settings?: {
|
|
27631
|
+
[key: string]: unknown;
|
|
27632
|
+
};
|
|
27633
|
+
recurrence?: {
|
|
27634
|
+
[key: string]: unknown;
|
|
27635
|
+
};
|
|
27636
|
+
occurrences?: Array<{
|
|
27637
|
+
occurrence_id: string;
|
|
27638
|
+
start_time: string;
|
|
27639
|
+
duration: number;
|
|
27640
|
+
status: string;
|
|
27641
|
+
}>;
|
|
27642
|
+
};
|
|
27643
|
+
};
|
|
27644
|
+
/** Read a meeting instance's full AI summary in summary_content Markdown, ready for email or notes. */
|
|
27645
|
+
zoom_get_summary: {
|
|
27646
|
+
input: {
|
|
27647
|
+
/** The meeting UUID from List Zoom Summaries, not the meeting number. */
|
|
27648
|
+
meetingId: string;
|
|
27649
|
+
};
|
|
27650
|
+
output: {
|
|
27651
|
+
meeting_uuid: string;
|
|
27652
|
+
meeting_id: number;
|
|
27653
|
+
meeting_topic: string;
|
|
27654
|
+
meeting_host_id?: string;
|
|
27655
|
+
meeting_host_email?: string;
|
|
27656
|
+
meeting_start_time?: string;
|
|
27657
|
+
meeting_end_time?: string;
|
|
27658
|
+
summary_created_time: string;
|
|
27659
|
+
summary_last_modified_time?: string;
|
|
27660
|
+
summary_start_time?: string;
|
|
27661
|
+
summary_end_time?: string;
|
|
27662
|
+
summary_content: string;
|
|
27663
|
+
summary_doc_url?: string;
|
|
27664
|
+
};
|
|
27665
|
+
};
|
|
27666
|
+
/** List the connected user's scheduled, upcoming, live or previous meetings. */
|
|
27667
|
+
zoom_list_meetings: {
|
|
27668
|
+
input: {
|
|
27669
|
+
type?: "scheduled" | "live" | "upcoming" | "upcoming_meetings" | "previous_meetings";
|
|
27670
|
+
from?: string;
|
|
27671
|
+
to?: string;
|
|
27672
|
+
timezone?: string;
|
|
27673
|
+
page_size?: number;
|
|
27674
|
+
next_page_token?: string;
|
|
27675
|
+
};
|
|
27676
|
+
output: {
|
|
27677
|
+
next_page_token?: string;
|
|
27678
|
+
page_size?: number;
|
|
27679
|
+
total_records?: number;
|
|
27680
|
+
meetings: Array<{
|
|
27681
|
+
id: number;
|
|
27682
|
+
uuid: string;
|
|
27683
|
+
topic: string;
|
|
27684
|
+
type: number;
|
|
27685
|
+
host_id?: string;
|
|
27686
|
+
host_email?: string;
|
|
27687
|
+
agenda?: string;
|
|
27688
|
+
created_at?: string;
|
|
27689
|
+
start_time?: string;
|
|
27690
|
+
duration?: number;
|
|
27691
|
+
timezone?: string;
|
|
27692
|
+
join_url?: string;
|
|
27693
|
+
registration_url?: string;
|
|
27694
|
+
password?: string;
|
|
27695
|
+
status?: string;
|
|
27696
|
+
settings?: {
|
|
27697
|
+
[key: string]: unknown;
|
|
27698
|
+
};
|
|
27699
|
+
recurrence?: {
|
|
27700
|
+
[key: string]: unknown;
|
|
27701
|
+
};
|
|
27702
|
+
occurrences?: Array<{
|
|
27703
|
+
occurrence_id: string;
|
|
27704
|
+
start_time: string;
|
|
27705
|
+
duration: number;
|
|
27706
|
+
status: string;
|
|
27707
|
+
}>;
|
|
27708
|
+
}>;
|
|
27709
|
+
};
|
|
27710
|
+
};
|
|
27711
|
+
/** List the connected user's cloud recordings in a date range of at most one month. */
|
|
27712
|
+
zoom_list_recordings: {
|
|
27713
|
+
input: {
|
|
27714
|
+
from: string;
|
|
27715
|
+
to: string;
|
|
27716
|
+
page_size?: number;
|
|
27717
|
+
next_page_token?: string;
|
|
27718
|
+
};
|
|
27719
|
+
output: {
|
|
27720
|
+
next_page_token?: string;
|
|
27721
|
+
page_size?: number;
|
|
27722
|
+
total_records?: number;
|
|
27723
|
+
meetings: Array<{
|
|
27724
|
+
id: number;
|
|
27725
|
+
uuid: string;
|
|
27726
|
+
topic: string;
|
|
27727
|
+
type: string;
|
|
27728
|
+
start_time: string;
|
|
27729
|
+
duration?: number;
|
|
27730
|
+
host_id?: string;
|
|
27731
|
+
share_url?: string;
|
|
27732
|
+
total_size?: number;
|
|
27733
|
+
recording_count?: number;
|
|
27734
|
+
recording_files: Array<{
|
|
27735
|
+
recording_type?: string;
|
|
27736
|
+
file_extension?: string;
|
|
27737
|
+
file_size?: number;
|
|
27738
|
+
recording_start?: string;
|
|
27739
|
+
recording_end?: string;
|
|
27740
|
+
download_url?: string;
|
|
27741
|
+
play_url?: string;
|
|
27742
|
+
file_type: "CC" | "TIMELINE";
|
|
27743
|
+
id?: unknown;
|
|
27744
|
+
status?: unknown;
|
|
27745
|
+
} | {
|
|
27746
|
+
recording_type?: string;
|
|
27747
|
+
file_extension?: string;
|
|
27748
|
+
file_size?: number;
|
|
27749
|
+
recording_start?: string;
|
|
27750
|
+
recording_end?: string;
|
|
27751
|
+
download_url?: string;
|
|
27752
|
+
play_url?: string;
|
|
27753
|
+
file_type: string;
|
|
27754
|
+
id: string;
|
|
27755
|
+
status: string;
|
|
27756
|
+
}>;
|
|
27757
|
+
}>;
|
|
27758
|
+
from?: string;
|
|
27759
|
+
to?: string;
|
|
27760
|
+
};
|
|
27761
|
+
};
|
|
27762
|
+
/** List the connected user's AI meeting summaries by creation time. Requires a paid plan and AI Companion. */
|
|
27763
|
+
zoom_list_summaries: {
|
|
27764
|
+
input: {
|
|
27765
|
+
from: string;
|
|
27766
|
+
to: string;
|
|
27767
|
+
page_size?: number;
|
|
27768
|
+
next_page_token?: string;
|
|
27769
|
+
};
|
|
27770
|
+
output: {
|
|
27771
|
+
next_page_token?: string;
|
|
27772
|
+
page_size?: number;
|
|
27773
|
+
total_records?: number;
|
|
27774
|
+
summaries: Array<{
|
|
27775
|
+
meeting_uuid: string;
|
|
27776
|
+
meeting_id: number;
|
|
27777
|
+
meeting_topic: string;
|
|
27778
|
+
meeting_host_id?: string;
|
|
27779
|
+
meeting_host_email?: string;
|
|
27780
|
+
meeting_start_time?: string;
|
|
27781
|
+
meeting_end_time?: string;
|
|
27782
|
+
summary_created_time: string;
|
|
27783
|
+
summary_last_modified_time?: string;
|
|
27784
|
+
summary_start_time?: string;
|
|
27785
|
+
summary_end_time?: string;
|
|
27786
|
+
summary_content?: string;
|
|
27787
|
+
summary_doc_url?: string;
|
|
27788
|
+
}>;
|
|
27789
|
+
from?: string;
|
|
27790
|
+
to?: string;
|
|
27791
|
+
};
|
|
27792
|
+
};
|
|
27793
|
+
/** List participants of an ended meeting on a paid plan. Use the UUID for a particular recurring instance. */
|
|
27794
|
+
zoom_past_participants: {
|
|
27795
|
+
input: {
|
|
27796
|
+
meetingId: string;
|
|
27797
|
+
page_size?: number;
|
|
27798
|
+
next_page_token?: string;
|
|
27799
|
+
};
|
|
27800
|
+
output: {
|
|
27801
|
+
next_page_token?: string;
|
|
27802
|
+
page_size?: number;
|
|
27803
|
+
total_records?: number;
|
|
27804
|
+
participants: Array<{
|
|
27805
|
+
id?: string;
|
|
27806
|
+
user_id?: string;
|
|
27807
|
+
registrant_id?: string;
|
|
27808
|
+
name: string;
|
|
27809
|
+
user_email?: string;
|
|
27810
|
+
join_time: string;
|
|
27811
|
+
leave_time: string;
|
|
27812
|
+
duration: number;
|
|
27813
|
+
status?: string;
|
|
27814
|
+
internal_user?: boolean;
|
|
27815
|
+
}>;
|
|
27816
|
+
};
|
|
27817
|
+
};
|
|
27818
|
+
/** Get a meeting's cloud recording files and download links. Use the UUID for one meeting instance. */
|
|
27819
|
+
zoom_recording_files: {
|
|
27820
|
+
input: {
|
|
27821
|
+
meetingId: string;
|
|
27822
|
+
};
|
|
27823
|
+
output: {
|
|
27824
|
+
id: number;
|
|
27825
|
+
uuid: string;
|
|
27826
|
+
topic: string;
|
|
27827
|
+
type: string;
|
|
27828
|
+
start_time: string;
|
|
27829
|
+
duration?: number;
|
|
27830
|
+
host_id?: string;
|
|
27831
|
+
share_url?: string;
|
|
27832
|
+
total_size?: number;
|
|
27833
|
+
recording_count?: number;
|
|
27834
|
+
recording_files: Array<{
|
|
27835
|
+
recording_type?: string;
|
|
27836
|
+
file_extension?: string;
|
|
27837
|
+
file_size?: number;
|
|
27838
|
+
recording_start?: string;
|
|
27839
|
+
recording_end?: string;
|
|
27840
|
+
download_url?: string;
|
|
27841
|
+
play_url?: string;
|
|
27842
|
+
file_type: "CC" | "TIMELINE";
|
|
27843
|
+
id?: unknown;
|
|
27844
|
+
status?: unknown;
|
|
27845
|
+
} | {
|
|
27846
|
+
recording_type?: string;
|
|
27847
|
+
file_extension?: string;
|
|
27848
|
+
file_size?: number;
|
|
27849
|
+
recording_start?: string;
|
|
27850
|
+
recording_end?: string;
|
|
27851
|
+
download_url?: string;
|
|
27852
|
+
play_url?: string;
|
|
27853
|
+
file_type: string;
|
|
27854
|
+
id: string;
|
|
27855
|
+
status: string;
|
|
27856
|
+
}>;
|
|
27857
|
+
};
|
|
27858
|
+
};
|
|
27859
|
+
/** Download the text of a meeting's ready transcript for email, calendar notes or spreadsheet rows. */
|
|
27860
|
+
zoom_transcript: {
|
|
27861
|
+
input: {
|
|
27862
|
+
meetingId: string;
|
|
27863
|
+
};
|
|
27864
|
+
output: {
|
|
27865
|
+
text: string;
|
|
27866
|
+
};
|
|
27867
|
+
};
|
|
27868
|
+
/** Change a meeting's schedule, topic or settings, or one occurrence of a recurring meeting. */
|
|
27869
|
+
zoom_update_meeting: {
|
|
27870
|
+
input: {
|
|
27871
|
+
meetingId: string;
|
|
27872
|
+
occurrence_id?: string;
|
|
27873
|
+
topic?: string;
|
|
27874
|
+
agenda?: string;
|
|
27875
|
+
type?: 1 | 2 | 3 | 8 | 10;
|
|
27876
|
+
start_time?: string;
|
|
27877
|
+
duration?: number;
|
|
27878
|
+
timezone?: string;
|
|
27879
|
+
password?: string;
|
|
27880
|
+
recurrence?: {
|
|
27881
|
+
type: 1 | 2 | 3;
|
|
27882
|
+
repeat_interval?: number;
|
|
27883
|
+
weekly_days?: string;
|
|
27884
|
+
monthly_day?: number;
|
|
27885
|
+
monthly_week?: -1 | 1 | 2 | 3 | 4;
|
|
27886
|
+
monthly_week_day?: number;
|
|
27887
|
+
end_times?: number;
|
|
27888
|
+
end_date_time?: string;
|
|
27889
|
+
};
|
|
27890
|
+
settings?: {
|
|
27891
|
+
host_video?: boolean;
|
|
27892
|
+
participant_video?: boolean;
|
|
27893
|
+
join_before_host?: boolean;
|
|
27894
|
+
mute_upon_entry?: boolean;
|
|
27895
|
+
waiting_room?: boolean;
|
|
27896
|
+
audio?: "both" | "telephony" | "voip" | "thirdParty";
|
|
27897
|
+
auto_recording?: "local" | "cloud" | "none";
|
|
27898
|
+
approval_type?: 0 | 1 | 2;
|
|
27899
|
+
registration_type?: 1 | 2 | 3;
|
|
27900
|
+
registrants_email_notification?: boolean;
|
|
27901
|
+
meeting_authentication?: boolean;
|
|
27902
|
+
alternative_hosts?: string;
|
|
27903
|
+
use_pmi?: boolean;
|
|
27904
|
+
auto_start_meeting_summary?: boolean;
|
|
27905
|
+
who_will_receive_summary?: number;
|
|
27906
|
+
meeting_invitees?: Array<{
|
|
27907
|
+
email: string;
|
|
27908
|
+
}>;
|
|
27909
|
+
};
|
|
27910
|
+
};
|
|
27911
|
+
output: {
|
|
27912
|
+
[key: string]: never;
|
|
23980
27913
|
};
|
|
23981
27914
|
};
|
|
23982
27915
|
}
|