@zapier/zapier-sdk 0.56.2 → 0.58.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 +12 -0
- package/README.md +28 -20
- package/dist/experimental.cjs +35 -10
- package/dist/experimental.d.mts +12 -2
- package/dist/experimental.d.ts +10 -0
- package/dist/experimental.d.ts.map +1 -1
- package/dist/experimental.mjs +34 -11
- package/dist/{index-CjP7lGzL.d.mts → index-eliz1Uq3.d.mts} +38 -1
- package/dist/{index-CjP7lGzL.d.ts → index-eliz1Uq3.d.ts} +38 -1
- package/dist/index.cjs +35 -10
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +34 -11
- package/dist/plugins/eventEmission/index.d.ts +1 -1
- package/dist/plugins/eventEmission/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableFields/index.d.ts +1 -0
- package/dist/plugins/tables/createTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableFields/schemas.d.ts +2 -0
- package/dist/plugins/tables/createTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/index.d.ts +1 -0
- package/dist/plugins/tables/createTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/createTableRecords/schemas.d.ts +2 -0
- package/dist/plugins/tables/createTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/index.d.ts +1 -0
- package/dist/plugins/tables/getTableRecord/index.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/schemas.d.ts +3 -0
- package/dist/plugins/tables/getTableRecord/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/getTableRecord/schemas.js +2 -0
- package/dist/plugins/tables/listTableFields/index.d.ts +3 -0
- package/dist/plugins/tables/listTableFields/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTableFields/index.js +3 -0
- package/dist/plugins/tables/listTableFields/schemas.d.ts +23 -0
- package/dist/plugins/tables/listTableFields/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/listTableFields/schemas.js +4 -0
- package/dist/plugins/tables/listTableRecords/index.d.ts +3 -0
- package/dist/plugins/tables/listTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/listTableRecords/index.js +7 -1
- package/dist/plugins/tables/listTableRecords/schemas.d.ts +21 -0
- package/dist/plugins/tables/listTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/listTableRecords/schemas.js +2 -1
- package/dist/plugins/tables/updateTableRecords/index.d.ts +1 -0
- package/dist/plugins/tables/updateTableRecords/index.d.ts.map +1 -1
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts +2 -0
- package/dist/plugins/tables/updateTableRecords/schemas.d.ts.map +1 -1
- package/dist/plugins/tables/utils.d.ts +6 -0
- package/dist/plugins/tables/utils.d.ts.map +1 -1
- package/dist/plugins/tables/utils.js +6 -0
- package/dist/sdk.d.ts +20 -0
- package/dist/sdk.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/experimental.mjs
CHANGED
|
@@ -2883,7 +2883,7 @@ async function invalidateCredentialsToken(options) {
|
|
|
2883
2883
|
}
|
|
2884
2884
|
|
|
2885
2885
|
// src/sdk-version.ts
|
|
2886
|
-
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.
|
|
2886
|
+
var SDK_VERSION = (typeof process !== "undefined" && process.env ? "0.58.0" : void 0) || "unknown";
|
|
2887
2887
|
|
|
2888
2888
|
// src/utils/open-url.ts
|
|
2889
2889
|
var nodePrefix = "node:";
|
|
@@ -4325,7 +4325,8 @@ function transformFieldItem(apiItem) {
|
|
|
4325
4325
|
created_at: apiItem.created_at,
|
|
4326
4326
|
edited_at: apiItem.edited_at,
|
|
4327
4327
|
options: apiItem.options,
|
|
4328
|
-
config: apiItem.config
|
|
4328
|
+
config: apiItem.config,
|
|
4329
|
+
deleted_at: apiItem.deleted_at
|
|
4329
4330
|
};
|
|
4330
4331
|
}
|
|
4331
4332
|
function transformRecordItem(apiItem) {
|
|
@@ -4333,7 +4334,8 @@ function transformRecordItem(apiItem) {
|
|
|
4333
4334
|
id: apiItem.id,
|
|
4334
4335
|
data: apiItem.data,
|
|
4335
4336
|
created_at: apiItem.created_at,
|
|
4336
|
-
edited_at: apiItem.edited_at
|
|
4337
|
+
edited_at: apiItem.edited_at,
|
|
4338
|
+
deleted_at: apiItem.deleted_at
|
|
4337
4339
|
};
|
|
4338
4340
|
}
|
|
4339
4341
|
function formatRecordError(fieldId, err) {
|
|
@@ -4377,6 +4379,9 @@ function throwOnResponseErrors(response) {
|
|
|
4377
4379
|
var KeyModeSchema = z.enum(["names", "ids"]).optional().default("names").describe(
|
|
4378
4380
|
'How to interpret field keys in record data. "names" (default) uses human-readable field names, "ids" uses raw field IDs (f1, f2).'
|
|
4379
4381
|
);
|
|
4382
|
+
var TrashSchema = z.enum(["exclude", "include", "only"]).optional().describe(
|
|
4383
|
+
'Control soft-deleted item visibility. "exclude" (default) returns active items only, "include" returns both active and soft-deleted, "only" returns soft-deleted items only.'
|
|
4384
|
+
);
|
|
4380
4385
|
var FIELD_ID_PATTERN = /^f\d+$/;
|
|
4381
4386
|
function isFieldId(key) {
|
|
4382
4387
|
return FIELD_ID_PATTERN.test(key);
|
|
@@ -4627,7 +4632,8 @@ var FieldApiItemSchema = z.object({
|
|
|
4627
4632
|
config: z.record(z.string(), z.unknown()).optional(),
|
|
4628
4633
|
is_order_field: z.boolean().optional(),
|
|
4629
4634
|
is_filter_field: z.boolean().optional(),
|
|
4630
|
-
is_selected_field: z.boolean().optional()
|
|
4635
|
+
is_selected_field: z.boolean().optional(),
|
|
4636
|
+
deleted_at: z.string().nullable().optional()
|
|
4631
4637
|
});
|
|
4632
4638
|
var ListTableFieldsApiResponseSchema = z.object({
|
|
4633
4639
|
data: z.array(FieldApiItemSchema)
|
|
@@ -4639,7 +4645,8 @@ var FieldItemSchemaBase = z.object({
|
|
|
4639
4645
|
created_at: z.string().optional(),
|
|
4640
4646
|
edited_at: z.string().optional(),
|
|
4641
4647
|
options: z.record(z.string(), z.unknown()).optional(),
|
|
4642
|
-
config: z.record(z.string(), z.unknown()).optional()
|
|
4648
|
+
config: z.record(z.string(), z.unknown()).optional(),
|
|
4649
|
+
deleted_at: z.string().nullable().optional()
|
|
4643
4650
|
});
|
|
4644
4651
|
var FieldItemSchema = withFormatter(FieldItemSchemaBase, {
|
|
4645
4652
|
format: (item) => ({
|
|
@@ -4653,7 +4660,8 @@ var ListTableFieldsOptionsBaseSchema = z.object({
|
|
|
4653
4660
|
fields: FieldsPropertySchema.optional(),
|
|
4654
4661
|
fieldKeys: z.array(z.union([z.string(), z.number()])).optional().describe(
|
|
4655
4662
|
'Filter by specific fields. Accepts field names (e.g., "Email") or IDs (e.g., "f6", "6", or 6).'
|
|
4656
|
-
).meta({ deprecated: true })
|
|
4663
|
+
).meta({ deprecated: true }),
|
|
4664
|
+
trash: TrashSchema
|
|
4657
4665
|
});
|
|
4658
4666
|
var ListTableFieldsOptionsSchema = z.object({
|
|
4659
4667
|
table: TablePropertySchema
|
|
@@ -7080,6 +7088,9 @@ var listTableFieldsPlugin = definePlugin(
|
|
|
7080
7088
|
});
|
|
7081
7089
|
searchParams.field_ids = numericIds.join(",");
|
|
7082
7090
|
}
|
|
7091
|
+
if (options.trash) {
|
|
7092
|
+
searchParams.trash = options.trash;
|
|
7093
|
+
}
|
|
7083
7094
|
const rawResponse = await api.get(
|
|
7084
7095
|
`/tables/api/v1/tables/${tableId}/fields`,
|
|
7085
7096
|
{
|
|
@@ -7210,13 +7221,15 @@ var RecordApiItemSchema = z.object({
|
|
|
7210
7221
|
schema_revision_id: z.number(),
|
|
7211
7222
|
errors: z.record(z.string(), z.unknown()).nullable().optional(),
|
|
7212
7223
|
orig_data: z.record(z.string(), z.unknown()).nullable().optional(),
|
|
7213
|
-
is_source_record: z.boolean().nullable().optional()
|
|
7224
|
+
is_source_record: z.boolean().nullable().optional(),
|
|
7225
|
+
deleted_at: z.string().nullable().optional()
|
|
7214
7226
|
});
|
|
7215
7227
|
var RecordItemSchemaBase = z.object({
|
|
7216
7228
|
id: z.string(),
|
|
7217
7229
|
data: z.record(z.string(), z.unknown()),
|
|
7218
7230
|
created_at: z.string(),
|
|
7219
|
-
edited_at: z.string()
|
|
7231
|
+
edited_at: z.string(),
|
|
7232
|
+
deleted_at: z.string().nullable().optional()
|
|
7220
7233
|
});
|
|
7221
7234
|
var RecordItemSchema = withFormatter(RecordItemSchemaBase, {
|
|
7222
7235
|
format: (item) => ({
|
|
@@ -7346,7 +7359,8 @@ var ListTableRecordsBase = z.object({
|
|
|
7346
7359
|
pageSize: z.number().min(1).max(1e3).optional().describe("Number of records per page (max 1000)"),
|
|
7347
7360
|
maxItems: z.number().min(1).optional().describe("Maximum total items to return across all pages"),
|
|
7348
7361
|
cursor: z.string().optional().describe("Cursor to start from"),
|
|
7349
|
-
keyMode: KeyModeSchema
|
|
7362
|
+
keyMode: KeyModeSchema,
|
|
7363
|
+
trash: TrashSchema
|
|
7350
7364
|
});
|
|
7351
7365
|
var ListTableRecordsOptionsSchema = z.object({
|
|
7352
7366
|
table: TablePropertySchema
|
|
@@ -7411,11 +7425,17 @@ var listTableRecordsPlugin = definePlugin(
|
|
|
7411
7425
|
start_cursor: options.cursor
|
|
7412
7426
|
};
|
|
7413
7427
|
}
|
|
7428
|
+
const searchParams = {
|
|
7429
|
+
allow_nested_queries: "true"
|
|
7430
|
+
};
|
|
7431
|
+
if (options.trash) {
|
|
7432
|
+
searchParams.trash = options.trash;
|
|
7433
|
+
}
|
|
7414
7434
|
const rawResponse = await api.post(
|
|
7415
7435
|
`/tables/api/v1/tables/${tableId}/records/query`,
|
|
7416
7436
|
body,
|
|
7417
7437
|
{
|
|
7418
|
-
searchParams
|
|
7438
|
+
searchParams,
|
|
7419
7439
|
authRequired: true,
|
|
7420
7440
|
resource: { type: "table", id: tableId }
|
|
7421
7441
|
}
|
|
@@ -8526,6 +8546,9 @@ function removeExistingListeners() {
|
|
|
8526
8546
|
}
|
|
8527
8547
|
registeredListeners = {};
|
|
8528
8548
|
}
|
|
8549
|
+
function cleanupEventListeners() {
|
|
8550
|
+
removeExistingListeners();
|
|
8551
|
+
}
|
|
8529
8552
|
var APPLICATION_LIFECYCLE_EVENT_SUBJECT = "platform.sdk.ApplicationLifecycleEvent";
|
|
8530
8553
|
var ERROR_OCCURRED_EVENT_SUBJECT = "platform.sdk.ErrorOccurredEvent";
|
|
8531
8554
|
var METHOD_CALLED_EVENT_SUBJECT = "platform.sdk.MethodCalledEvent";
|
|
@@ -10631,4 +10654,4 @@ function createZapierSdk2(options = {}) {
|
|
|
10631
10654
|
return createSdk().addPlugin(createOptionsPlugin(options)).addPlugin(eventEmissionPlugin).addPlugin(apiPlugin).addPlugin(manifestPlugin).addPlugin(capabilitiesPlugin).addPlugin(connectionsPlugin).addPlugin(listAppsPlugin).addPlugin(getAppPlugin).addPlugin(listActionsPlugin).addPlugin(getActionPlugin).addPlugin(listActionInputFieldsPlugin).addPlugin(getActionInputFieldsSchemaPlugin).addPlugin(listActionInputFieldChoicesPlugin).addPlugin(listInputFieldsDeprecatedPlugin).addPlugin(getInputFieldsSchemaDeprecatedPlugin).addPlugin(listInputFieldChoicesDeprecatedPlugin).addPlugin(runActionPlugin).addPlugin(listConnectionsPlugin).addPlugin(getConnectionPlugin).addPlugin(findFirstConnectionPlugin).addPlugin(findUniqueConnectionPlugin).addPlugin(listAuthenticationsPlugin).addPlugin(getAuthenticationPlugin).addPlugin(findFirstAuthenticationPlugin).addPlugin(findUniqueAuthenticationPlugin).addPlugin(listClientCredentialsPlugin).addPlugin(createClientCredentialsPlugin).addPlugin(deleteClientCredentialsPlugin).addPlugin(fetchPlugin).addPlugin(requestPlugin).addPlugin(createTriggerInboxPlugin).addPlugin(ensureTriggerInboxPlugin).addPlugin(listTriggerInboxesPlugin).addPlugin(getTriggerInboxPlugin).addPlugin(updateTriggerInboxPlugin).addPlugin(deleteTriggerInboxPlugin).addPlugin(pauseTriggerInboxPlugin).addPlugin(resumeTriggerInboxPlugin).addPlugin(listTriggerInboxMessagesPlugin).addPlugin(leaseTriggerInboxMessagesPlugin).addPlugin(ackTriggerInboxMessagesPlugin).addPlugin(releaseTriggerInboxMessagesPlugin).addPlugin(drainTriggerInboxPlugin).addPlugin(watchTriggerInboxPlugin).addPlugin(listTriggersPlugin).addPlugin(listTriggerInputFieldsPlugin).addPlugin(listTriggerInputFieldChoicesPlugin).addPlugin(getTriggerInputFieldsSchemaPlugin).addPlugin(listTablesPlugin).addPlugin(getTablePlugin).addPlugin(deleteTablePlugin).addPlugin(createTablePlugin).addPlugin(listTableFieldsPlugin).addPlugin(createTableFieldsPlugin).addPlugin(deleteTableFieldsPlugin).addPlugin(getTableRecordPlugin).addPlugin(listTableRecordsPlugin).addPlugin(createTableRecordsPlugin).addPlugin(deleteTableRecordsPlugin).addPlugin(updateTableRecordsPlugin).addPlugin(appsPlugin).addPlugin(getProfilePlugin);
|
|
10632
10655
|
}
|
|
10633
10656
|
|
|
10634
|
-
export { ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MS, ClientCredentialsObjectSchema, ConnectionEntrySchema, ConnectionIdPropertySchema, ConnectionPropertySchema, ConnectionsMapSchema, ConnectionsPropertySchema, CredentialsFunctionSchema, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MS, DEFAULT_APPROVAL_TIMEOUT_MS, DEFAULT_CONFIG_PATH, DEFAULT_MAX_APPROVAL_RETRIES, DEFAULT_PAGE_SIZE, DebugPropertySchema, FieldsPropertySchema, InputFieldPropertySchema, InputsPropertySchema, LeaseLimitPropertySchema, LeasePropertySchema, LeaseSecondsPropertySchema, LimitPropertySchema, MAX_CONCURRENCY_LIMIT, MAX_PAGE_LIMIT, OffsetPropertySchema, OutputPropertySchema, ParamsPropertySchema, PkceCredentialsObjectSchema, RecordPropertySchema, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, ResolvedCredentialsSchema, TablePropertySchema, TablesPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, ZapierAbortDrainSignal, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierApprovalError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierConflictError, ZapierError, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierReleaseTriggerMessageSignal, ZapierResourceNotFoundError, ZapierSignal, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, appKeyResolver, appsPlugin, connectionIdGenericResolver as authenticationIdGenericResolver, connectionIdResolver as authenticationIdResolver, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, composePlugins, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, createBaseEvent, createClientCredentialsPlugin, createFunction, createMemoryCache, createOptionsPlugin, createPaginatedPluginMethod, createPluginMethod, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdk2 as createZapierSdk, createZapierSdkWithoutRegistry, definePlugin, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getAppPlugin, getBaseUrlFromCredentials, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getCpuTime, getCurrentTimestamp, getMemoryUsage, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getZapierApprovalMode, getZapierDefaultApprovalMode, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCredentialsFunction, isCredentialsObject, isPkceCredentials, isPositional, listActionInputFieldChoicesPlugin, listActionInputFieldsPlugin, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, parseConcurrencyEnvVar, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, runActionPlugin, runWithTelemetryContext, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin };
|
|
10657
|
+
export { ActionKeyPropertySchema, ActionPropertySchema, ActionTimeoutMsPropertySchema, ActionTypePropertySchema, AppKeyPropertySchema, AppPropertySchema, AppsPropertySchema, AuthenticationIdPropertySchema, BaseSdkOptionsSchema, CONTEXT_CACHE_MAX_SIZE, CONTEXT_CACHE_TTL_MS, ClientCredentialsObjectSchema, ConnectionEntrySchema, ConnectionIdPropertySchema, ConnectionPropertySchema, ConnectionsMapSchema, ConnectionsPropertySchema, CredentialsFunctionSchema, CredentialsObjectSchema, CredentialsSchema, DEFAULT_ACTION_TIMEOUT_MS, DEFAULT_APPROVAL_TIMEOUT_MS, DEFAULT_CONFIG_PATH, DEFAULT_MAX_APPROVAL_RETRIES, DEFAULT_PAGE_SIZE, DebugPropertySchema, FieldsPropertySchema, InputFieldPropertySchema, InputsPropertySchema, LeaseLimitPropertySchema, LeasePropertySchema, LeaseSecondsPropertySchema, LimitPropertySchema, MAX_CONCURRENCY_LIMIT, MAX_PAGE_LIMIT, OffsetPropertySchema, OutputPropertySchema, ParamsPropertySchema, PkceCredentialsObjectSchema, RecordPropertySchema, RecordsPropertySchema, RelayFetchSchema, RelayRequestSchema, ResolvedCredentialsSchema, TablePropertySchema, TablesPropertySchema, TriggerInboxNamePropertySchema, TriggerInboxPropertySchema, ZAPIER_BASE_URL, ZAPIER_MAX_CONCURRENT_REQUESTS, ZAPIER_MAX_NETWORK_RETRIES, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS, ZapierAbortDrainSignal, ZapierActionError, ZapierApiError, ZapierAppNotFoundError, ZapierApprovalError, ZapierAuthenticationError, ZapierBundleError, ZapierConfigurationError, ZapierConflictError, ZapierError, ZapierNotFoundError, ZapierRateLimitError, ZapierRelayError, ZapierReleaseTriggerMessageSignal, ZapierResourceNotFoundError, ZapierSignal, ZapierTimeoutError, ZapierUnknownError, ZapierValidationError, actionKeyResolver, actionTypeResolver, apiPlugin, appKeyResolver, appsPlugin, connectionIdGenericResolver as authenticationIdGenericResolver, connectionIdResolver as authenticationIdResolver, batch, buildApplicationLifecycleEvent, buildCapabilityMessage, buildErrorEvent, buildErrorEventWithContext, buildMethodCalledEvent, cleanupEventListeners, clearTokenCache, clientCredentialsNameResolver, clientIdResolver, composePlugins, connectionIdGenericResolver, connectionIdResolver, connectionsPlugin, createBaseEvent, createClientCredentialsPlugin, createFunction, createMemoryCache, createOptionsPlugin, createPaginatedPluginMethod, createPluginMethod, createSdk, createTableFieldsPlugin, createTablePlugin, createTableRecordsPlugin, createZapierApi, createZapierSdk2 as createZapierSdk, createZapierSdkWithoutRegistry, definePlugin, deleteClientCredentialsPlugin, deleteTableFieldsPlugin, deleteTablePlugin, deleteTableRecordsPlugin, eventEmissionPlugin, fetchPlugin, findFirstConnectionPlugin, findManifestEntry, findUniqueConnectionPlugin, formatErrorMessage, generateEventId, getActionInputFieldsSchemaPlugin, getActionPlugin, getAppPlugin, getBaseUrlFromCredentials, getCiPlatform, getClientIdFromCredentials, getConnectionPlugin, getCpuTime, getCurrentTimestamp, getMemoryUsage, getOrCreateApiClient, getOsInfo, getPlatformVersions, getPreferredManifestEntryKey, getProfilePlugin, getReleaseId, getTablePlugin, getTableRecordPlugin, getTokenFromCliLogin, getZapierApprovalMode, getZapierDefaultApprovalMode, getZapierSdkService, injectCliLogin, inputFieldKeyResolver, inputsAllOptionalResolver, inputsResolver, invalidateCachedToken, invalidateCredentialsToken, isCi, isCliLoginAvailable, isClientCredentials, isCredentialsFunction, isCredentialsObject, isPkceCredentials, isPositional, listActionInputFieldChoicesPlugin, listActionInputFieldsPlugin, listActionsPlugin, listAppsPlugin, listClientCredentialsPlugin, listConnectionsPlugin, listTableFieldsPlugin, listTableRecordsPlugin, listTablesPlugin, logDeprecation, manifestPlugin, parseConcurrencyEnvVar, readManifestFromFile, registryPlugin, requestPlugin, resetDeprecationWarnings, resolveAuthToken, resolveCredentials, resolveCredentialsFromEnv, runActionPlugin, runWithTelemetryContext, tableFieldIdsResolver, tableFieldsResolver, tableFiltersResolver, tableIdResolver, tableNameResolver, tableRecordIdResolver, tableRecordIdsResolver, tableRecordsResolver, tableSortResolver, tableUpdateRecordsResolver, toSnakeCase, toTitleCase, triggerInboxResolver, triggerMessagesResolver, updateTableRecordsPlugin };
|
|
@@ -1196,6 +1196,11 @@ declare function getMemoryUsage(): number | null;
|
|
|
1196
1196
|
*/
|
|
1197
1197
|
declare function getCpuTime(): number | null;
|
|
1198
1198
|
|
|
1199
|
+
/**
|
|
1200
|
+
* Removes all registered process event listeners.
|
|
1201
|
+
* Useful for test cleanup to prevent listener accumulation.
|
|
1202
|
+
*/
|
|
1203
|
+
declare function cleanupEventListeners(): void;
|
|
1199
1204
|
interface EventEmissionConfig {
|
|
1200
1205
|
enabled?: boolean;
|
|
1201
1206
|
transport?: TransportConfig;
|
|
@@ -3165,10 +3170,12 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3165
3170
|
table: string;
|
|
3166
3171
|
fields?: (string | number)[] | undefined;
|
|
3167
3172
|
fieldKeys?: (string | number)[] | undefined;
|
|
3173
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
3168
3174
|
} | {
|
|
3169
3175
|
tableId: string;
|
|
3170
3176
|
fields?: (string | number)[] | undefined;
|
|
3171
3177
|
fieldKeys?: (string | number)[] | undefined;
|
|
3178
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
3172
3179
|
} | undefined) => Promise<{
|
|
3173
3180
|
data: {
|
|
3174
3181
|
id: string;
|
|
@@ -3178,6 +3185,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3178
3185
|
edited_at?: string | undefined;
|
|
3179
3186
|
options?: Record<string, unknown> | undefined;
|
|
3180
3187
|
config?: Record<string, unknown> | undefined;
|
|
3188
|
+
deleted_at?: string | null | undefined;
|
|
3181
3189
|
}[];
|
|
3182
3190
|
}>;
|
|
3183
3191
|
} & {
|
|
@@ -3212,6 +3220,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3212
3220
|
edited_at?: string | undefined;
|
|
3213
3221
|
options?: Record<string, unknown> | undefined;
|
|
3214
3222
|
config?: Record<string, unknown> | undefined;
|
|
3223
|
+
deleted_at?: string | null | undefined;
|
|
3215
3224
|
}[];
|
|
3216
3225
|
}>;
|
|
3217
3226
|
} & {
|
|
@@ -3251,6 +3260,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3251
3260
|
id: string;
|
|
3252
3261
|
created_at: string;
|
|
3253
3262
|
edited_at: string;
|
|
3263
|
+
deleted_at?: string | null | undefined;
|
|
3254
3264
|
};
|
|
3255
3265
|
}>;
|
|
3256
3266
|
} & {
|
|
@@ -3275,6 +3285,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3275
3285
|
pageSize?: number | undefined;
|
|
3276
3286
|
maxItems?: number | undefined;
|
|
3277
3287
|
cursor?: string | undefined;
|
|
3288
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
3278
3289
|
} | {
|
|
3279
3290
|
tableId: string;
|
|
3280
3291
|
keyMode: "names" | "ids";
|
|
@@ -3290,6 +3301,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3290
3301
|
pageSize?: number | undefined;
|
|
3291
3302
|
maxItems?: number | undefined;
|
|
3292
3303
|
cursor?: string | undefined;
|
|
3304
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
3293
3305
|
}) & {
|
|
3294
3306
|
cursor?: string;
|
|
3295
3307
|
pageSize?: number;
|
|
@@ -3299,6 +3311,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3299
3311
|
data: Record<string, unknown>;
|
|
3300
3312
|
created_at: string;
|
|
3301
3313
|
edited_at: string;
|
|
3314
|
+
deleted_at?: string | null | undefined;
|
|
3302
3315
|
}>;
|
|
3303
3316
|
} & {
|
|
3304
3317
|
context: {
|
|
@@ -3325,6 +3338,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3325
3338
|
id: string;
|
|
3326
3339
|
created_at: string;
|
|
3327
3340
|
edited_at: string;
|
|
3341
|
+
deleted_at?: string | null | undefined;
|
|
3328
3342
|
}[];
|
|
3329
3343
|
}>;
|
|
3330
3344
|
} & {
|
|
@@ -3370,6 +3384,7 @@ declare function createZapierSdkWithoutRegistry(options?: ZapierSdkOptions): Wit
|
|
|
3370
3384
|
id: string;
|
|
3371
3385
|
created_at: string;
|
|
3372
3386
|
edited_at: string;
|
|
3387
|
+
deleted_at?: string | null | undefined;
|
|
3373
3388
|
}[];
|
|
3374
3389
|
}>;
|
|
3375
3390
|
} & {
|
|
@@ -4945,10 +4960,12 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
4945
4960
|
table: string;
|
|
4946
4961
|
fields?: (string | number)[] | undefined;
|
|
4947
4962
|
fieldKeys?: (string | number)[] | undefined;
|
|
4963
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
4948
4964
|
} | {
|
|
4949
4965
|
tableId: string;
|
|
4950
4966
|
fields?: (string | number)[] | undefined;
|
|
4951
4967
|
fieldKeys?: (string | number)[] | undefined;
|
|
4968
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
4952
4969
|
} | undefined) => Promise<{
|
|
4953
4970
|
data: {
|
|
4954
4971
|
id: string;
|
|
@@ -4958,6 +4975,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
4958
4975
|
edited_at?: string | undefined;
|
|
4959
4976
|
options?: Record<string, unknown> | undefined;
|
|
4960
4977
|
config?: Record<string, unknown> | undefined;
|
|
4978
|
+
deleted_at?: string | null | undefined;
|
|
4961
4979
|
}[];
|
|
4962
4980
|
}>;
|
|
4963
4981
|
} & {
|
|
@@ -4992,6 +5010,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
4992
5010
|
edited_at?: string | undefined;
|
|
4993
5011
|
options?: Record<string, unknown> | undefined;
|
|
4994
5012
|
config?: Record<string, unknown> | undefined;
|
|
5013
|
+
deleted_at?: string | null | undefined;
|
|
4995
5014
|
}[];
|
|
4996
5015
|
}>;
|
|
4997
5016
|
} & {
|
|
@@ -5031,6 +5050,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5031
5050
|
id: string;
|
|
5032
5051
|
created_at: string;
|
|
5033
5052
|
edited_at: string;
|
|
5053
|
+
deleted_at?: string | null | undefined;
|
|
5034
5054
|
};
|
|
5035
5055
|
}>;
|
|
5036
5056
|
} & {
|
|
@@ -5055,6 +5075,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5055
5075
|
pageSize?: number | undefined;
|
|
5056
5076
|
maxItems?: number | undefined;
|
|
5057
5077
|
cursor?: string | undefined;
|
|
5078
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
5058
5079
|
} | {
|
|
5059
5080
|
tableId: string;
|
|
5060
5081
|
keyMode: "names" | "ids";
|
|
@@ -5070,6 +5091,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5070
5091
|
pageSize?: number | undefined;
|
|
5071
5092
|
maxItems?: number | undefined;
|
|
5072
5093
|
cursor?: string | undefined;
|
|
5094
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
5073
5095
|
}) & {
|
|
5074
5096
|
cursor?: string;
|
|
5075
5097
|
pageSize?: number;
|
|
@@ -5079,6 +5101,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5079
5101
|
data: Record<string, unknown>;
|
|
5080
5102
|
created_at: string;
|
|
5081
5103
|
edited_at: string;
|
|
5104
|
+
deleted_at?: string | null | undefined;
|
|
5082
5105
|
}>;
|
|
5083
5106
|
} & {
|
|
5084
5107
|
context: {
|
|
@@ -5105,6 +5128,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5105
5128
|
id: string;
|
|
5106
5129
|
created_at: string;
|
|
5107
5130
|
edited_at: string;
|
|
5131
|
+
deleted_at?: string | null | undefined;
|
|
5108
5132
|
}[];
|
|
5109
5133
|
}>;
|
|
5110
5134
|
} & {
|
|
@@ -5150,6 +5174,7 @@ declare function createZapierSdk(options?: ZapierSdkOptions): WithAddPlugin<{
|
|
|
5150
5174
|
id: string;
|
|
5151
5175
|
created_at: string;
|
|
5152
5176
|
edited_at: string;
|
|
5177
|
+
deleted_at?: string | null | undefined;
|
|
5153
5178
|
}[];
|
|
5154
5179
|
}>;
|
|
5155
5180
|
} & {
|
|
@@ -8566,6 +8591,7 @@ declare const RecordItemSchema: z.ZodObject<{
|
|
|
8566
8591
|
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
8567
8592
|
created_at: z.ZodString;
|
|
8568
8593
|
edited_at: z.ZodString;
|
|
8594
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8569
8595
|
}, z.core.$strip>;
|
|
8570
8596
|
type RecordItem = z.infer<typeof RecordItemSchema>;
|
|
8571
8597
|
|
|
@@ -8615,6 +8641,7 @@ declare const FieldItemSchema: z.ZodObject<{
|
|
|
8615
8641
|
edited_at: z.ZodOptional<z.ZodString>;
|
|
8616
8642
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8617
8643
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8644
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8618
8645
|
}, z.core.$strip>;
|
|
8619
8646
|
type FieldItem = z.infer<typeof FieldItemSchema>;
|
|
8620
8647
|
|
|
@@ -9134,10 +9161,12 @@ declare const listTableFieldsPlugin: (sdk: {
|
|
|
9134
9161
|
table: string;
|
|
9135
9162
|
fields?: (string | number)[] | undefined;
|
|
9136
9163
|
fieldKeys?: (string | number)[] | undefined;
|
|
9164
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
9137
9165
|
} | {
|
|
9138
9166
|
tableId: string;
|
|
9139
9167
|
fields?: (string | number)[] | undefined;
|
|
9140
9168
|
fieldKeys?: (string | number)[] | undefined;
|
|
9169
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
9141
9170
|
} | undefined) => Promise<{
|
|
9142
9171
|
data: {
|
|
9143
9172
|
id: string;
|
|
@@ -9147,6 +9176,7 @@ declare const listTableFieldsPlugin: (sdk: {
|
|
|
9147
9176
|
edited_at?: string | undefined;
|
|
9148
9177
|
options?: Record<string, unknown> | undefined;
|
|
9149
9178
|
config?: Record<string, unknown> | undefined;
|
|
9179
|
+
deleted_at?: string | null | undefined;
|
|
9150
9180
|
}[];
|
|
9151
9181
|
}>;
|
|
9152
9182
|
} & {
|
|
@@ -9206,6 +9236,7 @@ declare const createTableFieldsPlugin: (sdk: {
|
|
|
9206
9236
|
edited_at?: string | undefined;
|
|
9207
9237
|
options?: Record<string, unknown> | undefined;
|
|
9208
9238
|
config?: Record<string, unknown> | undefined;
|
|
9239
|
+
deleted_at?: string | null | undefined;
|
|
9209
9240
|
}[];
|
|
9210
9241
|
}>;
|
|
9211
9242
|
} & {
|
|
@@ -9295,6 +9326,7 @@ declare const getTableRecordPlugin: (sdk: {
|
|
|
9295
9326
|
id: string;
|
|
9296
9327
|
created_at: string;
|
|
9297
9328
|
edited_at: string;
|
|
9329
|
+
deleted_at?: string | null | undefined;
|
|
9298
9330
|
};
|
|
9299
9331
|
}>;
|
|
9300
9332
|
} & {
|
|
@@ -9344,6 +9376,7 @@ declare const listTableRecordsPlugin: (sdk: {
|
|
|
9344
9376
|
pageSize?: number | undefined;
|
|
9345
9377
|
maxItems?: number | undefined;
|
|
9346
9378
|
cursor?: string | undefined;
|
|
9379
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
9347
9380
|
} | {
|
|
9348
9381
|
tableId: string;
|
|
9349
9382
|
keyMode: "names" | "ids";
|
|
@@ -9359,6 +9392,7 @@ declare const listTableRecordsPlugin: (sdk: {
|
|
|
9359
9392
|
pageSize?: number | undefined;
|
|
9360
9393
|
maxItems?: number | undefined;
|
|
9361
9394
|
cursor?: string | undefined;
|
|
9395
|
+
trash?: "include" | "exclude" | "only" | undefined;
|
|
9362
9396
|
}) & {
|
|
9363
9397
|
cursor?: string;
|
|
9364
9398
|
pageSize?: number;
|
|
@@ -9368,6 +9402,7 @@ declare const listTableRecordsPlugin: (sdk: {
|
|
|
9368
9402
|
data: Record<string, unknown>;
|
|
9369
9403
|
created_at: string;
|
|
9370
9404
|
edited_at: string;
|
|
9405
|
+
deleted_at?: string | null | undefined;
|
|
9371
9406
|
}>;
|
|
9372
9407
|
} & {
|
|
9373
9408
|
context: {
|
|
@@ -9419,6 +9454,7 @@ declare const createTableRecordsPlugin: (sdk: {
|
|
|
9419
9454
|
id: string;
|
|
9420
9455
|
created_at: string;
|
|
9421
9456
|
edited_at: string;
|
|
9457
|
+
deleted_at?: string | null | undefined;
|
|
9422
9458
|
}[];
|
|
9423
9459
|
}>;
|
|
9424
9460
|
} & {
|
|
@@ -9514,6 +9550,7 @@ declare const updateTableRecordsPlugin: (sdk: {
|
|
|
9514
9550
|
id: string;
|
|
9515
9551
|
created_at: string;
|
|
9516
9552
|
edited_at: string;
|
|
9553
|
+
deleted_at?: string | null | undefined;
|
|
9517
9554
|
}[];
|
|
9518
9555
|
}>;
|
|
9519
9556
|
} & {
|
|
@@ -9778,4 +9815,4 @@ declare const registryPlugin: (sdk: {
|
|
|
9778
9815
|
};
|
|
9779
9816
|
}) => {};
|
|
9780
9817
|
|
|
9781
|
-
export { type Resolver as $, type ApiClient as A, type BaseSdkOptions as B, type CapabilitiesContext as C, type DrainTriggerInboxOptions as D, type EventEmissionContext as E, type FieldsetItem as F, type GetAuthenticationPluginProvides as G, type ActionFieldChoice as H, type NeedsRequest as I, type NeedsResponse as J, type Connection as K, type LeasedTriggerMessageItem as L, type Manifest as M, type Need as N, type ConnectionsResponse as O, type PluginMeta as P, type UserProfile as Q, type ResolvedAppLocator as R, isPositional as S, type TriggerMessageStatus as T, type UpdateManifestEntryOptions as U, createFunction as V, type WithAddPlugin as W, type FormattedItem as X, type FormatMetadata as Y, type ZapierSdkOptions as Z, type OutputFormatter as _, type UpdateManifestEntryResult as a, type FunctionOptions as a$, type ArrayResolver as a0, type ResolverMetadata as a1, type StaticResolver as a2, type DynamicListResolver as a3, type DynamicSearchResolver as a4, type FieldsResolver as a5, runWithTelemetryContext as a6, toSnakeCase as a7, toTitleCase as a8, batch as a9, type MethodCalledEvent as aA, type EventEmissionProvides as aB, type EventContext as aC, type ApplicationLifecycleEventData as aD, type EnhancedErrorEventData as aE, type MethodCalledEventData as aF, generateEventId as aG, getCurrentTimestamp as aH, getReleaseId as aI, getOsInfo as aJ, getPlatformVersions as aK, isCi as aL, getCiPlatform as aM, getMemoryUsage as aN, getCpuTime as aO, buildApplicationLifecycleEvent as aP, buildErrorEventWithContext as aQ, buildErrorEvent as aR, createBaseEvent as aS, buildMethodCalledEvent as aT, type AppItem as aU, type ConnectionItem as aV, type ActionItem$1 as aW, type InputFieldItem as aX, type InfoFieldItem as aY, type RootFieldItem as aZ, type UserProfileItem as a_, type BatchOptions as aa, buildCapabilityMessage as ab, logDeprecation as ac, resetDeprecationWarnings as ad, RelayRequestSchema as ae, RelayFetchSchema as af, createZapierSdkWithoutRegistry as ag, createSdk as ah, createOptionsPlugin as ai, type FunctionRegistryEntry as aj, type FunctionDeprecation as ak, BaseSdkOptionsSchema as al, type Plugin as am, type PluginProvides as an, definePlugin as ao, createPluginMethod as ap, createPaginatedPluginMethod as aq, composePlugins as ar, type ActionItem as as, type ActionTypeItem as at, registryPlugin as au, type RequestOptions as av, type PollOptions as aw, createZapierApi as ax, getOrCreateApiClient as ay, type BaseEvent as az, type AddActionEntryOptions as b, ZapierValidationError as b$, type SdkPage as b0, type PaginatedSdkFunction as b1, AppKeyPropertySchema as b2, AppPropertySchema as b3, ActionTypePropertySchema as b4, ActionKeyPropertySchema as b5, ActionPropertySchema as b6, InputFieldPropertySchema as b7, ConnectionIdPropertySchema as b8, AuthenticationIdPropertySchema as b9, type ConnectionIdProperty as bA, type ConnectionProperty as bB, type AuthenticationIdProperty as bC, type InputsProperty as bD, type LimitProperty as bE, type OffsetProperty as bF, type OutputProperty as bG, type DebugProperty as bH, type ParamsProperty as bI, type ActionTimeoutMsProperty as bJ, type TableProperty as bK, type RecordProperty as bL, type RecordsProperty as bM, type FieldsProperty as bN, type AppsProperty as bO, type TablesProperty as bP, type ConnectionsProperty as bQ, type TriggerInboxProperty as bR, type TriggerInboxNameProperty as bS, type LeaseProperty as bT, type LeaseSecondsProperty as bU, type LeaseLimitProperty as bV, type ApiError as bW, type ErrorOptions as bX, ZapierError as bY, ZapierApiError as bZ, ZapierAppNotFoundError as b_, ConnectionPropertySchema as ba, InputsPropertySchema as bb, LimitPropertySchema as bc, OffsetPropertySchema as bd, OutputPropertySchema as be, DebugPropertySchema as bf, ParamsPropertySchema as bg, ActionTimeoutMsPropertySchema as bh, TablePropertySchema as bi, RecordPropertySchema as bj, RecordsPropertySchema as bk, FieldsPropertySchema as bl, AppsPropertySchema as bm, TablesPropertySchema as bn, ConnectionsPropertySchema as bo, TriggerInboxPropertySchema as bp, TriggerInboxNamePropertySchema as bq, LeasePropertySchema as br, LeaseSecondsPropertySchema as bs, LeaseLimitPropertySchema as bt, type AppKeyProperty as bu, type AppProperty as bv, type ActionTypeProperty as bw, type ActionKeyProperty as bx, type ActionProperty as by, type InputFieldProperty as bz, type AddActionEntryResult as c, type GetProfilePluginProvides as c$, ZapierUnknownError as c0, ZapierAuthenticationError as c1, ZapierNotFoundError as c2, ZapierResourceNotFoundError as c3, ZapierConfigurationError as c4, ZapierBundleError as c5, ZapierTimeoutError as c6, ZapierActionError as c7, ZapierConflictError as c8, type RateLimitInfo as c9, createClientCredentialsPlugin as cA, type CreateClientCredentialsPluginProvides as cB, deleteClientCredentialsPlugin as cC, type DeleteClientCredentialsPluginProvides as cD, getAppPlugin as cE, type GetAppPluginProvides as cF, getActionPlugin as cG, type GetActionPluginProvides as cH, getConnectionPlugin as cI, type GetConnectionPluginProvides as cJ, findFirstConnectionPlugin as cK, type FindFirstConnectionPluginProvides as cL, findUniqueConnectionPlugin as cM, type FindUniqueConnectionPluginProvides as cN, CONTEXT_CACHE_TTL_MS as cO, CONTEXT_CACHE_MAX_SIZE as cP, runActionPlugin as cQ, type RunActionPluginProvides as cR, requestPlugin as cS, type RequestPluginProvides as cT, type ManifestPluginOptions as cU, getPreferredManifestEntryKey as cV, manifestPlugin as cW, type ManifestPluginProvides as cX, DEFAULT_CONFIG_PATH as cY, type ManifestEntry as cZ, getProfilePlugin as c_, ZapierRateLimitError as ca, type ApprovalStatus as cb, ZapierApprovalError as cc, ZapierRelayError as cd, formatErrorMessage as ce, ZapierSignal as cf, appsPlugin as cg, type AppsPluginProvides as ch, type ActionExecutionOptions as ci, type AppFactoryInput as cj, fetchPlugin as ck, type FetchPluginProvides as cl, listAppsPlugin as cm, type ListAppsPluginProvides as cn, listActionsPlugin as co, type ListActionsPluginProvides as cp, listActionInputFieldsPlugin as cq, type ListActionInputFieldsPluginProvides as cr, listActionInputFieldChoicesPlugin as cs, type ListActionInputFieldChoicesPluginProvides as ct, getActionInputFieldsSchemaPlugin as cu, type GetActionInputFieldsSchemaPluginProvides as cv, listConnectionsPlugin as cw, type ListConnectionsPluginProvides as cx, listClientCredentialsPlugin as cy, type ListClientCredentialsPluginProvides as cz, type ActionEntry as d, CredentialsSchema as d$, type ApiPluginOptions as d0, apiPlugin as d1, type ApiPluginProvides as d2, appKeyResolver as d3, actionTypeResolver as d4, actionKeyResolver as d5, connectionIdResolver as d6, connectionIdGenericResolver as d7, inputsResolver as d8, inputsAllOptionalResolver as d9, type ZapierCacheSetOptions as dA, createMemoryCache as dB, type SdkEvent as dC, type AuthEvent as dD, type ApiEvent as dE, type LoadingEvent as dF, type EventCallback as dG, type Credentials as dH, type ResolvedCredentials as dI, type CredentialsObject as dJ, type ClientCredentialsObject as dK, type PkceCredentialsObject as dL, isClientCredentials as dM, isPkceCredentials as dN, isCredentialsObject as dO, isCredentialsFunction as dP, type ResolveCredentialsOptions as dQ, resolveCredentialsFromEnv as dR, resolveCredentials as dS, getBaseUrlFromCredentials as dT, getClientIdFromCredentials as dU, ClientCredentialsObjectSchema as dV, PkceCredentialsObjectSchema as dW, CredentialsObjectSchema as dX, ResolvedCredentialsSchema as dY, CredentialsFunctionSchema as dZ, type CredentialsFunction as d_, inputFieldKeyResolver as da, clientCredentialsNameResolver as db, clientIdResolver as dc, tableIdResolver as dd, triggerInboxResolver as de, triggerMessagesResolver as df, tableRecordIdResolver as dg, tableRecordIdsResolver as dh, tableFieldIdsResolver as di, tableNameResolver as dj, tableFieldsResolver as dk, tableRecordsResolver as dl, tableUpdateRecordsResolver as dm, tableFiltersResolver as dn, tableSortResolver as dp, type ResolveAuthTokenOptions as dq, clearTokenCache as dr, invalidateCachedToken as ds, injectCliLogin as dt, isCliLoginAvailable as du, getTokenFromCliLogin as dv, resolveAuthToken as dw, invalidateCredentialsToken as dx, type ZapierCache as dy, type ZapierCacheEntry as dz, type PaginatedSdkResult as e, ConnectionEntrySchema as e0, type ConnectionEntry as e1, ConnectionsMapSchema as e2, type ConnectionsMap as e3, connectionsPlugin as e4, type ConnectionsPluginProvides as e5, ZAPIER_BASE_URL as e6, getZapierSdkService as e7, MAX_PAGE_LIMIT as e8, DEFAULT_PAGE_SIZE as e9, listTableRecordsPlugin as eA, type ListTableRecordsPluginProvides as eB, createTableRecordsPlugin as eC, type CreateTableRecordsPluginProvides as eD, deleteTableRecordsPlugin as eE, type DeleteTableRecordsPluginProvides as eF, updateTableRecordsPlugin as eG, type UpdateTableRecordsPluginProvides as eH, createZapierSdk as eI, type ZapierSdk as eJ, DEFAULT_ACTION_TIMEOUT_MS as ea, ZAPIER_MAX_NETWORK_RETRIES as eb, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS as ec, MAX_CONCURRENCY_LIMIT as ed, parseConcurrencyEnvVar as ee, ZAPIER_MAX_CONCURRENT_REQUESTS as ef, getZapierApprovalMode as eg, getZapierDefaultApprovalMode as eh, DEFAULT_APPROVAL_TIMEOUT_MS as ei, DEFAULT_MAX_APPROVAL_RETRIES as ej, listTablesPlugin as ek, type ListTablesPluginProvides as el, getTablePlugin as em, type GetTablePluginProvides as en, createTablePlugin as eo, type CreateTablePluginProvides as ep, deleteTablePlugin as eq, type DeleteTablePluginProvides as er, listTableFieldsPlugin as es, type ListTableFieldsPluginProvides as et, createTableFieldsPlugin as eu, type CreateTableFieldsPluginProvides as ev, deleteTableFieldsPlugin as ew, type DeleteTableFieldsPluginProvides as ex, getTableRecordPlugin as ey, type GetTableRecordPluginProvides as ez, findManifestEntry as f, type PositionalMetadata as g, type ZapierFetchInitOptions as h, type DynamicResolver as i, type WatchTriggerInboxOptions as j, type ActionProxy as k, type ZapierSdkApps as l, ZapierAbortDrainSignal as m, ZapierReleaseTriggerMessageSignal as n, type DrainTriggerInboxCallback as o, type DrainTriggerInboxErrorObserver as p, type ListAuthenticationsPluginProvides as q, readManifestFromFile as r, type FindFirstAuthenticationPluginProvides as s, type FindUniqueAuthenticationPluginProvides as t, type Action as u, type App as v, type Field as w, type Choice as x, type ActionExecutionResult as y, type ActionField as z };
|
|
9818
|
+
export { type Resolver as $, type ApiClient as A, type BaseSdkOptions as B, type CapabilitiesContext as C, type DrainTriggerInboxOptions as D, type EventEmissionContext as E, type FieldsetItem as F, type GetAuthenticationPluginProvides as G, type ActionFieldChoice as H, type NeedsRequest as I, type NeedsResponse as J, type Connection as K, type LeasedTriggerMessageItem as L, type Manifest as M, type Need as N, type ConnectionsResponse as O, type PluginMeta as P, type UserProfile as Q, type ResolvedAppLocator as R, isPositional as S, type TriggerMessageStatus as T, type UpdateManifestEntryOptions as U, createFunction as V, type WithAddPlugin as W, type FormattedItem as X, type FormatMetadata as Y, type ZapierSdkOptions as Z, type OutputFormatter as _, type UpdateManifestEntryResult as a, RecordsPropertySchema as a$, type ArrayResolver as a0, type ResolverMetadata as a1, type StaticResolver as a2, type DynamicListResolver as a3, type DynamicSearchResolver as a4, type FieldsResolver as a5, runWithTelemetryContext as a6, toSnakeCase as a7, toTitleCase as a8, batch as a9, type ConnectionItem as aA, type ActionItem$1 as aB, type InputFieldItem as aC, type InfoFieldItem as aD, type RootFieldItem as aE, type UserProfileItem as aF, type FunctionOptions as aG, type SdkPage as aH, type PaginatedSdkFunction as aI, AppKeyPropertySchema as aJ, AppPropertySchema as aK, ActionTypePropertySchema as aL, ActionKeyPropertySchema as aM, ActionPropertySchema as aN, InputFieldPropertySchema as aO, ConnectionIdPropertySchema as aP, AuthenticationIdPropertySchema as aQ, ConnectionPropertySchema as aR, InputsPropertySchema as aS, LimitPropertySchema as aT, OffsetPropertySchema as aU, OutputPropertySchema as aV, DebugPropertySchema as aW, ParamsPropertySchema as aX, ActionTimeoutMsPropertySchema as aY, TablePropertySchema as aZ, RecordPropertySchema as a_, type BatchOptions as aa, buildCapabilityMessage as ab, logDeprecation as ac, resetDeprecationWarnings as ad, RelayRequestSchema as ae, RelayFetchSchema as af, createZapierSdkWithoutRegistry as ag, createSdk as ah, createOptionsPlugin as ai, type FunctionRegistryEntry as aj, type FunctionDeprecation as ak, BaseSdkOptionsSchema as al, type Plugin as am, type PluginProvides as an, definePlugin as ao, createPluginMethod as ap, createPaginatedPluginMethod as aq, composePlugins as ar, type ActionItem as as, type ActionTypeItem as at, registryPlugin as au, type RequestOptions as av, type PollOptions as aw, createZapierApi as ax, getOrCreateApiClient as ay, type AppItem as az, type AddActionEntryOptions as b, fetchPlugin as b$, FieldsPropertySchema as b0, AppsPropertySchema as b1, TablesPropertySchema as b2, ConnectionsPropertySchema as b3, TriggerInboxPropertySchema as b4, TriggerInboxNamePropertySchema as b5, LeasePropertySchema as b6, LeaseSecondsPropertySchema as b7, LeaseLimitPropertySchema as b8, type AppKeyProperty as b9, type LeaseLimitProperty as bA, type ApiError as bB, type ErrorOptions as bC, ZapierError as bD, ZapierApiError as bE, ZapierAppNotFoundError as bF, ZapierValidationError as bG, ZapierUnknownError as bH, ZapierAuthenticationError as bI, ZapierNotFoundError as bJ, ZapierResourceNotFoundError as bK, ZapierConfigurationError as bL, ZapierBundleError as bM, ZapierTimeoutError as bN, ZapierActionError as bO, ZapierConflictError as bP, type RateLimitInfo as bQ, ZapierRateLimitError as bR, type ApprovalStatus as bS, ZapierApprovalError as bT, ZapierRelayError as bU, formatErrorMessage as bV, ZapierSignal as bW, appsPlugin as bX, type AppsPluginProvides as bY, type ActionExecutionOptions as bZ, type AppFactoryInput as b_, type AppProperty as ba, type ActionTypeProperty as bb, type ActionKeyProperty as bc, type ActionProperty as bd, type InputFieldProperty as be, type ConnectionIdProperty as bf, type ConnectionProperty as bg, type AuthenticationIdProperty as bh, type InputsProperty as bi, type LimitProperty as bj, type OffsetProperty as bk, type OutputProperty as bl, type DebugProperty as bm, type ParamsProperty as bn, type ActionTimeoutMsProperty as bo, type TableProperty as bp, type RecordProperty as bq, type RecordsProperty as br, type FieldsProperty as bs, type AppsProperty as bt, type TablesProperty as bu, type ConnectionsProperty as bv, type TriggerInboxProperty as bw, type TriggerInboxNameProperty as bx, type LeaseProperty as by, type LeaseSecondsProperty as bz, type AddActionEntryResult as c, tableFieldsResolver as c$, type FetchPluginProvides as c0, listAppsPlugin as c1, type ListAppsPluginProvides as c2, listActionsPlugin as c3, type ListActionsPluginProvides as c4, listActionInputFieldsPlugin as c5, type ListActionInputFieldsPluginProvides as c6, listActionInputFieldChoicesPlugin as c7, type ListActionInputFieldChoicesPluginProvides as c8, getActionInputFieldsSchemaPlugin as c9, getPreferredManifestEntryKey as cA, manifestPlugin as cB, type ManifestPluginProvides as cC, DEFAULT_CONFIG_PATH as cD, type ManifestEntry as cE, getProfilePlugin as cF, type GetProfilePluginProvides as cG, type ApiPluginOptions as cH, apiPlugin as cI, type ApiPluginProvides as cJ, appKeyResolver as cK, actionTypeResolver as cL, actionKeyResolver as cM, connectionIdResolver as cN, connectionIdGenericResolver as cO, inputsResolver as cP, inputsAllOptionalResolver as cQ, inputFieldKeyResolver as cR, clientCredentialsNameResolver as cS, clientIdResolver as cT, tableIdResolver as cU, triggerInboxResolver as cV, triggerMessagesResolver as cW, tableRecordIdResolver as cX, tableRecordIdsResolver as cY, tableFieldIdsResolver as cZ, tableNameResolver as c_, type GetActionInputFieldsSchemaPluginProvides as ca, listConnectionsPlugin as cb, type ListConnectionsPluginProvides as cc, listClientCredentialsPlugin as cd, type ListClientCredentialsPluginProvides as ce, createClientCredentialsPlugin as cf, type CreateClientCredentialsPluginProvides as cg, deleteClientCredentialsPlugin as ch, type DeleteClientCredentialsPluginProvides as ci, getAppPlugin as cj, type GetAppPluginProvides as ck, getActionPlugin as cl, type GetActionPluginProvides as cm, getConnectionPlugin as cn, type GetConnectionPluginProvides as co, findFirstConnectionPlugin as cp, type FindFirstConnectionPluginProvides as cq, findUniqueConnectionPlugin as cr, type FindUniqueConnectionPluginProvides as cs, CONTEXT_CACHE_TTL_MS as ct, CONTEXT_CACHE_MAX_SIZE as cu, runActionPlugin as cv, type RunActionPluginProvides as cw, requestPlugin as cx, type RequestPluginProvides as cy, type ManifestPluginOptions as cz, type ActionEntry as d, listTablesPlugin as d$, tableRecordsResolver as d0, tableUpdateRecordsResolver as d1, tableFiltersResolver as d2, tableSortResolver as d3, type ResolveAuthTokenOptions as d4, clearTokenCache as d5, invalidateCachedToken as d6, injectCliLogin as d7, isCliLoginAvailable as d8, getTokenFromCliLogin as d9, ClientCredentialsObjectSchema as dA, PkceCredentialsObjectSchema as dB, CredentialsObjectSchema as dC, ResolvedCredentialsSchema as dD, CredentialsFunctionSchema as dE, type CredentialsFunction as dF, CredentialsSchema as dG, ConnectionEntrySchema as dH, type ConnectionEntry as dI, ConnectionsMapSchema as dJ, type ConnectionsMap as dK, connectionsPlugin as dL, type ConnectionsPluginProvides as dM, ZAPIER_BASE_URL as dN, getZapierSdkService as dO, MAX_PAGE_LIMIT as dP, DEFAULT_PAGE_SIZE as dQ, DEFAULT_ACTION_TIMEOUT_MS as dR, ZAPIER_MAX_NETWORK_RETRIES as dS, ZAPIER_MAX_NETWORK_RETRY_DELAY_MS as dT, MAX_CONCURRENCY_LIMIT as dU, parseConcurrencyEnvVar as dV, ZAPIER_MAX_CONCURRENT_REQUESTS as dW, getZapierApprovalMode as dX, getZapierDefaultApprovalMode as dY, DEFAULT_APPROVAL_TIMEOUT_MS as dZ, DEFAULT_MAX_APPROVAL_RETRIES as d_, resolveAuthToken as da, invalidateCredentialsToken as db, type ZapierCache as dc, type ZapierCacheEntry as dd, type ZapierCacheSetOptions as de, createMemoryCache as df, type SdkEvent as dg, type AuthEvent as dh, type ApiEvent as di, type LoadingEvent as dj, type EventCallback as dk, type Credentials as dl, type ResolvedCredentials as dm, type CredentialsObject as dn, type ClientCredentialsObject as dp, type PkceCredentialsObject as dq, isClientCredentials as dr, isPkceCredentials as ds, isCredentialsObject as dt, isCredentialsFunction as du, type ResolveCredentialsOptions as dv, resolveCredentialsFromEnv as dw, resolveCredentials as dx, getBaseUrlFromCredentials as dy, getClientIdFromCredentials as dz, type PaginatedSdkResult as e, type ListTablesPluginProvides as e0, getTablePlugin as e1, type GetTablePluginProvides as e2, createTablePlugin as e3, type CreateTablePluginProvides as e4, deleteTablePlugin as e5, type DeleteTablePluginProvides as e6, listTableFieldsPlugin as e7, type ListTableFieldsPluginProvides as e8, createTableFieldsPlugin as e9, type BaseEvent as eA, type MethodCalledEvent as eB, generateEventId as eC, getCurrentTimestamp as eD, getReleaseId as eE, getOsInfo as eF, getPlatformVersions as eG, isCi as eH, getCiPlatform as eI, getMemoryUsage as eJ, getCpuTime as eK, createZapierSdk as eL, type ZapierSdk as eM, type CreateTableFieldsPluginProvides as ea, deleteTableFieldsPlugin as eb, type DeleteTableFieldsPluginProvides as ec, getTableRecordPlugin as ed, type GetTableRecordPluginProvides as ee, listTableRecordsPlugin as ef, type ListTableRecordsPluginProvides as eg, createTableRecordsPlugin as eh, type CreateTableRecordsPluginProvides as ei, deleteTableRecordsPlugin as ej, type DeleteTableRecordsPluginProvides as ek, updateTableRecordsPlugin as el, type UpdateTableRecordsPluginProvides as em, cleanupEventListeners as en, type EventEmissionConfig as eo, eventEmissionPlugin as ep, type EventEmissionProvides as eq, type EventContext as er, type ApplicationLifecycleEventData as es, type EnhancedErrorEventData as et, type MethodCalledEventData as eu, buildApplicationLifecycleEvent as ev, buildErrorEventWithContext as ew, buildErrorEvent as ex, createBaseEvent as ey, buildMethodCalledEvent as ez, findManifestEntry as f, type PositionalMetadata as g, type ZapierFetchInitOptions as h, type DynamicResolver as i, type WatchTriggerInboxOptions as j, type ActionProxy as k, type ZapierSdkApps as l, ZapierAbortDrainSignal as m, ZapierReleaseTriggerMessageSignal as n, type DrainTriggerInboxCallback as o, type DrainTriggerInboxErrorObserver as p, type ListAuthenticationsPluginProvides as q, readManifestFromFile as r, type FindFirstAuthenticationPluginProvides as s, type FindUniqueAuthenticationPluginProvides as t, type Action as u, type App as v, type Field as w, type Choice as x, type ActionExecutionResult as y, type ActionField as z };
|