@zapier/zapier-sdk-core 0.7.1 → 0.7.2
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 +6 -0
- package/dist/v0/schemas/actions.d.cts +28 -28
- package/dist/v0/schemas/actions.d.ts +28 -28
- package/dist/v0/schemas/apps.d.cts +30 -30
- package/dist/v0/schemas/apps.d.ts +30 -30
- package/openapi.yaml +9 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -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
|
-
|
|
10
|
+
run: "run";
|
|
10
11
|
search: "search";
|
|
11
|
-
search_or_write: "search_or_write";
|
|
12
12
|
search_and_write: "search_and_write";
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
26
|
+
run: "run";
|
|
26
27
|
search: "search";
|
|
27
|
-
search_or_write: "search_or_write";
|
|
28
28
|
search_and_write: "search_and_write";
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
65
|
+
run: "run";
|
|
65
66
|
search: "search";
|
|
66
|
-
search_or_write: "search_or_write";
|
|
67
67
|
search_and_write: "search_and_write";
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
88
|
+
run: "run";
|
|
88
89
|
search: "search";
|
|
89
|
-
search_or_write: "search_or_write";
|
|
90
90
|
search_and_write: "search_and_write";
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
127
|
+
run: "run";
|
|
127
128
|
search: "search";
|
|
128
|
-
search_or_write: "search_or_write";
|
|
129
129
|
search_and_write: "search_and_write";
|
|
130
|
-
|
|
131
|
-
|
|
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
|
-
|
|
159
|
+
run: "run";
|
|
159
160
|
search: "search";
|
|
160
|
-
search_or_write: "search_or_write";
|
|
161
161
|
search_and_write: "search_and_write";
|
|
162
|
-
|
|
163
|
-
|
|
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
|
-
|
|
182
|
+
run: "run";
|
|
182
183
|
search: "search";
|
|
183
|
-
search_or_write: "search_or_write";
|
|
184
184
|
search_and_write: "search_and_write";
|
|
185
|
-
|
|
186
|
-
|
|
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
|
-
|
|
10
|
+
run: "run";
|
|
10
11
|
search: "search";
|
|
11
|
-
search_or_write: "search_or_write";
|
|
12
12
|
search_and_write: "search_and_write";
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
26
|
+
run: "run";
|
|
26
27
|
search: "search";
|
|
27
|
-
search_or_write: "search_or_write";
|
|
28
28
|
search_and_write: "search_and_write";
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
|
|
65
|
+
run: "run";
|
|
65
66
|
search: "search";
|
|
66
|
-
search_or_write: "search_or_write";
|
|
67
67
|
search_and_write: "search_and_write";
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
88
|
+
run: "run";
|
|
88
89
|
search: "search";
|
|
89
|
-
search_or_write: "search_or_write";
|
|
90
90
|
search_and_write: "search_and_write";
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
127
|
+
run: "run";
|
|
127
128
|
search: "search";
|
|
128
|
-
search_or_write: "search_or_write";
|
|
129
129
|
search_and_write: "search_and_write";
|
|
130
|
-
|
|
131
|
-
|
|
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
|
-
|
|
159
|
+
run: "run";
|
|
159
160
|
search: "search";
|
|
160
|
-
search_or_write: "search_or_write";
|
|
161
161
|
search_and_write: "search_and_write";
|
|
162
|
-
|
|
163
|
-
|
|
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
|
-
|
|
182
|
+
run: "run";
|
|
182
183
|
search: "search";
|
|
183
|
-
search_or_write: "search_or_write";
|
|
184
184
|
search_and_write: "search_and_write";
|
|
185
|
-
|
|
186
|
-
|
|
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>;
|
package/openapi.yaml
CHANGED
|
@@ -939,8 +939,9 @@ paths:
|
|
|
939
939
|
operationId: v0_create_client_credentials
|
|
940
940
|
security:
|
|
941
941
|
- userJwt: []
|
|
942
|
-
x-
|
|
943
|
-
|
|
942
|
+
x-fastify-config:
|
|
943
|
+
requiredScopes:
|
|
944
|
+
- credentials
|
|
944
945
|
requestBody:
|
|
945
946
|
content:
|
|
946
947
|
application/json:
|
|
@@ -990,8 +991,9 @@ paths:
|
|
|
990
991
|
operationId: v0_list_client_credentials
|
|
991
992
|
security:
|
|
992
993
|
- userJwt: []
|
|
993
|
-
x-
|
|
994
|
-
|
|
994
|
+
x-fastify-config:
|
|
995
|
+
requiredScopes:
|
|
996
|
+
- credentials
|
|
995
997
|
parameters:
|
|
996
998
|
- schema:
|
|
997
999
|
type: integer
|
|
@@ -1050,8 +1052,9 @@ paths:
|
|
|
1050
1052
|
operationId: v0_delete_client_credentials
|
|
1051
1053
|
security:
|
|
1052
1054
|
- userJwt: []
|
|
1053
|
-
x-
|
|
1054
|
-
|
|
1055
|
+
x-fastify-config:
|
|
1056
|
+
requiredScopes:
|
|
1057
|
+
- credentials
|
|
1055
1058
|
parameters:
|
|
1056
1059
|
- schema:
|
|
1057
1060
|
type: string
|