@zapier/zapier-sdk-core 0.3.0 → 0.5.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 +14 -0
- package/dist/index.cjs +162 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +20 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +124 -0
- package/dist/index.js.map +1 -0
- package/dist/v0/common/responses.cjs +139 -0
- package/dist/v0/common/responses.cjs.map +1 -0
- package/dist/v0/common/responses.d.cts +157 -0
- package/dist/v0/common/responses.d.ts +157 -0
- package/dist/v0/common/responses.js +112 -0
- package/dist/v0/common/responses.js.map +1 -0
- package/dist/v0/config/metadata.cjs +79 -0
- package/dist/v0/config/metadata.cjs.map +1 -0
- package/dist/v0/config/metadata.d.cts +70 -0
- package/dist/v0/config/metadata.d.ts +70 -0
- package/dist/v0/config/metadata.js +50 -0
- package/dist/v0/config/metadata.js.map +1 -0
- package/dist/v0/schemas/actions.cjs +90 -0
- package/dist/v0/schemas/actions.cjs.map +1 -0
- package/dist/v0/schemas/actions.d.cts +151 -0
- package/dist/v0/schemas/actions.d.ts +151 -0
- package/dist/v0/schemas/actions.js +61 -0
- package/dist/v0/schemas/actions.js.map +1 -0
- package/dist/v0/schemas/apps.cjs +130 -0
- package/dist/v0/schemas/apps.cjs.map +1 -0
- package/dist/v0/schemas/apps.d.cts +139 -0
- package/dist/v0/schemas/apps.d.ts +139 -0
- package/dist/v0/schemas/apps.js +103 -0
- package/dist/v0/schemas/apps.js.map +1 -0
- package/dist/v0/schemas/authentications.cjs +87 -0
- package/dist/v0/schemas/authentications.cjs.map +1 -0
- package/dist/v0/schemas/authentications.d.cts +112 -0
- package/dist/v0/schemas/authentications.d.ts +112 -0
- package/dist/v0/schemas/authentications.js +59 -0
- package/dist/v0/schemas/authentications.js.map +1 -0
- package/dist/v0/schemas/errors.cjs +77 -0
- package/dist/v0/schemas/errors.cjs.map +1 -0
- package/dist/v0/schemas/errors.d.cts +64 -0
- package/dist/v0/schemas/errors.d.ts +64 -0
- package/dist/v0/schemas/errors.js +49 -0
- package/dist/v0/schemas/errors.js.map +1 -0
- package/dist/v0/schemas/implementations.cjs +93 -0
- package/dist/v0/schemas/implementations.cjs.map +1 -0
- package/dist/v0/schemas/implementations.d.cts +121 -0
- package/dist/v0/schemas/implementations.d.ts +121 -0
- package/dist/v0/schemas/implementations.js +67 -0
- package/dist/v0/schemas/implementations.js.map +1 -0
- package/openapi.yaml +392 -2
- package/package.json +16 -1
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/v0/schemas/apps.ts
|
|
21
|
+
var apps_exports = {};
|
|
22
|
+
__export(apps_exports, {
|
|
23
|
+
AppItemSchema: () => AppItemSchema,
|
|
24
|
+
ListAppsQuerySchema: () => ListAppsQuerySchema,
|
|
25
|
+
ListAppsResponseSchema: () => ListAppsResponseSchema
|
|
26
|
+
});
|
|
27
|
+
module.exports = __toCommonJS(apps_exports);
|
|
28
|
+
var import_zod2 = require("zod");
|
|
29
|
+
|
|
30
|
+
// src/v0/schemas/implementations.ts
|
|
31
|
+
var import_zod = require("zod");
|
|
32
|
+
var ImplementationMetaSchema = import_zod.z.object({
|
|
33
|
+
id: import_zod.z.string().describe("Unique identifier for the implementation"),
|
|
34
|
+
name: import_zod.z.string().describe("Display name of the implementation"),
|
|
35
|
+
slug: import_zod.z.string().describe("URL-friendly slug identifier"),
|
|
36
|
+
age_in_days: import_zod.z.number().optional().describe("Number of days since the implementation was created"),
|
|
37
|
+
auth_type: import_zod.z.string().optional().describe("Authentication type (e.g., oauth2, api_key)"),
|
|
38
|
+
banner: import_zod.z.string().optional().describe("Banner message or status indicator"),
|
|
39
|
+
categories: import_zod.z.array(
|
|
40
|
+
import_zod.z.object({
|
|
41
|
+
id: import_zod.z.number().describe("Unique identifier for the category"),
|
|
42
|
+
name: import_zod.z.string().describe("Display name of the category"),
|
|
43
|
+
slug: import_zod.z.string().describe("URL-friendly slug for the category")
|
|
44
|
+
})
|
|
45
|
+
).optional().describe("Categories the implementation belongs to"),
|
|
46
|
+
images: import_zod.z.object({
|
|
47
|
+
url_16x16: import_zod.z.string().optional().describe("16x16 pixel icon URL"),
|
|
48
|
+
url_32x32: import_zod.z.string().optional().describe("32x32 pixel icon URL"),
|
|
49
|
+
url_64x64: import_zod.z.string().optional().describe("64x64 pixel icon URL"),
|
|
50
|
+
url_128x128: import_zod.z.string().optional().describe("128x128 pixel icon URL")
|
|
51
|
+
}).optional().describe("Icon images at various sizes"),
|
|
52
|
+
popularity: import_zod.z.number().optional().describe("Popularity score for ranking apps"),
|
|
53
|
+
has_filters: import_zod.z.boolean().optional().describe("Whether the app has filter actions"),
|
|
54
|
+
has_reads: import_zod.z.boolean().optional().describe("Whether the app has read actions"),
|
|
55
|
+
has_searches: import_zod.z.boolean().optional().describe("Whether the app has search actions"),
|
|
56
|
+
has_searches_or_writes: import_zod.z.boolean().optional().describe("Whether the app has search or write actions"),
|
|
57
|
+
has_upfront_fields: import_zod.z.boolean().optional().describe("Whether the app has upfront input fields"),
|
|
58
|
+
has_writes: import_zod.z.boolean().optional().describe("Whether the app has write actions"),
|
|
59
|
+
is_beta: import_zod.z.boolean().optional().describe("Whether the app is in beta"),
|
|
60
|
+
is_built_in: import_zod.z.boolean().optional().describe("Whether the app is a built-in Zapier app"),
|
|
61
|
+
is_deprecated: import_zod.z.boolean().optional().describe("Whether the app is deprecated"),
|
|
62
|
+
is_featured: import_zod.z.boolean().optional().describe("Whether the app is featured"),
|
|
63
|
+
is_hidden: import_zod.z.boolean().optional().describe("Whether the app is hidden from listings"),
|
|
64
|
+
is_invite: import_zod.z.boolean().optional().describe("Whether the app is invite-only"),
|
|
65
|
+
is_premium: import_zod.z.boolean().optional().describe("Whether the app requires a premium plan"),
|
|
66
|
+
is_public: import_zod.z.boolean().optional().describe("Whether the app is publicly available"),
|
|
67
|
+
is_upcoming: import_zod.z.boolean().optional().describe("Whether the app is upcoming/not yet released"),
|
|
68
|
+
version: import_zod.z.string().optional().describe("Version string of the app"),
|
|
69
|
+
visibility: import_zod.z.string().optional().describe("Visibility status (e.g., public, private)"),
|
|
70
|
+
actions: import_zod.z.object({
|
|
71
|
+
read: import_zod.z.number().optional().describe("Number of read actions"),
|
|
72
|
+
read_bulk: import_zod.z.number().optional().describe("Number of bulk read actions"),
|
|
73
|
+
write: import_zod.z.number().optional().describe("Number of write actions"),
|
|
74
|
+
search: import_zod.z.number().optional().describe("Number of search actions"),
|
|
75
|
+
search_or_write: import_zod.z.number().optional().describe("Number of search-or-write actions"),
|
|
76
|
+
search_and_write: import_zod.z.number().optional().describe("Number of search-and-write actions"),
|
|
77
|
+
filter: import_zod.z.number().optional().describe("Number of filter actions")
|
|
78
|
+
}).optional().describe("Count of available actions by type"),
|
|
79
|
+
description: import_zod.z.string().optional().describe("Description of the app"),
|
|
80
|
+
primary_color: import_zod.z.string().optional().describe("Primary brand color (hex)"),
|
|
81
|
+
secondary_color: import_zod.z.string().optional().describe("Secondary brand color (hex)"),
|
|
82
|
+
classification: import_zod.z.string().optional().describe("App classification category"),
|
|
83
|
+
api_docs_url: import_zod.z.string().optional().describe("URL to API documentation"),
|
|
84
|
+
image: import_zod.z.string().optional().describe("Default image URL for the app")
|
|
85
|
+
});
|
|
86
|
+
var ImplementationsMetaResponseSchema = import_zod.z.object({
|
|
87
|
+
count: import_zod.z.number().describe("Total number of results"),
|
|
88
|
+
next: import_zod.z.string().nullable().optional().describe("URL for the next page of results"),
|
|
89
|
+
previous: import_zod.z.string().nullable().optional().describe("URL for the previous page of results"),
|
|
90
|
+
results: import_zod.z.array(ImplementationMetaSchema).describe("Array of implementation metadata")
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
// src/v0/schemas/apps.ts
|
|
94
|
+
var AppItemSchema = ImplementationMetaSchema.omit({
|
|
95
|
+
name: true,
|
|
96
|
+
id: true
|
|
97
|
+
}).extend({
|
|
98
|
+
title: import_zod2.z.string().describe("Display name of the app"),
|
|
99
|
+
key: import_zod2.z.string().describe("App key (versionless implementation name)"),
|
|
100
|
+
implementation_id: import_zod2.z.string().describe("Full implementation ID including version"),
|
|
101
|
+
version: import_zod2.z.string().optional().describe("App version")
|
|
102
|
+
});
|
|
103
|
+
var ListAppsQuerySchema = import_zod2.z.object({
|
|
104
|
+
appKeys: import_zod2.z.string().optional().describe(
|
|
105
|
+
"Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')"
|
|
106
|
+
),
|
|
107
|
+
search: import_zod2.z.string().optional().describe("Search term to filter apps by name"),
|
|
108
|
+
pageSize: import_zod2.z.coerce.number().int().min(1).max(100).default(20).describe("Number of apps per page (1-100)"),
|
|
109
|
+
offset: import_zod2.z.string().optional().describe("Pagination offset from previous response")
|
|
110
|
+
}).describe("Query parameters for listing apps");
|
|
111
|
+
var ListAppsResponseSchema = import_zod2.z.object({
|
|
112
|
+
data: import_zod2.z.array(AppItemSchema).describe("Array of app items"),
|
|
113
|
+
links: import_zod2.z.object({
|
|
114
|
+
next: import_zod2.z.string().nullable().optional().describe(
|
|
115
|
+
"Fully qualified URL for the next page of results (if available)"
|
|
116
|
+
)
|
|
117
|
+
}).describe("Pagination links for navigating through results"),
|
|
118
|
+
meta: import_zod2.z.object({
|
|
119
|
+
count: import_zod2.z.number().describe("Number of items in current page"),
|
|
120
|
+
limit: import_zod2.z.number().describe("Number of items per page"),
|
|
121
|
+
offset: import_zod2.z.number().describe("Offset of the current page")
|
|
122
|
+
}).describe("Metadata for the paginated result set")
|
|
123
|
+
});
|
|
124
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
125
|
+
0 && (module.exports = {
|
|
126
|
+
AppItemSchema,
|
|
127
|
+
ListAppsQuerySchema,
|
|
128
|
+
ListAppsResponseSchema
|
|
129
|
+
});
|
|
130
|
+
//# sourceMappingURL=apps.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/v0/schemas/apps.ts","../../../src/v0/schemas/implementations.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { ImplementationMetaSchema } from \"./implementations.js\";\n\n/**\n * Normalized app item returned by listApps endpoint.\n * This extends ImplementationMetaSchema with transformed fields (title, key, implementation_id).\n */\nexport const AppItemSchema = ImplementationMetaSchema.omit({\n name: true,\n id: true,\n}).extend({\n title: z.string().describe(\"Display name of the app\"),\n key: z.string().describe(\"App key (versionless implementation name)\"),\n implementation_id: z\n .string()\n .describe(\"Full implementation ID including version\"),\n version: z.string().optional().describe(\"App version\"),\n});\n\nexport type AppItem = z.infer<typeof AppItemSchema>;\n\n/**\n * Query parameters for listing apps\n */\nexport const ListAppsQuerySchema = z\n .object({\n appKeys: z\n .string()\n .optional()\n .describe(\n \"Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')\",\n ),\n search: z\n .string()\n .optional()\n .describe(\"Search term to filter apps by name\"),\n pageSize: z.coerce\n .number()\n .int()\n .min(1)\n .max(100)\n .default(20)\n .describe(\"Number of apps per page (1-100)\"),\n offset: z\n .string()\n .optional()\n .describe(\"Pagination offset from previous response\"),\n })\n .describe(\"Query parameters for listing apps\");\n\n/**\n * Response schema for listApps\n */\nexport const ListAppsResponseSchema = z.object({\n data: z.array(AppItemSchema).describe(\"Array of app items\"),\n links: z\n .object({\n next: z\n .string()\n .nullable()\n .optional()\n .describe(\n \"Fully qualified URL for the next page of results (if available)\",\n ),\n })\n .describe(\"Pagination links for navigating through results\"),\n meta: z\n .object({\n count: z.number().describe(\"Number of items in current page\"),\n limit: z.number().describe(\"Number of items per page\"),\n offset: z.number().describe(\"Offset of the current page\"),\n })\n .describe(\"Metadata for the paginated result set\"),\n});\n\nexport type ListAppsQuery = z.infer<typeof ListAppsQuerySchema>;\nexport type ListAppsResponse = z.infer<typeof ListAppsResponseSchema>;\n","import { z } from \"zod\";\n\n/**\n * Lightweight implementation metadata returned by /api/v4/implementations-meta/*\n */\nexport const ImplementationMetaSchema = z.object({\n id: z.string().describe(\"Unique identifier for the implementation\"),\n name: z.string().describe(\"Display name of the implementation\"),\n slug: z.string().describe(\"URL-friendly slug identifier\"),\n age_in_days: z\n .number()\n .optional()\n .describe(\"Number of days since the implementation was created\"),\n auth_type: z\n .string()\n .optional()\n .describe(\"Authentication type (e.g., oauth2, api_key)\"),\n banner: z.string().optional().describe(\"Banner message or status indicator\"),\n categories: z\n .array(\n z.object({\n id: z.number().describe(\"Unique identifier for the category\"),\n name: z.string().describe(\"Display name of the category\"),\n slug: z.string().describe(\"URL-friendly slug for the category\"),\n }),\n )\n .optional()\n .describe(\"Categories the implementation belongs to\"),\n images: z\n .object({\n url_16x16: z.string().optional().describe(\"16x16 pixel icon URL\"),\n url_32x32: z.string().optional().describe(\"32x32 pixel icon URL\"),\n url_64x64: z.string().optional().describe(\"64x64 pixel icon URL\"),\n url_128x128: z.string().optional().describe(\"128x128 pixel icon URL\"),\n })\n .optional()\n .describe(\"Icon images at various sizes\"),\n popularity: z\n .number()\n .optional()\n .describe(\"Popularity score for ranking apps\"),\n has_filters: z\n .boolean()\n .optional()\n .describe(\"Whether the app has filter actions\"),\n has_reads: z\n .boolean()\n .optional()\n .describe(\"Whether the app has read actions\"),\n has_searches: z\n .boolean()\n .optional()\n .describe(\"Whether the app has search actions\"),\n has_searches_or_writes: z\n .boolean()\n .optional()\n .describe(\"Whether the app has search or write actions\"),\n has_upfront_fields: z\n .boolean()\n .optional()\n .describe(\"Whether the app has upfront input fields\"),\n has_writes: z\n .boolean()\n .optional()\n .describe(\"Whether the app has write actions\"),\n is_beta: z.boolean().optional().describe(\"Whether the app is in beta\"),\n is_built_in: z\n .boolean()\n .optional()\n .describe(\"Whether the app is a built-in Zapier app\"),\n is_deprecated: z\n .boolean()\n .optional()\n .describe(\"Whether the app is deprecated\"),\n is_featured: z.boolean().optional().describe(\"Whether the app is featured\"),\n is_hidden: z\n .boolean()\n .optional()\n .describe(\"Whether the app is hidden from listings\"),\n is_invite: z.boolean().optional().describe(\"Whether the app is invite-only\"),\n is_premium: z\n .boolean()\n .optional()\n .describe(\"Whether the app requires a premium plan\"),\n is_public: z\n .boolean()\n .optional()\n .describe(\"Whether the app is publicly available\"),\n is_upcoming: z\n .boolean()\n .optional()\n .describe(\"Whether the app is upcoming/not yet released\"),\n version: z.string().optional().describe(\"Version string of the app\"),\n visibility: z\n .string()\n .optional()\n .describe(\"Visibility status (e.g., public, private)\"),\n actions: z\n .object({\n read: z.number().optional().describe(\"Number of read actions\"),\n read_bulk: z.number().optional().describe(\"Number of bulk read actions\"),\n write: z.number().optional().describe(\"Number of write actions\"),\n search: z.number().optional().describe(\"Number of search actions\"),\n search_or_write: z\n .number()\n .optional()\n .describe(\"Number of search-or-write actions\"),\n search_and_write: z\n .number()\n .optional()\n .describe(\"Number of search-and-write actions\"),\n filter: z.number().optional().describe(\"Number of filter actions\"),\n })\n .optional()\n .describe(\"Count of available actions by type\"),\n description: z.string().optional().describe(\"Description of the app\"),\n primary_color: z.string().optional().describe(\"Primary brand color (hex)\"),\n secondary_color: z\n .string()\n .optional()\n .describe(\"Secondary brand color (hex)\"),\n classification: z.string().optional().describe(\"App classification category\"),\n api_docs_url: z.string().optional().describe(\"URL to API documentation\"),\n image: z.string().optional().describe(\"Default image URL for the app\"),\n});\n\nexport type ImplementationMeta = z.infer<typeof ImplementationMetaSchema>;\n\n/**\n * Paginated response from /api/v4/implementations-meta/lookup/ and search endpoints\n */\nexport const ImplementationsMetaResponseSchema = z.object({\n count: z.number().describe(\"Total number of results\"),\n next: z\n .string()\n .nullable()\n .optional()\n .describe(\"URL for the next page of results\"),\n previous: z\n .string()\n .nullable()\n .optional()\n .describe(\"URL for the previous page of results\"),\n results: z\n .array(ImplementationMetaSchema)\n .describe(\"Array of implementation metadata\"),\n});\n\nexport type ImplementationsMetaResponse = z.infer<\n typeof ImplementationsMetaResponseSchema\n>;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,cAAkB;;;ACAlB,iBAAkB;AAKX,IAAM,2BAA2B,aAAE,OAAO;AAAA,EAC/C,IAAI,aAAE,OAAO,EAAE,SAAS,0CAA0C;AAAA,EAClE,MAAM,aAAE,OAAO,EAAE,SAAS,oCAAoC;AAAA,EAC9D,MAAM,aAAE,OAAO,EAAE,SAAS,8BAA8B;AAAA,EACxD,aAAa,aACV,OAAO,EACP,SAAS,EACT,SAAS,qDAAqD;AAAA,EACjE,WAAW,aACR,OAAO,EACP,SAAS,EACT,SAAS,6CAA6C;AAAA,EACzD,QAAQ,aAAE,OAAO,EAAE,SAAS,EAAE,SAAS,oCAAoC;AAAA,EAC3E,YAAY,aACT;AAAA,IACC,aAAE,OAAO;AAAA,MACP,IAAI,aAAE,OAAO,EAAE,SAAS,oCAAoC;AAAA,MAC5D,MAAM,aAAE,OAAO,EAAE,SAAS,8BAA8B;AAAA,MACxD,MAAM,aAAE,OAAO,EAAE,SAAS,oCAAoC;AAA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C;AAAA,IAC5D,OAAO,cAAE,OAAO,EAAE,SAAS,0BAA0B;AAAA,IACrD,QAAQ,cAAE,OAAO,EAAE,SAAS,4BAA4B;AAAA,EAC1D,CAAC,EACA,SAAS,uCAAuC;AACrD,CAAC;","names":["import_zod"]}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Normalized app item returned by listApps endpoint.
|
|
5
|
+
* This extends ImplementationMetaSchema with transformed fields (title, key, implementation_id).
|
|
6
|
+
*/
|
|
7
|
+
declare const AppItemSchema: z.ZodObject<{
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
auth_type: z.ZodOptional<z.ZodString>;
|
|
11
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
read: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
write: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
search: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
filter: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
is_deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
is_premium: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
slug: z.ZodString;
|
|
24
|
+
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
banner: z.ZodOptional<z.ZodString>;
|
|
26
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27
|
+
id: z.ZodNumber;
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
slug: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>>;
|
|
31
|
+
images: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
url_16x16: z.ZodOptional<z.ZodString>;
|
|
33
|
+
url_32x32: z.ZodOptional<z.ZodString>;
|
|
34
|
+
url_64x64: z.ZodOptional<z.ZodString>;
|
|
35
|
+
url_128x128: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
popularity: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
has_filters: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
has_reads: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
has_searches: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
+
has_writes: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
is_invite: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
is_upcoming: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
50
|
+
primary_color: z.ZodOptional<z.ZodString>;
|
|
51
|
+
secondary_color: z.ZodOptional<z.ZodString>;
|
|
52
|
+
classification: z.ZodOptional<z.ZodString>;
|
|
53
|
+
api_docs_url: z.ZodOptional<z.ZodString>;
|
|
54
|
+
image: z.ZodOptional<z.ZodString>;
|
|
55
|
+
title: z.ZodString;
|
|
56
|
+
key: z.ZodString;
|
|
57
|
+
implementation_id: z.ZodString;
|
|
58
|
+
version: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
type AppItem = z.infer<typeof AppItemSchema>;
|
|
61
|
+
/**
|
|
62
|
+
* Query parameters for listing apps
|
|
63
|
+
*/
|
|
64
|
+
declare const ListAppsQuerySchema: z.ZodObject<{
|
|
65
|
+
appKeys: z.ZodOptional<z.ZodString>;
|
|
66
|
+
search: z.ZodOptional<z.ZodString>;
|
|
67
|
+
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
68
|
+
offset: z.ZodOptional<z.ZodString>;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
/**
|
|
71
|
+
* Response schema for listApps
|
|
72
|
+
*/
|
|
73
|
+
declare const ListAppsResponseSchema: z.ZodObject<{
|
|
74
|
+
data: z.ZodArray<z.ZodObject<{
|
|
75
|
+
description: z.ZodOptional<z.ZodString>;
|
|
76
|
+
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
auth_type: z.ZodOptional<z.ZodString>;
|
|
78
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
79
|
+
read: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
write: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
search: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
filter: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
}, z.core.$strip>>;
|
|
87
|
+
is_deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
+
is_premium: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
+
slug: z.ZodString;
|
|
91
|
+
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
banner: z.ZodOptional<z.ZodString>;
|
|
93
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
94
|
+
id: z.ZodNumber;
|
|
95
|
+
name: z.ZodString;
|
|
96
|
+
slug: z.ZodString;
|
|
97
|
+
}, z.core.$strip>>>;
|
|
98
|
+
images: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
url_16x16: z.ZodOptional<z.ZodString>;
|
|
100
|
+
url_32x32: z.ZodOptional<z.ZodString>;
|
|
101
|
+
url_64x64: z.ZodOptional<z.ZodString>;
|
|
102
|
+
url_128x128: z.ZodOptional<z.ZodString>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
popularity: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
has_filters: z.ZodOptional<z.ZodBoolean>;
|
|
106
|
+
has_reads: z.ZodOptional<z.ZodBoolean>;
|
|
107
|
+
has_searches: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
has_writes: z.ZodOptional<z.ZodBoolean>;
|
|
111
|
+
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
+
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
113
|
+
is_invite: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
+
is_upcoming: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
117
|
+
primary_color: z.ZodOptional<z.ZodString>;
|
|
118
|
+
secondary_color: z.ZodOptional<z.ZodString>;
|
|
119
|
+
classification: z.ZodOptional<z.ZodString>;
|
|
120
|
+
api_docs_url: z.ZodOptional<z.ZodString>;
|
|
121
|
+
image: z.ZodOptional<z.ZodString>;
|
|
122
|
+
title: z.ZodString;
|
|
123
|
+
key: z.ZodString;
|
|
124
|
+
implementation_id: z.ZodString;
|
|
125
|
+
version: z.ZodOptional<z.ZodString>;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
links: z.ZodObject<{
|
|
128
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
|
+
}, z.core.$strip>;
|
|
130
|
+
meta: z.ZodObject<{
|
|
131
|
+
count: z.ZodNumber;
|
|
132
|
+
limit: z.ZodNumber;
|
|
133
|
+
offset: z.ZodNumber;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
type ListAppsQuery = z.infer<typeof ListAppsQuerySchema>;
|
|
137
|
+
type ListAppsResponse = z.infer<typeof ListAppsResponseSchema>;
|
|
138
|
+
|
|
139
|
+
export { type AppItem, AppItemSchema, type ListAppsQuery, ListAppsQuerySchema, type ListAppsResponse, ListAppsResponseSchema };
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Normalized app item returned by listApps endpoint.
|
|
5
|
+
* This extends ImplementationMetaSchema with transformed fields (title, key, implementation_id).
|
|
6
|
+
*/
|
|
7
|
+
declare const AppItemSchema: z.ZodObject<{
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
auth_type: z.ZodOptional<z.ZodString>;
|
|
11
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
read: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
write: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
search: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
filter: z.ZodOptional<z.ZodNumber>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
is_deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
is_premium: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
slug: z.ZodString;
|
|
24
|
+
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
banner: z.ZodOptional<z.ZodString>;
|
|
26
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27
|
+
id: z.ZodNumber;
|
|
28
|
+
name: z.ZodString;
|
|
29
|
+
slug: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>>;
|
|
31
|
+
images: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
url_16x16: z.ZodOptional<z.ZodString>;
|
|
33
|
+
url_32x32: z.ZodOptional<z.ZodString>;
|
|
34
|
+
url_64x64: z.ZodOptional<z.ZodString>;
|
|
35
|
+
url_128x128: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
popularity: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
has_filters: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
has_reads: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
has_searches: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
+
has_writes: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
is_invite: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
is_upcoming: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
50
|
+
primary_color: z.ZodOptional<z.ZodString>;
|
|
51
|
+
secondary_color: z.ZodOptional<z.ZodString>;
|
|
52
|
+
classification: z.ZodOptional<z.ZodString>;
|
|
53
|
+
api_docs_url: z.ZodOptional<z.ZodString>;
|
|
54
|
+
image: z.ZodOptional<z.ZodString>;
|
|
55
|
+
title: z.ZodString;
|
|
56
|
+
key: z.ZodString;
|
|
57
|
+
implementation_id: z.ZodString;
|
|
58
|
+
version: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
type AppItem = z.infer<typeof AppItemSchema>;
|
|
61
|
+
/**
|
|
62
|
+
* Query parameters for listing apps
|
|
63
|
+
*/
|
|
64
|
+
declare const ListAppsQuerySchema: z.ZodObject<{
|
|
65
|
+
appKeys: z.ZodOptional<z.ZodString>;
|
|
66
|
+
search: z.ZodOptional<z.ZodString>;
|
|
67
|
+
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
68
|
+
offset: z.ZodOptional<z.ZodString>;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
/**
|
|
71
|
+
* Response schema for listApps
|
|
72
|
+
*/
|
|
73
|
+
declare const ListAppsResponseSchema: z.ZodObject<{
|
|
74
|
+
data: z.ZodArray<z.ZodObject<{
|
|
75
|
+
description: z.ZodOptional<z.ZodString>;
|
|
76
|
+
is_hidden: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
+
auth_type: z.ZodOptional<z.ZodString>;
|
|
78
|
+
actions: z.ZodOptional<z.ZodObject<{
|
|
79
|
+
read: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
read_bulk: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
write: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
search: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
search_or_write: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
search_and_write: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
filter: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
}, z.core.$strip>>;
|
|
87
|
+
is_deprecated: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
is_beta: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
+
is_premium: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
+
slug: z.ZodString;
|
|
91
|
+
age_in_days: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
banner: z.ZodOptional<z.ZodString>;
|
|
93
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
94
|
+
id: z.ZodNumber;
|
|
95
|
+
name: z.ZodString;
|
|
96
|
+
slug: z.ZodString;
|
|
97
|
+
}, z.core.$strip>>>;
|
|
98
|
+
images: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
url_16x16: z.ZodOptional<z.ZodString>;
|
|
100
|
+
url_32x32: z.ZodOptional<z.ZodString>;
|
|
101
|
+
url_64x64: z.ZodOptional<z.ZodString>;
|
|
102
|
+
url_128x128: z.ZodOptional<z.ZodString>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
popularity: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
has_filters: z.ZodOptional<z.ZodBoolean>;
|
|
106
|
+
has_reads: z.ZodOptional<z.ZodBoolean>;
|
|
107
|
+
has_searches: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
has_writes: z.ZodOptional<z.ZodBoolean>;
|
|
111
|
+
is_built_in: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
+
is_featured: z.ZodOptional<z.ZodBoolean>;
|
|
113
|
+
is_invite: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
is_public: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
+
is_upcoming: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
117
|
+
primary_color: z.ZodOptional<z.ZodString>;
|
|
118
|
+
secondary_color: z.ZodOptional<z.ZodString>;
|
|
119
|
+
classification: z.ZodOptional<z.ZodString>;
|
|
120
|
+
api_docs_url: z.ZodOptional<z.ZodString>;
|
|
121
|
+
image: z.ZodOptional<z.ZodString>;
|
|
122
|
+
title: z.ZodString;
|
|
123
|
+
key: z.ZodString;
|
|
124
|
+
implementation_id: z.ZodString;
|
|
125
|
+
version: z.ZodOptional<z.ZodString>;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
links: z.ZodObject<{
|
|
128
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
|
+
}, z.core.$strip>;
|
|
130
|
+
meta: z.ZodObject<{
|
|
131
|
+
count: z.ZodNumber;
|
|
132
|
+
limit: z.ZodNumber;
|
|
133
|
+
offset: z.ZodNumber;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
type ListAppsQuery = z.infer<typeof ListAppsQuerySchema>;
|
|
137
|
+
type ListAppsResponse = z.infer<typeof ListAppsResponseSchema>;
|
|
138
|
+
|
|
139
|
+
export { type AppItem, AppItemSchema, type ListAppsQuery, ListAppsQuerySchema, type ListAppsResponse, ListAppsResponseSchema };
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// src/v0/schemas/apps.ts
|
|
2
|
+
import { z as z2 } from "zod";
|
|
3
|
+
|
|
4
|
+
// src/v0/schemas/implementations.ts
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
var ImplementationMetaSchema = z.object({
|
|
7
|
+
id: z.string().describe("Unique identifier for the implementation"),
|
|
8
|
+
name: z.string().describe("Display name of the implementation"),
|
|
9
|
+
slug: z.string().describe("URL-friendly slug identifier"),
|
|
10
|
+
age_in_days: z.number().optional().describe("Number of days since the implementation was created"),
|
|
11
|
+
auth_type: z.string().optional().describe("Authentication type (e.g., oauth2, api_key)"),
|
|
12
|
+
banner: z.string().optional().describe("Banner message or status indicator"),
|
|
13
|
+
categories: z.array(
|
|
14
|
+
z.object({
|
|
15
|
+
id: z.number().describe("Unique identifier for the category"),
|
|
16
|
+
name: z.string().describe("Display name of the category"),
|
|
17
|
+
slug: z.string().describe("URL-friendly slug for the category")
|
|
18
|
+
})
|
|
19
|
+
).optional().describe("Categories the implementation belongs to"),
|
|
20
|
+
images: z.object({
|
|
21
|
+
url_16x16: z.string().optional().describe("16x16 pixel icon URL"),
|
|
22
|
+
url_32x32: z.string().optional().describe("32x32 pixel icon URL"),
|
|
23
|
+
url_64x64: z.string().optional().describe("64x64 pixel icon URL"),
|
|
24
|
+
url_128x128: z.string().optional().describe("128x128 pixel icon URL")
|
|
25
|
+
}).optional().describe("Icon images at various sizes"),
|
|
26
|
+
popularity: z.number().optional().describe("Popularity score for ranking apps"),
|
|
27
|
+
has_filters: z.boolean().optional().describe("Whether the app has filter actions"),
|
|
28
|
+
has_reads: z.boolean().optional().describe("Whether the app has read actions"),
|
|
29
|
+
has_searches: z.boolean().optional().describe("Whether the app has search actions"),
|
|
30
|
+
has_searches_or_writes: z.boolean().optional().describe("Whether the app has search or write actions"),
|
|
31
|
+
has_upfront_fields: z.boolean().optional().describe("Whether the app has upfront input fields"),
|
|
32
|
+
has_writes: z.boolean().optional().describe("Whether the app has write actions"),
|
|
33
|
+
is_beta: z.boolean().optional().describe("Whether the app is in beta"),
|
|
34
|
+
is_built_in: z.boolean().optional().describe("Whether the app is a built-in Zapier app"),
|
|
35
|
+
is_deprecated: z.boolean().optional().describe("Whether the app is deprecated"),
|
|
36
|
+
is_featured: z.boolean().optional().describe("Whether the app is featured"),
|
|
37
|
+
is_hidden: z.boolean().optional().describe("Whether the app is hidden from listings"),
|
|
38
|
+
is_invite: z.boolean().optional().describe("Whether the app is invite-only"),
|
|
39
|
+
is_premium: z.boolean().optional().describe("Whether the app requires a premium plan"),
|
|
40
|
+
is_public: z.boolean().optional().describe("Whether the app is publicly available"),
|
|
41
|
+
is_upcoming: z.boolean().optional().describe("Whether the app is upcoming/not yet released"),
|
|
42
|
+
version: z.string().optional().describe("Version string of the app"),
|
|
43
|
+
visibility: z.string().optional().describe("Visibility status (e.g., public, private)"),
|
|
44
|
+
actions: z.object({
|
|
45
|
+
read: z.number().optional().describe("Number of read actions"),
|
|
46
|
+
read_bulk: z.number().optional().describe("Number of bulk read actions"),
|
|
47
|
+
write: z.number().optional().describe("Number of write actions"),
|
|
48
|
+
search: z.number().optional().describe("Number of search actions"),
|
|
49
|
+
search_or_write: z.number().optional().describe("Number of search-or-write actions"),
|
|
50
|
+
search_and_write: z.number().optional().describe("Number of search-and-write actions"),
|
|
51
|
+
filter: z.number().optional().describe("Number of filter actions")
|
|
52
|
+
}).optional().describe("Count of available actions by type"),
|
|
53
|
+
description: z.string().optional().describe("Description of the app"),
|
|
54
|
+
primary_color: z.string().optional().describe("Primary brand color (hex)"),
|
|
55
|
+
secondary_color: z.string().optional().describe("Secondary brand color (hex)"),
|
|
56
|
+
classification: z.string().optional().describe("App classification category"),
|
|
57
|
+
api_docs_url: z.string().optional().describe("URL to API documentation"),
|
|
58
|
+
image: z.string().optional().describe("Default image URL for the app")
|
|
59
|
+
});
|
|
60
|
+
var ImplementationsMetaResponseSchema = z.object({
|
|
61
|
+
count: z.number().describe("Total number of results"),
|
|
62
|
+
next: z.string().nullable().optional().describe("URL for the next page of results"),
|
|
63
|
+
previous: z.string().nullable().optional().describe("URL for the previous page of results"),
|
|
64
|
+
results: z.array(ImplementationMetaSchema).describe("Array of implementation metadata")
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
// src/v0/schemas/apps.ts
|
|
68
|
+
var AppItemSchema = ImplementationMetaSchema.omit({
|
|
69
|
+
name: true,
|
|
70
|
+
id: true
|
|
71
|
+
}).extend({
|
|
72
|
+
title: z2.string().describe("Display name of the app"),
|
|
73
|
+
key: z2.string().describe("App key (versionless implementation name)"),
|
|
74
|
+
implementation_id: z2.string().describe("Full implementation ID including version"),
|
|
75
|
+
version: z2.string().optional().describe("App version")
|
|
76
|
+
});
|
|
77
|
+
var ListAppsQuerySchema = z2.object({
|
|
78
|
+
appKeys: z2.string().optional().describe(
|
|
79
|
+
"Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')"
|
|
80
|
+
),
|
|
81
|
+
search: z2.string().optional().describe("Search term to filter apps by name"),
|
|
82
|
+
pageSize: z2.coerce.number().int().min(1).max(100).default(20).describe("Number of apps per page (1-100)"),
|
|
83
|
+
offset: z2.string().optional().describe("Pagination offset from previous response")
|
|
84
|
+
}).describe("Query parameters for listing apps");
|
|
85
|
+
var ListAppsResponseSchema = z2.object({
|
|
86
|
+
data: z2.array(AppItemSchema).describe("Array of app items"),
|
|
87
|
+
links: z2.object({
|
|
88
|
+
next: z2.string().nullable().optional().describe(
|
|
89
|
+
"Fully qualified URL for the next page of results (if available)"
|
|
90
|
+
)
|
|
91
|
+
}).describe("Pagination links for navigating through results"),
|
|
92
|
+
meta: z2.object({
|
|
93
|
+
count: z2.number().describe("Number of items in current page"),
|
|
94
|
+
limit: z2.number().describe("Number of items per page"),
|
|
95
|
+
offset: z2.number().describe("Offset of the current page")
|
|
96
|
+
}).describe("Metadata for the paginated result set")
|
|
97
|
+
});
|
|
98
|
+
export {
|
|
99
|
+
AppItemSchema,
|
|
100
|
+
ListAppsQuerySchema,
|
|
101
|
+
ListAppsResponseSchema
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=apps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/v0/schemas/apps.ts","../../../src/v0/schemas/implementations.ts"],"sourcesContent":["import { z } from \"zod\";\nimport { ImplementationMetaSchema } from \"./implementations.js\";\n\n/**\n * Normalized app item returned by listApps endpoint.\n * This extends ImplementationMetaSchema with transformed fields (title, key, implementation_id).\n */\nexport const AppItemSchema = ImplementationMetaSchema.omit({\n name: true,\n id: true,\n}).extend({\n title: z.string().describe(\"Display name of the app\"),\n key: z.string().describe(\"App key (versionless implementation name)\"),\n implementation_id: z\n .string()\n .describe(\"Full implementation ID including version\"),\n version: z.string().optional().describe(\"App version\"),\n});\n\nexport type AppItem = z.infer<typeof AppItemSchema>;\n\n/**\n * Query parameters for listing apps\n */\nexport const ListAppsQuerySchema = z\n .object({\n appKeys: z\n .string()\n .optional()\n .describe(\n \"Comma-separated list of app keys to filter by (e.g., 'SlackCLIAPI' or slugs like 'github,slack')\",\n ),\n search: z\n .string()\n .optional()\n .describe(\"Search term to filter apps by name\"),\n pageSize: z.coerce\n .number()\n .int()\n .min(1)\n .max(100)\n .default(20)\n .describe(\"Number of apps per page (1-100)\"),\n offset: z\n .string()\n .optional()\n .describe(\"Pagination offset from previous response\"),\n })\n .describe(\"Query parameters for listing apps\");\n\n/**\n * Response schema for listApps\n */\nexport const ListAppsResponseSchema = z.object({\n data: z.array(AppItemSchema).describe(\"Array of app items\"),\n links: z\n .object({\n next: z\n .string()\n .nullable()\n .optional()\n .describe(\n \"Fully qualified URL for the next page of results (if available)\",\n ),\n })\n .describe(\"Pagination links for navigating through results\"),\n meta: z\n .object({\n count: z.number().describe(\"Number of items in current page\"),\n limit: z.number().describe(\"Number of items per page\"),\n offset: z.number().describe(\"Offset of the current page\"),\n })\n .describe(\"Metadata for the paginated result set\"),\n});\n\nexport type ListAppsQuery = z.infer<typeof ListAppsQuerySchema>;\nexport type ListAppsResponse = z.infer<typeof ListAppsResponseSchema>;\n","import { z } from \"zod\";\n\n/**\n * Lightweight implementation metadata returned by /api/v4/implementations-meta/*\n */\nexport const ImplementationMetaSchema = z.object({\n id: z.string().describe(\"Unique identifier for the implementation\"),\n name: z.string().describe(\"Display name of the implementation\"),\n slug: z.string().describe(\"URL-friendly slug identifier\"),\n age_in_days: z\n .number()\n .optional()\n .describe(\"Number of days since the implementation was created\"),\n auth_type: z\n .string()\n .optional()\n .describe(\"Authentication type (e.g., oauth2, api_key)\"),\n banner: z.string().optional().describe(\"Banner message or status indicator\"),\n categories: z\n .array(\n z.object({\n id: z.number().describe(\"Unique identifier for the category\"),\n name: z.string().describe(\"Display name of the category\"),\n slug: z.string().describe(\"URL-friendly slug for the category\"),\n }),\n )\n .optional()\n .describe(\"Categories the implementation belongs to\"),\n images: z\n .object({\n url_16x16: z.string().optional().describe(\"16x16 pixel icon URL\"),\n url_32x32: z.string().optional().describe(\"32x32 pixel icon URL\"),\n url_64x64: z.string().optional().describe(\"64x64 pixel icon URL\"),\n url_128x128: z.string().optional().describe(\"128x128 pixel icon URL\"),\n })\n .optional()\n .describe(\"Icon images at various sizes\"),\n popularity: z\n .number()\n .optional()\n .describe(\"Popularity score for ranking apps\"),\n has_filters: z\n .boolean()\n .optional()\n .describe(\"Whether the app has filter actions\"),\n has_reads: z\n .boolean()\n .optional()\n .describe(\"Whether the app has read actions\"),\n has_searches: z\n .boolean()\n .optional()\n .describe(\"Whether the app has search actions\"),\n has_searches_or_writes: z\n .boolean()\n .optional()\n .describe(\"Whether the app has search or write actions\"),\n has_upfront_fields: z\n .boolean()\n .optional()\n .describe(\"Whether the app has upfront input fields\"),\n has_writes: z\n .boolean()\n .optional()\n .describe(\"Whether the app has write actions\"),\n is_beta: z.boolean().optional().describe(\"Whether the app is in beta\"),\n is_built_in: z\n .boolean()\n .optional()\n .describe(\"Whether the app is a built-in Zapier app\"),\n is_deprecated: z\n .boolean()\n .optional()\n .describe(\"Whether the app is deprecated\"),\n is_featured: z.boolean().optional().describe(\"Whether the app is featured\"),\n is_hidden: z\n .boolean()\n .optional()\n .describe(\"Whether the app is hidden from listings\"),\n is_invite: z.boolean().optional().describe(\"Whether the app is invite-only\"),\n is_premium: z\n .boolean()\n .optional()\n .describe(\"Whether the app requires a premium plan\"),\n is_public: z\n .boolean()\n .optional()\n .describe(\"Whether the app is publicly available\"),\n is_upcoming: z\n .boolean()\n .optional()\n .describe(\"Whether the app is upcoming/not yet released\"),\n version: z.string().optional().describe(\"Version string of the app\"),\n visibility: z\n .string()\n .optional()\n .describe(\"Visibility status (e.g., public, private)\"),\n actions: z\n .object({\n read: z.number().optional().describe(\"Number of read actions\"),\n read_bulk: z.number().optional().describe(\"Number of bulk read actions\"),\n write: z.number().optional().describe(\"Number of write actions\"),\n search: z.number().optional().describe(\"Number of search actions\"),\n search_or_write: z\n .number()\n .optional()\n .describe(\"Number of search-or-write actions\"),\n search_and_write: z\n .number()\n .optional()\n .describe(\"Number of search-and-write actions\"),\n filter: z.number().optional().describe(\"Number of filter actions\"),\n })\n .optional()\n .describe(\"Count of available actions by type\"),\n description: z.string().optional().describe(\"Description of the app\"),\n primary_color: z.string().optional().describe(\"Primary brand color (hex)\"),\n secondary_color: z\n .string()\n .optional()\n .describe(\"Secondary brand color (hex)\"),\n classification: z.string().optional().describe(\"App classification category\"),\n api_docs_url: z.string().optional().describe(\"URL to API documentation\"),\n image: z.string().optional().describe(\"Default image URL for the app\"),\n});\n\nexport type ImplementationMeta = z.infer<typeof ImplementationMetaSchema>;\n\n/**\n * Paginated response from /api/v4/implementations-meta/lookup/ and search endpoints\n */\nexport const ImplementationsMetaResponseSchema = z.object({\n count: z.number().describe(\"Total number of results\"),\n next: z\n .string()\n .nullable()\n .optional()\n .describe(\"URL for the next page of results\"),\n previous: z\n .string()\n .nullable()\n .optional()\n .describe(\"URL for the previous page of results\"),\n results: z\n .array(ImplementationMetaSchema)\n .describe(\"Array of implementation metadata\"),\n});\n\nexport type ImplementationsMetaResponse = z.infer<\n typeof ImplementationsMetaResponseSchema\n>;\n"],"mappings":";AAAA,SAAS,KAAAA,UAAS;;;ACAlB,SAAS,SAAS;AAKX,IAAM,2BAA2B,EAAE,OAAO;AAAA,EAC/C,IAAI,EAAE,OAAO,EAAE,SAAS,0CAA0C;AAAA,EAClE,MAAM,EAAE,OAAO,EAAE,SAAS,oCAAoC;AAAA,EAC9D,MAAM,EAAE,OAAO,EAAE,SAAS,8BAA8B;AAAA,EACxD,aAAa,EACV,OAAO,EACP,SAAS,EACT,SAAS,qDAAqD;AAAA,EACjE,WAAW,EACR,OAAO,EACP,SAAS,EACT,SAAS,6CAA6C;AAAA,EACzD,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,oCAAoC;AAAA,EAC3E,YAAY,EACT;AAAA,IACC,EAAE,OAAO;AAAA,MACP,IAAI,EAAE,OAAO,EAAE,SAAS,oCAAoC;AAAA,MAC5D,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