api-arreya-types 1.0.2 → 1.0.3
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/account.type.d.ts +4 -4
- package/billing.type.d.ts +2 -2
- package/device.type.d.ts +6 -6
- package/file.type.d.ts +6 -6
- package/folder.type.d.ts +4 -4
- package/index.d.ts +9 -9
- package/package.json +1 -1
- package/page.type.d.ts +6 -6
- package/presentation.type.d.ts +4 -4
- package/project.type.d.ts +4 -4
- package/schedule.type.d.ts +4 -4
- package/stripe.type.d.ts +6 -6
- package/user.type.d.ts +8 -8
package/account.type.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export declare const Account: z.ZodObject<{
|
|
|
34
34
|
updatedAt: Date;
|
|
35
35
|
private?: boolean | undefined;
|
|
36
36
|
}>;
|
|
37
|
-
export declare const
|
|
37
|
+
export declare const CreateAccount: z.ZodObject<{
|
|
38
38
|
name: z.ZodString;
|
|
39
39
|
stripeCustomer: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
stripeSubscription: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -59,7 +59,7 @@ export declare const AccountCreate: z.ZodObject<{
|
|
|
59
59
|
status?: string | undefined;
|
|
60
60
|
private?: boolean | undefined;
|
|
61
61
|
}>;
|
|
62
|
-
export declare const
|
|
62
|
+
export declare const UpdateAccount: z.ZodObject<{
|
|
63
63
|
id: z.ZodString;
|
|
64
64
|
stripeCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
65
|
stripeSubscription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -85,8 +85,8 @@ export declare const AccountUpdate: z.ZodObject<{
|
|
|
85
85
|
private?: boolean | undefined;
|
|
86
86
|
}>;
|
|
87
87
|
export type Account = z.infer<typeof Account>;
|
|
88
|
-
export type
|
|
89
|
-
export type
|
|
88
|
+
export type CreateAccount = z.infer<typeof CreateAccount>;
|
|
89
|
+
export type UpdateAccount = z.infer<typeof UpdateAccount>;
|
|
90
90
|
export declare const AccountIdRequestParams: z.ZodObject<{
|
|
91
91
|
id: z.ZodString;
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
package/billing.type.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare const SubscriptionItem: z.ZodObject<{
|
|
|
17
17
|
quantity?: number | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
export type SubscriptionItem = z.infer<typeof SubscriptionItem>;
|
|
20
|
-
export declare const
|
|
20
|
+
export declare const UpdateCustomer: z.ZodObject<{
|
|
21
21
|
id: z.ZodString;
|
|
22
22
|
defaultPaymentMethod: z.ZodOptional<z.ZodString>;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -27,7 +27,7 @@ export declare const CustomerUpdate: z.ZodObject<{
|
|
|
27
27
|
id: string;
|
|
28
28
|
defaultPaymentMethod?: string | undefined;
|
|
29
29
|
}>;
|
|
30
|
-
export type
|
|
30
|
+
export type UpdateCustomer = z.infer<typeof UpdateCustomer>;
|
|
31
31
|
export declare const ConfirmSetupIntentRequestBody: z.ZodObject<{
|
|
32
32
|
setupIntentId: z.ZodString;
|
|
33
33
|
paymentMethodId: z.ZodString;
|
package/device.type.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare const Device: z.ZodObject<{
|
|
|
30
30
|
userAgent: string;
|
|
31
31
|
online: boolean;
|
|
32
32
|
}>;
|
|
33
|
-
export declare const
|
|
33
|
+
export declare const CreateDevice: z.ZodObject<{
|
|
34
34
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -52,7 +52,7 @@ export declare const DeviceCreate: z.ZodObject<{
|
|
|
52
52
|
code?: string | null | undefined;
|
|
53
53
|
projectId?: string | null | undefined;
|
|
54
54
|
}>;
|
|
55
|
-
export declare const
|
|
55
|
+
export declare const UpdateDevice: z.ZodObject<{
|
|
56
56
|
id: z.ZodString;
|
|
57
57
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -77,7 +77,7 @@ export declare const DeviceUpdate: z.ZodObject<{
|
|
|
77
77
|
userAgent?: string | undefined;
|
|
78
78
|
online?: boolean | undefined;
|
|
79
79
|
}>;
|
|
80
|
-
export declare const
|
|
80
|
+
export declare const PairDevice: z.ZodObject<{
|
|
81
81
|
id: z.ZodString;
|
|
82
82
|
name: z.ZodString;
|
|
83
83
|
projectId: z.ZodString;
|
|
@@ -91,9 +91,9 @@ export declare const DevicePair: z.ZodObject<{
|
|
|
91
91
|
projectId: string;
|
|
92
92
|
}>;
|
|
93
93
|
export type Device = z.infer<typeof Device>;
|
|
94
|
-
export type
|
|
95
|
-
export type
|
|
96
|
-
export type
|
|
94
|
+
export type CreateDevice = z.infer<typeof CreateDevice>;
|
|
95
|
+
export type UpdateDevice = z.infer<typeof UpdateDevice>;
|
|
96
|
+
export type PairDevice = z.infer<typeof PairDevice>;
|
|
97
97
|
export declare const DeviceIdRequestParams: z.ZodObject<{
|
|
98
98
|
id: z.ZodString;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
package/file.type.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export declare const File: z.ZodObject<{
|
|
|
48
48
|
hd: string | null;
|
|
49
49
|
folderId: string;
|
|
50
50
|
}>;
|
|
51
|
-
export declare const
|
|
51
|
+
export declare const CreateFile: z.ZodObject<{
|
|
52
52
|
id: z.ZodString;
|
|
53
53
|
accountId: z.ZodString;
|
|
54
54
|
name: z.ZodString;
|
|
@@ -91,7 +91,7 @@ export declare const FileCreate: z.ZodObject<{
|
|
|
91
91
|
sd?: string | null | undefined;
|
|
92
92
|
hd?: string | null | undefined;
|
|
93
93
|
}>;
|
|
94
|
-
export declare const
|
|
94
|
+
export declare const UpdateFile: z.ZodObject<{
|
|
95
95
|
id: z.ZodString;
|
|
96
96
|
name: z.ZodOptional<z.ZodString>;
|
|
97
97
|
mimetype: z.ZodOptional<z.ZodString>;
|
|
@@ -131,7 +131,7 @@ export declare const FileUpdate: z.ZodObject<{
|
|
|
131
131
|
hd?: string | null | undefined;
|
|
132
132
|
folderId?: string | undefined;
|
|
133
133
|
}>;
|
|
134
|
-
export declare const
|
|
134
|
+
export declare const UpdateFiles: z.ZodObject<{
|
|
135
135
|
ids: z.ZodArray<z.ZodString, "many">;
|
|
136
136
|
folderId: z.ZodOptional<z.ZodString>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -142,9 +142,9 @@ export declare const FilesUpdate: z.ZodObject<{
|
|
|
142
142
|
folderId?: string | undefined;
|
|
143
143
|
}>;
|
|
144
144
|
export type File = z.infer<typeof File>;
|
|
145
|
-
export type
|
|
146
|
-
export type
|
|
147
|
-
export type
|
|
145
|
+
export type CreateFile = z.infer<typeof CreateFile>;
|
|
146
|
+
export type UpdateFile = z.infer<typeof UpdateFile>;
|
|
147
|
+
export type UpdateFiles = z.infer<typeof UpdateFiles>;
|
|
148
148
|
export declare const FileIdRequestParams: z.ZodObject<{
|
|
149
149
|
id: z.ZodString;
|
|
150
150
|
}, "strip", z.ZodTypeAny, {
|
package/folder.type.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const Folder: z.ZodObject<{
|
|
|
18
18
|
updatedAt: Date;
|
|
19
19
|
accountId: string;
|
|
20
20
|
}>;
|
|
21
|
-
export declare const
|
|
21
|
+
export declare const CreateFolder: z.ZodObject<{
|
|
22
22
|
name: z.ZodString;
|
|
23
23
|
accountId: z.ZodString;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -28,7 +28,7 @@ export declare const FolderCreate: z.ZodObject<{
|
|
|
28
28
|
name: string;
|
|
29
29
|
accountId: string;
|
|
30
30
|
}>;
|
|
31
|
-
export declare const
|
|
31
|
+
export declare const UpdateFolder: z.ZodObject<{
|
|
32
32
|
id: z.ZodString;
|
|
33
33
|
name: z.ZodOptional<z.ZodString>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -39,8 +39,8 @@ export declare const FolderUpdate: z.ZodObject<{
|
|
|
39
39
|
name?: string | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
export type Folder = z.infer<typeof Folder>;
|
|
42
|
-
export type
|
|
43
|
-
export type
|
|
42
|
+
export type CreateFolder = z.infer<typeof CreateFolder>;
|
|
43
|
+
export type UpdateFolder = z.infer<typeof UpdateFolder>;
|
|
44
44
|
export declare const FolderIdRequestParams: z.ZodObject<{
|
|
45
45
|
id: z.ZodString;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
package/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Account,
|
|
2
|
-
export { Device,
|
|
3
|
-
export { File,
|
|
4
|
-
export { Folder,
|
|
5
|
-
export { Page,
|
|
6
|
-
export { Presentation,
|
|
7
|
-
export { Project,
|
|
8
|
-
export { Schedule,
|
|
9
|
-
export { User, UserCreate, UserUpdate, UserAccount,
|
|
1
|
+
export { Account, CreateAccount, UpdateAccount, CreateAccountRequestBody, UpdateAccountDBRequestBody, UpdateAccountSubscriptionRequestBody } from './account.type';
|
|
2
|
+
export { Device, CreateDevice, UpdateDevice, CreateDeviceRequestBody, UpdateDeviceRequestBody, PairDeviceRequestBody } from './device.type';
|
|
3
|
+
export { File, CreateFile, UpdateFile, CreateFilesRequestBody, UploadFileRequestBody, UpdateFileRequestBody, UpdateFilesRequestBody } from './file.type';
|
|
4
|
+
export { Folder, CreateFolder, UpdateFolder, CreateFolderRequestBody, UpdateFolderRequestBody } from './folder.type';
|
|
5
|
+
export { Page, CreatePage, UpdatePage, CreatePageRequestBody, UpdatePageRequestBody } from './page.type';
|
|
6
|
+
export { Presentation, CreatePresentation, UpdatePresentation, CreatePresentationRequestBody, UpdatePresentationRequestBody } from './presentation.type';
|
|
7
|
+
export { Project, CreateProject, UpdateProject, CreateProjectRequestBody, UpdateProjectRequestBody } from './project.type';
|
|
8
|
+
export { Schedule, CreateSchedule, UpdateSchedule, CreateScheduleRequestBody, UpdateScheduleRequestBody } from './schedule.type';
|
|
9
|
+
export { User, UserCreate, UserUpdate, UserAccount, CreateUserAccount, UpdateUserAccount, UserProject, CreateUserProject, CreateUserRequestBody, UpdateUserRequestBody, InviteUserRequestBody, UpdateUserAccessRequestBody, } from './user.type';
|
package/package.json
CHANGED
package/page.type.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare const Page: z.ZodObject<{
|
|
|
39
39
|
order: number;
|
|
40
40
|
template: boolean;
|
|
41
41
|
}>;
|
|
42
|
-
export declare const
|
|
42
|
+
export declare const CreatePage: z.ZodObject<{
|
|
43
43
|
id: z.ZodOptional<z.ZodString>;
|
|
44
44
|
name: z.ZodString;
|
|
45
45
|
presentationId: z.ZodString;
|
|
@@ -73,7 +73,7 @@ export declare const PageCreate: z.ZodObject<{
|
|
|
73
73
|
delay: number;
|
|
74
74
|
id?: string | undefined;
|
|
75
75
|
}>;
|
|
76
|
-
export declare const
|
|
76
|
+
export declare const CreatePages: z.ZodArray<z.ZodObject<{
|
|
77
77
|
id: z.ZodOptional<z.ZodString>;
|
|
78
78
|
name: z.ZodString;
|
|
79
79
|
presentationId: z.ZodString;
|
|
@@ -107,7 +107,7 @@ export declare const PagesCreate: z.ZodArray<z.ZodObject<{
|
|
|
107
107
|
delay: number;
|
|
108
108
|
id?: string | undefined;
|
|
109
109
|
}>, "many">;
|
|
110
|
-
export declare const
|
|
110
|
+
export declare const UpdatePage: z.ZodObject<{
|
|
111
111
|
id: z.ZodString;
|
|
112
112
|
name: z.ZodOptional<z.ZodString>;
|
|
113
113
|
presentationId: z.ZodOptional<z.ZodString>;
|
|
@@ -142,9 +142,9 @@ export declare const PageUpdate: z.ZodObject<{
|
|
|
142
142
|
delay?: number | undefined;
|
|
143
143
|
}>;
|
|
144
144
|
export type Page = z.infer<typeof Page>;
|
|
145
|
-
export type
|
|
146
|
-
export type
|
|
147
|
-
export type
|
|
145
|
+
export type CreatePage = z.infer<typeof CreatePage>;
|
|
146
|
+
export type CreatePages = z.infer<typeof CreatePages>;
|
|
147
|
+
export type UpdatePage = z.infer<typeof UpdatePage>;
|
|
148
148
|
export declare const PageIdRequestParams: z.ZodObject<{
|
|
149
149
|
id: z.ZodString;
|
|
150
150
|
}, "strip", z.ZodTypeAny, {
|
package/presentation.type.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare const Presentation: z.ZodObject<{
|
|
|
36
36
|
settings: string | null;
|
|
37
37
|
interactive: boolean;
|
|
38
38
|
}>;
|
|
39
|
-
export declare const
|
|
39
|
+
export declare const CreatePresentation: z.ZodObject<{
|
|
40
40
|
projectId: z.ZodString;
|
|
41
41
|
name: z.ZodString;
|
|
42
42
|
templateId: z.ZodOptional<z.ZodString>;
|
|
@@ -67,7 +67,7 @@ export declare const PresentationCreate: z.ZodObject<{
|
|
|
67
67
|
interactive?: boolean | undefined;
|
|
68
68
|
templateId?: string | undefined;
|
|
69
69
|
}>;
|
|
70
|
-
export declare const
|
|
70
|
+
export declare const UpdatePresentation: z.ZodObject<{
|
|
71
71
|
id: z.ZodString;
|
|
72
72
|
projectId: z.ZodOptional<z.ZodString>;
|
|
73
73
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -199,8 +199,8 @@ export declare const CreatePresentationRequestBody: z.ZodDiscriminatedUnion<"tem
|
|
|
199
199
|
templateId?: null | undefined;
|
|
200
200
|
}>]>;
|
|
201
201
|
export type Presentation = z.infer<typeof Presentation>;
|
|
202
|
-
export type
|
|
203
|
-
export type
|
|
202
|
+
export type CreatePresentation = z.infer<typeof CreatePresentation>;
|
|
203
|
+
export type UpdatePresentation = z.infer<typeof UpdatePresentation>;
|
|
204
204
|
export type CreatePresentationRequestBody = z.infer<typeof CreatePresentationRequestBody>;
|
|
205
205
|
export type CreatePresentationFromTemplateRequestBody = z.infer<typeof CreatePresentationFromTemplateRequestBody>;
|
|
206
206
|
export type CreatePresentationCustomRequestBody = z.infer<typeof CreatePresentationCustomRequestBody>;
|
package/project.type.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare const Project: z.ZodObject<{
|
|
|
30
30
|
updatedAt: Date;
|
|
31
31
|
accountId: string;
|
|
32
32
|
}>;
|
|
33
|
-
export declare const
|
|
33
|
+
export declare const CreateProject: z.ZodObject<{
|
|
34
34
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
35
35
|
accountId: z.ZodString;
|
|
36
36
|
status: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
|
|
@@ -46,7 +46,7 @@ export declare const ProjectCreate: z.ZodObject<{
|
|
|
46
46
|
status?: string | undefined;
|
|
47
47
|
private?: boolean | undefined;
|
|
48
48
|
}>;
|
|
49
|
-
export declare const
|
|
49
|
+
export declare const UpdateProject: z.ZodObject<{
|
|
50
50
|
id: z.ZodString;
|
|
51
51
|
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
52
52
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
|
|
@@ -63,8 +63,8 @@ export declare const ProjectUpdate: z.ZodObject<{
|
|
|
63
63
|
private?: boolean | undefined;
|
|
64
64
|
}>;
|
|
65
65
|
export type Project = z.infer<typeof Project>;
|
|
66
|
-
export type
|
|
67
|
-
export type
|
|
66
|
+
export type CreateProject = z.infer<typeof CreateProject>;
|
|
67
|
+
export type UpdateProject = z.infer<typeof UpdateProject>;
|
|
68
68
|
export declare const ProjectIdRequestParams: z.ZodObject<{
|
|
69
69
|
id: z.ZodString;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
package/schedule.type.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export declare const Schedule: z.ZodObject<{
|
|
|
51
51
|
recurInterval: number | null;
|
|
52
52
|
recurType: string | null;
|
|
53
53
|
}>;
|
|
54
|
-
export declare const
|
|
54
|
+
export declare const CreateSchedule: z.ZodObject<{
|
|
55
55
|
projectId: z.ZodString;
|
|
56
56
|
presentationId: z.ZodString;
|
|
57
57
|
title: z.ZodString;
|
|
@@ -94,7 +94,7 @@ export declare const ScheduleCreate: z.ZodObject<{
|
|
|
94
94
|
recurInterval?: number | null | undefined;
|
|
95
95
|
recurType?: string | null | undefined;
|
|
96
96
|
}>;
|
|
97
|
-
export declare const
|
|
97
|
+
export declare const UpdateSchedule: z.ZodObject<{
|
|
98
98
|
id: z.ZodString;
|
|
99
99
|
projectId: z.ZodOptional<z.ZodString>;
|
|
100
100
|
presentationId: z.ZodOptional<z.ZodString>;
|
|
@@ -141,8 +141,8 @@ export declare const ScheduleUpdate: z.ZodObject<{
|
|
|
141
141
|
recurType?: string | null | undefined;
|
|
142
142
|
}>;
|
|
143
143
|
export type Schedule = z.infer<typeof Schedule>;
|
|
144
|
-
export type
|
|
145
|
-
export type
|
|
144
|
+
export type CreateSchedule = z.infer<typeof CreateSchedule>;
|
|
145
|
+
export type UpdateSchedule = z.infer<typeof UpdateSchedule>;
|
|
146
146
|
export declare const ScheduleIdRequestParams: z.ZodObject<{
|
|
147
147
|
id: z.ZodString;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
package/stripe.type.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const CreateStripeSubscriptionItem: z.ZodObject<{
|
|
3
3
|
subscriptionId: z.ZodString;
|
|
4
4
|
priceId: z.ZodString;
|
|
5
5
|
quantity: z.ZodDefault<z.ZodNumber>;
|
|
@@ -12,7 +12,7 @@ export declare const StripeSubscriptionItemCreate: z.ZodObject<{
|
|
|
12
12
|
priceId: string;
|
|
13
13
|
quantity?: number | undefined;
|
|
14
14
|
}>;
|
|
15
|
-
export declare const
|
|
15
|
+
export declare const UpdateStripeSubscriptionItem: z.ZodObject<{
|
|
16
16
|
subscriptionId: z.ZodString;
|
|
17
17
|
subscriptionItemId: z.ZodString;
|
|
18
18
|
quantity: z.ZodNumber;
|
|
@@ -25,7 +25,7 @@ export declare const StripeSubscriptionItemUpdate: z.ZodObject<{
|
|
|
25
25
|
subscriptionId: string;
|
|
26
26
|
subscriptionItemId: string;
|
|
27
27
|
}>;
|
|
28
|
-
export declare const
|
|
28
|
+
export declare const DeleteStripeSubscriptionItem: z.ZodObject<{
|
|
29
29
|
subscriptionId: z.ZodString;
|
|
30
30
|
subscriptionItemId: z.ZodString;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -97,9 +97,9 @@ export interface StripeSubscriptionResponse {
|
|
|
97
97
|
};
|
|
98
98
|
metadata: Record<string, string>;
|
|
99
99
|
}
|
|
100
|
-
export type
|
|
101
|
-
export type
|
|
102
|
-
export type
|
|
100
|
+
export type CreateStripeSubscriptionItem = z.infer<typeof CreateStripeSubscriptionItem>;
|
|
101
|
+
export type UpdateStripeSubscriptionItem = z.infer<typeof UpdateStripeSubscriptionItem>;
|
|
102
|
+
export type DeleteStripeSubscriptionItem = z.infer<typeof DeleteStripeSubscriptionItem>;
|
|
103
103
|
export type CreateSubscriptionItemRequestBody = z.infer<typeof CreateSubscriptionItemRequestBody>;
|
|
104
104
|
export type UpdateSubscriptionItemRequestBody = z.infer<typeof UpdateSubscriptionItemRequestBody>;
|
|
105
105
|
export type DeleteSubscriptionItemRequestBody = z.infer<typeof DeleteSubscriptionItemRequestBody>;
|
package/user.type.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ export declare const UserAccount: z.ZodObject<{
|
|
|
86
86
|
roleId: string;
|
|
87
87
|
allProjects: boolean;
|
|
88
88
|
}>;
|
|
89
|
-
export declare const
|
|
89
|
+
export declare const CreateUserAccount: z.ZodObject<{
|
|
90
90
|
userId: z.ZodString;
|
|
91
91
|
accountId: z.ZodString;
|
|
92
92
|
roleId: z.ZodString;
|
|
@@ -102,7 +102,7 @@ export declare const UserAccountCreate: z.ZodObject<{
|
|
|
102
102
|
roleId: string;
|
|
103
103
|
allProjects?: boolean | undefined;
|
|
104
104
|
}>;
|
|
105
|
-
export declare const
|
|
105
|
+
export declare const UpdateUserAccount: z.ZodObject<{
|
|
106
106
|
id: z.ZodString;
|
|
107
107
|
roleId: z.ZodOptional<z.ZodString>;
|
|
108
108
|
allProjects: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -120,8 +120,8 @@ export type UserAccountExtended = UserAccount & {
|
|
|
120
120
|
account: Account;
|
|
121
121
|
userProjects: UserProject[];
|
|
122
122
|
};
|
|
123
|
-
export type
|
|
124
|
-
export type
|
|
123
|
+
export type CreateUserAccount = z.infer<typeof CreateUserAccount>;
|
|
124
|
+
export type UpdateUserAccount = z.infer<typeof UpdateUserAccount>;
|
|
125
125
|
export declare const UserProject: z.ZodObject<{
|
|
126
126
|
id: z.ZodString;
|
|
127
127
|
userAccountId: z.ZodString;
|
|
@@ -141,7 +141,7 @@ export declare const UserProject: z.ZodObject<{
|
|
|
141
141
|
projectId: string;
|
|
142
142
|
userAccountId: string;
|
|
143
143
|
}>;
|
|
144
|
-
export declare const
|
|
144
|
+
export declare const CreateUserProject: z.ZodObject<{
|
|
145
145
|
userAccountId: z.ZodString;
|
|
146
146
|
projectId: z.ZodString;
|
|
147
147
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -151,7 +151,7 @@ export declare const UserProjectCreate: z.ZodObject<{
|
|
|
151
151
|
projectId: string;
|
|
152
152
|
userAccountId: string;
|
|
153
153
|
}>;
|
|
154
|
-
export declare const
|
|
154
|
+
export declare const CreateUserProjects: z.ZodObject<{
|
|
155
155
|
userAccountId: z.ZodString;
|
|
156
156
|
projectIds: z.ZodArray<z.ZodString, "many">;
|
|
157
157
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -162,8 +162,8 @@ export declare const UserProjectsCreate: z.ZodObject<{
|
|
|
162
162
|
userAccountId: string;
|
|
163
163
|
}>;
|
|
164
164
|
export type UserProject = z.infer<typeof UserProject>;
|
|
165
|
-
export type
|
|
166
|
-
export type
|
|
165
|
+
export type CreateUserProject = z.infer<typeof CreateUserProject>;
|
|
166
|
+
export type CreateUserProjects = z.infer<typeof CreateUserProjects>;
|
|
167
167
|
export declare const UserIdRequestParams: z.ZodObject<{
|
|
168
168
|
id: z.ZodString;
|
|
169
169
|
}, "strip", z.ZodTypeAny, {
|