@zapier/zapier-sdk 0.116.1 → 0.116.2
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 +6 -0
- package/dist/beta.cjs +280 -280
- package/dist/beta.mjs +2 -2
- package/dist/{chunk-Y4Z3647P.mjs → chunk-G7AIFCV6.mjs} +1 -1
- package/dist/{chunk-QJLBUSRL.cjs → chunk-ITO7PPY7.cjs} +2 -2
- package/dist/{chunk-2JWAWQSA.cjs → chunk-OEFIDWC6.cjs} +4 -4
- package/dist/{chunk-T62QPSDN.mjs → chunk-VGHAYAI2.mjs} +2 -2
- package/dist/experimental.cjs +385 -385
- package/dist/experimental.d.mts +284 -284
- package/dist/experimental.d.ts +284 -284
- package/dist/experimental.mjs +3 -3
- package/dist/index.cjs +278 -278
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/experimental.d.mts
CHANGED
|
@@ -80,11 +80,11 @@ declare const ImportWorkflowResponseSchema: z.ZodObject<{
|
|
|
80
80
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
81
81
|
status: z.ZodEnum<{
|
|
82
82
|
active: "active";
|
|
83
|
-
failed: "failed";
|
|
84
|
-
pending: "pending";
|
|
85
83
|
unclaimed: "unclaimed";
|
|
84
|
+
pending: "pending";
|
|
86
85
|
releasing: "releasing";
|
|
87
86
|
released: "released";
|
|
87
|
+
failed: "failed";
|
|
88
88
|
}>;
|
|
89
89
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
90
|
details: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -7652,7 +7652,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7652
7652
|
triggers: {
|
|
7653
7653
|
selected_api: string;
|
|
7654
7654
|
action: string;
|
|
7655
|
-
status: "active" | "
|
|
7655
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7656
7656
|
authentication_id?: string | null | undefined;
|
|
7657
7657
|
params?: Record<string, unknown> | undefined;
|
|
7658
7658
|
error?: string | null | undefined;
|
|
@@ -7699,7 +7699,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7699
7699
|
triggers: {
|
|
7700
7700
|
selected_api: string;
|
|
7701
7701
|
action: string;
|
|
7702
|
-
status: "active" | "
|
|
7702
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7703
7703
|
authentication_id?: string | null | undefined;
|
|
7704
7704
|
params?: Record<string, unknown> | undefined;
|
|
7705
7705
|
error?: string | null | undefined;
|
|
@@ -7734,7 +7734,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7734
7734
|
triggers: {
|
|
7735
7735
|
selected_api: string;
|
|
7736
7736
|
action: string;
|
|
7737
|
-
status: "active" | "
|
|
7737
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7738
7738
|
authentication_id?: string | null | undefined;
|
|
7739
7739
|
params?: Record<string, unknown> | undefined;
|
|
7740
7740
|
error?: string | null | undefined;
|
|
@@ -7798,7 +7798,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7798
7798
|
triggers: {
|
|
7799
7799
|
selected_api: string;
|
|
7800
7800
|
action: string;
|
|
7801
|
-
status: "active" | "
|
|
7801
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7802
7802
|
authentication_id?: string | null | undefined;
|
|
7803
7803
|
params?: Record<string, unknown> | undefined;
|
|
7804
7804
|
error?: string | null | undefined;
|
|
@@ -7876,9 +7876,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7876
7876
|
description?: string | undefined;
|
|
7877
7877
|
name: string;
|
|
7878
7878
|
is_private?: boolean | undefined;
|
|
7879
|
+
private?: boolean | undefined;
|
|
7879
7880
|
creationHarness?: string | null | undefined;
|
|
7880
7881
|
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7881
|
-
private?: boolean | undefined;
|
|
7882
7882
|
}> & _zapier_kitcore.LeafSummary<"", "createWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
7883
7883
|
name: string;
|
|
7884
7884
|
is_private?: boolean | undefined;
|
|
@@ -7929,7 +7929,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7929
7929
|
triggers: {
|
|
7930
7930
|
selected_api: string;
|
|
7931
7931
|
action: string;
|
|
7932
|
-
status: "active" | "
|
|
7932
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7933
7933
|
authentication_id?: string | null | undefined;
|
|
7934
7934
|
params?: Record<string, unknown> | undefined;
|
|
7935
7935
|
error?: string | null | undefined;
|
|
@@ -7997,9 +7997,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7997
7997
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
7998
7998
|
}>, readonly [], {
|
|
7999
7999
|
name?: string | undefined;
|
|
8000
|
+
private?: boolean | undefined;
|
|
8000
8001
|
creationHarness?: string | null | undefined;
|
|
8001
8002
|
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
8002
|
-
private?: boolean | undefined;
|
|
8003
8003
|
zap: string;
|
|
8004
8004
|
}> & _zapier_kitcore.LeafSummary<"", "importWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8005
8005
|
zap: string;
|
|
@@ -8022,7 +8022,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8022
8022
|
triggers: {
|
|
8023
8023
|
selected_api: string;
|
|
8024
8024
|
action: string;
|
|
8025
|
-
status: "active" | "
|
|
8025
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
8026
8026
|
authentication_id?: string | null | undefined;
|
|
8027
8027
|
params?: Record<string, unknown> | undefined;
|
|
8028
8028
|
error?: string | null | undefined;
|
|
@@ -8456,7 +8456,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8456
8456
|
connection_id?: string | number | undefined;
|
|
8457
8457
|
}> | null | undefined;
|
|
8458
8458
|
enabled?: boolean | undefined;
|
|
8459
|
-
|
|
8459
|
+
workflow: string;
|
|
8460
8460
|
zapier_durable_version?: string | undefined;
|
|
8461
8461
|
dependencies?: Record<string, string> | undefined;
|
|
8462
8462
|
trigger?: {
|
|
@@ -8472,14 +8472,14 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8472
8472
|
implementation_name?: string | undefined;
|
|
8473
8473
|
version?: string | undefined;
|
|
8474
8474
|
}> | null | undefined;
|
|
8475
|
-
workflow: string;
|
|
8476
8475
|
zapierDurableVersion?: string | undefined;
|
|
8476
|
+
ignoreOpenDrafts?: boolean | undefined;
|
|
8477
8477
|
appVersions?: Record<string, {
|
|
8478
8478
|
implementationName?: string | undefined;
|
|
8479
8479
|
implementation_name?: string | undefined;
|
|
8480
8480
|
version?: string | undefined;
|
|
8481
8481
|
}> | null | undefined;
|
|
8482
|
-
|
|
8482
|
+
manual?: boolean | undefined;
|
|
8483
8483
|
}> & _zapier_kitcore.LeafSummary<"", "publishWorkflowVersion", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: ({
|
|
8484
8484
|
workflow: string;
|
|
8485
8485
|
sourceFiles: Record<string, string>;
|
|
@@ -8803,9 +8803,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8803
8803
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
8804
8804
|
}>, readonly [], {
|
|
8805
8805
|
slug?: string | undefined;
|
|
8806
|
+
workflow: string;
|
|
8806
8807
|
creationHarness?: string | null | undefined;
|
|
8807
8808
|
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
8808
|
-
workflow: string;
|
|
8809
8809
|
}> & _zapier_kitcore.LeafSummary<"", "createWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8810
8810
|
workflow: string;
|
|
8811
8811
|
creationHarness?: string | null | undefined;
|
|
@@ -8933,9 +8933,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8933
8933
|
connectionId?: string | number | undefined;
|
|
8934
8934
|
connection_id?: string | number | undefined;
|
|
8935
8935
|
}> | null | undefined;
|
|
8936
|
-
|
|
8937
|
-
creationHarness?: string | null | undefined;
|
|
8938
|
-
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
8936
|
+
workflow: string;
|
|
8939
8937
|
dependencies?: Record<string, string> | undefined;
|
|
8940
8938
|
trigger?: {
|
|
8941
8939
|
action: string;
|
|
@@ -8945,15 +8943,17 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8945
8943
|
authentication_id?: string | null | undefined;
|
|
8946
8944
|
params?: Record<string, unknown> | undefined;
|
|
8947
8945
|
} | null | undefined;
|
|
8948
|
-
|
|
8946
|
+
creationHarness?: string | null | undefined;
|
|
8947
|
+
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
8949
8948
|
draft: string;
|
|
8949
|
+
sourceFiles: Record<string, string>;
|
|
8950
8950
|
zapierDurableVersion?: string | undefined;
|
|
8951
8951
|
appVersions?: Record<string, {
|
|
8952
8952
|
implementationName?: string | undefined;
|
|
8953
8953
|
implementation_name?: string | undefined;
|
|
8954
8954
|
version?: string | undefined;
|
|
8955
8955
|
}> | null | undefined;
|
|
8956
|
-
|
|
8956
|
+
manual?: boolean | undefined;
|
|
8957
8957
|
draftRevision?: number | undefined;
|
|
8958
8958
|
}> & _zapier_kitcore.LeafSummary<"", "updateWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8959
8959
|
workflow: string;
|
|
@@ -9210,11 +9210,11 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
9210
9210
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
9211
9211
|
}>, readonly [], {
|
|
9212
9212
|
enabled?: boolean | undefined;
|
|
9213
|
-
|
|
9213
|
+
workflow: string;
|
|
9214
9214
|
creationHarness?: string | null | undefined;
|
|
9215
9215
|
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
9216
|
-
workflow: string;
|
|
9217
9216
|
draft: string;
|
|
9217
|
+
manual?: boolean | undefined;
|
|
9218
9218
|
draftRevision?: number | undefined;
|
|
9219
9219
|
}> & _zapier_kitcore.LeafSummary<"", "publishWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9220
9220
|
workflow: string;
|
|
@@ -10085,6 +10085,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10085
10085
|
} | undefined;
|
|
10086
10086
|
}[] | undefined;
|
|
10087
10087
|
draft?: boolean | undefined;
|
|
10088
|
+
confirmationTitle?: string | undefined;
|
|
10089
|
+
confirmationMessage?: string | undefined;
|
|
10090
|
+
consumerAuth?: "zapier" | "none" | undefined;
|
|
10088
10091
|
document?: {
|
|
10089
10092
|
[x: string]: unknown;
|
|
10090
10093
|
id: string;
|
|
@@ -10096,9 +10099,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10096
10099
|
};
|
|
10097
10100
|
children?: unknown[] | undefined;
|
|
10098
10101
|
} | undefined;
|
|
10099
|
-
confirmationTitle?: string | undefined;
|
|
10100
|
-
confirmationMessage?: string | undefined;
|
|
10101
|
-
consumerAuth?: "zapier" | "none" | undefined;
|
|
10102
10102
|
}> & _zapier_kitcore.LeafSummary<"", "createForm", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
10103
10103
|
title: string;
|
|
10104
10104
|
description?: string | undefined;
|
|
@@ -10356,13 +10356,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10356
10356
|
} & {
|
|
10357
10357
|
skipOutputDataValidation?: boolean;
|
|
10358
10358
|
}, _zapier_kitcore.PaginatedSdkResult<{
|
|
10359
|
-
type: "file" | "
|
|
10359
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
10360
10360
|
name: string;
|
|
10361
10361
|
path: string;
|
|
10362
10362
|
size?: number | undefined;
|
|
10363
10363
|
version?: number | undefined;
|
|
10364
10364
|
updated_at?: string | undefined;
|
|
10365
|
-
target_type?: "file" | "
|
|
10365
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
10366
10366
|
target_path?: string | null | undefined;
|
|
10367
10367
|
accessible?: boolean | undefined;
|
|
10368
10368
|
content_type?: string | undefined;
|
|
@@ -10387,13 +10387,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10387
10387
|
} & {
|
|
10388
10388
|
skipOutputDataValidation?: boolean;
|
|
10389
10389
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
10390
|
-
type: "file" | "
|
|
10390
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
10391
10391
|
name: string;
|
|
10392
10392
|
path: string;
|
|
10393
10393
|
size?: number | undefined;
|
|
10394
10394
|
version?: number | undefined;
|
|
10395
10395
|
updated_at?: string | undefined;
|
|
10396
|
-
target_type?: "file" | "
|
|
10396
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
10397
10397
|
target_path?: string | null | undefined;
|
|
10398
10398
|
accessible?: boolean | undefined;
|
|
10399
10399
|
content_type?: string | undefined;
|
|
@@ -10519,9 +10519,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10519
10519
|
};
|
|
10520
10520
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
10521
10521
|
}>, readonly [], {
|
|
10522
|
+
expectedVersion?: number | undefined;
|
|
10522
10523
|
from: string;
|
|
10523
10524
|
to: string;
|
|
10524
|
-
expectedVersion?: number | undefined;
|
|
10525
10525
|
overwrite?: boolean | undefined;
|
|
10526
10526
|
}> & _zapier_kitcore.LeafSummary<"", "copyVfsFile", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
10527
10527
|
from: string;
|
|
@@ -10570,13 +10570,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10570
10570
|
skipOutputDataValidation?: boolean;
|
|
10571
10571
|
}, Promise<{
|
|
10572
10572
|
data: {
|
|
10573
|
-
type: "file" | "
|
|
10573
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
10574
10574
|
name: string;
|
|
10575
10575
|
path: string;
|
|
10576
10576
|
size?: number | undefined;
|
|
10577
10577
|
version?: number | undefined;
|
|
10578
10578
|
updated_at?: string | undefined;
|
|
10579
|
-
target_type?: "file" | "
|
|
10579
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
10580
10580
|
target_path?: string | null | undefined;
|
|
10581
10581
|
accessible?: boolean | undefined;
|
|
10582
10582
|
content_type?: string | undefined;
|
|
@@ -10590,13 +10590,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10590
10590
|
skipOutputDataValidation?: boolean;
|
|
10591
10591
|
}) => Promise<{
|
|
10592
10592
|
data: {
|
|
10593
|
-
type: "file" | "
|
|
10593
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
10594
10594
|
name: string;
|
|
10595
10595
|
path: string;
|
|
10596
10596
|
size?: number | undefined;
|
|
10597
10597
|
version?: number | undefined;
|
|
10598
10598
|
updated_at?: string | undefined;
|
|
10599
|
-
target_type?: "file" | "
|
|
10599
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
10600
10600
|
target_path?: string | null | undefined;
|
|
10601
10601
|
accessible?: boolean | undefined;
|
|
10602
10602
|
content_type?: string | undefined;
|
|
@@ -10652,7 +10652,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10652
10652
|
};
|
|
10653
10653
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
10654
10654
|
}>>;
|
|
10655
|
-
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/httpFetch" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "zapier/api" | "zapier/resolveCredentials" | "zapier/manifest" | "zapier/connections" | "zapier/capabilities" | "zapier/eventEmission" | "kitcore/getRegistry" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "createActionRun" | "getActionRun" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "listTablesInternal" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "zapier/sdk" | "zapier/beta-sdk" | "listWorkflows" | "
|
|
10655
|
+
}> & _zapier_kitcore.PluginSummary<never, "fetch" | "kitcore/initializeHttpRequest" | "kitcore/prepareHttpRequest" | "kitcore/authorizeHttpRequest" | "kitcore/httpFetch" | "kitcore/dispatchHttpRequest" | "kitcore/receiveHttpResponse" | "kitcore/attemptHttpRequest" | "kitcore/sendHttpRequest" | "kitcore/retryHttpRequestOptions" | "zapier/httpTransport" | "zapier/api" | "zapier/resolveCredentials" | "zapier/manifest" | "zapier/connections" | "zapier/capabilities" | "zapier/eventEmission" | "kitcore/getRegistry" | "getProfile" | "listApps" | "apps" | "getApp" | "listActions" | "getAction" | "listConnections" | "getConnection" | "findFirstConnection" | "findUniqueConnection" | "listAuthentications" | "getAuthentication" | "findFirstAuthentication" | "findUniqueAuthentication" | "listClientCredentials" | "createClientCredentials" | "deleteClientCredentials" | "getConnectionStartUrl" | "waitForNewConnection" | "createConnection" | "listActionInputFields" | "getActionInputFieldsSchema" | "listActionInputFieldChoices" | "listInputFields" | "getInputFieldsSchema" | "listInputFieldChoices" | "createActionRun" | "getActionRun" | "runAction" | "request" | "listTriggerInboxes" | "createTriggerInbox" | "ensureTriggerInbox" | "getTriggerInbox" | "updateTriggerInbox" | "deleteTriggerInbox" | "pauseTriggerInbox" | "resumeTriggerInbox" | "listTriggerInboxMessages" | "leaseTriggerInboxMessages" | "ackTriggerInboxMessages" | "releaseTriggerInboxMessages" | "drainTriggerInbox" | "watchTriggerInbox" | "listTriggers" | "listTriggerInputFields" | "listTriggerInputFieldChoices" | "getTriggerInputFieldsSchema" | "listTables" | "listTablesInternal" | "getTable" | "deleteTable" | "createTable" | "listTableFields" | "createTableFields" | "deleteTableFields" | "listTableRecords" | "getTableRecord" | "createTableRecords" | "deleteTableRecords" | "updateTableRecords" | "zapier/sdk" | "zapier/beta-sdk" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "importWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "runWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "validateWorkflow" | "createForm" | "enableAgenticManagement" | "disableAgenticManagement" | "getAgenticManagementConfig" | "updateAgenticManagementConfig" | "getAgenticManagementIntent" | "updateAgenticManagementIntent" | "listVfsDirectory" | "readVfsFile" | "writeVfsFile" | "appendVfsFile" | "copyVfsFile" | "createVfsDirectory" | "statVfsPath" | "deleteVfsPath" | "moveVfsPath" | "zapier/experimental-sdk", _zapier_kitcore.ContractEntry<"kitcore/httpFetch", typeof fetch | undefined> | _zapier_kitcore.ContractEntry<"zapier/apiClientDurations", ApiClientDurationOptions | undefined> | _zapier_kitcore.ContractEntry<"zapier/sdkOptions", {
|
|
10656
10656
|
credentials?: string | {
|
|
10657
10657
|
clientId: string;
|
|
10658
10658
|
clientSecret: string;
|
|
@@ -12431,7 +12431,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12431
12431
|
triggers: {
|
|
12432
12432
|
selected_api: string;
|
|
12433
12433
|
action: string;
|
|
12434
|
-
status: "active" | "
|
|
12434
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
12435
12435
|
authentication_id?: string | null | undefined;
|
|
12436
12436
|
params?: Record<string, unknown> | undefined;
|
|
12437
12437
|
error?: string | null | undefined;
|
|
@@ -12464,7 +12464,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12464
12464
|
triggers: {
|
|
12465
12465
|
selected_api: string;
|
|
12466
12466
|
action: string;
|
|
12467
|
-
status: "active" | "
|
|
12467
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
12468
12468
|
authentication_id?: string | null | undefined;
|
|
12469
12469
|
params?: Record<string, unknown> | undefined;
|
|
12470
12470
|
error?: string | null | undefined;
|
|
@@ -12557,7 +12557,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12557
12557
|
triggers: {
|
|
12558
12558
|
selected_api: string;
|
|
12559
12559
|
action: string;
|
|
12560
|
-
status: "active" | "
|
|
12560
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
12561
12561
|
authentication_id?: string | null | undefined;
|
|
12562
12562
|
params?: Record<string, unknown> | undefined;
|
|
12563
12563
|
error?: string | null | undefined;
|
|
@@ -12669,7 +12669,8 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12669
12669
|
data: {
|
|
12670
12670
|
id: string;
|
|
12671
12671
|
};
|
|
12672
|
-
}>> | _zapier_kitcore.ContractEntry<"
|
|
12672
|
+
}>> | _zapier_kitcore.ContractEntry<"listWorkflowVersions", (input: {
|
|
12673
|
+
workflow: string;
|
|
12673
12674
|
pageSize?: number | undefined;
|
|
12674
12675
|
cursor?: string | undefined;
|
|
12675
12676
|
maxItems?: number | undefined;
|
|
@@ -12680,152 +12681,63 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12680
12681
|
maxItems?: number;
|
|
12681
12682
|
} & {
|
|
12682
12683
|
skipOutputDataValidation?: boolean;
|
|
12683
|
-
})
|
|
12684
|
+
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12684
12685
|
id: string;
|
|
12685
|
-
|
|
12686
|
-
|
|
12687
|
-
|
|
12688
|
-
|
|
12689
|
-
[x: string]: unknown;
|
|
12690
|
-
code: string;
|
|
12691
|
-
message: string;
|
|
12692
|
-
} | null;
|
|
12693
|
-
execution_id: string | null;
|
|
12694
|
-
is_private: boolean;
|
|
12686
|
+
workflow_id: string;
|
|
12687
|
+
zapier_durable_version: string;
|
|
12688
|
+
dependencies: Record<string, string> | null;
|
|
12689
|
+
created_by_user_id: string;
|
|
12695
12690
|
created_at: string;
|
|
12696
|
-
|
|
12697
|
-
|
|
12698
|
-
|
|
12699
|
-
|
|
12700
|
-
|
|
12701
|
-
}
|
|
12702
|
-
|
|
12703
|
-
|
|
12704
|
-
|
|
12705
|
-
|
|
12706
|
-
|
|
12707
|
-
error: {
|
|
12708
|
-
[x: string]: unknown;
|
|
12709
|
-
code: string;
|
|
12710
|
-
message: string;
|
|
12711
|
-
} | null;
|
|
12712
|
-
execution: {
|
|
12713
|
-
id: string;
|
|
12714
|
-
name: string;
|
|
12715
|
-
status: string;
|
|
12716
|
-
input: unknown;
|
|
12717
|
-
created_at: string;
|
|
12718
|
-
output?: unknown;
|
|
12719
|
-
error?: unknown;
|
|
12720
|
-
metadata?: Record<string, unknown> | undefined;
|
|
12721
|
-
summary?: {
|
|
12722
|
-
[x: string]: unknown;
|
|
12723
|
-
total_attempts: number;
|
|
12724
|
-
last_error?: {
|
|
12725
|
-
[x: string]: unknown;
|
|
12726
|
-
code: string;
|
|
12727
|
-
title: string;
|
|
12728
|
-
detail?: string | null | undefined;
|
|
12729
|
-
} | null | undefined;
|
|
12730
|
-
} | null | undefined;
|
|
12731
|
-
operations?: {
|
|
12732
|
-
id: string;
|
|
12733
|
-
execution_id: string;
|
|
12734
|
-
name: string;
|
|
12735
|
-
type: string;
|
|
12736
|
-
status: string;
|
|
12737
|
-
retry_count: number;
|
|
12738
|
-
created_at: string;
|
|
12739
|
-
result?: unknown;
|
|
12740
|
-
error?: unknown;
|
|
12741
|
-
max_attempts?: number | undefined;
|
|
12742
|
-
next_retry_at?: string | null | undefined;
|
|
12743
|
-
resume_at?: string | null | undefined;
|
|
12744
|
-
callback_token?: string | null | undefined;
|
|
12745
|
-
payload_schema?: unknown;
|
|
12746
|
-
payload?: unknown;
|
|
12747
|
-
expires_at?: string | null | undefined;
|
|
12748
|
-
timeout_seconds?: number | null | undefined;
|
|
12749
|
-
completed_at?: string | null | undefined;
|
|
12750
|
-
}[] | undefined;
|
|
12751
|
-
} | null;
|
|
12752
|
-
is_private: boolean;
|
|
12753
|
-
created_at: string;
|
|
12754
|
-
updated_at: string;
|
|
12755
|
-
};
|
|
12756
|
-
meta?: _zapier_kitcore.ResponseMeta;
|
|
12757
|
-
}>> | _zapier_kitcore.ContractEntry<"runDurable", (input: ({
|
|
12758
|
-
sourceFiles: Record<string, string>;
|
|
12759
|
-
input?: unknown;
|
|
12760
|
-
dependencies?: Record<string, string> | undefined;
|
|
12761
|
-
zapierDurableVersion?: string | undefined;
|
|
12762
|
-
zapier_durable_version?: string | undefined;
|
|
12763
|
-
connections?: Record<string, {
|
|
12764
|
-
connectionId?: string | number | undefined;
|
|
12765
|
-
connection_id?: string | number | undefined;
|
|
12766
|
-
}> | undefined;
|
|
12767
|
-
appVersions?: Record<string, {
|
|
12768
|
-
implementationName?: string | undefined;
|
|
12769
|
-
implementation_name?: string | undefined;
|
|
12770
|
-
version?: string | undefined;
|
|
12771
|
-
}> | undefined;
|
|
12772
|
-
app_versions?: Record<string, {
|
|
12773
|
-
implementationName?: string | undefined;
|
|
12774
|
-
implementation_name?: string | undefined;
|
|
12775
|
-
version?: string | undefined;
|
|
12776
|
-
}> | undefined;
|
|
12777
|
-
private?: boolean | undefined;
|
|
12778
|
-
notifications?: {
|
|
12779
|
-
url: string;
|
|
12780
|
-
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
12781
|
-
type?: "webhook" | undefined;
|
|
12782
|
-
max_retries?: number | undefined;
|
|
12783
|
-
}[] | undefined;
|
|
12784
|
-
} | {
|
|
12785
|
-
source_files: Record<string, string>;
|
|
12786
|
-
input?: unknown;
|
|
12787
|
-
dependencies?: Record<string, string> | undefined;
|
|
12788
|
-
zapierDurableVersion?: string | undefined;
|
|
12789
|
-
zapier_durable_version?: string | undefined;
|
|
12790
|
-
connections?: Record<string, {
|
|
12791
|
-
connectionId?: string | number | undefined;
|
|
12792
|
-
connection_id?: string | number | undefined;
|
|
12793
|
-
}> | undefined;
|
|
12794
|
-
appVersions?: Record<string, {
|
|
12795
|
-
implementationName?: string | undefined;
|
|
12796
|
-
implementation_name?: string | undefined;
|
|
12797
|
-
version?: string | undefined;
|
|
12798
|
-
}> | undefined;
|
|
12799
|
-
app_versions?: Record<string, {
|
|
12800
|
-
implementationName?: string | undefined;
|
|
12801
|
-
implementation_name?: string | undefined;
|
|
12691
|
+
trigger: {
|
|
12692
|
+
selected_api: string;
|
|
12693
|
+
action: string;
|
|
12694
|
+
authentication_id?: string | null | undefined;
|
|
12695
|
+
params?: Record<string, unknown> | undefined;
|
|
12696
|
+
} | null;
|
|
12697
|
+
connections: Record<string, {
|
|
12698
|
+
connection_id: string | number;
|
|
12699
|
+
}> | null;
|
|
12700
|
+
app_versions: Record<string, {
|
|
12701
|
+
implementation_name: string;
|
|
12802
12702
|
version?: string | undefined;
|
|
12803
|
-
}> |
|
|
12804
|
-
|
|
12805
|
-
|
|
12806
|
-
|
|
12807
|
-
|
|
12808
|
-
|
|
12809
|
-
|
|
12810
|
-
|
|
12811
|
-
|
|
12812
|
-
skipOutputDataValidation?: boolean;
|
|
12813
|
-
}) => Promise<{
|
|
12814
|
-
data: {
|
|
12815
|
-
id: string;
|
|
12816
|
-
status: "initialized";
|
|
12817
|
-
is_private: boolean;
|
|
12818
|
-
created_at: string;
|
|
12819
|
-
};
|
|
12820
|
-
meta?: _zapier_kitcore.ResponseMeta;
|
|
12821
|
-
}>> | _zapier_kitcore.ContractEntry<"cancelDurableRun", (input: {
|
|
12822
|
-
run: string;
|
|
12703
|
+
}> | null;
|
|
12704
|
+
creation_client?: {
|
|
12705
|
+
access_method: string;
|
|
12706
|
+
harness?: string | null | undefined;
|
|
12707
|
+
sdk_version?: string | null | undefined;
|
|
12708
|
+
} | null | undefined;
|
|
12709
|
+
}>> | _zapier_kitcore.ContractEntry<"getWorkflowVersion", (input: {
|
|
12710
|
+
workflow: string;
|
|
12711
|
+
version: string;
|
|
12823
12712
|
} & {
|
|
12824
12713
|
skipOutputDataValidation?: boolean;
|
|
12825
12714
|
}) => Promise<{
|
|
12826
12715
|
data: {
|
|
12827
12716
|
id: string;
|
|
12828
|
-
|
|
12717
|
+
workflow_id: string;
|
|
12718
|
+
source_files: Record<string, string>;
|
|
12719
|
+
zapier_durable_version: string;
|
|
12720
|
+
dependencies: Record<string, string> | null;
|
|
12721
|
+
created_by_user_id: string;
|
|
12722
|
+
created_at: string;
|
|
12723
|
+
trigger: {
|
|
12724
|
+
selected_api: string;
|
|
12725
|
+
action: string;
|
|
12726
|
+
authentication_id?: string | null | undefined;
|
|
12727
|
+
params?: Record<string, unknown> | undefined;
|
|
12728
|
+
} | null;
|
|
12729
|
+
connections: Record<string, {
|
|
12730
|
+
connection_id: string | number;
|
|
12731
|
+
}> | null;
|
|
12732
|
+
app_versions: Record<string, {
|
|
12733
|
+
implementation_name: string;
|
|
12734
|
+
version?: string | undefined;
|
|
12735
|
+
}> | null;
|
|
12736
|
+
creation_client?: {
|
|
12737
|
+
access_method: string;
|
|
12738
|
+
harness?: string | null | undefined;
|
|
12739
|
+
sdk_version?: string | null | undefined;
|
|
12740
|
+
} | null | undefined;
|
|
12829
12741
|
};
|
|
12830
12742
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12831
12743
|
}>> | _zapier_kitcore.ContractEntry<"publishWorkflowVersion", (input: ({
|
|
@@ -12921,77 +12833,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12921
12833
|
} | null | undefined;
|
|
12922
12834
|
};
|
|
12923
12835
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12924
|
-
}>> | _zapier_kitcore.ContractEntry<"listWorkflowVersions", (input: {
|
|
12925
|
-
workflow: string;
|
|
12926
|
-
pageSize?: number | undefined;
|
|
12927
|
-
cursor?: string | undefined;
|
|
12928
|
-
maxItems?: number | undefined;
|
|
12929
|
-
} & {
|
|
12930
|
-
cursor?: string;
|
|
12931
|
-
pageSize?: number;
|
|
12932
|
-
} & {
|
|
12933
|
-
maxItems?: number;
|
|
12934
|
-
} & {
|
|
12935
|
-
skipOutputDataValidation?: boolean;
|
|
12936
|
-
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12937
|
-
id: string;
|
|
12938
|
-
workflow_id: string;
|
|
12939
|
-
zapier_durable_version: string;
|
|
12940
|
-
dependencies: Record<string, string> | null;
|
|
12941
|
-
created_by_user_id: string;
|
|
12942
|
-
created_at: string;
|
|
12943
|
-
trigger: {
|
|
12944
|
-
selected_api: string;
|
|
12945
|
-
action: string;
|
|
12946
|
-
authentication_id?: string | null | undefined;
|
|
12947
|
-
params?: Record<string, unknown> | undefined;
|
|
12948
|
-
} | null;
|
|
12949
|
-
connections: Record<string, {
|
|
12950
|
-
connection_id: string | number;
|
|
12951
|
-
}> | null;
|
|
12952
|
-
app_versions: Record<string, {
|
|
12953
|
-
implementation_name: string;
|
|
12954
|
-
version?: string | undefined;
|
|
12955
|
-
}> | null;
|
|
12956
|
-
creation_client?: {
|
|
12957
|
-
access_method: string;
|
|
12958
|
-
harness?: string | null | undefined;
|
|
12959
|
-
sdk_version?: string | null | undefined;
|
|
12960
|
-
} | null | undefined;
|
|
12961
|
-
}>> | _zapier_kitcore.ContractEntry<"getWorkflowVersion", (input: {
|
|
12962
|
-
workflow: string;
|
|
12963
|
-
version: string;
|
|
12964
|
-
} & {
|
|
12965
|
-
skipOutputDataValidation?: boolean;
|
|
12966
|
-
}) => Promise<{
|
|
12967
|
-
data: {
|
|
12968
|
-
id: string;
|
|
12969
|
-
workflow_id: string;
|
|
12970
|
-
source_files: Record<string, string>;
|
|
12971
|
-
zapier_durable_version: string;
|
|
12972
|
-
dependencies: Record<string, string> | null;
|
|
12973
|
-
created_by_user_id: string;
|
|
12974
|
-
created_at: string;
|
|
12975
|
-
trigger: {
|
|
12976
|
-
selected_api: string;
|
|
12977
|
-
action: string;
|
|
12978
|
-
authentication_id?: string | null | undefined;
|
|
12979
|
-
params?: Record<string, unknown> | undefined;
|
|
12980
|
-
} | null;
|
|
12981
|
-
connections: Record<string, {
|
|
12982
|
-
connection_id: string | number;
|
|
12983
|
-
}> | null;
|
|
12984
|
-
app_versions: Record<string, {
|
|
12985
|
-
implementation_name: string;
|
|
12986
|
-
version?: string | undefined;
|
|
12987
|
-
}> | null;
|
|
12988
|
-
creation_client?: {
|
|
12989
|
-
access_method: string;
|
|
12990
|
-
harness?: string | null | undefined;
|
|
12991
|
-
sdk_version?: string | null | undefined;
|
|
12992
|
-
} | null | undefined;
|
|
12993
|
-
};
|
|
12994
|
-
meta?: _zapier_kitcore.ResponseMeta;
|
|
12995
12836
|
}>> | _zapier_kitcore.ContractEntry<"listWorkflowDrafts", (input: {
|
|
12996
12837
|
workflow: string;
|
|
12997
12838
|
status?: "open" | "discarded" | undefined;
|
|
@@ -13412,23 +13253,165 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13412
13253
|
draft_revision: number;
|
|
13413
13254
|
};
|
|
13414
13255
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13415
|
-
}>> | _zapier_kitcore.ContractEntry<"
|
|
13416
|
-
|
|
13256
|
+
}>> | _zapier_kitcore.ContractEntry<"listDurableRuns", (input?: ({
|
|
13257
|
+
pageSize?: number | undefined;
|
|
13258
|
+
cursor?: string | undefined;
|
|
13259
|
+
maxItems?: number | undefined;
|
|
13260
|
+
} & {
|
|
13261
|
+
cursor?: string;
|
|
13262
|
+
pageSize?: number;
|
|
13263
|
+
} & {
|
|
13264
|
+
maxItems?: number;
|
|
13265
|
+
} & {
|
|
13266
|
+
skipOutputDataValidation?: boolean;
|
|
13267
|
+
}) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
|
|
13268
|
+
id: string;
|
|
13269
|
+
status: string;
|
|
13270
|
+
input: unknown;
|
|
13271
|
+
output: unknown;
|
|
13272
|
+
error: {
|
|
13273
|
+
[x: string]: unknown;
|
|
13274
|
+
code: string;
|
|
13275
|
+
message: string;
|
|
13276
|
+
} | null;
|
|
13277
|
+
execution_id: string | null;
|
|
13278
|
+
is_private: boolean;
|
|
13279
|
+
created_at: string;
|
|
13280
|
+
updated_at: string;
|
|
13281
|
+
}>> | _zapier_kitcore.ContractEntry<"getDurableRun", (input: {
|
|
13282
|
+
run: string;
|
|
13417
13283
|
} & {
|
|
13418
13284
|
skipOutputDataValidation?: boolean;
|
|
13419
13285
|
}) => Promise<{
|
|
13420
13286
|
data: {
|
|
13421
13287
|
id: string;
|
|
13422
|
-
durable_run_id: string | null;
|
|
13423
|
-
workflow_version_id: string | null;
|
|
13424
13288
|
status: string;
|
|
13425
13289
|
input: unknown;
|
|
13426
13290
|
output: unknown;
|
|
13427
|
-
error:
|
|
13291
|
+
error: {
|
|
13292
|
+
[x: string]: unknown;
|
|
13293
|
+
code: string;
|
|
13294
|
+
message: string;
|
|
13295
|
+
} | null;
|
|
13296
|
+
execution: {
|
|
13297
|
+
id: string;
|
|
13298
|
+
name: string;
|
|
13299
|
+
status: string;
|
|
13300
|
+
input: unknown;
|
|
13301
|
+
created_at: string;
|
|
13302
|
+
output?: unknown;
|
|
13303
|
+
error?: unknown;
|
|
13304
|
+
metadata?: Record<string, unknown> | undefined;
|
|
13305
|
+
summary?: {
|
|
13306
|
+
[x: string]: unknown;
|
|
13307
|
+
total_attempts: number;
|
|
13308
|
+
last_error?: {
|
|
13309
|
+
[x: string]: unknown;
|
|
13310
|
+
code: string;
|
|
13311
|
+
title: string;
|
|
13312
|
+
detail?: string | null | undefined;
|
|
13313
|
+
} | null | undefined;
|
|
13314
|
+
} | null | undefined;
|
|
13315
|
+
operations?: {
|
|
13316
|
+
id: string;
|
|
13317
|
+
execution_id: string;
|
|
13318
|
+
name: string;
|
|
13319
|
+
type: string;
|
|
13320
|
+
status: string;
|
|
13321
|
+
retry_count: number;
|
|
13322
|
+
created_at: string;
|
|
13323
|
+
result?: unknown;
|
|
13324
|
+
error?: unknown;
|
|
13325
|
+
max_attempts?: number | undefined;
|
|
13326
|
+
next_retry_at?: string | null | undefined;
|
|
13327
|
+
resume_at?: string | null | undefined;
|
|
13328
|
+
callback_token?: string | null | undefined;
|
|
13329
|
+
payload_schema?: unknown;
|
|
13330
|
+
payload?: unknown;
|
|
13331
|
+
expires_at?: string | null | undefined;
|
|
13332
|
+
timeout_seconds?: number | null | undefined;
|
|
13333
|
+
completed_at?: string | null | undefined;
|
|
13334
|
+
}[] | undefined;
|
|
13335
|
+
} | null;
|
|
13336
|
+
is_private: boolean;
|
|
13428
13337
|
created_at: string;
|
|
13429
13338
|
updated_at: string;
|
|
13430
13339
|
};
|
|
13431
13340
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13341
|
+
}>> | _zapier_kitcore.ContractEntry<"runDurable", (input: ({
|
|
13342
|
+
sourceFiles: Record<string, string>;
|
|
13343
|
+
input?: unknown;
|
|
13344
|
+
dependencies?: Record<string, string> | undefined;
|
|
13345
|
+
zapierDurableVersion?: string | undefined;
|
|
13346
|
+
zapier_durable_version?: string | undefined;
|
|
13347
|
+
connections?: Record<string, {
|
|
13348
|
+
connectionId?: string | number | undefined;
|
|
13349
|
+
connection_id?: string | number | undefined;
|
|
13350
|
+
}> | undefined;
|
|
13351
|
+
appVersions?: Record<string, {
|
|
13352
|
+
implementationName?: string | undefined;
|
|
13353
|
+
implementation_name?: string | undefined;
|
|
13354
|
+
version?: string | undefined;
|
|
13355
|
+
}> | undefined;
|
|
13356
|
+
app_versions?: Record<string, {
|
|
13357
|
+
implementationName?: string | undefined;
|
|
13358
|
+
implementation_name?: string | undefined;
|
|
13359
|
+
version?: string | undefined;
|
|
13360
|
+
}> | undefined;
|
|
13361
|
+
private?: boolean | undefined;
|
|
13362
|
+
notifications?: {
|
|
13363
|
+
url: string;
|
|
13364
|
+
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
13365
|
+
type?: "webhook" | undefined;
|
|
13366
|
+
max_retries?: number | undefined;
|
|
13367
|
+
}[] | undefined;
|
|
13368
|
+
} | {
|
|
13369
|
+
source_files: Record<string, string>;
|
|
13370
|
+
input?: unknown;
|
|
13371
|
+
dependencies?: Record<string, string> | undefined;
|
|
13372
|
+
zapierDurableVersion?: string | undefined;
|
|
13373
|
+
zapier_durable_version?: string | undefined;
|
|
13374
|
+
connections?: Record<string, {
|
|
13375
|
+
connectionId?: string | number | undefined;
|
|
13376
|
+
connection_id?: string | number | undefined;
|
|
13377
|
+
}> | undefined;
|
|
13378
|
+
appVersions?: Record<string, {
|
|
13379
|
+
implementationName?: string | undefined;
|
|
13380
|
+
implementation_name?: string | undefined;
|
|
13381
|
+
version?: string | undefined;
|
|
13382
|
+
}> | undefined;
|
|
13383
|
+
app_versions?: Record<string, {
|
|
13384
|
+
implementationName?: string | undefined;
|
|
13385
|
+
implementation_name?: string | undefined;
|
|
13386
|
+
version?: string | undefined;
|
|
13387
|
+
}> | undefined;
|
|
13388
|
+
private?: boolean | undefined;
|
|
13389
|
+
notifications?: {
|
|
13390
|
+
url: string;
|
|
13391
|
+
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
13392
|
+
type?: "webhook" | undefined;
|
|
13393
|
+
max_retries?: number | undefined;
|
|
13394
|
+
}[] | undefined;
|
|
13395
|
+
}) & {
|
|
13396
|
+
skipOutputDataValidation?: boolean;
|
|
13397
|
+
}) => Promise<{
|
|
13398
|
+
data: {
|
|
13399
|
+
id: string;
|
|
13400
|
+
status: "initialized";
|
|
13401
|
+
is_private: boolean;
|
|
13402
|
+
created_at: string;
|
|
13403
|
+
};
|
|
13404
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
13405
|
+
}>> | _zapier_kitcore.ContractEntry<"cancelDurableRun", (input: {
|
|
13406
|
+
run: string;
|
|
13407
|
+
} & {
|
|
13408
|
+
skipOutputDataValidation?: boolean;
|
|
13409
|
+
}) => Promise<{
|
|
13410
|
+
data: {
|
|
13411
|
+
id: string;
|
|
13412
|
+
status: "cancelled";
|
|
13413
|
+
};
|
|
13414
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
13432
13415
|
}>> | _zapier_kitcore.ContractEntry<"triggerWorkflow", (input: {
|
|
13433
13416
|
workflow: string;
|
|
13434
13417
|
input?: unknown;
|
|
@@ -13441,6 +13424,23 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13441
13424
|
created_at: string;
|
|
13442
13425
|
};
|
|
13443
13426
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13427
|
+
}>> | _zapier_kitcore.ContractEntry<"getTriggerRun", (input: {
|
|
13428
|
+
trigger: string;
|
|
13429
|
+
} & {
|
|
13430
|
+
skipOutputDataValidation?: boolean;
|
|
13431
|
+
}) => Promise<{
|
|
13432
|
+
data: {
|
|
13433
|
+
id: string;
|
|
13434
|
+
durable_run_id: string | null;
|
|
13435
|
+
workflow_version_id: string | null;
|
|
13436
|
+
status: string;
|
|
13437
|
+
input: unknown;
|
|
13438
|
+
output: unknown;
|
|
13439
|
+
error: unknown;
|
|
13440
|
+
created_at: string;
|
|
13441
|
+
updated_at: string;
|
|
13442
|
+
};
|
|
13443
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
13444
13444
|
}>> | _zapier_kitcore.ContractEntry<"validateWorkflow", (input: {
|
|
13445
13445
|
sourceFiles: Record<string, string>;
|
|
13446
13446
|
entrypointFile?: string | undefined;
|
|
@@ -13603,6 +13603,29 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13603
13603
|
updated_at?: string | null | undefined;
|
|
13604
13604
|
};
|
|
13605
13605
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13606
|
+
}>> | _zapier_kitcore.ContractEntry<"listVfsDirectory", (input: {
|
|
13607
|
+
path: string;
|
|
13608
|
+
pageSize?: number | undefined;
|
|
13609
|
+
maxItems?: number | undefined;
|
|
13610
|
+
cursor?: string | undefined;
|
|
13611
|
+
} & {
|
|
13612
|
+
cursor?: string;
|
|
13613
|
+
pageSize?: number;
|
|
13614
|
+
} & {
|
|
13615
|
+
maxItems?: number;
|
|
13616
|
+
} & {
|
|
13617
|
+
skipOutputDataValidation?: boolean;
|
|
13618
|
+
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
13619
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
13620
|
+
name: string;
|
|
13621
|
+
path: string;
|
|
13622
|
+
size?: number | undefined;
|
|
13623
|
+
version?: number | undefined;
|
|
13624
|
+
updated_at?: string | undefined;
|
|
13625
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
13626
|
+
target_path?: string | null | undefined;
|
|
13627
|
+
accessible?: boolean | undefined;
|
|
13628
|
+
content_type?: string | undefined;
|
|
13606
13629
|
}>> | _zapier_kitcore.ContractEntry<"readVfsFile", (input: {
|
|
13607
13630
|
path: string;
|
|
13608
13631
|
maxBytes?: number | undefined;
|
|
@@ -13662,29 +13685,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13662
13685
|
warnings?: string[] | undefined;
|
|
13663
13686
|
};
|
|
13664
13687
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13665
|
-
}>> | _zapier_kitcore.ContractEntry<"listVfsDirectory", (input: {
|
|
13666
|
-
path: string;
|
|
13667
|
-
pageSize?: number | undefined;
|
|
13668
|
-
maxItems?: number | undefined;
|
|
13669
|
-
cursor?: string | undefined;
|
|
13670
|
-
} & {
|
|
13671
|
-
cursor?: string;
|
|
13672
|
-
pageSize?: number;
|
|
13673
|
-
} & {
|
|
13674
|
-
maxItems?: number;
|
|
13675
|
-
} & {
|
|
13676
|
-
skipOutputDataValidation?: boolean;
|
|
13677
|
-
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
13678
|
-
type: "file" | "stream" | "directory" | "shortcut";
|
|
13679
|
-
name: string;
|
|
13680
|
-
path: string;
|
|
13681
|
-
size?: number | undefined;
|
|
13682
|
-
version?: number | undefined;
|
|
13683
|
-
updated_at?: string | undefined;
|
|
13684
|
-
target_type?: "file" | "stream" | "directory" | null | undefined;
|
|
13685
|
-
target_path?: string | null | undefined;
|
|
13686
|
-
accessible?: boolean | undefined;
|
|
13687
|
-
content_type?: string | undefined;
|
|
13688
13688
|
}>> | _zapier_kitcore.ContractEntry<"createVfsDirectory", (input: {
|
|
13689
13689
|
path: string;
|
|
13690
13690
|
} & {
|
|
@@ -13701,13 +13701,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13701
13701
|
skipOutputDataValidation?: boolean;
|
|
13702
13702
|
}) => Promise<{
|
|
13703
13703
|
data: {
|
|
13704
|
-
type: "file" | "
|
|
13704
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
13705
13705
|
name: string;
|
|
13706
13706
|
path: string;
|
|
13707
13707
|
size?: number | undefined;
|
|
13708
13708
|
version?: number | undefined;
|
|
13709
13709
|
updated_at?: string | undefined;
|
|
13710
|
-
target_type?: "file" | "
|
|
13710
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
13711
13711
|
target_path?: string | null | undefined;
|
|
13712
13712
|
accessible?: boolean | undefined;
|
|
13713
13713
|
content_type?: string | undefined;
|
|
@@ -15450,7 +15450,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15450
15450
|
triggers: {
|
|
15451
15451
|
selected_api: string;
|
|
15452
15452
|
action: string;
|
|
15453
|
-
status: "active" | "
|
|
15453
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
15454
15454
|
authentication_id?: string | null | undefined;
|
|
15455
15455
|
params?: Record<string, unknown> | undefined;
|
|
15456
15456
|
error?: string | null | undefined;
|
|
@@ -15484,7 +15484,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15484
15484
|
triggers: {
|
|
15485
15485
|
selected_api: string;
|
|
15486
15486
|
action: string;
|
|
15487
|
-
status: "active" | "
|
|
15487
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
15488
15488
|
authentication_id?: string | null | undefined;
|
|
15489
15489
|
params?: Record<string, unknown> | undefined;
|
|
15490
15490
|
error?: string | null | undefined;
|
|
@@ -15579,7 +15579,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15579
15579
|
triggers: {
|
|
15580
15580
|
selected_api: string;
|
|
15581
15581
|
action: string;
|
|
15582
|
-
status: "active" | "
|
|
15582
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
15583
15583
|
authentication_id?: string | null | undefined;
|
|
15584
15584
|
params?: Record<string, unknown> | undefined;
|
|
15585
15585
|
error?: string | null | undefined;
|
|
@@ -16673,13 +16673,13 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
16673
16673
|
} & {
|
|
16674
16674
|
skipOutputDataValidation?: boolean;
|
|
16675
16675
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
16676
|
-
type: "file" | "
|
|
16676
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
16677
16677
|
name: string;
|
|
16678
16678
|
path: string;
|
|
16679
16679
|
size?: number | undefined;
|
|
16680
16680
|
version?: number | undefined;
|
|
16681
16681
|
updated_at?: string | undefined;
|
|
16682
|
-
target_type?: "file" | "
|
|
16682
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
16683
16683
|
target_path?: string | null | undefined;
|
|
16684
16684
|
accessible?: boolean | undefined;
|
|
16685
16685
|
content_type?: string | undefined;
|
|
@@ -16764,13 +16764,13 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
16764
16764
|
skipOutputDataValidation?: boolean;
|
|
16765
16765
|
}) => Promise<{
|
|
16766
16766
|
data: {
|
|
16767
|
-
type: "file" | "
|
|
16767
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
16768
16768
|
name: string;
|
|
16769
16769
|
path: string;
|
|
16770
16770
|
size?: number | undefined;
|
|
16771
16771
|
version?: number | undefined;
|
|
16772
16772
|
updated_at?: string | undefined;
|
|
16773
|
-
target_type?: "file" | "
|
|
16773
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
16774
16774
|
target_path?: string | null | undefined;
|
|
16775
16775
|
accessible?: boolean | undefined;
|
|
16776
16776
|
content_type?: string | undefined;
|