@zapier/zapier-sdk 0.70.4 → 0.71.1
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 +21 -0
- package/README.md +149 -31
- package/dist/api/approval-review-stream.d.ts +25 -0
- package/dist/api/approval-review-stream.d.ts.map +1 -0
- package/dist/api/approval-review-stream.js +104 -0
- package/dist/api/client.d.ts.map +1 -1
- package/dist/api/client.js +215 -27
- package/dist/api/types.d.ts +13 -3
- package/dist/api/types.d.ts.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +6 -0
- package/dist/experimental.cjs +602 -37
- package/dist/experimental.d.mts +88 -2
- package/dist/experimental.d.ts +90 -4
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.js +10 -0
- package/dist/experimental.mjs +602 -38
- package/dist/{index-BNaiNmM-.d.mts → index-B43uST61.d.mts} +181 -12
- package/dist/{index-BNaiNmM-.d.ts → index-B43uST61.d.ts} +181 -12
- package/dist/index.cjs +592 -32
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +592 -33
- package/dist/plugins/api/index.d.ts.map +1 -1
- package/dist/plugins/api/index.js +2 -1
- package/dist/plugins/codeSubstrate/createWorkflow/index.d.ts +1 -0
- package/dist/plugins/codeSubstrate/createWorkflow/index.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/createWorkflow/index.js +3 -2
- package/dist/plugins/codeSubstrate/createWorkflow/schemas.d.ts +1 -0
- package/dist/plugins/codeSubstrate/createWorkflow/schemas.d.ts.map +1 -1
- package/dist/plugins/codeSubstrate/createWorkflow/schemas.js +7 -1
- package/dist/plugins/codeSubstrate/deleteWorkflow/index.d.ts +1 -1
- package/dist/plugins/codeSubstrate/disableWorkflow/index.d.ts +1 -1
- package/dist/plugins/codeSubstrate/enableWorkflow/index.d.ts +1 -1
- package/dist/plugins/codeSubstrate/getDurableRun/schemas.d.ts +4 -4
- package/dist/plugins/codeSubstrate/getWorkflow/index.d.ts +2 -2
- package/dist/plugins/codeSubstrate/getWorkflow/schemas.d.ts +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowRun/index.d.ts +1 -1
- package/dist/plugins/codeSubstrate/getWorkflowVersion/index.d.ts +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowRuns/index.d.ts +1 -1
- package/dist/plugins/codeSubstrate/listWorkflowVersions/index.d.ts +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/index.d.ts +1 -1
- package/dist/plugins/codeSubstrate/listWorkflows/schemas.d.ts +2 -2
- package/dist/plugins/codeSubstrate/publishWorkflowVersion/index.d.ts +1 -1
- package/dist/plugins/codeSubstrate/runDurable/schemas.js +1 -1
- package/dist/plugins/codeSubstrate/shared-schemas.d.ts +2 -2
- package/dist/plugins/codeSubstrate/triggerWorkflow/index.d.ts +1 -1
- package/dist/plugins/codeSubstrate/updateWorkflow/index.d.ts +1 -1
- package/dist/plugins/createConnection/index.d.ts +189 -0
- package/dist/plugins/createConnection/index.d.ts.map +1 -0
- package/dist/plugins/createConnection/index.js +71 -0
- package/dist/plugins/createConnection/schemas.d.ts +21 -0
- package/dist/plugins/createConnection/schemas.d.ts.map +1 -0
- package/dist/plugins/createConnection/schemas.js +38 -0
- package/dist/plugins/getConnectionStartUrl/index.d.ts +206 -0
- package/dist/plugins/getConnectionStartUrl/index.d.ts.map +1 -0
- package/dist/plugins/getConnectionStartUrl/index.js +39 -0
- package/dist/plugins/getConnectionStartUrl/schemas.d.ts +15 -0
- package/dist/plugins/getConnectionStartUrl/schemas.d.ts.map +1 -0
- package/dist/plugins/getConnectionStartUrl/schemas.js +23 -0
- package/dist/plugins/waitForNewConnection/index.d.ts +209 -0
- package/dist/plugins/waitForNewConnection/index.d.ts.map +1 -0
- package/dist/plugins/waitForNewConnection/index.js +75 -0
- package/dist/plugins/waitForNewConnection/schemas.d.ts +17 -0
- package/dist/plugins/waitForNewConnection/schemas.d.ts.map +1 -0
- package/dist/plugins/waitForNewConnection/schemas.js +39 -0
- package/dist/sdk.d.ts +126 -0
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +8 -0
- package/dist/types/errors.d.ts +13 -4
- package/dist/types/errors.d.ts.map +1 -1
- package/dist/types/errors.js +2 -0
- package/dist/types/sdk.d.ts +1 -0
- package/dist/types/sdk.d.ts.map +1 -1
- package/dist/types/sdk.js +5 -1
- package/dist/utils/open-url.d.ts.map +1 -1
- package/dist/utils/open-url.js +7 -0
- package/dist/utils/should-open-browser.d.ts +24 -0
- package/dist/utils/should-open-browser.d.ts.map +1 -0
- package/dist/utils/should-open-browser.js +55 -0
- package/package.json +1 -1
package/dist/experimental.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, F as FieldsetItem,
|
|
2
|
-
export {
|
|
1
|
+
import { B as BaseSdkOptions, P as PluginStack, a as PluginMeta, M as MethodHooks, C as CoreOptions, Z as ZapierSdkOptions$1, E as EventEmissionContext, A as ApiClient, b as Manifest, R as ResolvedAppLocator, U as UpdateManifestEntryOptions, c as UpdateManifestEntryResult, d as AddActionEntryOptions, e as AddActionEntryResult, f as ActionEntry, g as findManifestEntry, r as readManifestFromFile, h as CapabilitiesContext, i as PaginatedSdkResult, G as GetConnectionStartUrlItem, W as WaitForNewConnectionItem, j as CreateConnectionItem, F as FieldsetItem, k as PositionalMetadata, O as OutputFormatter, l as ZapierFetchInitOptions, D as DrainTriggerInboxOptions, m as DynamicResolver, n as WatchTriggerInboxOptions, o as ActionProxy, p as ZapierSdkApps, q as WithAddPlugin } from './index-B43uST61.mjs';
|
|
2
|
+
export { H as Action, cf as ActionExecutionOptions, Q as ActionExecutionResult, S as ActionField, V as ActionFieldChoice, aT as ActionItem, bt as ActionKeyProperty, b1 as ActionKeyPropertySchema, bu as ActionProperty, b2 as ActionPropertySchema, aH as ActionResolverItem, bF as ActionTimeoutMsProperty, bd as ActionTimeoutMsPropertySchema, aI as ActionTypeItem, bs as ActionTypeProperty, b0 as ActionTypePropertySchema, cb as ApiError, dF as ApiEvent, cZ as ApiPluginOptions, c$ as ApiPluginProvides, I as App, cg as AppFactoryInput, aR as AppItem, bq as AppKeyProperty, a_ as AppKeyPropertySchema, br as AppProperty, a$ as AppPropertySchema, eP as ApplicationLifecycleEventData, c7 as ApprovalStatus, ce as AppsPluginProvides, bK as AppsProperty, bi as AppsPropertySchema, a8 as ArrayResolver, dE as AuthEvent, by as AuthenticationIdProperty, b5 as AuthenticationIdPropertySchema, eX as BaseEvent, av as BaseSdkOptionsSchema, aj as BatchOptions, cM as CONTEXT_CACHE_MAX_SIZE, cL as CONTEXT_CACHE_TTL_MS, az as CORE_ERROR_SYMBOL, K as Choice, dL as ClientCredentialsObject, dW as ClientCredentialsObjectSchema, _ as Connection, e2 as ConnectionEntry, e1 as ConnectionEntrySchema, bw as ConnectionIdProperty, b4 as ConnectionIdPropertySchema, aS as ConnectionItem, bx as ConnectionProperty, b6 as ConnectionPropertySchema, e4 as ConnectionsMap, e3 as ConnectionsMapSchema, e6 as ConnectionsPluginProvides, bM as ConnectionsProperty, bk as ConnectionsPropertySchema, $ as ConnectionsResponse, aA as CoreErrorCode, cy as CreateClientCredentialsPluginProvides, ex as CreateTableFieldsPluginProvides, er as CreateTablePluginProvides, eF as CreateTableRecordsPluginProvides, dI as Credentials, d$ as CredentialsFunction, d_ as CredentialsFunctionSchema, dK as CredentialsObject, dY as CredentialsObjectSchema, e0 as CredentialsSchema, eb as DEFAULT_ACTION_TIMEOUT_MS, ek as DEFAULT_APPROVAL_TIMEOUT_MS, cV as DEFAULT_CONFIG_PATH, el as DEFAULT_MAX_APPROVAL_RETRIES, ea as DEFAULT_PAGE_SIZE, bD as DebugProperty, bb as DebugPropertySchema, cA as DeleteClientCredentialsPluginProvides, ez as DeleteTableFieldsPluginProvides, et as DeleteTablePluginProvides, eH as DeleteTableRecordsPluginProvides, u as DrainTriggerInboxCallback, v as DrainTriggerInboxErrorObserver, ab as DynamicListResolver, ac as DynamicSearchResolver, eQ as EnhancedErrorEventData, bS as ErrorOptions, dH as EventCallback, eO as EventContext, eL as EventEmissionConfig, eN as EventEmissionProvides, ci as FetchPluginProvides, J as Field, bJ as FieldsProperty, bh as FieldsPropertySchema, ad as FieldsResolver, y as FindFirstAuthenticationPluginProvides, cI as FindFirstConnectionPluginProvides, z as FindUniqueAuthenticationPluginProvides, cK as FindUniqueConnectionPluginProvides, a6 as FormattedItem, au as FunctionDeprecation, at as FunctionRegistryEntry, cs as GetActionInputFieldsSchemaPluginProvides, cE as GetActionPluginProvides, cC as GetAppPluginProvides, x as GetAuthenticationPluginProvides, cG as GetConnectionPluginProvides, cY as GetProfilePluginProvides, ep as GetTablePluginProvides, eB as GetTableRecordPluginProvides, aV as InfoFieldItem, aU as InputFieldItem, bv as InputFieldProperty, b3 as InputFieldPropertySchema, bz as InputsProperty, b7 as InputsPropertySchema, aQ as JsonSseMessage, bR as LeaseLimitProperty, bp as LeaseLimitPropertySchema, bP as LeaseProperty, bn as LeasePropertySchema, bQ as LeaseSecondsProperty, bo as LeaseSecondsPropertySchema, L as LeasedTriggerMessageItem, bA as LimitProperty, b8 as LimitPropertySchema, cq as ListActionInputFieldChoicesPluginProvides, co as ListActionInputFieldsPluginProvides, cm as ListActionsPluginProvides, ck as ListAppsPluginProvides, w as ListAuthenticationsPluginProvides, cw as ListClientCredentialsPluginProvides, cu as ListConnectionsPluginProvides, ev as ListTableFieldsPluginProvides, eD as ListTableRecordsPluginProvides, en as ListTablesPluginProvides, dG as LoadingEvent, ee as MAX_CONCURRENCY_LIMIT, e9 as MAX_PAGE_LIMIT, cW as ManifestEntry, cR as ManifestPluginOptions, cU as ManifestPluginProvides, eY as MethodCalledEvent, eR as MethodCalledEventData, N as Need, X as NeedsRequest, Y as NeedsResponse, bB as OffsetProperty, b9 as OffsetPropertySchema, bC as OutputProperty, ba as OutputPropertySchema, aZ as PaginatedSdkFunction, bE as ParamsProperty, bc as ParamsPropertySchema, dM as PkceCredentialsObject, dX as PkceCredentialsObjectSchema, aB as Plugin, aC as PluginProvides, aL as PollOptions, c5 as RateLimitInfo, bH as RecordProperty, bf as RecordPropertySchema, bI as RecordsProperty, bg as RecordsPropertySchema, ao as RelayFetchSchema, an as RelayRequestSchema, aK as RequestOptions, cQ as RequestPluginProvides, dr as ResolveAuthTokenOptions, dR as ResolveCredentialsOptions, dJ as ResolvedCredentials, dZ as ResolvedCredentialsSchema, a7 as Resolver, a9 as ResolverMetadata, aW as RootFieldItem, cO as RunActionPluginProvides, dD as SdkEvent, aY as SdkPage, aP as SseMessage, aa as StaticResolver, bG as TableProperty, be as TablePropertySchema, bL as TablesProperty, bj as TablesPropertySchema, bO as TriggerInboxNameProperty, bm as TriggerInboxNamePropertySchema, bN as TriggerInboxProperty, bl as TriggerInboxPropertySchema, T as TriggerMessageStatus, eJ as UpdateTableRecordsPluginProvides, a0 as UserProfile, aX as UserProfileItem, e7 as ZAPIER_BASE_URL, eg as ZAPIER_MAX_CONCURRENT_REQUESTS, ec as ZAPIER_MAX_NETWORK_RETRIES, ed as ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, s as ZapierAbortDrainSignal, c3 as ZapierActionError, bY as ZapierApiError, bZ as ZapierAppNotFoundError, c8 as ZapierApprovalError, bW as ZapierAuthenticationError, c1 as ZapierBundleError, dz as ZapierCache, dA as ZapierCacheEntry, dB as ZapierCacheSetOptions, c0 as ZapierConfigurationError, c4 as ZapierConflictError, bT as ZapierError, b_ as ZapierNotFoundError, c6 as ZapierRateLimitError, c9 as ZapierRelayError, t as ZapierReleaseTriggerMessageSignal, b$ as ZapierResourceNotFoundError, cc as ZapierSignal, c2 as ZapierTimeoutError, bV as ZapierUnknownError, bU as ZapierValidationError, d2 as actionKeyResolver, d1 as actionTypeResolver, a5 as addPlugin, c_ as apiPlugin, d0 as appKeyResolver, cd as appsPlugin, d4 as authenticationIdGenericResolver, d3 as authenticationIdResolver, ai as batch, eS as buildApplicationLifecycleEvent, ak as buildCapabilityMessage, eU as buildErrorEvent, eT as buildErrorEventWithContext, eW as buildMethodCalledEvent, eK as cleanupEventListeners, ds as clearTokenCache, d8 as clientCredentialsNameResolver, d9 as clientIdResolver, aG as composePlugins, d4 as connectionIdGenericResolver, d3 as connectionIdResolver, e5 as connectionsPlugin, eV as createBaseEvent, cx as createClientCredentialsPlugin, a4 as createCorePlugin, a2 as createFunction, dC as createMemoryCache, ar as createOptionsPlugin, aF as createPaginatedPluginMethod, aE as createPluginMethod, a3 as createPluginStack, aq as createSdk, ew as createTableFieldsPlugin, eq as createTablePlugin, eE as createTableRecordsPlugin, aM as createZapierApi, as as createZapierCoreStack, ap as createZapierSdkWithoutRegistry, aD as definePlugin, cz as deleteClientCredentialsPlugin, ey as deleteTableFieldsPlugin, es as deleteTablePlugin, eG as deleteTableRecordsPlugin, dd as durableRunIdResolver, eM as eventEmissionPlugin, ch as fetchPlugin, cH as findFirstConnectionPlugin, cJ as findUniqueConnectionPlugin, ca as formatErrorMessage, eZ as generateEventId, cr as getActionInputFieldsSchemaPlugin, cD as getActionPlugin, f7 as getAgent, cB as getAppPlugin, dU as getBaseUrlFromCredentials, f3 as getCiPlatform, dV as getClientIdFromCredentials, cF as getConnectionPlugin, ay as getCoreErrorCause, ax as getCoreErrorCode, f5 as getCpuTime, e_ as getCurrentTimestamp, f4 as getMemoryUsage, aN as getOrCreateApiClient, f0 as getOsInfo, f1 as getPlatformVersions, cS as getPreferredManifestEntryKey, cX as getProfilePlugin, e$ as getReleaseId, eo as getTablePlugin, eA as getTableRecordPlugin, dw as getTokenFromCliLogin, f6 as getTtyContext, eh as getZapierApprovalMode, ej as getZapierDefaultApprovalMode, ei as getZapierOpenAutoModeApprovalsInBrowser, e8 as getZapierSdkService, du as injectCliLogin, d7 as inputFieldKeyResolver, d6 as inputsAllOptionalResolver, d5 as inputsResolver, dt as invalidateCachedToken, dy as invalidateCredentialsToken, f2 as isCi, dv as isCliLoginAvailable, dN as isClientCredentials, aw as isCoreError, dQ as isCredentialsFunction, dP as isCredentialsObject, aO as isPermanentHttpError, dO as isPkceCredentials, a1 as isPositional, cp as listActionInputFieldChoicesPlugin, cn as listActionInputFieldsPlugin, cl as listActionsPlugin, cj as listAppsPlugin, cv as listClientCredentialsPlugin, ct as listConnectionsPlugin, eu as listTableFieldsPlugin, eC as listTableRecordsPlugin, em as listTablesPlugin, al as logDeprecation, cT as manifestPlugin, ef as parseConcurrencyEnvVar, aJ as registryPlugin, cP as requestPlugin, am as resetDeprecationWarnings, dx as resolveAuthToken, dT as resolveCredentials, dS as resolveCredentialsFromEnv, cN as runActionPlugin, ae as runInMethodScope, af as runWithTelemetryContext, dj as tableFieldIdsResolver, dl as tableFieldsResolver, dp as tableFiltersResolver, da as tableIdResolver, dk as tableNameResolver, dh as tableRecordIdResolver, di as tableRecordIdsResolver, dm as tableRecordsResolver, dq as tableSortResolver, dn as tableUpdateRecordsResolver, ag as toSnakeCase, ah as toTitleCase, db as triggerInboxResolver, dg as triggerMessagesResolver, eI as updateTableRecordsPlugin, dc as workflowIdResolver, df as workflowRunIdResolver, de as workflowVersionIdResolver, bX as zapierAdaptError } from './index-B43uST61.mjs';
|
|
3
3
|
import * as zod_v4_core from 'zod/v4/core';
|
|
4
4
|
import * as zod from 'zod';
|
|
5
5
|
import '@zapier/zapier-sdk-core/v0/schemas/connections';
|
|
@@ -427,6 +427,48 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
|
|
|
427
427
|
findUniqueConnection: PluginMeta<unknown>;
|
|
428
428
|
};
|
|
429
429
|
};
|
|
430
|
+
} & {
|
|
431
|
+
getConnectionStartUrl: (options?: {
|
|
432
|
+
app: string;
|
|
433
|
+
} | undefined) => Promise<{
|
|
434
|
+
data: GetConnectionStartUrlItem;
|
|
435
|
+
}>;
|
|
436
|
+
} & {
|
|
437
|
+
context: {
|
|
438
|
+
meta: {
|
|
439
|
+
getConnectionStartUrl: PluginMeta<unknown>;
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
} & {
|
|
443
|
+
waitForNewConnection: (options?: {
|
|
444
|
+
app: string;
|
|
445
|
+
startedAt: number;
|
|
446
|
+
timeoutMs?: number | undefined;
|
|
447
|
+
pollIntervalMs?: number | undefined;
|
|
448
|
+
} | undefined) => Promise<{
|
|
449
|
+
data: WaitForNewConnectionItem;
|
|
450
|
+
}>;
|
|
451
|
+
} & {
|
|
452
|
+
context: {
|
|
453
|
+
meta: {
|
|
454
|
+
waitForNewConnection: PluginMeta<unknown>;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
} & {
|
|
458
|
+
createConnection: (options?: {
|
|
459
|
+
app: string;
|
|
460
|
+
browser: "never" | "auto" | "always";
|
|
461
|
+
timeoutMs?: number | undefined;
|
|
462
|
+
pollIntervalMs?: number | undefined;
|
|
463
|
+
} | undefined) => Promise<{
|
|
464
|
+
data: CreateConnectionItem;
|
|
465
|
+
}>;
|
|
466
|
+
} & {
|
|
467
|
+
context: {
|
|
468
|
+
meta: {
|
|
469
|
+
createConnection: PluginMeta<unknown>;
|
|
470
|
+
};
|
|
471
|
+
};
|
|
430
472
|
} & {
|
|
431
473
|
listActions: (options?: (({
|
|
432
474
|
app: string;
|
|
@@ -2611,6 +2653,7 @@ declare function createZapierSdkStack(options?: ZapierSdkOptions): PluginStack<o
|
|
|
2611
2653
|
createWorkflow: (options?: {
|
|
2612
2654
|
name: string;
|
|
2613
2655
|
description?: string | undefined;
|
|
2656
|
+
private?: boolean | undefined;
|
|
2614
2657
|
is_private?: boolean | undefined;
|
|
2615
2658
|
} | undefined) => Promise<{
|
|
2616
2659
|
data: {
|
|
@@ -3510,6 +3553,48 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
|
|
|
3510
3553
|
findUniqueConnection: PluginMeta<unknown>;
|
|
3511
3554
|
};
|
|
3512
3555
|
};
|
|
3556
|
+
} & {
|
|
3557
|
+
getConnectionStartUrl: (options?: {
|
|
3558
|
+
app: string;
|
|
3559
|
+
} | undefined) => Promise<{
|
|
3560
|
+
data: GetConnectionStartUrlItem;
|
|
3561
|
+
}>;
|
|
3562
|
+
} & {
|
|
3563
|
+
context: {
|
|
3564
|
+
meta: {
|
|
3565
|
+
getConnectionStartUrl: PluginMeta<unknown>;
|
|
3566
|
+
};
|
|
3567
|
+
};
|
|
3568
|
+
} & {
|
|
3569
|
+
waitForNewConnection: (options?: {
|
|
3570
|
+
app: string;
|
|
3571
|
+
startedAt: number;
|
|
3572
|
+
timeoutMs?: number | undefined;
|
|
3573
|
+
pollIntervalMs?: number | undefined;
|
|
3574
|
+
} | undefined) => Promise<{
|
|
3575
|
+
data: WaitForNewConnectionItem;
|
|
3576
|
+
}>;
|
|
3577
|
+
} & {
|
|
3578
|
+
context: {
|
|
3579
|
+
meta: {
|
|
3580
|
+
waitForNewConnection: PluginMeta<unknown>;
|
|
3581
|
+
};
|
|
3582
|
+
};
|
|
3583
|
+
} & {
|
|
3584
|
+
createConnection: (options?: {
|
|
3585
|
+
app: string;
|
|
3586
|
+
browser: "never" | "auto" | "always";
|
|
3587
|
+
timeoutMs?: number | undefined;
|
|
3588
|
+
pollIntervalMs?: number | undefined;
|
|
3589
|
+
} | undefined) => Promise<{
|
|
3590
|
+
data: CreateConnectionItem;
|
|
3591
|
+
}>;
|
|
3592
|
+
} & {
|
|
3593
|
+
context: {
|
|
3594
|
+
meta: {
|
|
3595
|
+
createConnection: PluginMeta<unknown>;
|
|
3596
|
+
};
|
|
3597
|
+
};
|
|
3513
3598
|
} & {
|
|
3514
3599
|
listActions: (options?: (({
|
|
3515
3600
|
app: string;
|
|
@@ -5694,6 +5779,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<obje
|
|
|
5694
5779
|
createWorkflow: (options?: {
|
|
5695
5780
|
name: string;
|
|
5696
5781
|
description?: string | undefined;
|
|
5782
|
+
private?: boolean | undefined;
|
|
5697
5783
|
is_private?: boolean | undefined;
|
|
5698
5784
|
} | undefined) => Promise<{
|
|
5699
5785
|
data: {
|
package/dist/experimental.d.ts
CHANGED
|
@@ -442,6 +442,48 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
|
|
|
442
442
|
findUniqueConnection: PluginMeta<unknown>;
|
|
443
443
|
};
|
|
444
444
|
};
|
|
445
|
+
} & {
|
|
446
|
+
getConnectionStartUrl: (options?: {
|
|
447
|
+
app: string;
|
|
448
|
+
} | undefined) => Promise<{
|
|
449
|
+
data: import("./plugins/getConnectionStartUrl/schemas").GetConnectionStartUrlItem;
|
|
450
|
+
}>;
|
|
451
|
+
} & {
|
|
452
|
+
context: {
|
|
453
|
+
meta: {
|
|
454
|
+
getConnectionStartUrl: PluginMeta<unknown>;
|
|
455
|
+
};
|
|
456
|
+
};
|
|
457
|
+
} & {
|
|
458
|
+
waitForNewConnection: (options?: {
|
|
459
|
+
app: string;
|
|
460
|
+
startedAt: number;
|
|
461
|
+
timeoutMs?: number | undefined;
|
|
462
|
+
pollIntervalMs?: number | undefined;
|
|
463
|
+
} | undefined) => Promise<{
|
|
464
|
+
data: import("./plugins/waitForNewConnection/schemas").WaitForNewConnectionItem;
|
|
465
|
+
}>;
|
|
466
|
+
} & {
|
|
467
|
+
context: {
|
|
468
|
+
meta: {
|
|
469
|
+
waitForNewConnection: PluginMeta<unknown>;
|
|
470
|
+
};
|
|
471
|
+
};
|
|
472
|
+
} & {
|
|
473
|
+
createConnection: (options?: {
|
|
474
|
+
app: string;
|
|
475
|
+
browser: "never" | "auto" | "always";
|
|
476
|
+
timeoutMs?: number | undefined;
|
|
477
|
+
pollIntervalMs?: number | undefined;
|
|
478
|
+
} | undefined) => Promise<{
|
|
479
|
+
data: import("./plugins/createConnection/schemas").CreateConnectionItem;
|
|
480
|
+
}>;
|
|
481
|
+
} & {
|
|
482
|
+
context: {
|
|
483
|
+
meta: {
|
|
484
|
+
createConnection: PluginMeta<unknown>;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
445
487
|
} & {
|
|
446
488
|
listActions: (options?: (({
|
|
447
489
|
app: string;
|
|
@@ -2558,7 +2600,7 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
|
|
|
2558
2600
|
triggers: {
|
|
2559
2601
|
selected_api: string;
|
|
2560
2602
|
action: string;
|
|
2561
|
-
status: "pending" | "active" | "unclaimed" | "releasing" | "released"
|
|
2603
|
+
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
2562
2604
|
authentication_id?: string | null | undefined;
|
|
2563
2605
|
params?: Record<string, unknown> | undefined;
|
|
2564
2606
|
}[];
|
|
@@ -2586,7 +2628,7 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
|
|
|
2586
2628
|
triggers: {
|
|
2587
2629
|
selected_api: string;
|
|
2588
2630
|
action: string;
|
|
2589
|
-
status: "pending" | "active" | "unclaimed" | "releasing" | "released"
|
|
2631
|
+
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
2590
2632
|
authentication_id?: string | null | undefined;
|
|
2591
2633
|
params?: Record<string, unknown> | undefined;
|
|
2592
2634
|
}[];
|
|
@@ -2626,6 +2668,7 @@ export declare function createZapierSdkStack(options?: ZapierSdkOptions): import
|
|
|
2626
2668
|
createWorkflow: (options?: {
|
|
2627
2669
|
name: string;
|
|
2628
2670
|
description?: string | undefined;
|
|
2671
|
+
private?: boolean | undefined;
|
|
2629
2672
|
is_private?: boolean | undefined;
|
|
2630
2673
|
} | undefined) => Promise<{
|
|
2631
2674
|
data: {
|
|
@@ -3525,6 +3568,48 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
|
|
|
3525
3568
|
findUniqueConnection: PluginMeta<unknown>;
|
|
3526
3569
|
};
|
|
3527
3570
|
};
|
|
3571
|
+
} & {
|
|
3572
|
+
getConnectionStartUrl: (options?: {
|
|
3573
|
+
app: string;
|
|
3574
|
+
} | undefined) => Promise<{
|
|
3575
|
+
data: import("./plugins/getConnectionStartUrl/schemas").GetConnectionStartUrlItem;
|
|
3576
|
+
}>;
|
|
3577
|
+
} & {
|
|
3578
|
+
context: {
|
|
3579
|
+
meta: {
|
|
3580
|
+
getConnectionStartUrl: PluginMeta<unknown>;
|
|
3581
|
+
};
|
|
3582
|
+
};
|
|
3583
|
+
} & {
|
|
3584
|
+
waitForNewConnection: (options?: {
|
|
3585
|
+
app: string;
|
|
3586
|
+
startedAt: number;
|
|
3587
|
+
timeoutMs?: number | undefined;
|
|
3588
|
+
pollIntervalMs?: number | undefined;
|
|
3589
|
+
} | undefined) => Promise<{
|
|
3590
|
+
data: import("./plugins/waitForNewConnection/schemas").WaitForNewConnectionItem;
|
|
3591
|
+
}>;
|
|
3592
|
+
} & {
|
|
3593
|
+
context: {
|
|
3594
|
+
meta: {
|
|
3595
|
+
waitForNewConnection: PluginMeta<unknown>;
|
|
3596
|
+
};
|
|
3597
|
+
};
|
|
3598
|
+
} & {
|
|
3599
|
+
createConnection: (options?: {
|
|
3600
|
+
app: string;
|
|
3601
|
+
browser: "never" | "auto" | "always";
|
|
3602
|
+
timeoutMs?: number | undefined;
|
|
3603
|
+
pollIntervalMs?: number | undefined;
|
|
3604
|
+
} | undefined) => Promise<{
|
|
3605
|
+
data: import("./plugins/createConnection/schemas").CreateConnectionItem;
|
|
3606
|
+
}>;
|
|
3607
|
+
} & {
|
|
3608
|
+
context: {
|
|
3609
|
+
meta: {
|
|
3610
|
+
createConnection: PluginMeta<unknown>;
|
|
3611
|
+
};
|
|
3612
|
+
};
|
|
3528
3613
|
} & {
|
|
3529
3614
|
listActions: (options?: (({
|
|
3530
3615
|
app: string;
|
|
@@ -5641,7 +5726,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
|
|
|
5641
5726
|
triggers: {
|
|
5642
5727
|
selected_api: string;
|
|
5643
5728
|
action: string;
|
|
5644
|
-
status: "pending" | "active" | "unclaimed" | "releasing" | "released"
|
|
5729
|
+
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
5645
5730
|
authentication_id?: string | null | undefined;
|
|
5646
5731
|
params?: Record<string, unknown> | undefined;
|
|
5647
5732
|
}[];
|
|
@@ -5669,7 +5754,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
|
|
|
5669
5754
|
triggers: {
|
|
5670
5755
|
selected_api: string;
|
|
5671
5756
|
action: string;
|
|
5672
|
-
status: "pending" | "active" | "unclaimed" | "releasing" | "released"
|
|
5757
|
+
status: "failed" | "pending" | "active" | "unclaimed" | "releasing" | "released";
|
|
5673
5758
|
authentication_id?: string | null | undefined;
|
|
5674
5759
|
params?: Record<string, unknown> | undefined;
|
|
5675
5760
|
}[];
|
|
@@ -5709,6 +5794,7 @@ export declare function createZapierSdk(options?: ZapierSdkOptions): import("kit
|
|
|
5709
5794
|
createWorkflow: (options?: {
|
|
5710
5795
|
name: string;
|
|
5711
5796
|
description?: string | undefined;
|
|
5797
|
+
private?: boolean | undefined;
|
|
5712
5798
|
is_private?: boolean | undefined;
|
|
5713
5799
|
} | undefined) => Promise<{
|
|
5714
5800
|
data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"experimental.d.ts","sourceRoot":"","sources":["../src/experimental.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAhBhhD;AASD,MAAM,WAAW,SAAU,SAAQ,UAAU,CAAC,OAAO,eAAe,CAAC;CAAG;AAMxE,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/experimental.js
CHANGED
|
@@ -35,6 +35,9 @@ import { listConnectionsPlugin } from "./plugins/listConnections";
|
|
|
35
35
|
import { getConnectionPlugin } from "./plugins/getConnection";
|
|
36
36
|
import { findFirstConnectionPlugin } from "./plugins/findFirstConnection";
|
|
37
37
|
import { findUniqueConnectionPlugin } from "./plugins/findUniqueConnection";
|
|
38
|
+
import { getConnectionStartUrlPlugin } from "./plugins/getConnectionStartUrl";
|
|
39
|
+
import { waitForNewConnectionPlugin } from "./plugins/waitForNewConnection";
|
|
40
|
+
import { createConnectionPlugin } from "./plugins/createConnection";
|
|
38
41
|
import { listAuthenticationsPlugin, getAuthenticationPlugin, findFirstAuthenticationPlugin, findUniqueAuthenticationPlugin, } from "./plugins/deprecated/authentications";
|
|
39
42
|
import { listClientCredentialsPlugin } from "./plugins/listClientCredentials";
|
|
40
43
|
import { createClientCredentialsPlugin } from "./plugins/createClientCredentials";
|
|
@@ -129,6 +132,13 @@ export function createZapierSdkStack(options = {}) {
|
|
|
129
132
|
.use(getConnectionPlugin)
|
|
130
133
|
.use(findFirstConnectionPlugin)
|
|
131
134
|
.use(findUniqueConnectionPlugin)
|
|
135
|
+
// Connection creation. `createConnection` composes the two low-level
|
|
136
|
+
// methods at runtime, so register them first. (Stable — also
|
|
137
|
+
// registered in the stable factory; kept here to preserve the
|
|
138
|
+
// full-literal-copy parity enforced by experimental-shape.test.ts.)
|
|
139
|
+
.use(getConnectionStartUrlPlugin)
|
|
140
|
+
.use(waitForNewConnectionPlugin)
|
|
141
|
+
.use(createConnectionPlugin)
|
|
132
142
|
// Actions / fields
|
|
133
143
|
.use(listActionsPlugin)
|
|
134
144
|
.use(getActionPlugin)
|