@zapier/zapier-sdk 0.15.12 → 0.16.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 (70) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/LICENSE +2 -0
  3. package/dist/api/schemas.d.ts +133 -1488
  4. package/dist/api/schemas.d.ts.map +1 -1
  5. package/dist/api/schemas.js +10 -10
  6. package/dist/index.cjs +27 -27
  7. package/dist/index.d.mts +296 -1830
  8. package/dist/index.mjs +27 -27
  9. package/dist/plugins/apps/schemas.d.ts +2 -12
  10. package/dist/plugins/apps/schemas.d.ts.map +1 -1
  11. package/dist/plugins/apps/schemas.js +1 -1
  12. package/dist/plugins/fetch/schemas.d.ts +12 -18
  13. package/dist/plugins/fetch/schemas.d.ts.map +1 -1
  14. package/dist/plugins/fetch/schemas.js +1 -1
  15. package/dist/plugins/findFirstAuthentication/schemas.d.ts +2 -14
  16. package/dist/plugins/findFirstAuthentication/schemas.d.ts.map +1 -1
  17. package/dist/plugins/findUniqueAuthentication/schemas.d.ts +2 -14
  18. package/dist/plugins/findUniqueAuthentication/schemas.d.ts.map +1 -1
  19. package/dist/plugins/getAction/schemas.d.ts +13 -23
  20. package/dist/plugins/getAction/schemas.d.ts.map +1 -1
  21. package/dist/plugins/getApp/schemas.d.ts +2 -6
  22. package/dist/plugins/getApp/schemas.d.ts.map +1 -1
  23. package/dist/plugins/getInputFieldsSchema/schemas.d.ts +12 -15
  24. package/dist/plugins/getInputFieldsSchema/schemas.d.ts.map +1 -1
  25. package/dist/plugins/getProfile/schemas.d.ts +1 -1
  26. package/dist/plugins/getProfile/schemas.d.ts.map +1 -1
  27. package/dist/plugins/listActions/schemas.d.ts +13 -27
  28. package/dist/plugins/listActions/schemas.d.ts.map +1 -1
  29. package/dist/plugins/listAuthentications/schemas.d.ts +5 -36
  30. package/dist/plugins/listAuthentications/schemas.d.ts.map +1 -1
  31. package/dist/plugins/listInputFieldChoices/schemas.d.ts +13 -36
  32. package/dist/plugins/listInputFieldChoices/schemas.d.ts.map +1 -1
  33. package/dist/plugins/listInputFields/schemas.d.ts +12 -21
  34. package/dist/plugins/listInputFields/schemas.d.ts.map +1 -1
  35. package/dist/plugins/manifest/schemas.d.ts +6 -90
  36. package/dist/plugins/manifest/schemas.d.ts.map +1 -1
  37. package/dist/plugins/manifest/schemas.js +5 -2
  38. package/dist/plugins/request/schemas.d.ts +24 -68
  39. package/dist/plugins/request/schemas.d.ts.map +1 -1
  40. package/dist/plugins/request/schemas.js +1 -1
  41. package/dist/plugins/runAction/schemas.d.ts +12 -21
  42. package/dist/plugins/runAction/schemas.d.ts.map +1 -1
  43. package/dist/schemas/Action.d.ts +13 -30
  44. package/dist/schemas/Action.d.ts.map +1 -1
  45. package/dist/schemas/App.d.ts +30 -171
  46. package/dist/schemas/App.d.ts.map +1 -1
  47. package/dist/schemas/Auth.d.ts +14 -120
  48. package/dist/schemas/Auth.d.ts.map +1 -1
  49. package/dist/schemas/Field.d.ts +10 -108
  50. package/dist/schemas/Field.d.ts.map +1 -1
  51. package/dist/schemas/UserProfile.d.ts +5 -113
  52. package/dist/schemas/UserProfile.d.ts.map +1 -1
  53. package/dist/temporary-internal-core/schemas/apps/index.d.ts +19 -440
  54. package/dist/temporary-internal-core/schemas/apps/index.d.ts.map +1 -1
  55. package/dist/temporary-internal-core/schemas/authentications/index.d.ts +23 -327
  56. package/dist/temporary-internal-core/schemas/authentications/index.d.ts.map +1 -1
  57. package/dist/temporary-internal-core/schemas/authentications/index.js +1 -1
  58. package/dist/temporary-internal-core/schemas/implementations/index.d.ts +9 -393
  59. package/dist/temporary-internal-core/schemas/implementations/index.d.ts.map +1 -1
  60. package/dist/types/properties.d.ts +11 -2
  61. package/dist/types/properties.d.ts.map +1 -1
  62. package/dist/types/properties.js +2 -2
  63. package/dist/utils/function-utils.d.ts +2 -14
  64. package/dist/utils/function-utils.d.ts.map +1 -1
  65. package/dist/utils/schema-utils.d.ts.map +1 -1
  66. package/dist/utils/schema-utils.js +10 -9
  67. package/dist/utils/validation.d.ts +1 -1
  68. package/dist/utils/validation.d.ts.map +1 -1
  69. package/dist/utils/validation.js +2 -2
  70. package/package.json +4 -4
@@ -1,9 +1,8 @@
1
1
  import { z } from "zod";
2
2
  export { FormattedItem, FormatMetadata } from "../utils/schema-utils";
3
- export declare const UserProfileItemSchema: z.ZodObject<Omit<{
4
- id: z.ZodNumber;
3
+ export declare const UserProfileItemSchema: z.ZodObject<{
5
4
  code: z.ZodString;
6
- user_id: z.ZodNumber;
5
+ id: z.ZodNumber;
7
6
  auto_provisioned: z.ZodBoolean;
8
7
  first_name: z.ZodString;
9
8
  last_name: z.ZodString;
@@ -41,7 +40,7 @@ export declare const UserProfileItemSchema: z.ZodObject<Omit<{
41
40
  viewed_help: z.ZodRecord<z.ZodString, z.ZodBoolean>;
42
41
  show_editor_migration_mesaging: z.ZodBoolean;
43
42
  switches: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44
- organizations: z.ZodArray<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>, "many">;
43
+ organizations: z.ZodArray<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
45
44
  primary_organization: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
46
45
  has_active_zaps: z.ZodBoolean;
47
46
  has_google_sso: z.ZodBoolean;
@@ -49,115 +48,8 @@ export declare const UserProfileItemSchema: z.ZodObject<Omit<{
49
48
  roles: z.ZodArray<z.ZodObject<{
50
49
  account_id: z.ZodNumber;
51
50
  role: z.ZodString;
52
- }, "strip", z.ZodTypeAny, {
53
- account_id: number;
54
- role: string;
55
- }, {
56
- account_id: number;
57
- role: string;
58
- }>, "many">;
59
- }, "user_id"> & {
51
+ }, z.core.$strip>>;
60
52
  full_name: z.ZodString;
61
- }, "strip", z.ZodTypeAny, {
62
- code: string;
63
- id: number;
64
- auto_provisioned: boolean;
65
- first_name: string;
66
- last_name: string;
67
- username: string;
68
- personas: string;
69
- user_generated_personas: string;
70
- last_login: string;
71
- email: string;
72
- email_hash: string;
73
- email_confirmed: boolean;
74
- timezone: string;
75
- photo_url: string;
76
- has_seen_notifications: Record<string, boolean | null>;
77
- signup: string;
78
- since_signup: string;
79
- has_activated: boolean;
80
- enable_gz_creator: boolean;
81
- should_see_nps_survey: boolean;
82
- is_developer: boolean;
83
- is_expert: boolean;
84
- tos_agreement: boolean;
85
- should_renew_tos: boolean;
86
- is_gdpr_consented: boolean;
87
- disable_ssl_check: boolean;
88
- identity: number;
89
- summary_schedule: string;
90
- alert_triggers: string;
91
- alert_actions: string;
92
- is_staff: boolean;
93
- is_zt_reviewer: boolean;
94
- is_high_value: boolean;
95
- is_temporary: boolean;
96
- banner_message: string;
97
- enable_totp_2fa: boolean;
98
- viewed_help: Record<string, boolean>;
99
- show_editor_migration_mesaging: boolean;
100
- switches: Record<string, unknown>;
101
- organizations: (Record<string, unknown> | null)[];
102
- primary_organization: Record<string, unknown> | null;
103
- has_active_zaps: boolean;
104
- has_google_sso: boolean;
105
- auth_realm: string;
106
- roles: {
107
- account_id: number;
108
- role: string;
109
- }[];
110
- full_name: string;
111
- }, {
112
- code: string;
113
- id: number;
114
- auto_provisioned: boolean;
115
- first_name: string;
116
- last_name: string;
117
- username: string;
118
- personas: string;
119
- user_generated_personas: string;
120
- last_login: string;
121
- email: string;
122
- email_hash: string;
123
- email_confirmed: boolean;
124
- timezone: string;
125
- photo_url: string;
126
- has_seen_notifications: Record<string, boolean | null>;
127
- signup: string;
128
- since_signup: string;
129
- has_activated: boolean;
130
- enable_gz_creator: boolean;
131
- should_see_nps_survey: boolean;
132
- is_developer: boolean;
133
- is_expert: boolean;
134
- tos_agreement: boolean;
135
- should_renew_tos: boolean;
136
- is_gdpr_consented: boolean;
137
- disable_ssl_check: boolean;
138
- identity: number;
139
- summary_schedule: string;
140
- alert_triggers: string;
141
- alert_actions: string;
142
- is_staff: boolean;
143
- is_zt_reviewer: boolean;
144
- is_high_value: boolean;
145
- is_temporary: boolean;
146
- banner_message: string;
147
- enable_totp_2fa: boolean;
148
- viewed_help: Record<string, boolean>;
149
- show_editor_migration_mesaging: boolean;
150
- switches: Record<string, unknown>;
151
- organizations: (Record<string, unknown> | null)[];
152
- primary_organization: Record<string, unknown> | null;
153
- has_active_zaps: boolean;
154
- has_google_sso: boolean;
155
- auth_realm: string;
156
- roles: {
157
- account_id: number;
158
- role: string;
159
- }[];
160
- full_name: string;
161
- }>;
53
+ }, z.core.$strip>;
162
54
  export type UserProfileItem = z.infer<typeof UserProfileItemSchema>;
163
55
  //# sourceMappingURL=UserProfile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserProfile.d.ts","sourceRoot":"","sources":["../../src/schemas/UserProfile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAMtE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2CjC,CAAC;AAMF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"UserProfile.d.ts","sourceRoot":"","sources":["../../src/schemas/UserProfile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAMtE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2CjC,CAAC;AAMF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -14,38 +14,15 @@ import { z } from "zod";
14
14
  * The plugin resolves these to implementation IDs before calling the handler.
15
15
  */
16
16
  export declare const ListAppsOptionsSchema: z.ZodObject<{
17
- appKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17
+ appKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
18
  search: z.ZodOptional<z.ZodString>;
19
19
  pageSize: z.ZodOptional<z.ZodNumber>;
20
20
  maxItems: z.ZodOptional<z.ZodNumber>;
21
21
  cursor: z.ZodOptional<z.ZodString>;
22
- } & {
23
22
  _telemetry: z.ZodOptional<z.ZodObject<{
24
23
  isNested: z.ZodOptional<z.ZodBoolean>;
25
- }, "strip", z.ZodTypeAny, {
26
- isNested?: boolean | undefined;
27
- }, {
28
- isNested?: boolean | undefined;
29
- }>>;
30
- }, "strip", z.ZodTypeAny, {
31
- search?: string | undefined;
32
- appKeys?: string[] | undefined;
33
- cursor?: string | undefined;
34
- maxItems?: number | undefined;
35
- pageSize?: number | undefined;
36
- _telemetry?: {
37
- isNested?: boolean | undefined;
38
- } | undefined;
39
- }, {
40
- search?: string | undefined;
41
- appKeys?: string[] | undefined;
42
- cursor?: string | undefined;
43
- maxItems?: number | undefined;
44
- pageSize?: number | undefined;
45
- _telemetry?: {
46
- isNested?: boolean | undefined;
47
- } | undefined;
48
- }>;
24
+ }, z.core.$strip>>;
25
+ }, z.core.$strip>;
49
26
  export type ListAppsOptions = z.infer<typeof ListAppsOptionsSchema>;
50
27
  /**
51
28
  * Normalized app item returned by listApps
@@ -56,15 +33,7 @@ export declare const AppItemSchema: z.ZodObject<{
56
33
  id: z.ZodNumber;
57
34
  name: z.ZodString;
58
35
  slug: z.ZodString;
59
- }, "strip", z.ZodTypeAny, {
60
- id: number;
61
- name: string;
62
- slug: string;
63
- }, {
64
- id: number;
65
- name: string;
66
- slug: string;
67
- }>, "many">>;
36
+ }, z.core.$strip>>>;
68
37
  actions: z.ZodOptional<z.ZodObject<{
69
38
  read: z.ZodOptional<z.ZodNumber>;
70
39
  read_bulk: z.ZodOptional<z.ZodNumber>;
@@ -73,23 +42,7 @@ export declare const AppItemSchema: z.ZodObject<{
73
42
  search_or_write: z.ZodOptional<z.ZodNumber>;
74
43
  search_and_write: z.ZodOptional<z.ZodNumber>;
75
44
  filter: z.ZodOptional<z.ZodNumber>;
76
- }, "strip", z.ZodTypeAny, {
77
- search?: number | undefined;
78
- filter?: number | undefined;
79
- read?: number | undefined;
80
- read_bulk?: number | undefined;
81
- search_and_write?: number | undefined;
82
- search_or_write?: number | undefined;
83
- write?: number | undefined;
84
- }, {
85
- search?: number | undefined;
86
- filter?: number | undefined;
87
- read?: number | undefined;
88
- read_bulk?: number | undefined;
89
- search_and_write?: number | undefined;
90
- search_or_write?: number | undefined;
91
- write?: number | undefined;
92
- }>>;
45
+ }, z.core.$strip>>;
93
46
  description: z.ZodOptional<z.ZodString>;
94
47
  is_hidden: z.ZodOptional<z.ZodBoolean>;
95
48
  age_in_days: z.ZodOptional<z.ZodNumber>;
@@ -101,17 +54,7 @@ export declare const AppItemSchema: z.ZodObject<{
101
54
  url_32x32: z.ZodOptional<z.ZodString>;
102
55
  url_64x64: z.ZodOptional<z.ZodString>;
103
56
  url_128x128: z.ZodOptional<z.ZodString>;
104
- }, "strip", z.ZodTypeAny, {
105
- url_16x16?: string | undefined;
106
- url_32x32?: string | undefined;
107
- url_64x64?: string | undefined;
108
- url_128x128?: string | undefined;
109
- }, {
110
- url_16x16?: string | undefined;
111
- url_32x32?: string | undefined;
112
- url_64x64?: string | undefined;
113
- url_128x128?: string | undefined;
114
- }>>;
57
+ }, z.core.$strip>>;
115
58
  is_beta: z.ZodOptional<z.ZodBoolean>;
116
59
  is_built_in: z.ZodOptional<z.ZodBoolean>;
117
60
  is_featured: z.ZodOptional<z.ZodBoolean>;
@@ -133,116 +76,11 @@ export declare const AppItemSchema: z.ZodObject<{
133
76
  is_invite: z.ZodOptional<z.ZodBoolean>;
134
77
  visibility: z.ZodOptional<z.ZodString>;
135
78
  classification: z.ZodOptional<z.ZodString>;
136
- } & {
137
79
  title: z.ZodString;
138
80
  key: z.ZodString;
139
81
  implementation_id: z.ZodString;
140
82
  version: z.ZodOptional<z.ZodString>;
141
- }, "strip", z.ZodTypeAny, {
142
- key: string;
143
- title: string;
144
- slug: string;
145
- implementation_id: string;
146
- categories?: {
147
- id: number;
148
- name: string;
149
- slug: string;
150
- }[] | undefined;
151
- actions?: {
152
- search?: number | undefined;
153
- filter?: number | undefined;
154
- read?: number | undefined;
155
- read_bulk?: number | undefined;
156
- search_and_write?: number | undefined;
157
- search_or_write?: number | undefined;
158
- write?: number | undefined;
159
- } | undefined;
160
- description?: string | undefined;
161
- is_hidden?: boolean | undefined;
162
- age_in_days?: number | undefined;
163
- api_docs_url?: string | undefined;
164
- banner?: string | undefined;
165
- image?: string | undefined;
166
- images?: {
167
- url_16x16?: string | undefined;
168
- url_32x32?: string | undefined;
169
- url_64x64?: string | undefined;
170
- url_128x128?: string | undefined;
171
- } | undefined;
172
- is_beta?: boolean | undefined;
173
- is_built_in?: boolean | undefined;
174
- is_featured?: boolean | undefined;
175
- is_premium?: boolean | undefined;
176
- is_public?: boolean | undefined;
177
- is_upcoming?: boolean | undefined;
178
- popularity?: number | undefined;
179
- primary_color?: string | undefined;
180
- auth_type?: string | undefined;
181
- is_deprecated?: boolean | undefined;
182
- secondary_color?: string | undefined;
183
- has_filters?: boolean | undefined;
184
- has_reads?: boolean | undefined;
185
- has_searches?: boolean | undefined;
186
- has_searches_or_writes?: boolean | undefined;
187
- has_upfront_fields?: boolean | undefined;
188
- has_writes?: boolean | undefined;
189
- is_invite?: boolean | undefined;
190
- version?: string | undefined;
191
- visibility?: string | undefined;
192
- classification?: string | undefined;
193
- }, {
194
- key: string;
195
- title: string;
196
- slug: string;
197
- implementation_id: string;
198
- categories?: {
199
- id: number;
200
- name: string;
201
- slug: string;
202
- }[] | undefined;
203
- actions?: {
204
- search?: number | undefined;
205
- filter?: number | undefined;
206
- read?: number | undefined;
207
- read_bulk?: number | undefined;
208
- search_and_write?: number | undefined;
209
- search_or_write?: number | undefined;
210
- write?: number | undefined;
211
- } | undefined;
212
- description?: string | undefined;
213
- is_hidden?: boolean | undefined;
214
- age_in_days?: number | undefined;
215
- api_docs_url?: string | undefined;
216
- banner?: string | undefined;
217
- image?: string | undefined;
218
- images?: {
219
- url_16x16?: string | undefined;
220
- url_32x32?: string | undefined;
221
- url_64x64?: string | undefined;
222
- url_128x128?: string | undefined;
223
- } | undefined;
224
- is_beta?: boolean | undefined;
225
- is_built_in?: boolean | undefined;
226
- is_featured?: boolean | undefined;
227
- is_premium?: boolean | undefined;
228
- is_public?: boolean | undefined;
229
- is_upcoming?: boolean | undefined;
230
- popularity?: number | undefined;
231
- primary_color?: string | undefined;
232
- auth_type?: string | undefined;
233
- is_deprecated?: boolean | undefined;
234
- secondary_color?: string | undefined;
235
- has_filters?: boolean | undefined;
236
- has_reads?: boolean | undefined;
237
- has_searches?: boolean | undefined;
238
- has_searches_or_writes?: boolean | undefined;
239
- has_upfront_fields?: boolean | undefined;
240
- has_writes?: boolean | undefined;
241
- is_invite?: boolean | undefined;
242
- version?: string | undefined;
243
- visibility?: string | undefined;
244
- classification?: string | undefined;
245
- }>;
83
+ }, z.core.$strip>;
246
84
  export type AppItem = z.infer<typeof AppItemSchema>;
247
85
  /**
248
86
  * Response schema for listApps (paginated)
@@ -253,15 +91,7 @@ export declare const ListAppsResponseSchema: z.ZodObject<{
253
91
  id: z.ZodNumber;
254
92
  name: z.ZodString;
255
93
  slug: z.ZodString;
256
- }, "strip", z.ZodTypeAny, {
257
- id: number;
258
- name: string;
259
- slug: string;
260
- }, {
261
- id: number;
262
- name: string;
263
- slug: string;
264
- }>, "many">>;
94
+ }, z.core.$strip>>>;
265
95
  actions: z.ZodOptional<z.ZodObject<{
266
96
  read: z.ZodOptional<z.ZodNumber>;
267
97
  read_bulk: z.ZodOptional<z.ZodNumber>;
@@ -270,23 +100,7 @@ export declare const ListAppsResponseSchema: z.ZodObject<{
270
100
  search_or_write: z.ZodOptional<z.ZodNumber>;
271
101
  search_and_write: z.ZodOptional<z.ZodNumber>;
272
102
  filter: z.ZodOptional<z.ZodNumber>;
273
- }, "strip", z.ZodTypeAny, {
274
- search?: number | undefined;
275
- filter?: number | undefined;
276
- read?: number | undefined;
277
- read_bulk?: number | undefined;
278
- search_and_write?: number | undefined;
279
- search_or_write?: number | undefined;
280
- write?: number | undefined;
281
- }, {
282
- search?: number | undefined;
283
- filter?: number | undefined;
284
- read?: number | undefined;
285
- read_bulk?: number | undefined;
286
- search_and_write?: number | undefined;
287
- search_or_write?: number | undefined;
288
- write?: number | undefined;
289
- }>>;
103
+ }, z.core.$strip>>;
290
104
  description: z.ZodOptional<z.ZodString>;
291
105
  is_hidden: z.ZodOptional<z.ZodBoolean>;
292
106
  age_in_days: z.ZodOptional<z.ZodNumber>;
@@ -298,17 +112,7 @@ export declare const ListAppsResponseSchema: z.ZodObject<{
298
112
  url_32x32: z.ZodOptional<z.ZodString>;
299
113
  url_64x64: z.ZodOptional<z.ZodString>;
300
114
  url_128x128: z.ZodOptional<z.ZodString>;
301
- }, "strip", z.ZodTypeAny, {
302
- url_16x16?: string | undefined;
303
- url_32x32?: string | undefined;
304
- url_64x64?: string | undefined;
305
- url_128x128?: string | undefined;
306
- }, {
307
- url_16x16?: string | undefined;
308
- url_32x32?: string | undefined;
309
- url_64x64?: string | undefined;
310
- url_128x128?: string | undefined;
311
- }>>;
115
+ }, z.core.$strip>>;
312
116
  is_beta: z.ZodOptional<z.ZodBoolean>;
313
117
  is_built_in: z.ZodOptional<z.ZodBoolean>;
314
118
  is_featured: z.ZodOptional<z.ZodBoolean>;
@@ -330,228 +134,13 @@ export declare const ListAppsResponseSchema: z.ZodObject<{
330
134
  is_invite: z.ZodOptional<z.ZodBoolean>;
331
135
  visibility: z.ZodOptional<z.ZodString>;
332
136
  classification: z.ZodOptional<z.ZodString>;
333
- } & {
334
137
  title: z.ZodString;
335
138
  key: z.ZodString;
336
139
  implementation_id: z.ZodString;
337
140
  version: z.ZodOptional<z.ZodString>;
338
- }, "strip", z.ZodTypeAny, {
339
- key: string;
340
- title: string;
341
- slug: string;
342
- implementation_id: string;
343
- categories?: {
344
- id: number;
345
- name: string;
346
- slug: string;
347
- }[] | undefined;
348
- actions?: {
349
- search?: number | undefined;
350
- filter?: number | undefined;
351
- read?: number | undefined;
352
- read_bulk?: number | undefined;
353
- search_and_write?: number | undefined;
354
- search_or_write?: number | undefined;
355
- write?: number | undefined;
356
- } | undefined;
357
- description?: string | undefined;
358
- is_hidden?: boolean | undefined;
359
- age_in_days?: number | undefined;
360
- api_docs_url?: string | undefined;
361
- banner?: string | undefined;
362
- image?: string | undefined;
363
- images?: {
364
- url_16x16?: string | undefined;
365
- url_32x32?: string | undefined;
366
- url_64x64?: string | undefined;
367
- url_128x128?: string | undefined;
368
- } | undefined;
369
- is_beta?: boolean | undefined;
370
- is_built_in?: boolean | undefined;
371
- is_featured?: boolean | undefined;
372
- is_premium?: boolean | undefined;
373
- is_public?: boolean | undefined;
374
- is_upcoming?: boolean | undefined;
375
- popularity?: number | undefined;
376
- primary_color?: string | undefined;
377
- auth_type?: string | undefined;
378
- is_deprecated?: boolean | undefined;
379
- secondary_color?: string | undefined;
380
- has_filters?: boolean | undefined;
381
- has_reads?: boolean | undefined;
382
- has_searches?: boolean | undefined;
383
- has_searches_or_writes?: boolean | undefined;
384
- has_upfront_fields?: boolean | undefined;
385
- has_writes?: boolean | undefined;
386
- is_invite?: boolean | undefined;
387
- version?: string | undefined;
388
- visibility?: string | undefined;
389
- classification?: string | undefined;
390
- }, {
391
- key: string;
392
- title: string;
393
- slug: string;
394
- implementation_id: string;
395
- categories?: {
396
- id: number;
397
- name: string;
398
- slug: string;
399
- }[] | undefined;
400
- actions?: {
401
- search?: number | undefined;
402
- filter?: number | undefined;
403
- read?: number | undefined;
404
- read_bulk?: number | undefined;
405
- search_and_write?: number | undefined;
406
- search_or_write?: number | undefined;
407
- write?: number | undefined;
408
- } | undefined;
409
- description?: string | undefined;
410
- is_hidden?: boolean | undefined;
411
- age_in_days?: number | undefined;
412
- api_docs_url?: string | undefined;
413
- banner?: string | undefined;
414
- image?: string | undefined;
415
- images?: {
416
- url_16x16?: string | undefined;
417
- url_32x32?: string | undefined;
418
- url_64x64?: string | undefined;
419
- url_128x128?: string | undefined;
420
- } | undefined;
421
- is_beta?: boolean | undefined;
422
- is_built_in?: boolean | undefined;
423
- is_featured?: boolean | undefined;
424
- is_premium?: boolean | undefined;
425
- is_public?: boolean | undefined;
426
- is_upcoming?: boolean | undefined;
427
- popularity?: number | undefined;
428
- primary_color?: string | undefined;
429
- auth_type?: string | undefined;
430
- is_deprecated?: boolean | undefined;
431
- secondary_color?: string | undefined;
432
- has_filters?: boolean | undefined;
433
- has_reads?: boolean | undefined;
434
- has_searches?: boolean | undefined;
435
- has_searches_or_writes?: boolean | undefined;
436
- has_upfront_fields?: boolean | undefined;
437
- has_writes?: boolean | undefined;
438
- is_invite?: boolean | undefined;
439
- version?: string | undefined;
440
- visibility?: string | undefined;
441
- classification?: string | undefined;
442
- }>, "many">;
141
+ }, z.core.$strip>>;
443
142
  nextCursor: z.ZodOptional<z.ZodString>;
444
- }, "strip", z.ZodTypeAny, {
445
- data: {
446
- key: string;
447
- title: string;
448
- slug: string;
449
- implementation_id: string;
450
- categories?: {
451
- id: number;
452
- name: string;
453
- slug: string;
454
- }[] | undefined;
455
- actions?: {
456
- search?: number | undefined;
457
- filter?: number | undefined;
458
- read?: number | undefined;
459
- read_bulk?: number | undefined;
460
- search_and_write?: number | undefined;
461
- search_or_write?: number | undefined;
462
- write?: number | undefined;
463
- } | undefined;
464
- description?: string | undefined;
465
- is_hidden?: boolean | undefined;
466
- age_in_days?: number | undefined;
467
- api_docs_url?: string | undefined;
468
- banner?: string | undefined;
469
- image?: string | undefined;
470
- images?: {
471
- url_16x16?: string | undefined;
472
- url_32x32?: string | undefined;
473
- url_64x64?: string | undefined;
474
- url_128x128?: string | undefined;
475
- } | undefined;
476
- is_beta?: boolean | undefined;
477
- is_built_in?: boolean | undefined;
478
- is_featured?: boolean | undefined;
479
- is_premium?: boolean | undefined;
480
- is_public?: boolean | undefined;
481
- is_upcoming?: boolean | undefined;
482
- popularity?: number | undefined;
483
- primary_color?: string | undefined;
484
- auth_type?: string | undefined;
485
- is_deprecated?: boolean | undefined;
486
- secondary_color?: string | undefined;
487
- has_filters?: boolean | undefined;
488
- has_reads?: boolean | undefined;
489
- has_searches?: boolean | undefined;
490
- has_searches_or_writes?: boolean | undefined;
491
- has_upfront_fields?: boolean | undefined;
492
- has_writes?: boolean | undefined;
493
- is_invite?: boolean | undefined;
494
- version?: string | undefined;
495
- visibility?: string | undefined;
496
- classification?: string | undefined;
497
- }[];
498
- nextCursor?: string | undefined;
499
- }, {
500
- data: {
501
- key: string;
502
- title: string;
503
- slug: string;
504
- implementation_id: string;
505
- categories?: {
506
- id: number;
507
- name: string;
508
- slug: string;
509
- }[] | undefined;
510
- actions?: {
511
- search?: number | undefined;
512
- filter?: number | undefined;
513
- read?: number | undefined;
514
- read_bulk?: number | undefined;
515
- search_and_write?: number | undefined;
516
- search_or_write?: number | undefined;
517
- write?: number | undefined;
518
- } | undefined;
519
- description?: string | undefined;
520
- is_hidden?: boolean | undefined;
521
- age_in_days?: number | undefined;
522
- api_docs_url?: string | undefined;
523
- banner?: string | undefined;
524
- image?: string | undefined;
525
- images?: {
526
- url_16x16?: string | undefined;
527
- url_32x32?: string | undefined;
528
- url_64x64?: string | undefined;
529
- url_128x128?: string | undefined;
530
- } | undefined;
531
- is_beta?: boolean | undefined;
532
- is_built_in?: boolean | undefined;
533
- is_featured?: boolean | undefined;
534
- is_premium?: boolean | undefined;
535
- is_public?: boolean | undefined;
536
- is_upcoming?: boolean | undefined;
537
- popularity?: number | undefined;
538
- primary_color?: string | undefined;
539
- auth_type?: string | undefined;
540
- is_deprecated?: boolean | undefined;
541
- secondary_color?: string | undefined;
542
- has_filters?: boolean | undefined;
543
- has_reads?: boolean | undefined;
544
- has_searches?: boolean | undefined;
545
- has_searches_or_writes?: boolean | undefined;
546
- has_upfront_fields?: boolean | undefined;
547
- has_writes?: boolean | undefined;
548
- is_invite?: boolean | undefined;
549
- version?: string | undefined;
550
- visibility?: string | undefined;
551
- classification?: string | undefined;
552
- }[];
553
- nextCursor?: string | undefined;
554
- }>;
143
+ }, z.core.$strip>;
555
144
  export type ListAppsResponse = z.infer<typeof ListAppsResponseSchema>;
556
145
  /**
557
146
  * Handler request schema for listApps operation
@@ -566,31 +155,21 @@ export type ListAppsResponse = z.infer<typeof ListAppsResponseSchema>;
566
155
  * - implementationIds: string (comma-separated) or string[] → normalized to string[]
567
156
  * - pageSize: string or number → normalized to number
568
157
  */
569
- export declare const ListAppsHandlerRequestSchema: z.ZodEffects<z.ZodObject<{
570
- implementationIds: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
158
+ export declare const ListAppsHandlerRequestSchema: z.ZodPipe<z.ZodObject<{
159
+ implementationIds: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
571
160
  search: z.ZodOptional<z.ZodString>;
572
- pageSize: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
161
+ pageSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
573
162
  cursor: z.ZodOptional<z.ZodString>;
574
- }, "strip", z.ZodTypeAny, {
575
- search?: string | undefined;
576
- cursor?: string | undefined;
577
- pageSize?: string | number | undefined;
578
- implementationIds?: string | string[] | undefined;
579
- }, {
580
- search?: string | undefined;
581
- cursor?: string | undefined;
582
- pageSize?: string | number | undefined;
583
- implementationIds?: string | string[] | undefined;
584
- }>, {
163
+ }, z.core.$strip>, z.ZodTransform<{
585
164
  implementationIds: string[];
586
165
  search: string | undefined;
587
166
  pageSize: number | undefined;
588
167
  cursor: string | undefined;
589
168
  }, {
169
+ implementationIds?: string | string[] | undefined;
590
170
  search?: string | undefined;
591
- cursor?: string | undefined;
592
171
  pageSize?: string | number | undefined;
593
- implementationIds?: string | string[] | undefined;
594
- }>;
172
+ cursor?: string | undefined;
173
+ }>>;
595
174
  export type ListAppsHandlerRequest = z.infer<typeof ListAppsHandlerRequestSchema>;
596
175
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/temporary-internal-core/schemas/apps/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkB4B,CAAC;AAE/D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;EAiCpC,CAAC;AAEN,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/temporary-internal-core/schemas/apps/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;iBAkB4B,CAAC;AAE/D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;GAiCpC,CAAC;AAEN,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC"}