@zapier/zapier-sdk 0.102.1 → 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 +12 -0
- package/README.md +50 -45
- package/dist/{chunk-6EO4LIAI.mjs → chunk-AQJZPUFM.mjs} +1 -1
- package/dist/{chunk-424K4TOH.cjs → chunk-GQP5NSYD.cjs} +1 -1
- package/dist/experimental.cjs +373 -361
- package/dist/experimental.d.mts +10 -0
- package/dist/experimental.d.ts +10 -0
- package/dist/experimental.mjs +20 -8
- 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."
|
|
@@ -895,9 +901,11 @@ var RunDurableBaseSchema = z.object({
|
|
|
895
901
|
input: JsonPayloadSchema.optional().describe(
|
|
896
902
|
"Input data passed to the run. Accepts any JSON value, or its JSON-string encoding."
|
|
897
903
|
),
|
|
898
|
-
dependencies: z.record(z.string(), z.string()).optional().describe(
|
|
904
|
+
dependencies: z.record(z.string(), z.string()).optional().describe(
|
|
905
|
+
'Optional npm package dependencies. A version of "latest" is resolved by the server for @zapier/zapier-durable and @zapier/zapier-sdk only; every other value, including a "latest" on any other package, is passed to the install as written.'
|
|
906
|
+
),
|
|
899
907
|
zapierDurableVersion: z.string().optional().describe(
|
|
900
|
-
|
|
908
|
+
`Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"), or "latest". Defaults to the server-configured version if omitted. "latest" is resolved by the server to the newest release old enough to clear the sandbox install age gate (24h) -- this is not npm's "latest" tag, which can point at a release too new to install. Ranges (^1.2.3, ~1.2) are rejected.`
|
|
901
909
|
),
|
|
902
910
|
/** @deprecated Use `zapierDurableVersion` instead. */
|
|
903
911
|
zapier_durable_version: z.string().optional().meta({ deprecated: true }),
|
|
@@ -1037,9 +1045,11 @@ var cancelDurableRunPlugin = defineMethod({
|
|
|
1037
1045
|
});
|
|
1038
1046
|
var PublishWorkflowVersionDescription = "Publish a new version of a durable workflow. Enables the workflow by default.";
|
|
1039
1047
|
var PublishWorkflowVersionBaseSchema = z.object({
|
|
1040
|
-
dependencies: z.record(z.string(), z.string()).optional().describe(
|
|
1048
|
+
dependencies: z.record(z.string(), z.string()).optional().describe(
|
|
1049
|
+
'Optional npm package dependencies. A version of "latest" is resolved by the server for @zapier/zapier-durable and @zapier/zapier-sdk only; every other value, including a "latest" on any other package, is passed to the install as written.'
|
|
1050
|
+
),
|
|
1041
1051
|
zapierDurableVersion: z.string().optional().describe(
|
|
1042
|
-
|
|
1052
|
+
`Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"), or "latest". Defaults to the server-configured version if omitted. "latest" is resolved by the server to the newest release old enough to clear the sandbox install age gate (24h) -- this is not npm's "latest" tag, which can point at a release too new to install. Ranges (^1.2.3, ~1.2) are rejected.`
|
|
1043
1053
|
),
|
|
1044
1054
|
/** @deprecated Use `zapierDurableVersion` instead. */
|
|
1045
1055
|
zapier_durable_version: z.string().optional().meta({ deprecated: true }),
|
|
@@ -1481,9 +1491,11 @@ var UpdateWorkflowDraftOptionsSchema = z.object({
|
|
|
1481
1491
|
draft: z.string().uuid().describe("Workflow draft ID"),
|
|
1482
1492
|
sourceFiles: SourceFilesSchema,
|
|
1483
1493
|
zapierDurableVersion: z.string().optional().describe(
|
|
1484
|
-
'Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"). Leaves the stored pin unchanged if omitted.'
|
|
1494
|
+
'Exact semver of @zapier/zapier-durable to use (e.g. "1.2.3"), or "latest". Leaves the stored pin unchanged if omitted. A draft stores what you pass verbatim, so "latest" is recorded as-is and resolved to an exact version when the draft is published -- reading the draft back shows "latest", not a version. Ranges (^1.2.3, ~1.2) are rejected at publish.'
|
|
1495
|
+
),
|
|
1496
|
+
dependencies: z.record(z.string(), z.string()).optional().describe(
|
|
1497
|
+
'Optional npm package dependencies. A version of "latest" is resolved by the server for @zapier/zapier-durable and @zapier/zapier-sdk only; every other value, including a "latest" on any other package, is passed to the install as written.'
|
|
1485
1498
|
),
|
|
1486
|
-
dependencies: z.record(z.string(), z.string()).optional().describe("Optional npm package dependencies"),
|
|
1487
1499
|
draftRevision: z.number().int().min(0).optional().describe(
|
|
1488
1500
|
"Expected draft revision for optimistic concurrency. Pass the revision from the last read; the server rejects the save with a conflict if the draft has changed since. Omit to skip the check."
|
|
1489
1501
|
),
|