@zapier/zapier-sdk-core 0.7.1 → 0.8.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @zapier/zapier-sdk-core
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e0588b7: Add new connections endpoint.
8
+
9
+ ## 0.7.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 74f835d: Move x-required-scopes to x-fastify-config.requiredScopes.
14
+
3
15
  ## 0.7.1
4
16
 
5
17
  ### Patch Changes
@@ -47,12 +47,16 @@ var tags = [
47
47
  },
48
48
  {
49
49
  name: "Authentications",
50
- description: "Authentication-related routes"
50
+ description: "Authentication-related routes (deprecated, use Connections)"
51
51
  },
52
52
  {
53
53
  name: "Client Credentials",
54
54
  description: "Client credentials management routes"
55
55
  },
56
+ {
57
+ name: "Connections",
58
+ description: "Connection-related routes"
59
+ },
56
60
  {
57
61
  name: "Deduplication",
58
62
  description: "Deduplication-related routes"
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/v0/config/metadata.ts"],"sourcesContent":["/**\n * OpenAPI specification metadata\n *\n * This file contains all the base metadata for the OpenAPI specification\n * that was previously stored in openapi-base.yaml.\n *\n * Note on 'as const' usage:\n * - We use 'as const' on literal values that should be treated as enums\n * (e.g., \"apiKey\", \"header\", \"3.1.0\") to get precise literal types\n * - We avoid 'as const' on top-level configuration objects to prevent\n * deep readonly types that can cause compatibility issues with libraries\n * expecting mutable types (like zod-to-openapi)\n * - If you encounter readonly type errors, check whether the consuming\n * library expects mutable types and remove 'as const' accordingly\n */\n\nexport const apiInfo = {\n title: \"Zapier SDK API\",\n version: \"1.0.0\",\n contact: {\n email: \"engineering@zapier.com\",\n },\n description: \"The Zapier SDK API serves as a backend for the Zapier SDK.\",\n};\n\nexport const servers: Array<{ url: string; description: string }> = [];\n\nexport const tags = [\n {\n name: \"Actions\",\n description: \"Action-related routes\",\n },\n {\n name: \"Apps\",\n description: \"App-related routes\",\n },\n {\n name: \"Authentications\",\n description: \"Authentication-related routes\",\n },\n {\n name: \"Client Credentials\",\n description: \"Client credentials management routes\",\n },\n {\n name: \"Deduplication\",\n description: \"Deduplication-related routes\",\n },\n {\n name: \"Documentation\",\n description: \"Documentation-related routes\",\n },\n];\n\n/**\n * Security schemes for OpenAPI specification\n *\n * Note: 'as const' is used on enum-like literal values (\"apiKey\", \"header\")\n * to ensure TypeScript treats them as literal types rather than generic strings.\n * This provides better type safety when the OpenAPI generator validates these values.\n */\nexport const securitySchemes = {\n userJwt: {\n type: \"apiKey\" as const,\n in: \"header\" as const,\n name: \"Authorization\",\n description:\n \"Format should be `JWT <your-jwt>` (you must ensure that the JWT prefix \" +\n \"is included in your requests).\\\\n\\\\n\" +\n \"Example: `Authorization: JWT your.jwt.value.here`\",\n },\n} as const;\n\n/**\n * Complete OpenAPI metadata for document generation\n */\nexport const openApiMetadata = {\n openapi: \"3.1.0\" as const,\n info: apiInfo,\n servers,\n tags,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBO,IAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA,aAAa;AACf;AAEO,IAAM,UAAuD,CAAC;AAE9D,IAAM,OAAO;AAAA,EAClB;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AACF;AASO,IAAM,kBAAkB;AAAA,EAC7B,SAAS;AAAA,IACP,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,aACE;AAAA,EAGJ;AACF;AAKO,IAAM,kBAAkB;AAAA,EAC7B,SAAS;AAAA,EACT,MAAM;AAAA,EACN;AAAA,EACA;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/v0/config/metadata.ts"],"sourcesContent":["/**\n * OpenAPI specification metadata\n *\n * This file contains all the base metadata for the OpenAPI specification\n * that was previously stored in openapi-base.yaml.\n *\n * Note on 'as const' usage:\n * - We use 'as const' on literal values that should be treated as enums\n * (e.g., \"apiKey\", \"header\", \"3.1.0\") to get precise literal types\n * - We avoid 'as const' on top-level configuration objects to prevent\n * deep readonly types that can cause compatibility issues with libraries\n * expecting mutable types (like zod-to-openapi)\n * - If you encounter readonly type errors, check whether the consuming\n * library expects mutable types and remove 'as const' accordingly\n */\n\nexport const apiInfo = {\n title: \"Zapier SDK API\",\n version: \"1.0.0\",\n contact: {\n email: \"engineering@zapier.com\",\n },\n description: \"The Zapier SDK API serves as a backend for the Zapier SDK.\",\n};\n\nexport const servers: Array<{ url: string; description: string }> = [];\n\nexport const tags = [\n {\n name: \"Actions\",\n description: \"Action-related routes\",\n },\n {\n name: \"Apps\",\n description: \"App-related routes\",\n },\n {\n name: \"Authentications\",\n description: \"Authentication-related routes (deprecated, use Connections)\",\n },\n {\n name: \"Client Credentials\",\n description: \"Client credentials management routes\",\n },\n {\n name: \"Connections\",\n description: \"Connection-related routes\",\n },\n {\n name: \"Deduplication\",\n description: \"Deduplication-related routes\",\n },\n {\n name: \"Documentation\",\n description: \"Documentation-related routes\",\n },\n];\n\n/**\n * Security schemes for OpenAPI specification\n *\n * Note: 'as const' is used on enum-like literal values (\"apiKey\", \"header\")\n * to ensure TypeScript treats them as literal types rather than generic strings.\n * This provides better type safety when the OpenAPI generator validates these values.\n */\nexport const securitySchemes = {\n userJwt: {\n type: \"apiKey\" as const,\n in: \"header\" as const,\n name: \"Authorization\",\n description:\n \"Format should be `JWT <your-jwt>` (you must ensure that the JWT prefix \" +\n \"is included in your requests).\\\\n\\\\n\" +\n \"Example: `Authorization: JWT your.jwt.value.here`\",\n },\n} as const;\n\n/**\n * Complete OpenAPI metadata for document generation\n */\nexport const openApiMetadata = {\n openapi: \"3.1.0\" as const,\n info: apiInfo,\n servers,\n tags,\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBO,IAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA,aAAa;AACf;AAEO,IAAM,UAAuD,CAAC;AAE9D,IAAM,OAAO;AAAA,EAClB;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AACF;AASO,IAAM,kBAAkB;AAAA,EAC7B,SAAS;AAAA,IACP,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,aACE;AAAA,EAGJ;AACF;AAKO,IAAM,kBAAkB;AAAA,EAC7B,SAAS;AAAA,EACT,MAAM;AAAA,EACN;AAAA,EACA;AACF;","names":[]}
@@ -19,12 +19,16 @@ var tags = [
19
19
  },
20
20
  {
21
21
  name: "Authentications",
22
- description: "Authentication-related routes"
22
+ description: "Authentication-related routes (deprecated, use Connections)"
23
23
  },
24
24
  {
25
25
  name: "Client Credentials",
26
26
  description: "Client credentials management routes"
27
27
  },
28
+ {
29
+ name: "Connections",
30
+ description: "Connection-related routes"
31
+ },
28
32
  {
29
33
  name: "Deduplication",
30
34
  description: "Deduplication-related routes"
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/v0/config/metadata.ts"],"sourcesContent":["/**\n * OpenAPI specification metadata\n *\n * This file contains all the base metadata for the OpenAPI specification\n * that was previously stored in openapi-base.yaml.\n *\n * Note on 'as const' usage:\n * - We use 'as const' on literal values that should be treated as enums\n * (e.g., \"apiKey\", \"header\", \"3.1.0\") to get precise literal types\n * - We avoid 'as const' on top-level configuration objects to prevent\n * deep readonly types that can cause compatibility issues with libraries\n * expecting mutable types (like zod-to-openapi)\n * - If you encounter readonly type errors, check whether the consuming\n * library expects mutable types and remove 'as const' accordingly\n */\n\nexport const apiInfo = {\n title: \"Zapier SDK API\",\n version: \"1.0.0\",\n contact: {\n email: \"engineering@zapier.com\",\n },\n description: \"The Zapier SDK API serves as a backend for the Zapier SDK.\",\n};\n\nexport const servers: Array<{ url: string; description: string }> = [];\n\nexport const tags = [\n {\n name: \"Actions\",\n description: \"Action-related routes\",\n },\n {\n name: \"Apps\",\n description: \"App-related routes\",\n },\n {\n name: \"Authentications\",\n description: \"Authentication-related routes\",\n },\n {\n name: \"Client Credentials\",\n description: \"Client credentials management routes\",\n },\n {\n name: \"Deduplication\",\n description: \"Deduplication-related routes\",\n },\n {\n name: \"Documentation\",\n description: \"Documentation-related routes\",\n },\n];\n\n/**\n * Security schemes for OpenAPI specification\n *\n * Note: 'as const' is used on enum-like literal values (\"apiKey\", \"header\")\n * to ensure TypeScript treats them as literal types rather than generic strings.\n * This provides better type safety when the OpenAPI generator validates these values.\n */\nexport const securitySchemes = {\n userJwt: {\n type: \"apiKey\" as const,\n in: \"header\" as const,\n name: \"Authorization\",\n description:\n \"Format should be `JWT <your-jwt>` (you must ensure that the JWT prefix \" +\n \"is included in your requests).\\\\n\\\\n\" +\n \"Example: `Authorization: JWT your.jwt.value.here`\",\n },\n} as const;\n\n/**\n * Complete OpenAPI metadata for document generation\n */\nexport const openApiMetadata = {\n openapi: \"3.1.0\" as const,\n info: apiInfo,\n servers,\n tags,\n};\n"],"mappings":";AAgBO,IAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA,aAAa;AACf;AAEO,IAAM,UAAuD,CAAC;AAE9D,IAAM,OAAO;AAAA,EAClB;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AACF;AASO,IAAM,kBAAkB;AAAA,EAC7B,SAAS;AAAA,IACP,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,aACE;AAAA,EAGJ;AACF;AAKO,IAAM,kBAAkB;AAAA,EAC7B,SAAS;AAAA,EACT,MAAM;AAAA,EACN;AAAA,EACA;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/v0/config/metadata.ts"],"sourcesContent":["/**\n * OpenAPI specification metadata\n *\n * This file contains all the base metadata for the OpenAPI specification\n * that was previously stored in openapi-base.yaml.\n *\n * Note on 'as const' usage:\n * - We use 'as const' on literal values that should be treated as enums\n * (e.g., \"apiKey\", \"header\", \"3.1.0\") to get precise literal types\n * - We avoid 'as const' on top-level configuration objects to prevent\n * deep readonly types that can cause compatibility issues with libraries\n * expecting mutable types (like zod-to-openapi)\n * - If you encounter readonly type errors, check whether the consuming\n * library expects mutable types and remove 'as const' accordingly\n */\n\nexport const apiInfo = {\n title: \"Zapier SDK API\",\n version: \"1.0.0\",\n contact: {\n email: \"engineering@zapier.com\",\n },\n description: \"The Zapier SDK API serves as a backend for the Zapier SDK.\",\n};\n\nexport const servers: Array<{ url: string; description: string }> = [];\n\nexport const tags = [\n {\n name: \"Actions\",\n description: \"Action-related routes\",\n },\n {\n name: \"Apps\",\n description: \"App-related routes\",\n },\n {\n name: \"Authentications\",\n description: \"Authentication-related routes (deprecated, use Connections)\",\n },\n {\n name: \"Client Credentials\",\n description: \"Client credentials management routes\",\n },\n {\n name: \"Connections\",\n description: \"Connection-related routes\",\n },\n {\n name: \"Deduplication\",\n description: \"Deduplication-related routes\",\n },\n {\n name: \"Documentation\",\n description: \"Documentation-related routes\",\n },\n];\n\n/**\n * Security schemes for OpenAPI specification\n *\n * Note: 'as const' is used on enum-like literal values (\"apiKey\", \"header\")\n * to ensure TypeScript treats them as literal types rather than generic strings.\n * This provides better type safety when the OpenAPI generator validates these values.\n */\nexport const securitySchemes = {\n userJwt: {\n type: \"apiKey\" as const,\n in: \"header\" as const,\n name: \"Authorization\",\n description:\n \"Format should be `JWT <your-jwt>` (you must ensure that the JWT prefix \" +\n \"is included in your requests).\\\\n\\\\n\" +\n \"Example: `Authorization: JWT your.jwt.value.here`\",\n },\n} as const;\n\n/**\n * Complete OpenAPI metadata for document generation\n */\nexport const openApiMetadata = {\n openapi: \"3.1.0\" as const,\n info: apiInfo,\n servers,\n tags,\n};\n"],"mappings":";AAgBO,IAAM,UAAU;AAAA,EACrB,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AAAA,IACP,OAAO;AAAA,EACT;AAAA,EACA,aAAa;AACf;AAEO,IAAM,UAAuD,CAAC;AAE9D,IAAM,OAAO;AAAA,EAClB;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,aAAa;AAAA,EACf;AACF;AASO,IAAM,kBAAkB;AAAA,EAC7B,SAAS;AAAA,IACP,MAAM;AAAA,IACN,IAAI;AAAA,IACJ,MAAM;AAAA,IACN,aACE;AAAA,EAGJ;AACF;AAKO,IAAM,kBAAkB;AAAA,EAC7B,SAAS;AAAA,EACT,MAAM;AAAA,EACN;AAAA,EACA;AACF;","names":[]}
@@ -4,14 +4,14 @@ import { z } from 'zod';
4
4
  * Action type enum matching the internal Zapier API
5
5
  */
6
6
  declare const ActionTypeSchema: z.ZodEnum<{
7
+ filter: "filter";
7
8
  read: "read";
8
9
  read_bulk: "read_bulk";
9
- write: "write";
10
+ run: "run";
10
11
  search: "search";
11
- search_or_write: "search_or_write";
12
12
  search_and_write: "search_and_write";
13
- filter: "filter";
14
- run: "run";
13
+ search_or_write: "search_or_write";
14
+ write: "write";
15
15
  }>;
16
16
  type ActionType = z.infer<typeof ActionTypeSchema>;
17
17
  /**
@@ -20,14 +20,14 @@ type ActionType = z.infer<typeof ActionTypeSchema>;
20
20
  declare const ActionSchema: z.ZodObject<{
21
21
  id: z.ZodOptional<z.ZodString>;
22
22
  type: z.ZodEnum<{
23
+ filter: "filter";
23
24
  read: "read";
24
25
  read_bulk: "read_bulk";
25
- write: "write";
26
+ run: "run";
26
27
  search: "search";
27
- search_or_write: "search_or_write";
28
28
  search_and_write: "search_and_write";
29
- filter: "filter";
30
- run: "run";
29
+ search_or_write: "search_or_write";
30
+ write: "write";
31
31
  }>;
32
32
  key: z.ZodString;
33
33
  name: z.ZodString;
@@ -59,14 +59,14 @@ declare const ActionItemSchema: z.ZodObject<{
59
59
  app_key: z.ZodString;
60
60
  app_version: z.ZodOptional<z.ZodString>;
61
61
  action_type: z.ZodEnum<{
62
+ filter: "filter";
62
63
  read: "read";
63
64
  read_bulk: "read_bulk";
64
- write: "write";
65
+ run: "run";
65
66
  search: "search";
66
- search_or_write: "search_or_write";
67
67
  search_and_write: "search_and_write";
68
- filter: "filter";
69
- run: "run";
68
+ search_or_write: "search_or_write";
69
+ write: "write";
70
70
  }>;
71
71
  title: z.ZodString;
72
72
  type: z.ZodLiteral<"action">;
@@ -82,14 +82,14 @@ declare const ImplementationWithActionsSchema: z.ZodObject<{
82
82
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
83
83
  id: z.ZodOptional<z.ZodString>;
84
84
  type: z.ZodEnum<{
85
+ filter: "filter";
85
86
  read: "read";
86
87
  read_bulk: "read_bulk";
87
- write: "write";
88
+ run: "run";
88
89
  search: "search";
89
- search_or_write: "search_or_write";
90
90
  search_and_write: "search_and_write";
91
- filter: "filter";
92
- run: "run";
91
+ search_or_write: "search_or_write";
92
+ write: "write";
93
93
  }>;
94
94
  key: z.ZodString;
95
95
  name: z.ZodString;
@@ -121,14 +121,14 @@ declare const ImplementationsWithActionsResponseSchema: z.ZodObject<{
121
121
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
122
122
  id: z.ZodOptional<z.ZodString>;
123
123
  type: z.ZodEnum<{
124
+ filter: "filter";
124
125
  read: "read";
125
126
  read_bulk: "read_bulk";
126
- write: "write";
127
+ run: "run";
127
128
  search: "search";
128
- search_or_write: "search_or_write";
129
129
  search_and_write: "search_and_write";
130
- filter: "filter";
131
- run: "run";
130
+ search_or_write: "search_or_write";
131
+ write: "write";
132
132
  }>;
133
133
  key: z.ZodString;
134
134
  name: z.ZodString;
@@ -153,14 +153,14 @@ type ImplementationsWithActionsResponse = z.infer<typeof ImplementationsWithActi
153
153
  declare const ListActionsQuerySchema: z.ZodObject<{
154
154
  appKey: z.ZodString;
155
155
  actionType: z.ZodOptional<z.ZodEnum<{
156
+ filter: "filter";
156
157
  read: "read";
157
158
  read_bulk: "read_bulk";
158
- write: "write";
159
+ run: "run";
159
160
  search: "search";
160
- search_or_write: "search_or_write";
161
161
  search_and_write: "search_and_write";
162
- filter: "filter";
163
- run: "run";
162
+ search_or_write: "search_or_write";
163
+ write: "write";
164
164
  }>>;
165
165
  }, z.core.$strip>;
166
166
  /**
@@ -176,14 +176,14 @@ declare const ListActionsResponseSchema: z.ZodObject<{
176
176
  app_key: z.ZodString;
177
177
  app_version: z.ZodOptional<z.ZodString>;
178
178
  action_type: z.ZodEnum<{
179
+ filter: "filter";
179
180
  read: "read";
180
181
  read_bulk: "read_bulk";
181
- write: "write";
182
+ run: "run";
182
183
  search: "search";
183
- search_or_write: "search_or_write";
184
184
  search_and_write: "search_and_write";
185
- filter: "filter";
186
- run: "run";
185
+ search_or_write: "search_or_write";
186
+ write: "write";
187
187
  }>;
188
188
  title: z.ZodString;
189
189
  type: z.ZodLiteral<"action">;
@@ -4,14 +4,14 @@ import { z } from 'zod';
4
4
  * Action type enum matching the internal Zapier API
5
5
  */
6
6
  declare const ActionTypeSchema: z.ZodEnum<{
7
+ filter: "filter";
7
8
  read: "read";
8
9
  read_bulk: "read_bulk";
9
- write: "write";
10
+ run: "run";
10
11
  search: "search";
11
- search_or_write: "search_or_write";
12
12
  search_and_write: "search_and_write";
13
- filter: "filter";
14
- run: "run";
13
+ search_or_write: "search_or_write";
14
+ write: "write";
15
15
  }>;
16
16
  type ActionType = z.infer<typeof ActionTypeSchema>;
17
17
  /**
@@ -20,14 +20,14 @@ type ActionType = z.infer<typeof ActionTypeSchema>;
20
20
  declare const ActionSchema: z.ZodObject<{
21
21
  id: z.ZodOptional<z.ZodString>;
22
22
  type: z.ZodEnum<{
23
+ filter: "filter";
23
24
  read: "read";
24
25
  read_bulk: "read_bulk";
25
- write: "write";
26
+ run: "run";
26
27
  search: "search";
27
- search_or_write: "search_or_write";
28
28
  search_and_write: "search_and_write";
29
- filter: "filter";
30
- run: "run";
29
+ search_or_write: "search_or_write";
30
+ write: "write";
31
31
  }>;
32
32
  key: z.ZodString;
33
33
  name: z.ZodString;
@@ -59,14 +59,14 @@ declare const ActionItemSchema: z.ZodObject<{
59
59
  app_key: z.ZodString;
60
60
  app_version: z.ZodOptional<z.ZodString>;
61
61
  action_type: z.ZodEnum<{
62
+ filter: "filter";
62
63
  read: "read";
63
64
  read_bulk: "read_bulk";
64
- write: "write";
65
+ run: "run";
65
66
  search: "search";
66
- search_or_write: "search_or_write";
67
67
  search_and_write: "search_and_write";
68
- filter: "filter";
69
- run: "run";
68
+ search_or_write: "search_or_write";
69
+ write: "write";
70
70
  }>;
71
71
  title: z.ZodString;
72
72
  type: z.ZodLiteral<"action">;
@@ -82,14 +82,14 @@ declare const ImplementationWithActionsSchema: z.ZodObject<{
82
82
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
83
83
  id: z.ZodOptional<z.ZodString>;
84
84
  type: z.ZodEnum<{
85
+ filter: "filter";
85
86
  read: "read";
86
87
  read_bulk: "read_bulk";
87
- write: "write";
88
+ run: "run";
88
89
  search: "search";
89
- search_or_write: "search_or_write";
90
90
  search_and_write: "search_and_write";
91
- filter: "filter";
92
- run: "run";
91
+ search_or_write: "search_or_write";
92
+ write: "write";
93
93
  }>;
94
94
  key: z.ZodString;
95
95
  name: z.ZodString;
@@ -121,14 +121,14 @@ declare const ImplementationsWithActionsResponseSchema: z.ZodObject<{
121
121
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
122
122
  id: z.ZodOptional<z.ZodString>;
123
123
  type: z.ZodEnum<{
124
+ filter: "filter";
124
125
  read: "read";
125
126
  read_bulk: "read_bulk";
126
- write: "write";
127
+ run: "run";
127
128
  search: "search";
128
- search_or_write: "search_or_write";
129
129
  search_and_write: "search_and_write";
130
- filter: "filter";
131
- run: "run";
130
+ search_or_write: "search_or_write";
131
+ write: "write";
132
132
  }>;
133
133
  key: z.ZodString;
134
134
  name: z.ZodString;
@@ -153,14 +153,14 @@ type ImplementationsWithActionsResponse = z.infer<typeof ImplementationsWithActi
153
153
  declare const ListActionsQuerySchema: z.ZodObject<{
154
154
  appKey: z.ZodString;
155
155
  actionType: z.ZodOptional<z.ZodEnum<{
156
+ filter: "filter";
156
157
  read: "read";
157
158
  read_bulk: "read_bulk";
158
- write: "write";
159
+ run: "run";
159
160
  search: "search";
160
- search_or_write: "search_or_write";
161
161
  search_and_write: "search_and_write";
162
- filter: "filter";
163
- run: "run";
162
+ search_or_write: "search_or_write";
163
+ write: "write";
164
164
  }>>;
165
165
  }, z.core.$strip>;
166
166
  /**
@@ -176,14 +176,14 @@ declare const ListActionsResponseSchema: z.ZodObject<{
176
176
  app_key: z.ZodString;
177
177
  app_version: z.ZodOptional<z.ZodString>;
178
178
  action_type: z.ZodEnum<{
179
+ filter: "filter";
179
180
  read: "read";
180
181
  read_bulk: "read_bulk";
181
- write: "write";
182
+ run: "run";
182
183
  search: "search";
183
- search_or_write: "search_or_write";
184
184
  search_and_write: "search_and_write";
185
- filter: "filter";
186
- run: "run";
185
+ search_or_write: "search_or_write";
186
+ write: "write";
187
187
  }>;
188
188
  title: z.ZodString;
189
189
  type: z.ZodLiteral<"action">;
@@ -5,9 +5,23 @@ import { z } from 'zod';
5
5
  * This extends ImplementationMetaSchema with transformed fields (title, key, implementation_id).
6
6
  */
7
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>;
8
23
  slug: z.ZodString;
9
24
  age_in_days: z.ZodOptional<z.ZodNumber>;
10
- auth_type: z.ZodOptional<z.ZodString>;
11
25
  banner: z.ZodOptional<z.ZodString>;
12
26
  categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
27
  id: z.ZodNumber;
@@ -27,26 +41,12 @@ declare const AppItemSchema: z.ZodObject<{
27
41
  has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
28
42
  has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
29
43
  has_writes: z.ZodOptional<z.ZodBoolean>;
30
- is_beta: z.ZodOptional<z.ZodBoolean>;
31
44
  is_built_in: z.ZodOptional<z.ZodBoolean>;
32
- is_deprecated: z.ZodOptional<z.ZodBoolean>;
33
45
  is_featured: z.ZodOptional<z.ZodBoolean>;
34
- is_hidden: z.ZodOptional<z.ZodBoolean>;
35
46
  is_invite: z.ZodOptional<z.ZodBoolean>;
36
- is_premium: z.ZodOptional<z.ZodBoolean>;
37
47
  is_public: z.ZodOptional<z.ZodBoolean>;
38
48
  is_upcoming: z.ZodOptional<z.ZodBoolean>;
39
49
  visibility: z.ZodOptional<z.ZodString>;
40
- actions: z.ZodOptional<z.ZodObject<{
41
- read: z.ZodOptional<z.ZodNumber>;
42
- read_bulk: z.ZodOptional<z.ZodNumber>;
43
- write: z.ZodOptional<z.ZodNumber>;
44
- search: z.ZodOptional<z.ZodNumber>;
45
- search_or_write: z.ZodOptional<z.ZodNumber>;
46
- search_and_write: z.ZodOptional<z.ZodNumber>;
47
- filter: z.ZodOptional<z.ZodNumber>;
48
- }, z.core.$strip>>;
49
- description: z.ZodOptional<z.ZodString>;
50
50
  primary_color: z.ZodOptional<z.ZodString>;
51
51
  secondary_color: z.ZodOptional<z.ZodString>;
52
52
  classification: z.ZodOptional<z.ZodString>;
@@ -72,9 +72,23 @@ declare const ListAppsQuerySchema: z.ZodObject<{
72
72
  */
73
73
  declare const ListAppsResponseSchema: z.ZodObject<{
74
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>;
75
90
  slug: z.ZodString;
76
91
  age_in_days: z.ZodOptional<z.ZodNumber>;
77
- auth_type: z.ZodOptional<z.ZodString>;
78
92
  banner: z.ZodOptional<z.ZodString>;
79
93
  categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
80
94
  id: z.ZodNumber;
@@ -94,26 +108,12 @@ declare const ListAppsResponseSchema: z.ZodObject<{
94
108
  has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
95
109
  has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
96
110
  has_writes: z.ZodOptional<z.ZodBoolean>;
97
- is_beta: z.ZodOptional<z.ZodBoolean>;
98
111
  is_built_in: z.ZodOptional<z.ZodBoolean>;
99
- is_deprecated: z.ZodOptional<z.ZodBoolean>;
100
112
  is_featured: z.ZodOptional<z.ZodBoolean>;
101
- is_hidden: z.ZodOptional<z.ZodBoolean>;
102
113
  is_invite: z.ZodOptional<z.ZodBoolean>;
103
- is_premium: z.ZodOptional<z.ZodBoolean>;
104
114
  is_public: z.ZodOptional<z.ZodBoolean>;
105
115
  is_upcoming: z.ZodOptional<z.ZodBoolean>;
106
116
  visibility: z.ZodOptional<z.ZodString>;
107
- actions: z.ZodOptional<z.ZodObject<{
108
- read: z.ZodOptional<z.ZodNumber>;
109
- read_bulk: z.ZodOptional<z.ZodNumber>;
110
- write: z.ZodOptional<z.ZodNumber>;
111
- search: z.ZodOptional<z.ZodNumber>;
112
- search_or_write: z.ZodOptional<z.ZodNumber>;
113
- search_and_write: z.ZodOptional<z.ZodNumber>;
114
- filter: z.ZodOptional<z.ZodNumber>;
115
- }, z.core.$strip>>;
116
- description: z.ZodOptional<z.ZodString>;
117
117
  primary_color: z.ZodOptional<z.ZodString>;
118
118
  secondary_color: z.ZodOptional<z.ZodString>;
119
119
  classification: z.ZodOptional<z.ZodString>;
@@ -5,9 +5,23 @@ import { z } from 'zod';
5
5
  * This extends ImplementationMetaSchema with transformed fields (title, key, implementation_id).
6
6
  */
7
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>;
8
23
  slug: z.ZodString;
9
24
  age_in_days: z.ZodOptional<z.ZodNumber>;
10
- auth_type: z.ZodOptional<z.ZodString>;
11
25
  banner: z.ZodOptional<z.ZodString>;
12
26
  categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
27
  id: z.ZodNumber;
@@ -27,26 +41,12 @@ declare const AppItemSchema: z.ZodObject<{
27
41
  has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
28
42
  has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
29
43
  has_writes: z.ZodOptional<z.ZodBoolean>;
30
- is_beta: z.ZodOptional<z.ZodBoolean>;
31
44
  is_built_in: z.ZodOptional<z.ZodBoolean>;
32
- is_deprecated: z.ZodOptional<z.ZodBoolean>;
33
45
  is_featured: z.ZodOptional<z.ZodBoolean>;
34
- is_hidden: z.ZodOptional<z.ZodBoolean>;
35
46
  is_invite: z.ZodOptional<z.ZodBoolean>;
36
- is_premium: z.ZodOptional<z.ZodBoolean>;
37
47
  is_public: z.ZodOptional<z.ZodBoolean>;
38
48
  is_upcoming: z.ZodOptional<z.ZodBoolean>;
39
49
  visibility: z.ZodOptional<z.ZodString>;
40
- actions: z.ZodOptional<z.ZodObject<{
41
- read: z.ZodOptional<z.ZodNumber>;
42
- read_bulk: z.ZodOptional<z.ZodNumber>;
43
- write: z.ZodOptional<z.ZodNumber>;
44
- search: z.ZodOptional<z.ZodNumber>;
45
- search_or_write: z.ZodOptional<z.ZodNumber>;
46
- search_and_write: z.ZodOptional<z.ZodNumber>;
47
- filter: z.ZodOptional<z.ZodNumber>;
48
- }, z.core.$strip>>;
49
- description: z.ZodOptional<z.ZodString>;
50
50
  primary_color: z.ZodOptional<z.ZodString>;
51
51
  secondary_color: z.ZodOptional<z.ZodString>;
52
52
  classification: z.ZodOptional<z.ZodString>;
@@ -72,9 +72,23 @@ declare const ListAppsQuerySchema: z.ZodObject<{
72
72
  */
73
73
  declare const ListAppsResponseSchema: z.ZodObject<{
74
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>;
75
90
  slug: z.ZodString;
76
91
  age_in_days: z.ZodOptional<z.ZodNumber>;
77
- auth_type: z.ZodOptional<z.ZodString>;
78
92
  banner: z.ZodOptional<z.ZodString>;
79
93
  categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
80
94
  id: z.ZodNumber;
@@ -94,26 +108,12 @@ declare const ListAppsResponseSchema: z.ZodObject<{
94
108
  has_searches_or_writes: z.ZodOptional<z.ZodBoolean>;
95
109
  has_upfront_fields: z.ZodOptional<z.ZodBoolean>;
96
110
  has_writes: z.ZodOptional<z.ZodBoolean>;
97
- is_beta: z.ZodOptional<z.ZodBoolean>;
98
111
  is_built_in: z.ZodOptional<z.ZodBoolean>;
99
- is_deprecated: z.ZodOptional<z.ZodBoolean>;
100
112
  is_featured: z.ZodOptional<z.ZodBoolean>;
101
- is_hidden: z.ZodOptional<z.ZodBoolean>;
102
113
  is_invite: z.ZodOptional<z.ZodBoolean>;
103
- is_premium: z.ZodOptional<z.ZodBoolean>;
104
114
  is_public: z.ZodOptional<z.ZodBoolean>;
105
115
  is_upcoming: z.ZodOptional<z.ZodBoolean>;
106
116
  visibility: z.ZodOptional<z.ZodString>;
107
- actions: z.ZodOptional<z.ZodObject<{
108
- read: z.ZodOptional<z.ZodNumber>;
109
- read_bulk: z.ZodOptional<z.ZodNumber>;
110
- write: z.ZodOptional<z.ZodNumber>;
111
- search: z.ZodOptional<z.ZodNumber>;
112
- search_or_write: z.ZodOptional<z.ZodNumber>;
113
- search_and_write: z.ZodOptional<z.ZodNumber>;
114
- filter: z.ZodOptional<z.ZodNumber>;
115
- }, z.core.$strip>>;
116
- description: z.ZodOptional<z.ZodString>;
117
117
  primary_color: z.ZodOptional<z.ZodString>;
118
118
  secondary_color: z.ZodOptional<z.ZodString>;
119
119
  classification: z.ZodOptional<z.ZodString>;