@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.
- package/CHANGELOG.md +19 -0
- package/LICENSE +2 -0
- package/dist/api/schemas.d.ts +133 -1488
- package/dist/api/schemas.d.ts.map +1 -1
- package/dist/api/schemas.js +10 -10
- package/dist/index.cjs +27 -27
- package/dist/index.d.mts +296 -1830
- package/dist/index.mjs +27 -27
- package/dist/plugins/apps/schemas.d.ts +2 -12
- package/dist/plugins/apps/schemas.d.ts.map +1 -1
- package/dist/plugins/apps/schemas.js +1 -1
- package/dist/plugins/fetch/schemas.d.ts +12 -18
- package/dist/plugins/fetch/schemas.d.ts.map +1 -1
- package/dist/plugins/fetch/schemas.js +1 -1
- package/dist/plugins/findFirstAuthentication/schemas.d.ts +2 -14
- package/dist/plugins/findFirstAuthentication/schemas.d.ts.map +1 -1
- package/dist/plugins/findUniqueAuthentication/schemas.d.ts +2 -14
- package/dist/plugins/findUniqueAuthentication/schemas.d.ts.map +1 -1
- package/dist/plugins/getAction/schemas.d.ts +13 -23
- package/dist/plugins/getAction/schemas.d.ts.map +1 -1
- package/dist/plugins/getApp/schemas.d.ts +2 -6
- package/dist/plugins/getApp/schemas.d.ts.map +1 -1
- package/dist/plugins/getInputFieldsSchema/schemas.d.ts +12 -15
- package/dist/plugins/getInputFieldsSchema/schemas.d.ts.map +1 -1
- package/dist/plugins/getProfile/schemas.d.ts +1 -1
- package/dist/plugins/getProfile/schemas.d.ts.map +1 -1
- package/dist/plugins/listActions/schemas.d.ts +13 -27
- package/dist/plugins/listActions/schemas.d.ts.map +1 -1
- package/dist/plugins/listAuthentications/schemas.d.ts +5 -36
- package/dist/plugins/listAuthentications/schemas.d.ts.map +1 -1
- package/dist/plugins/listInputFieldChoices/schemas.d.ts +13 -36
- package/dist/plugins/listInputFieldChoices/schemas.d.ts.map +1 -1
- package/dist/plugins/listInputFields/schemas.d.ts +12 -21
- package/dist/plugins/listInputFields/schemas.d.ts.map +1 -1
- package/dist/plugins/manifest/schemas.d.ts +6 -90
- package/dist/plugins/manifest/schemas.d.ts.map +1 -1
- package/dist/plugins/manifest/schemas.js +5 -2
- package/dist/plugins/request/schemas.d.ts +24 -68
- package/dist/plugins/request/schemas.d.ts.map +1 -1
- package/dist/plugins/request/schemas.js +1 -1
- package/dist/plugins/runAction/schemas.d.ts +12 -21
- package/dist/plugins/runAction/schemas.d.ts.map +1 -1
- package/dist/schemas/Action.d.ts +13 -30
- package/dist/schemas/Action.d.ts.map +1 -1
- package/dist/schemas/App.d.ts +30 -171
- package/dist/schemas/App.d.ts.map +1 -1
- package/dist/schemas/Auth.d.ts +14 -120
- package/dist/schemas/Auth.d.ts.map +1 -1
- package/dist/schemas/Field.d.ts +10 -108
- package/dist/schemas/Field.d.ts.map +1 -1
- package/dist/schemas/UserProfile.d.ts +5 -113
- package/dist/schemas/UserProfile.d.ts.map +1 -1
- package/dist/temporary-internal-core/schemas/apps/index.d.ts +19 -440
- package/dist/temporary-internal-core/schemas/apps/index.d.ts.map +1 -1
- package/dist/temporary-internal-core/schemas/authentications/index.d.ts +23 -327
- package/dist/temporary-internal-core/schemas/authentications/index.d.ts.map +1 -1
- package/dist/temporary-internal-core/schemas/authentications/index.js +1 -1
- package/dist/temporary-internal-core/schemas/implementations/index.d.ts +9 -393
- package/dist/temporary-internal-core/schemas/implementations/index.d.ts.map +1 -1
- package/dist/types/properties.d.ts +11 -2
- package/dist/types/properties.d.ts.map +1 -1
- package/dist/types/properties.js +2 -2
- package/dist/utils/function-utils.d.ts +2 -14
- package/dist/utils/function-utils.d.ts.map +1 -1
- package/dist/utils/schema-utils.d.ts.map +1 -1
- package/dist/utils/schema-utils.js +10 -9
- package/dist/utils/validation.d.ts +1 -1
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/validation.js +2 -2
- package/package.json +4 -4
|
@@ -23,49 +23,7 @@ export declare const AuthenticationSchema: z.ZodObject<{
|
|
|
23
23
|
groups: z.ZodOptional<z.ZodString>;
|
|
24
24
|
members: z.ZodOptional<z.ZodString>;
|
|
25
25
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
26
|
-
},
|
|
27
|
-
account_id: number;
|
|
28
|
-
selected_api: string;
|
|
29
|
-
id: number;
|
|
30
|
-
date: string;
|
|
31
|
-
is_invite_only: boolean;
|
|
32
|
-
is_private: boolean;
|
|
33
|
-
shared_with_all: boolean;
|
|
34
|
-
url?: string | undefined;
|
|
35
|
-
members?: string | undefined;
|
|
36
|
-
customuser_id?: number | undefined;
|
|
37
|
-
label?: string | null | undefined;
|
|
38
|
-
lastchanged?: string | undefined;
|
|
39
|
-
destination_selected_api?: string | null | undefined;
|
|
40
|
-
is_stale?: string | undefined;
|
|
41
|
-
is_shared?: string | undefined;
|
|
42
|
-
marked_stale_at?: string | null | undefined;
|
|
43
|
-
identifier?: string | null | undefined;
|
|
44
|
-
title?: string | null | undefined;
|
|
45
|
-
groups?: string | undefined;
|
|
46
|
-
permissions?: Record<string, boolean> | undefined;
|
|
47
|
-
}, {
|
|
48
|
-
account_id: number;
|
|
49
|
-
selected_api: string;
|
|
50
|
-
id: number;
|
|
51
|
-
date: string;
|
|
52
|
-
is_invite_only: boolean;
|
|
53
|
-
is_private: boolean;
|
|
54
|
-
shared_with_all: boolean;
|
|
55
|
-
url?: string | undefined;
|
|
56
|
-
members?: string | undefined;
|
|
57
|
-
customuser_id?: number | undefined;
|
|
58
|
-
label?: string | null | undefined;
|
|
59
|
-
lastchanged?: string | undefined;
|
|
60
|
-
destination_selected_api?: string | null | undefined;
|
|
61
|
-
is_stale?: string | undefined;
|
|
62
|
-
is_shared?: string | undefined;
|
|
63
|
-
marked_stale_at?: string | null | undefined;
|
|
64
|
-
identifier?: string | null | undefined;
|
|
65
|
-
title?: string | null | undefined;
|
|
66
|
-
groups?: string | undefined;
|
|
67
|
-
permissions?: Record<string, boolean> | undefined;
|
|
68
|
-
}>;
|
|
26
|
+
}, z.core.$strip>;
|
|
69
27
|
export declare const AuthenticationsResponseSchema: z.ZodObject<{
|
|
70
28
|
count: z.ZodNumber;
|
|
71
29
|
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -91,102 +49,8 @@ export declare const AuthenticationsResponseSchema: z.ZodObject<{
|
|
|
91
49
|
groups: z.ZodOptional<z.ZodString>;
|
|
92
50
|
members: z.ZodOptional<z.ZodString>;
|
|
93
51
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
94
|
-
},
|
|
95
|
-
|
|
96
|
-
selected_api: string;
|
|
97
|
-
id: number;
|
|
98
|
-
date: string;
|
|
99
|
-
is_invite_only: boolean;
|
|
100
|
-
is_private: boolean;
|
|
101
|
-
shared_with_all: boolean;
|
|
102
|
-
url?: string | undefined;
|
|
103
|
-
members?: string | undefined;
|
|
104
|
-
customuser_id?: number | undefined;
|
|
105
|
-
label?: string | null | undefined;
|
|
106
|
-
lastchanged?: string | undefined;
|
|
107
|
-
destination_selected_api?: string | null | undefined;
|
|
108
|
-
is_stale?: string | undefined;
|
|
109
|
-
is_shared?: string | undefined;
|
|
110
|
-
marked_stale_at?: string | null | undefined;
|
|
111
|
-
identifier?: string | null | undefined;
|
|
112
|
-
title?: string | null | undefined;
|
|
113
|
-
groups?: string | undefined;
|
|
114
|
-
permissions?: Record<string, boolean> | undefined;
|
|
115
|
-
}, {
|
|
116
|
-
account_id: number;
|
|
117
|
-
selected_api: string;
|
|
118
|
-
id: number;
|
|
119
|
-
date: string;
|
|
120
|
-
is_invite_only: boolean;
|
|
121
|
-
is_private: boolean;
|
|
122
|
-
shared_with_all: boolean;
|
|
123
|
-
url?: string | undefined;
|
|
124
|
-
members?: string | undefined;
|
|
125
|
-
customuser_id?: number | undefined;
|
|
126
|
-
label?: string | null | undefined;
|
|
127
|
-
lastchanged?: string | undefined;
|
|
128
|
-
destination_selected_api?: string | null | undefined;
|
|
129
|
-
is_stale?: string | undefined;
|
|
130
|
-
is_shared?: string | undefined;
|
|
131
|
-
marked_stale_at?: string | null | undefined;
|
|
132
|
-
identifier?: string | null | undefined;
|
|
133
|
-
title?: string | null | undefined;
|
|
134
|
-
groups?: string | undefined;
|
|
135
|
-
permissions?: Record<string, boolean> | undefined;
|
|
136
|
-
}>, "many">;
|
|
137
|
-
}, "strip", z.ZodTypeAny, {
|
|
138
|
-
count: number;
|
|
139
|
-
results: {
|
|
140
|
-
account_id: number;
|
|
141
|
-
selected_api: string;
|
|
142
|
-
id: number;
|
|
143
|
-
date: string;
|
|
144
|
-
is_invite_only: boolean;
|
|
145
|
-
is_private: boolean;
|
|
146
|
-
shared_with_all: boolean;
|
|
147
|
-
url?: string | undefined;
|
|
148
|
-
members?: string | undefined;
|
|
149
|
-
customuser_id?: number | undefined;
|
|
150
|
-
label?: string | null | undefined;
|
|
151
|
-
lastchanged?: string | undefined;
|
|
152
|
-
destination_selected_api?: string | null | undefined;
|
|
153
|
-
is_stale?: string | undefined;
|
|
154
|
-
is_shared?: string | undefined;
|
|
155
|
-
marked_stale_at?: string | null | undefined;
|
|
156
|
-
identifier?: string | null | undefined;
|
|
157
|
-
title?: string | null | undefined;
|
|
158
|
-
groups?: string | undefined;
|
|
159
|
-
permissions?: Record<string, boolean> | undefined;
|
|
160
|
-
}[];
|
|
161
|
-
next?: string | null | undefined;
|
|
162
|
-
previous?: string | null | undefined;
|
|
163
|
-
}, {
|
|
164
|
-
count: number;
|
|
165
|
-
results: {
|
|
166
|
-
account_id: number;
|
|
167
|
-
selected_api: string;
|
|
168
|
-
id: number;
|
|
169
|
-
date: string;
|
|
170
|
-
is_invite_only: boolean;
|
|
171
|
-
is_private: boolean;
|
|
172
|
-
shared_with_all: boolean;
|
|
173
|
-
url?: string | undefined;
|
|
174
|
-
members?: string | undefined;
|
|
175
|
-
customuser_id?: number | undefined;
|
|
176
|
-
label?: string | null | undefined;
|
|
177
|
-
lastchanged?: string | undefined;
|
|
178
|
-
destination_selected_api?: string | null | undefined;
|
|
179
|
-
is_stale?: string | undefined;
|
|
180
|
-
is_shared?: string | undefined;
|
|
181
|
-
marked_stale_at?: string | null | undefined;
|
|
182
|
-
identifier?: string | null | undefined;
|
|
183
|
-
title?: string | null | undefined;
|
|
184
|
-
groups?: string | undefined;
|
|
185
|
-
permissions?: Record<string, boolean> | undefined;
|
|
186
|
-
}[];
|
|
187
|
-
next?: string | null | undefined;
|
|
188
|
-
previous?: string | null | undefined;
|
|
189
|
-
}>;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
}, z.core.$strip>;
|
|
190
54
|
export type Authentication = z.infer<typeof AuthenticationSchema>;
|
|
191
55
|
/**
|
|
192
56
|
* Normalized authentication item returned by getAuthentication handler
|
|
@@ -201,13 +65,14 @@ export type Authentication = z.infer<typeof AuthenticationSchema>;
|
|
|
201
65
|
* - app_key: Extracted from selected_api (e.g., "SlackCLIAPI@1.0.0" → "SlackCLIAPI")
|
|
202
66
|
* - app_version: Extracted from selected_api (e.g., "SlackCLIAPI@1.0.0" → "1.0.0")
|
|
203
67
|
*/
|
|
204
|
-
export declare const AuthenticationItemSchema: z.ZodObject<
|
|
205
|
-
|
|
68
|
+
export declare const AuthenticationItemSchema: z.ZodObject<{
|
|
69
|
+
url: z.ZodOptional<z.ZodString>;
|
|
70
|
+
members: z.ZodOptional<z.ZodString>;
|
|
71
|
+
account_id: z.ZodNumber;
|
|
72
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
206
73
|
date: z.ZodString;
|
|
74
|
+
id: z.ZodNumber;
|
|
207
75
|
lastchanged: z.ZodOptional<z.ZodString>;
|
|
208
|
-
account_id: z.ZodNumber;
|
|
209
|
-
customuser_id: z.ZodOptional<z.ZodNumber>;
|
|
210
|
-
selected_api: z.ZodString;
|
|
211
76
|
destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
77
|
is_invite_only: z.ZodBoolean;
|
|
213
78
|
is_private: z.ZodBoolean;
|
|
@@ -215,71 +80,17 @@ export declare const AuthenticationItemSchema: z.ZodObject<Omit<{
|
|
|
215
80
|
is_stale: z.ZodOptional<z.ZodString>;
|
|
216
81
|
is_shared: z.ZodOptional<z.ZodString>;
|
|
217
82
|
marked_stale_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
218
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
219
83
|
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
220
84
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
221
|
-
url: z.ZodOptional<z.ZodString>;
|
|
222
85
|
groups: z.ZodOptional<z.ZodString>;
|
|
223
|
-
members: z.ZodOptional<z.ZodString>;
|
|
224
86
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
225
|
-
}, "customuser_id" | "selected_api"> & {
|
|
226
87
|
implementation_id: z.ZodOptional<z.ZodString>;
|
|
227
88
|
user_id: z.ZodOptional<z.ZodNumber>;
|
|
228
89
|
is_expired: z.ZodOptional<z.ZodString>;
|
|
229
90
|
expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
230
91
|
app_key: z.ZodOptional<z.ZodString>;
|
|
231
92
|
app_version: z.ZodOptional<z.ZodString>;
|
|
232
|
-
},
|
|
233
|
-
account_id: number;
|
|
234
|
-
id: number;
|
|
235
|
-
date: string;
|
|
236
|
-
is_invite_only: boolean;
|
|
237
|
-
is_private: boolean;
|
|
238
|
-
shared_with_all: boolean;
|
|
239
|
-
url?: string | undefined;
|
|
240
|
-
members?: string | undefined;
|
|
241
|
-
label?: string | null | undefined;
|
|
242
|
-
lastchanged?: string | undefined;
|
|
243
|
-
destination_selected_api?: string | null | undefined;
|
|
244
|
-
is_stale?: string | undefined;
|
|
245
|
-
is_shared?: string | undefined;
|
|
246
|
-
marked_stale_at?: string | null | undefined;
|
|
247
|
-
identifier?: string | null | undefined;
|
|
248
|
-
title?: string | null | undefined;
|
|
249
|
-
groups?: string | undefined;
|
|
250
|
-
permissions?: Record<string, boolean> | undefined;
|
|
251
|
-
user_id?: number | undefined;
|
|
252
|
-
implementation_id?: string | undefined;
|
|
253
|
-
is_expired?: string | undefined;
|
|
254
|
-
expired_at?: string | null | undefined;
|
|
255
|
-
app_key?: string | undefined;
|
|
256
|
-
app_version?: string | undefined;
|
|
257
|
-
}, {
|
|
258
|
-
account_id: number;
|
|
259
|
-
id: number;
|
|
260
|
-
date: string;
|
|
261
|
-
is_invite_only: boolean;
|
|
262
|
-
is_private: boolean;
|
|
263
|
-
shared_with_all: boolean;
|
|
264
|
-
url?: string | undefined;
|
|
265
|
-
members?: string | undefined;
|
|
266
|
-
label?: string | null | undefined;
|
|
267
|
-
lastchanged?: string | undefined;
|
|
268
|
-
destination_selected_api?: string | null | undefined;
|
|
269
|
-
is_stale?: string | undefined;
|
|
270
|
-
is_shared?: string | undefined;
|
|
271
|
-
marked_stale_at?: string | null | undefined;
|
|
272
|
-
identifier?: string | null | undefined;
|
|
273
|
-
title?: string | null | undefined;
|
|
274
|
-
groups?: string | undefined;
|
|
275
|
-
permissions?: Record<string, boolean> | undefined;
|
|
276
|
-
user_id?: number | undefined;
|
|
277
|
-
implementation_id?: string | undefined;
|
|
278
|
-
is_expired?: string | undefined;
|
|
279
|
-
expired_at?: string | null | undefined;
|
|
280
|
-
app_key?: string | undefined;
|
|
281
|
-
app_version?: string | undefined;
|
|
282
|
-
}>;
|
|
93
|
+
}, z.core.$strip>;
|
|
283
94
|
export type AuthenticationItem = z.infer<typeof AuthenticationItemSchema>;
|
|
284
95
|
/**
|
|
285
96
|
* Public API schema for getAuthentication operation
|
|
@@ -288,11 +99,7 @@ export type AuthenticationItem = z.infer<typeof AuthenticationItemSchema>;
|
|
|
288
99
|
*/
|
|
289
100
|
export declare const GetAuthenticationOptionsSchema: z.ZodObject<{
|
|
290
101
|
authenticationId: z.ZodNumber;
|
|
291
|
-
},
|
|
292
|
-
authenticationId: number;
|
|
293
|
-
}, {
|
|
294
|
-
authenticationId: number;
|
|
295
|
-
}>;
|
|
102
|
+
}, z.core.$strip>;
|
|
296
103
|
export type GetAuthenticationOptions = z.infer<typeof GetAuthenticationOptionsSchema>;
|
|
297
104
|
/**
|
|
298
105
|
* Handler request schema for getAuthentication operation
|
|
@@ -300,29 +107,26 @@ export type GetAuthenticationOptions = z.infer<typeof GetAuthenticationOptionsSc
|
|
|
300
107
|
* Accepts authenticationId as either string (from searchParams) or number,
|
|
301
108
|
* and normalizes to number for internal use.
|
|
302
109
|
*/
|
|
303
|
-
export declare const GetAuthenticationHandlerRequestSchema: z.
|
|
304
|
-
authenticationId: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
305
|
-
},
|
|
306
|
-
authenticationId: string | number;
|
|
307
|
-
}, {
|
|
308
|
-
authenticationId: string | number;
|
|
309
|
-
}>, {
|
|
110
|
+
export declare const GetAuthenticationHandlerRequestSchema: z.ZodPipe<z.ZodObject<{
|
|
111
|
+
authenticationId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
112
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
310
113
|
authenticationId: number;
|
|
311
114
|
}, {
|
|
312
115
|
authenticationId: string | number;
|
|
313
|
-
}
|
|
116
|
+
}>>;
|
|
314
117
|
export type GetAuthenticationHandlerRequest = z.infer<typeof GetAuthenticationHandlerRequestSchema>;
|
|
315
118
|
/**
|
|
316
119
|
* Response schema for getAuthentication (single item)
|
|
317
120
|
*/
|
|
318
121
|
export declare const GetAuthenticationResponseSchema: z.ZodObject<{
|
|
319
|
-
data: z.ZodLazy<z.ZodObject<
|
|
320
|
-
|
|
122
|
+
data: z.ZodLazy<z.ZodObject<{
|
|
123
|
+
url: z.ZodOptional<z.ZodString>;
|
|
124
|
+
members: z.ZodOptional<z.ZodString>;
|
|
125
|
+
account_id: z.ZodNumber;
|
|
126
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
321
127
|
date: z.ZodString;
|
|
128
|
+
id: z.ZodNumber;
|
|
322
129
|
lastchanged: z.ZodOptional<z.ZodString>;
|
|
323
|
-
account_id: z.ZodNumber;
|
|
324
|
-
customuser_id: z.ZodOptional<z.ZodNumber>;
|
|
325
|
-
selected_api: z.ZodString;
|
|
326
130
|
destination_selected_api: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
131
|
is_invite_only: z.ZodBoolean;
|
|
328
132
|
is_private: z.ZodBoolean;
|
|
@@ -330,125 +134,17 @@ export declare const GetAuthenticationResponseSchema: z.ZodObject<{
|
|
|
330
134
|
is_stale: z.ZodOptional<z.ZodString>;
|
|
331
135
|
is_shared: z.ZodOptional<z.ZodString>;
|
|
332
136
|
marked_stale_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
333
|
-
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
137
|
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
138
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
336
|
-
url: z.ZodOptional<z.ZodString>;
|
|
337
139
|
groups: z.ZodOptional<z.ZodString>;
|
|
338
|
-
members: z.ZodOptional<z.ZodString>;
|
|
339
140
|
permissions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
340
|
-
}, "customuser_id" | "selected_api"> & {
|
|
341
141
|
implementation_id: z.ZodOptional<z.ZodString>;
|
|
342
142
|
user_id: z.ZodOptional<z.ZodNumber>;
|
|
343
143
|
is_expired: z.ZodOptional<z.ZodString>;
|
|
344
144
|
expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
345
145
|
app_key: z.ZodOptional<z.ZodString>;
|
|
346
146
|
app_version: z.ZodOptional<z.ZodString>;
|
|
347
|
-
},
|
|
348
|
-
|
|
349
|
-
id: number;
|
|
350
|
-
date: string;
|
|
351
|
-
is_invite_only: boolean;
|
|
352
|
-
is_private: boolean;
|
|
353
|
-
shared_with_all: boolean;
|
|
354
|
-
url?: string | undefined;
|
|
355
|
-
members?: string | undefined;
|
|
356
|
-
label?: string | null | undefined;
|
|
357
|
-
lastchanged?: string | undefined;
|
|
358
|
-
destination_selected_api?: string | null | undefined;
|
|
359
|
-
is_stale?: string | undefined;
|
|
360
|
-
is_shared?: string | undefined;
|
|
361
|
-
marked_stale_at?: string | null | undefined;
|
|
362
|
-
identifier?: string | null | undefined;
|
|
363
|
-
title?: string | null | undefined;
|
|
364
|
-
groups?: string | undefined;
|
|
365
|
-
permissions?: Record<string, boolean> | undefined;
|
|
366
|
-
user_id?: number | undefined;
|
|
367
|
-
implementation_id?: string | undefined;
|
|
368
|
-
is_expired?: string | undefined;
|
|
369
|
-
expired_at?: string | null | undefined;
|
|
370
|
-
app_key?: string | undefined;
|
|
371
|
-
app_version?: string | undefined;
|
|
372
|
-
}, {
|
|
373
|
-
account_id: number;
|
|
374
|
-
id: number;
|
|
375
|
-
date: string;
|
|
376
|
-
is_invite_only: boolean;
|
|
377
|
-
is_private: boolean;
|
|
378
|
-
shared_with_all: boolean;
|
|
379
|
-
url?: string | undefined;
|
|
380
|
-
members?: string | undefined;
|
|
381
|
-
label?: string | null | undefined;
|
|
382
|
-
lastchanged?: string | undefined;
|
|
383
|
-
destination_selected_api?: string | null | undefined;
|
|
384
|
-
is_stale?: string | undefined;
|
|
385
|
-
is_shared?: string | undefined;
|
|
386
|
-
marked_stale_at?: string | null | undefined;
|
|
387
|
-
identifier?: string | null | undefined;
|
|
388
|
-
title?: string | null | undefined;
|
|
389
|
-
groups?: string | undefined;
|
|
390
|
-
permissions?: Record<string, boolean> | undefined;
|
|
391
|
-
user_id?: number | undefined;
|
|
392
|
-
implementation_id?: string | undefined;
|
|
393
|
-
is_expired?: string | undefined;
|
|
394
|
-
expired_at?: string | null | undefined;
|
|
395
|
-
app_key?: string | undefined;
|
|
396
|
-
app_version?: string | undefined;
|
|
397
|
-
}>>;
|
|
398
|
-
}, "strip", z.ZodTypeAny, {
|
|
399
|
-
data: {
|
|
400
|
-
account_id: number;
|
|
401
|
-
id: number;
|
|
402
|
-
date: string;
|
|
403
|
-
is_invite_only: boolean;
|
|
404
|
-
is_private: boolean;
|
|
405
|
-
shared_with_all: boolean;
|
|
406
|
-
url?: string | undefined;
|
|
407
|
-
members?: string | undefined;
|
|
408
|
-
label?: string | null | undefined;
|
|
409
|
-
lastchanged?: string | undefined;
|
|
410
|
-
destination_selected_api?: string | null | undefined;
|
|
411
|
-
is_stale?: string | undefined;
|
|
412
|
-
is_shared?: string | undefined;
|
|
413
|
-
marked_stale_at?: string | null | undefined;
|
|
414
|
-
identifier?: string | null | undefined;
|
|
415
|
-
title?: string | null | undefined;
|
|
416
|
-
groups?: string | undefined;
|
|
417
|
-
permissions?: Record<string, boolean> | undefined;
|
|
418
|
-
user_id?: number | undefined;
|
|
419
|
-
implementation_id?: string | undefined;
|
|
420
|
-
is_expired?: string | undefined;
|
|
421
|
-
expired_at?: string | null | undefined;
|
|
422
|
-
app_key?: string | undefined;
|
|
423
|
-
app_version?: string | undefined;
|
|
424
|
-
};
|
|
425
|
-
}, {
|
|
426
|
-
data: {
|
|
427
|
-
account_id: number;
|
|
428
|
-
id: number;
|
|
429
|
-
date: string;
|
|
430
|
-
is_invite_only: boolean;
|
|
431
|
-
is_private: boolean;
|
|
432
|
-
shared_with_all: boolean;
|
|
433
|
-
url?: string | undefined;
|
|
434
|
-
members?: string | undefined;
|
|
435
|
-
label?: string | null | undefined;
|
|
436
|
-
lastchanged?: string | undefined;
|
|
437
|
-
destination_selected_api?: string | null | undefined;
|
|
438
|
-
is_stale?: string | undefined;
|
|
439
|
-
is_shared?: string | undefined;
|
|
440
|
-
marked_stale_at?: string | null | undefined;
|
|
441
|
-
identifier?: string | null | undefined;
|
|
442
|
-
title?: string | null | undefined;
|
|
443
|
-
groups?: string | undefined;
|
|
444
|
-
permissions?: Record<string, boolean> | undefined;
|
|
445
|
-
user_id?: number | undefined;
|
|
446
|
-
implementation_id?: string | undefined;
|
|
447
|
-
is_expired?: string | undefined;
|
|
448
|
-
expired_at?: string | null | undefined;
|
|
449
|
-
app_key?: string | undefined;
|
|
450
|
-
app_version?: string | undefined;
|
|
451
|
-
};
|
|
452
|
-
}>;
|
|
147
|
+
}, z.core.$strip>>;
|
|
148
|
+
}, z.core.$strip>;
|
|
453
149
|
export type GetAuthenticationResponse = z.infer<typeof GetAuthenticationResponseSchema>;
|
|
454
150
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/temporary-internal-core/schemas/authentications/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/temporary-internal-core/schemas/authentications/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;iBAqB/B,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKxC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;iBAenC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,8BAA8B;;iBAQO,CAAC;AAEnD,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,qCAAqC;;;;;;GAW7C,CAAC;AAEN,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,qCAAqC,CAC7C,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE1C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAC"}
|
|
@@ -22,7 +22,7 @@ export const AuthenticationSchema = z.object({
|
|
|
22
22
|
url: z.string().optional(),
|
|
23
23
|
groups: z.string().optional(),
|
|
24
24
|
members: z.string().optional(),
|
|
25
|
-
permissions: z.record(z.boolean()).optional(),
|
|
25
|
+
permissions: z.record(z.string(), z.boolean()).optional(),
|
|
26
26
|
});
|
|
27
27
|
export const AuthenticationsResponseSchema = z.object({
|
|
28
28
|
count: z.number(),
|