@zapier/zapier-sdk-cli 0.64.0 → 0.65.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.
@@ -0,0 +1,533 @@
1
+ import * as _zapier_zapier_sdk from '@zapier/zapier-sdk';
2
+ import { AppItem, Manifest, PluginSurface, ZapierSdk, Plugin, PluginProvides } from '@zapier/zapier-sdk';
3
+ import * as zod from 'zod';
4
+ import { z } from 'zod';
5
+ import * as zod_v4_core from 'zod/v4/core';
6
+
7
+ declare const BuildManifestSchema: z.ZodObject<{
8
+ apps: z.ZodArray<z.ZodString>;
9
+ skipWrite: z.ZodOptional<z.ZodBoolean>;
10
+ configPath: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ type BuildManifestOptions = z.infer<typeof BuildManifestSchema> & {
13
+ onProgress?: (event: ManifestBuildProgressEvent) => void;
14
+ };
15
+ type ManifestBuildProgressEvent = {
16
+ type: "apps_lookup_start";
17
+ count: number;
18
+ } | {
19
+ type: "app_found";
20
+ app: AppItem;
21
+ } | {
22
+ type: "apps_lookup_complete";
23
+ count: number;
24
+ } | {
25
+ type: "app_processing_start";
26
+ app: string;
27
+ slug?: string;
28
+ } | {
29
+ type: "manifest_entry_built";
30
+ app: string;
31
+ manifestKey: string;
32
+ version: string;
33
+ } | {
34
+ type: "manifest_updated";
35
+ app: string;
36
+ manifestKey: string;
37
+ version: string;
38
+ } | {
39
+ type: "app_processing_complete";
40
+ app: string;
41
+ } | {
42
+ type: "app_processing_error";
43
+ app: string;
44
+ error: string;
45
+ };
46
+ interface BuildManifestResult {
47
+ manifest?: Manifest;
48
+ }
49
+
50
+ declare const buildManifestPlugin: _zapier_zapier_sdk.MethodPlugin<"buildManifest", BuildManifestOptions, Promise<BuildManifestResult>, readonly []> & _zapier_zapier_sdk.LeafSummary<"", "buildManifest", readonly [_zapier_zapier_sdk.MethodPlugin<"listApps", ({
51
+ search?: string | undefined;
52
+ apps?: string[] | undefined;
53
+ appKeys?: string[] | undefined;
54
+ pageSize?: number | undefined;
55
+ maxItems?: number | undefined;
56
+ cursor?: string | undefined;
57
+ } & {
58
+ cursor?: string;
59
+ pageSize?: number;
60
+ } & {
61
+ maxItems?: number;
62
+ }) | undefined, _zapier_zapier_sdk.PaginatedSdkResult<{
63
+ slug: string;
64
+ title: string;
65
+ key: string;
66
+ implementation_id: string;
67
+ description?: string | undefined;
68
+ is_hidden?: boolean | undefined;
69
+ auth_type?: string | undefined;
70
+ actions?: {
71
+ read?: number | undefined;
72
+ read_bulk?: number | undefined;
73
+ write?: number | undefined;
74
+ search?: number | undefined;
75
+ search_or_write?: number | undefined;
76
+ search_and_write?: number | undefined;
77
+ filter?: number | undefined;
78
+ } | undefined;
79
+ is_deprecated?: boolean | undefined;
80
+ is_beta?: boolean | undefined;
81
+ is_premium?: boolean | undefined;
82
+ age_in_days?: number | undefined;
83
+ banner?: string | undefined;
84
+ categories?: {
85
+ id: number;
86
+ name: string;
87
+ slug: string;
88
+ }[] | undefined;
89
+ images?: {
90
+ url_16x16?: string | undefined;
91
+ url_32x32?: string | undefined;
92
+ url_64x64?: string | undefined;
93
+ url_128x128?: string | undefined;
94
+ } | undefined;
95
+ popularity?: number | undefined;
96
+ has_filters?: boolean | undefined;
97
+ has_reads?: boolean | undefined;
98
+ has_searches?: boolean | undefined;
99
+ has_searches_or_writes?: boolean | undefined;
100
+ has_upfront_fields?: boolean | undefined;
101
+ has_writes?: boolean | undefined;
102
+ is_built_in?: boolean | undefined;
103
+ is_featured?: boolean | undefined;
104
+ is_invite?: boolean | undefined;
105
+ is_public?: boolean | undefined;
106
+ is_upcoming?: boolean | undefined;
107
+ visibility?: string | undefined;
108
+ primary_color?: string | undefined;
109
+ secondary_color?: string | undefined;
110
+ classification?: string | undefined;
111
+ api_docs_url?: string | undefined;
112
+ image?: string | undefined;
113
+ version?: string | undefined;
114
+ }>, readonly []> & _zapier_zapier_sdk.PluginSummary<"listApps", never>, _zapier_zapier_sdk.PropertyPlugin<"manifest", _zapier_zapier_sdk.ManifestProvider> & _zapier_zapier_sdk.PluginSummary<"zapier/manifest", never>]>;
115
+ type BuildManifestPluginProvides = PluginSurface<typeof buildManifestPlugin>;
116
+
117
+ declare const feedbackPlugin: _zapier_zapier_sdk.MethodPlugin<"feedback", {
118
+ feedback: string;
119
+ }, Promise<string>, readonly []> & _zapier_zapier_sdk.LeafSummary<"", "feedback", readonly [_zapier_zapier_sdk.PropertyPlugin<"sdkOptions", {
120
+ credentials?: string | {
121
+ clientId: string;
122
+ clientSecret: string;
123
+ type?: "client_credentials" | undefined;
124
+ baseUrl?: string | undefined;
125
+ scope?: string | undefined;
126
+ } | {
127
+ clientId: string;
128
+ type?: "pkce" | undefined;
129
+ baseUrl?: string | undefined;
130
+ scope?: string | undefined;
131
+ } | zod_v4_core.$InferOuterFunctionType<zod_v4_core.$ZodTuple<readonly [], zod_v4_core.$ZodFunctionOut>, zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
132
+ type: zod.ZodOptional<zod.ZodEnum<{
133
+ client_credentials: "client_credentials";
134
+ }>>;
135
+ clientId: zod.ZodString;
136
+ clientSecret: zod.ZodString;
137
+ baseUrl: zod.ZodOptional<zod.ZodString>;
138
+ scope: zod.ZodOptional<zod.ZodString>;
139
+ }, zod_v4_core.$strip>, zod.ZodObject<{
140
+ type: zod.ZodOptional<zod.ZodEnum<{
141
+ pkce: "pkce";
142
+ }>>;
143
+ clientId: zod.ZodString;
144
+ baseUrl: zod.ZodOptional<zod.ZodString>;
145
+ scope: zod.ZodOptional<zod.ZodString>;
146
+ }, zod_v4_core.$strip>]>]>, zod.ZodPromise<zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
147
+ type: zod.ZodOptional<zod.ZodEnum<{
148
+ client_credentials: "client_credentials";
149
+ }>>;
150
+ clientId: zod.ZodString;
151
+ clientSecret: zod.ZodString;
152
+ baseUrl: zod.ZodOptional<zod.ZodString>;
153
+ scope: zod.ZodOptional<zod.ZodString>;
154
+ }, zod_v4_core.$strip>, zod.ZodObject<{
155
+ type: zod.ZodOptional<zod.ZodEnum<{
156
+ pkce: "pkce";
157
+ }>>;
158
+ clientId: zod.ZodString;
159
+ baseUrl: zod.ZodOptional<zod.ZodString>;
160
+ scope: zod.ZodOptional<zod.ZodString>;
161
+ }, zod_v4_core.$strip>]>]>>]>> | undefined;
162
+ debug?: boolean | undefined;
163
+ baseUrl?: string | undefined;
164
+ trackingBaseUrl?: string | undefined;
165
+ maxNetworkRetries?: number | undefined;
166
+ maxNetworkRetryDelayMs?: number | undefined;
167
+ maxConcurrentRequests?: number | undefined;
168
+ approvalTimeoutMs?: number | undefined;
169
+ maxApprovalRetries?: number | undefined;
170
+ approvalMode?: "disabled" | "poll" | "throw" | undefined;
171
+ openAutoModeApprovalsInBrowser?: boolean | undefined;
172
+ manifestPath?: string | undefined;
173
+ manifest?: _zapier_zapier_sdk.Manifest | undefined;
174
+ onEvent?: _zapier_zapier_sdk.EventCallback | undefined;
175
+ fetch?: typeof fetch | undefined;
176
+ eventEmission?: _zapier_zapier_sdk.EventEmissionConfig | undefined;
177
+ callerPackage?: {
178
+ name: string;
179
+ version: string;
180
+ } | undefined;
181
+ cache?: _zapier_zapier_sdk.ZapierCache | undefined;
182
+ canIncludeSharedConnections?: boolean | undefined;
183
+ canIncludeSharedTables?: boolean | undefined;
184
+ canDeleteTables?: boolean | undefined;
185
+ token?: string | undefined;
186
+ } | undefined> & _zapier_zapier_sdk.PluginSummary<never, never>]>;
187
+ type FeedbackPluginProvides = PluginSurface<typeof feedbackPlugin>;
188
+
189
+ declare const GenerateAppTypesSchema: z.ZodObject<{
190
+ apps: z.ZodArray<z.ZodString>;
191
+ connections: z.ZodOptional<z.ZodArray<z.ZodString>>;
192
+ skipWrite: z.ZodOptional<z.ZodBoolean>;
193
+ typesOutputDirectory: z.ZodOptional<z.ZodString>;
194
+ }, z.core.$strip>;
195
+ type GenerateAppTypesOptions = z.infer<typeof GenerateAppTypesSchema> & {
196
+ onProgress?: (event: AppTypesProgressEvent) => void;
197
+ };
198
+ type AppTypesProgressEvent = {
199
+ type: "apps_lookup_start";
200
+ count: number;
201
+ } | {
202
+ type: "app_found";
203
+ app: AppItem;
204
+ } | {
205
+ type: "apps_lookup_complete";
206
+ count: number;
207
+ } | {
208
+ type: "connections_lookup_start";
209
+ count: number;
210
+ } | {
211
+ type: "connections_lookup_complete";
212
+ count: number;
213
+ } | {
214
+ type: "app_processing_start";
215
+ app: string;
216
+ slug?: string;
217
+ } | {
218
+ type: "connection_matched";
219
+ app: string;
220
+ connectionId: string;
221
+ connectionTitle: string;
222
+ } | {
223
+ type: "connection_not_matched";
224
+ app: string;
225
+ } | {
226
+ type: "type_generated";
227
+ manifestKey: string;
228
+ sizeBytes: number;
229
+ } | {
230
+ type: "file_written";
231
+ manifestKey: string;
232
+ filePath: string;
233
+ } | {
234
+ type: "app_processing_complete";
235
+ app: string;
236
+ } | {
237
+ type: "app_processing_error";
238
+ app: string;
239
+ error: string;
240
+ };
241
+ interface GenerateAppTypesResult {
242
+ typeDefinitions: Record<string, string>;
243
+ writtenFiles?: Record<string, string>;
244
+ }
245
+
246
+ declare const generateAppTypesPlugin: _zapier_zapier_sdk.MethodPlugin<"generateAppTypes", GenerateAppTypesOptions, Promise<GenerateAppTypesResult>, readonly []> & _zapier_zapier_sdk.LeafSummary<"", "generateAppTypes", readonly [_zapier_zapier_sdk.MethodPlugin<"listApps", ({
247
+ search?: string | undefined;
248
+ apps?: string[] | undefined;
249
+ appKeys?: string[] | undefined;
250
+ pageSize?: number | undefined;
251
+ maxItems?: number | undefined;
252
+ cursor?: string | undefined;
253
+ } & {
254
+ cursor?: string;
255
+ pageSize?: number;
256
+ } & {
257
+ maxItems?: number;
258
+ }) | undefined, _zapier_zapier_sdk.PaginatedSdkResult<{
259
+ slug: string;
260
+ title: string;
261
+ key: string;
262
+ implementation_id: string;
263
+ description?: string | undefined;
264
+ is_hidden?: boolean | undefined;
265
+ auth_type?: string | undefined;
266
+ actions?: {
267
+ read?: number | undefined;
268
+ read_bulk?: number | undefined;
269
+ write?: number | undefined;
270
+ search?: number | undefined;
271
+ search_or_write?: number | undefined;
272
+ search_and_write?: number | undefined;
273
+ filter?: number | undefined;
274
+ } | undefined;
275
+ is_deprecated?: boolean | undefined;
276
+ is_beta?: boolean | undefined;
277
+ is_premium?: boolean | undefined;
278
+ age_in_days?: number | undefined;
279
+ banner?: string | undefined;
280
+ categories?: {
281
+ id: number;
282
+ name: string;
283
+ slug: string;
284
+ }[] | undefined;
285
+ images?: {
286
+ url_16x16?: string | undefined;
287
+ url_32x32?: string | undefined;
288
+ url_64x64?: string | undefined;
289
+ url_128x128?: string | undefined;
290
+ } | undefined;
291
+ popularity?: number | undefined;
292
+ has_filters?: boolean | undefined;
293
+ has_reads?: boolean | undefined;
294
+ has_searches?: boolean | undefined;
295
+ has_searches_or_writes?: boolean | undefined;
296
+ has_upfront_fields?: boolean | undefined;
297
+ has_writes?: boolean | undefined;
298
+ is_built_in?: boolean | undefined;
299
+ is_featured?: boolean | undefined;
300
+ is_invite?: boolean | undefined;
301
+ is_public?: boolean | undefined;
302
+ is_upcoming?: boolean | undefined;
303
+ visibility?: string | undefined;
304
+ primary_color?: string | undefined;
305
+ secondary_color?: string | undefined;
306
+ classification?: string | undefined;
307
+ api_docs_url?: string | undefined;
308
+ image?: string | undefined;
309
+ version?: string | undefined;
310
+ }>, readonly []> & _zapier_zapier_sdk.PluginSummary<"listApps", never>, _zapier_zapier_sdk.MethodPlugin<"listConnections", ({
311
+ title?: string | undefined;
312
+ search?: string | undefined;
313
+ owner?: string | undefined;
314
+ app?: string | undefined;
315
+ appKey?: string | undefined;
316
+ connections?: string[] | undefined;
317
+ connectionIds?: string[] | undefined;
318
+ authenticationIds?: string[] | undefined;
319
+ account?: string | undefined;
320
+ accountId?: string | undefined;
321
+ includeShared?: boolean | undefined;
322
+ isExpired?: boolean | undefined;
323
+ expired?: boolean | undefined;
324
+ pageSize?: number | undefined;
325
+ maxItems?: number | undefined;
326
+ cursor?: string | undefined;
327
+ } & {
328
+ cursor?: string;
329
+ pageSize?: number;
330
+ } & {
331
+ maxItems?: number;
332
+ }) | undefined, _zapier_zapier_sdk.PaginatedSdkResult<{
333
+ date: string;
334
+ is_invite_only: boolean;
335
+ is_private: boolean;
336
+ shared_with_all: boolean;
337
+ id: string;
338
+ account_id: string;
339
+ title?: string | null | undefined;
340
+ lastchanged?: string | undefined;
341
+ destination_selected_api?: string | null | undefined;
342
+ is_stale?: string | undefined;
343
+ is_shared?: string | undefined;
344
+ marked_stale_at?: string | null | undefined;
345
+ label?: string | null | undefined;
346
+ identifier?: string | null | undefined;
347
+ url?: string | undefined;
348
+ groups?: Record<string, unknown>[] | undefined;
349
+ members?: string | undefined;
350
+ permissions?: Record<string, boolean> | undefined;
351
+ public_id?: string | undefined;
352
+ account_public_id?: string | undefined;
353
+ customuser_public_id?: string | undefined;
354
+ implementation_id?: string | undefined;
355
+ profile_id?: string | undefined;
356
+ is_expired?: string | undefined;
357
+ expired_at?: string | null | undefined;
358
+ app_key?: string | undefined;
359
+ app_version?: string | undefined;
360
+ }>, readonly []> & _zapier_zapier_sdk.PluginSummary<"listConnections", never>, _zapier_zapier_sdk.MethodPlugin<"listActions", ({
361
+ app: string;
362
+ actionType?: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run" | undefined;
363
+ pageSize?: number | undefined;
364
+ maxItems?: number | undefined;
365
+ cursor?: string | undefined;
366
+ } | {
367
+ appKey: string;
368
+ actionType?: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run" | undefined;
369
+ pageSize?: number | undefined;
370
+ maxItems?: number | undefined;
371
+ cursor?: string | undefined;
372
+ }) & {
373
+ cursor?: string;
374
+ pageSize?: number;
375
+ } & {
376
+ maxItems?: number;
377
+ }, _zapier_zapier_sdk.PaginatedSdkResult<{
378
+ description: string;
379
+ key: string;
380
+ app_key: string;
381
+ action_type: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
382
+ title: string;
383
+ type: "action";
384
+ is_hidden?: boolean | undefined;
385
+ id?: string | undefined;
386
+ is_important?: boolean | undefined;
387
+ app_version?: string | undefined;
388
+ }>, readonly []> & _zapier_zapier_sdk.PluginSummary<"listActions", never>, _zapier_zapier_sdk.MethodPlugin<"listActionInputFields", ({
389
+ app: string;
390
+ actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
391
+ action: string;
392
+ connection?: string | number | undefined;
393
+ connectionId?: string | number | null | undefined;
394
+ authenticationId?: string | number | null | undefined;
395
+ inputs?: Record<string, unknown> | undefined;
396
+ pageSize?: number | undefined;
397
+ maxItems?: number | undefined;
398
+ cursor?: string | undefined;
399
+ } | {
400
+ appKey: string;
401
+ actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
402
+ actionKey: string;
403
+ connection?: string | number | undefined;
404
+ connectionId?: string | number | null | undefined;
405
+ authenticationId?: string | number | null | undefined;
406
+ inputs?: Record<string, unknown> | undefined;
407
+ pageSize?: number | undefined;
408
+ maxItems?: number | undefined;
409
+ cursor?: string | undefined;
410
+ }) & {
411
+ cursor?: string;
412
+ pageSize?: number;
413
+ } & {
414
+ maxItems?: number;
415
+ }, _zapier_zapier_sdk.PaginatedSdkResult<{
416
+ key: string;
417
+ type: "input_field";
418
+ default_value: string;
419
+ depends_on: string[];
420
+ description: string;
421
+ invalidates_input_fields: boolean;
422
+ is_required: boolean;
423
+ placeholder: string;
424
+ title: string;
425
+ value_type: string;
426
+ format?: string | undefined;
427
+ items?: {
428
+ type: string;
429
+ } | undefined;
430
+ } | {
431
+ key: string;
432
+ type: "info_field";
433
+ description: string;
434
+ title?: string | undefined;
435
+ } | _zapier_zapier_sdk.FieldsetItem>, readonly []> & _zapier_zapier_sdk.PluginSummary<"listActionInputFields", never>]>;
436
+ type GenerateAppTypesPluginProvides = PluginSurface<typeof generateAppTypesPlugin>;
437
+
438
+ type SignupPluginProvides = PluginSurface<typeof signupPlugin>;
439
+ declare const signupPlugin: _zapier_zapier_sdk.MethodPlugin<"signup", {
440
+ timeout?: string | undefined;
441
+ useApprovals?: boolean | undefined;
442
+ nonInteractive?: boolean | undefined;
443
+ skipPrompts?: boolean | undefined;
444
+ headless?: boolean | undefined;
445
+ callbackUrl?: string | undefined;
446
+ }, Promise<void>, readonly []> & _zapier_zapier_sdk.LeafSummary<"", "signup", readonly [_zapier_zapier_sdk.PropertyPlugin<"api", _zapier_zapier_sdk.ApiClient> & _zapier_zapier_sdk.PluginSummary<"zapier/api", never>, _zapier_zapier_sdk.PropertyPlugin<"resolveCredentials", _zapier_zapier_sdk.ResolveCredentialsFn> & _zapier_zapier_sdk.PluginSummary<"zapier/resolveCredentials", never>, _zapier_zapier_sdk.PropertyPlugin<"eventEmission", {
447
+ transport: _zapier_zapier_sdk.EventTransport;
448
+ config: _zapier_zapier_sdk.EventEmissionConfig;
449
+ emit<T extends unknown>(subject: string, event: T): void;
450
+ createBaseEvent(): Promise<_zapier_zapier_sdk.BaseEvent>;
451
+ flush(): Promise<void>;
452
+ close(exitCode?: number): Promise<void>;
453
+ }> & _zapier_zapier_sdk.PluginSummary<"zapier/eventEmission", never>, _zapier_zapier_sdk.PropertyPlugin<"sdkOptions", {
454
+ credentials?: string | {
455
+ clientId: string;
456
+ clientSecret: string;
457
+ type?: "client_credentials" | undefined;
458
+ baseUrl?: string | undefined;
459
+ scope?: string | undefined;
460
+ } | {
461
+ clientId: string;
462
+ type?: "pkce" | undefined;
463
+ baseUrl?: string | undefined;
464
+ scope?: string | undefined;
465
+ } | zod_v4_core.$InferOuterFunctionType<zod_v4_core.$ZodTuple<readonly [], zod_v4_core.$ZodFunctionOut>, zod.ZodUnion<readonly [zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
466
+ type: zod.ZodOptional<zod.ZodEnum<{
467
+ client_credentials: "client_credentials";
468
+ }>>;
469
+ clientId: zod.ZodString;
470
+ clientSecret: zod.ZodString;
471
+ baseUrl: zod.ZodOptional<zod.ZodString>;
472
+ scope: zod.ZodOptional<zod.ZodString>;
473
+ }, zod_v4_core.$strip>, zod.ZodObject<{
474
+ type: zod.ZodOptional<zod.ZodEnum<{
475
+ pkce: "pkce";
476
+ }>>;
477
+ clientId: zod.ZodString;
478
+ baseUrl: zod.ZodOptional<zod.ZodString>;
479
+ scope: zod.ZodOptional<zod.ZodString>;
480
+ }, zod_v4_core.$strip>]>]>, zod.ZodPromise<zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
481
+ type: zod.ZodOptional<zod.ZodEnum<{
482
+ client_credentials: "client_credentials";
483
+ }>>;
484
+ clientId: zod.ZodString;
485
+ clientSecret: zod.ZodString;
486
+ baseUrl: zod.ZodOptional<zod.ZodString>;
487
+ scope: zod.ZodOptional<zod.ZodString>;
488
+ }, zod_v4_core.$strip>, zod.ZodObject<{
489
+ type: zod.ZodOptional<zod.ZodEnum<{
490
+ pkce: "pkce";
491
+ }>>;
492
+ clientId: zod.ZodString;
493
+ baseUrl: zod.ZodOptional<zod.ZodString>;
494
+ scope: zod.ZodOptional<zod.ZodString>;
495
+ }, zod_v4_core.$strip>]>]>>]>> | undefined;
496
+ debug?: boolean | undefined;
497
+ baseUrl?: string | undefined;
498
+ trackingBaseUrl?: string | undefined;
499
+ maxNetworkRetries?: number | undefined;
500
+ maxNetworkRetryDelayMs?: number | undefined;
501
+ maxConcurrentRequests?: number | undefined;
502
+ approvalTimeoutMs?: number | undefined;
503
+ maxApprovalRetries?: number | undefined;
504
+ approvalMode?: "disabled" | "poll" | "throw" | undefined;
505
+ openAutoModeApprovalsInBrowser?: boolean | undefined;
506
+ manifestPath?: string | undefined;
507
+ manifest?: _zapier_zapier_sdk.Manifest | undefined;
508
+ onEvent?: _zapier_zapier_sdk.EventCallback | undefined;
509
+ fetch?: typeof fetch | undefined;
510
+ eventEmission?: _zapier_zapier_sdk.EventEmissionConfig | undefined;
511
+ callerPackage?: {
512
+ name: string;
513
+ version: string;
514
+ } | undefined;
515
+ cache?: _zapier_zapier_sdk.ZapierCache | undefined;
516
+ canIncludeSharedConnections?: boolean | undefined;
517
+ canIncludeSharedTables?: boolean | undefined;
518
+ canDeleteTables?: boolean | undefined;
519
+ token?: string | undefined;
520
+ } | undefined> & _zapier_zapier_sdk.PluginSummary<never, never>]>;
521
+
522
+ type ZapierSdkCli = ZapierSdk & BuildManifestPluginProvides & FeedbackPluginProvides & GenerateAppTypesPluginProvides & SignupPluginProvides;
523
+
524
+ /** A new-model plugin descriptor (from `defineMethod` / `definePlugin` /
525
+ * `defineResolver` etc.), identified by its `pluginType` discriminant. */
526
+ interface ModelPlugin {
527
+ readonly pluginType: string;
528
+ }
529
+ /** An extension is either a legacy function plugin or a new-model plugin
530
+ * descriptor; `addPlugin` accepts both. */
531
+ type Extension = Plugin<unknown, PluginProvides> | ModelPlugin;
532
+
533
+ export type { Extension as E, ZapierSdkCli as Z };