@zapier/zapier-sdk 0.114.2 → 0.114.4
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 +16 -0
- package/dist/beta.cjs +278 -278
- package/dist/beta.mjs +2 -2
- package/dist/{chunk-AQ2KWT3Q.mjs → chunk-A2GMUMK3.mjs} +2 -2
- package/dist/{chunk-4U774K23.cjs → chunk-B4DVAMYI.cjs} +2 -2
- package/dist/{chunk-KUFXNAKD.cjs → chunk-BRFMIXJZ.cjs} +4 -4
- package/dist/{chunk-EGVZR2T2.mjs → chunk-ICFP2AO2.mjs} +1 -1
- package/dist/experimental.cjs +392 -389
- package/dist/experimental.d.mts +282 -278
- package/dist/experimental.d.ts +282 -278
- package/dist/experimental.mjs +12 -9
- package/dist/index.cjs +276 -276
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -7547,7 +7547,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7547
7547
|
triggers: {
|
|
7548
7548
|
selected_api: string;
|
|
7549
7549
|
action: string;
|
|
7550
|
-
status: "active" | "
|
|
7550
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7551
7551
|
authentication_id?: string | null | undefined;
|
|
7552
7552
|
params?: Record<string, unknown> | undefined;
|
|
7553
7553
|
error?: string | null | undefined;
|
|
@@ -7594,7 +7594,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7594
7594
|
triggers: {
|
|
7595
7595
|
selected_api: string;
|
|
7596
7596
|
action: string;
|
|
7597
|
-
status: "active" | "
|
|
7597
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7598
7598
|
authentication_id?: string | null | undefined;
|
|
7599
7599
|
params?: Record<string, unknown> | undefined;
|
|
7600
7600
|
error?: string | null | undefined;
|
|
@@ -7629,7 +7629,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7629
7629
|
triggers: {
|
|
7630
7630
|
selected_api: string;
|
|
7631
7631
|
action: string;
|
|
7632
|
-
status: "active" | "
|
|
7632
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7633
7633
|
authentication_id?: string | null | undefined;
|
|
7634
7634
|
params?: Record<string, unknown> | undefined;
|
|
7635
7635
|
error?: string | null | undefined;
|
|
@@ -7688,7 +7688,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7688
7688
|
triggers: {
|
|
7689
7689
|
selected_api: string;
|
|
7690
7690
|
action: string;
|
|
7691
|
-
status: "active" | "
|
|
7691
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7692
7692
|
authentication_id?: string | null | undefined;
|
|
7693
7693
|
params?: Record<string, unknown> | undefined;
|
|
7694
7694
|
error?: string | null | undefined;
|
|
@@ -7761,9 +7761,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7761
7761
|
description?: string | undefined;
|
|
7762
7762
|
name: string;
|
|
7763
7763
|
is_private?: boolean | undefined;
|
|
7764
|
+
private?: boolean | undefined;
|
|
7764
7765
|
creationHarness?: string | null | undefined;
|
|
7765
7766
|
creationAccessMethod?: "unknown" | "api" | "sdk_cli" | "sdk_mcp" | "zapier_mcp" | "editor" | undefined;
|
|
7766
|
-
private?: boolean | undefined;
|
|
7767
7767
|
}> & _zapier_kitcore.LeafSummary<"", "createWorkflow", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
7768
7768
|
name: string;
|
|
7769
7769
|
description?: string | undefined;
|
|
@@ -7812,7 +7812,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7812
7812
|
triggers: {
|
|
7813
7813
|
selected_api: string;
|
|
7814
7814
|
action: string;
|
|
7815
|
-
status: "active" | "
|
|
7815
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7816
7816
|
authentication_id?: string | null | undefined;
|
|
7817
7817
|
params?: Record<string, unknown> | undefined;
|
|
7818
7818
|
error?: string | null | undefined;
|
|
@@ -7891,7 +7891,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
7891
7891
|
triggers: {
|
|
7892
7892
|
selected_api: string;
|
|
7893
7893
|
action: string;
|
|
7894
|
-
status: "active" | "
|
|
7894
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
7895
7895
|
authentication_id?: string | null | undefined;
|
|
7896
7896
|
params?: Record<string, unknown> | undefined;
|
|
7897
7897
|
error?: string | null | undefined;
|
|
@@ -8290,7 +8290,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8290
8290
|
connection_id?: string | number | undefined;
|
|
8291
8291
|
}> | null | undefined;
|
|
8292
8292
|
enabled?: boolean | undefined;
|
|
8293
|
-
|
|
8293
|
+
workflow: string;
|
|
8294
8294
|
zapier_durable_version?: string | undefined;
|
|
8295
8295
|
dependencies?: Record<string, string> | undefined;
|
|
8296
8296
|
trigger?: {
|
|
@@ -8306,14 +8306,14 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8306
8306
|
implementation_name?: string | undefined;
|
|
8307
8307
|
version?: string | undefined;
|
|
8308
8308
|
}> | null | undefined;
|
|
8309
|
-
workflow: string;
|
|
8310
8309
|
zapierDurableVersion?: string | undefined;
|
|
8310
|
+
ignoreOpenDrafts?: boolean | undefined;
|
|
8311
8311
|
appVersions?: Record<string, {
|
|
8312
8312
|
implementationName?: string | undefined;
|
|
8313
8313
|
implementation_name?: string | undefined;
|
|
8314
8314
|
version?: string | undefined;
|
|
8315
8315
|
}> | null | undefined;
|
|
8316
|
-
|
|
8316
|
+
manual?: boolean | undefined;
|
|
8317
8317
|
}> & _zapier_kitcore.LeafSummary<"", "publishWorkflowVersion", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: ({
|
|
8318
8318
|
workflow: string;
|
|
8319
8319
|
sourceFiles: Record<string, string>;
|
|
@@ -8684,7 +8684,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8684
8684
|
connectionId?: string | number | undefined;
|
|
8685
8685
|
connection_id?: string | number | undefined;
|
|
8686
8686
|
}> | null | undefined;
|
|
8687
|
-
|
|
8687
|
+
workflow: string;
|
|
8688
8688
|
dependencies?: Record<string, string> | undefined;
|
|
8689
8689
|
trigger?: {
|
|
8690
8690
|
action: string;
|
|
@@ -8694,15 +8694,15 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8694
8694
|
authentication_id?: string | null | undefined;
|
|
8695
8695
|
params?: Record<string, unknown> | undefined;
|
|
8696
8696
|
} | null | undefined;
|
|
8697
|
-
workflow: string;
|
|
8698
8697
|
draft: string;
|
|
8698
|
+
sourceFiles: Record<string, string>;
|
|
8699
8699
|
zapierDurableVersion?: string | undefined;
|
|
8700
8700
|
appVersions?: Record<string, {
|
|
8701
8701
|
implementationName?: string | undefined;
|
|
8702
8702
|
implementation_name?: string | undefined;
|
|
8703
8703
|
version?: string | undefined;
|
|
8704
8704
|
}> | null | undefined;
|
|
8705
|
-
|
|
8705
|
+
manual?: boolean | undefined;
|
|
8706
8706
|
draftRevision?: number | undefined;
|
|
8707
8707
|
}> & _zapier_kitcore.LeafSummary<"", "updateWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8708
8708
|
workflow: string;
|
|
@@ -8910,9 +8910,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
8910
8910
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
8911
8911
|
}>, readonly [], {
|
|
8912
8912
|
enabled?: boolean | undefined;
|
|
8913
|
-
manual?: boolean | undefined;
|
|
8914
8913
|
workflow: string;
|
|
8915
8914
|
draft: string;
|
|
8915
|
+
manual?: boolean | undefined;
|
|
8916
8916
|
draftRevision?: number | undefined;
|
|
8917
8917
|
}> & _zapier_kitcore.LeafSummary<"", "publishWorkflowDraft", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
8918
8918
|
workflow: string;
|
|
@@ -9291,13 +9291,14 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
9291
9291
|
result?: unknown;
|
|
9292
9292
|
error?: unknown;
|
|
9293
9293
|
max_attempts?: number | undefined;
|
|
9294
|
-
next_retry_at?: string | undefined;
|
|
9295
|
-
resume_at?: string | undefined;
|
|
9294
|
+
next_retry_at?: string | null | undefined;
|
|
9295
|
+
resume_at?: string | null | undefined;
|
|
9296
9296
|
callback_token?: string | null | undefined;
|
|
9297
9297
|
payload_schema?: unknown;
|
|
9298
9298
|
payload?: unknown;
|
|
9299
|
-
expires_at?: string | undefined;
|
|
9300
|
-
|
|
9299
|
+
expires_at?: string | null | undefined;
|
|
9300
|
+
timeout_seconds?: number | null | undefined;
|
|
9301
|
+
completed_at?: string | null | undefined;
|
|
9301
9302
|
}[] | undefined;
|
|
9302
9303
|
} | null;
|
|
9303
9304
|
is_private: boolean;
|
|
@@ -9352,13 +9353,14 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
9352
9353
|
result?: unknown;
|
|
9353
9354
|
error?: unknown;
|
|
9354
9355
|
max_attempts?: number | undefined;
|
|
9355
|
-
next_retry_at?: string | undefined;
|
|
9356
|
-
resume_at?: string | undefined;
|
|
9356
|
+
next_retry_at?: string | null | undefined;
|
|
9357
|
+
resume_at?: string | null | undefined;
|
|
9357
9358
|
callback_token?: string | null | undefined;
|
|
9358
9359
|
payload_schema?: unknown;
|
|
9359
9360
|
payload?: unknown;
|
|
9360
|
-
expires_at?: string | undefined;
|
|
9361
|
-
|
|
9361
|
+
expires_at?: string | null | undefined;
|
|
9362
|
+
timeout_seconds?: number | null | undefined;
|
|
9363
|
+
completed_at?: string | null | undefined;
|
|
9362
9364
|
}[] | undefined;
|
|
9363
9365
|
} | null;
|
|
9364
9366
|
is_private: boolean;
|
|
@@ -9764,6 +9766,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
9764
9766
|
} | undefined;
|
|
9765
9767
|
}[] | undefined;
|
|
9766
9768
|
draft?: boolean | undefined;
|
|
9769
|
+
confirmationTitle?: string | undefined;
|
|
9770
|
+
confirmationMessage?: string | undefined;
|
|
9771
|
+
consumerAuth?: "zapier" | "none" | undefined;
|
|
9767
9772
|
document?: {
|
|
9768
9773
|
[x: string]: unknown;
|
|
9769
9774
|
id: string;
|
|
@@ -9775,9 +9780,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
9775
9780
|
};
|
|
9776
9781
|
children?: unknown[] | undefined;
|
|
9777
9782
|
} | undefined;
|
|
9778
|
-
confirmationTitle?: string | undefined;
|
|
9779
|
-
confirmationMessage?: string | undefined;
|
|
9780
|
-
consumerAuth?: "zapier" | "none" | undefined;
|
|
9781
9783
|
}> & _zapier_kitcore.LeafSummary<"", "createForm", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
9782
9784
|
title: string;
|
|
9783
9785
|
description?: string | undefined;
|
|
@@ -10035,13 +10037,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10035
10037
|
} & {
|
|
10036
10038
|
skipOutputDataValidation?: boolean;
|
|
10037
10039
|
}, _zapier_kitcore.PaginatedSdkResult<{
|
|
10038
|
-
type: "file" | "
|
|
10040
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
10039
10041
|
name: string;
|
|
10040
10042
|
path: string;
|
|
10041
10043
|
size?: number | undefined;
|
|
10042
10044
|
version?: number | undefined;
|
|
10043
10045
|
updated_at?: string | undefined;
|
|
10044
|
-
target_type?: "file" | "
|
|
10046
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
10045
10047
|
target_path?: string | null | undefined;
|
|
10046
10048
|
accessible?: boolean | undefined;
|
|
10047
10049
|
content_type?: string | undefined;
|
|
@@ -10066,13 +10068,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10066
10068
|
} & {
|
|
10067
10069
|
skipOutputDataValidation?: boolean;
|
|
10068
10070
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
10069
|
-
type: "file" | "
|
|
10071
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
10070
10072
|
name: string;
|
|
10071
10073
|
path: string;
|
|
10072
10074
|
size?: number | undefined;
|
|
10073
10075
|
version?: number | undefined;
|
|
10074
10076
|
updated_at?: string | undefined;
|
|
10075
|
-
target_type?: "file" | "
|
|
10077
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
10076
10078
|
target_path?: string | null | undefined;
|
|
10077
10079
|
accessible?: boolean | undefined;
|
|
10078
10080
|
content_type?: string | undefined;
|
|
@@ -10198,9 +10200,9 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10198
10200
|
};
|
|
10199
10201
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
10200
10202
|
}>, readonly [], {
|
|
10203
|
+
expectedVersion?: number | undefined;
|
|
10201
10204
|
from: string;
|
|
10202
10205
|
to: string;
|
|
10203
|
-
expectedVersion?: number | undefined;
|
|
10204
10206
|
overwrite?: boolean | undefined;
|
|
10205
10207
|
}> & _zapier_kitcore.LeafSummary<"", "copyVfsFile", readonly [_zapier_kitcore.PropertyPlugin<"api", ApiClient> & _zapier_kitcore.DeclarationSummary<"zapier/api", ApiClient> & _zapier_kitcore.StandInId<"zapier/api">], (input: {
|
|
10206
10208
|
from: string;
|
|
@@ -10249,13 +10251,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10249
10251
|
skipOutputDataValidation?: boolean;
|
|
10250
10252
|
}, Promise<{
|
|
10251
10253
|
data: {
|
|
10252
|
-
type: "file" | "
|
|
10254
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
10253
10255
|
name: string;
|
|
10254
10256
|
path: string;
|
|
10255
10257
|
size?: number | undefined;
|
|
10256
10258
|
version?: number | undefined;
|
|
10257
10259
|
updated_at?: string | undefined;
|
|
10258
|
-
target_type?: "file" | "
|
|
10260
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
10259
10261
|
target_path?: string | null | undefined;
|
|
10260
10262
|
accessible?: boolean | undefined;
|
|
10261
10263
|
content_type?: string | undefined;
|
|
@@ -10269,13 +10271,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10269
10271
|
skipOutputDataValidation?: boolean;
|
|
10270
10272
|
}) => Promise<{
|
|
10271
10273
|
data: {
|
|
10272
|
-
type: "file" | "
|
|
10274
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
10273
10275
|
name: string;
|
|
10274
10276
|
path: string;
|
|
10275
10277
|
size?: number | undefined;
|
|
10276
10278
|
version?: number | undefined;
|
|
10277
10279
|
updated_at?: string | undefined;
|
|
10278
|
-
target_type?: "file" | "
|
|
10280
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
10279
10281
|
target_path?: string | null | undefined;
|
|
10280
10282
|
accessible?: boolean | undefined;
|
|
10281
10283
|
content_type?: string | undefined;
|
|
@@ -10331,7 +10333,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
10331
10333
|
};
|
|
10332
10334
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
10333
10335
|
}>>;
|
|
10334
|
-
}> & _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" | "
|
|
10336
|
+
}> & _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", {
|
|
10335
10337
|
credentials?: string | {
|
|
10336
10338
|
clientId: string;
|
|
10337
10339
|
clientSecret: string;
|
|
@@ -12110,7 +12112,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12110
12112
|
triggers: {
|
|
12111
12113
|
selected_api: string;
|
|
12112
12114
|
action: string;
|
|
12113
|
-
status: "active" | "
|
|
12115
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
12114
12116
|
authentication_id?: string | null | undefined;
|
|
12115
12117
|
params?: Record<string, unknown> | undefined;
|
|
12116
12118
|
error?: string | null | undefined;
|
|
@@ -12143,7 +12145,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12143
12145
|
triggers: {
|
|
12144
12146
|
selected_api: string;
|
|
12145
12147
|
action: string;
|
|
12146
|
-
status: "active" | "
|
|
12148
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
12147
12149
|
authentication_id?: string | null | undefined;
|
|
12148
12150
|
params?: Record<string, unknown> | undefined;
|
|
12149
12151
|
error?: string | null | undefined;
|
|
@@ -12229,7 +12231,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12229
12231
|
triggers: {
|
|
12230
12232
|
selected_api: string;
|
|
12231
12233
|
action: string;
|
|
12232
|
-
status: "active" | "
|
|
12234
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
12233
12235
|
authentication_id?: string | null | undefined;
|
|
12234
12236
|
params?: Record<string, unknown> | undefined;
|
|
12235
12237
|
error?: string | null | undefined;
|
|
@@ -12331,7 +12333,8 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12331
12333
|
data: {
|
|
12332
12334
|
id: string;
|
|
12333
12335
|
};
|
|
12334
|
-
}>> | _zapier_kitcore.ContractEntry<"
|
|
12336
|
+
}>> | _zapier_kitcore.ContractEntry<"listWorkflowVersions", (input: {
|
|
12337
|
+
workflow: string;
|
|
12335
12338
|
pageSize?: number | undefined;
|
|
12336
12339
|
cursor?: string | undefined;
|
|
12337
12340
|
maxItems?: number | undefined;
|
|
@@ -12342,151 +12345,53 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12342
12345
|
maxItems?: number;
|
|
12343
12346
|
} & {
|
|
12344
12347
|
skipOutputDataValidation?: boolean;
|
|
12345
|
-
})
|
|
12348
|
+
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12346
12349
|
id: string;
|
|
12347
|
-
|
|
12348
|
-
|
|
12349
|
-
|
|
12350
|
-
|
|
12351
|
-
[x: string]: unknown;
|
|
12352
|
-
code: string;
|
|
12353
|
-
message: string;
|
|
12354
|
-
} | null;
|
|
12355
|
-
execution_id: string | null;
|
|
12356
|
-
is_private: boolean;
|
|
12350
|
+
workflow_id: string;
|
|
12351
|
+
zapier_durable_version: string;
|
|
12352
|
+
dependencies: Record<string, string> | null;
|
|
12353
|
+
created_by_user_id: string;
|
|
12357
12354
|
created_at: string;
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
12361
|
-
|
|
12362
|
-
|
|
12363
|
-
}
|
|
12364
|
-
|
|
12365
|
-
|
|
12366
|
-
|
|
12367
|
-
|
|
12368
|
-
|
|
12369
|
-
error: {
|
|
12370
|
-
[x: string]: unknown;
|
|
12371
|
-
code: string;
|
|
12372
|
-
message: string;
|
|
12373
|
-
} | null;
|
|
12374
|
-
execution: {
|
|
12375
|
-
id: string;
|
|
12376
|
-
name: string;
|
|
12377
|
-
status: string;
|
|
12378
|
-
input: unknown;
|
|
12379
|
-
created_at: string;
|
|
12380
|
-
output?: unknown;
|
|
12381
|
-
error?: unknown;
|
|
12382
|
-
metadata?: Record<string, unknown> | undefined;
|
|
12383
|
-
summary?: {
|
|
12384
|
-
[x: string]: unknown;
|
|
12385
|
-
total_attempts: number;
|
|
12386
|
-
last_error?: {
|
|
12387
|
-
[x: string]: unknown;
|
|
12388
|
-
code: string;
|
|
12389
|
-
title: string;
|
|
12390
|
-
detail?: string | null | undefined;
|
|
12391
|
-
} | null | undefined;
|
|
12392
|
-
} | null | undefined;
|
|
12393
|
-
operations?: {
|
|
12394
|
-
id: string;
|
|
12395
|
-
execution_id: string;
|
|
12396
|
-
name: string;
|
|
12397
|
-
type: string;
|
|
12398
|
-
status: string;
|
|
12399
|
-
retry_count: number;
|
|
12400
|
-
created_at: string;
|
|
12401
|
-
result?: unknown;
|
|
12402
|
-
error?: unknown;
|
|
12403
|
-
max_attempts?: number | undefined;
|
|
12404
|
-
next_retry_at?: string | undefined;
|
|
12405
|
-
resume_at?: string | undefined;
|
|
12406
|
-
callback_token?: string | null | undefined;
|
|
12407
|
-
payload_schema?: unknown;
|
|
12408
|
-
payload?: unknown;
|
|
12409
|
-
expires_at?: string | undefined;
|
|
12410
|
-
completed_at?: string | undefined;
|
|
12411
|
-
}[] | undefined;
|
|
12412
|
-
} | null;
|
|
12413
|
-
is_private: boolean;
|
|
12414
|
-
created_at: string;
|
|
12415
|
-
updated_at: string;
|
|
12416
|
-
};
|
|
12417
|
-
meta?: _zapier_kitcore.ResponseMeta;
|
|
12418
|
-
}>> | _zapier_kitcore.ContractEntry<"runDurable", (input: ({
|
|
12419
|
-
sourceFiles: Record<string, string>;
|
|
12420
|
-
input?: unknown;
|
|
12421
|
-
dependencies?: Record<string, string> | undefined;
|
|
12422
|
-
zapierDurableVersion?: string | undefined;
|
|
12423
|
-
zapier_durable_version?: string | undefined;
|
|
12424
|
-
connections?: Record<string, {
|
|
12425
|
-
connectionId?: string | number | undefined;
|
|
12426
|
-
connection_id?: string | number | undefined;
|
|
12427
|
-
}> | undefined;
|
|
12428
|
-
appVersions?: Record<string, {
|
|
12429
|
-
implementationName?: string | undefined;
|
|
12430
|
-
implementation_name?: string | undefined;
|
|
12431
|
-
version?: string | undefined;
|
|
12432
|
-
}> | undefined;
|
|
12433
|
-
app_versions?: Record<string, {
|
|
12434
|
-
implementationName?: string | undefined;
|
|
12435
|
-
implementation_name?: string | undefined;
|
|
12436
|
-
version?: string | undefined;
|
|
12437
|
-
}> | undefined;
|
|
12438
|
-
private?: boolean | undefined;
|
|
12439
|
-
notifications?: {
|
|
12440
|
-
url: string;
|
|
12441
|
-
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
12442
|
-
type?: "webhook" | undefined;
|
|
12443
|
-
max_retries?: number | undefined;
|
|
12444
|
-
}[] | undefined;
|
|
12445
|
-
} | {
|
|
12446
|
-
source_files: Record<string, string>;
|
|
12447
|
-
input?: unknown;
|
|
12448
|
-
dependencies?: Record<string, string> | undefined;
|
|
12449
|
-
zapierDurableVersion?: string | undefined;
|
|
12450
|
-
zapier_durable_version?: string | undefined;
|
|
12451
|
-
connections?: Record<string, {
|
|
12452
|
-
connectionId?: string | number | undefined;
|
|
12453
|
-
connection_id?: string | number | undefined;
|
|
12454
|
-
}> | undefined;
|
|
12455
|
-
appVersions?: Record<string, {
|
|
12456
|
-
implementationName?: string | undefined;
|
|
12457
|
-
implementation_name?: string | undefined;
|
|
12458
|
-
version?: string | undefined;
|
|
12459
|
-
}> | undefined;
|
|
12460
|
-
app_versions?: Record<string, {
|
|
12461
|
-
implementationName?: string | undefined;
|
|
12462
|
-
implementation_name?: string | undefined;
|
|
12355
|
+
trigger: {
|
|
12356
|
+
selected_api: string;
|
|
12357
|
+
action: string;
|
|
12358
|
+
authentication_id?: string | null | undefined;
|
|
12359
|
+
params?: Record<string, unknown> | undefined;
|
|
12360
|
+
} | null;
|
|
12361
|
+
connections: Record<string, {
|
|
12362
|
+
connection_id: string | number;
|
|
12363
|
+
}> | null;
|
|
12364
|
+
app_versions: Record<string, {
|
|
12365
|
+
implementation_name: string;
|
|
12463
12366
|
version?: string | undefined;
|
|
12464
|
-
}> |
|
|
12465
|
-
|
|
12466
|
-
|
|
12467
|
-
|
|
12468
|
-
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
12469
|
-
type?: "webhook" | undefined;
|
|
12470
|
-
max_retries?: number | undefined;
|
|
12471
|
-
}[] | undefined;
|
|
12472
|
-
}) & {
|
|
12473
|
-
skipOutputDataValidation?: boolean;
|
|
12474
|
-
}) => Promise<{
|
|
12475
|
-
data: {
|
|
12476
|
-
id: string;
|
|
12477
|
-
status: "initialized";
|
|
12478
|
-
is_private: boolean;
|
|
12479
|
-
created_at: string;
|
|
12480
|
-
};
|
|
12481
|
-
meta?: _zapier_kitcore.ResponseMeta;
|
|
12482
|
-
}>> | _zapier_kitcore.ContractEntry<"cancelDurableRun", (input: {
|
|
12483
|
-
run: string;
|
|
12367
|
+
}> | null;
|
|
12368
|
+
}>> | _zapier_kitcore.ContractEntry<"getWorkflowVersion", (input: {
|
|
12369
|
+
workflow: string;
|
|
12370
|
+
version: string;
|
|
12484
12371
|
} & {
|
|
12485
12372
|
skipOutputDataValidation?: boolean;
|
|
12486
12373
|
}) => Promise<{
|
|
12487
12374
|
data: {
|
|
12488
12375
|
id: string;
|
|
12489
|
-
|
|
12376
|
+
workflow_id: string;
|
|
12377
|
+
source_files: Record<string, string>;
|
|
12378
|
+
zapier_durable_version: string;
|
|
12379
|
+
dependencies: Record<string, string> | null;
|
|
12380
|
+
created_by_user_id: string;
|
|
12381
|
+
created_at: string;
|
|
12382
|
+
trigger: {
|
|
12383
|
+
selected_api: string;
|
|
12384
|
+
action: string;
|
|
12385
|
+
authentication_id?: string | null | undefined;
|
|
12386
|
+
params?: Record<string, unknown> | undefined;
|
|
12387
|
+
} | null;
|
|
12388
|
+
connections: Record<string, {
|
|
12389
|
+
connection_id: string | number;
|
|
12390
|
+
}> | null;
|
|
12391
|
+
app_versions: Record<string, {
|
|
12392
|
+
implementation_name: string;
|
|
12393
|
+
version?: string | undefined;
|
|
12394
|
+
}> | null;
|
|
12490
12395
|
};
|
|
12491
12396
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12492
12397
|
}>> | _zapier_kitcore.ContractEntry<"publishWorkflowVersion", (input: ({
|
|
@@ -12577,67 +12482,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12577
12482
|
}> | null;
|
|
12578
12483
|
};
|
|
12579
12484
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12580
|
-
}>> | _zapier_kitcore.ContractEntry<"listWorkflowVersions", (input: {
|
|
12581
|
-
workflow: string;
|
|
12582
|
-
pageSize?: number | undefined;
|
|
12583
|
-
cursor?: string | undefined;
|
|
12584
|
-
maxItems?: number | undefined;
|
|
12585
|
-
} & {
|
|
12586
|
-
cursor?: string;
|
|
12587
|
-
pageSize?: number;
|
|
12588
|
-
} & {
|
|
12589
|
-
maxItems?: number;
|
|
12590
|
-
} & {
|
|
12591
|
-
skipOutputDataValidation?: boolean;
|
|
12592
|
-
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12593
|
-
id: string;
|
|
12594
|
-
workflow_id: string;
|
|
12595
|
-
zapier_durable_version: string;
|
|
12596
|
-
dependencies: Record<string, string> | null;
|
|
12597
|
-
created_by_user_id: string;
|
|
12598
|
-
created_at: string;
|
|
12599
|
-
trigger: {
|
|
12600
|
-
selected_api: string;
|
|
12601
|
-
action: string;
|
|
12602
|
-
authentication_id?: string | null | undefined;
|
|
12603
|
-
params?: Record<string, unknown> | undefined;
|
|
12604
|
-
} | null;
|
|
12605
|
-
connections: Record<string, {
|
|
12606
|
-
connection_id: string | number;
|
|
12607
|
-
}> | null;
|
|
12608
|
-
app_versions: Record<string, {
|
|
12609
|
-
implementation_name: string;
|
|
12610
|
-
version?: string | undefined;
|
|
12611
|
-
}> | null;
|
|
12612
|
-
}>> | _zapier_kitcore.ContractEntry<"getWorkflowVersion", (input: {
|
|
12613
|
-
workflow: string;
|
|
12614
|
-
version: string;
|
|
12615
|
-
} & {
|
|
12616
|
-
skipOutputDataValidation?: boolean;
|
|
12617
|
-
}) => Promise<{
|
|
12618
|
-
data: {
|
|
12619
|
-
id: string;
|
|
12620
|
-
workflow_id: string;
|
|
12621
|
-
source_files: Record<string, string>;
|
|
12622
|
-
zapier_durable_version: string;
|
|
12623
|
-
dependencies: Record<string, string> | null;
|
|
12624
|
-
created_by_user_id: string;
|
|
12625
|
-
created_at: string;
|
|
12626
|
-
trigger: {
|
|
12627
|
-
selected_api: string;
|
|
12628
|
-
action: string;
|
|
12629
|
-
authentication_id?: string | null | undefined;
|
|
12630
|
-
params?: Record<string, unknown> | undefined;
|
|
12631
|
-
} | null;
|
|
12632
|
-
connections: Record<string, {
|
|
12633
|
-
connection_id: string | number;
|
|
12634
|
-
}> | null;
|
|
12635
|
-
app_versions: Record<string, {
|
|
12636
|
-
implementation_name: string;
|
|
12637
|
-
version?: string | undefined;
|
|
12638
|
-
}> | null;
|
|
12639
|
-
};
|
|
12640
|
-
meta?: _zapier_kitcore.ResponseMeta;
|
|
12641
12485
|
}>> | _zapier_kitcore.ContractEntry<"listWorkflowDrafts", (input: {
|
|
12642
12486
|
workflow: string;
|
|
12643
12487
|
status?: "open" | "discarded" | undefined;
|
|
@@ -12987,23 +12831,165 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
12987
12831
|
draft_revision: number;
|
|
12988
12832
|
};
|
|
12989
12833
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12990
|
-
}>> | _zapier_kitcore.ContractEntry<"
|
|
12991
|
-
|
|
12834
|
+
}>> | _zapier_kitcore.ContractEntry<"listDurableRuns", (input?: ({
|
|
12835
|
+
pageSize?: number | undefined;
|
|
12836
|
+
cursor?: string | undefined;
|
|
12837
|
+
maxItems?: number | undefined;
|
|
12838
|
+
} & {
|
|
12839
|
+
cursor?: string;
|
|
12840
|
+
pageSize?: number;
|
|
12841
|
+
} & {
|
|
12842
|
+
maxItems?: number;
|
|
12843
|
+
} & {
|
|
12844
|
+
skipOutputDataValidation?: boolean;
|
|
12845
|
+
}) | undefined) => _zapier_kitcore.PaginatedSdkResult<{
|
|
12846
|
+
id: string;
|
|
12847
|
+
status: string;
|
|
12848
|
+
input: unknown;
|
|
12849
|
+
output: unknown;
|
|
12850
|
+
error: {
|
|
12851
|
+
[x: string]: unknown;
|
|
12852
|
+
code: string;
|
|
12853
|
+
message: string;
|
|
12854
|
+
} | null;
|
|
12855
|
+
execution_id: string | null;
|
|
12856
|
+
is_private: boolean;
|
|
12857
|
+
created_at: string;
|
|
12858
|
+
updated_at: string;
|
|
12859
|
+
}>> | _zapier_kitcore.ContractEntry<"getDurableRun", (input: {
|
|
12860
|
+
run: string;
|
|
12992
12861
|
} & {
|
|
12993
12862
|
skipOutputDataValidation?: boolean;
|
|
12994
12863
|
}) => Promise<{
|
|
12995
12864
|
data: {
|
|
12996
12865
|
id: string;
|
|
12997
|
-
durable_run_id: string | null;
|
|
12998
|
-
workflow_version_id: string | null;
|
|
12999
12866
|
status: string;
|
|
13000
12867
|
input: unknown;
|
|
13001
12868
|
output: unknown;
|
|
13002
|
-
error:
|
|
12869
|
+
error: {
|
|
12870
|
+
[x: string]: unknown;
|
|
12871
|
+
code: string;
|
|
12872
|
+
message: string;
|
|
12873
|
+
} | null;
|
|
12874
|
+
execution: {
|
|
12875
|
+
id: string;
|
|
12876
|
+
name: string;
|
|
12877
|
+
status: string;
|
|
12878
|
+
input: unknown;
|
|
12879
|
+
created_at: string;
|
|
12880
|
+
output?: unknown;
|
|
12881
|
+
error?: unknown;
|
|
12882
|
+
metadata?: Record<string, unknown> | undefined;
|
|
12883
|
+
summary?: {
|
|
12884
|
+
[x: string]: unknown;
|
|
12885
|
+
total_attempts: number;
|
|
12886
|
+
last_error?: {
|
|
12887
|
+
[x: string]: unknown;
|
|
12888
|
+
code: string;
|
|
12889
|
+
title: string;
|
|
12890
|
+
detail?: string | null | undefined;
|
|
12891
|
+
} | null | undefined;
|
|
12892
|
+
} | null | undefined;
|
|
12893
|
+
operations?: {
|
|
12894
|
+
id: string;
|
|
12895
|
+
execution_id: string;
|
|
12896
|
+
name: string;
|
|
12897
|
+
type: string;
|
|
12898
|
+
status: string;
|
|
12899
|
+
retry_count: number;
|
|
12900
|
+
created_at: string;
|
|
12901
|
+
result?: unknown;
|
|
12902
|
+
error?: unknown;
|
|
12903
|
+
max_attempts?: number | undefined;
|
|
12904
|
+
next_retry_at?: string | null | undefined;
|
|
12905
|
+
resume_at?: string | null | undefined;
|
|
12906
|
+
callback_token?: string | null | undefined;
|
|
12907
|
+
payload_schema?: unknown;
|
|
12908
|
+
payload?: unknown;
|
|
12909
|
+
expires_at?: string | null | undefined;
|
|
12910
|
+
timeout_seconds?: number | null | undefined;
|
|
12911
|
+
completed_at?: string | null | undefined;
|
|
12912
|
+
}[] | undefined;
|
|
12913
|
+
} | null;
|
|
12914
|
+
is_private: boolean;
|
|
13003
12915
|
created_at: string;
|
|
13004
12916
|
updated_at: string;
|
|
13005
12917
|
};
|
|
13006
12918
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
12919
|
+
}>> | _zapier_kitcore.ContractEntry<"runDurable", (input: ({
|
|
12920
|
+
sourceFiles: Record<string, string>;
|
|
12921
|
+
input?: unknown;
|
|
12922
|
+
dependencies?: Record<string, string> | undefined;
|
|
12923
|
+
zapierDurableVersion?: string | undefined;
|
|
12924
|
+
zapier_durable_version?: string | undefined;
|
|
12925
|
+
connections?: Record<string, {
|
|
12926
|
+
connectionId?: string | number | undefined;
|
|
12927
|
+
connection_id?: string | number | undefined;
|
|
12928
|
+
}> | undefined;
|
|
12929
|
+
appVersions?: Record<string, {
|
|
12930
|
+
implementationName?: string | undefined;
|
|
12931
|
+
implementation_name?: string | undefined;
|
|
12932
|
+
version?: string | undefined;
|
|
12933
|
+
}> | undefined;
|
|
12934
|
+
app_versions?: Record<string, {
|
|
12935
|
+
implementationName?: string | undefined;
|
|
12936
|
+
implementation_name?: string | undefined;
|
|
12937
|
+
version?: string | undefined;
|
|
12938
|
+
}> | undefined;
|
|
12939
|
+
private?: boolean | undefined;
|
|
12940
|
+
notifications?: {
|
|
12941
|
+
url: string;
|
|
12942
|
+
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
12943
|
+
type?: "webhook" | undefined;
|
|
12944
|
+
max_retries?: number | undefined;
|
|
12945
|
+
}[] | undefined;
|
|
12946
|
+
} | {
|
|
12947
|
+
source_files: Record<string, string>;
|
|
12948
|
+
input?: unknown;
|
|
12949
|
+
dependencies?: Record<string, string> | undefined;
|
|
12950
|
+
zapierDurableVersion?: string | undefined;
|
|
12951
|
+
zapier_durable_version?: string | undefined;
|
|
12952
|
+
connections?: Record<string, {
|
|
12953
|
+
connectionId?: string | number | undefined;
|
|
12954
|
+
connection_id?: string | number | undefined;
|
|
12955
|
+
}> | undefined;
|
|
12956
|
+
appVersions?: Record<string, {
|
|
12957
|
+
implementationName?: string | undefined;
|
|
12958
|
+
implementation_name?: string | undefined;
|
|
12959
|
+
version?: string | undefined;
|
|
12960
|
+
}> | undefined;
|
|
12961
|
+
app_versions?: Record<string, {
|
|
12962
|
+
implementationName?: string | undefined;
|
|
12963
|
+
implementation_name?: string | undefined;
|
|
12964
|
+
version?: string | undefined;
|
|
12965
|
+
}> | undefined;
|
|
12966
|
+
private?: boolean | undefined;
|
|
12967
|
+
notifications?: {
|
|
12968
|
+
url: string;
|
|
12969
|
+
events: ("error" | "started" | "cancelled" | "completed" | "progress")[];
|
|
12970
|
+
type?: "webhook" | undefined;
|
|
12971
|
+
max_retries?: number | undefined;
|
|
12972
|
+
}[] | undefined;
|
|
12973
|
+
}) & {
|
|
12974
|
+
skipOutputDataValidation?: boolean;
|
|
12975
|
+
}) => Promise<{
|
|
12976
|
+
data: {
|
|
12977
|
+
id: string;
|
|
12978
|
+
status: "initialized";
|
|
12979
|
+
is_private: boolean;
|
|
12980
|
+
created_at: string;
|
|
12981
|
+
};
|
|
12982
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
12983
|
+
}>> | _zapier_kitcore.ContractEntry<"cancelDurableRun", (input: {
|
|
12984
|
+
run: string;
|
|
12985
|
+
} & {
|
|
12986
|
+
skipOutputDataValidation?: boolean;
|
|
12987
|
+
}) => Promise<{
|
|
12988
|
+
data: {
|
|
12989
|
+
id: string;
|
|
12990
|
+
status: "cancelled";
|
|
12991
|
+
};
|
|
12992
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
13007
12993
|
}>> | _zapier_kitcore.ContractEntry<"triggerWorkflow", (input: {
|
|
13008
12994
|
workflow: string;
|
|
13009
12995
|
input?: unknown;
|
|
@@ -13016,6 +13002,23 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13016
13002
|
created_at: string;
|
|
13017
13003
|
};
|
|
13018
13004
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13005
|
+
}>> | _zapier_kitcore.ContractEntry<"getTriggerRun", (input: {
|
|
13006
|
+
trigger: string;
|
|
13007
|
+
} & {
|
|
13008
|
+
skipOutputDataValidation?: boolean;
|
|
13009
|
+
}) => Promise<{
|
|
13010
|
+
data: {
|
|
13011
|
+
id: string;
|
|
13012
|
+
durable_run_id: string | null;
|
|
13013
|
+
workflow_version_id: string | null;
|
|
13014
|
+
status: string;
|
|
13015
|
+
input: unknown;
|
|
13016
|
+
output: unknown;
|
|
13017
|
+
error: unknown;
|
|
13018
|
+
created_at: string;
|
|
13019
|
+
updated_at: string;
|
|
13020
|
+
};
|
|
13021
|
+
meta?: _zapier_kitcore.ResponseMeta;
|
|
13019
13022
|
}>> | _zapier_kitcore.ContractEntry<"validateWorkflow", (input: {
|
|
13020
13023
|
sourceFiles: Record<string, string>;
|
|
13021
13024
|
entrypointFile?: string | undefined;
|
|
@@ -13178,6 +13181,29 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13178
13181
|
updated_at?: string | null | undefined;
|
|
13179
13182
|
};
|
|
13180
13183
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13184
|
+
}>> | _zapier_kitcore.ContractEntry<"listVfsDirectory", (input: {
|
|
13185
|
+
path: string;
|
|
13186
|
+
pageSize?: number | undefined;
|
|
13187
|
+
maxItems?: number | undefined;
|
|
13188
|
+
cursor?: string | undefined;
|
|
13189
|
+
} & {
|
|
13190
|
+
cursor?: string;
|
|
13191
|
+
pageSize?: number;
|
|
13192
|
+
} & {
|
|
13193
|
+
maxItems?: number;
|
|
13194
|
+
} & {
|
|
13195
|
+
skipOutputDataValidation?: boolean;
|
|
13196
|
+
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
13197
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
13198
|
+
name: string;
|
|
13199
|
+
path: string;
|
|
13200
|
+
size?: number | undefined;
|
|
13201
|
+
version?: number | undefined;
|
|
13202
|
+
updated_at?: string | undefined;
|
|
13203
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
13204
|
+
target_path?: string | null | undefined;
|
|
13205
|
+
accessible?: boolean | undefined;
|
|
13206
|
+
content_type?: string | undefined;
|
|
13181
13207
|
}>> | _zapier_kitcore.ContractEntry<"readVfsFile", (input: {
|
|
13182
13208
|
path: string;
|
|
13183
13209
|
maxBytes?: number | undefined;
|
|
@@ -13237,29 +13263,6 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13237
13263
|
warnings?: string[] | undefined;
|
|
13238
13264
|
};
|
|
13239
13265
|
meta?: _zapier_kitcore.ResponseMeta;
|
|
13240
|
-
}>> | _zapier_kitcore.ContractEntry<"listVfsDirectory", (input: {
|
|
13241
|
-
path: string;
|
|
13242
|
-
pageSize?: number | undefined;
|
|
13243
|
-
maxItems?: number | undefined;
|
|
13244
|
-
cursor?: string | undefined;
|
|
13245
|
-
} & {
|
|
13246
|
-
cursor?: string;
|
|
13247
|
-
pageSize?: number;
|
|
13248
|
-
} & {
|
|
13249
|
-
maxItems?: number;
|
|
13250
|
-
} & {
|
|
13251
|
-
skipOutputDataValidation?: boolean;
|
|
13252
|
-
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
13253
|
-
type: "file" | "stream" | "directory" | "shortcut";
|
|
13254
|
-
name: string;
|
|
13255
|
-
path: string;
|
|
13256
|
-
size?: number | undefined;
|
|
13257
|
-
version?: number | undefined;
|
|
13258
|
-
updated_at?: string | undefined;
|
|
13259
|
-
target_type?: "file" | "stream" | "directory" | null | undefined;
|
|
13260
|
-
target_path?: string | null | undefined;
|
|
13261
|
-
accessible?: boolean | undefined;
|
|
13262
|
-
content_type?: string | undefined;
|
|
13263
13266
|
}>> | _zapier_kitcore.ContractEntry<"createVfsDirectory", (input: {
|
|
13264
13267
|
path: string;
|
|
13265
13268
|
} & {
|
|
@@ -13276,13 +13279,13 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
13276
13279
|
skipOutputDataValidation?: boolean;
|
|
13277
13280
|
}) => Promise<{
|
|
13278
13281
|
data: {
|
|
13279
|
-
type: "file" | "
|
|
13282
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
13280
13283
|
name: string;
|
|
13281
13284
|
path: string;
|
|
13282
13285
|
size?: number | undefined;
|
|
13283
13286
|
version?: number | undefined;
|
|
13284
13287
|
updated_at?: string | undefined;
|
|
13285
|
-
target_type?: "file" | "
|
|
13288
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
13286
13289
|
target_path?: string | null | undefined;
|
|
13287
13290
|
accessible?: boolean | undefined;
|
|
13288
13291
|
content_type?: string | undefined;
|
|
@@ -15025,7 +15028,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15025
15028
|
triggers: {
|
|
15026
15029
|
selected_api: string;
|
|
15027
15030
|
action: string;
|
|
15028
|
-
status: "active" | "
|
|
15031
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
15029
15032
|
authentication_id?: string | null | undefined;
|
|
15030
15033
|
params?: Record<string, unknown> | undefined;
|
|
15031
15034
|
error?: string | null | undefined;
|
|
@@ -15059,7 +15062,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15059
15062
|
triggers: {
|
|
15060
15063
|
selected_api: string;
|
|
15061
15064
|
action: string;
|
|
15062
|
-
status: "active" | "
|
|
15065
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
15063
15066
|
authentication_id?: string | null | undefined;
|
|
15064
15067
|
params?: Record<string, unknown> | undefined;
|
|
15065
15068
|
error?: string | null | undefined;
|
|
@@ -15147,7 +15150,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15147
15150
|
triggers: {
|
|
15148
15151
|
selected_api: string;
|
|
15149
15152
|
action: string;
|
|
15150
|
-
status: "active" | "
|
|
15153
|
+
status: "active" | "unclaimed" | "pending" | "releasing" | "released" | "failed";
|
|
15151
15154
|
authentication_id?: string | null | undefined;
|
|
15152
15155
|
params?: Record<string, unknown> | undefined;
|
|
15153
15156
|
error?: string | null | undefined;
|
|
@@ -15837,13 +15840,14 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
15837
15840
|
result?: unknown;
|
|
15838
15841
|
error?: unknown;
|
|
15839
15842
|
max_attempts?: number | undefined;
|
|
15840
|
-
next_retry_at?: string | undefined;
|
|
15841
|
-
resume_at?: string | undefined;
|
|
15843
|
+
next_retry_at?: string | null | undefined;
|
|
15844
|
+
resume_at?: string | null | undefined;
|
|
15842
15845
|
callback_token?: string | null | undefined;
|
|
15843
15846
|
payload_schema?: unknown;
|
|
15844
15847
|
payload?: unknown;
|
|
15845
|
-
expires_at?: string | undefined;
|
|
15846
|
-
|
|
15848
|
+
expires_at?: string | null | undefined;
|
|
15849
|
+
timeout_seconds?: number | null | undefined;
|
|
15850
|
+
completed_at?: string | null | undefined;
|
|
15847
15851
|
}[] | undefined;
|
|
15848
15852
|
} | null;
|
|
15849
15853
|
is_private: boolean;
|
|
@@ -16144,13 +16148,13 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
16144
16148
|
} & {
|
|
16145
16149
|
skipOutputDataValidation?: boolean;
|
|
16146
16150
|
}) => _zapier_kitcore.PaginatedSdkResult<{
|
|
16147
|
-
type: "file" | "
|
|
16151
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
16148
16152
|
name: string;
|
|
16149
16153
|
path: string;
|
|
16150
16154
|
size?: number | undefined;
|
|
16151
16155
|
version?: number | undefined;
|
|
16152
16156
|
updated_at?: string | undefined;
|
|
16153
|
-
target_type?: "file" | "
|
|
16157
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
16154
16158
|
target_path?: string | null | undefined;
|
|
16155
16159
|
accessible?: boolean | undefined;
|
|
16156
16160
|
content_type?: string | undefined;
|
|
@@ -16235,13 +16239,13 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
16235
16239
|
skipOutputDataValidation?: boolean;
|
|
16236
16240
|
}) => Promise<{
|
|
16237
16241
|
data: {
|
|
16238
|
-
type: "file" | "
|
|
16242
|
+
type: "file" | "directory" | "shortcut" | "stream";
|
|
16239
16243
|
name: string;
|
|
16240
16244
|
path: string;
|
|
16241
16245
|
size?: number | undefined;
|
|
16242
16246
|
version?: number | undefined;
|
|
16243
16247
|
updated_at?: string | undefined;
|
|
16244
|
-
target_type?: "file" | "
|
|
16248
|
+
target_type?: "file" | "directory" | "stream" | null | undefined;
|
|
16245
16249
|
target_path?: string | null | undefined;
|
|
16246
16250
|
accessible?: boolean | undefined;
|
|
16247
16251
|
content_type?: string | undefined;
|