@frogbotai/piece-airtable 0.27.0 → 0.29.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/dist/actions/customApiCall.d.ts +2 -2
- package/dist/actions/customApiCall.d.ts.map +1 -1
- package/dist/actions/customApiCall.js +3 -3
- package/dist/actions/customApiCall.js.map +1 -1
- package/dist/actions/records.d.ts +50 -9
- package/dist/actions/records.d.ts.map +1 -1
- package/dist/actions/records.js +15 -15
- package/dist/actions/records.js.map +1 -1
- package/dist/actions/schema.d.ts +119 -9
- package/dist/actions/schema.d.ts.map +1 -1
- package/dist/actions/schema.js +13 -13
- package/dist/actions/schema.js.map +1 -1
- package/dist/define.d.ts +102 -0
- package/dist/define.d.ts.map +1 -0
- package/dist/define.js +3 -0
- package/dist/define.js.map +1 -0
- package/dist/index.d.ts +281 -81
- package/dist/index.d.ts.map +1 -1
- package/dist/triggers/records.d.ts +111 -61
- package/dist/triggers/records.d.ts.map +1 -1
- package/dist/triggers/records.js +8 -7
- package/dist/triggers/records.js.map +1 -1
- package/package.json +3 -3
- package/dist/definitions.d.ts +0 -46
- package/dist/definitions.d.ts.map +0 -1
- package/dist/definitions.js +0 -7
- package/dist/definitions.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
23
23
|
path: import("zod").ZodString;
|
|
24
24
|
query: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>>;
|
|
25
25
|
body: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
26
|
-
}, import("zod/v4/core").$strip>, import("zod").ZodUnknown,
|
|
26
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodUnknown, Record<string, never>, {
|
|
27
27
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
28
28
|
method?: string;
|
|
29
29
|
path: string;
|
|
@@ -38,7 +38,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
38
38
|
query?: Record<string, string | number | boolean | undefined>;
|
|
39
39
|
signal?: AbortSignal;
|
|
40
40
|
}) => Promise<T[]>;
|
|
41
|
-
}> & {
|
|
41
|
+
}, unknown> & {
|
|
42
42
|
slug: "customApiCall";
|
|
43
43
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
44
44
|
fields: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
@@ -48,7 +48,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
48
48
|
id: import("zod").ZodString;
|
|
49
49
|
createdTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
50
50
|
fields: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
51
|
-
}, import("zod/v4/core").$loose>,
|
|
51
|
+
}, import("zod/v4/core").$loose>, Record<string, never>, {
|
|
52
52
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
53
53
|
method?: string;
|
|
54
54
|
path: string;
|
|
@@ -63,6 +63,11 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
63
63
|
query?: Record<string, string | number | boolean | undefined>;
|
|
64
64
|
signal?: AbortSignal;
|
|
65
65
|
}) => Promise<T[]>;
|
|
66
|
+
}, {
|
|
67
|
+
[x: string]: unknown;
|
|
68
|
+
id: string;
|
|
69
|
+
fields: Record<string, unknown>;
|
|
70
|
+
createdTime?: string | undefined;
|
|
66
71
|
}> & {
|
|
67
72
|
slug: "createRecord";
|
|
68
73
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
@@ -75,7 +80,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
75
80
|
id: import("zod").ZodString;
|
|
76
81
|
createdTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
77
82
|
fields: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
78
|
-
}, import("zod/v4/core").$loose>>,
|
|
83
|
+
}, import("zod/v4/core").$loose>>, Record<string, never>, {
|
|
79
84
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
80
85
|
method?: string;
|
|
81
86
|
path: string;
|
|
@@ -90,7 +95,12 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
90
95
|
query?: Record<string, string | number | boolean | undefined>;
|
|
91
96
|
signal?: AbortSignal;
|
|
92
97
|
}) => Promise<T[]>;
|
|
93
|
-
}
|
|
98
|
+
}, {
|
|
99
|
+
[x: string]: unknown;
|
|
100
|
+
id: string;
|
|
101
|
+
fields: Record<string, unknown>;
|
|
102
|
+
createdTime?: string | undefined;
|
|
103
|
+
}[]> & {
|
|
94
104
|
slug: "findRecords";
|
|
95
105
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
96
106
|
recordId: import("zod").ZodString;
|
|
@@ -101,7 +111,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
101
111
|
id: import("zod").ZodString;
|
|
102
112
|
createdTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
103
113
|
fields: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
104
|
-
}, import("zod/v4/core").$loose>,
|
|
114
|
+
}, import("zod/v4/core").$loose>, Record<string, never>, {
|
|
105
115
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
106
116
|
method?: string;
|
|
107
117
|
path: string;
|
|
@@ -116,6 +126,11 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
116
126
|
query?: Record<string, string | number | boolean | undefined>;
|
|
117
127
|
signal?: AbortSignal;
|
|
118
128
|
}) => Promise<T[]>;
|
|
129
|
+
}, {
|
|
130
|
+
[x: string]: unknown;
|
|
131
|
+
id: string;
|
|
132
|
+
fields: Record<string, unknown>;
|
|
133
|
+
createdTime?: string | undefined;
|
|
119
134
|
}> & {
|
|
120
135
|
slug: "updateRecord";
|
|
121
136
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
@@ -127,7 +142,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
127
142
|
id: import("zod").ZodString;
|
|
128
143
|
createdTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
129
144
|
fields: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
130
|
-
}, import("zod/v4/core").$loose>,
|
|
145
|
+
}, import("zod/v4/core").$loose>, Record<string, never>, {
|
|
131
146
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
132
147
|
method?: string;
|
|
133
148
|
path: string;
|
|
@@ -142,6 +157,11 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
142
157
|
query?: Record<string, string | number | boolean | undefined>;
|
|
143
158
|
signal?: AbortSignal;
|
|
144
159
|
}) => Promise<T[]>;
|
|
160
|
+
}, {
|
|
161
|
+
[x: string]: unknown;
|
|
162
|
+
id: string;
|
|
163
|
+
fields: Record<string, unknown>;
|
|
164
|
+
createdTime?: string | undefined;
|
|
145
165
|
}> & {
|
|
146
166
|
slug: "cleanRecord";
|
|
147
167
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
@@ -151,7 +171,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
151
171
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
152
172
|
id: import("zod").ZodString;
|
|
153
173
|
deleted: import("zod").ZodBoolean;
|
|
154
|
-
}, import("zod/v4/core").$loose>,
|
|
174
|
+
}, import("zod/v4/core").$loose>, Record<string, never>, {
|
|
155
175
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
156
176
|
method?: string;
|
|
157
177
|
path: string;
|
|
@@ -166,6 +186,10 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
166
186
|
query?: Record<string, string | number | boolean | undefined>;
|
|
167
187
|
signal?: AbortSignal;
|
|
168
188
|
}) => Promise<T[]>;
|
|
189
|
+
}, {
|
|
190
|
+
[x: string]: unknown;
|
|
191
|
+
id: string;
|
|
192
|
+
deleted: boolean;
|
|
169
193
|
}> & {
|
|
170
194
|
slug: "deleteRecord";
|
|
171
195
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
@@ -176,7 +200,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
176
200
|
id: import("zod").ZodString;
|
|
177
201
|
createdTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
178
202
|
fields: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
179
|
-
}, import("zod/v4/core").$loose>,
|
|
203
|
+
}, import("zod/v4/core").$loose>, Record<string, never>, {
|
|
180
204
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
181
205
|
method?: string;
|
|
182
206
|
path: string;
|
|
@@ -191,6 +215,11 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
191
215
|
query?: Record<string, string | number | boolean | undefined>;
|
|
192
216
|
signal?: AbortSignal;
|
|
193
217
|
}) => Promise<T[]>;
|
|
218
|
+
}, {
|
|
219
|
+
[x: string]: unknown;
|
|
220
|
+
id: string;
|
|
221
|
+
fields: Record<string, unknown>;
|
|
222
|
+
createdTime?: string | undefined;
|
|
194
223
|
}> & {
|
|
195
224
|
slug: "getRecord";
|
|
196
225
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
@@ -205,7 +234,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
205
234
|
createdTime: import("zod").ZodString;
|
|
206
235
|
lastUpdatedTime: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
207
236
|
parentCommentId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
208
|
-
}, import("zod/v4/core").$loose>,
|
|
237
|
+
}, import("zod/v4/core").$loose>, Record<string, never>, {
|
|
209
238
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
210
239
|
method?: string;
|
|
211
240
|
path: string;
|
|
@@ -220,6 +249,13 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
220
249
|
query?: Record<string, string | number | boolean | undefined>;
|
|
221
250
|
signal?: AbortSignal;
|
|
222
251
|
}) => Promise<T[]>;
|
|
252
|
+
}, {
|
|
253
|
+
[x: string]: unknown;
|
|
254
|
+
id: string;
|
|
255
|
+
text: string;
|
|
256
|
+
createdTime: string;
|
|
257
|
+
lastUpdatedTime?: string | null | undefined;
|
|
258
|
+
parentCommentId?: string | undefined;
|
|
223
259
|
}> & {
|
|
224
260
|
slug: "addRecordComment";
|
|
225
261
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
@@ -234,7 +270,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
234
270
|
id: import("zod").ZodString;
|
|
235
271
|
createdTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
236
272
|
fields: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
237
|
-
}, import("zod/v4/core").$loose>,
|
|
273
|
+
}, import("zod/v4/core").$loose>, Record<string, never>, {
|
|
238
274
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
239
275
|
method?: string;
|
|
240
276
|
path: string;
|
|
@@ -249,6 +285,11 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
249
285
|
query?: Record<string, string | number | boolean | undefined>;
|
|
250
286
|
signal?: AbortSignal;
|
|
251
287
|
}) => Promise<T[]>;
|
|
288
|
+
}, {
|
|
289
|
+
[x: string]: unknown;
|
|
290
|
+
id: string;
|
|
291
|
+
fields: Record<string, unknown>;
|
|
292
|
+
createdTime?: string | undefined;
|
|
252
293
|
}> & {
|
|
253
294
|
slug: "uploadAttachment";
|
|
254
295
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
@@ -303,7 +344,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
303
344
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
304
345
|
}, import("zod/v4/core").$loose>>>;
|
|
305
346
|
}, import("zod/v4/core").$loose>>;
|
|
306
|
-
}, import("zod/v4/core").$loose>,
|
|
347
|
+
}, import("zod/v4/core").$loose>, Record<string, never>, {
|
|
307
348
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
308
349
|
method?: string;
|
|
309
350
|
path: string;
|
|
@@ -318,6 +359,30 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
318
359
|
query?: Record<string, string | number | boolean | undefined>;
|
|
319
360
|
signal?: AbortSignal;
|
|
320
361
|
}) => Promise<T[]>;
|
|
362
|
+
}, {
|
|
363
|
+
[x: string]: unknown;
|
|
364
|
+
id: string;
|
|
365
|
+
tables: {
|
|
366
|
+
[x: string]: unknown;
|
|
367
|
+
id: string;
|
|
368
|
+
name: string;
|
|
369
|
+
fields: {
|
|
370
|
+
[x: string]: unknown;
|
|
371
|
+
name: string;
|
|
372
|
+
type: string;
|
|
373
|
+
id?: string | undefined;
|
|
374
|
+
description?: string | undefined;
|
|
375
|
+
options?: unknown;
|
|
376
|
+
}[];
|
|
377
|
+
description?: string | undefined;
|
|
378
|
+
primaryFieldId?: string | undefined;
|
|
379
|
+
views?: {
|
|
380
|
+
[x: string]: unknown;
|
|
381
|
+
id: string;
|
|
382
|
+
name: string;
|
|
383
|
+
type?: string | undefined;
|
|
384
|
+
}[] | undefined;
|
|
385
|
+
}[];
|
|
321
386
|
}> & {
|
|
322
387
|
slug: "createBase";
|
|
323
388
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
@@ -352,7 +417,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
352
417
|
name: import("zod").ZodString;
|
|
353
418
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
354
419
|
}, import("zod/v4/core").$loose>>>;
|
|
355
|
-
}, import("zod/v4/core").$loose>,
|
|
420
|
+
}, import("zod/v4/core").$loose>, Record<string, never>, {
|
|
356
421
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
357
422
|
method?: string;
|
|
358
423
|
path: string;
|
|
@@ -367,6 +432,26 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
367
432
|
query?: Record<string, string | number | boolean | undefined>;
|
|
368
433
|
signal?: AbortSignal;
|
|
369
434
|
}) => Promise<T[]>;
|
|
435
|
+
}, {
|
|
436
|
+
[x: string]: unknown;
|
|
437
|
+
id: string;
|
|
438
|
+
name: string;
|
|
439
|
+
fields: {
|
|
440
|
+
[x: string]: unknown;
|
|
441
|
+
name: string;
|
|
442
|
+
type: string;
|
|
443
|
+
id?: string | undefined;
|
|
444
|
+
description?: string | undefined;
|
|
445
|
+
options?: unknown;
|
|
446
|
+
}[];
|
|
447
|
+
description?: string | undefined;
|
|
448
|
+
primaryFieldId?: string | undefined;
|
|
449
|
+
views?: {
|
|
450
|
+
[x: string]: unknown;
|
|
451
|
+
id: string;
|
|
452
|
+
name: string;
|
|
453
|
+
type?: string | undefined;
|
|
454
|
+
}[] | undefined;
|
|
370
455
|
}> & {
|
|
371
456
|
slug: "createTable";
|
|
372
457
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
@@ -376,7 +461,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
376
461
|
name: import("zod").ZodString;
|
|
377
462
|
permissionLevel: import("zod").ZodOptional<import("zod").ZodString>;
|
|
378
463
|
workspaceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
379
|
-
}, import("zod/v4/core").$loose>>,
|
|
464
|
+
}, import("zod/v4/core").$loose>>, Record<string, never>, {
|
|
380
465
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
381
466
|
method?: string;
|
|
382
467
|
path: string;
|
|
@@ -391,7 +476,13 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
391
476
|
query?: Record<string, string | number | boolean | undefined>;
|
|
392
477
|
signal?: AbortSignal;
|
|
393
478
|
}) => Promise<T[]>;
|
|
394
|
-
}
|
|
479
|
+
}, {
|
|
480
|
+
[x: string]: unknown;
|
|
481
|
+
id: string;
|
|
482
|
+
name: string;
|
|
483
|
+
permissionLevel?: string | undefined;
|
|
484
|
+
workspaceId?: string | undefined;
|
|
485
|
+
}[]> & {
|
|
395
486
|
slug: "findBases";
|
|
396
487
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
397
488
|
baseId: import("zod").ZodString;
|
|
@@ -412,7 +503,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
412
503
|
name: import("zod").ZodString;
|
|
413
504
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
414
505
|
}, import("zod/v4/core").$loose>>>;
|
|
415
|
-
}, import("zod/v4/core").$loose>>,
|
|
506
|
+
}, import("zod/v4/core").$loose>>, Record<string, never>, {
|
|
416
507
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
417
508
|
method?: string;
|
|
418
509
|
path: string;
|
|
@@ -427,7 +518,27 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
427
518
|
query?: Record<string, string | number | boolean | undefined>;
|
|
428
519
|
signal?: AbortSignal;
|
|
429
520
|
}) => Promise<T[]>;
|
|
430
|
-
}
|
|
521
|
+
}, {
|
|
522
|
+
[x: string]: unknown;
|
|
523
|
+
id: string;
|
|
524
|
+
name: string;
|
|
525
|
+
fields: {
|
|
526
|
+
[x: string]: unknown;
|
|
527
|
+
name: string;
|
|
528
|
+
type: string;
|
|
529
|
+
id?: string | undefined;
|
|
530
|
+
description?: string | undefined;
|
|
531
|
+
options?: unknown;
|
|
532
|
+
}[];
|
|
533
|
+
description?: string | undefined;
|
|
534
|
+
primaryFieldId?: string | undefined;
|
|
535
|
+
views?: {
|
|
536
|
+
[x: string]: unknown;
|
|
537
|
+
id: string;
|
|
538
|
+
name: string;
|
|
539
|
+
type?: string | undefined;
|
|
540
|
+
}[] | undefined;
|
|
541
|
+
}[]> & {
|
|
431
542
|
slug: "getBaseSchema";
|
|
432
543
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
433
544
|
baseId: import("zod").ZodString;
|
|
@@ -449,7 +560,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
449
560
|
name: import("zod").ZodString;
|
|
450
561
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
451
562
|
}, import("zod/v4/core").$loose>>>;
|
|
452
|
-
}, import("zod/v4/core").$loose>,
|
|
563
|
+
}, import("zod/v4/core").$loose>, Record<string, never>, {
|
|
453
564
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
454
565
|
method?: string;
|
|
455
566
|
path: string;
|
|
@@ -464,6 +575,26 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
464
575
|
query?: Record<string, string | number | boolean | undefined>;
|
|
465
576
|
signal?: AbortSignal;
|
|
466
577
|
}) => Promise<T[]>;
|
|
578
|
+
}, {
|
|
579
|
+
[x: string]: unknown;
|
|
580
|
+
id: string;
|
|
581
|
+
name: string;
|
|
582
|
+
fields: {
|
|
583
|
+
[x: string]: unknown;
|
|
584
|
+
name: string;
|
|
585
|
+
type: string;
|
|
586
|
+
id?: string | undefined;
|
|
587
|
+
description?: string | undefined;
|
|
588
|
+
options?: unknown;
|
|
589
|
+
}[];
|
|
590
|
+
description?: string | undefined;
|
|
591
|
+
primaryFieldId?: string | undefined;
|
|
592
|
+
views?: {
|
|
593
|
+
[x: string]: unknown;
|
|
594
|
+
id: string;
|
|
595
|
+
name: string;
|
|
596
|
+
type?: string | undefined;
|
|
597
|
+
}[] | undefined;
|
|
467
598
|
}> & {
|
|
468
599
|
slug: "getTable";
|
|
469
600
|
}) | (import("frogbot").PieceActionDefinition<import("zod").ZodObject<{
|
|
@@ -486,7 +617,7 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
486
617
|
name: import("zod").ZodString;
|
|
487
618
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
488
619
|
}, import("zod/v4/core").$loose>>>;
|
|
489
|
-
}, import("zod/v4/core").$loose>>,
|
|
620
|
+
}, import("zod/v4/core").$loose>>, Record<string, never>, {
|
|
490
621
|
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
491
622
|
method?: string;
|
|
492
623
|
path: string;
|
|
@@ -501,71 +632,140 @@ export declare const createAirtable: import("frogbot").PieceFactory<{
|
|
|
501
632
|
query?: Record<string, string | number | boolean | undefined>;
|
|
502
633
|
signal?: AbortSignal;
|
|
503
634
|
}) => Promise<T[]>;
|
|
504
|
-
}
|
|
635
|
+
}, {
|
|
636
|
+
[x: string]: unknown;
|
|
637
|
+
id: string;
|
|
638
|
+
name: string;
|
|
639
|
+
fields: {
|
|
640
|
+
[x: string]: unknown;
|
|
641
|
+
name: string;
|
|
642
|
+
type: string;
|
|
643
|
+
id?: string | undefined;
|
|
644
|
+
description?: string | undefined;
|
|
645
|
+
options?: unknown;
|
|
646
|
+
}[];
|
|
647
|
+
description?: string | undefined;
|
|
648
|
+
primaryFieldId?: string | undefined;
|
|
649
|
+
views?: {
|
|
650
|
+
[x: string]: unknown;
|
|
651
|
+
id: string;
|
|
652
|
+
name: string;
|
|
653
|
+
type?: string | undefined;
|
|
654
|
+
}[] | undefined;
|
|
655
|
+
} | null> & {
|
|
505
656
|
slug: "findTable";
|
|
506
657
|
}))[];
|
|
507
|
-
triggers: ((
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
}
|
|
536
|
-
|
|
658
|
+
triggers: (({
|
|
659
|
+
slug: string;
|
|
660
|
+
label?: string;
|
|
661
|
+
description: string;
|
|
662
|
+
input: import("zod").ZodObject<{
|
|
663
|
+
baseId: import("zod").ZodString;
|
|
664
|
+
tableId: import("zod").ZodString;
|
|
665
|
+
viewId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
666
|
+
}, import("zod/v4/core").$strip>;
|
|
667
|
+
output?: import("zod").ZodObject<{
|
|
668
|
+
id: import("zod").ZodString;
|
|
669
|
+
createdTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
670
|
+
fields: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
671
|
+
}, import("zod/v4/core").$loose> | undefined;
|
|
672
|
+
sample?: {
|
|
673
|
+
[x: string]: unknown;
|
|
674
|
+
id: string;
|
|
675
|
+
fields: Record<string, unknown>;
|
|
676
|
+
createdTime?: string | undefined;
|
|
677
|
+
} | undefined;
|
|
678
|
+
} & {
|
|
679
|
+
type: "polling";
|
|
680
|
+
schedule?: string;
|
|
681
|
+
run(args: import("frogbot").PieceRunArgs<{
|
|
682
|
+
baseId: string;
|
|
683
|
+
tableId: string;
|
|
684
|
+
viewId?: string | undefined;
|
|
685
|
+
}, Record<string, never>, {
|
|
686
|
+
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
687
|
+
method?: string;
|
|
688
|
+
path: string;
|
|
689
|
+
query?: Record<string, string | number | boolean | undefined>;
|
|
690
|
+
body?: unknown;
|
|
691
|
+
signal?: AbortSignal;
|
|
692
|
+
baseUrl?: string;
|
|
693
|
+
}) => Promise<T>;
|
|
694
|
+
listAll: <T>({ path, key, query, signal, }: {
|
|
695
|
+
path: string;
|
|
696
|
+
key: string;
|
|
697
|
+
query?: Record<string, string | number | boolean | undefined>;
|
|
698
|
+
signal?: AbortSignal;
|
|
699
|
+
}) => Promise<T[]>;
|
|
700
|
+
}> & {
|
|
701
|
+
cursor?: import("frogbot").PieceJSON | undefined;
|
|
702
|
+
}): Promise<{
|
|
703
|
+
events: {
|
|
704
|
+
[x: string]: unknown;
|
|
705
|
+
id: string;
|
|
706
|
+
fields: Record<string, unknown>;
|
|
707
|
+
createdTime?: string | undefined;
|
|
708
|
+
}[];
|
|
709
|
+
cursor?: import("frogbot").PieceJSON | undefined;
|
|
710
|
+
}>;
|
|
711
|
+
} & {
|
|
537
712
|
slug: "newRecord";
|
|
538
|
-
}) | (
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
713
|
+
}) | ({
|
|
714
|
+
slug: string;
|
|
715
|
+
label?: string;
|
|
716
|
+
description: string;
|
|
717
|
+
input: import("zod").ZodObject<{
|
|
718
|
+
baseId: import("zod").ZodString;
|
|
719
|
+
tableId: import("zod").ZodString;
|
|
720
|
+
viewId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
721
|
+
modifiedTimeField: import("zod").ZodString;
|
|
722
|
+
}, import("zod/v4/core").$strip>;
|
|
723
|
+
output?: import("zod").ZodObject<{
|
|
724
|
+
id: import("zod").ZodString;
|
|
725
|
+
createdTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
726
|
+
fields: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
|
|
727
|
+
}, import("zod/v4/core").$loose> | undefined;
|
|
728
|
+
sample?: {
|
|
729
|
+
[x: string]: unknown;
|
|
730
|
+
id: string;
|
|
731
|
+
fields: Record<string, unknown>;
|
|
732
|
+
createdTime?: string | undefined;
|
|
733
|
+
} | undefined;
|
|
734
|
+
} & {
|
|
735
|
+
type: "polling";
|
|
736
|
+
schedule?: string;
|
|
737
|
+
run(args: import("frogbot").PieceRunArgs<{
|
|
738
|
+
baseId: string;
|
|
739
|
+
tableId: string;
|
|
740
|
+
modifiedTimeField: string;
|
|
741
|
+
viewId?: string | undefined;
|
|
742
|
+
}, Record<string, never>, {
|
|
743
|
+
request: <T>({ method, path, query, body, signal, baseUrl, }: {
|
|
744
|
+
method?: string;
|
|
745
|
+
path: string;
|
|
746
|
+
query?: Record<string, string | number | boolean | undefined>;
|
|
747
|
+
body?: unknown;
|
|
748
|
+
signal?: AbortSignal;
|
|
749
|
+
baseUrl?: string;
|
|
750
|
+
}) => Promise<T>;
|
|
751
|
+
listAll: <T>({ path, key, query, signal, }: {
|
|
752
|
+
path: string;
|
|
753
|
+
key: string;
|
|
754
|
+
query?: Record<string, string | number | boolean | undefined>;
|
|
755
|
+
signal?: AbortSignal;
|
|
756
|
+
}) => Promise<T[]>;
|
|
757
|
+
}> & {
|
|
758
|
+
cursor?: import("frogbot").PieceJSON | undefined;
|
|
759
|
+
}): Promise<{
|
|
760
|
+
events: {
|
|
761
|
+
[x: string]: unknown;
|
|
762
|
+
id: string;
|
|
763
|
+
fields: Record<string, unknown>;
|
|
764
|
+
createdTime?: string | undefined;
|
|
765
|
+
}[];
|
|
766
|
+
cursor?: import("frogbot").PieceJSON | undefined;
|
|
767
|
+
}>;
|
|
768
|
+
} & {
|
|
569
769
|
slug: "newOrUpdatedRecord";
|
|
570
770
|
}))[];
|
|
571
771
|
}>;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAqBA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAKnD,eAAO,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