@zapier/zapier-sdk 0.89.0 → 0.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/README.md +238 -33
- package/dist/{chunk-UBI5FOL5.cjs → chunk-RO34ZWKR.cjs} +2 -1
- package/dist/{chunk-NOPKQ333.mjs → chunk-SZBWDVX3.mjs} +2 -2
- package/dist/experimental.cjs +695 -449
- package/dist/experimental.d.mts +379 -1
- package/dist/experimental.d.ts +379 -1
- package/dist/experimental.mjs +346 -100
- package/dist/index.cjs +272 -272
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -3136,6 +3136,197 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
3136
3136
|
}> | null;
|
|
3137
3137
|
};
|
|
3138
3138
|
}>, readonly []> & LeafSummary<"", "getWorkflowDraft", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3139
|
+
} & {
|
|
3140
|
+
createWorkflowDraft: MethodPlugin<"createWorkflowDraft", {
|
|
3141
|
+
workflow: string;
|
|
3142
|
+
slug?: string | undefined;
|
|
3143
|
+
}, Promise<{
|
|
3144
|
+
data: {
|
|
3145
|
+
id: string;
|
|
3146
|
+
workflow_id: string;
|
|
3147
|
+
slug: string;
|
|
3148
|
+
base_version_id: string | null;
|
|
3149
|
+
source_files: Record<string, string>;
|
|
3150
|
+
zapier_durable_version: string;
|
|
3151
|
+
dependencies: Record<string, string> | null;
|
|
3152
|
+
draft_revision: number;
|
|
3153
|
+
status: "open" | "discarded";
|
|
3154
|
+
created_by_user_id: string;
|
|
3155
|
+
last_edited_by_user_id: string | null;
|
|
3156
|
+
last_edited_at: string | null;
|
|
3157
|
+
discarded_at: string | null;
|
|
3158
|
+
created_at: string;
|
|
3159
|
+
updated_at: string;
|
|
3160
|
+
trigger: {
|
|
3161
|
+
selected_api: string;
|
|
3162
|
+
action: string;
|
|
3163
|
+
authentication_id?: string | null | undefined;
|
|
3164
|
+
params?: Record<string, unknown> | undefined;
|
|
3165
|
+
} | null;
|
|
3166
|
+
connections: Record<string, {
|
|
3167
|
+
connection_id: string | number;
|
|
3168
|
+
}> | null;
|
|
3169
|
+
app_versions: Record<string, {
|
|
3170
|
+
implementation_name: string;
|
|
3171
|
+
version?: string | undefined;
|
|
3172
|
+
}> | null;
|
|
3173
|
+
};
|
|
3174
|
+
}>, readonly []> & LeafSummary<"", "createWorkflowDraft", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3175
|
+
} & {
|
|
3176
|
+
updateWorkflowDraft: MethodPlugin<"updateWorkflowDraft", {
|
|
3177
|
+
workflow: string;
|
|
3178
|
+
draft: string;
|
|
3179
|
+
sourceFiles: Record<string, string>;
|
|
3180
|
+
zapierDurableVersion?: string | undefined;
|
|
3181
|
+
dependencies?: Record<string, string> | undefined;
|
|
3182
|
+
draftRevision?: number | undefined;
|
|
3183
|
+
trigger?: {
|
|
3184
|
+
action: string;
|
|
3185
|
+
selectedApi?: string | undefined;
|
|
3186
|
+
selected_api?: string | undefined;
|
|
3187
|
+
authenticationId?: string | null | undefined;
|
|
3188
|
+
authentication_id?: string | null | undefined;
|
|
3189
|
+
params?: Record<string, unknown> | undefined;
|
|
3190
|
+
} | null | undefined;
|
|
3191
|
+
connections?: Record<string, {
|
|
3192
|
+
connectionId?: string | number | undefined;
|
|
3193
|
+
connection_id?: string | number | undefined;
|
|
3194
|
+
}> | null | undefined;
|
|
3195
|
+
appVersions?: Record<string, {
|
|
3196
|
+
implementationName?: string | undefined;
|
|
3197
|
+
implementation_name?: string | undefined;
|
|
3198
|
+
version?: string | undefined;
|
|
3199
|
+
}> | null | undefined;
|
|
3200
|
+
}, Promise<{
|
|
3201
|
+
data: {
|
|
3202
|
+
id: string;
|
|
3203
|
+
workflow_id: string;
|
|
3204
|
+
slug: string;
|
|
3205
|
+
base_version_id: string | null;
|
|
3206
|
+
source_files: Record<string, string>;
|
|
3207
|
+
zapier_durable_version: string;
|
|
3208
|
+
dependencies: Record<string, string> | null;
|
|
3209
|
+
draft_revision: number;
|
|
3210
|
+
status: "open" | "discarded";
|
|
3211
|
+
created_by_user_id: string;
|
|
3212
|
+
last_edited_by_user_id: string | null;
|
|
3213
|
+
last_edited_at: string | null;
|
|
3214
|
+
discarded_at: string | null;
|
|
3215
|
+
created_at: string;
|
|
3216
|
+
updated_at: string;
|
|
3217
|
+
trigger: {
|
|
3218
|
+
selected_api: string;
|
|
3219
|
+
action: string;
|
|
3220
|
+
authentication_id?: string | null | undefined;
|
|
3221
|
+
params?: Record<string, unknown> | undefined;
|
|
3222
|
+
} | null;
|
|
3223
|
+
connections: Record<string, {
|
|
3224
|
+
connection_id: string | number;
|
|
3225
|
+
}> | null;
|
|
3226
|
+
app_versions: Record<string, {
|
|
3227
|
+
implementation_name: string;
|
|
3228
|
+
version?: string | undefined;
|
|
3229
|
+
}> | null;
|
|
3230
|
+
};
|
|
3231
|
+
}>, readonly []> & LeafSummary<"", "updateWorkflowDraft", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3232
|
+
} & {
|
|
3233
|
+
discardWorkflowDraft: MethodPlugin<"discardWorkflowDraft", {
|
|
3234
|
+
workflow: string;
|
|
3235
|
+
draft: string;
|
|
3236
|
+
}, Promise<{
|
|
3237
|
+
data: {
|
|
3238
|
+
id: string;
|
|
3239
|
+
workflow_id: string;
|
|
3240
|
+
slug: string;
|
|
3241
|
+
base_version_id: string | null;
|
|
3242
|
+
source_files: Record<string, string>;
|
|
3243
|
+
zapier_durable_version: string;
|
|
3244
|
+
dependencies: Record<string, string> | null;
|
|
3245
|
+
draft_revision: number;
|
|
3246
|
+
status: "open" | "discarded";
|
|
3247
|
+
created_by_user_id: string;
|
|
3248
|
+
last_edited_by_user_id: string | null;
|
|
3249
|
+
last_edited_at: string | null;
|
|
3250
|
+
discarded_at: string | null;
|
|
3251
|
+
created_at: string;
|
|
3252
|
+
updated_at: string;
|
|
3253
|
+
trigger: {
|
|
3254
|
+
selected_api: string;
|
|
3255
|
+
action: string;
|
|
3256
|
+
authentication_id?: string | null | undefined;
|
|
3257
|
+
params?: Record<string, unknown> | undefined;
|
|
3258
|
+
} | null;
|
|
3259
|
+
connections: Record<string, {
|
|
3260
|
+
connection_id: string | number;
|
|
3261
|
+
}> | null;
|
|
3262
|
+
app_versions: Record<string, {
|
|
3263
|
+
implementation_name: string;
|
|
3264
|
+
version?: string | undefined;
|
|
3265
|
+
}> | null;
|
|
3266
|
+
};
|
|
3267
|
+
}>, readonly []> & LeafSummary<"", "discardWorkflowDraft", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3268
|
+
} & {
|
|
3269
|
+
publishWorkflowDraft: MethodPlugin<"publishWorkflowDraft", {
|
|
3270
|
+
workflow: string;
|
|
3271
|
+
draft: string;
|
|
3272
|
+
enabled?: boolean | undefined;
|
|
3273
|
+
draftRevision?: number | undefined;
|
|
3274
|
+
}, Promise<{
|
|
3275
|
+
data: {
|
|
3276
|
+
draft: {
|
|
3277
|
+
id: string;
|
|
3278
|
+
workflow_id: string;
|
|
3279
|
+
slug: string;
|
|
3280
|
+
base_version_id: string | null;
|
|
3281
|
+
source_files: Record<string, string>;
|
|
3282
|
+
zapier_durable_version: string;
|
|
3283
|
+
dependencies: Record<string, string> | null;
|
|
3284
|
+
draft_revision: number;
|
|
3285
|
+
status: "open" | "discarded";
|
|
3286
|
+
created_by_user_id: string;
|
|
3287
|
+
last_edited_by_user_id: string | null;
|
|
3288
|
+
last_edited_at: string | null;
|
|
3289
|
+
discarded_at: string | null;
|
|
3290
|
+
created_at: string;
|
|
3291
|
+
updated_at: string;
|
|
3292
|
+
trigger: {
|
|
3293
|
+
selected_api: string;
|
|
3294
|
+
action: string;
|
|
3295
|
+
authentication_id?: string | null | undefined;
|
|
3296
|
+
params?: Record<string, unknown> | undefined;
|
|
3297
|
+
} | null;
|
|
3298
|
+
connections: Record<string, {
|
|
3299
|
+
connection_id: string | number;
|
|
3300
|
+
}> | null;
|
|
3301
|
+
app_versions: Record<string, {
|
|
3302
|
+
implementation_name: string;
|
|
3303
|
+
version?: string | undefined;
|
|
3304
|
+
}> | null;
|
|
3305
|
+
};
|
|
3306
|
+
version: {
|
|
3307
|
+
id: string;
|
|
3308
|
+
workflow_id: string;
|
|
3309
|
+
source_files: Record<string, string>;
|
|
3310
|
+
zapier_durable_version: string;
|
|
3311
|
+
dependencies: Record<string, string> | null;
|
|
3312
|
+
created_by_user_id: string;
|
|
3313
|
+
created_at: string;
|
|
3314
|
+
trigger: {
|
|
3315
|
+
selected_api: string;
|
|
3316
|
+
action: string;
|
|
3317
|
+
authentication_id?: string | null | undefined;
|
|
3318
|
+
params?: Record<string, unknown> | undefined;
|
|
3319
|
+
} | null;
|
|
3320
|
+
connections: Record<string, {
|
|
3321
|
+
connection_id: string | number;
|
|
3322
|
+
}> | null;
|
|
3323
|
+
app_versions: Record<string, {
|
|
3324
|
+
implementation_name: string;
|
|
3325
|
+
version?: string | undefined;
|
|
3326
|
+
}> | null;
|
|
3327
|
+
};
|
|
3328
|
+
};
|
|
3329
|
+
}>, readonly []> & LeafSummary<"", "publishWorkflowDraft", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3139
3330
|
} & {
|
|
3140
3331
|
listWorkflowRuns: MethodPlugin<"listWorkflowRuns", {
|
|
3141
3332
|
workflow: string;
|
|
@@ -3358,7 +3549,7 @@ declare const zapierExperimentalSdkPlugin: AggregatePlugin<"experimental-sdk", {
|
|
|
3358
3549
|
updated_at: string;
|
|
3359
3550
|
};
|
|
3360
3551
|
}>, readonly []> & LeafSummary<"", "getTriggerRun", readonly [PropertyPlugin<"api", ApiClient> & PluginSummary<"zapier/api", never>]>;
|
|
3361
|
-
}> & PluginSummary<never, "fetch" | "zapier/api" | "zapier/manifest" | "zapier/eventEmission" | "zapier/resolveCredentials" | "zapier/connections" | "zapier/capabilities" | "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" | "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" | "kitcore/getRegistry" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
3552
|
+
}> & PluginSummary<never, "fetch" | "zapier/api" | "zapier/manifest" | "zapier/eventEmission" | "zapier/resolveCredentials" | "zapier/connections" | "zapier/capabilities" | "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" | "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" | "kitcore/getRegistry" | "listWorkflows" | "getWorkflow" | "createWorkflow" | "updateWorkflow" | "enableWorkflow" | "disableWorkflow" | "deleteWorkflow" | "listWorkflowVersions" | "getWorkflowVersion" | "publishWorkflowVersion" | "listWorkflowDrafts" | "getWorkflowDraft" | "createWorkflowDraft" | "updateWorkflowDraft" | "discardWorkflowDraft" | "publishWorkflowDraft" | "listWorkflowRuns" | "getWorkflowRun" | "listDurableRuns" | "getDurableRun" | "runDurable" | "cancelDurableRun" | "triggerWorkflow" | "getTriggerRun" | "zapier/sdk" | "zapier/experimental-sdk">;
|
|
3362
3553
|
declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
3363
3554
|
getRegistry: (input?: {
|
|
3364
3555
|
package?: string | undefined;
|
|
@@ -5136,6 +5327,193 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
5136
5327
|
}> | null;
|
|
5137
5328
|
};
|
|
5138
5329
|
}>;
|
|
5330
|
+
createWorkflowDraft: (input: {
|
|
5331
|
+
workflow: string;
|
|
5332
|
+
slug?: string | undefined;
|
|
5333
|
+
}) => Promise<{
|
|
5334
|
+
data: {
|
|
5335
|
+
id: string;
|
|
5336
|
+
workflow_id: string;
|
|
5337
|
+
slug: string;
|
|
5338
|
+
base_version_id: string | null;
|
|
5339
|
+
source_files: Record<string, string>;
|
|
5340
|
+
zapier_durable_version: string;
|
|
5341
|
+
dependencies: Record<string, string> | null;
|
|
5342
|
+
draft_revision: number;
|
|
5343
|
+
status: "open" | "discarded";
|
|
5344
|
+
created_by_user_id: string;
|
|
5345
|
+
last_edited_by_user_id: string | null;
|
|
5346
|
+
last_edited_at: string | null;
|
|
5347
|
+
discarded_at: string | null;
|
|
5348
|
+
created_at: string;
|
|
5349
|
+
updated_at: string;
|
|
5350
|
+
trigger: {
|
|
5351
|
+
selected_api: string;
|
|
5352
|
+
action: string;
|
|
5353
|
+
authentication_id?: string | null | undefined;
|
|
5354
|
+
params?: Record<string, unknown> | undefined;
|
|
5355
|
+
} | null;
|
|
5356
|
+
connections: Record<string, {
|
|
5357
|
+
connection_id: string | number;
|
|
5358
|
+
}> | null;
|
|
5359
|
+
app_versions: Record<string, {
|
|
5360
|
+
implementation_name: string;
|
|
5361
|
+
version?: string | undefined;
|
|
5362
|
+
}> | null;
|
|
5363
|
+
};
|
|
5364
|
+
}>;
|
|
5365
|
+
updateWorkflowDraft: (input: {
|
|
5366
|
+
workflow: string;
|
|
5367
|
+
draft: string;
|
|
5368
|
+
sourceFiles: Record<string, string>;
|
|
5369
|
+
zapierDurableVersion?: string | undefined;
|
|
5370
|
+
dependencies?: Record<string, string> | undefined;
|
|
5371
|
+
draftRevision?: number | undefined;
|
|
5372
|
+
trigger?: {
|
|
5373
|
+
action: string;
|
|
5374
|
+
selectedApi?: string | undefined;
|
|
5375
|
+
selected_api?: string | undefined;
|
|
5376
|
+
authenticationId?: string | null | undefined;
|
|
5377
|
+
authentication_id?: string | null | undefined;
|
|
5378
|
+
params?: Record<string, unknown> | undefined;
|
|
5379
|
+
} | null | undefined;
|
|
5380
|
+
connections?: Record<string, {
|
|
5381
|
+
connectionId?: string | number | undefined;
|
|
5382
|
+
connection_id?: string | number | undefined;
|
|
5383
|
+
}> | null | undefined;
|
|
5384
|
+
appVersions?: Record<string, {
|
|
5385
|
+
implementationName?: string | undefined;
|
|
5386
|
+
implementation_name?: string | undefined;
|
|
5387
|
+
version?: string | undefined;
|
|
5388
|
+
}> | null | undefined;
|
|
5389
|
+
}) => Promise<{
|
|
5390
|
+
data: {
|
|
5391
|
+
id: string;
|
|
5392
|
+
workflow_id: string;
|
|
5393
|
+
slug: string;
|
|
5394
|
+
base_version_id: string | null;
|
|
5395
|
+
source_files: Record<string, string>;
|
|
5396
|
+
zapier_durable_version: string;
|
|
5397
|
+
dependencies: Record<string, string> | null;
|
|
5398
|
+
draft_revision: number;
|
|
5399
|
+
status: "open" | "discarded";
|
|
5400
|
+
created_by_user_id: string;
|
|
5401
|
+
last_edited_by_user_id: string | null;
|
|
5402
|
+
last_edited_at: string | null;
|
|
5403
|
+
discarded_at: string | null;
|
|
5404
|
+
created_at: string;
|
|
5405
|
+
updated_at: string;
|
|
5406
|
+
trigger: {
|
|
5407
|
+
selected_api: string;
|
|
5408
|
+
action: string;
|
|
5409
|
+
authentication_id?: string | null | undefined;
|
|
5410
|
+
params?: Record<string, unknown> | undefined;
|
|
5411
|
+
} | null;
|
|
5412
|
+
connections: Record<string, {
|
|
5413
|
+
connection_id: string | number;
|
|
5414
|
+
}> | null;
|
|
5415
|
+
app_versions: Record<string, {
|
|
5416
|
+
implementation_name: string;
|
|
5417
|
+
version?: string | undefined;
|
|
5418
|
+
}> | null;
|
|
5419
|
+
};
|
|
5420
|
+
}>;
|
|
5421
|
+
discardWorkflowDraft: (input: {
|
|
5422
|
+
workflow: string;
|
|
5423
|
+
draft: string;
|
|
5424
|
+
}) => Promise<{
|
|
5425
|
+
data: {
|
|
5426
|
+
id: string;
|
|
5427
|
+
workflow_id: string;
|
|
5428
|
+
slug: string;
|
|
5429
|
+
base_version_id: string | null;
|
|
5430
|
+
source_files: Record<string, string>;
|
|
5431
|
+
zapier_durable_version: string;
|
|
5432
|
+
dependencies: Record<string, string> | null;
|
|
5433
|
+
draft_revision: number;
|
|
5434
|
+
status: "open" | "discarded";
|
|
5435
|
+
created_by_user_id: string;
|
|
5436
|
+
last_edited_by_user_id: string | null;
|
|
5437
|
+
last_edited_at: string | null;
|
|
5438
|
+
discarded_at: string | null;
|
|
5439
|
+
created_at: string;
|
|
5440
|
+
updated_at: string;
|
|
5441
|
+
trigger: {
|
|
5442
|
+
selected_api: string;
|
|
5443
|
+
action: string;
|
|
5444
|
+
authentication_id?: string | null | undefined;
|
|
5445
|
+
params?: Record<string, unknown> | undefined;
|
|
5446
|
+
} | null;
|
|
5447
|
+
connections: Record<string, {
|
|
5448
|
+
connection_id: string | number;
|
|
5449
|
+
}> | null;
|
|
5450
|
+
app_versions: Record<string, {
|
|
5451
|
+
implementation_name: string;
|
|
5452
|
+
version?: string | undefined;
|
|
5453
|
+
}> | null;
|
|
5454
|
+
};
|
|
5455
|
+
}>;
|
|
5456
|
+
publishWorkflowDraft: (input: {
|
|
5457
|
+
workflow: string;
|
|
5458
|
+
draft: string;
|
|
5459
|
+
enabled?: boolean | undefined;
|
|
5460
|
+
draftRevision?: number | undefined;
|
|
5461
|
+
}) => Promise<{
|
|
5462
|
+
data: {
|
|
5463
|
+
draft: {
|
|
5464
|
+
id: string;
|
|
5465
|
+
workflow_id: string;
|
|
5466
|
+
slug: string;
|
|
5467
|
+
base_version_id: string | null;
|
|
5468
|
+
source_files: Record<string, string>;
|
|
5469
|
+
zapier_durable_version: string;
|
|
5470
|
+
dependencies: Record<string, string> | null;
|
|
5471
|
+
draft_revision: number;
|
|
5472
|
+
status: "open" | "discarded";
|
|
5473
|
+
created_by_user_id: string;
|
|
5474
|
+
last_edited_by_user_id: string | null;
|
|
5475
|
+
last_edited_at: string | null;
|
|
5476
|
+
discarded_at: string | null;
|
|
5477
|
+
created_at: string;
|
|
5478
|
+
updated_at: string;
|
|
5479
|
+
trigger: {
|
|
5480
|
+
selected_api: string;
|
|
5481
|
+
action: string;
|
|
5482
|
+
authentication_id?: string | null | undefined;
|
|
5483
|
+
params?: Record<string, unknown> | undefined;
|
|
5484
|
+
} | null;
|
|
5485
|
+
connections: Record<string, {
|
|
5486
|
+
connection_id: string | number;
|
|
5487
|
+
}> | null;
|
|
5488
|
+
app_versions: Record<string, {
|
|
5489
|
+
implementation_name: string;
|
|
5490
|
+
version?: string | undefined;
|
|
5491
|
+
}> | null;
|
|
5492
|
+
};
|
|
5493
|
+
version: {
|
|
5494
|
+
id: string;
|
|
5495
|
+
workflow_id: string;
|
|
5496
|
+
source_files: Record<string, string>;
|
|
5497
|
+
zapier_durable_version: string;
|
|
5498
|
+
dependencies: Record<string, string> | null;
|
|
5499
|
+
created_by_user_id: string;
|
|
5500
|
+
created_at: string;
|
|
5501
|
+
trigger: {
|
|
5502
|
+
selected_api: string;
|
|
5503
|
+
action: string;
|
|
5504
|
+
authentication_id?: string | null | undefined;
|
|
5505
|
+
params?: Record<string, unknown> | undefined;
|
|
5506
|
+
} | null;
|
|
5507
|
+
connections: Record<string, {
|
|
5508
|
+
connection_id: string | number;
|
|
5509
|
+
}> | null;
|
|
5510
|
+
app_versions: Record<string, {
|
|
5511
|
+
implementation_name: string;
|
|
5512
|
+
version?: string | undefined;
|
|
5513
|
+
}> | null;
|
|
5514
|
+
};
|
|
5515
|
+
};
|
|
5516
|
+
}>;
|
|
5139
5517
|
listWorkflowRuns: (input: {
|
|
5140
5518
|
workflow: string;
|
|
5141
5519
|
pageSize?: number | undefined;
|