@zapier/zapier-sdk 0.23.2 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/README.md +29 -56
- package/dist/api/polling.d.ts +7 -0
- package/dist/api/polling.d.ts.map +1 -1
- package/dist/api/polling.js +21 -19
- package/dist/api/polling.test.js +43 -1
- package/dist/constants.d.ts +4 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +4 -0
- package/dist/index.cjs +162 -128
- package/dist/index.d.mts +59 -31
- package/dist/index.mjs +161 -129
- package/dist/plugins/apps/index.d.ts.map +1 -1
- package/dist/plugins/apps/index.js +2 -1
- package/dist/plugins/apps/schemas.d.ts +1 -0
- package/dist/plugins/apps/schemas.d.ts.map +1 -1
- package/dist/plugins/apps/schemas.js +2 -1
- package/dist/plugins/fetch/index.d.ts +13 -5
- package/dist/plugins/fetch/index.d.ts.map +1 -1
- package/dist/plugins/fetch/index.js +85 -33
- package/dist/plugins/fetch/index.test.d.ts +2 -0
- package/dist/plugins/fetch/index.test.d.ts.map +1 -0
- package/dist/plugins/fetch/index.test.js +296 -0
- package/dist/plugins/fetch/schemas.d.ts.map +1 -1
- package/dist/plugins/fetch/schemas.js +10 -5
- package/dist/plugins/registry/index.d.ts.map +1 -1
- package/dist/plugins/registry/index.js +1 -0
- package/dist/plugins/request/index.d.ts +8 -7
- package/dist/plugins/request/index.d.ts.map +1 -1
- package/dist/plugins/request/index.js +15 -55
- package/dist/plugins/request/index.test.js +106 -2
- package/dist/plugins/request/schemas.d.ts +0 -2
- package/dist/plugins/request/schemas.d.ts.map +1 -1
- package/dist/plugins/request/schemas.js +0 -3
- package/dist/plugins/runAction/index.d.ts.map +1 -1
- package/dist/plugins/runAction/index.js +5 -3
- package/dist/plugins/runAction/index.test.js +16 -0
- package/dist/plugins/runAction/schemas.d.ts +1 -0
- package/dist/plugins/runAction/schemas.d.ts.map +1 -1
- package/dist/plugins/runAction/schemas.js +2 -1
- package/dist/schemas/Action.d.ts +1 -1
- package/dist/sdk.d.ts +8 -7
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +2 -2
- package/dist/types/plugin.d.ts +6 -0
- package/dist/types/plugin.d.ts.map +1 -1
- package/dist/types/properties.d.ts +2 -0
- package/dist/types/properties.d.ts.map +1 -1
- package/dist/types/properties.js +6 -1
- package/dist/types/sdk.d.ts +6 -0
- package/dist/types/sdk.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -60,6 +60,12 @@ interface PluginProvides extends Record<string, any> {
|
|
|
60
60
|
context?: Record<string, any>;
|
|
61
61
|
}
|
|
62
62
|
interface PluginMeta {
|
|
63
|
+
/**
|
|
64
|
+
* Human-readable description of the plugin function. Used by the CLI (help text),
|
|
65
|
+
* MCP (tool description), and README generators. When omitted, falls back to
|
|
66
|
+
* the inputSchema's `.describe()` value or a generic placeholder.
|
|
67
|
+
*/
|
|
68
|
+
description?: string;
|
|
63
69
|
categories: string[];
|
|
64
70
|
type?: "list" | "item" | "create" | "delete";
|
|
65
71
|
itemType?: string;
|
|
@@ -1128,7 +1134,6 @@ declare const RelayRequestSchema: z.ZodObject<{
|
|
|
1128
1134
|
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
1129
1135
|
authenticationTemplate: z.ZodOptional<z.ZodString>;
|
|
1130
1136
|
headers: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodCustom<Headers, Headers>, z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>]>>;
|
|
1131
|
-
relayBaseUrl: z.ZodOptional<z.ZodString>;
|
|
1132
1137
|
_telemetry: z.ZodOptional<z.ZodObject<{
|
|
1133
1138
|
isNested: z.ZodOptional<z.ZodBoolean>;
|
|
1134
1139
|
}, z.core.$strip>>;
|
|
@@ -1150,7 +1155,6 @@ declare const RelayFetchSchema: z.ZodObject<{
|
|
|
1150
1155
|
callbackUrl: z.ZodOptional<z.ZodString>;
|
|
1151
1156
|
authenticationTemplate: z.ZodOptional<z.ZodString>;
|
|
1152
1157
|
headers: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodCustom<Headers, Headers>, z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>]>>;
|
|
1153
|
-
relayBaseUrl: z.ZodOptional<z.ZodString>;
|
|
1154
1158
|
_telemetry: z.ZodOptional<z.ZodObject<{
|
|
1155
1159
|
isNested: z.ZodOptional<z.ZodBoolean>;
|
|
1156
1160
|
}, z.core.$strip>>;
|
|
@@ -1226,6 +1230,7 @@ declare const OffsetPropertySchema: z.ZodDefault<z.ZodNumber>;
|
|
|
1226
1230
|
declare const OutputPropertySchema: z.ZodString;
|
|
1227
1231
|
declare const DebugPropertySchema: z.ZodDefault<z.ZodBoolean>;
|
|
1228
1232
|
declare const ParamsPropertySchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1233
|
+
declare const ActionTimeoutMsPropertySchema: z.ZodOptional<z.ZodNumber>;
|
|
1229
1234
|
type AppKeyProperty = z.infer<typeof AppKeyPropertySchema>;
|
|
1230
1235
|
type ActionTypeProperty = z.infer<typeof ActionTypePropertySchema>;
|
|
1231
1236
|
type ActionKeyProperty = z.infer<typeof ActionKeyPropertySchema>;
|
|
@@ -1236,10 +1241,12 @@ type OffsetProperty = z.infer<typeof OffsetPropertySchema>;
|
|
|
1236
1241
|
type OutputProperty = z.infer<typeof OutputPropertySchema>;
|
|
1237
1242
|
type DebugProperty = z.infer<typeof DebugPropertySchema>;
|
|
1238
1243
|
type ParamsProperty = z.infer<typeof ParamsPropertySchema>;
|
|
1244
|
+
type ActionTimeoutMsProperty = z.infer<typeof ActionTimeoutMsPropertySchema>;
|
|
1239
1245
|
|
|
1240
1246
|
declare const ActionExecutionInputSchema: z.ZodObject<{
|
|
1241
1247
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1242
1248
|
authenticationId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
|
|
1249
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1243
1250
|
}, z.core.$strip>;
|
|
1244
1251
|
type ActionExecutionOptions = z.infer<typeof ActionExecutionInputSchema>;
|
|
1245
1252
|
declare const AppFactoryInputSchema: z.ZodObject<{
|
|
@@ -1276,32 +1283,19 @@ interface ActionProxy {
|
|
|
1276
1283
|
[app: string]: AppProxyWithFactory;
|
|
1277
1284
|
}
|
|
1278
1285
|
|
|
1279
|
-
interface RequestPluginProvides {
|
|
1280
|
-
request: (options: RelayRequestOptions) => Promise<Response>;
|
|
1281
|
-
context: {
|
|
1282
|
-
meta: {
|
|
1283
|
-
request: {
|
|
1284
|
-
inputSchema: typeof RelayRequestSchema;
|
|
1285
|
-
};
|
|
1286
|
-
};
|
|
1287
|
-
};
|
|
1288
|
-
}
|
|
1289
|
-
declare const requestPlugin: Plugin<{}, // no SDK dependencies
|
|
1290
|
-
// no SDK dependencies
|
|
1291
|
-
{
|
|
1292
|
-
api: ApiClient;
|
|
1293
|
-
} & EventEmissionContext, // requires api in context
|
|
1294
|
-
RequestPluginProvides>;
|
|
1295
|
-
|
|
1296
1286
|
interface FetchPluginProvides {
|
|
1297
1287
|
fetch: (url: string | URL, init?: RequestInit & {
|
|
1298
1288
|
authenticationId?: string | number;
|
|
1299
1289
|
callbackUrl?: string;
|
|
1300
1290
|
authenticationTemplate?: string;
|
|
1291
|
+
_telemetry?: {
|
|
1292
|
+
isNested?: boolean;
|
|
1293
|
+
};
|
|
1301
1294
|
}) => Promise<Response>;
|
|
1302
1295
|
context: {
|
|
1303
1296
|
meta: {
|
|
1304
1297
|
fetch: {
|
|
1298
|
+
description: string;
|
|
1305
1299
|
packages: string[];
|
|
1306
1300
|
categories: string[];
|
|
1307
1301
|
returnType: string;
|
|
@@ -1314,10 +1308,14 @@ interface FetchPluginProvides {
|
|
|
1314
1308
|
};
|
|
1315
1309
|
}
|
|
1316
1310
|
/**
|
|
1317
|
-
*
|
|
1311
|
+
* Fetch plugin — the primary way to make authenticated HTTP requests through Zapier's Relay service.
|
|
1312
|
+
* Mirrors the native fetch(url, init?) signature with additional Zapier-specific options.
|
|
1318
1313
|
*/
|
|
1319
|
-
declare const fetchPlugin: Plugin<
|
|
1320
|
-
|
|
1314
|
+
declare const fetchPlugin: Plugin<{}, // no SDK dependencies
|
|
1315
|
+
// no SDK dependencies
|
|
1316
|
+
{
|
|
1317
|
+
api: ApiClient;
|
|
1318
|
+
} & EventEmissionContext, // requires api + eventEmission in context
|
|
1321
1319
|
FetchPluginProvides>;
|
|
1322
1320
|
type ZapierFetchInitOptions = RequestInit & {
|
|
1323
1321
|
authenticationId?: string | number;
|
|
@@ -1342,6 +1340,7 @@ declare const RunActionSchema: z.ZodObject<{
|
|
|
1342
1340
|
actionKey: z.ZodString;
|
|
1343
1341
|
authenticationId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1344
1342
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1343
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1345
1344
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
1346
1345
|
maxItems: z.ZodOptional<z.ZodNumber>;
|
|
1347
1346
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -1825,6 +1824,24 @@ interface ListInputFieldChoicesPluginProvides {
|
|
|
1825
1824
|
};
|
|
1826
1825
|
}
|
|
1827
1826
|
|
|
1827
|
+
interface RequestPluginProvides {
|
|
1828
|
+
request: (options: RelayRequestOptions) => Promise<Response>;
|
|
1829
|
+
context: {
|
|
1830
|
+
meta: {
|
|
1831
|
+
request: {
|
|
1832
|
+
inputSchema: typeof RelayRequestSchema;
|
|
1833
|
+
};
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
}
|
|
1837
|
+
/**
|
|
1838
|
+
* @deprecated Use `sdk.fetch(url, init?)` instead. This plugin now delegates to the fetch plugin
|
|
1839
|
+
* and is kept only for backward compatibility. It is hidden from the CLI/MCP registries.
|
|
1840
|
+
*/
|
|
1841
|
+
declare const requestPlugin: Plugin<GetSdkType<FetchPluginProvides>, // requires fetch in SDK
|
|
1842
|
+
EventEmissionContext, // requires eventEmission context for telemetry
|
|
1843
|
+
RequestPluginProvides>;
|
|
1844
|
+
|
|
1828
1845
|
/**
|
|
1829
1846
|
* SDK-related types and interfaces
|
|
1830
1847
|
*/
|
|
@@ -1854,6 +1871,12 @@ interface BaseSdkOptions {
|
|
|
1854
1871
|
|
|
1855
1872
|
interface FunctionRegistryEntry {
|
|
1856
1873
|
name: string;
|
|
1874
|
+
/**
|
|
1875
|
+
* Human-readable description of the function. Surfaced as CLI help text,
|
|
1876
|
+
* MCP tool description, and README documentation. Prefer providing this
|
|
1877
|
+
* directly rather than relying solely on inputSchema.describe().
|
|
1878
|
+
*/
|
|
1879
|
+
description?: string;
|
|
1857
1880
|
type?: "list" | "item" | "create" | "delete";
|
|
1858
1881
|
itemType?: string;
|
|
1859
1882
|
returnType?: string;
|
|
@@ -2081,9 +2104,9 @@ declare const AuthItemSchema: z.ZodObject<{
|
|
|
2081
2104
|
type AuthItem = z.infer<typeof AuthItemSchema>;
|
|
2082
2105
|
|
|
2083
2106
|
declare const ActionItemSchema: z.ZodObject<{
|
|
2107
|
+
description: z.ZodString;
|
|
2084
2108
|
key: z.ZodString;
|
|
2085
2109
|
id: z.ZodOptional<z.ZodString>;
|
|
2086
|
-
description: z.ZodString;
|
|
2087
2110
|
is_important: z.ZodOptional<z.ZodBoolean>;
|
|
2088
2111
|
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2089
2112
|
app_key: z.ZodString;
|
|
@@ -2506,6 +2529,10 @@ declare const ZAPIER_BASE_URL: string;
|
|
|
2506
2529
|
* Maximum number of items that can be requested per page across all paginated functions
|
|
2507
2530
|
*/
|
|
2508
2531
|
declare const MAX_PAGE_LIMIT = 10000;
|
|
2532
|
+
/**
|
|
2533
|
+
* Default timeout for action execution (in milliseconds)
|
|
2534
|
+
*/
|
|
2535
|
+
declare const DEFAULT_ACTION_TIMEOUT_MS = 180000;
|
|
2509
2536
|
/**
|
|
2510
2537
|
* Credentials from environment variables
|
|
2511
2538
|
*/
|
|
@@ -2533,7 +2560,7 @@ declare function createSdk<TCurrentSdk = {}, TCurrentContext extends {
|
|
|
2533
2560
|
getContext(): TCurrentContext;
|
|
2534
2561
|
}, TRequiresContext, TProvides>, addPluginOptions?: Record<string, unknown>): Sdk<TCurrentSdk & ExtractSdkProperties<TProvides>, TCurrentContext & NonNullable<ExtractContextProperties<TProvides>>>;
|
|
2535
2562
|
};
|
|
2536
|
-
declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk<ExtractSdkProperties<EventEmissionProvides> & ExtractSdkProperties<ApiPluginProvides> & ExtractSdkProperties<ManifestPluginProvides> & ExtractSdkProperties<ListAppsPluginProvides> & ExtractSdkProperties<GetAppPluginProvides> & ExtractSdkProperties<ListActionsPluginProvides> & ExtractSdkProperties<GetActionPluginProvides> & ExtractSdkProperties<ListInputFieldsPluginProvides> & ExtractSdkProperties<GetInputFieldsSchemaPluginProvides> & ExtractSdkProperties<ListInputFieldChoicesPluginProvides> & ExtractSdkProperties<RunActionPluginProvides> & ExtractSdkProperties<ListAuthenticationsPluginProvides> & ExtractSdkProperties<GetAuthenticationPluginProvides> & ExtractSdkProperties<FindFirstAuthenticationPluginProvides> & ExtractSdkProperties<FindUniqueAuthenticationPluginProvides> & ExtractSdkProperties<ListClientCredentialsPluginProvides> & ExtractSdkProperties<CreateClientCredentialsPluginProvides> & ExtractSdkProperties<DeleteClientCredentialsPluginProvides> & ExtractSdkProperties<
|
|
2563
|
+
declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk<ExtractSdkProperties<EventEmissionProvides> & ExtractSdkProperties<ApiPluginProvides> & ExtractSdkProperties<ManifestPluginProvides> & ExtractSdkProperties<ListAppsPluginProvides> & ExtractSdkProperties<GetAppPluginProvides> & ExtractSdkProperties<ListActionsPluginProvides> & ExtractSdkProperties<GetActionPluginProvides> & ExtractSdkProperties<ListInputFieldsPluginProvides> & ExtractSdkProperties<GetInputFieldsSchemaPluginProvides> & ExtractSdkProperties<ListInputFieldChoicesPluginProvides> & ExtractSdkProperties<RunActionPluginProvides> & ExtractSdkProperties<ListAuthenticationsPluginProvides> & ExtractSdkProperties<GetAuthenticationPluginProvides> & ExtractSdkProperties<FindFirstAuthenticationPluginProvides> & ExtractSdkProperties<FindUniqueAuthenticationPluginProvides> & ExtractSdkProperties<ListClientCredentialsPluginProvides> & ExtractSdkProperties<CreateClientCredentialsPluginProvides> & ExtractSdkProperties<DeleteClientCredentialsPluginProvides> & ExtractSdkProperties<FetchPluginProvides> & ExtractSdkProperties<RequestPluginProvides> & ExtractSdkProperties<AppsPluginProvides> & ExtractSdkProperties<GetProfilePluginProvides>, {
|
|
2537
2564
|
meta: Record<string, PluginMeta>;
|
|
2538
2565
|
} & EventEmissionContext & {
|
|
2539
2566
|
api: ApiClient;
|
|
@@ -2656,15 +2683,10 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk
|
|
|
2656
2683
|
inputSchema: typeof DeleteClientCredentialsSchema;
|
|
2657
2684
|
};
|
|
2658
2685
|
};
|
|
2659
|
-
} & {
|
|
2660
|
-
meta: {
|
|
2661
|
-
request: {
|
|
2662
|
-
inputSchema: typeof RelayRequestSchema;
|
|
2663
|
-
};
|
|
2664
|
-
};
|
|
2665
2686
|
} & {
|
|
2666
2687
|
meta: {
|
|
2667
2688
|
fetch: {
|
|
2689
|
+
description: string;
|
|
2668
2690
|
packages: string[];
|
|
2669
2691
|
categories: string[];
|
|
2670
2692
|
returnType: string;
|
|
@@ -2674,6 +2696,12 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk
|
|
|
2674
2696
|
}>;
|
|
2675
2697
|
};
|
|
2676
2698
|
};
|
|
2699
|
+
} & {
|
|
2700
|
+
meta: {
|
|
2701
|
+
request: {
|
|
2702
|
+
inputSchema: typeof RelayRequestSchema;
|
|
2703
|
+
};
|
|
2704
|
+
};
|
|
2677
2705
|
} & {
|
|
2678
2706
|
meta: {
|
|
2679
2707
|
getProfile: {
|
|
@@ -2683,4 +2711,4 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Sdk
|
|
|
2683
2711
|
}>;
|
|
2684
2712
|
declare function createZapierSdk(options?: ZapierSdkOptions): ZapierSdk;
|
|
2685
2713
|
|
|
2686
|
-
export { type Action, type ActionEntry, type ActionExecutionOptions, type ActionExecutionResult, type ActionField, type ActionFieldChoice, type ActionItem$1 as ActionItem, type ActionKeyProperty, ActionKeyPropertySchema, type ActionTypeProperty, ActionTypePropertySchema, type AddActionEntryOptions, type AddActionEntryResult, type ApiError, type ApiEvent, type ApiPluginOptions, type ApiPluginProvides, type App, type AppItem, type AppKeyProperty, AppKeyPropertySchema, type ApplicationLifecycleEventData, type AppsPluginProvides, type AuthEvent, type Authentication, type AuthenticationIdProperty, AuthenticationIdPropertySchema, type AuthenticationItem, type AuthenticationsResponse, type BaseEvent, type BatchOptions, type Choice, type ClientCredentialsObject, type CreateClientCredentialsPluginProvides, type Credentials, type CredentialsObject, DEFAULT_CONFIG_PATH, type DebugProperty, DebugPropertySchema, type DeleteClientCredentialsPluginProvides, type EnhancedErrorEventData, type ErrorOptions, type EventCallback, type EventContext, type EventEmissionContext, type FetchPluginProvides, type Field, type FieldsetItem, type FindFirstAuthenticationPluginProvides, type FindUniqueAuthenticationPluginProvides, type FormatMetadata, type FormattedItem, type FunctionOptions, type FunctionRegistryEntry, type GetActionPluginProvides, type GetAppPluginProvides, type GetAuthenticationPluginProvides, type GetContextType, type GetProfilePluginProvides, type GetSdkType, type InfoFieldItem, type InputFieldItem, type InputsProperty, InputsPropertySchema, type LimitProperty, LimitPropertySchema, type ListActionsPluginProvides, type ListAppsPluginProvides, type ListAuthenticationsPluginProvides, type ListClientCredentialsPluginProvides, type ListInputFieldsPluginProvides, type LoadingEvent, MAX_PAGE_LIMIT, type Manifest, type ManifestEntry, type ManifestPluginOptions, type ManifestPluginProvides, type MethodCalledEvent, type MethodCalledEventData, type Need, type NeedsRequest, type NeedsResponse, type OffsetProperty, OffsetPropertySchema, type OutputProperty, OutputPropertySchema, type PaginatedSdkFunction, type ParamsProperty, ParamsPropertySchema, type PkceCredentialsObject, type Plugin, type PluginDependencies, type PluginOptions, type PluginProvides, type PositionalMetadata, RelayFetchSchema, RelayRequestSchema, type RequestPluginProvides, type ResolveAuthTokenOptions, type ResolveCredentialsOptions, type ResolvedCredentials, type RootFieldItem, type RunActionPluginProvides, type Sdk, type SdkEvent, type UpdateManifestEntryOptions, type UpdateManifestEntryResult, type UserProfile, type UserProfileItem, ZAPIER_AUTH_BASE_URL, ZAPIER_AUTH_CLIENT_ID, ZAPIER_BASE_URL, ZAPIER_CREDENTIALS, ZAPIER_CREDENTIALS_BASE_URL, ZAPIER_CREDENTIALS_CLIENT_ID, ZAPIER_CREDENTIALS_CLIENT_SECRET, ZAPIER_CREDENTIALS_SCOPE, ZAPIER_TOKEN, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierError, type ZapierFetchInitOptions, ZapierNotFoundError, ZapierResourceNotFoundError, type ZapierSdk, type ZapierSdkApps, type ZapierSdkOptions, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, appKeyResolver, appsPlugin, authenticationIdGenericResolver, authenticationIdResolver, batch, buildApplicationLifecycleEvent, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, createBaseEvent, createClientCredentialsPlugin, createFunction, createSdk, createZapierSdk, createZapierSdkWithoutRegistry, deleteClientCredentialsPlugin, fetchPlugin, findFirstAuthenticationPlugin, findManifestEntry, findUniqueAuthenticationPlugin, formatErrorMessage, generateEventId, getActionPlugin, getAppPlugin, getAuthenticationPlugin, getBaseUrlFromCredentials, getCiPlatform, getClientIdFromCredentials, getCpuTime, getCurrentTimestamp, getMemoryUsage, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getReleaseId, getTokenFromCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isClientCredentials, isCredentialsFunction, isCredentialsObject, isPkceCredentials, isPositional, listActionsPlugin, listAppsPlugin, listAuthenticationsPlugin, listClientCredentialsPlugin, listInputFieldsPlugin, logDeprecation, manifestPlugin, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, runActionPlugin, toSnakeCase, toTitleCase };
|
|
2714
|
+
export { type Action, type ActionEntry, type ActionExecutionOptions, type ActionExecutionResult, type ActionField, type ActionFieldChoice, type ActionItem$1 as ActionItem, type ActionKeyProperty, ActionKeyPropertySchema, type ActionTimeoutMsProperty, ActionTimeoutMsPropertySchema, type ActionTypeProperty, ActionTypePropertySchema, type AddActionEntryOptions, type AddActionEntryResult, type ApiError, type ApiEvent, type ApiPluginOptions, type ApiPluginProvides, type App, type AppItem, type AppKeyProperty, AppKeyPropertySchema, type ApplicationLifecycleEventData, type AppsPluginProvides, type AuthEvent, type Authentication, type AuthenticationIdProperty, AuthenticationIdPropertySchema, type AuthenticationItem, type AuthenticationsResponse, type BaseEvent, type BatchOptions, type Choice, type ClientCredentialsObject, type CreateClientCredentialsPluginProvides, type Credentials, type CredentialsObject, DEFAULT_ACTION_TIMEOUT_MS, DEFAULT_CONFIG_PATH, type DebugProperty, DebugPropertySchema, type DeleteClientCredentialsPluginProvides, type EnhancedErrorEventData, type ErrorOptions, type EventCallback, type EventContext, type EventEmissionContext, type FetchPluginProvides, type Field, type FieldsetItem, type FindFirstAuthenticationPluginProvides, type FindUniqueAuthenticationPluginProvides, type FormatMetadata, type FormattedItem, type FunctionOptions, type FunctionRegistryEntry, type GetActionPluginProvides, type GetAppPluginProvides, type GetAuthenticationPluginProvides, type GetContextType, type GetProfilePluginProvides, type GetSdkType, type InfoFieldItem, type InputFieldItem, type InputsProperty, InputsPropertySchema, type LimitProperty, LimitPropertySchema, type ListActionsPluginProvides, type ListAppsPluginProvides, type ListAuthenticationsPluginProvides, type ListClientCredentialsPluginProvides, type ListInputFieldsPluginProvides, type LoadingEvent, MAX_PAGE_LIMIT, type Manifest, type ManifestEntry, type ManifestPluginOptions, type ManifestPluginProvides, type MethodCalledEvent, type MethodCalledEventData, type Need, type NeedsRequest, type NeedsResponse, type OffsetProperty, OffsetPropertySchema, type OutputProperty, OutputPropertySchema, type PaginatedSdkFunction, type ParamsProperty, ParamsPropertySchema, type PkceCredentialsObject, type Plugin, type PluginDependencies, type PluginOptions, type PluginProvides, type PositionalMetadata, RelayFetchSchema, RelayRequestSchema, type RequestPluginProvides, type ResolveAuthTokenOptions, type ResolveCredentialsOptions, type ResolvedCredentials, type RootFieldItem, type RunActionPluginProvides, type Sdk, type SdkEvent, type UpdateManifestEntryOptions, type UpdateManifestEntryResult, type UserProfile, type UserProfileItem, ZAPIER_AUTH_BASE_URL, ZAPIER_AUTH_CLIENT_ID, ZAPIER_BASE_URL, ZAPIER_CREDENTIALS, ZAPIER_CREDENTIALS_BASE_URL, ZAPIER_CREDENTIALS_CLIENT_ID, ZAPIER_CREDENTIALS_CLIENT_SECRET, ZAPIER_CREDENTIALS_SCOPE, ZAPIER_TOKEN, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierError, type ZapierFetchInitOptions, ZapierNotFoundError, ZapierResourceNotFoundError, type ZapierSdk, type ZapierSdkApps, type ZapierSdkOptions, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, appKeyResolver, appsPlugin, authenticationIdGenericResolver, authenticationIdResolver, batch, buildApplicationLifecycleEvent, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, createBaseEvent, createClientCredentialsPlugin, createFunction, createSdk, createZapierSdk, createZapierSdkWithoutRegistry, deleteClientCredentialsPlugin, fetchPlugin, findFirstAuthenticationPlugin, findManifestEntry, findUniqueAuthenticationPlugin, formatErrorMessage, generateEventId, getActionPlugin, getAppPlugin, getAuthenticationPlugin, getBaseUrlFromCredentials, getCiPlatform, getClientIdFromCredentials, getCpuTime, getCurrentTimestamp, getMemoryUsage, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getReleaseId, getTokenFromCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isClientCredentials, isCredentialsFunction, isCredentialsObject, isPkceCredentials, isPositional, listActionsPlugin, listAppsPlugin, listAuthenticationsPlugin, listClientCredentialsPlugin, listInputFieldsPlugin, logDeprecation, manifestPlugin, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, runActionPlugin, toSnakeCase, toTitleCase };
|