terse-types 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ApiRouteBuilder.d.ts +3 -0
- package/dist/ApiRoutes.json +3 -0
- package/dist/Configs.d.ts +31 -1
- package/dist/Configs.js +35 -4
- package/dist/Integrations.d.ts +13 -0
- package/dist/Integrations.js +13 -2
- package/dist/InvalidationKeys.d.ts +1 -0
- package/dist/InvalidationKeys.js +1 -0
- package/dist/ToolDisplayUtils.js +89 -0
- package/dist/Tools.d.ts +781 -0
- package/dist/Tools.js +187 -5
- package/dist/types.d.ts +64 -0
- package/package.json +1 -1
package/dist/Tools.js
CHANGED
|
@@ -1775,6 +1775,7 @@ export const attioAttributeSchema = z
|
|
|
1775
1775
|
.object({
|
|
1776
1776
|
api_slug: z.string().optional(),
|
|
1777
1777
|
title: z.string().optional(),
|
|
1778
|
+
description: z.string().nullable().optional(),
|
|
1778
1779
|
type: z.string().optional(),
|
|
1779
1780
|
is_required: z.boolean().optional(),
|
|
1780
1781
|
is_unique: z.boolean().optional(),
|
|
@@ -2270,30 +2271,51 @@ export const attioModifySchemaRequestSchema = z.discriminatedUnion("action", [
|
|
|
2270
2271
|
attributeType: z
|
|
2271
2272
|
.string()
|
|
2272
2273
|
.describe("Attio attribute type, e.g. 'text', 'number', 'checkbox', 'currency', 'date', 'timestamp', 'rating', 'status', 'select', 'record-reference', 'actor-reference', 'location', 'domain', 'email-address', 'phone-number'."),
|
|
2274
|
+
description: z.string().nullable().optional().describe("Text description of the attribute, shown in the Attio UI."),
|
|
2273
2275
|
isRequired: z.boolean().nullable().optional().describe("Whether a value is required. Defaults to false."),
|
|
2274
2276
|
isUnique: z.boolean().nullable().optional().describe("Whether values must be unique. Defaults to false."),
|
|
2275
2277
|
isMultiselect: z.boolean().nullable().optional().describe("Whether the attribute holds multiple values. Defaults to false."),
|
|
2278
|
+
defaultValue: z
|
|
2279
|
+
.string()
|
|
2280
|
+
.nullable()
|
|
2281
|
+
.optional()
|
|
2282
|
+
.describe('Optional JSON object string for a default value, e.g. \'{"type":"dynamic","template":"current-user"}\' or \'{"type":"static","template":[...]}\'.'),
|
|
2283
|
+
relationship: z
|
|
2284
|
+
.string()
|
|
2285
|
+
.nullable()
|
|
2286
|
+
.optional()
|
|
2287
|
+
.describe('Optional JSON object string creating the paired attribute of a bidirectional record-reference, e.g. \'{"object":"companies","title":"Projects","api_slug":"projects","is_multiselect":true}\'.'),
|
|
2276
2288
|
config: z.string().nullable().optional().describe('Optional JSON object string for type-specific config, e.g. \'{"record_reference":{"allowed_objects":["people"]}}\'.')
|
|
2277
2289
|
}),
|
|
2278
2290
|
z.object({
|
|
2279
|
-
action: z.literal("update_attribute").describe("Update an attribute's title or
|
|
2291
|
+
action: z.literal("update_attribute").describe("Update an attribute's title, description, slug, constraints, default value or config, or archive it."),
|
|
2280
2292
|
...attioSchemaTargetFields,
|
|
2281
2293
|
attributeSlug: z.string(),
|
|
2282
2294
|
title: z.string().nullable().optional(),
|
|
2283
|
-
|
|
2295
|
+
newApiSlug: z.string().nullable().optional().describe("New unique attribute slug (snake_case)."),
|
|
2296
|
+
description: z.string().nullable().optional().describe("Text description of the attribute. Pass an empty string to clear it."),
|
|
2297
|
+
isRequired: z.boolean().nullable().optional(),
|
|
2298
|
+
isUnique: z.boolean().nullable().optional(),
|
|
2299
|
+
isArchived: z.boolean().nullable().optional().describe("Archive or restore the attribute."),
|
|
2300
|
+
defaultValue: z.string().nullable().optional().describe('Optional JSON object string for a default value, e.g. \'{"type":"dynamic","template":"current-user"}\'.'),
|
|
2301
|
+
config: z.string().nullable().optional().describe('Optional JSON object string for type-specific config, e.g. \'{"currency":{"default_currency_code":"USD","display_type":"symbol"}}\'.')
|
|
2284
2302
|
}),
|
|
2285
2303
|
z.object({
|
|
2286
2304
|
action: z.literal("create_status").describe("Add a new status to a status attribute. Rerun terse generate afterwards to refresh generated constants."),
|
|
2287
2305
|
...attioSchemaTargetFields,
|
|
2288
2306
|
attributeSlug: z.string(),
|
|
2289
|
-
title: z.string().describe("The status title.")
|
|
2307
|
+
title: z.string().describe("The status title."),
|
|
2308
|
+
celebrationEnabled: z.boolean().nullable().optional().describe("Whether arriving at this status triggers a celebration effect. Defaults to false."),
|
|
2309
|
+
targetTimeInStatus: z.string().nullable().optional().describe("Target time a record should spend in this status, as an ISO-8601 duration (e.g. 'P7D').")
|
|
2290
2310
|
}),
|
|
2291
2311
|
z.object({
|
|
2292
|
-
action: z.literal("update_status").describe("Rename or archive a status."),
|
|
2312
|
+
action: z.literal("update_status").describe("Rename, reconfigure or archive a status."),
|
|
2293
2313
|
...attioSchemaTargetFields,
|
|
2294
2314
|
attributeSlug: z.string(),
|
|
2295
2315
|
statusId: z.string().describe("The status ID (UUID)."),
|
|
2296
2316
|
title: z.string().nullable().optional(),
|
|
2317
|
+
celebrationEnabled: z.boolean().nullable().optional().describe("Whether arriving at this status triggers a celebration effect."),
|
|
2318
|
+
targetTimeInStatus: z.string().nullable().optional().describe("Target time a record should spend in this status, as an ISO-8601 duration (e.g. 'P7D')."),
|
|
2297
2319
|
isArchived: z.boolean().nullable().optional()
|
|
2298
2320
|
}),
|
|
2299
2321
|
z.object({
|
|
@@ -2818,6 +2840,161 @@ export const resendSendTemplateTool = defineTool({
|
|
|
2818
2840
|
inputSchema: resendSendTemplateInputSchema,
|
|
2819
2841
|
outputSchema: resendSendTemplateOutputSchema
|
|
2820
2842
|
});
|
|
2843
|
+
// Apollo schemas — projections of Apollo.io's large payloads down to the fields GTM workflows need
|
|
2844
|
+
export const apolloOrganizationSummarySchema = z.object({
|
|
2845
|
+
id: z.string().nullable(),
|
|
2846
|
+
name: z.string().nullable(),
|
|
2847
|
+
websiteUrl: z.string().nullable(),
|
|
2848
|
+
primaryDomain: z.string().nullable(),
|
|
2849
|
+
industry: z.string().nullable(),
|
|
2850
|
+
estimatedNumEmployees: z.number().int().nullable()
|
|
2851
|
+
});
|
|
2852
|
+
export const apolloEnrichedPersonSchema = z.object({
|
|
2853
|
+
id: z.string(),
|
|
2854
|
+
firstName: z.string().nullable(),
|
|
2855
|
+
lastName: z.string().nullable(),
|
|
2856
|
+
name: z.string().nullable(),
|
|
2857
|
+
title: z.string().nullable(),
|
|
2858
|
+
seniority: z.string().nullable(),
|
|
2859
|
+
email: z.string().nullable(),
|
|
2860
|
+
emailStatus: z.string().nullable(),
|
|
2861
|
+
linkedinUrl: z.string().nullable(),
|
|
2862
|
+
city: z.string().nullable(),
|
|
2863
|
+
state: z.string().nullable(),
|
|
2864
|
+
country: z.string().nullable(),
|
|
2865
|
+
organization: apolloOrganizationSummarySchema.nullable()
|
|
2866
|
+
});
|
|
2867
|
+
export const apolloOrganizationSchema = apolloOrganizationSummarySchema.extend({
|
|
2868
|
+
keywords: z.array(z.string()),
|
|
2869
|
+
annualRevenuePrinted: z.string().nullable(),
|
|
2870
|
+
totalFundingPrinted: z.string().nullable(),
|
|
2871
|
+
latestFundingStage: z.string().nullable(),
|
|
2872
|
+
foundedYear: z.number().int().nullable(),
|
|
2873
|
+
city: z.string().nullable(),
|
|
2874
|
+
state: z.string().nullable(),
|
|
2875
|
+
country: z.string().nullable(),
|
|
2876
|
+
linkedinUrl: z.string().nullable(),
|
|
2877
|
+
shortDescription: z.string().nullable(),
|
|
2878
|
+
technologyNames: z.array(z.string())
|
|
2879
|
+
});
|
|
2880
|
+
export const apolloSearchPersonSchema = z.object({
|
|
2881
|
+
id: z.string(),
|
|
2882
|
+
firstName: z.string().nullable(),
|
|
2883
|
+
lastName: z.string().nullable(),
|
|
2884
|
+
name: z.string().nullable(),
|
|
2885
|
+
title: z.string().nullable(),
|
|
2886
|
+
hasEmail: z.boolean().nullable(),
|
|
2887
|
+
linkedinUrl: z.string().nullable(),
|
|
2888
|
+
city: z.string().nullable(),
|
|
2889
|
+
state: z.string().nullable(),
|
|
2890
|
+
country: z.string().nullable(),
|
|
2891
|
+
organization: apolloOrganizationSummarySchema.nullable()
|
|
2892
|
+
});
|
|
2893
|
+
// Apollo input schemas
|
|
2894
|
+
const apolloPersonMatchFields = {
|
|
2895
|
+
id: z.string().nullable().optional().describe("Apollo person ID, e.g. from apollo_search_people results. The most reliable match key."),
|
|
2896
|
+
email: z.string().nullable().optional().describe("The person's email address."),
|
|
2897
|
+
firstName: z.string().nullable().optional().describe("The person's first name."),
|
|
2898
|
+
lastName: z.string().nullable().optional().describe("The person's last name."),
|
|
2899
|
+
name: z.string().nullable().optional().describe("The person's full name, if first/last are not known separately."),
|
|
2900
|
+
domain: z.string().nullable().optional().describe("The person's employer domain, without www or @ (e.g. acme.com)."),
|
|
2901
|
+
organizationName: z.string().nullable().optional().describe("The person's employer name."),
|
|
2902
|
+
linkedinUrl: z.string().nullable().optional().describe("The person's LinkedIn profile URL.")
|
|
2903
|
+
};
|
|
2904
|
+
export const apolloEnrichPersonInputSchema = z.object({
|
|
2905
|
+
integrationId: z.string().describe("The integration ID of the Apollo connection to use."),
|
|
2906
|
+
...apolloPersonMatchFields,
|
|
2907
|
+
revealPersonalEmails: z.boolean().nullable().optional().describe("Also return personal emails (may consume extra credits; suppressed for people in GDPR regions). Default false.")
|
|
2908
|
+
});
|
|
2909
|
+
export const apolloBulkEnrichPeopleInputSchema = z.object({
|
|
2910
|
+
integrationId: z.string().describe("The integration ID of the Apollo connection to use."),
|
|
2911
|
+
people: z.array(z.object(apolloPersonMatchFields)).describe("Up to 10 people to enrich (Apollo's bulk_match limit). Each entry needs at least one match key (id, email, or name + domain)."),
|
|
2912
|
+
revealPersonalEmails: z.boolean().nullable().optional().describe("Also return personal emails (may consume extra credits; suppressed for people in GDPR regions). Default false.")
|
|
2913
|
+
});
|
|
2914
|
+
export const apolloEnrichOrganizationInputSchema = z.object({
|
|
2915
|
+
integrationId: z.string().describe("The integration ID of the Apollo connection to use."),
|
|
2916
|
+
domain: z.string().describe("The company domain to enrich, without www or @ (e.g. acme.com).")
|
|
2917
|
+
});
|
|
2918
|
+
export const apolloSearchPeopleInputSchema = z.object({
|
|
2919
|
+
integrationId: z.string().describe("The integration ID of the Apollo connection to use."),
|
|
2920
|
+
personTitles: z.array(z.string()).nullable().optional().describe('Job titles to match, e.g. ["Head of Marketing", "DevRel"].'),
|
|
2921
|
+
includeSimilarTitles: z.boolean().nullable().optional().describe("Whether to also match titles similar to personTitles. Default true."),
|
|
2922
|
+
personSeniorities: z.array(z.string()).nullable().optional().describe("Seniorities to match: owner, founder, c_suite, partner, vp, head, director, manager, senior, entry, intern."),
|
|
2923
|
+
personLocations: z.array(z.string()).nullable().optional().describe('Person locations, e.g. ["New York, US", "Germany"].'),
|
|
2924
|
+
organizationLocations: z.array(z.string()).nullable().optional().describe("Company HQ locations."),
|
|
2925
|
+
organizationDomains: z.array(z.string()).nullable().optional().describe("Company domains to search within, without www or @."),
|
|
2926
|
+
organizationNumEmployeesRanges: z.array(z.string()).nullable().optional().describe('Headcount ranges as "min,max" strings, e.g. ["11,50", "51,200"].'),
|
|
2927
|
+
keywords: z.string().nullable().optional().describe("Free-text keywords to narrow results."),
|
|
2928
|
+
contactEmailStatus: z.array(z.string()).nullable().optional().describe("Filter by email status: verified, unverified, likely to engage, unavailable."),
|
|
2929
|
+
page: z.number().int().min(1).nullable().optional().describe("Result page to fetch. Default 1."),
|
|
2930
|
+
perPage: z.number().int().min(1).max(100).nullable().optional().describe("Results per page, 1-100. Default 25.")
|
|
2931
|
+
});
|
|
2932
|
+
export const apolloEnrichPersonTool = defineTool({
|
|
2933
|
+
name: "apollo_enrich_person",
|
|
2934
|
+
description: "Enrich a person via Apollo.io by Apollo ID, email, or name plus company domain. Returns contact details, seniority, location, and employer firmographics. Consumes one Apollo export credit per successful match.",
|
|
2935
|
+
inputSchema: apolloEnrichPersonInputSchema,
|
|
2936
|
+
outputSchema: toolOutputBaseSchema.extend({
|
|
2937
|
+
found: z.boolean(),
|
|
2938
|
+
person: apolloEnrichedPersonSchema.nullable()
|
|
2939
|
+
})
|
|
2940
|
+
});
|
|
2941
|
+
export const apolloBulkEnrichPeopleTool = defineTool({
|
|
2942
|
+
name: "apollo_bulk_enrich_people",
|
|
2943
|
+
description: "Enrich up to 10 people in a single Apollo.io call, using the same match keys as apollo_enrich_person. Consumes one Apollo export credit per matched person. Prefer this over repeated apollo_enrich_person calls for lists.",
|
|
2944
|
+
inputSchema: apolloBulkEnrichPeopleInputSchema,
|
|
2945
|
+
outputSchema: toolOutputBaseSchema.extend({
|
|
2946
|
+
matches: z.array(apolloEnrichedPersonSchema),
|
|
2947
|
+
matchedCount: z.number().int(),
|
|
2948
|
+
requestedCount: z.number().int()
|
|
2949
|
+
})
|
|
2950
|
+
});
|
|
2951
|
+
export const apolloEnrichOrganizationTool = defineTool({
|
|
2952
|
+
name: "apollo_enrich_organization",
|
|
2953
|
+
description: "Enrich a company via Apollo.io by domain. Returns firmographics: industry, headcount, revenue, funding, location, keywords, and technologies. Consumes one Apollo export credit per matched company.",
|
|
2954
|
+
inputSchema: apolloEnrichOrganizationInputSchema,
|
|
2955
|
+
outputSchema: toolOutputBaseSchema.extend({
|
|
2956
|
+
found: z.boolean(),
|
|
2957
|
+
organization: apolloOrganizationSchema.nullable()
|
|
2958
|
+
})
|
|
2959
|
+
});
|
|
2960
|
+
export const apolloSearchPeopleTool = defineTool({
|
|
2961
|
+
name: "apollo_search_people",
|
|
2962
|
+
description: "Search Apollo.io for people by title, seniority, location, company domain, and headcount filters to build prospect lists. Consumes no credits but requires the connected key to be an Apollo master API key. Results never include emails — pass result ids to apollo_bulk_enrich_people to unlock contact data.",
|
|
2963
|
+
inputSchema: apolloSearchPeopleInputSchema,
|
|
2964
|
+
outputSchema: toolOutputBaseSchema.extend({
|
|
2965
|
+
people: z.array(apolloSearchPersonSchema),
|
|
2966
|
+
totalEntries: z.number().int(),
|
|
2967
|
+
page: z.number().int(),
|
|
2968
|
+
perPage: z.number().int()
|
|
2969
|
+
})
|
|
2970
|
+
});
|
|
2971
|
+
export const apolloJobPostingSchema = z.object({
|
|
2972
|
+
id: z.string(),
|
|
2973
|
+
title: z.string().nullable(),
|
|
2974
|
+
url: z.string().nullable(),
|
|
2975
|
+
city: z.string().nullable(),
|
|
2976
|
+
state: z.string().nullable(),
|
|
2977
|
+
country: z.string().nullable(),
|
|
2978
|
+
postedAt: z.string().nullable(),
|
|
2979
|
+
lastSeenAt: z.string().nullable()
|
|
2980
|
+
});
|
|
2981
|
+
export const apolloListJobPostingsInputSchema = z.object({
|
|
2982
|
+
integrationId: z.string().describe("The integration ID of the Apollo connection to use."),
|
|
2983
|
+
organizationId: z.string().describe("The Apollo organization ID to list job postings for, e.g. the id returned by apollo_enrich_organization or in apollo_search_people results."),
|
|
2984
|
+
page: z.number().int().min(1).nullable().optional().describe("Result page to fetch. Default 1."),
|
|
2985
|
+
perPage: z.number().int().min(1).max(500).nullable().optional().describe("Results per page, 1-500. Default 100. Apollo charges per page returned, so prefer one large page over many small ones.")
|
|
2986
|
+
});
|
|
2987
|
+
export const apolloListJobPostingsTool = defineTool({
|
|
2988
|
+
name: "apollo_list_job_postings",
|
|
2989
|
+
description: "List active job postings at a company via Apollo.io, as a hiring signal (open roles, titles, locations, posted dates). Takes the Apollo organization ID from apollo_enrich_organization. Works with any Apollo key (no master key needed) but consumes Apollo credits per page of results returned — fetch one large page instead of paging in small steps. Postings include title/url/location metadata only, not full descriptions; assess role fit from the title.",
|
|
2990
|
+
inputSchema: apolloListJobPostingsInputSchema,
|
|
2991
|
+
outputSchema: toolOutputBaseSchema.extend({
|
|
2992
|
+
postings: z.array(apolloJobPostingSchema),
|
|
2993
|
+
totalPostings: z.number().int(),
|
|
2994
|
+
page: z.number().int(),
|
|
2995
|
+
perPage: z.number().int()
|
|
2996
|
+
})
|
|
2997
|
+
});
|
|
2821
2998
|
export const ToolDefinitions = {
|
|
2822
2999
|
[linearCreateTicketTool.name]: linearCreateTicketTool,
|
|
2823
3000
|
[linearUpdateTicketTool.name]: linearUpdateTicketTool,
|
|
@@ -2900,7 +3077,12 @@ export const ToolDefinitions = {
|
|
|
2900
3077
|
[webResearchTool.name]: webResearchTool,
|
|
2901
3078
|
[imageEditTool.name]: imageEditTool,
|
|
2902
3079
|
[memoryTool.name]: memoryTool,
|
|
2903
|
-
[resendSendTemplateTool.name]: resendSendTemplateTool
|
|
3080
|
+
[resendSendTemplateTool.name]: resendSendTemplateTool,
|
|
3081
|
+
[apolloEnrichPersonTool.name]: apolloEnrichPersonTool,
|
|
3082
|
+
[apolloBulkEnrichPeopleTool.name]: apolloBulkEnrichPeopleTool,
|
|
3083
|
+
[apolloEnrichOrganizationTool.name]: apolloEnrichOrganizationTool,
|
|
3084
|
+
[apolloSearchPeopleTool.name]: apolloSearchPeopleTool,
|
|
3085
|
+
[apolloListJobPostingsTool.name]: apolloListJobPostingsTool
|
|
2904
3086
|
};
|
|
2905
3087
|
export const toolsWithIntegrationId = new Set(Object.entries(ToolDefinitions)
|
|
2906
3088
|
.filter(([, def]) => {
|
package/dist/types.d.ts
CHANGED
|
@@ -1012,6 +1012,10 @@ export declare const agentTriggerSchema: z.ZodObject<{
|
|
|
1012
1012
|
integrationId: z.ZodString;
|
|
1013
1013
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
1014
1014
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
1015
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1016
|
+
integrationId: z.ZodString;
|
|
1017
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
1018
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
1015
1019
|
}, z.core.$strip>]>;
|
|
1016
1020
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1017
1021
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1687,6 +1691,10 @@ export declare const agentOutputSchema: z.ZodObject<{
|
|
|
1687
1691
|
integrationId: z.ZodString;
|
|
1688
1692
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
1689
1693
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
1694
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1695
|
+
integrationId: z.ZodString;
|
|
1696
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
1697
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
1690
1698
|
}, z.core.$strip>]>;
|
|
1691
1699
|
}, z.core.$strip>;
|
|
1692
1700
|
export type AgentOutput = z.infer<typeof agentOutputSchema>;
|
|
@@ -2363,6 +2371,10 @@ export declare const transientAgentTriggerSchema: z.ZodObject<{
|
|
|
2363
2371
|
integrationId: z.ZodString;
|
|
2364
2372
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
2365
2373
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
2374
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2375
|
+
integrationId: z.ZodString;
|
|
2376
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
2377
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
2366
2378
|
}, z.core.$strip>]>>;
|
|
2367
2379
|
configType: z.ZodEnum<typeof import("./Configs.js").ConfigType>;
|
|
2368
2380
|
}, z.core.$strip>;
|
|
@@ -3036,6 +3048,10 @@ export declare const transientAgentOutputSchema: z.ZodObject<{
|
|
|
3036
3048
|
integrationId: z.ZodString;
|
|
3037
3049
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
3038
3050
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
3051
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3052
|
+
integrationId: z.ZodString;
|
|
3053
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
3054
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
3039
3055
|
}, z.core.$strip>]>>;
|
|
3040
3056
|
configType: z.ZodEnum<typeof import("./Configs.js").ConfigType>;
|
|
3041
3057
|
}, z.core.$strip>;
|
|
@@ -3939,6 +3955,10 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
3939
3955
|
integrationId: z.ZodString;
|
|
3940
3956
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
3941
3957
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
3958
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3959
|
+
integrationId: z.ZodString;
|
|
3960
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
3961
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
3942
3962
|
}, z.core.$strip>]>;
|
|
3943
3963
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3944
3964
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4613,6 +4633,10 @@ export declare const agentSchema: z.ZodObject<{
|
|
|
4613
4633
|
integrationId: z.ZodString;
|
|
4614
4634
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
4615
4635
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
4636
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4637
|
+
integrationId: z.ZodString;
|
|
4638
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
4639
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
4616
4640
|
}, z.core.$strip>]>;
|
|
4617
4641
|
}, z.core.$strip>>;
|
|
4618
4642
|
createdByUserId: z.ZodString;
|
|
@@ -5308,6 +5332,10 @@ export declare const agentUpdateSchema: z.ZodObject<{
|
|
|
5308
5332
|
integrationId: z.ZodString;
|
|
5309
5333
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
5310
5334
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
5335
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5336
|
+
integrationId: z.ZodString;
|
|
5337
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
5338
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
5311
5339
|
}, z.core.$strip>]>;
|
|
5312
5340
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5313
5341
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5982,6 +6010,10 @@ export declare const agentUpdateSchema: z.ZodObject<{
|
|
|
5982
6010
|
integrationId: z.ZodString;
|
|
5983
6011
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
5984
6012
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
6013
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6014
|
+
integrationId: z.ZodString;
|
|
6015
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
6016
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
5985
6017
|
}, z.core.$strip>]>;
|
|
5986
6018
|
}, z.core.$strip>>>;
|
|
5987
6019
|
prompt: z.ZodOptional<z.ZodObject<{
|
|
@@ -6687,6 +6719,10 @@ export declare const agentsResponseSchema: z.ZodObject<{
|
|
|
6687
6719
|
integrationId: z.ZodString;
|
|
6688
6720
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
6689
6721
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
6722
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6723
|
+
integrationId: z.ZodString;
|
|
6724
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
6725
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
6690
6726
|
}, z.core.$strip>]>;
|
|
6691
6727
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6692
6728
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7361,6 +7397,10 @@ export declare const agentsResponseSchema: z.ZodObject<{
|
|
|
7361
7397
|
integrationId: z.ZodString;
|
|
7362
7398
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
7363
7399
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
7400
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7401
|
+
integrationId: z.ZodString;
|
|
7402
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
7403
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
7364
7404
|
}, z.core.$strip>]>;
|
|
7365
7405
|
}, z.core.$strip>>;
|
|
7366
7406
|
createdByUserId: z.ZodString;
|
|
@@ -8069,6 +8109,10 @@ export declare const recentAgentSchema: z.ZodObject<{
|
|
|
8069
8109
|
integrationId: z.ZodString;
|
|
8070
8110
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
8071
8111
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
8112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8113
|
+
integrationId: z.ZodString;
|
|
8114
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
8115
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
8072
8116
|
}, z.core.$strip>]>;
|
|
8073
8117
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8074
8118
|
webhookUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8743,6 +8787,10 @@ export declare const recentAgentSchema: z.ZodObject<{
|
|
|
8743
8787
|
integrationId: z.ZodString;
|
|
8744
8788
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
8745
8789
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
8790
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8791
|
+
integrationId: z.ZodString;
|
|
8792
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
8793
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
8746
8794
|
}, z.core.$strip>]>;
|
|
8747
8795
|
}, z.core.$strip>>;
|
|
8748
8796
|
createdByUserId: z.ZodString;
|
|
@@ -9239,6 +9287,10 @@ export declare const sdkAgentRunRequestBodySchema: z.ZodObject<{
|
|
|
9239
9287
|
integrationId: z.ZodString;
|
|
9240
9288
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
9241
9289
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
9290
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9291
|
+
integrationId: z.ZodString;
|
|
9292
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
9293
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
9242
9294
|
}, z.core.$strip>]>>>;
|
|
9243
9295
|
options: z.ZodOptional<z.ZodObject<{
|
|
9244
9296
|
maxTurns: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11341,6 +11393,10 @@ export declare const sdkAgentRunNormalizedRequestSchema: z.ZodObject<{
|
|
|
11341
11393
|
integrationId: z.ZodString;
|
|
11342
11394
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
11343
11395
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
11396
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11397
|
+
integrationId: z.ZodString;
|
|
11398
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
11399
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
11344
11400
|
}, z.core.$strip>]>>;
|
|
11345
11401
|
toolApprovals: z.ZodArray<z.ZodString>;
|
|
11346
11402
|
options: z.ZodObject<{
|
|
@@ -13441,6 +13497,10 @@ export declare const sdkAgentRunResponseBodySchema: z.ZodObject<{
|
|
|
13441
13497
|
integrationId: z.ZodString;
|
|
13442
13498
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
13443
13499
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
13500
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13501
|
+
integrationId: z.ZodString;
|
|
13502
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
13503
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
13444
13504
|
}, z.core.$strip>]>>;
|
|
13445
13505
|
toolApprovals: z.ZodArray<z.ZodString>;
|
|
13446
13506
|
options: z.ZodObject<{
|
|
@@ -19982,6 +20042,10 @@ export declare const sdkSampleEventsRequestSchema: z.ZodObject<{
|
|
|
19982
20042
|
integrationId: z.ZodString;
|
|
19983
20043
|
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.RESEND>;
|
|
19984
20044
|
configType: z.ZodLiteral<import("./Configs.js").ConfigType.RESEND_OUTPUT>;
|
|
20045
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20046
|
+
integrationId: z.ZodString;
|
|
20047
|
+
integrationType: z.ZodLiteral<import("./Integrations.js").IntegrationType.APOLLO>;
|
|
20048
|
+
configType: z.ZodLiteral<import("./Configs.js").ConfigType.APOLLO_OUTPUT>;
|
|
19985
20049
|
}, z.core.$strip>]>;
|
|
19986
20050
|
}, z.core.$strip>>;
|
|
19987
20051
|
}, z.core.$strip>;
|