@zapier/zapier-sdk-core 0.2.0 → 0.4.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.
Files changed (45) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/index.cjs +162 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +20 -0
  5. package/dist/index.d.ts +20 -0
  6. package/dist/index.js +124 -0
  7. package/dist/index.js.map +1 -0
  8. package/dist/v0/common/responses.cjs +139 -0
  9. package/dist/v0/common/responses.cjs.map +1 -0
  10. package/dist/v0/common/responses.d.cts +157 -0
  11. package/dist/v0/common/responses.d.ts +157 -0
  12. package/dist/v0/common/responses.js +112 -0
  13. package/dist/v0/common/responses.js.map +1 -0
  14. package/dist/v0/config/metadata.cjs +75 -0
  15. package/dist/v0/config/metadata.cjs.map +1 -0
  16. package/dist/v0/config/metadata.d.cts +70 -0
  17. package/dist/v0/config/metadata.d.ts +70 -0
  18. package/dist/v0/config/metadata.js +46 -0
  19. package/dist/v0/config/metadata.js.map +1 -0
  20. package/dist/v0/schemas/apps.cjs +130 -0
  21. package/dist/v0/schemas/apps.cjs.map +1 -0
  22. package/dist/v0/schemas/apps.d.cts +139 -0
  23. package/dist/v0/schemas/apps.d.ts +139 -0
  24. package/dist/v0/schemas/apps.js +103 -0
  25. package/dist/v0/schemas/apps.js.map +1 -0
  26. package/dist/v0/schemas/authentications.cjs +87 -0
  27. package/dist/v0/schemas/authentications.cjs.map +1 -0
  28. package/dist/v0/schemas/authentications.d.cts +112 -0
  29. package/dist/v0/schemas/authentications.d.ts +112 -0
  30. package/dist/v0/schemas/authentications.js +59 -0
  31. package/dist/v0/schemas/authentications.js.map +1 -0
  32. package/dist/v0/schemas/errors.cjs +77 -0
  33. package/dist/v0/schemas/errors.cjs.map +1 -0
  34. package/dist/v0/schemas/errors.d.cts +64 -0
  35. package/dist/v0/schemas/errors.d.ts +64 -0
  36. package/dist/v0/schemas/errors.js +49 -0
  37. package/dist/v0/schemas/errors.js.map +1 -0
  38. package/dist/v0/schemas/implementations.cjs +93 -0
  39. package/dist/v0/schemas/implementations.cjs.map +1 -0
  40. package/dist/v0/schemas/implementations.d.cts +121 -0
  41. package/dist/v0/schemas/implementations.d.ts +121 -0
  42. package/dist/v0/schemas/implementations.js +67 -0
  43. package/dist/v0/schemas/implementations.js.map +1 -0
  44. package/openapi.yaml +276 -9
  45. package/package.json +11 -1
@@ -0,0 +1,49 @@
1
+ // src/v0/schemas/errors.ts
2
+ import { z } from "zod";
3
+ var ErrorCodeSchema = z.string().describe("An application-specific error code, expressed as a string value.");
4
+ var ErrorSourceSchema = z.object({
5
+ pointer: z.string().optional().describe(
6
+ "A JSON Pointer [RFC6901](https://tools.ietf.org/html/rfc6901) to the associated entity in the request document [e.g. `/data` for a primary data object, or `/data/attributes/title` for a specific attribute]."
7
+ ),
8
+ parameter: z.string().optional().describe(
9
+ "A string indicating which URI query parameter caused the error."
10
+ ),
11
+ header: z.string().optional().describe("A string indicating the header that caused the error.")
12
+ }).strict().nullable().describe(
13
+ "Identifies the source of the error within the request payload, if relevant."
14
+ );
15
+ var ErrorObjectSchema = z.object({
16
+ id: z.string().nullable().optional().describe(
17
+ "A unique identifier for this particular occurrence of the problem."
18
+ ),
19
+ links: z.object({
20
+ about: z.string().url().describe(
21
+ "A link that leads to further details about this particular occurrence of the problem."
22
+ )
23
+ }).strict().nullable().optional().describe("Relevant links about the error"),
24
+ status: z.string().optional().describe(
25
+ "The HTTP status code applicable to this problem, expressed as a string value."
26
+ ),
27
+ code: ErrorCodeSchema.optional(),
28
+ title: z.string().optional().describe(
29
+ "A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization."
30
+ ),
31
+ detail: z.string().optional().describe(
32
+ "A human-readable explanation specific to this occurrence of the problem. Like `title`, this field's value can be localized."
33
+ ),
34
+ source: ErrorSourceSchema.optional()
35
+ }).strict().describe(
36
+ "An error object provides additional information about problems encountered while performing an operation. Error objects MUST be returned as an array keyed by `errors` in the top level of a JSON:API document."
37
+ );
38
+ var ErrorsResponseSchema = z.object({
39
+ errors: z.array(ErrorObjectSchema).describe("A collection of the errors returned.")
40
+ }).describe(
41
+ "A JSON:API error response document containing an array of error objects."
42
+ );
43
+ export {
44
+ ErrorCodeSchema,
45
+ ErrorObjectSchema,
46
+ ErrorSourceSchema,
47
+ ErrorsResponseSchema
48
+ };
49
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/v0/schemas/errors.ts"],"sourcesContent":["/**\n * Error schema definitions for API error responses\n * Following JSON:API error object specification\n */\n\nimport { z } from \"zod\";\n\n/**\n * An application-specific error code, expressed as a string value.\n */\nexport const ErrorCodeSchema = z\n .string()\n .describe(\"An application-specific error code, expressed as a string value.\");\n\n/**\n * Identifies the source of the error within the request payload, if relevant.\n */\nexport const ErrorSourceSchema = z\n .object({\n pointer: z\n .string()\n .optional()\n .describe(\n \"A JSON Pointer [RFC6901](https://tools.ietf.org/html/rfc6901) to the associated entity in the request document [e.g. `/data` for a primary data object, or `/data/attributes/title` for a specific attribute].\",\n ),\n parameter: z\n .string()\n .optional()\n .describe(\n \"A string indicating which URI query parameter caused the error.\",\n ),\n header: z\n .string()\n .optional()\n .describe(\"A string indicating the header that caused the error.\"),\n })\n .strict()\n .nullable()\n .describe(\n \"Identifies the source of the error within the request payload, if relevant.\",\n );\n\n/**\n * An error object provides additional information about problems encountered while performing an operation.\n * Error objects MUST be returned as an array keyed by `errors` in the top level of a JSON:API document.\n */\nexport const ErrorObjectSchema = z\n .object({\n id: z\n .string()\n .nullable()\n .optional()\n .describe(\n \"A unique identifier for this particular occurrence of the problem.\",\n ),\n links: z\n .object({\n about: z\n .string()\n .url()\n .describe(\n \"A link that leads to further details about this particular occurrence of the problem.\",\n ),\n })\n .strict()\n .nullable()\n .optional()\n .describe(\"Relevant links about the error\"),\n status: z\n .string()\n .optional()\n .describe(\n \"The HTTP status code applicable to this problem, expressed as a string value.\",\n ),\n code: ErrorCodeSchema.optional(),\n title: z\n .string()\n .optional()\n .describe(\n \"A short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.\",\n ),\n detail: z\n .string()\n .optional()\n .describe(\n \"A human-readable explanation specific to this occurrence of the problem. Like `title`, this field's value can be localized.\",\n ),\n source: ErrorSourceSchema.optional(),\n })\n .strict()\n .describe(\n \"An error object provides additional information about problems encountered while performing an operation. Error objects MUST be returned as an array keyed by `errors` in the top level of a JSON:API document.\",\n );\n\n/**\n * A JSON:API error response document containing an array of error objects.\n */\nexport const ErrorsResponseSchema = z\n .object({\n errors: z\n .array(ErrorObjectSchema)\n .describe(\"A collection of the errors returned.\"),\n })\n .describe(\n \"A JSON:API error response document containing an array of error objects.\",\n );\n\n// Export TypeScript types\nexport type ErrorCode = z.infer<typeof ErrorCodeSchema>;\nexport type ErrorSource = z.infer<typeof ErrorSourceSchema>;\nexport type ErrorObject = z.infer<typeof ErrorObjectSchema>;\nexport type ErrorsResponse = z.infer<typeof ErrorsResponseSchema>;\n"],"mappings":";AAKA,SAAS,SAAS;AAKX,IAAM,kBAAkB,EAC5B,OAAO,EACP,SAAS,kEAAkE;AAKvE,IAAM,oBAAoB,EAC9B,OAAO;AAAA,EACN,SAAS,EACN,OAAO,EACP,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,WAAW,EACR,OAAO,EACP,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,QAAQ,EACL,OAAO,EACP,SAAS,EACT,SAAS,uDAAuD;AACrE,CAAC,EACA,OAAO,EACP,SAAS,EACT;AAAA,EACC;AACF;AAMK,IAAM,oBAAoB,EAC9B,OAAO;AAAA,EACN,IAAI,EACD,OAAO,EACP,SAAS,EACT,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,OAAO,EACJ,OAAO;AAAA,IACN,OAAO,EACJ,OAAO,EACP,IAAI,EACJ;AAAA,MACC;AAAA,IACF;AAAA,EACJ,CAAC,EACA,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,gCAAgC;AAAA,EAC5C,QAAQ,EACL,OAAO,EACP,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,MAAM,gBAAgB,SAAS;AAAA,EAC/B,OAAO,EACJ,OAAO,EACP,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,QAAQ,EACL,OAAO,EACP,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,QAAQ,kBAAkB,SAAS;AACrC,CAAC,EACA,OAAO,EACP;AAAA,EACC;AACF;AAKK,IAAM,uBAAuB,EACjC,OAAO;AAAA,EACN,QAAQ,EACL,MAAM,iBAAiB,EACvB,SAAS,sCAAsC;AACpD,CAAC,EACA;AAAA,EACC;AACF;","names":[]}
@@ -0,0 +1,93 @@
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/implementations.ts
21
+ var implementations_exports = {};
22
+ __export(implementations_exports, {
23
+ ImplementationMetaSchema: () => ImplementationMetaSchema,
24
+ ImplementationsMetaResponseSchema: () => ImplementationsMetaResponseSchema
25
+ });
26
+ module.exports = __toCommonJS(implementations_exports);
27
+ var import_zod = require("zod");
28
+ var ImplementationMetaSchema = import_zod.z.object({
29
+ id: import_zod.z.string().describe("Unique identifier for the implementation"),
30
+ name: import_zod.z.string().describe("Display name of the implementation"),
31
+ slug: import_zod.z.string().describe("URL-friendly slug identifier"),
32
+ age_in_days: import_zod.z.number().optional().describe("Number of days since the implementation was created"),
33
+ auth_type: import_zod.z.string().optional().describe("Authentication type (e.g., oauth2, api_key)"),
34
+ banner: import_zod.z.string().optional().describe("Banner message or status indicator"),
35
+ categories: import_zod.z.array(
36
+ import_zod.z.object({
37
+ id: import_zod.z.number().describe("Unique identifier for the category"),
38
+ name: import_zod.z.string().describe("Display name of the category"),
39
+ slug: import_zod.z.string().describe("URL-friendly slug for the category")
40
+ })
41
+ ).optional().describe("Categories the implementation belongs to"),
42
+ images: import_zod.z.object({
43
+ url_16x16: import_zod.z.string().optional().describe("16x16 pixel icon URL"),
44
+ url_32x32: import_zod.z.string().optional().describe("32x32 pixel icon URL"),
45
+ url_64x64: import_zod.z.string().optional().describe("64x64 pixel icon URL"),
46
+ url_128x128: import_zod.z.string().optional().describe("128x128 pixel icon URL")
47
+ }).optional().describe("Icon images at various sizes"),
48
+ popularity: import_zod.z.number().optional().describe("Popularity score for ranking apps"),
49
+ has_filters: import_zod.z.boolean().optional().describe("Whether the app has filter actions"),
50
+ has_reads: import_zod.z.boolean().optional().describe("Whether the app has read actions"),
51
+ has_searches: import_zod.z.boolean().optional().describe("Whether the app has search actions"),
52
+ has_searches_or_writes: import_zod.z.boolean().optional().describe("Whether the app has search or write actions"),
53
+ has_upfront_fields: import_zod.z.boolean().optional().describe("Whether the app has upfront input fields"),
54
+ has_writes: import_zod.z.boolean().optional().describe("Whether the app has write actions"),
55
+ is_beta: import_zod.z.boolean().optional().describe("Whether the app is in beta"),
56
+ is_built_in: import_zod.z.boolean().optional().describe("Whether the app is a built-in Zapier app"),
57
+ is_deprecated: import_zod.z.boolean().optional().describe("Whether the app is deprecated"),
58
+ is_featured: import_zod.z.boolean().optional().describe("Whether the app is featured"),
59
+ is_hidden: import_zod.z.boolean().optional().describe("Whether the app is hidden from listings"),
60
+ is_invite: import_zod.z.boolean().optional().describe("Whether the app is invite-only"),
61
+ is_premium: import_zod.z.boolean().optional().describe("Whether the app requires a premium plan"),
62
+ is_public: import_zod.z.boolean().optional().describe("Whether the app is publicly available"),
63
+ is_upcoming: import_zod.z.boolean().optional().describe("Whether the app is upcoming/not yet released"),
64
+ version: import_zod.z.string().optional().describe("Version string of the app"),
65
+ visibility: import_zod.z.string().optional().describe("Visibility status (e.g., public, private)"),
66
+ actions: import_zod.z.object({
67
+ read: import_zod.z.number().optional().describe("Number of read actions"),
68
+ read_bulk: import_zod.z.number().optional().describe("Number of bulk read actions"),
69
+ write: import_zod.z.number().optional().describe("Number of write actions"),
70
+ search: import_zod.z.number().optional().describe("Number of search actions"),
71
+ search_or_write: import_zod.z.number().optional().describe("Number of search-or-write actions"),
72
+ search_and_write: import_zod.z.number().optional().describe("Number of search-and-write actions"),
73
+ filter: import_zod.z.number().optional().describe("Number of filter actions")
74
+ }).optional().describe("Count of available actions by type"),
75
+ description: import_zod.z.string().optional().describe("Description of the app"),
76
+ primary_color: import_zod.z.string().optional().describe("Primary brand color (hex)"),
77
+ secondary_color: import_zod.z.string().optional().describe("Secondary brand color (hex)"),
78
+ classification: import_zod.z.string().optional().describe("App classification category"),
79
+ api_docs_url: import_zod.z.string().optional().describe("URL to API documentation"),
80
+ image: import_zod.z.string().optional().describe("Default image URL for the app")
81
+ });
82
+ var ImplementationsMetaResponseSchema = import_zod.z.object({
83
+ count: import_zod.z.number().describe("Total number of results"),
84
+ next: import_zod.z.string().nullable().optional().describe("URL for the next page of results"),
85
+ previous: import_zod.z.string().nullable().optional().describe("URL for the previous page of results"),
86
+ results: import_zod.z.array(ImplementationMetaSchema).describe("Array of implementation metadata")
87
+ });
88
+ // Annotate the CommonJS export names for ESM import in node:
89
+ 0 && (module.exports = {
90
+ ImplementationMetaSchema,
91
+ ImplementationsMetaResponseSchema
92
+ });
93
+ //# sourceMappingURL=implementations.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/v0/schemas/implementations.ts"],"sourcesContent":["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,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;AAAA,IAChE,CAAC;AAAA,EACH,EACC,SAAS,EACT,SAAS,0CAA0C;AAAA,EACtD,QAAQ,aACL,OAAO;AAAA,IACN,WAAW,aAAE,OAAO,EAAE,SAAS,EAAE,SAAS,sBAAsB;AAAA,IAChE,WAAW,aAAE,OAAO,EAAE,SAAS,EAAE,SAAS,sBAAsB;AAAA,IAChE,WAAW,aAAE,OAAO,EAAE,SAAS,EAAE,SAAS,sBAAsB;AAAA,IAChE,aAAa,aAAE,OAAO,EAAE,SAAS,EAAE,SAAS,wBAAwB;AAAA,EACtE,CAAC,EACA,SAAS,EACT,SAAS,8BAA8B;AAAA,EAC1C,YAAY,aACT,OAAO,EACP,SAAS,EACT,SAAS,mCAAmC;AAAA,EAC/C,a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,EAAE,SAAS,yBAAyB;AAAA,IAC/D,QAAQ,aAAE,OAAO,EAAE,SAAS,EAAE,SAAS,0BAA0B;AAAA,IACjE,iBAAiB,aACd,OAAO,EACP,SAAS,EACT,SAAS,mCAAmC;AAAA,IAC/C,kBAAkB,aACf,OAAO,EACP,SAAS,EACT,SAAS,oCAAoC;AAAA,IAChD,QAAQ,aAAE,OAAO,EAAE,SAAS,EAAE,SAAS,0BAA0B;AAAA,EACnE,CAAC,EACA,SAAS,EACT,SAAS,oCAAoC;AAAA,EAChD,aAAa,aAAE,OAAO,EAAE,SAAS,EAAE,SAAS,wBAAwB;AAAA,EACpE,eAAe,aAAE,OAAO,EAAE,SAAS,EAAE,SAAS,2BAA2B;AAAA,EACzE,iBAAiB,aACd,OAAO,EACP,SAAS,EACT,SAAS,6BAA6B;AAAA,EACzC,gBAAgB,aAAE,OAAO,EAAE,SAAS,EAAE,SAAS,6BAA6B;AAAA,EAC5E,cAAc,aAAE,OAAO,EAAE,SAAS,EAAE,SAAS,0BAA0B;AAAA,EACvE,OAAO,aAAE,OAAO,EAAE,SAAS,EAAE,SAAS,+BAA+B;AACvE,CAAC;AAOM,IAAM,oCAAoC,aAAE,OAAO;AAAA,EACxD,OAAO,aAAE,OAAO,EAAE,SAAS,yBAAyB;AAAA,EACpD,MAAM,aACH,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,kCAAkC;AAAA,EAC9C,UAAU,aACP,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,sCAAsC;AAAA,EAClD,SAAS,aACN,MAAM,wBAAwB,EAC9B,SAAS,kCAAkC;AAChD,CAAC;","names":[]}
@@ -0,0 +1,121 @@
1
+ import { z } from 'zod';
2
+
3
+ /**
4
+ * Lightweight implementation metadata returned by /api/v4/implementations-meta/*
5
+ */
6
+ declare const ImplementationMetaSchema: z.ZodObject<{
7
+ id: z.ZodString;
8
+ name: z.ZodString;
9
+ slug: z.ZodString;
10
+ age_in_days: z.ZodOptional<z.ZodNumber>;
11
+ auth_type: z.ZodOptional<z.ZodString>;
12
+ banner: z.ZodOptional<z.ZodString>;
13
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
14
+ id: z.ZodNumber;
15
+ name: z.ZodString;
16
+ slug: z.ZodString;
17
+ }, z.core.$strip>>>;
18
+ images: z.ZodOptional<z.ZodObject<{
19
+ url_16x16: z.ZodOptional<z.ZodString>;
20
+ url_32x32: z.ZodOptional<z.ZodString>;
21
+ url_64x64: z.ZodOptional<z.ZodString>;
22
+ url_128x128: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strip>>;
24
+ popularity: z.ZodOptional<z.ZodNumber>;
25
+ has_filters: z.ZodOptional<z.ZodBoolean>;
26
+ has_reads: z.ZodOptional<z.ZodBoolean>;
27
+ has_searches: z.ZodOptional<z.ZodBoolean>;
28
+ has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
29
+ has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
30
+ has_writes: z.ZodOptional<z.ZodBoolean>;
31
+ is_beta: z.ZodOptional<z.ZodBoolean>;
32
+ is_built_in: z.ZodOptional<z.ZodBoolean>;
33
+ is_deprecated: z.ZodOptional<z.ZodBoolean>;
34
+ is_featured: z.ZodOptional<z.ZodBoolean>;
35
+ is_hidden: z.ZodOptional<z.ZodBoolean>;
36
+ is_invite: z.ZodOptional<z.ZodBoolean>;
37
+ is_premium: z.ZodOptional<z.ZodBoolean>;
38
+ is_public: z.ZodOptional<z.ZodBoolean>;
39
+ is_upcoming: z.ZodOptional<z.ZodBoolean>;
40
+ version: z.ZodOptional<z.ZodString>;
41
+ visibility: z.ZodOptional<z.ZodString>;
42
+ actions: z.ZodOptional<z.ZodObject<{
43
+ read: z.ZodOptional<z.ZodNumber>;
44
+ read_bulk: z.ZodOptional<z.ZodNumber>;
45
+ write: z.ZodOptional<z.ZodNumber>;
46
+ search: z.ZodOptional<z.ZodNumber>;
47
+ search_or_write: z.ZodOptional<z.ZodNumber>;
48
+ search_and_write: z.ZodOptional<z.ZodNumber>;
49
+ filter: z.ZodOptional<z.ZodNumber>;
50
+ }, z.core.$strip>>;
51
+ description: z.ZodOptional<z.ZodString>;
52
+ primary_color: z.ZodOptional<z.ZodString>;
53
+ secondary_color: z.ZodOptional<z.ZodString>;
54
+ classification: z.ZodOptional<z.ZodString>;
55
+ api_docs_url: z.ZodOptional<z.ZodString>;
56
+ image: z.ZodOptional<z.ZodString>;
57
+ }, z.core.$strip>;
58
+ type ImplementationMeta = z.infer<typeof ImplementationMetaSchema>;
59
+ /**
60
+ * Paginated response from /api/v4/implementations-meta/lookup/ and search endpoints
61
+ */
62
+ declare const ImplementationsMetaResponseSchema: z.ZodObject<{
63
+ count: z.ZodNumber;
64
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ results: z.ZodArray<z.ZodObject<{
67
+ id: z.ZodString;
68
+ name: z.ZodString;
69
+ slug: z.ZodString;
70
+ age_in_days: z.ZodOptional<z.ZodNumber>;
71
+ auth_type: z.ZodOptional<z.ZodString>;
72
+ banner: z.ZodOptional<z.ZodString>;
73
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
+ id: z.ZodNumber;
75
+ name: z.ZodString;
76
+ slug: z.ZodString;
77
+ }, z.core.$strip>>>;
78
+ images: z.ZodOptional<z.ZodObject<{
79
+ url_16x16: z.ZodOptional<z.ZodString>;
80
+ url_32x32: z.ZodOptional<z.ZodString>;
81
+ url_64x64: z.ZodOptional<z.ZodString>;
82
+ url_128x128: z.ZodOptional<z.ZodString>;
83
+ }, z.core.$strip>>;
84
+ popularity: z.ZodOptional<z.ZodNumber>;
85
+ has_filters: z.ZodOptional<z.ZodBoolean>;
86
+ has_reads: z.ZodOptional<z.ZodBoolean>;
87
+ has_searches: z.ZodOptional<z.ZodBoolean>;
88
+ has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
89
+ has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
90
+ has_writes: z.ZodOptional<z.ZodBoolean>;
91
+ is_beta: z.ZodOptional<z.ZodBoolean>;
92
+ is_built_in: z.ZodOptional<z.ZodBoolean>;
93
+ is_deprecated: z.ZodOptional<z.ZodBoolean>;
94
+ is_featured: z.ZodOptional<z.ZodBoolean>;
95
+ is_hidden: z.ZodOptional<z.ZodBoolean>;
96
+ is_invite: z.ZodOptional<z.ZodBoolean>;
97
+ is_premium: z.ZodOptional<z.ZodBoolean>;
98
+ is_public: z.ZodOptional<z.ZodBoolean>;
99
+ is_upcoming: z.ZodOptional<z.ZodBoolean>;
100
+ version: z.ZodOptional<z.ZodString>;
101
+ visibility: z.ZodOptional<z.ZodString>;
102
+ actions: z.ZodOptional<z.ZodObject<{
103
+ read: z.ZodOptional<z.ZodNumber>;
104
+ read_bulk: z.ZodOptional<z.ZodNumber>;
105
+ write: z.ZodOptional<z.ZodNumber>;
106
+ search: z.ZodOptional<z.ZodNumber>;
107
+ search_or_write: z.ZodOptional<z.ZodNumber>;
108
+ search_and_write: z.ZodOptional<z.ZodNumber>;
109
+ filter: z.ZodOptional<z.ZodNumber>;
110
+ }, z.core.$strip>>;
111
+ description: z.ZodOptional<z.ZodString>;
112
+ primary_color: z.ZodOptional<z.ZodString>;
113
+ secondary_color: z.ZodOptional<z.ZodString>;
114
+ classification: z.ZodOptional<z.ZodString>;
115
+ api_docs_url: z.ZodOptional<z.ZodString>;
116
+ image: z.ZodOptional<z.ZodString>;
117
+ }, z.core.$strip>>;
118
+ }, z.core.$strip>;
119
+ type ImplementationsMetaResponse = z.infer<typeof ImplementationsMetaResponseSchema>;
120
+
121
+ export { type ImplementationMeta, ImplementationMetaSchema, type ImplementationsMetaResponse, ImplementationsMetaResponseSchema };
@@ -0,0 +1,121 @@
1
+ import { z } from 'zod';
2
+
3
+ /**
4
+ * Lightweight implementation metadata returned by /api/v4/implementations-meta/*
5
+ */
6
+ declare const ImplementationMetaSchema: z.ZodObject<{
7
+ id: z.ZodString;
8
+ name: z.ZodString;
9
+ slug: z.ZodString;
10
+ age_in_days: z.ZodOptional<z.ZodNumber>;
11
+ auth_type: z.ZodOptional<z.ZodString>;
12
+ banner: z.ZodOptional<z.ZodString>;
13
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
14
+ id: z.ZodNumber;
15
+ name: z.ZodString;
16
+ slug: z.ZodString;
17
+ }, z.core.$strip>>>;
18
+ images: z.ZodOptional<z.ZodObject<{
19
+ url_16x16: z.ZodOptional<z.ZodString>;
20
+ url_32x32: z.ZodOptional<z.ZodString>;
21
+ url_64x64: z.ZodOptional<z.ZodString>;
22
+ url_128x128: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strip>>;
24
+ popularity: z.ZodOptional<z.ZodNumber>;
25
+ has_filters: z.ZodOptional<z.ZodBoolean>;
26
+ has_reads: z.ZodOptional<z.ZodBoolean>;
27
+ has_searches: z.ZodOptional<z.ZodBoolean>;
28
+ has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
29
+ has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
30
+ has_writes: z.ZodOptional<z.ZodBoolean>;
31
+ is_beta: z.ZodOptional<z.ZodBoolean>;
32
+ is_built_in: z.ZodOptional<z.ZodBoolean>;
33
+ is_deprecated: z.ZodOptional<z.ZodBoolean>;
34
+ is_featured: z.ZodOptional<z.ZodBoolean>;
35
+ is_hidden: z.ZodOptional<z.ZodBoolean>;
36
+ is_invite: z.ZodOptional<z.ZodBoolean>;
37
+ is_premium: z.ZodOptional<z.ZodBoolean>;
38
+ is_public: z.ZodOptional<z.ZodBoolean>;
39
+ is_upcoming: z.ZodOptional<z.ZodBoolean>;
40
+ version: z.ZodOptional<z.ZodString>;
41
+ visibility: z.ZodOptional<z.ZodString>;
42
+ actions: z.ZodOptional<z.ZodObject<{
43
+ read: z.ZodOptional<z.ZodNumber>;
44
+ read_bulk: z.ZodOptional<z.ZodNumber>;
45
+ write: z.ZodOptional<z.ZodNumber>;
46
+ search: z.ZodOptional<z.ZodNumber>;
47
+ search_or_write: z.ZodOptional<z.ZodNumber>;
48
+ search_and_write: z.ZodOptional<z.ZodNumber>;
49
+ filter: z.ZodOptional<z.ZodNumber>;
50
+ }, z.core.$strip>>;
51
+ description: z.ZodOptional<z.ZodString>;
52
+ primary_color: z.ZodOptional<z.ZodString>;
53
+ secondary_color: z.ZodOptional<z.ZodString>;
54
+ classification: z.ZodOptional<z.ZodString>;
55
+ api_docs_url: z.ZodOptional<z.ZodString>;
56
+ image: z.ZodOptional<z.ZodString>;
57
+ }, z.core.$strip>;
58
+ type ImplementationMeta = z.infer<typeof ImplementationMetaSchema>;
59
+ /**
60
+ * Paginated response from /api/v4/implementations-meta/lookup/ and search endpoints
61
+ */
62
+ declare const ImplementationsMetaResponseSchema: z.ZodObject<{
63
+ count: z.ZodNumber;
64
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ results: z.ZodArray<z.ZodObject<{
67
+ id: z.ZodString;
68
+ name: z.ZodString;
69
+ slug: z.ZodString;
70
+ age_in_days: z.ZodOptional<z.ZodNumber>;
71
+ auth_type: z.ZodOptional<z.ZodString>;
72
+ banner: z.ZodOptional<z.ZodString>;
73
+ categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
74
+ id: z.ZodNumber;
75
+ name: z.ZodString;
76
+ slug: z.ZodString;
77
+ }, z.core.$strip>>>;
78
+ images: z.ZodOptional<z.ZodObject<{
79
+ url_16x16: z.ZodOptional<z.ZodString>;
80
+ url_32x32: z.ZodOptional<z.ZodString>;
81
+ url_64x64: z.ZodOptional<z.ZodString>;
82
+ url_128x128: z.ZodOptional<z.ZodString>;
83
+ }, z.core.$strip>>;
84
+ popularity: z.ZodOptional<z.ZodNumber>;
85
+ has_filters: z.ZodOptional<z.ZodBoolean>;
86
+ has_reads: z.ZodOptional<z.ZodBoolean>;
87
+ has_searches: z.ZodOptional<z.ZodBoolean>;
88
+ has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
89
+ has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
90
+ has_writes: z.ZodOptional<z.ZodBoolean>;
91
+ is_beta: z.ZodOptional<z.ZodBoolean>;
92
+ is_built_in: z.ZodOptional<z.ZodBoolean>;
93
+ is_deprecated: z.ZodOptional<z.ZodBoolean>;
94
+ is_featured: z.ZodOptional<z.ZodBoolean>;
95
+ is_hidden: z.ZodOptional<z.ZodBoolean>;
96
+ is_invite: z.ZodOptional<z.ZodBoolean>;
97
+ is_premium: z.ZodOptional<z.ZodBoolean>;
98
+ is_public: z.ZodOptional<z.ZodBoolean>;
99
+ is_upcoming: z.ZodOptional<z.ZodBoolean>;
100
+ version: z.ZodOptional<z.ZodString>;
101
+ visibility: z.ZodOptional<z.ZodString>;
102
+ actions: z.ZodOptional<z.ZodObject<{
103
+ read: z.ZodOptional<z.ZodNumber>;
104
+ read_bulk: z.ZodOptional<z.ZodNumber>;
105
+ write: z.ZodOptional<z.ZodNumber>;
106
+ search: z.ZodOptional<z.ZodNumber>;
107
+ search_or_write: z.ZodOptional<z.ZodNumber>;
108
+ search_and_write: z.ZodOptional<z.ZodNumber>;
109
+ filter: z.ZodOptional<z.ZodNumber>;
110
+ }, z.core.$strip>>;
111
+ description: z.ZodOptional<z.ZodString>;
112
+ primary_color: z.ZodOptional<z.ZodString>;
113
+ secondary_color: z.ZodOptional<z.ZodString>;
114
+ classification: z.ZodOptional<z.ZodString>;
115
+ api_docs_url: z.ZodOptional<z.ZodString>;
116
+ image: z.ZodOptional<z.ZodString>;
117
+ }, z.core.$strip>>;
118
+ }, z.core.$strip>;
119
+ type ImplementationsMetaResponse = z.infer<typeof ImplementationsMetaResponseSchema>;
120
+
121
+ export { type ImplementationMeta, ImplementationMetaSchema, type ImplementationsMetaResponse, ImplementationsMetaResponseSchema };
@@ -0,0 +1,67 @@
1
+ // src/v0/schemas/implementations.ts
2
+ import { z } from "zod";
3
+ var ImplementationMetaSchema = z.object({
4
+ id: z.string().describe("Unique identifier for the implementation"),
5
+ name: z.string().describe("Display name of the implementation"),
6
+ slug: z.string().describe("URL-friendly slug identifier"),
7
+ age_in_days: z.number().optional().describe("Number of days since the implementation was created"),
8
+ auth_type: z.string().optional().describe("Authentication type (e.g., oauth2, api_key)"),
9
+ banner: z.string().optional().describe("Banner message or status indicator"),
10
+ categories: z.array(
11
+ z.object({
12
+ id: z.number().describe("Unique identifier for the category"),
13
+ name: z.string().describe("Display name of the category"),
14
+ slug: z.string().describe("URL-friendly slug for the category")
15
+ })
16
+ ).optional().describe("Categories the implementation belongs to"),
17
+ images: z.object({
18
+ url_16x16: z.string().optional().describe("16x16 pixel icon URL"),
19
+ url_32x32: z.string().optional().describe("32x32 pixel icon URL"),
20
+ url_64x64: z.string().optional().describe("64x64 pixel icon URL"),
21
+ url_128x128: z.string().optional().describe("128x128 pixel icon URL")
22
+ }).optional().describe("Icon images at various sizes"),
23
+ popularity: z.number().optional().describe("Popularity score for ranking apps"),
24
+ has_filters: z.boolean().optional().describe("Whether the app has filter actions"),
25
+ has_reads: z.boolean().optional().describe("Whether the app has read actions"),
26
+ has_searches: z.boolean().optional().describe("Whether the app has search actions"),
27
+ has_searches_or_writes: z.boolean().optional().describe("Whether the app has search or write actions"),
28
+ has_upfront_fields: z.boolean().optional().describe("Whether the app has upfront input fields"),
29
+ has_writes: z.boolean().optional().describe("Whether the app has write actions"),
30
+ is_beta: z.boolean().optional().describe("Whether the app is in beta"),
31
+ is_built_in: z.boolean().optional().describe("Whether the app is a built-in Zapier app"),
32
+ is_deprecated: z.boolean().optional().describe("Whether the app is deprecated"),
33
+ is_featured: z.boolean().optional().describe("Whether the app is featured"),
34
+ is_hidden: z.boolean().optional().describe("Whether the app is hidden from listings"),
35
+ is_invite: z.boolean().optional().describe("Whether the app is invite-only"),
36
+ is_premium: z.boolean().optional().describe("Whether the app requires a premium plan"),
37
+ is_public: z.boolean().optional().describe("Whether the app is publicly available"),
38
+ is_upcoming: z.boolean().optional().describe("Whether the app is upcoming/not yet released"),
39
+ version: z.string().optional().describe("Version string of the app"),
40
+ visibility: z.string().optional().describe("Visibility status (e.g., public, private)"),
41
+ actions: z.object({
42
+ read: z.number().optional().describe("Number of read actions"),
43
+ read_bulk: z.number().optional().describe("Number of bulk read actions"),
44
+ write: z.number().optional().describe("Number of write actions"),
45
+ search: z.number().optional().describe("Number of search actions"),
46
+ search_or_write: z.number().optional().describe("Number of search-or-write actions"),
47
+ search_and_write: z.number().optional().describe("Number of search-and-write actions"),
48
+ filter: z.number().optional().describe("Number of filter actions")
49
+ }).optional().describe("Count of available actions by type"),
50
+ description: z.string().optional().describe("Description of the app"),
51
+ primary_color: z.string().optional().describe("Primary brand color (hex)"),
52
+ secondary_color: z.string().optional().describe("Secondary brand color (hex)"),
53
+ classification: z.string().optional().describe("App classification category"),
54
+ api_docs_url: z.string().optional().describe("URL to API documentation"),
55
+ image: z.string().optional().describe("Default image URL for the app")
56
+ });
57
+ var ImplementationsMetaResponseSchema = z.object({
58
+ count: z.number().describe("Total number of results"),
59
+ next: z.string().nullable().optional().describe("URL for the next page of results"),
60
+ previous: z.string().nullable().optional().describe("URL for the previous page of results"),
61
+ results: z.array(ImplementationMetaSchema).describe("Array of implementation metadata")
62
+ });
63
+ export {
64
+ ImplementationMetaSchema,
65
+ ImplementationsMetaResponseSchema
66
+ };
67
+ //# sourceMappingURL=implementations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/v0/schemas/implementations.ts"],"sourcesContent":["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,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,OA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