@appconda/nextjs 1.0.326 → 1.0.328
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/dist/enums/subscriptions/PricingModel.d.ts +1 -1
- package/dist/enums/subscriptions/SubscriptionBillingPeriod.d.ts +1 -1
- package/dist/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +1 -1
- package/dist/enums/subscriptions/SubscriptionPriceType.d.ts +1 -1
- package/dist/lib/errors.d.ts +1 -2
- package/dist/modules/account/schema.d.ts +1 -11
- package/dist/modules/agent/schema.d.ts +5 -33
- package/dist/modules/builder/schema.d.ts +15 -149
- package/dist/modules/datasource/schema.d.ts +12 -96
- package/dist/modules/emploid/schema.d.ts +20 -111
- package/dist/modules/emploid/types.d.ts +1 -0
- package/dist/modules/emploid/types.js +1 -1
- package/dist/modules/google/schema.d.ts +3 -21
- package/dist/modules/notion/schema.d.ts +3 -21
- package/dist/modules/scheduled-job/schema.d.ts +12 -64
- package/dist/modules/task/schema.d.ts +92 -632
- package/dist/modules/tenant/actions.d.ts +3 -19
- package/dist/modules/waitlist/action.d.ts +7 -29
- package/dist/modules/waitlist/schema.d.ts +5 -27
- package/package.json +2 -2
- package/src/modules/emploid/types.ts +1 -0
|
@@ -6,5 +6,5 @@ export declare enum SubscriptionBillingPeriod {
|
|
|
6
6
|
MONTHLY = 3,
|
|
7
7
|
YEARLY = 4
|
|
8
8
|
}
|
|
9
|
-
export declare const ZSubscriptionBillingPeriod: z.
|
|
9
|
+
export declare const ZSubscriptionBillingPeriod: z.ZodEnum<typeof SubscriptionBillingPeriod>;
|
|
10
10
|
export type TSubscriptionBillingPeriod = z.infer<typeof ZSubscriptionBillingPeriod>;
|
|
@@ -6,5 +6,5 @@ export declare enum SubscriptionFeatureLimitType {
|
|
|
6
6
|
MAX = 3,
|
|
7
7
|
UNLIMITED = 4
|
|
8
8
|
}
|
|
9
|
-
export declare const ZSubscriptionFeatureLimitType: z.
|
|
9
|
+
export declare const ZSubscriptionFeatureLimitType: z.ZodEnum<typeof SubscriptionFeatureLimitType>;
|
|
10
10
|
export type TSubscriptionFeatureLimitType = z.infer<typeof ZSubscriptionFeatureLimitType>;
|
|
@@ -3,5 +3,5 @@ export declare enum SubscriptionPriceType {
|
|
|
3
3
|
ONE_TIME = 0,
|
|
4
4
|
RECURRING = 1
|
|
5
5
|
}
|
|
6
|
-
export declare const ZSubscriptionPriceType: z.
|
|
6
|
+
export declare const ZSubscriptionPriceType: z.ZodEnum<typeof SubscriptionPriceType>;
|
|
7
7
|
export type TSubscriptionPriceType = z.infer<typeof ZSubscriptionPriceType>;
|
package/dist/lib/errors.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
declare class ResourceNotFoundError extends Error {
|
|
3
2
|
statusCode: number;
|
|
4
3
|
resourceId: string | null;
|
|
@@ -57,7 +56,7 @@ interface ForbiddenError {
|
|
|
57
56
|
responseMessage?: string;
|
|
58
57
|
details?: Record<string, string | string[] | number | number[] | boolean | boolean[]>;
|
|
59
58
|
}
|
|
60
|
-
export declare const ZErrorHandler:
|
|
59
|
+
export declare const ZErrorHandler: any;
|
|
61
60
|
export { ResourceNotFoundError, InvalidInputError, ValidationError, DatabaseError, UniqueConstraintError, UnknownError, ForeignKeyConstraintError, OperationNotAllowedError, AuthenticationError, AuthorizationError, };
|
|
62
61
|
export type { NetworkError, ForbiddenError };
|
|
63
62
|
export interface ApiErrorResponse {
|
|
@@ -4,14 +4,4 @@ export declare const CreateUserSchema: z.ZodObject<{
|
|
|
4
4
|
email: z.ZodString;
|
|
5
5
|
password: z.ZodString;
|
|
6
6
|
name: z.ZodOptional<z.ZodString>;
|
|
7
|
-
},
|
|
8
|
-
password: string;
|
|
9
|
-
email: string;
|
|
10
|
-
name?: string | undefined;
|
|
11
|
-
userId?: string | undefined;
|
|
12
|
-
}, {
|
|
13
|
-
password: string;
|
|
14
|
-
email: string;
|
|
15
|
-
name?: string | undefined;
|
|
16
|
-
userId?: string | undefined;
|
|
17
|
-
}>;
|
|
7
|
+
}, z.core.$strip>;
|
|
@@ -3,46 +3,18 @@ export declare const CreateAgentSchema: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodOptional<z.ZodString>;
|
|
4
4
|
name: z.ZodString;
|
|
5
5
|
modelId: z.ZodString;
|
|
6
|
-
},
|
|
7
|
-
name: string;
|
|
8
|
-
modelId: string;
|
|
9
|
-
id?: string | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
name: string;
|
|
12
|
-
modelId: string;
|
|
13
|
-
id?: string | undefined;
|
|
14
|
-
}>;
|
|
6
|
+
}, z.core.$strip>;
|
|
15
7
|
export declare const GetAgentSchema: z.ZodObject<{
|
|
16
8
|
id: z.ZodString;
|
|
17
|
-
},
|
|
18
|
-
id: string;
|
|
19
|
-
}, {
|
|
20
|
-
id: string;
|
|
21
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
22
10
|
export declare const UpdateAgentSchema: z.ZodObject<{
|
|
23
11
|
id: z.ZodString;
|
|
24
12
|
name: z.ZodString;
|
|
25
13
|
modelId: z.ZodString;
|
|
26
|
-
},
|
|
27
|
-
name: string;
|
|
28
|
-
id: string;
|
|
29
|
-
modelId: string;
|
|
30
|
-
}, {
|
|
31
|
-
name: string;
|
|
32
|
-
id: string;
|
|
33
|
-
modelId: string;
|
|
34
|
-
}>;
|
|
14
|
+
}, z.core.$strip>;
|
|
35
15
|
export declare const DeleteAgentSchema: z.ZodObject<{
|
|
36
16
|
id: z.ZodString;
|
|
37
|
-
},
|
|
38
|
-
id: string;
|
|
39
|
-
}, {
|
|
40
|
-
id: string;
|
|
41
|
-
}>;
|
|
17
|
+
}, z.core.$strip>;
|
|
42
18
|
export declare const ListModelsSchema: z.ZodObject<{
|
|
43
19
|
modelProviderId: z.ZodString;
|
|
44
|
-
},
|
|
45
|
-
modelProviderId: string;
|
|
46
|
-
}, {
|
|
47
|
-
modelProviderId: string;
|
|
48
|
-
}>;
|
|
20
|
+
}, z.core.$strip>;
|
|
@@ -5,46 +5,18 @@ export declare const CreateAppSchema: z.ZodObject<{
|
|
|
5
5
|
ownerId: z.ZodString;
|
|
6
6
|
title: z.ZodString;
|
|
7
7
|
description: z.ZodOptional<z.ZodString>;
|
|
8
|
-
},
|
|
9
|
-
tenantId: string;
|
|
10
|
-
ownerId: string;
|
|
11
|
-
title: string;
|
|
12
|
-
description?: string | undefined;
|
|
13
|
-
id?: string | undefined;
|
|
14
|
-
}, {
|
|
15
|
-
tenantId: string;
|
|
16
|
-
ownerId: string;
|
|
17
|
-
title: string;
|
|
18
|
-
description?: string | undefined;
|
|
19
|
-
id?: string | undefined;
|
|
20
|
-
}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
21
9
|
export declare const UpdateAppSchema: z.ZodObject<{
|
|
22
10
|
id: z.ZodString;
|
|
23
11
|
schema: z.ZodAny;
|
|
24
12
|
config: z.ZodAny;
|
|
25
|
-
},
|
|
26
|
-
id: string;
|
|
27
|
-
schema?: any;
|
|
28
|
-
config?: any;
|
|
29
|
-
}, {
|
|
30
|
-
id: string;
|
|
31
|
-
schema?: any;
|
|
32
|
-
config?: any;
|
|
33
|
-
}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
34
14
|
export declare const GetAppSchema: z.ZodObject<{
|
|
35
15
|
id: z.ZodString;
|
|
36
|
-
},
|
|
37
|
-
id: string;
|
|
38
|
-
}, {
|
|
39
|
-
id: string;
|
|
40
|
-
}>;
|
|
16
|
+
}, z.core.$strip>;
|
|
41
17
|
export declare const ListAppsSchema: z.ZodObject<{
|
|
42
18
|
tenantId: z.ZodString;
|
|
43
|
-
},
|
|
44
|
-
tenantId: string;
|
|
45
|
-
}, {
|
|
46
|
-
tenantId: string;
|
|
47
|
-
}>;
|
|
19
|
+
}, z.core.$strip>;
|
|
48
20
|
export declare const CreatePageSchema: z.ZodObject<{
|
|
49
21
|
id: z.ZodOptional<z.ZodString>;
|
|
50
22
|
tenantId: z.ZodString;
|
|
@@ -55,27 +27,7 @@ export declare const CreatePageSchema: z.ZodObject<{
|
|
|
55
27
|
description: z.ZodOptional<z.ZodString>;
|
|
56
28
|
parentId: z.ZodOptional<z.ZodString>;
|
|
57
29
|
isFolder: z.ZodDefault<z.ZodBoolean>;
|
|
58
|
-
},
|
|
59
|
-
appId: string;
|
|
60
|
-
tenantId: string;
|
|
61
|
-
slug: string;
|
|
62
|
-
title: string;
|
|
63
|
-
moduleId: string;
|
|
64
|
-
isFolder: boolean;
|
|
65
|
-
description?: string | undefined;
|
|
66
|
-
id?: string | undefined;
|
|
67
|
-
parentId?: string | undefined;
|
|
68
|
-
}, {
|
|
69
|
-
appId: string;
|
|
70
|
-
tenantId: string;
|
|
71
|
-
slug: string;
|
|
72
|
-
title: string;
|
|
73
|
-
moduleId: string;
|
|
74
|
-
description?: string | undefined;
|
|
75
|
-
id?: string | undefined;
|
|
76
|
-
parentId?: string | undefined;
|
|
77
|
-
isFolder?: boolean | undefined;
|
|
78
|
-
}>;
|
|
30
|
+
}, z.core.$strip>;
|
|
79
31
|
export declare const CreateWorkflowSchema: z.ZodObject<{
|
|
80
32
|
id: z.ZodOptional<z.ZodString>;
|
|
81
33
|
tenantId: z.ZodString;
|
|
@@ -86,129 +38,43 @@ export declare const CreateWorkflowSchema: z.ZodObject<{
|
|
|
86
38
|
description: z.ZodOptional<z.ZodString>;
|
|
87
39
|
parentId: z.ZodOptional<z.ZodString>;
|
|
88
40
|
isFolder: z.ZodDefault<z.ZodBoolean>;
|
|
89
|
-
},
|
|
90
|
-
appId: string;
|
|
91
|
-
tenantId: string;
|
|
92
|
-
slug: string;
|
|
93
|
-
title: string;
|
|
94
|
-
moduleId: string;
|
|
95
|
-
isFolder: boolean;
|
|
96
|
-
description?: string | undefined;
|
|
97
|
-
id?: string | undefined;
|
|
98
|
-
parentId?: string | undefined;
|
|
99
|
-
}, {
|
|
100
|
-
appId: string;
|
|
101
|
-
tenantId: string;
|
|
102
|
-
slug: string;
|
|
103
|
-
title: string;
|
|
104
|
-
moduleId: string;
|
|
105
|
-
description?: string | undefined;
|
|
106
|
-
id?: string | undefined;
|
|
107
|
-
parentId?: string | undefined;
|
|
108
|
-
isFolder?: boolean | undefined;
|
|
109
|
-
}>;
|
|
41
|
+
}, z.core.$strip>;
|
|
110
42
|
export declare const CreatePageSchemaSchema: z.ZodObject<{
|
|
111
43
|
id: z.ZodOptional<z.ZodString>;
|
|
112
44
|
tenantId: z.ZodString;
|
|
113
45
|
appId: z.ZodString;
|
|
114
46
|
pageId: z.ZodString;
|
|
115
47
|
schema: z.ZodString;
|
|
116
|
-
},
|
|
117
|
-
appId: string;
|
|
118
|
-
schema: string;
|
|
119
|
-
tenantId: string;
|
|
120
|
-
pageId: string;
|
|
121
|
-
id?: string | undefined;
|
|
122
|
-
}, {
|
|
123
|
-
appId: string;
|
|
124
|
-
schema: string;
|
|
125
|
-
tenantId: string;
|
|
126
|
-
pageId: string;
|
|
127
|
-
id?: string | undefined;
|
|
128
|
-
}>;
|
|
48
|
+
}, z.core.$strip>;
|
|
129
49
|
export declare const ListPagesSchema: z.ZodObject<{
|
|
130
50
|
tenantId: z.ZodString;
|
|
131
51
|
appId: z.ZodString;
|
|
132
52
|
moduleId: z.ZodString;
|
|
133
|
-
},
|
|
134
|
-
appId: string;
|
|
135
|
-
tenantId: string;
|
|
136
|
-
moduleId: string;
|
|
137
|
-
}, {
|
|
138
|
-
appId: string;
|
|
139
|
-
tenantId: string;
|
|
140
|
-
moduleId: string;
|
|
141
|
-
}>;
|
|
53
|
+
}, z.core.$strip>;
|
|
142
54
|
export declare const UpdatePageSchemaSchema: z.ZodObject<{
|
|
143
55
|
id: z.ZodString;
|
|
144
56
|
schema: z.ZodString;
|
|
145
|
-
},
|
|
146
|
-
id: string;
|
|
147
|
-
schema: string;
|
|
148
|
-
}, {
|
|
149
|
-
id: string;
|
|
150
|
-
schema: string;
|
|
151
|
-
}>;
|
|
57
|
+
}, z.core.$strip>;
|
|
152
58
|
export declare const GetPageSchemaSchema: z.ZodObject<{
|
|
153
59
|
id: z.ZodString;
|
|
154
|
-
},
|
|
155
|
-
id: string;
|
|
156
|
-
}, {
|
|
157
|
-
id: string;
|
|
158
|
-
}>;
|
|
60
|
+
}, z.core.$strip>;
|
|
159
61
|
export declare const CreateModuleSchema: z.ZodObject<{
|
|
160
62
|
id: z.ZodOptional<z.ZodString>;
|
|
161
63
|
tenantId: z.ZodString;
|
|
162
64
|
appId: z.ZodString;
|
|
163
65
|
name: z.ZodString;
|
|
164
66
|
description: z.ZodOptional<z.ZodString>;
|
|
165
|
-
},
|
|
166
|
-
name: string;
|
|
167
|
-
appId: string;
|
|
168
|
-
tenantId: string;
|
|
169
|
-
description?: string | undefined;
|
|
170
|
-
id?: string | undefined;
|
|
171
|
-
}, {
|
|
172
|
-
name: string;
|
|
173
|
-
appId: string;
|
|
174
|
-
tenantId: string;
|
|
175
|
-
description?: string | undefined;
|
|
176
|
-
id?: string | undefined;
|
|
177
|
-
}>;
|
|
67
|
+
}, z.core.$strip>;
|
|
178
68
|
export declare const ListModulesSchema: z.ZodObject<{
|
|
179
69
|
tenantId: z.ZodString;
|
|
180
70
|
appId: z.ZodString;
|
|
181
|
-
},
|
|
182
|
-
appId: string;
|
|
183
|
-
tenantId: string;
|
|
184
|
-
}, {
|
|
185
|
-
appId: string;
|
|
186
|
-
tenantId: string;
|
|
187
|
-
}>;
|
|
71
|
+
}, z.core.$strip>;
|
|
188
72
|
export declare const UpdateEditorConfigSchema: z.ZodObject<{
|
|
189
73
|
extensions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
190
74
|
id: z.ZodString;
|
|
191
|
-
},
|
|
192
|
-
|
|
193
|
-
}, {
|
|
194
|
-
id: string;
|
|
195
|
-
}>, "many">>;
|
|
196
|
-
}, "strip", z.ZodTypeAny, {
|
|
197
|
-
extensions?: {
|
|
198
|
-
id: string;
|
|
199
|
-
}[] | undefined;
|
|
200
|
-
}, {
|
|
201
|
-
extensions?: {
|
|
202
|
-
id: string;
|
|
203
|
-
}[] | undefined;
|
|
204
|
-
}>;
|
|
75
|
+
}, z.core.$strip>>>;
|
|
76
|
+
}, z.core.$strip>;
|
|
205
77
|
export declare const GetPageBySlugSchema: z.ZodObject<{
|
|
206
78
|
appId: z.ZodString;
|
|
207
79
|
slug: z.ZodString;
|
|
208
|
-
},
|
|
209
|
-
appId: string;
|
|
210
|
-
slug: string;
|
|
211
|
-
}, {
|
|
212
|
-
appId: string;
|
|
213
|
-
slug: string;
|
|
214
|
-
}>;
|
|
80
|
+
}, z.core.$strip>;
|
|
@@ -5,93 +5,37 @@ export declare const CreateDataSourceSchema: z.ZodObject<{
|
|
|
5
5
|
description: z.ZodOptional<z.ZodString>;
|
|
6
6
|
type: z.ZodString;
|
|
7
7
|
config: z.ZodAny;
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
name: string;
|
|
11
|
-
description?: string | undefined;
|
|
12
|
-
id?: string | undefined;
|
|
13
|
-
config?: any;
|
|
14
|
-
}, {
|
|
15
|
-
type: string;
|
|
16
|
-
name: string;
|
|
17
|
-
description?: string | undefined;
|
|
18
|
-
id?: string | undefined;
|
|
19
|
-
config?: any;
|
|
20
|
-
}>;
|
|
21
|
-
export declare const ListDataSourcesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
export declare const ListDataSourcesSchema: z.ZodObject<{}, z.core.$strip>;
|
|
22
10
|
export declare const GetDataSourceSchema: z.ZodObject<{
|
|
23
11
|
id: z.ZodString;
|
|
24
|
-
},
|
|
25
|
-
id: string;
|
|
26
|
-
}, {
|
|
27
|
-
id: string;
|
|
28
|
-
}>;
|
|
12
|
+
}, z.core.$strip>;
|
|
29
13
|
export declare const CreateDatabaseSchema: z.ZodObject<{
|
|
30
14
|
id: z.ZodOptional<z.ZodString>;
|
|
31
15
|
originalId: z.ZodString;
|
|
32
16
|
datasourceId: z.ZodString;
|
|
33
17
|
name: z.ZodString;
|
|
34
|
-
},
|
|
35
|
-
name: string;
|
|
36
|
-
originalId: string;
|
|
37
|
-
datasourceId: string;
|
|
38
|
-
id?: string | undefined;
|
|
39
|
-
}, {
|
|
40
|
-
name: string;
|
|
41
|
-
originalId: string;
|
|
42
|
-
datasourceId: string;
|
|
43
|
-
id?: string | undefined;
|
|
44
|
-
}>;
|
|
18
|
+
}, z.core.$strip>;
|
|
45
19
|
export declare const GetDatabaseSchema: z.ZodObject<{
|
|
46
20
|
id: z.ZodString;
|
|
47
|
-
},
|
|
48
|
-
id: string;
|
|
49
|
-
}, {
|
|
50
|
-
id: string;
|
|
51
|
-
}>;
|
|
21
|
+
}, z.core.$strip>;
|
|
52
22
|
export declare const ListDatabasesSchema: z.ZodObject<{
|
|
53
23
|
datasourceId: z.ZodOptional<z.ZodString>;
|
|
54
|
-
},
|
|
55
|
-
datasourceId?: string | undefined;
|
|
56
|
-
}, {
|
|
57
|
-
datasourceId?: string | undefined;
|
|
58
|
-
}>;
|
|
24
|
+
}, z.core.$strip>;
|
|
59
25
|
export declare const CreateTableSchema: z.ZodObject<{
|
|
60
26
|
id: z.ZodOptional<z.ZodString>;
|
|
61
27
|
originalId: z.ZodString;
|
|
62
28
|
datasourceId: z.ZodString;
|
|
63
29
|
databaseId: z.ZodString;
|
|
64
30
|
name: z.ZodString;
|
|
65
|
-
},
|
|
66
|
-
name: string;
|
|
67
|
-
databaseId: string;
|
|
68
|
-
originalId: string;
|
|
69
|
-
datasourceId: string;
|
|
70
|
-
id?: string | undefined;
|
|
71
|
-
}, {
|
|
72
|
-
name: string;
|
|
73
|
-
databaseId: string;
|
|
74
|
-
originalId: string;
|
|
75
|
-
datasourceId: string;
|
|
76
|
-
id?: string | undefined;
|
|
77
|
-
}>;
|
|
31
|
+
}, z.core.$strip>;
|
|
78
32
|
export declare const GetTableSchema: z.ZodObject<{
|
|
79
33
|
id: z.ZodString;
|
|
80
|
-
},
|
|
81
|
-
id: string;
|
|
82
|
-
}, {
|
|
83
|
-
id: string;
|
|
84
|
-
}>;
|
|
34
|
+
}, z.core.$strip>;
|
|
85
35
|
export declare const ListTablesSchema: z.ZodObject<{
|
|
86
36
|
datasourceId: z.ZodOptional<z.ZodString>;
|
|
87
37
|
databaseId: z.ZodOptional<z.ZodString>;
|
|
88
|
-
},
|
|
89
|
-
databaseId?: string | undefined;
|
|
90
|
-
datasourceId?: string | undefined;
|
|
91
|
-
}, {
|
|
92
|
-
databaseId?: string | undefined;
|
|
93
|
-
datasourceId?: string | undefined;
|
|
94
|
-
}>;
|
|
38
|
+
}, z.core.$strip>;
|
|
95
39
|
export declare const CreateColumnSchema: z.ZodObject<{
|
|
96
40
|
id: z.ZodOptional<z.ZodString>;
|
|
97
41
|
originalId: z.ZodString;
|
|
@@ -100,40 +44,12 @@ export declare const CreateColumnSchema: z.ZodObject<{
|
|
|
100
44
|
tableId: z.ZodString;
|
|
101
45
|
name: z.ZodString;
|
|
102
46
|
type: z.ZodString;
|
|
103
|
-
},
|
|
104
|
-
type: string;
|
|
105
|
-
name: string;
|
|
106
|
-
databaseId: string;
|
|
107
|
-
originalId: string;
|
|
108
|
-
datasourceId: string;
|
|
109
|
-
tableId: string;
|
|
110
|
-
id?: string | undefined;
|
|
111
|
-
}, {
|
|
112
|
-
type: string;
|
|
113
|
-
name: string;
|
|
114
|
-
databaseId: string;
|
|
115
|
-
originalId: string;
|
|
116
|
-
datasourceId: string;
|
|
117
|
-
tableId: string;
|
|
118
|
-
id?: string | undefined;
|
|
119
|
-
}>;
|
|
47
|
+
}, z.core.$strip>;
|
|
120
48
|
export declare const GetColumnSchema: z.ZodObject<{
|
|
121
49
|
id: z.ZodString;
|
|
122
|
-
},
|
|
123
|
-
id: string;
|
|
124
|
-
}, {
|
|
125
|
-
id: string;
|
|
126
|
-
}>;
|
|
50
|
+
}, z.core.$strip>;
|
|
127
51
|
export declare const ListColumnsSchema: z.ZodObject<{
|
|
128
52
|
datasourceId: z.ZodOptional<z.ZodString>;
|
|
129
53
|
databaseId: z.ZodOptional<z.ZodString>;
|
|
130
54
|
tableId: z.ZodOptional<z.ZodString>;
|
|
131
|
-
},
|
|
132
|
-
databaseId?: string | undefined;
|
|
133
|
-
datasourceId?: string | undefined;
|
|
134
|
-
tableId?: string | undefined;
|
|
135
|
-
}, {
|
|
136
|
-
databaseId?: string | undefined;
|
|
137
|
-
datasourceId?: string | undefined;
|
|
138
|
-
tableId?: string | undefined;
|
|
139
|
-
}>;
|
|
55
|
+
}, z.core.$strip>;
|
|
@@ -8,25 +8,7 @@ export declare const CreateEmploidSchema: z.ZodObject<{
|
|
|
8
8
|
avatar: z.ZodOptional<z.ZodString>;
|
|
9
9
|
description: z.ZodOptional<z.ZodString>;
|
|
10
10
|
version: z.ZodOptional<z.ZodString>;
|
|
11
|
-
},
|
|
12
|
-
name: string;
|
|
13
|
-
userId: string;
|
|
14
|
-
tenantId: string;
|
|
15
|
-
occupationId: string;
|
|
16
|
-
alias: string;
|
|
17
|
-
description?: string | undefined;
|
|
18
|
-
avatar?: string | undefined;
|
|
19
|
-
version?: string | undefined;
|
|
20
|
-
}, {
|
|
21
|
-
name: string;
|
|
22
|
-
userId: string;
|
|
23
|
-
tenantId: string;
|
|
24
|
-
occupationId: string;
|
|
25
|
-
alias: string;
|
|
26
|
-
description?: string | undefined;
|
|
27
|
-
avatar?: string | undefined;
|
|
28
|
-
version?: string | undefined;
|
|
29
|
-
}>;
|
|
11
|
+
}, z.core.$strip>;
|
|
30
12
|
export declare const UpdateEmploidSchema: z.ZodObject<{
|
|
31
13
|
id: z.ZodString;
|
|
32
14
|
name: z.ZodString;
|
|
@@ -34,123 +16,50 @@ export declare const UpdateEmploidSchema: z.ZodObject<{
|
|
|
34
16
|
avatar: z.ZodOptional<z.ZodString>;
|
|
35
17
|
description: z.ZodOptional<z.ZodString>;
|
|
36
18
|
version: z.ZodOptional<z.ZodString>;
|
|
37
|
-
},
|
|
38
|
-
name: string;
|
|
39
|
-
id: string;
|
|
40
|
-
alias: string;
|
|
41
|
-
description?: string | undefined;
|
|
42
|
-
avatar?: string | undefined;
|
|
43
|
-
version?: string | undefined;
|
|
44
|
-
}, {
|
|
45
|
-
name: string;
|
|
46
|
-
id: string;
|
|
47
|
-
alias: string;
|
|
48
|
-
description?: string | undefined;
|
|
49
|
-
avatar?: string | undefined;
|
|
50
|
-
version?: string | undefined;
|
|
51
|
-
}>;
|
|
19
|
+
}, z.core.$strip>;
|
|
52
20
|
export declare const DeleteEmploidSchema: z.ZodObject<{
|
|
53
21
|
id: z.ZodString;
|
|
54
22
|
tenantId: z.ZodString;
|
|
55
|
-
},
|
|
56
|
-
id: string;
|
|
57
|
-
tenantId: string;
|
|
58
|
-
}, {
|
|
59
|
-
id: string;
|
|
60
|
-
tenantId: string;
|
|
61
|
-
}>;
|
|
23
|
+
}, z.core.$strip>;
|
|
62
24
|
export declare const ListEmploidsSchema: z.ZodObject<{
|
|
63
25
|
tenantId: z.ZodString;
|
|
64
|
-
},
|
|
65
|
-
tenantId: string;
|
|
66
|
-
}, {
|
|
67
|
-
tenantId: string;
|
|
68
|
-
}>;
|
|
26
|
+
}, z.core.$strip>;
|
|
69
27
|
export declare const ListEmploidsPaginatedSchema: z.ZodObject<{
|
|
70
28
|
tenantId: z.ZodString;
|
|
71
29
|
page: z.ZodOptional<z.ZodNumber>;
|
|
72
30
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
73
31
|
search: z.ZodOptional<z.ZodString>;
|
|
74
|
-
status: z.ZodOptional<z.ZodArray<z.ZodString
|
|
75
|
-
occupation: z.ZodOptional<z.ZodArray<z.ZodString
|
|
76
|
-
createdBy: z.
|
|
77
|
-
sortBy: z.ZodOptional<z.ZodEnum<
|
|
32
|
+
status: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33
|
+
occupation: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34
|
+
createdBy: z.ZodPipe<z.ZodOptional<z.ZodArray<z.ZodString>>, z.ZodTransform<string[] | undefined, string[] | undefined>>;
|
|
35
|
+
sortBy: z.ZodOptional<z.ZodEnum<{
|
|
36
|
+
name: "name";
|
|
37
|
+
createdAt: "createdAt";
|
|
38
|
+
updatedAt: "updatedAt";
|
|
39
|
+
relevance: "relevance";
|
|
40
|
+
}>>;
|
|
78
41
|
userId: z.ZodOptional<z.ZodString>;
|
|
79
|
-
},
|
|
80
|
-
tenantId: string;
|
|
81
|
-
search?: string | undefined;
|
|
82
|
-
limit?: number | undefined;
|
|
83
|
-
status?: string[] | undefined;
|
|
84
|
-
userId?: string | undefined;
|
|
85
|
-
page?: number | undefined;
|
|
86
|
-
occupation?: string[] | undefined;
|
|
87
|
-
createdBy?: string[] | undefined;
|
|
88
|
-
sortBy?: "name" | "createdAt" | "updatedAt" | "relevance" | undefined;
|
|
89
|
-
}, {
|
|
90
|
-
tenantId: string;
|
|
91
|
-
search?: string | undefined;
|
|
92
|
-
limit?: number | undefined;
|
|
93
|
-
status?: string[] | undefined;
|
|
94
|
-
userId?: string | undefined;
|
|
95
|
-
page?: number | undefined;
|
|
96
|
-
occupation?: string[] | undefined;
|
|
97
|
-
createdBy?: string[] | undefined;
|
|
98
|
-
sortBy?: "name" | "createdAt" | "updatedAt" | "relevance" | undefined;
|
|
99
|
-
}>;
|
|
42
|
+
}, z.core.$strip>;
|
|
100
43
|
export declare const ListScopesSchema: z.ZodObject<{
|
|
101
44
|
tenantId: z.ZodString;
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
}, {
|
|
105
|
-
tenantId: string;
|
|
106
|
-
}>;
|
|
107
|
-
export declare const ListOccupationsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
export declare const ListOccupationsSchema: z.ZodObject<{}, z.core.$strip>;
|
|
108
47
|
export declare const CreateOccupationSchema: z.ZodObject<{
|
|
109
48
|
id: z.ZodString;
|
|
110
49
|
name: z.ZodString;
|
|
111
50
|
description: z.ZodOptional<z.ZodString>;
|
|
112
|
-
},
|
|
113
|
-
name: string;
|
|
114
|
-
id: string;
|
|
115
|
-
description?: string | undefined;
|
|
116
|
-
}, {
|
|
117
|
-
name: string;
|
|
118
|
-
id: string;
|
|
119
|
-
description?: string | undefined;
|
|
120
|
-
}>;
|
|
51
|
+
}, z.core.$strip>;
|
|
121
52
|
export declare const CreateScopeSchema: z.ZodObject<{
|
|
122
53
|
tenantId: z.ZodString;
|
|
123
54
|
emploidId: z.ZodString;
|
|
124
55
|
name: z.ZodString;
|
|
125
56
|
description: z.ZodOptional<z.ZodString>;
|
|
126
|
-
},
|
|
127
|
-
name: string;
|
|
128
|
-
tenantId: string;
|
|
129
|
-
emploidId: string;
|
|
130
|
-
description?: string | undefined;
|
|
131
|
-
}, {
|
|
132
|
-
name: string;
|
|
133
|
-
tenantId: string;
|
|
134
|
-
emploidId: string;
|
|
135
|
-
description?: string | undefined;
|
|
136
|
-
}>;
|
|
57
|
+
}, z.core.$strip>;
|
|
137
58
|
export declare const UpdateScopeSchema: z.ZodObject<{
|
|
138
59
|
scopeId: z.ZodString;
|
|
139
60
|
name: z.ZodString;
|
|
140
61
|
description: z.ZodOptional<z.ZodString>;
|
|
141
|
-
},
|
|
142
|
-
name: string;
|
|
143
|
-
scopeId: string;
|
|
144
|
-
description?: string | undefined;
|
|
145
|
-
}, {
|
|
146
|
-
name: string;
|
|
147
|
-
scopeId: string;
|
|
148
|
-
description?: string | undefined;
|
|
149
|
-
}>;
|
|
62
|
+
}, z.core.$strip>;
|
|
150
63
|
export declare const DeleteScopeSchema: z.ZodObject<{
|
|
151
64
|
scopeId: z.ZodString;
|
|
152
|
-
},
|
|
153
|
-
scopeId: string;
|
|
154
|
-
}, {
|
|
155
|
-
scopeId: string;
|
|
156
|
-
}>;
|
|
65
|
+
}, z.core.$strip>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbW9kdWxlcy9lbXBsb2lkL3R5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJcbmV4cG9ydCB0eXBlIFRFbXBsb2lkID0ge1xuICAgIGlkOiBzdHJpbmc7XG4gICAgbmFtZTogc3RyaW5nO1xuICAgIGRlc2NyaXB0aW9uOiBzdHJpbmc7XG4gICAgc3RhdHVzOiBzdHJpbmc7XG4gICAgb2NjdXBhdGlvbjogc3RyaW5nO1xuICAgIGNyZWF0ZWRBdDogc3RyaW5nO1xuICAgIHVwZGF0ZWRBdDogc3RyaW5nO1xufVxuXG5leHBvcnQgdHlwZSBUUGFnaW5hdGVkRW1wbG9pZHNSZXN1bHQgPSB7XG4gICAgZW1wbG9pZHM6IFRFbXBsb2lkW107XG4gICAgdG90YWxDb3VudDogbnVtYmVyO1xuICAgIGhhc01vcmU6IGJvb2xlYW47XG4gICAgbmV4dEN1cnNvcj86IHN0cmluZztcbn07XG5cbmV4cG9ydCB0eXBlIFRTY29wZSA9IHtcbiAgICBpZDogc3RyaW5nO1xuICAgIGVtcGxvaWRJZDogc3RyaW5nO1xuICAgIG5hbWU6IHN0cmluZztcbiAgICBkZXNjcmlwdGlvbjogc3RyaW5nO1xufVxuXG5leHBvcnQgdHlwZSBUT2NjdXBhdGlvbiA9IHtcbiAgICBpZDogc3RyaW5nO1xuICAgIG5hbWU6IHN0cmluZztcbiAgICBkZXNjcmlwdGlvbjogc3RyaW5nO1xufSJdfQ==
|