@zapier/zapier-sdk 0.102.2 → 0.102.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +5 -0
- package/dist/{chunk-WWJRIDEW.mjs → chunk-AQJZPUFM.mjs} +1 -1
- package/dist/{chunk-J5ELTMEQ.cjs → chunk-GQP5NSYD.cjs} +1 -1
- package/dist/experimental.cjs +361 -355
- package/dist/experimental.d.mts +10 -0
- package/dist/experimental.d.ts +10 -0
- package/dist/experimental.mjs +8 -2
- package/dist/index.cjs +277 -277
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/experimental.d.mts
CHANGED
|
@@ -4149,6 +4149,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4149
4149
|
name: string;
|
|
4150
4150
|
description: string | null;
|
|
4151
4151
|
trigger_url: string;
|
|
4152
|
+
editor_url: string;
|
|
4152
4153
|
enabled: boolean;
|
|
4153
4154
|
is_private: boolean;
|
|
4154
4155
|
created_by_user_id: string | null;
|
|
@@ -4186,6 +4187,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4186
4187
|
name: string;
|
|
4187
4188
|
description: string | null;
|
|
4188
4189
|
trigger_url: string;
|
|
4190
|
+
editor_url: string;
|
|
4189
4191
|
enabled: boolean;
|
|
4190
4192
|
is_private: boolean;
|
|
4191
4193
|
created_by_user_id: string | null;
|
|
@@ -4244,6 +4246,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4244
4246
|
name: string;
|
|
4245
4247
|
description: string | null;
|
|
4246
4248
|
trigger_url: string;
|
|
4249
|
+
editor_url: string;
|
|
4247
4250
|
enabled: boolean;
|
|
4248
4251
|
is_private: boolean;
|
|
4249
4252
|
created_by_user_id: string | null;
|
|
@@ -4269,6 +4272,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4269
4272
|
id: string;
|
|
4270
4273
|
name: string;
|
|
4271
4274
|
trigger_url: string;
|
|
4275
|
+
editor_url: string;
|
|
4272
4276
|
enabled: boolean;
|
|
4273
4277
|
is_private: boolean;
|
|
4274
4278
|
created_by_user_id: string;
|
|
@@ -4349,6 +4353,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4349
4353
|
name: string;
|
|
4350
4354
|
description: string | null;
|
|
4351
4355
|
trigger_url: string;
|
|
4356
|
+
editor_url: string;
|
|
4352
4357
|
enabled: boolean;
|
|
4353
4358
|
is_private: boolean;
|
|
4354
4359
|
created_by_user_id: string | null;
|
|
@@ -7039,6 +7044,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
7039
7044
|
name: string;
|
|
7040
7045
|
description: string | null;
|
|
7041
7046
|
trigger_url: string;
|
|
7047
|
+
editor_url: string;
|
|
7042
7048
|
enabled: boolean;
|
|
7043
7049
|
is_private: boolean;
|
|
7044
7050
|
created_by_user_id: string | null;
|
|
@@ -7068,6 +7074,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
7068
7074
|
name: string;
|
|
7069
7075
|
description: string | null;
|
|
7070
7076
|
trigger_url: string;
|
|
7077
|
+
editor_url: string;
|
|
7071
7078
|
enabled: boolean;
|
|
7072
7079
|
is_private: boolean;
|
|
7073
7080
|
created_by_user_id: string | null;
|
|
@@ -7123,6 +7130,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
7123
7130
|
name: string;
|
|
7124
7131
|
description: string | null;
|
|
7125
7132
|
trigger_url: string;
|
|
7133
|
+
editor_url: string;
|
|
7126
7134
|
enabled: boolean;
|
|
7127
7135
|
is_private: boolean;
|
|
7128
7136
|
created_by_user_id: string | null;
|
|
@@ -7142,6 +7150,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
7142
7150
|
id: string;
|
|
7143
7151
|
name: string;
|
|
7144
7152
|
trigger_url: string;
|
|
7153
|
+
editor_url: string;
|
|
7145
7154
|
enabled: boolean;
|
|
7146
7155
|
is_private: boolean;
|
|
7147
7156
|
created_by_user_id: string;
|
|
@@ -7217,6 +7226,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
7217
7226
|
name: string;
|
|
7218
7227
|
description: string | null;
|
|
7219
7228
|
trigger_url: string;
|
|
7229
|
+
editor_url: string;
|
|
7220
7230
|
enabled: boolean;
|
|
7221
7231
|
is_private: boolean;
|
|
7222
7232
|
created_by_user_id: string | null;
|
package/dist/experimental.d.ts
CHANGED
|
@@ -4149,6 +4149,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4149
4149
|
name: string;
|
|
4150
4150
|
description: string | null;
|
|
4151
4151
|
trigger_url: string;
|
|
4152
|
+
editor_url: string;
|
|
4152
4153
|
enabled: boolean;
|
|
4153
4154
|
is_private: boolean;
|
|
4154
4155
|
created_by_user_id: string | null;
|
|
@@ -4186,6 +4187,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4186
4187
|
name: string;
|
|
4187
4188
|
description: string | null;
|
|
4188
4189
|
trigger_url: string;
|
|
4190
|
+
editor_url: string;
|
|
4189
4191
|
enabled: boolean;
|
|
4190
4192
|
is_private: boolean;
|
|
4191
4193
|
created_by_user_id: string | null;
|
|
@@ -4244,6 +4246,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4244
4246
|
name: string;
|
|
4245
4247
|
description: string | null;
|
|
4246
4248
|
trigger_url: string;
|
|
4249
|
+
editor_url: string;
|
|
4247
4250
|
enabled: boolean;
|
|
4248
4251
|
is_private: boolean;
|
|
4249
4252
|
created_by_user_id: string | null;
|
|
@@ -4269,6 +4272,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4269
4272
|
id: string;
|
|
4270
4273
|
name: string;
|
|
4271
4274
|
trigger_url: string;
|
|
4275
|
+
editor_url: string;
|
|
4272
4276
|
enabled: boolean;
|
|
4273
4277
|
is_private: boolean;
|
|
4274
4278
|
created_by_user_id: string;
|
|
@@ -4349,6 +4353,7 @@ declare const zapierExperimentalSdkPlugin: _zapier_kitcore.AggregatePlugin<"expe
|
|
|
4349
4353
|
name: string;
|
|
4350
4354
|
description: string | null;
|
|
4351
4355
|
trigger_url: string;
|
|
4356
|
+
editor_url: string;
|
|
4352
4357
|
enabled: boolean;
|
|
4353
4358
|
is_private: boolean;
|
|
4354
4359
|
created_by_user_id: string | null;
|
|
@@ -7039,6 +7044,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
7039
7044
|
name: string;
|
|
7040
7045
|
description: string | null;
|
|
7041
7046
|
trigger_url: string;
|
|
7047
|
+
editor_url: string;
|
|
7042
7048
|
enabled: boolean;
|
|
7043
7049
|
is_private: boolean;
|
|
7044
7050
|
created_by_user_id: string | null;
|
|
@@ -7068,6 +7074,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
7068
7074
|
name: string;
|
|
7069
7075
|
description: string | null;
|
|
7070
7076
|
trigger_url: string;
|
|
7077
|
+
editor_url: string;
|
|
7071
7078
|
enabled: boolean;
|
|
7072
7079
|
is_private: boolean;
|
|
7073
7080
|
created_by_user_id: string | null;
|
|
@@ -7123,6 +7130,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
7123
7130
|
name: string;
|
|
7124
7131
|
description: string | null;
|
|
7125
7132
|
trigger_url: string;
|
|
7133
|
+
editor_url: string;
|
|
7126
7134
|
enabled: boolean;
|
|
7127
7135
|
is_private: boolean;
|
|
7128
7136
|
created_by_user_id: string | null;
|
|
@@ -7142,6 +7150,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
7142
7150
|
id: string;
|
|
7143
7151
|
name: string;
|
|
7144
7152
|
trigger_url: string;
|
|
7153
|
+
editor_url: string;
|
|
7145
7154
|
enabled: boolean;
|
|
7146
7155
|
is_private: boolean;
|
|
7147
7156
|
created_by_user_id: string;
|
|
@@ -7217,6 +7226,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): {
|
|
|
7217
7226
|
name: string;
|
|
7218
7227
|
description: string | null;
|
|
7219
7228
|
trigger_url: string;
|
|
7229
|
+
editor_url: string;
|
|
7220
7230
|
enabled: boolean;
|
|
7221
7231
|
is_private: boolean;
|
|
7222
7232
|
created_by_user_id: string | null;
|
package/dist/experimental.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DEFAULT_PAGE_SIZE, apiPluginRef, workflowIdResolver, extractErrorDetail, ZapierApiError, durableRunIdResolver, ZapierConflictError, workflowVersionIdResolver, workflowDraftIdResolver, workflowRunIdResolver, zapierSdkPlugin, ZapierValidationError, ZapierConfigurationError, zapierCoreOptions, SDK_OPTIONS_ID } from './chunk-
|
|
2
|
-
export { ACTION_RUNS_PATH, API_ID, ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMillisecondsPropertySchema, ActionTimeoutSecondsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthMechanism, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CONNECTIONS_ID, CONTEXT, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MILLISECONDS, CORE_ERROR_SYMBOL, CORE_OPTIONS_ID, CORE_SIGNAL_SYMBOL, ClientCredentialsObjectSchema, ConnectionEntrySchema, ConnectionIdPropertySchema, ConnectionPropertySchema, ConnectionsMapSchema, ConnectionsPropertySchema, CoreCancelledSignal, CoreDisposeError, CoreErrorCode, CoreSignal, CredentialsFunctionSchema, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MILLISECONDS, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, DEFAULT_CONFIG_PATH, DEFAULT_MAX_APPROVAL_RETRIES, DEFAULT_PAGE_SIZE, DEPRECATION_NOTICE_EVENT, DebugPropertySchema, DrainTriggerInboxSchema, EVENT_EMISSION_ID, FieldsPropertySchema, InputFieldPropertySchema, InputsPropertySchema, LeaseLimitPropertySchema, LeasePropertySchema, LeaseSecondsPropertySchema, LimitPropertySchema, MANIFEST_ID, MAX_CONCURRENCY_LIMIT, MAX_PAGE_LIMIT, OffsetPropertySchema, OutputPropertySchema, ParamsPropertySchema, PkceCredentialsObjectSchema, RESOLVE_CREDENTIALS_ID, RecordPropertySchema, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, ResolvedCredentialsSchema, SDK_OPTIONS_ID, TablePropertySchema, TablesPropertySchema, TriggerInboxKeyPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, WatchTriggerInboxSchema, ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, ZapierAbortDrainSignal, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierApprovalError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierConflictError, ZapierError, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierReleaseTriggerMessageSignal, ZapierResourceNotFoundError, ZapierSignal, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, addPlugin, apiPlugin, apiPluginRef, appKeyResolver, appsPlugin, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, composePlugins, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, connectionsPluginRef, createActionRunPlugin, createBaseEvent, createClientCredentialsPlugin, createController, createCorePlugin, createFunction, createMemoryCache, createPaginatedFunction, createPaginatedPluginMethod, createPluginMethod, createPluginStack, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdkWithoutRegistry, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineLegacyMerge, defineMethod, defineMethodOverride, defineOverride, definePlugin, defineProperty, defineResolver, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, disposeSdk, durableRunIdResolver, eventEmissionHookPlugin, eventEmissionPlugin, eventEmissionPluginRef, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, fromFunctionPlugin, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getActionRunPlugin, getAgent, getAppPlugin, getBaseUrlFromCredentials, getCallerContext, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getContext, getCoreErrorCause, getCoreErrorCode, getCpuTime, getCurrentTimestamp, getMemoryUsage, getNegatable, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getRegistryPlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getTtyContext, getZapierApprovalMode, getZapierDefaultApprovalMode, getZapierOpenAutoModeApprovalsInBrowser, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCoreCancelledSignal, isCoreError, isCoreSignal, isCredentialsFunction, isCredentialsObject, isPermanentHttpError, isPkceCredentials, isPositional, isZapierAbortDrainSignal, isZapierActionError, isZapierAppNotFoundError, isZapierApprovalError, isZapierAuthenticationError, isZapierBundleError, isZapierConflictError, isZapierError, isZapierNotFoundError, isZapierRateLimitError, isZapierReleaseTriggerMessageSignal, isZapierResourceNotFoundError, isZapierSignal, isZapierTimeoutError, isZapierValidationError, listActionInputFieldChoicesPlugin, listActionInputFieldsPlugin, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, manifestPluginRef, omitExports, operationAnnotatorPlugin, parseConcurrencyEnvVar, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuth, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, resolveCredentialsPlugin, resolveCredentialsPluginRef, resolvePlugin, runActionPlugin, runInMethodScope, runWithCallerContext, runWithTelemetryContext, sdkOptionsPluginRef, selectExports, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin, workflowDraftIdResolver, workflowIdResolver, workflowRunIdResolver, workflowVersionIdResolver, zapierAdaptError, zapierCoreOptions, zapierSdkPlugin } from './chunk-
|
|
1
|
+
import { DEFAULT_PAGE_SIZE, apiPluginRef, workflowIdResolver, extractErrorDetail, ZapierApiError, durableRunIdResolver, ZapierConflictError, workflowVersionIdResolver, workflowDraftIdResolver, workflowRunIdResolver, zapierSdkPlugin, ZapierValidationError, ZapierConfigurationError, zapierCoreOptions, SDK_OPTIONS_ID } from './chunk-AQJZPUFM.mjs';
|
|
2
|
+
export { ACTION_RUNS_PATH, API_ID, ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMillisecondsPropertySchema, ActionTimeoutSecondsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthMechanism, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CONNECTIONS_ID, CONTEXT, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MILLISECONDS, CORE_ERROR_SYMBOL, CORE_OPTIONS_ID, CORE_SIGNAL_SYMBOL, ClientCredentialsObjectSchema, ConnectionEntrySchema, ConnectionIdPropertySchema, ConnectionPropertySchema, ConnectionsMapSchema, ConnectionsPropertySchema, CoreCancelledSignal, CoreDisposeError, CoreErrorCode, CoreSignal, CredentialsFunctionSchema, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MILLISECONDS, DEFAULT_APPROVAL_TIMEOUT_MILLISECONDS, DEFAULT_CONFIG_PATH, DEFAULT_MAX_APPROVAL_RETRIES, DEFAULT_PAGE_SIZE, DEPRECATION_NOTICE_EVENT, DebugPropertySchema, DrainTriggerInboxSchema, EVENT_EMISSION_ID, FieldsPropertySchema, InputFieldPropertySchema, InputsPropertySchema, LeaseLimitPropertySchema, LeasePropertySchema, LeaseSecondsPropertySchema, LimitPropertySchema, MANIFEST_ID, MAX_CONCURRENCY_LIMIT, MAX_PAGE_LIMIT, OffsetPropertySchema, OutputPropertySchema, ParamsPropertySchema, PkceCredentialsObjectSchema, RESOLVE_CREDENTIALS_ID, RecordPropertySchema, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, ResolvedCredentialsSchema, SDK_OPTIONS_ID, TablePropertySchema, TablesPropertySchema, TriggerInboxKeyPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, WatchTriggerInboxSchema, ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MILLISECONDS, ZapierAbortDrainSignal, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierApprovalError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierConflictError, ZapierError, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierReleaseTriggerMessageSignal, ZapierResourceNotFoundError, ZapierSignal, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, addPlugin, apiPlugin, apiPluginRef, appKeyResolver, appsPlugin, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, composePlugins, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, connectionsPluginRef, createActionRunPlugin, createBaseEvent, createClientCredentialsPlugin, createController, createCorePlugin, createFunction, createMemoryCache, createPaginatedFunction, createPaginatedPluginMethod, createPluginMethod, createPluginStack, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdkWithoutRegistry, declareMethod, declareOptionalProperty, declarePlugin, declareProperty, defineFormatter, defineLegacyMerge, defineMethod, defineMethodOverride, defineOverride, definePlugin, defineProperty, defineResolver, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, disposeSdk, durableRunIdResolver, eventEmissionHookPlugin, eventEmissionPlugin, eventEmissionPluginRef, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, fromFunctionPlugin, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getActionRunPlugin, getAgent, getAppPlugin, getBaseUrlFromCredentials, getCallerContext, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getContext, getCoreErrorCause, getCoreErrorCode, getCpuTime, getCurrentTimestamp, getMemoryUsage, getNegatable, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getRegistryPlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getTtyContext, getZapierApprovalMode, getZapierDefaultApprovalMode, getZapierOpenAutoModeApprovalsInBrowser, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCoreCancelledSignal, isCoreError, isCoreSignal, isCredentialsFunction, isCredentialsObject, isPermanentHttpError, isPkceCredentials, isPositional, isZapierAbortDrainSignal, isZapierActionError, isZapierAppNotFoundError, isZapierApprovalError, isZapierAuthenticationError, isZapierBundleError, isZapierConflictError, isZapierError, isZapierNotFoundError, isZapierRateLimitError, isZapierReleaseTriggerMessageSignal, isZapierResourceNotFoundError, isZapierSignal, isZapierTimeoutError, isZapierValidationError, listActionInputFieldChoicesPlugin, listActionInputFieldsPlugin, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, manifestPluginRef, omitExports, operationAnnotatorPlugin, parseConcurrencyEnvVar, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuth, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, resolveCredentialsPlugin, resolveCredentialsPluginRef, resolvePlugin, runActionPlugin, runInMethodScope, runWithCallerContext, runWithTelemetryContext, sdkOptionsPluginRef, selectExports, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin, workflowDraftIdResolver, workflowIdResolver, workflowRunIdResolver, workflowVersionIdResolver, zapierAdaptError, zapierCoreOptions, zapierSdkPlugin } from './chunk-AQJZPUFM.mjs';
|
|
3
3
|
import './chunk-Y6FXYEAI.mjs';
|
|
4
4
|
import { defineMethod, openEnum, defineResolver, definePlugin, createSdk, CORE_OPTIONS_ID } from '@zapier/kitcore';
|
|
5
5
|
import { z } from 'zod';
|
|
@@ -113,6 +113,7 @@ function toWireAppVersions(appVersions) {
|
|
|
113
113
|
var WorkflowTriggerUrlSchema = z.string().describe(
|
|
114
114
|
"Public URL that fires this workflow when POSTed to. Embeds a trigger token in the path \u2014 treat as sensitive. Requests must also be authenticated as the account."
|
|
115
115
|
);
|
|
116
|
+
var WorkflowEditorUrlSchema = z.string().url().describe("URL to the Zapier workflow editor for this workflow");
|
|
116
117
|
var ConnectionBindingSchema2 = z.object({
|
|
117
118
|
connection_id: z.union([
|
|
118
119
|
z.number().int().positive(),
|
|
@@ -226,6 +227,7 @@ var WorkflowItemSchema = z.object({
|
|
|
226
227
|
name: z.string().describe("Workflow name"),
|
|
227
228
|
description: z.string().nullable().describe("Optional workflow description (null if unset)"),
|
|
228
229
|
trigger_url: WorkflowTriggerUrlSchema,
|
|
230
|
+
editor_url: WorkflowEditorUrlSchema,
|
|
229
231
|
enabled: z.boolean().describe("Whether the workflow currently accepts triggers"),
|
|
230
232
|
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
231
233
|
// always sends it (null unless the workflow was system-disabled).
|
|
@@ -323,6 +325,7 @@ var GetWorkflowResponseSchema = z.object({
|
|
|
323
325
|
name: z.string().describe("Workflow name"),
|
|
324
326
|
description: z.string().nullable().describe("Optional workflow description (null if unset)"),
|
|
325
327
|
trigger_url: WorkflowTriggerUrlSchema,
|
|
328
|
+
editor_url: WorkflowEditorUrlSchema,
|
|
326
329
|
enabled: z.boolean().describe("Whether the workflow currently accepts triggers"),
|
|
327
330
|
// Optional until COSUB-630 ships the field server-side; afterwards the API
|
|
328
331
|
// always sends it (null unless the workflow was system-disabled). Kept
|
|
@@ -385,6 +388,7 @@ var CreateWorkflowResponseSchema = z.object({
|
|
|
385
388
|
name: z.string().describe("Workflow name"),
|
|
386
389
|
description: z.string().nullable().describe("Workflow description (null if unset)"),
|
|
387
390
|
trigger_url: WorkflowTriggerUrlSchema,
|
|
391
|
+
editor_url: WorkflowEditorUrlSchema,
|
|
388
392
|
enabled: z.boolean().describe(
|
|
389
393
|
"Whether the workflow currently accepts triggers. Always false on a new workflow until enabled."
|
|
390
394
|
),
|
|
@@ -458,6 +462,7 @@ var ImportedWorkflowSchema = z.object({
|
|
|
458
462
|
name: z.string().describe("Workflow name"),
|
|
459
463
|
description: z.string().nullable().optional().describe("Optional workflow description (null if unset)"),
|
|
460
464
|
trigger_url: WorkflowTriggerUrlSchema,
|
|
465
|
+
editor_url: WorkflowEditorUrlSchema,
|
|
461
466
|
enabled: z.boolean().describe(
|
|
462
467
|
"Whether the workflow accepts triggers. An import always lands disabled."
|
|
463
468
|
),
|
|
@@ -543,6 +548,7 @@ var UpdateWorkflowResponseSchema = z.object({
|
|
|
543
548
|
name: z.string().describe("Workflow name (post-update)"),
|
|
544
549
|
description: z.string().nullable().describe("Workflow description, post-update (null if unset)"),
|
|
545
550
|
trigger_url: WorkflowTriggerUrlSchema,
|
|
551
|
+
editor_url: WorkflowEditorUrlSchema,
|
|
546
552
|
enabled: z.boolean().describe("Whether the workflow currently accepts triggers"),
|
|
547
553
|
is_private: z.boolean().describe(
|
|
548
554
|
"Whether the workflow is private to the creating user. False means account-visible."
|