@zapier/zapier-sdk-cli 0.78.0 → 0.79.1
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 +29 -0
- package/README.md +2 -0
- package/dist/cli.cjs +23 -14
- package/dist/cli.mjs +23 -14
- package/dist/experimental.cjs +12 -13
- package/dist/experimental.d.mts +1 -1
- package/dist/experimental.d.ts +1 -1
- package/dist/experimental.mjs +12 -13
- package/dist/{extensions-B2RUri85.d.mts → extensions-B6a6ysnh.d.mts} +626 -79
- package/dist/{extensions-B2RUri85.d.ts → extensions-B6a6ysnh.d.ts} +626 -79
- package/dist/index.cjs +13 -14
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +13 -14
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _zapier_zapier_sdk from '@zapier/zapier-sdk';
|
|
2
|
-
import { AppItem, Manifest, PluginSurface,
|
|
2
|
+
import { AppItem, Manifest, PluginSurface, ZapierSdk, Plugin, PluginProvides } from '@zapier/zapier-sdk';
|
|
3
3
|
import * as _zapier_kitcore from '@zapier/kitcore';
|
|
4
4
|
import * as zod from 'zod';
|
|
5
5
|
import { z } from 'zod';
|
|
@@ -128,14 +128,82 @@ declare const buildManifestPlugin: _zapier_kitcore.MethodPlugin<"buildManifest",
|
|
|
128
128
|
maxItems?: number;
|
|
129
129
|
} & {
|
|
130
130
|
skipOutputDataValidation?: boolean;
|
|
131
|
-
}) | undefined> & _zapier_kitcore.
|
|
131
|
+
}) | undefined> & _zapier_kitcore.DeclarationSummary<"listApps", (input?: ({
|
|
132
|
+
search?: string | undefined;
|
|
133
|
+
apps?: string[] | undefined;
|
|
134
|
+
appKeys?: string[] | undefined;
|
|
135
|
+
pageSize?: number | undefined;
|
|
136
|
+
maxItems?: number | undefined;
|
|
137
|
+
cursor?: string | undefined;
|
|
138
|
+
} & {
|
|
139
|
+
cursor?: string;
|
|
140
|
+
pageSize?: number;
|
|
141
|
+
} & {
|
|
142
|
+
maxItems?: number;
|
|
143
|
+
} & {
|
|
144
|
+
skipOutputDataValidation?: boolean;
|
|
145
|
+
}) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
|
|
146
|
+
slug: string;
|
|
147
|
+
title: string;
|
|
148
|
+
key: string;
|
|
149
|
+
implementation_id: string;
|
|
150
|
+
description?: string | undefined;
|
|
151
|
+
is_hidden?: boolean | undefined;
|
|
152
|
+
auth_type?: string | undefined;
|
|
153
|
+
actions?: {
|
|
154
|
+
read?: number | undefined;
|
|
155
|
+
read_bulk?: number | undefined;
|
|
156
|
+
write?: number | undefined;
|
|
157
|
+
search?: number | undefined;
|
|
158
|
+
search_or_write?: number | undefined;
|
|
159
|
+
search_and_write?: number | undefined;
|
|
160
|
+
filter?: number | undefined;
|
|
161
|
+
} | undefined;
|
|
162
|
+
is_deprecated?: boolean | undefined;
|
|
163
|
+
is_beta?: boolean | undefined;
|
|
164
|
+
is_premium?: boolean | undefined;
|
|
165
|
+
age_in_days?: number | undefined;
|
|
166
|
+
banner?: string | undefined;
|
|
167
|
+
categories?: {
|
|
168
|
+
id: number;
|
|
169
|
+
name: string;
|
|
170
|
+
slug: string;
|
|
171
|
+
}[] | undefined;
|
|
172
|
+
images?: {
|
|
173
|
+
url_16x16?: string | undefined;
|
|
174
|
+
url_32x32?: string | undefined;
|
|
175
|
+
url_64x64?: string | undefined;
|
|
176
|
+
url_128x128?: string | undefined;
|
|
177
|
+
} | undefined;
|
|
178
|
+
popularity?: number | undefined;
|
|
179
|
+
has_filters?: boolean | undefined;
|
|
180
|
+
has_reads?: boolean | undefined;
|
|
181
|
+
has_searches?: boolean | undefined;
|
|
182
|
+
has_searches_or_writes?: boolean | undefined;
|
|
183
|
+
has_upfront_fields?: boolean | undefined;
|
|
184
|
+
has_writes?: boolean | undefined;
|
|
185
|
+
is_built_in?: boolean | undefined;
|
|
186
|
+
is_featured?: boolean | undefined;
|
|
187
|
+
is_invite?: boolean | undefined;
|
|
188
|
+
is_public?: boolean | undefined;
|
|
189
|
+
is_upcoming?: boolean | undefined;
|
|
190
|
+
visibility?: string | undefined;
|
|
191
|
+
primary_color?: string | undefined;
|
|
192
|
+
secondary_color?: string | undefined;
|
|
193
|
+
classification?: string | undefined;
|
|
194
|
+
api_docs_url?: string | undefined;
|
|
195
|
+
image?: string | undefined;
|
|
196
|
+
version?: string | undefined;
|
|
197
|
+
}>> & _zapier_kitcore.StandInId<"listApps">, _zapier_kitcore.PropertyPlugin<"manifest", _zapier_zapier_sdk.ManifestProvider> & _zapier_kitcore.DeclarationSummary<"zapier/manifest", _zapier_zapier_sdk.ManifestProvider> & _zapier_kitcore.StandInId<"zapier/manifest">], (input: BuildManifestOptions) => Promise<BuildManifestResult>>;
|
|
132
198
|
type BuildManifestPluginProvides = PluginSurface<typeof buildManifestPlugin>;
|
|
133
199
|
|
|
134
200
|
declare const feedbackPlugin: _zapier_kitcore.MethodPlugin<"feedback", {
|
|
135
201
|
feedback: string;
|
|
136
202
|
}, Promise<string>, readonly [], {
|
|
137
203
|
feedback: string;
|
|
138
|
-
}> & _zapier_kitcore.LeafSummary<"", "feedback", readonly [_zapier_kitcore.PropertyPlugin<"api", _zapier_zapier_sdk.ApiClient> & _zapier_kitcore.
|
|
204
|
+
}> & _zapier_kitcore.LeafSummary<"", "feedback", readonly [_zapier_kitcore.PropertyPlugin<"api", _zapier_zapier_sdk.ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", _zapier_zapier_sdk.ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
205
|
+
feedback: string;
|
|
206
|
+
}) => Promise<string>>;
|
|
139
207
|
type FeedbackPluginProvides = PluginSurface<typeof feedbackPlugin>;
|
|
140
208
|
|
|
141
209
|
declare const GenerateAppTypesSchema: z.ZodObject<{
|
|
@@ -275,7 +343,73 @@ declare const generateAppTypesPlugin: _zapier_kitcore.MethodPlugin<"generateAppT
|
|
|
275
343
|
maxItems?: number;
|
|
276
344
|
} & {
|
|
277
345
|
skipOutputDataValidation?: boolean;
|
|
278
|
-
}) | undefined> & _zapier_kitcore.
|
|
346
|
+
}) | undefined> & _zapier_kitcore.DeclarationSummary<"listApps", (input?: ({
|
|
347
|
+
search?: string | undefined;
|
|
348
|
+
apps?: string[] | undefined;
|
|
349
|
+
appKeys?: string[] | undefined;
|
|
350
|
+
pageSize?: number | undefined;
|
|
351
|
+
maxItems?: number | undefined;
|
|
352
|
+
cursor?: string | undefined;
|
|
353
|
+
} & {
|
|
354
|
+
cursor?: string;
|
|
355
|
+
pageSize?: number;
|
|
356
|
+
} & {
|
|
357
|
+
maxItems?: number;
|
|
358
|
+
} & {
|
|
359
|
+
skipOutputDataValidation?: boolean;
|
|
360
|
+
}) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
|
|
361
|
+
slug: string;
|
|
362
|
+
title: string;
|
|
363
|
+
key: string;
|
|
364
|
+
implementation_id: string;
|
|
365
|
+
description?: string | undefined;
|
|
366
|
+
is_hidden?: boolean | undefined;
|
|
367
|
+
auth_type?: string | undefined;
|
|
368
|
+
actions?: {
|
|
369
|
+
read?: number | undefined;
|
|
370
|
+
read_bulk?: number | undefined;
|
|
371
|
+
write?: number | undefined;
|
|
372
|
+
search?: number | undefined;
|
|
373
|
+
search_or_write?: number | undefined;
|
|
374
|
+
search_and_write?: number | undefined;
|
|
375
|
+
filter?: number | undefined;
|
|
376
|
+
} | undefined;
|
|
377
|
+
is_deprecated?: boolean | undefined;
|
|
378
|
+
is_beta?: boolean | undefined;
|
|
379
|
+
is_premium?: boolean | undefined;
|
|
380
|
+
age_in_days?: number | undefined;
|
|
381
|
+
banner?: string | undefined;
|
|
382
|
+
categories?: {
|
|
383
|
+
id: number;
|
|
384
|
+
name: string;
|
|
385
|
+
slug: string;
|
|
386
|
+
}[] | undefined;
|
|
387
|
+
images?: {
|
|
388
|
+
url_16x16?: string | undefined;
|
|
389
|
+
url_32x32?: string | undefined;
|
|
390
|
+
url_64x64?: string | undefined;
|
|
391
|
+
url_128x128?: string | undefined;
|
|
392
|
+
} | undefined;
|
|
393
|
+
popularity?: number | undefined;
|
|
394
|
+
has_filters?: boolean | undefined;
|
|
395
|
+
has_reads?: boolean | undefined;
|
|
396
|
+
has_searches?: boolean | undefined;
|
|
397
|
+
has_searches_or_writes?: boolean | undefined;
|
|
398
|
+
has_upfront_fields?: boolean | undefined;
|
|
399
|
+
has_writes?: boolean | undefined;
|
|
400
|
+
is_built_in?: boolean | undefined;
|
|
401
|
+
is_featured?: boolean | undefined;
|
|
402
|
+
is_invite?: boolean | undefined;
|
|
403
|
+
is_public?: boolean | undefined;
|
|
404
|
+
is_upcoming?: boolean | undefined;
|
|
405
|
+
visibility?: string | undefined;
|
|
406
|
+
primary_color?: string | undefined;
|
|
407
|
+
secondary_color?: string | undefined;
|
|
408
|
+
classification?: string | undefined;
|
|
409
|
+
api_docs_url?: string | undefined;
|
|
410
|
+
image?: string | undefined;
|
|
411
|
+
version?: string | undefined;
|
|
412
|
+
}>> & _zapier_kitcore.StandInId<"listApps">, _zapier_kitcore.MethodPlugin<"listConnections", ({
|
|
279
413
|
title?: string | undefined;
|
|
280
414
|
search?: string | undefined;
|
|
281
415
|
owner?: string | undefined;
|
|
@@ -354,7 +488,61 @@ declare const generateAppTypesPlugin: _zapier_kitcore.MethodPlugin<"generateAppT
|
|
|
354
488
|
maxItems?: number;
|
|
355
489
|
} & {
|
|
356
490
|
skipOutputDataValidation?: boolean;
|
|
357
|
-
}) | undefined> & _zapier_kitcore.
|
|
491
|
+
}) | undefined> & _zapier_kitcore.DeclarationSummary<"listConnections", (input?: ({
|
|
492
|
+
title?: string | undefined;
|
|
493
|
+
search?: string | undefined;
|
|
494
|
+
owner?: string | undefined;
|
|
495
|
+
app?: string | undefined;
|
|
496
|
+
appKey?: string | undefined;
|
|
497
|
+
connections?: string[] | undefined;
|
|
498
|
+
connectionIds?: string[] | undefined;
|
|
499
|
+
authenticationIds?: string[] | undefined;
|
|
500
|
+
account?: string | undefined;
|
|
501
|
+
accountId?: string | undefined;
|
|
502
|
+
includeShared?: boolean | undefined;
|
|
503
|
+
status?: "active" | "expired" | "all" | undefined;
|
|
504
|
+
isExpired?: boolean | undefined;
|
|
505
|
+
expired?: boolean | undefined;
|
|
506
|
+
pageSize?: number | undefined;
|
|
507
|
+
maxItems?: number | undefined;
|
|
508
|
+
cursor?: string | undefined;
|
|
509
|
+
} & {
|
|
510
|
+
cursor?: string;
|
|
511
|
+
pageSize?: number;
|
|
512
|
+
} & {
|
|
513
|
+
maxItems?: number;
|
|
514
|
+
} & {
|
|
515
|
+
skipOutputDataValidation?: boolean;
|
|
516
|
+
}) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
|
|
517
|
+
date: string;
|
|
518
|
+
is_invite_only: boolean;
|
|
519
|
+
is_private: boolean;
|
|
520
|
+
shared_with_all: boolean;
|
|
521
|
+
id: string;
|
|
522
|
+
account_id: string;
|
|
523
|
+
title?: string | null | undefined;
|
|
524
|
+
slug?: string | null | undefined;
|
|
525
|
+
lastchanged?: string | undefined;
|
|
526
|
+
destination_selected_api?: string | null | undefined;
|
|
527
|
+
is_stale?: string | undefined;
|
|
528
|
+
is_shared?: string | undefined;
|
|
529
|
+
marked_stale_at?: string | null | undefined;
|
|
530
|
+
label?: string | null | undefined;
|
|
531
|
+
identifier?: string | null | undefined;
|
|
532
|
+
url?: string | undefined;
|
|
533
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
534
|
+
members?: string | undefined;
|
|
535
|
+
permissions?: Record<string, boolean> | undefined;
|
|
536
|
+
public_id?: string | undefined;
|
|
537
|
+
account_public_id?: string | undefined;
|
|
538
|
+
customuser_public_id?: string | undefined;
|
|
539
|
+
implementation_id?: string | undefined;
|
|
540
|
+
profile_id?: string | undefined;
|
|
541
|
+
is_expired?: string | undefined;
|
|
542
|
+
expired_at?: string | null | undefined;
|
|
543
|
+
app_key?: string | undefined;
|
|
544
|
+
app_version?: string | undefined;
|
|
545
|
+
}>> & _zapier_kitcore.StandInId<"listConnections">, _zapier_kitcore.MethodPlugin<"listActions", ({
|
|
358
546
|
app: string;
|
|
359
547
|
actionType?: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run" | undefined;
|
|
360
548
|
pageSize?: number | undefined;
|
|
@@ -417,7 +605,44 @@ declare const generateAppTypesPlugin: _zapier_kitcore.MethodPlugin<"generateAppT
|
|
|
417
605
|
maxItems?: number;
|
|
418
606
|
} & {
|
|
419
607
|
skipOutputDataValidation?: boolean;
|
|
420
|
-
})> & _zapier_kitcore.
|
|
608
|
+
})> & _zapier_kitcore.DeclarationSummary<"listActions", (input: ({
|
|
609
|
+
app: string;
|
|
610
|
+
actionType?: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run" | undefined;
|
|
611
|
+
pageSize?: number | undefined;
|
|
612
|
+
maxItems?: number | undefined;
|
|
613
|
+
cursor?: string | undefined;
|
|
614
|
+
} & {
|
|
615
|
+
cursor?: string;
|
|
616
|
+
pageSize?: number;
|
|
617
|
+
} & {
|
|
618
|
+
maxItems?: number;
|
|
619
|
+
} & {
|
|
620
|
+
skipOutputDataValidation?: boolean;
|
|
621
|
+
}) | ({
|
|
622
|
+
appKey: string;
|
|
623
|
+
actionType?: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run" | undefined;
|
|
624
|
+
pageSize?: number | undefined;
|
|
625
|
+
maxItems?: number | undefined;
|
|
626
|
+
cursor?: string | undefined;
|
|
627
|
+
} & {
|
|
628
|
+
cursor?: string;
|
|
629
|
+
pageSize?: number;
|
|
630
|
+
} & {
|
|
631
|
+
maxItems?: number;
|
|
632
|
+
} & {
|
|
633
|
+
skipOutputDataValidation?: boolean;
|
|
634
|
+
})) => _zapier_kitcore.PaginatedSdkResult<{
|
|
635
|
+
description: string;
|
|
636
|
+
key: string;
|
|
637
|
+
app_key: string;
|
|
638
|
+
action_type: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
639
|
+
title: string;
|
|
640
|
+
type: "action";
|
|
641
|
+
is_hidden?: boolean | undefined;
|
|
642
|
+
id?: string | undefined;
|
|
643
|
+
is_important?: boolean | undefined;
|
|
644
|
+
app_version?: string | undefined;
|
|
645
|
+
}>> & _zapier_kitcore.StandInId<"listActions">, _zapier_kitcore.MethodPlugin<"listActionInputFields", ({
|
|
421
646
|
app: string;
|
|
422
647
|
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
423
648
|
action: string;
|
|
@@ -509,49 +734,184 @@ declare const generateAppTypesPlugin: _zapier_kitcore.MethodPlugin<"generateAppT
|
|
|
509
734
|
maxItems?: number;
|
|
510
735
|
} & {
|
|
511
736
|
skipOutputDataValidation?: boolean;
|
|
512
|
-
})> & _zapier_kitcore.
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
}
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
737
|
+
})> & _zapier_kitcore.DeclarationSummary<"listActionInputFields", (input: ({
|
|
738
|
+
app: string;
|
|
739
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
740
|
+
action: string;
|
|
741
|
+
connection?: string | number | undefined;
|
|
742
|
+
connectionId?: string | number | null | undefined;
|
|
743
|
+
authenticationId?: string | number | null | undefined;
|
|
744
|
+
inputs?: Record<string, unknown> | undefined;
|
|
745
|
+
pageSize?: number | undefined;
|
|
746
|
+
maxItems?: number | undefined;
|
|
747
|
+
cursor?: string | undefined;
|
|
748
|
+
} & {
|
|
749
|
+
cursor?: string;
|
|
750
|
+
pageSize?: number;
|
|
751
|
+
} & {
|
|
752
|
+
maxItems?: number;
|
|
753
|
+
} & {
|
|
754
|
+
skipOutputDataValidation?: boolean;
|
|
755
|
+
}) | ({
|
|
756
|
+
appKey: string;
|
|
757
|
+
actionType: "read" | "read_bulk" | "write" | "search" | "search_or_write" | "search_and_write" | "filter" | "run";
|
|
758
|
+
actionKey: string;
|
|
759
|
+
connection?: string | number | undefined;
|
|
760
|
+
connectionId?: string | number | null | undefined;
|
|
761
|
+
authenticationId?: string | number | null | undefined;
|
|
762
|
+
inputs?: Record<string, unknown> | undefined;
|
|
763
|
+
pageSize?: number | undefined;
|
|
764
|
+
maxItems?: number | undefined;
|
|
765
|
+
cursor?: string | undefined;
|
|
766
|
+
} & {
|
|
767
|
+
cursor?: string;
|
|
768
|
+
pageSize?: number;
|
|
769
|
+
} & {
|
|
770
|
+
maxItems?: number;
|
|
771
|
+
} & {
|
|
772
|
+
skipOutputDataValidation?: boolean;
|
|
773
|
+
})) => _zapier_kitcore.PaginatedSdkResult<{
|
|
774
|
+
key: string;
|
|
775
|
+
type: "input_field";
|
|
776
|
+
default_value: string;
|
|
777
|
+
depends_on: string[];
|
|
778
|
+
description: string;
|
|
779
|
+
invalidates_input_fields: boolean;
|
|
780
|
+
is_required: boolean;
|
|
781
|
+
placeholder: string;
|
|
782
|
+
title: string;
|
|
783
|
+
value_type: string;
|
|
784
|
+
format?: string | undefined;
|
|
785
|
+
items?: {
|
|
786
|
+
type: string;
|
|
787
|
+
} | undefined;
|
|
788
|
+
} | {
|
|
789
|
+
key: string;
|
|
790
|
+
type: "info_field";
|
|
791
|
+
description: string;
|
|
792
|
+
title?: string | undefined;
|
|
793
|
+
} | _zapier_zapier_sdk.FieldsetItem>> & _zapier_kitcore.StandInId<"listActionInputFields">], (input: GenerateAppTypesOptions) => Promise<GenerateAppTypesResult>>;
|
|
794
|
+
type GenerateAppTypesPluginProvides = PluginSurface<typeof generateAppTypesPlugin>;
|
|
795
|
+
|
|
796
|
+
type SignupPluginProvides = PluginSurface<typeof signupPlugin>;
|
|
797
|
+
declare const signupPlugin: _zapier_kitcore.MethodPlugin<"signup", {
|
|
798
|
+
timeout?: string | undefined;
|
|
799
|
+
useApprovals?: boolean | undefined;
|
|
800
|
+
nonInteractive?: boolean | undefined;
|
|
801
|
+
skipPrompts?: boolean | undefined;
|
|
802
|
+
headless?: boolean | undefined;
|
|
803
|
+
callbackUrl?: string | undefined;
|
|
804
|
+
}, Promise<void>, readonly [], {
|
|
805
|
+
timeout?: string | undefined;
|
|
806
|
+
useApprovals?: boolean | undefined;
|
|
807
|
+
nonInteractive?: boolean | undefined;
|
|
808
|
+
skipPrompts?: boolean | undefined;
|
|
809
|
+
headless?: boolean | undefined;
|
|
810
|
+
callbackUrl?: string | undefined;
|
|
811
|
+
}> & _zapier_kitcore.LeafSummary<"", "signup", readonly [_zapier_kitcore.PropertyPlugin<"api", _zapier_zapier_sdk.ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", _zapier_zapier_sdk.ApiClient> & _zapier_kitcore.StandInId<"zapier/api">, _zapier_kitcore.PropertyPlugin<"resolveCredentials", _zapier_zapier_sdk.ResolveCredentialsFn> & _zapier_kitcore.DeclarationSummary<"zapier/resolveCredentials", _zapier_zapier_sdk.ResolveCredentialsFn> & _zapier_kitcore.StandInId<"zapier/resolveCredentials">, _zapier_kitcore.PropertyPlugin<"eventEmission", {
|
|
812
|
+
transport: _zapier_zapier_sdk.EventTransport;
|
|
813
|
+
config: _zapier_zapier_sdk.EventEmissionConfig;
|
|
814
|
+
emit<T extends unknown>(subject: string, event: T): void;
|
|
815
|
+
createBaseEvent(): Promise<_zapier_zapier_sdk.BaseEvent>;
|
|
816
|
+
flush(): Promise<void>;
|
|
817
|
+
close(exitCode?: number): Promise<void>;
|
|
818
|
+
}> & _zapier_kitcore.DeclarationSummary<"zapier/eventEmission", {
|
|
819
|
+
transport: _zapier_zapier_sdk.EventTransport;
|
|
820
|
+
config: _zapier_zapier_sdk.EventEmissionConfig;
|
|
821
|
+
emit<T extends unknown>(subject: string, event: T): void;
|
|
822
|
+
createBaseEvent(): Promise<_zapier_zapier_sdk.BaseEvent>;
|
|
823
|
+
flush(): Promise<void>;
|
|
824
|
+
close(exitCode?: number): Promise<void>;
|
|
825
|
+
}> & _zapier_kitcore.StandInId<"zapier/eventEmission">, _zapier_kitcore.PropertyPlugin<"sdkOptions", {
|
|
826
|
+
credentials?: string | {
|
|
827
|
+
clientId: string;
|
|
828
|
+
clientSecret: string;
|
|
829
|
+
type?: "client_credentials" | undefined;
|
|
830
|
+
baseUrl?: string | undefined;
|
|
831
|
+
scope?: string | undefined;
|
|
832
|
+
} | {
|
|
833
|
+
clientId: string;
|
|
834
|
+
type?: "pkce" | undefined;
|
|
835
|
+
baseUrl?: string | undefined;
|
|
836
|
+
scope?: string | undefined;
|
|
837
|
+
} | 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<{
|
|
838
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
839
|
+
client_credentials: "client_credentials";
|
|
840
|
+
}>>;
|
|
841
|
+
clientId: zod.ZodString;
|
|
842
|
+
clientSecret: zod.ZodString;
|
|
843
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
844
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
845
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
846
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
847
|
+
pkce: "pkce";
|
|
848
|
+
}>>;
|
|
849
|
+
clientId: zod.ZodString;
|
|
850
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
851
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
852
|
+
}, zod_v4_core.$strip>]>]>, zod.ZodPromise<zod.ZodUnion<readonly [zod.ZodString, zod.ZodUnion<readonly [zod.ZodObject<{
|
|
853
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
854
|
+
client_credentials: "client_credentials";
|
|
855
|
+
}>>;
|
|
856
|
+
clientId: zod.ZodString;
|
|
857
|
+
clientSecret: zod.ZodString;
|
|
858
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
859
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
860
|
+
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
861
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
862
|
+
pkce: "pkce";
|
|
863
|
+
}>>;
|
|
864
|
+
clientId: zod.ZodString;
|
|
865
|
+
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
866
|
+
scope: zod.ZodOptional<zod.ZodString>;
|
|
867
|
+
}, zod_v4_core.$strip>]>]>>]>> | undefined;
|
|
868
|
+
debug?: boolean | undefined;
|
|
869
|
+
baseUrl?: string | undefined;
|
|
870
|
+
routeOverrides?: Record<string, string> | undefined;
|
|
871
|
+
trackingBaseUrl?: string | undefined;
|
|
872
|
+
maxNetworkRetries?: number | undefined;
|
|
873
|
+
maxNetworkRetryDelaySeconds?: number | undefined;
|
|
874
|
+
maxNetworkRetryDelayMs?: number | undefined;
|
|
875
|
+
maxConcurrentRequests?: number | undefined;
|
|
876
|
+
approvalTimeoutSeconds?: number | undefined;
|
|
877
|
+
approvalTimeoutMs?: number | undefined;
|
|
878
|
+
maxApprovalRetries?: number | undefined;
|
|
879
|
+
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
880
|
+
openAutoModeApprovalsInBrowser?: boolean | undefined;
|
|
881
|
+
correlationId?: string | undefined;
|
|
882
|
+
causationId?: string | undefined;
|
|
883
|
+
manifestPath?: string | undefined;
|
|
884
|
+
manifest?: _zapier_zapier_sdk.Manifest | undefined;
|
|
885
|
+
onEvent?: _zapier_zapier_sdk.EventCallback | undefined;
|
|
886
|
+
fetch?: typeof fetch | undefined;
|
|
887
|
+
eventEmission?: _zapier_zapier_sdk.EventEmissionConfig | undefined;
|
|
888
|
+
callerPackage?: {
|
|
889
|
+
name: string;
|
|
890
|
+
version: string;
|
|
891
|
+
} | undefined;
|
|
892
|
+
cache?: _zapier_zapier_sdk.ZapierCache | undefined;
|
|
893
|
+
canIncludeSharedConnections?: boolean | undefined;
|
|
894
|
+
canIncludeSharedTables?: boolean | undefined;
|
|
895
|
+
canDeleteTables?: boolean | undefined;
|
|
896
|
+
token?: string | undefined;
|
|
897
|
+
} | undefined> & _zapier_kitcore.OptionalDeclarationSummary<"zapier/sdkOptions", {
|
|
898
|
+
credentials?: string | {
|
|
899
|
+
clientId: string;
|
|
900
|
+
clientSecret: string;
|
|
901
|
+
type?: "client_credentials" | undefined;
|
|
902
|
+
baseUrl?: string | undefined;
|
|
903
|
+
scope?: string | undefined;
|
|
904
|
+
} | {
|
|
905
|
+
clientId: string;
|
|
906
|
+
type?: "pkce" | undefined;
|
|
907
|
+
baseUrl?: string | undefined;
|
|
908
|
+
scope?: string | undefined;
|
|
909
|
+
} | 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<{
|
|
910
|
+
type: zod.ZodOptional<zod.ZodEnum<{
|
|
911
|
+
client_credentials: "client_credentials";
|
|
912
|
+
}>>;
|
|
913
|
+
clientId: zod.ZodString;
|
|
914
|
+
clientSecret: zod.ZodString;
|
|
555
915
|
baseUrl: zod.ZodOptional<zod.ZodString>;
|
|
556
916
|
scope: zod.ZodOptional<zod.ZodString>;
|
|
557
917
|
}, zod_v4_core.$strip>, zod.ZodObject<{
|
|
@@ -590,6 +950,8 @@ declare const signupPlugin: _zapier_kitcore.MethodPlugin<"signup", {
|
|
|
590
950
|
maxApprovalRetries?: number | undefined;
|
|
591
951
|
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
592
952
|
openAutoModeApprovalsInBrowser?: boolean | undefined;
|
|
953
|
+
correlationId?: string | undefined;
|
|
954
|
+
causationId?: string | undefined;
|
|
593
955
|
manifestPath?: string | undefined;
|
|
594
956
|
manifest?: _zapier_zapier_sdk.Manifest | undefined;
|
|
595
957
|
onEvent?: _zapier_zapier_sdk.EventCallback | undefined;
|
|
@@ -604,10 +966,177 @@ declare const signupPlugin: _zapier_kitcore.MethodPlugin<"signup", {
|
|
|
604
966
|
canIncludeSharedTables?: boolean | undefined;
|
|
605
967
|
canDeleteTables?: boolean | undefined;
|
|
606
968
|
token?: string | undefined;
|
|
607
|
-
} | undefined> & _zapier_kitcore.
|
|
969
|
+
} | undefined> & _zapier_kitcore.StandInId<"zapier/sdkOptions">], (input?: {
|
|
970
|
+
timeout?: string | undefined;
|
|
971
|
+
useApprovals?: boolean | undefined;
|
|
972
|
+
nonInteractive?: boolean | undefined;
|
|
973
|
+
skipPrompts?: boolean | undefined;
|
|
974
|
+
headless?: boolean | undefined;
|
|
975
|
+
callbackUrl?: string | undefined;
|
|
976
|
+
} | undefined) => Promise<void>>;
|
|
608
977
|
|
|
609
|
-
|
|
610
|
-
|
|
978
|
+
declare const setupPlugin: _zapier_kitcore.MethodPlugin<"setup", Record<string, never>, Promise<void>, readonly [], Record<string, never>> & _zapier_kitcore.LeafSummary<"", "setup", readonly [_zapier_kitcore.MethodPlugin<"getProfile", (Record<string, never> & {
|
|
979
|
+
skipOutputDataValidation?: boolean;
|
|
980
|
+
}) | undefined, Promise<{
|
|
981
|
+
data: {
|
|
982
|
+
id: string;
|
|
983
|
+
first_name: string;
|
|
984
|
+
last_name: string;
|
|
985
|
+
full_name: string;
|
|
986
|
+
email: string;
|
|
987
|
+
email_confirmed: boolean;
|
|
988
|
+
timezone: string;
|
|
989
|
+
};
|
|
990
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
991
|
+
}>, readonly [], (Record<string, never> & {
|
|
992
|
+
skipOutputDataValidation?: boolean;
|
|
993
|
+
}) | undefined> & _zapier_kitcore.DeclarationSummary<"getProfile", (input?: (Record<string, never> & {
|
|
994
|
+
skipOutputDataValidation?: boolean;
|
|
995
|
+
}) | undefined) => Promise<{
|
|
996
|
+
data: {
|
|
997
|
+
id: string;
|
|
998
|
+
first_name: string;
|
|
999
|
+
last_name: string;
|
|
1000
|
+
full_name: string;
|
|
1001
|
+
email: string;
|
|
1002
|
+
email_confirmed: boolean;
|
|
1003
|
+
timezone: string;
|
|
1004
|
+
};
|
|
1005
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
1006
|
+
}>> & _zapier_kitcore.StandInId<"getProfile">, _zapier_kitcore.MethodPlugin<"listConnections", ({
|
|
1007
|
+
title?: string | undefined;
|
|
1008
|
+
search?: string | undefined;
|
|
1009
|
+
owner?: string | undefined;
|
|
1010
|
+
app?: string | undefined;
|
|
1011
|
+
appKey?: string | undefined;
|
|
1012
|
+
connections?: string[] | undefined;
|
|
1013
|
+
connectionIds?: string[] | undefined;
|
|
1014
|
+
authenticationIds?: string[] | undefined;
|
|
1015
|
+
account?: string | undefined;
|
|
1016
|
+
accountId?: string | undefined;
|
|
1017
|
+
includeShared?: boolean | undefined;
|
|
1018
|
+
status?: "active" | "expired" | "all" | undefined;
|
|
1019
|
+
isExpired?: boolean | undefined;
|
|
1020
|
+
expired?: boolean | undefined;
|
|
1021
|
+
pageSize?: number | undefined;
|
|
1022
|
+
maxItems?: number | undefined;
|
|
1023
|
+
cursor?: string | undefined;
|
|
1024
|
+
} & {
|
|
1025
|
+
cursor?: string;
|
|
1026
|
+
pageSize?: number;
|
|
1027
|
+
} & {
|
|
1028
|
+
maxItems?: number;
|
|
1029
|
+
} & {
|
|
1030
|
+
skipOutputDataValidation?: boolean;
|
|
1031
|
+
}) | undefined, _zapier_kitcore.PaginatedSdkResult<{
|
|
1032
|
+
date: string;
|
|
1033
|
+
is_invite_only: boolean;
|
|
1034
|
+
is_private: boolean;
|
|
1035
|
+
shared_with_all: boolean;
|
|
1036
|
+
id: string;
|
|
1037
|
+
account_id: string;
|
|
1038
|
+
title?: string | null | undefined;
|
|
1039
|
+
slug?: string | null | undefined;
|
|
1040
|
+
lastchanged?: string | undefined;
|
|
1041
|
+
destination_selected_api?: string | null | undefined;
|
|
1042
|
+
is_stale?: string | undefined;
|
|
1043
|
+
is_shared?: string | undefined;
|
|
1044
|
+
marked_stale_at?: string | null | undefined;
|
|
1045
|
+
label?: string | null | undefined;
|
|
1046
|
+
identifier?: string | null | undefined;
|
|
1047
|
+
url?: string | undefined;
|
|
1048
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1049
|
+
members?: string | undefined;
|
|
1050
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1051
|
+
public_id?: string | undefined;
|
|
1052
|
+
account_public_id?: string | undefined;
|
|
1053
|
+
customuser_public_id?: string | undefined;
|
|
1054
|
+
implementation_id?: string | undefined;
|
|
1055
|
+
profile_id?: string | undefined;
|
|
1056
|
+
is_expired?: string | undefined;
|
|
1057
|
+
expired_at?: string | null | undefined;
|
|
1058
|
+
app_key?: string | undefined;
|
|
1059
|
+
app_version?: string | undefined;
|
|
1060
|
+
}>, readonly [], ({
|
|
1061
|
+
title?: string | undefined;
|
|
1062
|
+
search?: string | undefined;
|
|
1063
|
+
owner?: string | undefined;
|
|
1064
|
+
app?: string | undefined;
|
|
1065
|
+
appKey?: string | undefined;
|
|
1066
|
+
connections?: string[] | undefined;
|
|
1067
|
+
connectionIds?: string[] | undefined;
|
|
1068
|
+
authenticationIds?: string[] | undefined;
|
|
1069
|
+
account?: string | undefined;
|
|
1070
|
+
accountId?: string | undefined;
|
|
1071
|
+
includeShared?: boolean | undefined;
|
|
1072
|
+
status?: "active" | "expired" | "all" | undefined;
|
|
1073
|
+
isExpired?: boolean | undefined;
|
|
1074
|
+
expired?: boolean | undefined;
|
|
1075
|
+
pageSize?: number | undefined;
|
|
1076
|
+
maxItems?: number | undefined;
|
|
1077
|
+
cursor?: string | undefined;
|
|
1078
|
+
} & {
|
|
1079
|
+
cursor?: string;
|
|
1080
|
+
pageSize?: number;
|
|
1081
|
+
} & {
|
|
1082
|
+
maxItems?: number;
|
|
1083
|
+
} & {
|
|
1084
|
+
skipOutputDataValidation?: boolean;
|
|
1085
|
+
}) | undefined> & _zapier_kitcore.DeclarationSummary<"listConnections", (input?: ({
|
|
1086
|
+
title?: string | undefined;
|
|
1087
|
+
search?: string | undefined;
|
|
1088
|
+
owner?: string | undefined;
|
|
1089
|
+
app?: string | undefined;
|
|
1090
|
+
appKey?: string | undefined;
|
|
1091
|
+
connections?: string[] | undefined;
|
|
1092
|
+
connectionIds?: string[] | undefined;
|
|
1093
|
+
authenticationIds?: string[] | undefined;
|
|
1094
|
+
account?: string | undefined;
|
|
1095
|
+
accountId?: string | undefined;
|
|
1096
|
+
includeShared?: boolean | undefined;
|
|
1097
|
+
status?: "active" | "expired" | "all" | undefined;
|
|
1098
|
+
isExpired?: boolean | undefined;
|
|
1099
|
+
expired?: boolean | undefined;
|
|
1100
|
+
pageSize?: number | undefined;
|
|
1101
|
+
maxItems?: number | undefined;
|
|
1102
|
+
cursor?: string | undefined;
|
|
1103
|
+
} & {
|
|
1104
|
+
cursor?: string;
|
|
1105
|
+
pageSize?: number;
|
|
1106
|
+
} & {
|
|
1107
|
+
maxItems?: number;
|
|
1108
|
+
} & {
|
|
1109
|
+
skipOutputDataValidation?: boolean;
|
|
1110
|
+
}) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
|
|
1111
|
+
date: string;
|
|
1112
|
+
is_invite_only: boolean;
|
|
1113
|
+
is_private: boolean;
|
|
1114
|
+
shared_with_all: boolean;
|
|
1115
|
+
id: string;
|
|
1116
|
+
account_id: string;
|
|
1117
|
+
title?: string | null | undefined;
|
|
1118
|
+
slug?: string | null | undefined;
|
|
1119
|
+
lastchanged?: string | undefined;
|
|
1120
|
+
destination_selected_api?: string | null | undefined;
|
|
1121
|
+
is_stale?: string | undefined;
|
|
1122
|
+
is_shared?: string | undefined;
|
|
1123
|
+
marked_stale_at?: string | null | undefined;
|
|
1124
|
+
label?: string | null | undefined;
|
|
1125
|
+
identifier?: string | null | undefined;
|
|
1126
|
+
url?: string | undefined;
|
|
1127
|
+
groups?: Record<string, unknown>[] | undefined;
|
|
1128
|
+
members?: string | undefined;
|
|
1129
|
+
permissions?: Record<string, boolean> | undefined;
|
|
1130
|
+
public_id?: string | undefined;
|
|
1131
|
+
account_public_id?: string | undefined;
|
|
1132
|
+
customuser_public_id?: string | undefined;
|
|
1133
|
+
implementation_id?: string | undefined;
|
|
1134
|
+
profile_id?: string | undefined;
|
|
1135
|
+
is_expired?: string | undefined;
|
|
1136
|
+
expired_at?: string | null | undefined;
|
|
1137
|
+
app_key?: string | undefined;
|
|
1138
|
+
app_version?: string | undefined;
|
|
1139
|
+
}>> & _zapier_kitcore.StandInId<"listConnections">, _zapier_kitcore.MethodPlugin<"login", {
|
|
611
1140
|
name?: string | undefined;
|
|
612
1141
|
timeout?: string | undefined;
|
|
613
1142
|
useApprovals?: boolean | undefined;
|
|
@@ -615,7 +1144,7 @@ declare const loginPlugin: _zapier_kitcore.MethodPlugin<"login", {
|
|
|
615
1144
|
skipPrompts?: boolean | undefined;
|
|
616
1145
|
headless?: boolean | undefined;
|
|
617
1146
|
callbackUrl?: string | undefined;
|
|
618
|
-
}, Promise<void>, readonly [], {
|
|
1147
|
+
} | undefined, Promise<void>, readonly [], {
|
|
619
1148
|
name?: string | undefined;
|
|
620
1149
|
timeout?: string | undefined;
|
|
621
1150
|
useApprovals?: boolean | undefined;
|
|
@@ -623,14 +1152,50 @@ declare const loginPlugin: _zapier_kitcore.MethodPlugin<"login", {
|
|
|
623
1152
|
skipPrompts?: boolean | undefined;
|
|
624
1153
|
headless?: boolean | undefined;
|
|
625
1154
|
callbackUrl?: string | undefined;
|
|
626
|
-
}
|
|
1155
|
+
} | undefined> & _zapier_kitcore.DeclarationSummary<"login", (input?: {
|
|
1156
|
+
name?: string | undefined;
|
|
1157
|
+
timeout?: string | undefined;
|
|
1158
|
+
useApprovals?: boolean | undefined;
|
|
1159
|
+
nonInteractive?: boolean | undefined;
|
|
1160
|
+
skipPrompts?: boolean | undefined;
|
|
1161
|
+
headless?: boolean | undefined;
|
|
1162
|
+
callbackUrl?: string | undefined;
|
|
1163
|
+
} | undefined) => Promise<void>> & _zapier_kitcore.StandInId<"login">, _zapier_kitcore.MethodPlugin<"logout", Record<string, never> | undefined, Promise<void>, readonly [], Record<string, never> | undefined> & _zapier_kitcore.DeclarationSummary<"logout", (input?: Record<string, never> | undefined) => Promise<void>> & _zapier_kitcore.StandInId<"logout">, _zapier_kitcore.MethodPlugin<"signup", {
|
|
1164
|
+
timeout?: string | undefined;
|
|
1165
|
+
useApprovals?: boolean | undefined;
|
|
1166
|
+
nonInteractive?: boolean | undefined;
|
|
1167
|
+
skipPrompts?: boolean | undefined;
|
|
1168
|
+
headless?: boolean | undefined;
|
|
1169
|
+
callbackUrl?: string | undefined;
|
|
1170
|
+
} | undefined, Promise<void>, readonly [], {
|
|
1171
|
+
timeout?: string | undefined;
|
|
1172
|
+
useApprovals?: boolean | undefined;
|
|
1173
|
+
nonInteractive?: boolean | undefined;
|
|
1174
|
+
skipPrompts?: boolean | undefined;
|
|
1175
|
+
headless?: boolean | undefined;
|
|
1176
|
+
callbackUrl?: string | undefined;
|
|
1177
|
+
} | undefined> & _zapier_kitcore.DeclarationSummary<"signup", (input?: {
|
|
1178
|
+
timeout?: string | undefined;
|
|
1179
|
+
useApprovals?: boolean | undefined;
|
|
1180
|
+
nonInteractive?: boolean | undefined;
|
|
1181
|
+
skipPrompts?: boolean | undefined;
|
|
1182
|
+
headless?: boolean | undefined;
|
|
1183
|
+
callbackUrl?: string | undefined;
|
|
1184
|
+
} | undefined) => Promise<void>> & _zapier_kitcore.StandInId<"signup">, _zapier_kitcore.PropertyPlugin<"api", _zapier_zapier_sdk.ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", _zapier_zapier_sdk.ApiClient> & _zapier_kitcore.StandInId<"zapier/api">, _zapier_kitcore.PropertyPlugin<"resolveCredentials", _zapier_zapier_sdk.ResolveCredentialsFn> & _zapier_kitcore.DeclarationSummary<"zapier/resolveCredentials", _zapier_zapier_sdk.ResolveCredentialsFn> & _zapier_kitcore.StandInId<"zapier/resolveCredentials">, _zapier_kitcore.PropertyPlugin<"eventEmission", {
|
|
1185
|
+
transport: _zapier_zapier_sdk.EventTransport;
|
|
1186
|
+
config: _zapier_zapier_sdk.EventEmissionConfig;
|
|
1187
|
+
emit<T extends unknown>(subject: string, event: T): void;
|
|
1188
|
+
createBaseEvent(): Promise<_zapier_zapier_sdk.BaseEvent>;
|
|
1189
|
+
flush(): Promise<void>;
|
|
1190
|
+
close(exitCode?: number): Promise<void>;
|
|
1191
|
+
}> & _zapier_kitcore.DeclarationSummary<"zapier/eventEmission", {
|
|
627
1192
|
transport: _zapier_zapier_sdk.EventTransport;
|
|
628
1193
|
config: _zapier_zapier_sdk.EventEmissionConfig;
|
|
629
1194
|
emit<T extends unknown>(subject: string, event: T): void;
|
|
630
1195
|
createBaseEvent(): Promise<_zapier_zapier_sdk.BaseEvent>;
|
|
631
1196
|
flush(): Promise<void>;
|
|
632
1197
|
close(exitCode?: number): Promise<void>;
|
|
633
|
-
}> & _zapier_kitcore.
|
|
1198
|
+
}> & _zapier_kitcore.StandInId<"zapier/eventEmission">, _zapier_kitcore.PropertyPlugin<"sdkOptions", {
|
|
634
1199
|
credentials?: string | {
|
|
635
1200
|
clientId: string;
|
|
636
1201
|
clientSecret: string;
|
|
@@ -686,6 +1251,8 @@ declare const loginPlugin: _zapier_kitcore.MethodPlugin<"login", {
|
|
|
686
1251
|
maxApprovalRetries?: number | undefined;
|
|
687
1252
|
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
688
1253
|
openAutoModeApprovalsInBrowser?: boolean | undefined;
|
|
1254
|
+
correlationId?: string | undefined;
|
|
1255
|
+
causationId?: string | undefined;
|
|
689
1256
|
manifestPath?: string | undefined;
|
|
690
1257
|
manifest?: _zapier_zapier_sdk.Manifest | undefined;
|
|
691
1258
|
onEvent?: _zapier_zapier_sdk.EventCallback | undefined;
|
|
@@ -700,9 +1267,7 @@ declare const loginPlugin: _zapier_kitcore.MethodPlugin<"login", {
|
|
|
700
1267
|
canIncludeSharedTables?: boolean | undefined;
|
|
701
1268
|
canDeleteTables?: boolean | undefined;
|
|
702
1269
|
token?: string | undefined;
|
|
703
|
-
} | undefined> & _zapier_kitcore.
|
|
704
|
-
|
|
705
|
-
declare const logoutPlugin: _zapier_kitcore.MethodPlugin<"logout", Record<string, never>, Promise<void>, readonly [], Record<string, never>> & _zapier_kitcore.LeafSummary<"", "logout", readonly [_zapier_kitcore.PropertyPlugin<"api", _zapier_zapier_sdk.ApiClient> & _zapier_kitcore.PluginSummary<"zapier/api", never> & _zapier_kitcore.StandInId<"zapier/api">, _zapier_kitcore.PropertyPlugin<"resolveCredentials", _zapier_zapier_sdk.ResolveCredentialsFn> & _zapier_kitcore.PluginSummary<"zapier/resolveCredentials", never> & _zapier_kitcore.StandInId<"zapier/resolveCredentials">, _zapier_kitcore.PropertyPlugin<"sdkOptions", {
|
|
1270
|
+
} | undefined> & _zapier_kitcore.OptionalDeclarationSummary<"zapier/sdkOptions", {
|
|
706
1271
|
credentials?: string | {
|
|
707
1272
|
clientId: string;
|
|
708
1273
|
clientSecret: string;
|
|
@@ -758,6 +1323,8 @@ declare const logoutPlugin: _zapier_kitcore.MethodPlugin<"logout", Record<string
|
|
|
758
1323
|
maxApprovalRetries?: number | undefined;
|
|
759
1324
|
approvalMode?: "disabled" | "poll" | "throw" | undefined;
|
|
760
1325
|
openAutoModeApprovalsInBrowser?: boolean | undefined;
|
|
1326
|
+
correlationId?: string | undefined;
|
|
1327
|
+
causationId?: string | undefined;
|
|
761
1328
|
manifestPath?: string | undefined;
|
|
762
1329
|
manifest?: _zapier_zapier_sdk.Manifest | undefined;
|
|
763
1330
|
onEvent?: _zapier_zapier_sdk.EventCallback | undefined;
|
|
@@ -772,27 +1339,7 @@ declare const logoutPlugin: _zapier_kitcore.MethodPlugin<"logout", Record<string
|
|
|
772
1339
|
canIncludeSharedTables?: boolean | undefined;
|
|
773
1340
|
canDeleteTables?: boolean | undefined;
|
|
774
1341
|
token?: string | undefined;
|
|
775
|
-
} | undefined> & _zapier_kitcore.
|
|
776
|
-
type LogoutPluginProvides = PluginSurface<typeof logoutPlugin>;
|
|
777
|
-
|
|
778
|
-
declare const SetupSchema: z.ZodObject<{}, z.core.$strip>;
|
|
779
|
-
type SetupOptions = z.infer<typeof SetupSchema>;
|
|
780
|
-
|
|
781
|
-
type MethodRef<TName extends string, TMethod extends (...args: never[]) => unknown> = MethodPlugin<TName, Parameters<TMethod>[0], ReturnType<TMethod>> & PluginSummary<TName, never>;
|
|
782
|
-
type SetupImportPlugins = readonly [
|
|
783
|
-
MethodRef<"getProfile", GetProfilePluginProvides["getProfile"]>,
|
|
784
|
-
MethodRef<"listConnections", ListConnectionsPluginProvides["listConnections"]>,
|
|
785
|
-
MethodRef<"login", LoginPluginProvides["login"]>,
|
|
786
|
-
MethodRef<"logout", LogoutPluginProvides["logout"]>,
|
|
787
|
-
MethodRef<"signup", SignupPluginProvides["signup"]>,
|
|
788
|
-
typeof apiPluginRef,
|
|
789
|
-
typeof resolveCredentialsPluginRef,
|
|
790
|
-
typeof eventEmissionPluginRef,
|
|
791
|
-
typeof sdkOptionsPluginRef
|
|
792
|
-
];
|
|
793
|
-
declare const setupImports: SetupImportPlugins;
|
|
794
|
-
type SetupPlugin = MethodPlugin<"setup", SetupOptions, Promise<void>> & LeafSummary<"", "setup", typeof setupImports>;
|
|
795
|
-
declare const setupPlugin: SetupPlugin;
|
|
1342
|
+
} | undefined> & _zapier_kitcore.StandInId<"zapier/sdkOptions">], (input?: Record<string, never> | undefined) => Promise<void>>;
|
|
796
1343
|
type SetupPluginProvides = PluginSurface<typeof setupPlugin>;
|
|
797
1344
|
|
|
798
1345
|
type ZapierSdkCli = ZapierSdk & BuildManifestPluginProvides & FeedbackPluginProvides & GenerateAppTypesPluginProvides & SignupPluginProvides & SetupPluginProvides;
|