@zapier/zapier-sdk 0.70.3 → 0.70.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 +20 -0
- package/README.md +115 -80
- package/dist/experimental.cjs +110 -35
- package/dist/experimental.d.mts +158 -2
- package/dist/experimental.d.ts +156 -0
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.mjs +110 -35
- package/dist/{index-rIzBEINC.d.mts → index-BNaiNmM-.d.mts} +71 -2
- package/dist/{index-rIzBEINC.d.ts → index-BNaiNmM-.d.ts} +71 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts +9 -0
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts +9 -0
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts +9 -0
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getDurableRun/schemas.d.ts +1 -1
- package/dist/plugins/codeSubstrate/getTriggerRun/schemas.d.ts +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts +31 -0
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts +42 -0
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.js +20 -0
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts +9 -0
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/schemas.d.ts +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts +35 -0
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/schemas.d.ts +13 -0
- package/dist/plugins/codeSubstrate/getWorkflowVersion/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/schemas.js +10 -0
- package/dist/plugins/codeSubstrate/listDurableRuns/schemas.d.ts +3 -3
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts +9 -0
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/schemas.d.ts +3 -3
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts +22 -0
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/schemas.d.ts +26 -0
- package/dist/plugins/codeSubstrate/listWorkflowVersions/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/schemas.js +10 -0
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts +9 -0
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts +32 -0
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.js +11 -0
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts +22 -0
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/schemas.d.ts +14 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/schemas.js +11 -44
- package/dist/plugins/codeSubstrate/runDurable/index.d.ts +6 -0
- package/dist/plugins/codeSubstrate/runDurable/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/runDurable/index.js +3 -0
- package/dist/plugins/codeSubstrate/runDurable/schemas.d.ts +12 -0
- package/dist/plugins/codeSubstrate/runDurable/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/runDurable/schemas.js +33 -0
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts +37 -0
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts.map +1 -0
- package/dist/plugins/codeSubstrate/shared-schemas.js +69 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts +9 -0
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts +11 -0
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/schemas.d.ts +2 -0
- package/dist/plugins/codeSubstrate/updateWorkflow/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/schemas.js +7 -0
- package/package.json +1 -1
package/dist/experimental.mjs
CHANGED
|
@@ -3186,7 +3186,7 @@ function createSseParserStream() {
|
|
|
3186
3186
|
}
|
|
3187
3187
|
|
|
3188
3188
|
// src/sdk-version.ts
|
|
3189
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.
|
|
3189
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.4" : void 0) || "unknown";
|
|
3190
3190
|
|
|
3191
3191
|
// src/utils/open-url.ts
|
|
3192
3192
|
var nodePrefix = "node:";
|
|
@@ -11195,6 +11195,52 @@ var codeSubstrateDefaults = {
|
|
|
11195
11195
|
categories: ["code-workflow"],
|
|
11196
11196
|
experimental: true
|
|
11197
11197
|
};
|
|
11198
|
+
var ConnectionBindingSchema = z.object({
|
|
11199
|
+
connection_id: z.union([
|
|
11200
|
+
z.number().int().positive(),
|
|
11201
|
+
z.string().regex(/^[1-9][0-9]*$/, "must be a positive integer string"),
|
|
11202
|
+
z.string().uuid("must be a UUID")
|
|
11203
|
+
]).describe(
|
|
11204
|
+
"Zapier connection ID. Positive integer (legacy) or UUID string (newer)."
|
|
11205
|
+
)
|
|
11206
|
+
}).describe(
|
|
11207
|
+
"Connection binding: maps a single alias to a concrete connection."
|
|
11208
|
+
);
|
|
11209
|
+
var AppVersionBindingSchema = z.object({
|
|
11210
|
+
implementation_name: z.string().describe("App implementation identifier (e.g. 'SlackCLIAPI')"),
|
|
11211
|
+
version: z.string().optional().describe("App implementation version (e.g. '1.27.1')")
|
|
11212
|
+
}).describe("App-version binding: maps a single alias to an app version.");
|
|
11213
|
+
var WorkflowVersionTriggerConfigSchema = z.object({
|
|
11214
|
+
selected_api: z.string().describe("Zapier app/API identifier (e.g. 'GoogleSheetsAPI')"),
|
|
11215
|
+
action: z.string().describe("Trigger action key (e.g. 'new_row')"),
|
|
11216
|
+
authentication_id: z.string().nullish().describe(
|
|
11217
|
+
"Connection ID for the trigger source. Omit or pass null for no-auth triggers (e.g. Schedule by Zapier)."
|
|
11218
|
+
),
|
|
11219
|
+
params: z.record(z.string(), z.unknown()).optional().describe("Trigger parameters as a JSON object")
|
|
11220
|
+
}).describe("Trigger configuration persisted on a workflow version.");
|
|
11221
|
+
var WorkflowTriggerStatusSchema = z.enum([
|
|
11222
|
+
"unclaimed",
|
|
11223
|
+
"pending",
|
|
11224
|
+
"active",
|
|
11225
|
+
"releasing",
|
|
11226
|
+
"released",
|
|
11227
|
+
"failed"
|
|
11228
|
+
]);
|
|
11229
|
+
var WorkflowTriggerSchema = z.object({
|
|
11230
|
+
selected_api: z.string().describe("Zapier app/API identifier (e.g. 'GoogleSheetsAPI')"),
|
|
11231
|
+
action: z.string().describe("Trigger action key (e.g. 'new_row')"),
|
|
11232
|
+
authentication_id: z.string().nullish().describe(
|
|
11233
|
+
"Connection ID for the trigger source. Null for no-auth triggers."
|
|
11234
|
+
),
|
|
11235
|
+
params: z.record(z.string(), z.unknown()).optional().describe("Trigger parameters as a JSON object"),
|
|
11236
|
+
status: WorkflowTriggerStatusSchema.describe(
|
|
11237
|
+
"Live trigger claim status \u2014 whether the trigger is currently subscribed to its source."
|
|
11238
|
+
)
|
|
11239
|
+
}).describe(
|
|
11240
|
+
"Trigger from a workflow's current version, combined with the live claim status."
|
|
11241
|
+
);
|
|
11242
|
+
|
|
11243
|
+
// src/plugins/codeSubstrate/listWorkflows/schemas.ts
|
|
11198
11244
|
var WorkflowItemSchema = z.object({
|
|
11199
11245
|
id: z.string().describe("Workflow ID (UUID)"),
|
|
11200
11246
|
name: z.string().describe("Workflow name"),
|
|
@@ -11203,9 +11249,16 @@ var WorkflowItemSchema = z.object({
|
|
|
11203
11249
|
"Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path \u2014 treat as sensitive."
|
|
11204
11250
|
),
|
|
11205
11251
|
enabled: z.boolean().describe("Whether the workflow currently accepts triggers"),
|
|
11252
|
+
is_private: z.boolean().describe(
|
|
11253
|
+
"Whether the workflow is private to the creating user. False means account-visible."
|
|
11254
|
+
),
|
|
11255
|
+
created_by_user_id: z.string().nullable().describe("User ID of the workflow creator (null in legacy data)"),
|
|
11206
11256
|
current_version_id: z.string().nullable().describe(
|
|
11207
11257
|
"ID of the workflow version that runs handle. Null until a version is published."
|
|
11208
11258
|
),
|
|
11259
|
+
triggers: z.array(WorkflowTriggerSchema).describe(
|
|
11260
|
+
"Trigger configurations from the current version, with live claim status. Empty array when the workflow has no triggers."
|
|
11261
|
+
),
|
|
11209
11262
|
created_at: z.string().describe("When the workflow was created (ISO-8601)"),
|
|
11210
11263
|
updated_at: z.string().describe("When the workflow was last modified (ISO-8601)")
|
|
11211
11264
|
});
|
|
@@ -11264,7 +11317,12 @@ var WorkflowVersionSchema = z.object({
|
|
|
11264
11317
|
// Backend column is NOT NULL (see durableworkflowzaps prisma schema:
|
|
11265
11318
|
// workflow_versions.created_by_user_id), so this is always emitted.
|
|
11266
11319
|
created_by_user_id: z.string().describe("ID of the user who published this version"),
|
|
11267
|
-
created_at: z.string().describe("When the version was published (ISO-8601)")
|
|
11320
|
+
created_at: z.string().describe("When the version was published (ISO-8601)"),
|
|
11321
|
+
trigger: WorkflowVersionTriggerConfigSchema.nullable().describe(
|
|
11322
|
+
"Trigger configuration persisted on this version, or null for webhook-only workflows."
|
|
11323
|
+
),
|
|
11324
|
+
connections: z.record(z.string(), ConnectionBindingSchema).nullable().describe("Connection aliases bound on this version (or null)."),
|
|
11325
|
+
app_versions: z.record(z.string(), AppVersionBindingSchema).nullable().describe("App-version pins bound on this version (or null).")
|
|
11268
11326
|
});
|
|
11269
11327
|
var GetWorkflowOptionsSchema = z.object({
|
|
11270
11328
|
workflow: z.string().uuid().describe("Durable workflow ID")
|
|
@@ -11279,9 +11337,16 @@ var GetWorkflowResponseSchema = z.object({
|
|
|
11279
11337
|
"Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path \u2014 treat as sensitive."
|
|
11280
11338
|
),
|
|
11281
11339
|
enabled: z.boolean().describe("Whether the workflow currently accepts triggers"),
|
|
11340
|
+
is_private: z.boolean().describe(
|
|
11341
|
+
"Whether the workflow is private to the creating user. False means account-visible."
|
|
11342
|
+
),
|
|
11343
|
+
created_by_user_id: z.string().nullable().describe("User ID of the workflow creator (null in legacy data)"),
|
|
11282
11344
|
current_version: WorkflowVersionSchema.optional().describe(
|
|
11283
11345
|
"The currently published version, if any. Absent for workflows with no version published yet."
|
|
11284
11346
|
),
|
|
11347
|
+
triggers: z.array(WorkflowTriggerSchema).describe(
|
|
11348
|
+
"Trigger configurations from the current version, with live claim status. Empty array when the workflow has no triggers."
|
|
11349
|
+
),
|
|
11285
11350
|
created_at: z.string().describe("When the workflow was created (ISO-8601)"),
|
|
11286
11351
|
updated_at: z.string().describe("When the workflow was last modified (ISO-8601)")
|
|
11287
11352
|
});
|
|
@@ -11377,6 +11442,10 @@ var UpdateWorkflowResponseSchema = z.object({
|
|
|
11377
11442
|
"Public webhook URL that fires this workflow when POSTed to. Embeds a secret trigger token in the path \u2014 treat as sensitive."
|
|
11378
11443
|
),
|
|
11379
11444
|
enabled: z.boolean().describe("Whether the workflow currently accepts triggers"),
|
|
11445
|
+
is_private: z.boolean().describe(
|
|
11446
|
+
"Whether the workflow is private to the creating user. False means account-visible."
|
|
11447
|
+
),
|
|
11448
|
+
created_by_user_id: z.string().nullable().describe("User ID of the workflow creator (null in legacy data)"),
|
|
11380
11449
|
created_at: z.string().describe("When the workflow was created (ISO-8601)"),
|
|
11381
11450
|
updated_at: z.string().describe("When this update was applied (ISO-8601)")
|
|
11382
11451
|
});
|
|
@@ -11712,6 +11781,19 @@ var AppVersionMapEntrySchema = z.object({
|
|
|
11712
11781
|
implementation_name: z.string().min(1).describe("Zapier app implementation name (e.g. `SlackCLIAPI`)"),
|
|
11713
11782
|
version: z.string().optional().describe("Pinned app version (e.g. `1.27.1`). Latest if omitted.")
|
|
11714
11783
|
});
|
|
11784
|
+
var RunNotificationEventSchema = z.enum(["started", "progress", "completed", "error", "cancelled"]).describe("Run lifecycle event this notification subscribes to");
|
|
11785
|
+
var RunNotificationSchema = z.object({
|
|
11786
|
+
type: z.literal("webhook").optional().describe("Notification transport. Webhook is the only supported type."),
|
|
11787
|
+
url: z.string().url().describe(
|
|
11788
|
+
"URL to POST event notifications to. Payload is `{run_id, event}`."
|
|
11789
|
+
),
|
|
11790
|
+
max_retries: z.number().int().min(0).max(10).optional().describe(
|
|
11791
|
+
"Max delivery attempts with exponential backoff. Defaults to 3 server-side."
|
|
11792
|
+
),
|
|
11793
|
+
events: z.array(RunNotificationEventSchema).min(1).describe("One or more lifecycle events to subscribe this URL to.")
|
|
11794
|
+
}).describe(
|
|
11795
|
+
"Webhook subscriber for run lifecycle events. Server POSTs `{run_id, event}` on each subscribed transition."
|
|
11796
|
+
);
|
|
11715
11797
|
var RunDurableOptionsSchema = z.object({
|
|
11716
11798
|
source_files: z.record(z.string(), z.string()).refine((files) => Object.keys(files).length > 0, {
|
|
11717
11799
|
message: "source_files must contain at least one file"
|
|
@@ -11727,7 +11809,10 @@ var RunDurableOptionsSchema = z.object({
|
|
|
11727
11809
|
app_versions: z.record(z.string(), AppVersionMapEntrySchema).optional().describe(
|
|
11728
11810
|
"Pinned app versions. Maps app keys (slugs) to implementation names and versions."
|
|
11729
11811
|
),
|
|
11730
|
-
private: z.boolean().optional().describe("Only the creating user can see the run (default false)")
|
|
11812
|
+
private: z.boolean().optional().describe("Only the creating user can see the run (default false)"),
|
|
11813
|
+
notifications: z.array(RunNotificationSchema).optional().describe(
|
|
11814
|
+
"Webhook subscribers for run lifecycle events. Each entry specifies a URL and the events it subscribes to."
|
|
11815
|
+
)
|
|
11731
11816
|
}).describe(
|
|
11732
11817
|
"Run a workflow source file as a run-once durable run on sdkdurableapi (no deployed workflow required). Returns the run ID immediately; poll via getDurableRun for terminal status."
|
|
11733
11818
|
);
|
|
@@ -11773,6 +11858,9 @@ var runDurablePlugin = definePlugin(
|
|
|
11773
11858
|
if (options.private !== void 0) {
|
|
11774
11859
|
body.is_private = options.private;
|
|
11775
11860
|
}
|
|
11861
|
+
if (options.notifications !== void 0) {
|
|
11862
|
+
body.notifications = options.notifications;
|
|
11863
|
+
}
|
|
11776
11864
|
const raw = await sdk2.context.api.post(
|
|
11777
11865
|
"/sdkdurableapi/api/v0/runs",
|
|
11778
11866
|
body,
|
|
@@ -11820,34 +11908,6 @@ var cancelDurableRunPlugin = definePlugin(
|
|
|
11820
11908
|
}
|
|
11821
11909
|
})
|
|
11822
11910
|
);
|
|
11823
|
-
var CONNECTION_ID_PATTERN = /^([1-9][0-9]*|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/;
|
|
11824
|
-
var ConnectionBindingSchema = z.object({
|
|
11825
|
-
connection_id: z.union([
|
|
11826
|
-
z.number().int().positive(),
|
|
11827
|
-
z.string().regex(
|
|
11828
|
-
CONNECTION_ID_PATTERN,
|
|
11829
|
-
"connection_id must be a positive integer string or UUID"
|
|
11830
|
-
)
|
|
11831
|
-
]).describe(
|
|
11832
|
-
"Zapier connection ID. Positive integer (legacy) or UUID string (newer)."
|
|
11833
|
-
)
|
|
11834
|
-
}).describe(
|
|
11835
|
-
"Connection binding: maps a single alias to a concrete connection."
|
|
11836
|
-
);
|
|
11837
|
-
var AppVersionBindingSchema = z.object({
|
|
11838
|
-
implementation_name: z.string().describe("App implementation identifier (e.g. 'SlackCLIAPI')"),
|
|
11839
|
-
version: z.string().optional().describe("App implementation version (e.g. '1.27.1')")
|
|
11840
|
-
}).describe("App-version binding: maps a single alias to an app version.");
|
|
11841
|
-
var TriggerConfigSchema = z.object({
|
|
11842
|
-
selected_api: z.string().describe("Zapier app/API identifier (e.g. 'GoogleSheetsAPI')"),
|
|
11843
|
-
action: z.string().describe("Trigger action key (e.g. 'new_row')"),
|
|
11844
|
-
authentication_id: z.string().nullish().describe(
|
|
11845
|
-
"Connection ID for the trigger source. Omit or pass null for no-auth triggers (e.g. Schedule by Zapier)."
|
|
11846
|
-
),
|
|
11847
|
-
params: z.record(z.string(), z.unknown()).optional().describe("Trigger parameters as a JSON object")
|
|
11848
|
-
}).describe(
|
|
11849
|
-
"Zapier trigger configuration. When set, the workflow subscribes to trigger events."
|
|
11850
|
-
);
|
|
11851
11911
|
var PublishWorkflowVersionOptionsSchema = z.object({
|
|
11852
11912
|
workflow: z.string().uuid().describe("Durable workflow ID"),
|
|
11853
11913
|
source_files: z.record(z.string(), z.string()).refine((files) => Object.keys(files).length > 0, {
|
|
@@ -11866,7 +11926,7 @@ var PublishWorkflowVersionOptionsSchema = z.object({
|
|
|
11866
11926
|
app_versions: z.record(z.string(), AppVersionBindingSchema).nullish().describe(
|
|
11867
11927
|
"Map of app keys to pinned app implementation/version used by the workflow. Pass `null` to clear an existing binding."
|
|
11868
11928
|
),
|
|
11869
|
-
trigger:
|
|
11929
|
+
trigger: WorkflowVersionTriggerConfigSchema.optional().describe(
|
|
11870
11930
|
"Trigger configuration. When provided, the workflow subscribes to a Zapier trigger; omit for webhook-only workflows."
|
|
11871
11931
|
)
|
|
11872
11932
|
}).describe(
|
|
@@ -11881,7 +11941,12 @@ var PublishWorkflowVersionResponseSchema = z.object({
|
|
|
11881
11941
|
),
|
|
11882
11942
|
dependencies: z.record(z.string(), z.string()).nullable().describe("Additional npm dependencies pinned for this version (or null)"),
|
|
11883
11943
|
created_by_user_id: z.string().describe("ID of the user who published this version"),
|
|
11884
|
-
created_at: z.string().describe("When the version was published (ISO-8601)")
|
|
11944
|
+
created_at: z.string().describe("When the version was published (ISO-8601)"),
|
|
11945
|
+
trigger: WorkflowVersionTriggerConfigSchema.nullable().describe(
|
|
11946
|
+
"Trigger configuration persisted on this version, or null for webhook-only workflows."
|
|
11947
|
+
),
|
|
11948
|
+
connections: z.record(z.string(), ConnectionBindingSchema).nullable().describe("Connection aliases bound on this version (or null)."),
|
|
11949
|
+
app_versions: z.record(z.string(), AppVersionBindingSchema).nullable().describe("App-version pins bound on this version (or null).")
|
|
11885
11950
|
});
|
|
11886
11951
|
|
|
11887
11952
|
// src/plugins/codeSubstrate/publishWorkflowVersion/index.ts
|
|
@@ -11937,7 +12002,12 @@ var WorkflowVersionListItemSchema = z.object({
|
|
|
11937
12002
|
),
|
|
11938
12003
|
dependencies: z.record(z.string(), z.string()).nullable().describe("Additional npm dependencies pinned for this version (or null)"),
|
|
11939
12004
|
created_by_user_id: z.string().describe("ID of the user who published this version"),
|
|
11940
|
-
created_at: z.string().describe("When the version was published (ISO-8601)")
|
|
12005
|
+
created_at: z.string().describe("When the version was published (ISO-8601)"),
|
|
12006
|
+
trigger: WorkflowVersionTriggerConfigSchema.nullable().describe(
|
|
12007
|
+
"Trigger configuration persisted on this version, or null for webhook-only workflows."
|
|
12008
|
+
),
|
|
12009
|
+
connections: z.record(z.string(), ConnectionBindingSchema).nullable().describe("Connection aliases bound on this version (or null)."),
|
|
12010
|
+
app_versions: z.record(z.string(), AppVersionBindingSchema).nullable().describe("App-version pins bound on this version (or null).")
|
|
11941
12011
|
});
|
|
11942
12012
|
var ListWorkflowVersionsOptionsSchema = z.object({
|
|
11943
12013
|
workflow: z.string().uuid().describe("Durable workflow ID"),
|
|
@@ -12005,7 +12075,12 @@ var GetWorkflowVersionResponseSchema = z.object({
|
|
|
12005
12075
|
),
|
|
12006
12076
|
dependencies: z.record(z.string(), z.string()).nullable().describe("Additional npm dependencies pinned for this version (or null)"),
|
|
12007
12077
|
created_by_user_id: z.string().describe("ID of the user who published this version"),
|
|
12008
|
-
created_at: z.string().describe("When the version was published (ISO-8601)")
|
|
12078
|
+
created_at: z.string().describe("When the version was published (ISO-8601)"),
|
|
12079
|
+
trigger: WorkflowVersionTriggerConfigSchema.nullable().describe(
|
|
12080
|
+
"Trigger configuration persisted on this version, or null for webhook-only workflows."
|
|
12081
|
+
),
|
|
12082
|
+
connections: z.record(z.string(), ConnectionBindingSchema).nullable().describe("Connection aliases bound on this version (or null)."),
|
|
12083
|
+
app_versions: z.record(z.string(), AppVersionBindingSchema).nullable().describe("App-version pins bound on this version (or null).")
|
|
12009
12084
|
});
|
|
12010
12085
|
|
|
12011
12086
|
// src/plugins/codeSubstrate/getWorkflowVersion/index.ts
|
|
@@ -7530,7 +7530,16 @@ declare const listWorkflowsPlugin: (sdk: {
|
|
|
7530
7530
|
description: string | null;
|
|
7531
7531
|
trigger_url: string;
|
|
7532
7532
|
enabled: boolean;
|
|
7533
|
+
is_private: boolean;
|
|
7534
|
+
created_by_user_id: string | null;
|
|
7533
7535
|
current_version_id: string | null;
|
|
7536
|
+
triggers: {
|
|
7537
|
+
selected_api: string;
|
|
7538
|
+
action: string;
|
|
7539
|
+
status: "pending" | "active" | "unclaimed" | "releasing" | "released" | "failed";
|
|
7540
|
+
authentication_id?: string | null | undefined;
|
|
7541
|
+
params?: Record<string, unknown> | undefined;
|
|
7542
|
+
}[];
|
|
7534
7543
|
created_at: string;
|
|
7535
7544
|
updated_at: string;
|
|
7536
7545
|
}>;
|
|
@@ -7549,7 +7558,23 @@ declare const WorkflowItemSchema: z.ZodObject<{
|
|
|
7549
7558
|
description: z.ZodNullable<z.ZodString>;
|
|
7550
7559
|
trigger_url: z.ZodString;
|
|
7551
7560
|
enabled: z.ZodBoolean;
|
|
7561
|
+
is_private: z.ZodBoolean;
|
|
7562
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
7552
7563
|
current_version_id: z.ZodNullable<z.ZodString>;
|
|
7564
|
+
triggers: z.ZodArray<z.ZodObject<{
|
|
7565
|
+
selected_api: z.ZodString;
|
|
7566
|
+
action: z.ZodString;
|
|
7567
|
+
authentication_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7568
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7569
|
+
status: z.ZodEnum<{
|
|
7570
|
+
pending: "pending";
|
|
7571
|
+
active: "active";
|
|
7572
|
+
unclaimed: "unclaimed";
|
|
7573
|
+
releasing: "releasing";
|
|
7574
|
+
released: "released";
|
|
7575
|
+
failed: "failed";
|
|
7576
|
+
}>;
|
|
7577
|
+
}, z.core.$strip>>;
|
|
7553
7578
|
created_at: z.ZodString;
|
|
7554
7579
|
updated_at: z.ZodString;
|
|
7555
7580
|
}, z.core.$strip>;
|
|
@@ -7615,10 +7640,10 @@ type ListDurableRunsPluginProvides = ReturnType<typeof listDurableRunsPlugin>;
|
|
|
7615
7640
|
declare const RunItemSchema: z.ZodObject<{
|
|
7616
7641
|
id: z.ZodString;
|
|
7617
7642
|
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
7643
|
+
failed: "failed";
|
|
7618
7644
|
initialized: "initialized";
|
|
7619
7645
|
started: "started";
|
|
7620
7646
|
finished: "finished";
|
|
7621
|
-
failed: "failed";
|
|
7622
7647
|
cancelled: "cancelled";
|
|
7623
7648
|
}>, z.ZodString]>;
|
|
7624
7649
|
input: z.ZodUnknown;
|
|
@@ -7669,7 +7694,16 @@ declare const listWorkflowVersionsPlugin: (sdk: {
|
|
|
7669
7694
|
description: string | null;
|
|
7670
7695
|
trigger_url: string;
|
|
7671
7696
|
enabled: boolean;
|
|
7697
|
+
is_private: boolean;
|
|
7698
|
+
created_by_user_id: string | null;
|
|
7672
7699
|
current_version_id: string | null;
|
|
7700
|
+
triggers: {
|
|
7701
|
+
selected_api: string;
|
|
7702
|
+
action: string;
|
|
7703
|
+
status: "pending" | "active" | "unclaimed" | "releasing" | "released" | "failed";
|
|
7704
|
+
authentication_id?: string | null | undefined;
|
|
7705
|
+
params?: Record<string, unknown> | undefined;
|
|
7706
|
+
}[];
|
|
7673
7707
|
created_at: string;
|
|
7674
7708
|
updated_at: string;
|
|
7675
7709
|
}>;
|
|
@@ -7700,6 +7734,19 @@ declare const listWorkflowVersionsPlugin: (sdk: {
|
|
|
7700
7734
|
dependencies: Record<string, string> | null;
|
|
7701
7735
|
created_by_user_id: string;
|
|
7702
7736
|
created_at: string;
|
|
7737
|
+
trigger: {
|
|
7738
|
+
selected_api: string;
|
|
7739
|
+
action: string;
|
|
7740
|
+
authentication_id?: string | null | undefined;
|
|
7741
|
+
params?: Record<string, unknown> | undefined;
|
|
7742
|
+
} | null;
|
|
7743
|
+
connections: Record<string, {
|
|
7744
|
+
connection_id: string | number;
|
|
7745
|
+
}> | null;
|
|
7746
|
+
app_versions: Record<string, {
|
|
7747
|
+
implementation_name: string;
|
|
7748
|
+
version?: string | undefined;
|
|
7749
|
+
}> | null;
|
|
7703
7750
|
}>;
|
|
7704
7751
|
} & {
|
|
7705
7752
|
context: {
|
|
@@ -7717,6 +7764,19 @@ declare const WorkflowVersionListItemSchema: z.ZodObject<{
|
|
|
7717
7764
|
dependencies: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7718
7765
|
created_by_user_id: z.ZodString;
|
|
7719
7766
|
created_at: z.ZodString;
|
|
7767
|
+
trigger: z.ZodNullable<z.ZodObject<{
|
|
7768
|
+
selected_api: z.ZodString;
|
|
7769
|
+
action: z.ZodString;
|
|
7770
|
+
authentication_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7771
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7772
|
+
}, z.core.$strip>>;
|
|
7773
|
+
connections: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7774
|
+
connection_id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>;
|
|
7775
|
+
}, z.core.$strip>>>;
|
|
7776
|
+
app_versions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7777
|
+
implementation_name: z.ZodString;
|
|
7778
|
+
version: z.ZodOptional<z.ZodString>;
|
|
7779
|
+
}, z.core.$strip>>>;
|
|
7720
7780
|
}, z.core.$strip>;
|
|
7721
7781
|
type WorkflowVersionListItem = z.infer<typeof WorkflowVersionListItemSchema>;
|
|
7722
7782
|
|
|
@@ -7757,7 +7817,16 @@ declare const listWorkflowRunsPlugin: (sdk: {
|
|
|
7757
7817
|
description: string | null;
|
|
7758
7818
|
trigger_url: string;
|
|
7759
7819
|
enabled: boolean;
|
|
7820
|
+
is_private: boolean;
|
|
7821
|
+
created_by_user_id: string | null;
|
|
7760
7822
|
current_version_id: string | null;
|
|
7823
|
+
triggers: {
|
|
7824
|
+
selected_api: string;
|
|
7825
|
+
action: string;
|
|
7826
|
+
status: "pending" | "active" | "unclaimed" | "releasing" | "released" | "failed";
|
|
7827
|
+
authentication_id?: string | null | undefined;
|
|
7828
|
+
params?: Record<string, unknown> | undefined;
|
|
7829
|
+
}[];
|
|
7761
7830
|
created_at: string;
|
|
7762
7831
|
updated_at: string;
|
|
7763
7832
|
}>;
|
|
@@ -7808,10 +7877,10 @@ declare const WorkflowRunListItemSchema: z.ZodObject<{
|
|
|
7808
7877
|
durable_run_id: z.ZodNullable<z.ZodString>;
|
|
7809
7878
|
workflow_version_id: z.ZodNullable<z.ZodString>;
|
|
7810
7879
|
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
7880
|
+
failed: "failed";
|
|
7811
7881
|
initialized: "initialized";
|
|
7812
7882
|
started: "started";
|
|
7813
7883
|
finished: "finished";
|
|
7814
|
-
failed: "failed";
|
|
7815
7884
|
cancelled: "cancelled";
|
|
7816
7885
|
}>, z.ZodString]>;
|
|
7817
7886
|
input: z.ZodUnknown;
|
|
@@ -7530,7 +7530,16 @@ declare const listWorkflowsPlugin: (sdk: {
|
|
|
7530
7530
|
description: string | null;
|
|
7531
7531
|
trigger_url: string;
|
|
7532
7532
|
enabled: boolean;
|
|
7533
|
+
is_private: boolean;
|
|
7534
|
+
created_by_user_id: string | null;
|
|
7533
7535
|
current_version_id: string | null;
|
|
7536
|
+
triggers: {
|
|
7537
|
+
selected_api: string;
|
|
7538
|
+
action: string;
|
|
7539
|
+
status: "pending" | "active" | "unclaimed" | "releasing" | "released" | "failed";
|
|
7540
|
+
authentication_id?: string | null | undefined;
|
|
7541
|
+
params?: Record<string, unknown> | undefined;
|
|
7542
|
+
}[];
|
|
7534
7543
|
created_at: string;
|
|
7535
7544
|
updated_at: string;
|
|
7536
7545
|
}>;
|
|
@@ -7549,7 +7558,23 @@ declare const WorkflowItemSchema: z.ZodObject<{
|
|
|
7549
7558
|
description: z.ZodNullable<z.ZodString>;
|
|
7550
7559
|
trigger_url: z.ZodString;
|
|
7551
7560
|
enabled: z.ZodBoolean;
|
|
7561
|
+
is_private: z.ZodBoolean;
|
|
7562
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
7552
7563
|
current_version_id: z.ZodNullable<z.ZodString>;
|
|
7564
|
+
triggers: z.ZodArray<z.ZodObject<{
|
|
7565
|
+
selected_api: z.ZodString;
|
|
7566
|
+
action: z.ZodString;
|
|
7567
|
+
authentication_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7568
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7569
|
+
status: z.ZodEnum<{
|
|
7570
|
+
pending: "pending";
|
|
7571
|
+
active: "active";
|
|
7572
|
+
unclaimed: "unclaimed";
|
|
7573
|
+
releasing: "releasing";
|
|
7574
|
+
released: "released";
|
|
7575
|
+
failed: "failed";
|
|
7576
|
+
}>;
|
|
7577
|
+
}, z.core.$strip>>;
|
|
7553
7578
|
created_at: z.ZodString;
|
|
7554
7579
|
updated_at: z.ZodString;
|
|
7555
7580
|
}, z.core.$strip>;
|
|
@@ -7615,10 +7640,10 @@ type ListDurableRunsPluginProvides = ReturnType<typeof listDurableRunsPlugin>;
|
|
|
7615
7640
|
declare const RunItemSchema: z.ZodObject<{
|
|
7616
7641
|
id: z.ZodString;
|
|
7617
7642
|
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
7643
|
+
failed: "failed";
|
|
7618
7644
|
initialized: "initialized";
|
|
7619
7645
|
started: "started";
|
|
7620
7646
|
finished: "finished";
|
|
7621
|
-
failed: "failed";
|
|
7622
7647
|
cancelled: "cancelled";
|
|
7623
7648
|
}>, z.ZodString]>;
|
|
7624
7649
|
input: z.ZodUnknown;
|
|
@@ -7669,7 +7694,16 @@ declare const listWorkflowVersionsPlugin: (sdk: {
|
|
|
7669
7694
|
description: string | null;
|
|
7670
7695
|
trigger_url: string;
|
|
7671
7696
|
enabled: boolean;
|
|
7697
|
+
is_private: boolean;
|
|
7698
|
+
created_by_user_id: string | null;
|
|
7672
7699
|
current_version_id: string | null;
|
|
7700
|
+
triggers: {
|
|
7701
|
+
selected_api: string;
|
|
7702
|
+
action: string;
|
|
7703
|
+
status: "pending" | "active" | "unclaimed" | "releasing" | "released" | "failed";
|
|
7704
|
+
authentication_id?: string | null | undefined;
|
|
7705
|
+
params?: Record<string, unknown> | undefined;
|
|
7706
|
+
}[];
|
|
7673
7707
|
created_at: string;
|
|
7674
7708
|
updated_at: string;
|
|
7675
7709
|
}>;
|
|
@@ -7700,6 +7734,19 @@ declare const listWorkflowVersionsPlugin: (sdk: {
|
|
|
7700
7734
|
dependencies: Record<string, string> | null;
|
|
7701
7735
|
created_by_user_id: string;
|
|
7702
7736
|
created_at: string;
|
|
7737
|
+
trigger: {
|
|
7738
|
+
selected_api: string;
|
|
7739
|
+
action: string;
|
|
7740
|
+
authentication_id?: string | null | undefined;
|
|
7741
|
+
params?: Record<string, unknown> | undefined;
|
|
7742
|
+
} | null;
|
|
7743
|
+
connections: Record<string, {
|
|
7744
|
+
connection_id: string | number;
|
|
7745
|
+
}> | null;
|
|
7746
|
+
app_versions: Record<string, {
|
|
7747
|
+
implementation_name: string;
|
|
7748
|
+
version?: string | undefined;
|
|
7749
|
+
}> | null;
|
|
7703
7750
|
}>;
|
|
7704
7751
|
} & {
|
|
7705
7752
|
context: {
|
|
@@ -7717,6 +7764,19 @@ declare const WorkflowVersionListItemSchema: z.ZodObject<{
|
|
|
7717
7764
|
dependencies: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
7718
7765
|
created_by_user_id: z.ZodString;
|
|
7719
7766
|
created_at: z.ZodString;
|
|
7767
|
+
trigger: z.ZodNullable<z.ZodObject<{
|
|
7768
|
+
selected_api: z.ZodString;
|
|
7769
|
+
action: z.ZodString;
|
|
7770
|
+
authentication_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7771
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7772
|
+
}, z.core.$strip>>;
|
|
7773
|
+
connections: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7774
|
+
connection_id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodString]>;
|
|
7775
|
+
}, z.core.$strip>>>;
|
|
7776
|
+
app_versions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7777
|
+
implementation_name: z.ZodString;
|
|
7778
|
+
version: z.ZodOptional<z.ZodString>;
|
|
7779
|
+
}, z.core.$strip>>>;
|
|
7720
7780
|
}, z.core.$strip>;
|
|
7721
7781
|
type WorkflowVersionListItem = z.infer<typeof WorkflowVersionListItemSchema>;
|
|
7722
7782
|
|
|
@@ -7757,7 +7817,16 @@ declare const listWorkflowRunsPlugin: (sdk: {
|
|
|
7757
7817
|
description: string | null;
|
|
7758
7818
|
trigger_url: string;
|
|
7759
7819
|
enabled: boolean;
|
|
7820
|
+
is_private: boolean;
|
|
7821
|
+
created_by_user_id: string | null;
|
|
7760
7822
|
current_version_id: string | null;
|
|
7823
|
+
triggers: {
|
|
7824
|
+
selected_api: string;
|
|
7825
|
+
action: string;
|
|
7826
|
+
status: "pending" | "active" | "unclaimed" | "releasing" | "released" | "failed";
|
|
7827
|
+
authentication_id?: string | null | undefined;
|
|
7828
|
+
params?: Record<string, unknown> | undefined;
|
|
7829
|
+
}[];
|
|
7761
7830
|
created_at: string;
|
|
7762
7831
|
updated_at: string;
|
|
7763
7832
|
}>;
|
|
@@ -7808,10 +7877,10 @@ declare const WorkflowRunListItemSchema: z.ZodObject<{
|
|
|
7808
7877
|
durable_run_id: z.ZodNullable<z.ZodString>;
|
|
7809
7878
|
workflow_version_id: z.ZodNullable<z.ZodString>;
|
|
7810
7879
|
status: z.ZodUnion<readonly [z.ZodEnum<{
|
|
7880
|
+
failed: "failed";
|
|
7811
7881
|
initialized: "initialized";
|
|
7812
7882
|
started: "started";
|
|
7813
7883
|
finished: "finished";
|
|
7814
|
-
failed: "failed";
|
|
7815
7884
|
cancelled: "cancelled";
|
|
7816
7885
|
}>, z.ZodString]>;
|
|
7817
7886
|
input: z.ZodUnknown;
|
package/dist/index.cjs
CHANGED
|
@@ -6781,7 +6781,7 @@ function createSseParserStream() {
|
|
|
6781
6781
|
}
|
|
6782
6782
|
|
|
6783
6783
|
// src/sdk-version.ts
|
|
6784
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.
|
|
6784
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.4" : void 0) || "unknown";
|
|
6785
6785
|
|
|
6786
6786
|
// src/utils/open-url.ts
|
|
6787
6787
|
var nodePrefix = "node:";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { x as Action, f as ActionEntry, cc as ActionExecutionOptions, I as ActionExecutionResult, J as ActionField, K as ActionFieldChoice, aQ as ActionItem, bq as ActionKeyProperty, a_ as ActionKeyPropertySchema, br as ActionProperty, a$ as ActionPropertySchema, aE as ActionResolverItem, bC as ActionTimeoutMsProperty, ba as ActionTimeoutMsPropertySchema, aF as ActionTypeItem, bp as ActionTypeProperty, aZ as ActionTypePropertySchema, d as AddActionEntryOptions, e as AddActionEntryResult, A as ApiClient, c8 as ApiError, dC as ApiEvent, cW as ApiPluginOptions, cY as ApiPluginProvides, y as App, cd as AppFactoryInput, aO as AppItem, bn as AppKeyProperty, aX as AppKeyPropertySchema, bo as AppProperty, aY as AppPropertySchema, eL as ApplicationLifecycleEventData, c4 as ApprovalStatus, cb as AppsPluginProvides, bH as AppsProperty, bf as AppsPropertySchema, a5 as ArrayResolver, dB as AuthEvent, bv as AuthenticationIdProperty, b2 as AuthenticationIdPropertySchema, eT as BaseEvent, as as BaseSdkOptionsSchema, ag as BatchOptions, cJ as CONTEXT_CACHE_MAX_SIZE, cI as CONTEXT_CACHE_TTL_MS, aw as CORE_ERROR_SYMBOL, H as Choice, dI as ClientCredentialsObject, dT as ClientCredentialsObjectSchema, V as Connection, d$ as ConnectionEntry, d_ as ConnectionEntrySchema, bt as ConnectionIdProperty, b1 as ConnectionIdPropertySchema, aP as ConnectionItem, bu as ConnectionProperty, b3 as ConnectionPropertySchema, e1 as ConnectionsMap, e0 as ConnectionsMapSchema, e3 as ConnectionsPluginProvides, bJ as ConnectionsProperty, bh as ConnectionsPropertySchema, X as ConnectionsResponse, ax as CoreErrorCode, cv as CreateClientCredentialsPluginProvides, et as CreateTableFieldsPluginProvides, en as CreateTablePluginProvides, eB as CreateTableRecordsPluginProvides, dF as Credentials, dY as CredentialsFunction, dX as CredentialsFunctionSchema, dH as CredentialsObject, dV as CredentialsObjectSchema, dZ as CredentialsSchema, e8 as DEFAULT_ACTION_TIMEOUT_MS, eg as DEFAULT_APPROVAL_TIMEOUT_MS, cS as DEFAULT_CONFIG_PATH, eh as DEFAULT_MAX_APPROVAL_RETRIES, e7 as DEFAULT_PAGE_SIZE, bA as DebugProperty, b8 as DebugPropertySchema, cx as DeleteClientCredentialsPluginProvides, ev as DeleteTableFieldsPluginProvides, ep as DeleteTablePluginProvides, eD as DeleteTableRecordsPluginProvides, s as DrainTriggerInboxCallback, t as DrainTriggerInboxErrorObserver, D as DrainTriggerInboxOptions, a8 as DynamicListResolver, l as DynamicResolver, a9 as DynamicSearchResolver, eM as EnhancedErrorEventData, bP as ErrorOptions, dE as EventCallback, eK as EventContext, eH as EventEmissionConfig, E as EventEmissionContext, eJ as EventEmissionProvides, cf as FetchPluginProvides, z as Field, bG as FieldsProperty, be as FieldsPropertySchema, aa as FieldsResolver, F as FieldsetItem, v as FindFirstAuthenticationPluginProvides, cF as FindFirstConnectionPluginProvides, w as FindUniqueAuthenticationPluginProvides, cH as FindUniqueConnectionPluginProvides, a3 as FormattedItem, ar as FunctionDeprecation, aq as FunctionRegistryEntry, cp as GetActionInputFieldsSchemaPluginProvides, cB as GetActionPluginProvides, cz as GetAppPluginProvides, G as GetAuthenticationPluginProvides, cD as GetConnectionPluginProvides, cV as GetProfilePluginProvides, el as GetTablePluginProvides, ex as GetTableRecordPluginProvides, aS as InfoFieldItem, aR as InputFieldItem, bs as InputFieldProperty, b0 as InputFieldPropertySchema, bw as InputsProperty, b4 as InputsPropertySchema, aN as JsonSseMessage, bO as LeaseLimitProperty, bm as LeaseLimitPropertySchema, bM as LeaseProperty, bk as LeasePropertySchema, bN as LeaseSecondsProperty, bl as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bx as LimitProperty, b5 as LimitPropertySchema, cn as ListActionInputFieldChoicesPluginProvides, cl as ListActionInputFieldsPluginProvides, cj as ListActionsPluginProvides, ch as ListAppsPluginProvides, u as ListAuthenticationsPluginProvides, ct as ListClientCredentialsPluginProvides, cr as ListConnectionsPluginProvides, er as ListTableFieldsPluginProvides, ez as ListTableRecordsPluginProvides, ej as ListTablesPluginProvides, dD as LoadingEvent, eb as MAX_CONCURRENCY_LIMIT, e6 as MAX_PAGE_LIMIT, b as Manifest, cT as ManifestEntry, cO as ManifestPluginOptions, cR as ManifestPluginProvides, eU as MethodCalledEvent, eN as MethodCalledEventData, N as Need, Q as NeedsRequest, S as NeedsResponse, by as OffsetProperty, b6 as OffsetPropertySchema, O as OutputFormatter, bz as OutputProperty, b7 as OutputPropertySchema, aW as PaginatedSdkFunction, i as PaginatedSdkResult, bB as ParamsProperty, b9 as ParamsPropertySchema, dJ as PkceCredentialsObject, dU as PkceCredentialsObjectSchema, ay as Plugin, a as PluginMeta, az as PluginProvides, aI as PollOptions, j as PositionalMetadata, c2 as RateLimitInfo, bE as RecordProperty, bc as RecordPropertySchema, bF as RecordsProperty, bd as RecordsPropertySchema, al as RelayFetchSchema, ak as RelayRequestSchema, aH as RequestOptions, cN as RequestPluginProvides, dn as ResolveAuthTokenOptions, dO as ResolveCredentialsOptions, R as ResolvedAppLocator, dG as ResolvedCredentials, dW as ResolvedCredentialsSchema, a4 as Resolver, a6 as ResolverMetadata, aT as RootFieldItem, cL as RunActionPluginProvides, dA as SdkEvent, aV as SdkPage, aM as SseMessage, a7 as StaticResolver, bD as TableProperty, bb as TablePropertySchema, bI as TablesProperty, bg as TablesPropertySchema, bL as TriggerInboxNameProperty, bj as TriggerInboxNamePropertySchema, bK as TriggerInboxProperty, bi as TriggerInboxPropertySchema, T as TriggerMessageStatus, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, eF as UpdateTableRecordsPluginProvides, Y as UserProfile, aU as UserProfileItem, W as WatchTriggerInboxOptions, o as WithAddPlugin, e4 as ZAPIER_BASE_URL, ed as ZAPIER_MAX_CONCURRENT_REQUESTS, e9 as ZAPIER_MAX_NETWORK_RETRIES, ea as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, p as ZapierAbortDrainSignal, c0 as ZapierActionError, bV as ZapierApiError, bW as ZapierAppNotFoundError, c5 as ZapierApprovalError, bT as ZapierAuthenticationError, b_ as ZapierBundleError, dw as ZapierCache, dx as ZapierCacheEntry, dy as ZapierCacheSetOptions, bZ as ZapierConfigurationError, c1 as ZapierConflictError, bQ as ZapierError, k as ZapierFetchInitOptions, bX as ZapierNotFoundError, c3 as ZapierRateLimitError, c6 as ZapierRelayError, q as ZapierReleaseTriggerMessageSignal, bY as ZapierResourceNotFoundError, f6 as ZapierSdk, n as ZapierSdkApps, Z as ZapierSdkOptions, c9 as ZapierSignal, b$ as ZapierTimeoutError, bS as ZapierUnknownError, bR as ZapierValidationError, c$ as actionKeyResolver, c_ as actionTypeResolver, a2 as addPlugin, cX as apiPlugin, cZ as appKeyResolver, ca as appsPlugin, d1 as authenticationIdGenericResolver, d0 as authenticationIdResolver, af as batch, eO as buildApplicationLifecycleEvent, ah as buildCapabilityMessage, eQ as buildErrorEvent, eP as buildErrorEventWithContext, eS as buildMethodCalledEvent, eG as cleanupEventListeners, dp as clearTokenCache, d5 as clientCredentialsNameResolver, d6 as clientIdResolver, aD as composePlugins, d1 as connectionIdGenericResolver, d0 as connectionIdResolver, e2 as connectionsPlugin, eR as createBaseEvent, cu as createClientCredentialsPlugin, a1 as createCorePlugin, $ as createFunction, dz as createMemoryCache, ao as createOptionsPlugin, aC as createPaginatedPluginMethod, aB as createPluginMethod, a0 as createPluginStack, an as createSdk, es as createTableFieldsPlugin, em as createTablePlugin, eA as createTableRecordsPlugin, aJ as createZapierApi, ap as createZapierCoreStack, f4 as createZapierSdk, f5 as createZapierSdkStack, am as createZapierSdkWithoutRegistry, aA as definePlugin, cw as deleteClientCredentialsPlugin, eu as deleteTableFieldsPlugin, eo as deleteTablePlugin, eC as deleteTableRecordsPlugin, da as durableRunIdResolver, eI as eventEmissionPlugin, ce as fetchPlugin, cE as findFirstConnectionPlugin, g as findManifestEntry, cG as findUniqueConnectionPlugin, c7 as formatErrorMessage, eV as generateEventId, co as getActionInputFieldsSchemaPlugin, cA as getActionPlugin, f3 as getAgent, cy as getAppPlugin, dR as getBaseUrlFromCredentials, e$ as getCiPlatform, dS as getClientIdFromCredentials, cC as getConnectionPlugin, av as getCoreErrorCause, au as getCoreErrorCode, f1 as getCpuTime, eW as getCurrentTimestamp, f0 as getMemoryUsage, aK as getOrCreateApiClient, eY as getOsInfo, eZ as getPlatformVersions, cP as getPreferredManifestEntryKey, cU as getProfilePlugin, eX as getReleaseId, ek as getTablePlugin, ew as getTableRecordPlugin, dt as getTokenFromCliLogin, f2 as getTtyContext, ee as getZapierApprovalMode, ef as getZapierDefaultApprovalMode, e5 as getZapierSdkService, dr as injectCliLogin, d4 as inputFieldKeyResolver, d3 as inputsAllOptionalResolver, d2 as inputsResolver, dq as invalidateCachedToken, dv as invalidateCredentialsToken, e_ as isCi, ds as isCliLoginAvailable, dK as isClientCredentials, at as isCoreError, dN as isCredentialsFunction, dM as isCredentialsObject, aL as isPermanentHttpError, dL as isPkceCredentials, _ as isPositional, cm as listActionInputFieldChoicesPlugin, ck as listActionInputFieldsPlugin, ci as listActionsPlugin, cg as listAppsPlugin, cs as listClientCredentialsPlugin, cq as listConnectionsPlugin, eq as listTableFieldsPlugin, ey as listTableRecordsPlugin, ei as listTablesPlugin, ai as logDeprecation, cQ as manifestPlugin, ec as parseConcurrencyEnvVar, r as readManifestFromFile, aG as registryPlugin, cM as requestPlugin, aj as resetDeprecationWarnings, du as resolveAuthToken, dQ as resolveCredentials, dP as resolveCredentialsFromEnv, cK as runActionPlugin, ab as runInMethodScope, ac as runWithTelemetryContext, dg as tableFieldIdsResolver, di as tableFieldsResolver, dl as tableFiltersResolver, d7 as tableIdResolver, dh as tableNameResolver, de as tableRecordIdResolver, df as tableRecordIdsResolver, dj as tableRecordsResolver, dm as tableSortResolver, dk as tableUpdateRecordsResolver, ad as toSnakeCase, ae as toTitleCase, d8 as triggerInboxResolver, dd as triggerMessagesResolver, eE as updateTableRecordsPlugin, d9 as workflowIdResolver, dc as workflowRunIdResolver, db as workflowVersionIdResolver, bU as zapierAdaptError } from './index-rIzBEINC.mjs';
|
|
1
|
+
export { x as Action, f as ActionEntry, cc as ActionExecutionOptions, I as ActionExecutionResult, J as ActionField, K as ActionFieldChoice, aQ as ActionItem, bq as ActionKeyProperty, a_ as ActionKeyPropertySchema, br as ActionProperty, a$ as ActionPropertySchema, aE as ActionResolverItem, bC as ActionTimeoutMsProperty, ba as ActionTimeoutMsPropertySchema, aF as ActionTypeItem, bp as ActionTypeProperty, aZ as ActionTypePropertySchema, d as AddActionEntryOptions, e as AddActionEntryResult, A as ApiClient, c8 as ApiError, dC as ApiEvent, cW as ApiPluginOptions, cY as ApiPluginProvides, y as App, cd as AppFactoryInput, aO as AppItem, bn as AppKeyProperty, aX as AppKeyPropertySchema, bo as AppProperty, aY as AppPropertySchema, eL as ApplicationLifecycleEventData, c4 as ApprovalStatus, cb as AppsPluginProvides, bH as AppsProperty, bf as AppsPropertySchema, a5 as ArrayResolver, dB as AuthEvent, bv as AuthenticationIdProperty, b2 as AuthenticationIdPropertySchema, eT as BaseEvent, as as BaseSdkOptionsSchema, ag as BatchOptions, cJ as CONTEXT_CACHE_MAX_SIZE, cI as CONTEXT_CACHE_TTL_MS, aw as CORE_ERROR_SYMBOL, H as Choice, dI as ClientCredentialsObject, dT as ClientCredentialsObjectSchema, V as Connection, d$ as ConnectionEntry, d_ as ConnectionEntrySchema, bt as ConnectionIdProperty, b1 as ConnectionIdPropertySchema, aP as ConnectionItem, bu as ConnectionProperty, b3 as ConnectionPropertySchema, e1 as ConnectionsMap, e0 as ConnectionsMapSchema, e3 as ConnectionsPluginProvides, bJ as ConnectionsProperty, bh as ConnectionsPropertySchema, X as ConnectionsResponse, ax as CoreErrorCode, cv as CreateClientCredentialsPluginProvides, et as CreateTableFieldsPluginProvides, en as CreateTablePluginProvides, eB as CreateTableRecordsPluginProvides, dF as Credentials, dY as CredentialsFunction, dX as CredentialsFunctionSchema, dH as CredentialsObject, dV as CredentialsObjectSchema, dZ as CredentialsSchema, e8 as DEFAULT_ACTION_TIMEOUT_MS, eg as DEFAULT_APPROVAL_TIMEOUT_MS, cS as DEFAULT_CONFIG_PATH, eh as DEFAULT_MAX_APPROVAL_RETRIES, e7 as DEFAULT_PAGE_SIZE, bA as DebugProperty, b8 as DebugPropertySchema, cx as DeleteClientCredentialsPluginProvides, ev as DeleteTableFieldsPluginProvides, ep as DeleteTablePluginProvides, eD as DeleteTableRecordsPluginProvides, s as DrainTriggerInboxCallback, t as DrainTriggerInboxErrorObserver, D as DrainTriggerInboxOptions, a8 as DynamicListResolver, l as DynamicResolver, a9 as DynamicSearchResolver, eM as EnhancedErrorEventData, bP as ErrorOptions, dE as EventCallback, eK as EventContext, eH as EventEmissionConfig, E as EventEmissionContext, eJ as EventEmissionProvides, cf as FetchPluginProvides, z as Field, bG as FieldsProperty, be as FieldsPropertySchema, aa as FieldsResolver, F as FieldsetItem, v as FindFirstAuthenticationPluginProvides, cF as FindFirstConnectionPluginProvides, w as FindUniqueAuthenticationPluginProvides, cH as FindUniqueConnectionPluginProvides, a3 as FormattedItem, ar as FunctionDeprecation, aq as FunctionRegistryEntry, cp as GetActionInputFieldsSchemaPluginProvides, cB as GetActionPluginProvides, cz as GetAppPluginProvides, G as GetAuthenticationPluginProvides, cD as GetConnectionPluginProvides, cV as GetProfilePluginProvides, el as GetTablePluginProvides, ex as GetTableRecordPluginProvides, aS as InfoFieldItem, aR as InputFieldItem, bs as InputFieldProperty, b0 as InputFieldPropertySchema, bw as InputsProperty, b4 as InputsPropertySchema, aN as JsonSseMessage, bO as LeaseLimitProperty, bm as LeaseLimitPropertySchema, bM as LeaseProperty, bk as LeasePropertySchema, bN as LeaseSecondsProperty, bl as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bx as LimitProperty, b5 as LimitPropertySchema, cn as ListActionInputFieldChoicesPluginProvides, cl as ListActionInputFieldsPluginProvides, cj as ListActionsPluginProvides, ch as ListAppsPluginProvides, u as ListAuthenticationsPluginProvides, ct as ListClientCredentialsPluginProvides, cr as ListConnectionsPluginProvides, er as ListTableFieldsPluginProvides, ez as ListTableRecordsPluginProvides, ej as ListTablesPluginProvides, dD as LoadingEvent, eb as MAX_CONCURRENCY_LIMIT, e6 as MAX_PAGE_LIMIT, b as Manifest, cT as ManifestEntry, cO as ManifestPluginOptions, cR as ManifestPluginProvides, eU as MethodCalledEvent, eN as MethodCalledEventData, N as Need, Q as NeedsRequest, S as NeedsResponse, by as OffsetProperty, b6 as OffsetPropertySchema, O as OutputFormatter, bz as OutputProperty, b7 as OutputPropertySchema, aW as PaginatedSdkFunction, i as PaginatedSdkResult, bB as ParamsProperty, b9 as ParamsPropertySchema, dJ as PkceCredentialsObject, dU as PkceCredentialsObjectSchema, ay as Plugin, a as PluginMeta, az as PluginProvides, aI as PollOptions, j as PositionalMetadata, c2 as RateLimitInfo, bE as RecordProperty, bc as RecordPropertySchema, bF as RecordsProperty, bd as RecordsPropertySchema, al as RelayFetchSchema, ak as RelayRequestSchema, aH as RequestOptions, cN as RequestPluginProvides, dn as ResolveAuthTokenOptions, dO as ResolveCredentialsOptions, R as ResolvedAppLocator, dG as ResolvedCredentials, dW as ResolvedCredentialsSchema, a4 as Resolver, a6 as ResolverMetadata, aT as RootFieldItem, cL as RunActionPluginProvides, dA as SdkEvent, aV as SdkPage, aM as SseMessage, a7 as StaticResolver, bD as TableProperty, bb as TablePropertySchema, bI as TablesProperty, bg as TablesPropertySchema, bL as TriggerInboxNameProperty, bj as TriggerInboxNamePropertySchema, bK as TriggerInboxProperty, bi as TriggerInboxPropertySchema, T as TriggerMessageStatus, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, eF as UpdateTableRecordsPluginProvides, Y as UserProfile, aU as UserProfileItem, W as WatchTriggerInboxOptions, o as WithAddPlugin, e4 as ZAPIER_BASE_URL, ed as ZAPIER_MAX_CONCURRENT_REQUESTS, e9 as ZAPIER_MAX_NETWORK_RETRIES, ea as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, p as ZapierAbortDrainSignal, c0 as ZapierActionError, bV as ZapierApiError, bW as ZapierAppNotFoundError, c5 as ZapierApprovalError, bT as ZapierAuthenticationError, b_ as ZapierBundleError, dw as ZapierCache, dx as ZapierCacheEntry, dy as ZapierCacheSetOptions, bZ as ZapierConfigurationError, c1 as ZapierConflictError, bQ as ZapierError, k as ZapierFetchInitOptions, bX as ZapierNotFoundError, c3 as ZapierRateLimitError, c6 as ZapierRelayError, q as ZapierReleaseTriggerMessageSignal, bY as ZapierResourceNotFoundError, f6 as ZapierSdk, n as ZapierSdkApps, Z as ZapierSdkOptions, c9 as ZapierSignal, b$ as ZapierTimeoutError, bS as ZapierUnknownError, bR as ZapierValidationError, c$ as actionKeyResolver, c_ as actionTypeResolver, a2 as addPlugin, cX as apiPlugin, cZ as appKeyResolver, ca as appsPlugin, d1 as authenticationIdGenericResolver, d0 as authenticationIdResolver, af as batch, eO as buildApplicationLifecycleEvent, ah as buildCapabilityMessage, eQ as buildErrorEvent, eP as buildErrorEventWithContext, eS as buildMethodCalledEvent, eG as cleanupEventListeners, dp as clearTokenCache, d5 as clientCredentialsNameResolver, d6 as clientIdResolver, aD as composePlugins, d1 as connectionIdGenericResolver, d0 as connectionIdResolver, e2 as connectionsPlugin, eR as createBaseEvent, cu as createClientCredentialsPlugin, a1 as createCorePlugin, $ as createFunction, dz as createMemoryCache, ao as createOptionsPlugin, aC as createPaginatedPluginMethod, aB as createPluginMethod, a0 as createPluginStack, an as createSdk, es as createTableFieldsPlugin, em as createTablePlugin, eA as createTableRecordsPlugin, aJ as createZapierApi, ap as createZapierCoreStack, f4 as createZapierSdk, f5 as createZapierSdkStack, am as createZapierSdkWithoutRegistry, aA as definePlugin, cw as deleteClientCredentialsPlugin, eu as deleteTableFieldsPlugin, eo as deleteTablePlugin, eC as deleteTableRecordsPlugin, da as durableRunIdResolver, eI as eventEmissionPlugin, ce as fetchPlugin, cE as findFirstConnectionPlugin, g as findManifestEntry, cG as findUniqueConnectionPlugin, c7 as formatErrorMessage, eV as generateEventId, co as getActionInputFieldsSchemaPlugin, cA as getActionPlugin, f3 as getAgent, cy as getAppPlugin, dR as getBaseUrlFromCredentials, e$ as getCiPlatform, dS as getClientIdFromCredentials, cC as getConnectionPlugin, av as getCoreErrorCause, au as getCoreErrorCode, f1 as getCpuTime, eW as getCurrentTimestamp, f0 as getMemoryUsage, aK as getOrCreateApiClient, eY as getOsInfo, eZ as getPlatformVersions, cP as getPreferredManifestEntryKey, cU as getProfilePlugin, eX as getReleaseId, ek as getTablePlugin, ew as getTableRecordPlugin, dt as getTokenFromCliLogin, f2 as getTtyContext, ee as getZapierApprovalMode, ef as getZapierDefaultApprovalMode, e5 as getZapierSdkService, dr as injectCliLogin, d4 as inputFieldKeyResolver, d3 as inputsAllOptionalResolver, d2 as inputsResolver, dq as invalidateCachedToken, dv as invalidateCredentialsToken, e_ as isCi, ds as isCliLoginAvailable, dK as isClientCredentials, at as isCoreError, dN as isCredentialsFunction, dM as isCredentialsObject, aL as isPermanentHttpError, dL as isPkceCredentials, _ as isPositional, cm as listActionInputFieldChoicesPlugin, ck as listActionInputFieldsPlugin, ci as listActionsPlugin, cg as listAppsPlugin, cs as listClientCredentialsPlugin, cq as listConnectionsPlugin, eq as listTableFieldsPlugin, ey as listTableRecordsPlugin, ei as listTablesPlugin, ai as logDeprecation, cQ as manifestPlugin, ec as parseConcurrencyEnvVar, r as readManifestFromFile, aG as registryPlugin, cM as requestPlugin, aj as resetDeprecationWarnings, du as resolveAuthToken, dQ as resolveCredentials, dP as resolveCredentialsFromEnv, cK as runActionPlugin, ab as runInMethodScope, ac as runWithTelemetryContext, dg as tableFieldIdsResolver, di as tableFieldsResolver, dl as tableFiltersResolver, d7 as tableIdResolver, dh as tableNameResolver, de as tableRecordIdResolver, df as tableRecordIdsResolver, dj as tableRecordsResolver, dm as tableSortResolver, dk as tableUpdateRecordsResolver, ad as toSnakeCase, ae as toTitleCase, d8 as triggerInboxResolver, dd as triggerMessagesResolver, eE as updateTableRecordsPlugin, d9 as workflowIdResolver, dc as workflowRunIdResolver, db as workflowVersionIdResolver, bU as zapierAdaptError } from './index-BNaiNmM-.mjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import 'zod/v4/core';
|
|
4
4
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
package/dist/index.mjs
CHANGED
|
@@ -6779,7 +6779,7 @@ function createSseParserStream() {
|
|
|
6779
6779
|
}
|
|
6780
6780
|
|
|
6781
6781
|
// src/sdk-version.ts
|
|
6782
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.
|
|
6782
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.70.4" : void 0) || "unknown";
|
|
6783
6783
|
|
|
6784
6784
|
// src/utils/open-url.ts
|
|
6785
6785
|
var nodePrefix = "node:";
|
|
@@ -31,7 +31,16 @@ export declare const deleteWorkflowPlugin: (sdk: {
|
|
|
31
31
|
description: string | null;
|
|
32
32
|
trigger_url: string;
|
|
33
33
|
enabled: boolean;
|
|
34
|
+
is_private: boolean;
|
|
35
|
+
created_by_user_id: string | null;
|
|
34
36
|
current_version_id: string | null;
|
|
37
|
+
triggers: {
|
|
38
|
+
selected_api: string;
|
|
39
|
+
action: string;
|
|
40
|
+
status: "pending" | "active" | "unclaimed" | "releasing" | "released" | "failed";
|
|
41
|
+
authentication_id?: string | null | undefined;
|
|
42
|
+
params?: Record<string, unknown> | undefined;
|
|
43
|
+
}[];
|
|
35
44
|
created_at: string;
|
|
36
45
|
updated_at: string;
|
|
37
46
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/deleteWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/deleteWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkChC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,oBAAoB,CAC5B,CAAC"}
|
|
@@ -31,7 +31,16 @@ export declare const disableWorkflowPlugin: (sdk: {
|
|
|
31
31
|
description: string | null;
|
|
32
32
|
trigger_url: string;
|
|
33
33
|
enabled: boolean;
|
|
34
|
+
is_private: boolean;
|
|
35
|
+
created_by_user_id: string | null;
|
|
34
36
|
current_version_id: string | null;
|
|
37
|
+
triggers: {
|
|
38
|
+
selected_api: string;
|
|
39
|
+
action: string;
|
|
40
|
+
status: "pending" | "active" | "unclaimed" | "releasing" | "released" | "failed";
|
|
41
|
+
authentication_id?: string | null | undefined;
|
|
42
|
+
params?: Record<string, unknown> | undefined;
|
|
43
|
+
}[];
|
|
35
44
|
created_at: string;
|
|
36
45
|
updated_at: string;
|
|
37
46
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/disableWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/codeSubstrate/disableWorkflow/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BjC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,UAAU,CACpD,OAAO,qBAAqB,CAC7B,CAAC"}
|
|
@@ -31,7 +31,16 @@ export declare const enableWorkflowPlugin: (sdk: {
|
|
|
31
31
|
description: string | null;
|
|
32
32
|
trigger_url: string;
|
|
33
33
|
enabled: boolean;
|
|
34
|
+
is_private: boolean;
|
|
35
|
+
created_by_user_id: string | null;
|
|
34
36
|
current_version_id: string | null;
|
|
37
|
+
triggers: {
|
|
38
|
+
selected_api: string;
|
|
39
|
+
action: string;
|
|
40
|
+
status: "pending" | "active" | "unclaimed" | "releasing" | "released" | "failed";
|
|
41
|
+
authentication_id?: string | null | undefined;
|
|
42
|
+
params?: Record<string, unknown> | undefined;
|
|
43
|
+
}[];
|
|
35
44
|
created_at: string;
|
|
36
45
|
updated_at: string;
|
|
37
46
|
}>;
|