@agendize/js-agendize-api 1.43.0 → 1.44.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/dist/data/Common.d.ts +3 -9
- package/dist/data/EventSearch.d.ts +6 -0
- package/dist/data/Form.d.ts +22 -0
- package/dist/data/conference/ConferenceAssignment.d.ts +27 -154
- package/dist/data/conference/ConferenceLocation.d.ts +28 -256
- package/dist/js-agendize-api.es.js +13270 -13148
- package/package.json +1 -1
package/dist/data/Common.d.ts
CHANGED
|
@@ -10,15 +10,9 @@ export interface BodyEntityInterface {
|
|
|
10
10
|
export declare const IdNameSchema: z.ZodObject<{
|
|
11
11
|
id: z.ZodString;
|
|
12
12
|
name: z.ZodOptional<z.ZodString>;
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}, {
|
|
17
|
-
id: string;
|
|
18
|
-
name?: string | undefined;
|
|
19
|
-
}>;
|
|
20
|
-
export declare const PublicEntitySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
21
|
-
export declare const SecuredEntitySchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export declare const PublicEntitySchema: z.ZodObject<{}, z.core.$strip>;
|
|
15
|
+
export declare const SecuredEntitySchema: z.ZodObject<{}, z.core.$strip>;
|
|
22
16
|
declare class BodyEntity<T extends EntityType> implements BodyEntityInterface {
|
|
23
17
|
bodyEntityType: T;
|
|
24
18
|
constructor(type: T);
|
|
@@ -39,6 +39,8 @@ export declare class EventSearchEntity {
|
|
|
39
39
|
end: Date;
|
|
40
40
|
status?: EventSearchStatusEntity;
|
|
41
41
|
conflict?: boolean;
|
|
42
|
+
meta?: boolean;
|
|
43
|
+
resourceCount?: number;
|
|
42
44
|
conflicts?: EventSearchConflictEntity[];
|
|
43
45
|
securityKey?: string;
|
|
44
46
|
static fromEventDto(dto: EventSearchDto): EventSearchEntity;
|
|
@@ -53,6 +55,7 @@ export declare class EventSearchCompanyEntity {
|
|
|
53
55
|
export declare class EventSearchServiceEntity {
|
|
54
56
|
id: string;
|
|
55
57
|
name: string;
|
|
58
|
+
capacity?: number;
|
|
56
59
|
static fromDto(dto: EventSearchServiceDto): EventSearchServiceEntity;
|
|
57
60
|
}
|
|
58
61
|
export declare class EventSearchStaffEntity {
|
|
@@ -189,6 +192,7 @@ export declare class EventSearchCompanyDto {
|
|
|
189
192
|
export declare class EventSearchServiceDto {
|
|
190
193
|
id: string;
|
|
191
194
|
name: string;
|
|
195
|
+
capacity?: number;
|
|
192
196
|
}
|
|
193
197
|
export declare class EventSearchStaffDto {
|
|
194
198
|
id: string;
|
|
@@ -227,6 +231,8 @@ export declare class EventSearchDto {
|
|
|
227
231
|
status?: EventSearchStatusDto;
|
|
228
232
|
customStatus?: CustomStatusDto;
|
|
229
233
|
conflict?: boolean;
|
|
234
|
+
meta?: boolean;
|
|
235
|
+
resourceCount?: number;
|
|
230
236
|
conflicts?: EventSearchConflictDto[];
|
|
231
237
|
securityKey?: string;
|
|
232
238
|
}
|
package/dist/data/Form.d.ts
CHANGED
|
@@ -139,9 +139,21 @@ export declare class FormItemEntity {
|
|
|
139
139
|
visible: boolean;
|
|
140
140
|
backofficeVisible: boolean | undefined;
|
|
141
141
|
values: {
|
|
142
|
+
id: string;
|
|
142
143
|
label: string;
|
|
143
144
|
value: string;
|
|
144
145
|
values?: {
|
|
146
|
+
id: string;
|
|
147
|
+
label: string;
|
|
148
|
+
value: string;
|
|
149
|
+
}[];
|
|
150
|
+
}[] | undefined;
|
|
151
|
+
valueGroups: {
|
|
152
|
+
id: string;
|
|
153
|
+
label: string;
|
|
154
|
+
value: string;
|
|
155
|
+
values?: {
|
|
156
|
+
id: string;
|
|
145
157
|
label: string;
|
|
146
158
|
value: string;
|
|
147
159
|
}[];
|
|
@@ -156,6 +168,16 @@ export declare class FormItemEntity {
|
|
|
156
168
|
maxlength: number | undefined;
|
|
157
169
|
countries: string[] | undefined;
|
|
158
170
|
};
|
|
171
|
+
static formItemEntityValuesToFormFieldValues(values: FormValueEntity[] | undefined): {
|
|
172
|
+
id: string;
|
|
173
|
+
label: string;
|
|
174
|
+
value: string;
|
|
175
|
+
values?: {
|
|
176
|
+
id: string;
|
|
177
|
+
label: string;
|
|
178
|
+
value: string;
|
|
179
|
+
}[];
|
|
180
|
+
}[] | undefined;
|
|
159
181
|
static formItemsToFormFields(formItems: FormItemEntity[], extractSubItem?: boolean, showInvisible?: boolean): any[] | undefined;
|
|
160
182
|
}
|
|
161
183
|
export declare class FormItemDto {
|
|
@@ -1,188 +1,61 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
declare const ConferenceAssigmentTypeSchema: z.ZodEnum<
|
|
3
|
-
|
|
2
|
+
declare const ConferenceAssigmentTypeSchema: z.ZodEnum<{
|
|
3
|
+
company: "company";
|
|
4
|
+
none: "none";
|
|
5
|
+
allCompanies: "allCompanies";
|
|
6
|
+
companyList: "companyList";
|
|
7
|
+
}>;
|
|
8
|
+
declare const ConferenceAssignmentSecuredDtoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
9
|
type: z.ZodLiteral<"allCompanies">;
|
|
5
|
-
},
|
|
6
|
-
type: "allCompanies";
|
|
7
|
-
}, {
|
|
8
|
-
type: "allCompanies";
|
|
9
|
-
}>, z.ZodObject<{
|
|
10
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10
11
|
type: z.ZodLiteral<"companyList">;
|
|
11
12
|
companies: z.ZodArray<z.ZodObject<{
|
|
12
13
|
id: z.ZodString;
|
|
13
14
|
name: z.ZodOptional<z.ZodString>;
|
|
14
|
-
},
|
|
15
|
-
|
|
16
|
-
name?: string | undefined;
|
|
17
|
-
}, {
|
|
18
|
-
id: string;
|
|
19
|
-
name?: string | undefined;
|
|
20
|
-
}>, "many">;
|
|
21
|
-
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
type: "companyList";
|
|
23
|
-
companies: {
|
|
24
|
-
id: string;
|
|
25
|
-
name?: string | undefined;
|
|
26
|
-
}[];
|
|
27
|
-
}, {
|
|
28
|
-
type: "companyList";
|
|
29
|
-
companies: {
|
|
30
|
-
id: string;
|
|
31
|
-
name?: string | undefined;
|
|
32
|
-
}[];
|
|
33
|
-
}>, z.ZodObject<{
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
17
|
type: z.ZodLiteral<"company">;
|
|
35
18
|
company: z.ZodObject<{
|
|
36
19
|
id: z.ZodString;
|
|
37
20
|
name: z.ZodOptional<z.ZodString>;
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
name?: string | undefined;
|
|
41
|
-
}, {
|
|
42
|
-
id: string;
|
|
43
|
-
name?: string | undefined;
|
|
44
|
-
}>;
|
|
45
|
-
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
type: "company";
|
|
47
|
-
company: {
|
|
48
|
-
id: string;
|
|
49
|
-
name?: string | undefined;
|
|
50
|
-
};
|
|
51
|
-
}, {
|
|
52
|
-
type: "company";
|
|
53
|
-
company: {
|
|
54
|
-
id: string;
|
|
55
|
-
name?: string | undefined;
|
|
56
|
-
};
|
|
57
|
-
}>, z.ZodObject<{
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
58
23
|
type: z.ZodLiteral<"none">;
|
|
59
|
-
},
|
|
60
|
-
|
|
61
|
-
}, {
|
|
62
|
-
type: "none";
|
|
63
|
-
}>]>;
|
|
64
|
-
declare const ConferenceAssignmentSecuredEntitySchema: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
24
|
+
}, z.core.$strip>], "type">;
|
|
25
|
+
declare const ConferenceAssignmentSecuredEntitySchema: z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
65
26
|
type: z.ZodLiteral<"allCompanies">;
|
|
66
|
-
},
|
|
67
|
-
type: "allCompanies";
|
|
68
|
-
}, {
|
|
69
|
-
type: "allCompanies";
|
|
70
|
-
}>, z.ZodObject<{
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
71
28
|
type: z.ZodLiteral<"companyList">;
|
|
72
29
|
companies: z.ZodArray<z.ZodObject<{
|
|
73
30
|
id: z.ZodString;
|
|
74
31
|
name: z.ZodOptional<z.ZodString>;
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
name?: string | undefined;
|
|
78
|
-
}, {
|
|
79
|
-
id: string;
|
|
80
|
-
name?: string | undefined;
|
|
81
|
-
}>, "many">;
|
|
82
|
-
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
type: "companyList";
|
|
84
|
-
companies: {
|
|
85
|
-
id: string;
|
|
86
|
-
name?: string | undefined;
|
|
87
|
-
}[];
|
|
88
|
-
}, {
|
|
89
|
-
type: "companyList";
|
|
90
|
-
companies: {
|
|
91
|
-
id: string;
|
|
92
|
-
name?: string | undefined;
|
|
93
|
-
}[];
|
|
94
|
-
}>, z.ZodObject<{
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
95
34
|
type: z.ZodLiteral<"company">;
|
|
96
35
|
company: z.ZodObject<{
|
|
97
36
|
id: z.ZodString;
|
|
98
37
|
name: z.ZodOptional<z.ZodString>;
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
name?: string | undefined;
|
|
102
|
-
}, {
|
|
103
|
-
id: string;
|
|
104
|
-
name?: string | undefined;
|
|
105
|
-
}>;
|
|
106
|
-
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
type: "company";
|
|
108
|
-
company: {
|
|
109
|
-
id: string;
|
|
110
|
-
name?: string | undefined;
|
|
111
|
-
};
|
|
112
|
-
}, {
|
|
113
|
-
type: "company";
|
|
114
|
-
company: {
|
|
115
|
-
id: string;
|
|
116
|
-
name?: string | undefined;
|
|
117
|
-
};
|
|
118
|
-
}>, z.ZodObject<{
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
119
40
|
type: z.ZodLiteral<"none">;
|
|
120
|
-
},
|
|
121
|
-
|
|
122
|
-
}, {
|
|
123
|
-
type: "none";
|
|
124
|
-
}>]>>;
|
|
125
|
-
declare const ConferenceAssigmentEntitySchema: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
41
|
+
}, z.core.$strip>], "type">>;
|
|
42
|
+
declare const ConferenceAssigmentEntitySchema: z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
126
43
|
type: z.ZodLiteral<"allCompanies">;
|
|
127
|
-
},
|
|
128
|
-
type: "allCompanies";
|
|
129
|
-
}, {
|
|
130
|
-
type: "allCompanies";
|
|
131
|
-
}>, z.ZodObject<{
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
132
45
|
type: z.ZodLiteral<"companyList">;
|
|
133
46
|
companies: z.ZodArray<z.ZodObject<{
|
|
134
47
|
id: z.ZodString;
|
|
135
48
|
name: z.ZodOptional<z.ZodString>;
|
|
136
|
-
},
|
|
137
|
-
|
|
138
|
-
name?: string | undefined;
|
|
139
|
-
}, {
|
|
140
|
-
id: string;
|
|
141
|
-
name?: string | undefined;
|
|
142
|
-
}>, "many">;
|
|
143
|
-
}, "strip", z.ZodTypeAny, {
|
|
144
|
-
type: "companyList";
|
|
145
|
-
companies: {
|
|
146
|
-
id: string;
|
|
147
|
-
name?: string | undefined;
|
|
148
|
-
}[];
|
|
149
|
-
}, {
|
|
150
|
-
type: "companyList";
|
|
151
|
-
companies: {
|
|
152
|
-
id: string;
|
|
153
|
-
name?: string | undefined;
|
|
154
|
-
}[];
|
|
155
|
-
}>, z.ZodObject<{
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
156
51
|
type: z.ZodLiteral<"company">;
|
|
157
52
|
company: z.ZodObject<{
|
|
158
53
|
id: z.ZodString;
|
|
159
54
|
name: z.ZodOptional<z.ZodString>;
|
|
160
|
-
},
|
|
161
|
-
|
|
162
|
-
name?: string | undefined;
|
|
163
|
-
}, {
|
|
164
|
-
id: string;
|
|
165
|
-
name?: string | undefined;
|
|
166
|
-
}>;
|
|
167
|
-
}, "strip", z.ZodTypeAny, {
|
|
168
|
-
type: "company";
|
|
169
|
-
company: {
|
|
170
|
-
id: string;
|
|
171
|
-
name?: string | undefined;
|
|
172
|
-
};
|
|
173
|
-
}, {
|
|
174
|
-
type: "company";
|
|
175
|
-
company: {
|
|
176
|
-
id: string;
|
|
177
|
-
name?: string | undefined;
|
|
178
|
-
};
|
|
179
|
-
}>, z.ZodObject<{
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
180
57
|
type: z.ZodLiteral<"none">;
|
|
181
|
-
},
|
|
182
|
-
type: "none";
|
|
183
|
-
}, {
|
|
184
|
-
type: "none";
|
|
185
|
-
}>]>>;
|
|
58
|
+
}, z.core.$strip>], "type">>;
|
|
186
59
|
export type ConferenceAssigmentType = z.infer<typeof ConferenceAssigmentTypeSchema>;
|
|
187
60
|
export type ConferenceAssignmentEntity = z.infer<typeof ConferenceAssigmentEntitySchema>;
|
|
188
61
|
export type ConferenceAssignmentSecuredDto = z.infer<typeof ConferenceAssignmentSecuredDtoSchema>;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { z, ZodError } from "zod";
|
|
2
|
-
declare const ConferenceLocationTypeSchema: z.ZodEnum<
|
|
3
|
-
|
|
2
|
+
declare const ConferenceLocationTypeSchema: z.ZodEnum<{
|
|
3
|
+
link: "link";
|
|
4
|
+
custom: "custom";
|
|
5
|
+
address: "address";
|
|
6
|
+
schedulingCompanyAddress: "schedulingCompanyAddress";
|
|
7
|
+
conferenceLocation: "conferenceLocation";
|
|
8
|
+
}>;
|
|
9
|
+
declare const ConferenceLocationSecuredDtoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4
10
|
type: z.ZodLiteral<"address">;
|
|
5
11
|
street: z.ZodString;
|
|
6
12
|
additionalStreet: z.ZodOptional<z.ZodString>;
|
|
@@ -11,59 +17,15 @@ declare const ConferenceLocationSecuredDtoSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
11
17
|
geolocation: z.ZodOptional<z.ZodObject<{
|
|
12
18
|
lat: z.ZodNumber;
|
|
13
19
|
lng: z.ZodNumber;
|
|
14
|
-
},
|
|
15
|
-
|
|
16
|
-
lng: number;
|
|
17
|
-
}, {
|
|
18
|
-
lat: number;
|
|
19
|
-
lng: number;
|
|
20
|
-
}>>;
|
|
21
|
-
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
type: "address";
|
|
23
|
-
country: string;
|
|
24
|
-
street: string;
|
|
25
|
-
zipCode: string;
|
|
26
|
-
city: string;
|
|
27
|
-
additionalStreet?: string | undefined;
|
|
28
|
-
state?: string | undefined;
|
|
29
|
-
geolocation?: {
|
|
30
|
-
lat: number;
|
|
31
|
-
lng: number;
|
|
32
|
-
} | undefined;
|
|
33
|
-
}, {
|
|
34
|
-
type: "address";
|
|
35
|
-
country: string;
|
|
36
|
-
street: string;
|
|
37
|
-
zipCode: string;
|
|
38
|
-
city: string;
|
|
39
|
-
additionalStreet?: string | undefined;
|
|
40
|
-
state?: string | undefined;
|
|
41
|
-
geolocation?: {
|
|
42
|
-
lat: number;
|
|
43
|
-
lng: number;
|
|
44
|
-
} | undefined;
|
|
45
|
-
}>, z.ZodObject<{
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
46
22
|
type: z.ZodLiteral<"custom">;
|
|
47
23
|
text: z.ZodString;
|
|
48
|
-
},
|
|
49
|
-
type: "custom";
|
|
50
|
-
text: string;
|
|
51
|
-
}, {
|
|
52
|
-
type: "custom";
|
|
53
|
-
text: string;
|
|
54
|
-
}>, z.ZodObject<{
|
|
24
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
55
25
|
type: z.ZodLiteral<"link">;
|
|
56
26
|
title: z.ZodOptional<z.ZodString>;
|
|
57
27
|
link: z.ZodString;
|
|
58
|
-
},
|
|
59
|
-
type: "link";
|
|
60
|
-
link: string;
|
|
61
|
-
title?: string | undefined;
|
|
62
|
-
}, {
|
|
63
|
-
type: "link";
|
|
64
|
-
link: string;
|
|
65
|
-
title?: string | undefined;
|
|
66
|
-
}>, z.ZodObject<{
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
29
|
type: z.ZodLiteral<"schedulingCompanyAddress">;
|
|
68
30
|
companyId: z.ZodString;
|
|
69
31
|
street: z.ZodOptional<z.ZodString>;
|
|
@@ -72,25 +34,7 @@ declare const ConferenceLocationSecuredDtoSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
72
34
|
city: z.ZodOptional<z.ZodString>;
|
|
73
35
|
state: z.ZodOptional<z.ZodString>;
|
|
74
36
|
country: z.ZodOptional<z.ZodString>;
|
|
75
|
-
},
|
|
76
|
-
type: "schedulingCompanyAddress";
|
|
77
|
-
companyId: string;
|
|
78
|
-
country?: string | undefined;
|
|
79
|
-
street?: string | undefined;
|
|
80
|
-
additionalStreet?: string | undefined;
|
|
81
|
-
zipCode?: string | undefined;
|
|
82
|
-
city?: string | undefined;
|
|
83
|
-
state?: string | undefined;
|
|
84
|
-
}, {
|
|
85
|
-
type: "schedulingCompanyAddress";
|
|
86
|
-
companyId: string;
|
|
87
|
-
country?: string | undefined;
|
|
88
|
-
street?: string | undefined;
|
|
89
|
-
additionalStreet?: string | undefined;
|
|
90
|
-
zipCode?: string | undefined;
|
|
91
|
-
city?: string | undefined;
|
|
92
|
-
state?: string | undefined;
|
|
93
|
-
}>, z.ZodObject<{
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
94
38
|
type: z.ZodLiteral<"conferenceLocation">;
|
|
95
39
|
street: z.ZodOptional<z.ZodString>;
|
|
96
40
|
additionalStreet: z.ZodOptional<z.ZodString>;
|
|
@@ -98,24 +42,8 @@ declare const ConferenceLocationSecuredDtoSchema: z.ZodDiscriminatedUnion<"type"
|
|
|
98
42
|
city: z.ZodOptional<z.ZodString>;
|
|
99
43
|
state: z.ZodOptional<z.ZodString>;
|
|
100
44
|
country: z.ZodOptional<z.ZodString>;
|
|
101
|
-
},
|
|
102
|
-
|
|
103
|
-
country?: string | undefined;
|
|
104
|
-
street?: string | undefined;
|
|
105
|
-
additionalStreet?: string | undefined;
|
|
106
|
-
zipCode?: string | undefined;
|
|
107
|
-
city?: string | undefined;
|
|
108
|
-
state?: string | undefined;
|
|
109
|
-
}, {
|
|
110
|
-
type: "conferenceLocation";
|
|
111
|
-
country?: string | undefined;
|
|
112
|
-
street?: string | undefined;
|
|
113
|
-
additionalStreet?: string | undefined;
|
|
114
|
-
zipCode?: string | undefined;
|
|
115
|
-
city?: string | undefined;
|
|
116
|
-
state?: string | undefined;
|
|
117
|
-
}>]>;
|
|
118
|
-
declare const ConferenceLocationSecuredEntitySchema: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
45
|
+
}, z.core.$strip>], "type">;
|
|
46
|
+
declare const ConferenceLocationSecuredEntitySchema: z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
119
47
|
type: z.ZodLiteral<"address">;
|
|
120
48
|
street: z.ZodString;
|
|
121
49
|
additionalStreet: z.ZodOptional<z.ZodString>;
|
|
@@ -126,59 +54,15 @@ declare const ConferenceLocationSecuredEntitySchema: z.ZodIntersection<z.ZodObje
|
|
|
126
54
|
geolocation: z.ZodOptional<z.ZodObject<{
|
|
127
55
|
lat: z.ZodNumber;
|
|
128
56
|
lng: z.ZodNumber;
|
|
129
|
-
},
|
|
130
|
-
|
|
131
|
-
lng: number;
|
|
132
|
-
}, {
|
|
133
|
-
lat: number;
|
|
134
|
-
lng: number;
|
|
135
|
-
}>>;
|
|
136
|
-
}, "strip", z.ZodTypeAny, {
|
|
137
|
-
type: "address";
|
|
138
|
-
country: string;
|
|
139
|
-
street: string;
|
|
140
|
-
zipCode: string;
|
|
141
|
-
city: string;
|
|
142
|
-
additionalStreet?: string | undefined;
|
|
143
|
-
state?: string | undefined;
|
|
144
|
-
geolocation?: {
|
|
145
|
-
lat: number;
|
|
146
|
-
lng: number;
|
|
147
|
-
} | undefined;
|
|
148
|
-
}, {
|
|
149
|
-
type: "address";
|
|
150
|
-
country: string;
|
|
151
|
-
street: string;
|
|
152
|
-
zipCode: string;
|
|
153
|
-
city: string;
|
|
154
|
-
additionalStreet?: string | undefined;
|
|
155
|
-
state?: string | undefined;
|
|
156
|
-
geolocation?: {
|
|
157
|
-
lat: number;
|
|
158
|
-
lng: number;
|
|
159
|
-
} | undefined;
|
|
160
|
-
}>, z.ZodObject<{
|
|
57
|
+
}, z.core.$strip>>;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
161
59
|
type: z.ZodLiteral<"custom">;
|
|
162
60
|
text: z.ZodString;
|
|
163
|
-
},
|
|
164
|
-
type: "custom";
|
|
165
|
-
text: string;
|
|
166
|
-
}, {
|
|
167
|
-
type: "custom";
|
|
168
|
-
text: string;
|
|
169
|
-
}>, z.ZodObject<{
|
|
61
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
170
62
|
type: z.ZodLiteral<"link">;
|
|
171
63
|
title: z.ZodOptional<z.ZodString>;
|
|
172
64
|
link: z.ZodString;
|
|
173
|
-
},
|
|
174
|
-
type: "link";
|
|
175
|
-
link: string;
|
|
176
|
-
title?: string | undefined;
|
|
177
|
-
}, {
|
|
178
|
-
type: "link";
|
|
179
|
-
link: string;
|
|
180
|
-
title?: string | undefined;
|
|
181
|
-
}>, z.ZodObject<{
|
|
65
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
182
66
|
type: z.ZodLiteral<"schedulingCompanyAddress">;
|
|
183
67
|
companyId: z.ZodString;
|
|
184
68
|
street: z.ZodOptional<z.ZodString>;
|
|
@@ -187,25 +71,7 @@ declare const ConferenceLocationSecuredEntitySchema: z.ZodIntersection<z.ZodObje
|
|
|
187
71
|
city: z.ZodOptional<z.ZodString>;
|
|
188
72
|
state: z.ZodOptional<z.ZodString>;
|
|
189
73
|
country: z.ZodOptional<z.ZodString>;
|
|
190
|
-
},
|
|
191
|
-
type: "schedulingCompanyAddress";
|
|
192
|
-
companyId: string;
|
|
193
|
-
country?: string | undefined;
|
|
194
|
-
street?: string | undefined;
|
|
195
|
-
additionalStreet?: string | undefined;
|
|
196
|
-
zipCode?: string | undefined;
|
|
197
|
-
city?: string | undefined;
|
|
198
|
-
state?: string | undefined;
|
|
199
|
-
}, {
|
|
200
|
-
type: "schedulingCompanyAddress";
|
|
201
|
-
companyId: string;
|
|
202
|
-
country?: string | undefined;
|
|
203
|
-
street?: string | undefined;
|
|
204
|
-
additionalStreet?: string | undefined;
|
|
205
|
-
zipCode?: string | undefined;
|
|
206
|
-
city?: string | undefined;
|
|
207
|
-
state?: string | undefined;
|
|
208
|
-
}>, z.ZodObject<{
|
|
74
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
209
75
|
type: z.ZodLiteral<"conferenceLocation">;
|
|
210
76
|
street: z.ZodOptional<z.ZodString>;
|
|
211
77
|
additionalStreet: z.ZodOptional<z.ZodString>;
|
|
@@ -213,24 +79,8 @@ declare const ConferenceLocationSecuredEntitySchema: z.ZodIntersection<z.ZodObje
|
|
|
213
79
|
city: z.ZodOptional<z.ZodString>;
|
|
214
80
|
state: z.ZodOptional<z.ZodString>;
|
|
215
81
|
country: z.ZodOptional<z.ZodString>;
|
|
216
|
-
},
|
|
217
|
-
|
|
218
|
-
country?: string | undefined;
|
|
219
|
-
street?: string | undefined;
|
|
220
|
-
additionalStreet?: string | undefined;
|
|
221
|
-
zipCode?: string | undefined;
|
|
222
|
-
city?: string | undefined;
|
|
223
|
-
state?: string | undefined;
|
|
224
|
-
}, {
|
|
225
|
-
type: "conferenceLocation";
|
|
226
|
-
country?: string | undefined;
|
|
227
|
-
street?: string | undefined;
|
|
228
|
-
additionalStreet?: string | undefined;
|
|
229
|
-
zipCode?: string | undefined;
|
|
230
|
-
city?: string | undefined;
|
|
231
|
-
state?: string | undefined;
|
|
232
|
-
}>]>>;
|
|
233
|
-
declare const ConferenceLocationEntitySchema: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
82
|
+
}, z.core.$strip>], "type">>;
|
|
83
|
+
declare const ConferenceLocationEntitySchema: z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
234
84
|
type: z.ZodLiteral<"address">;
|
|
235
85
|
street: z.ZodString;
|
|
236
86
|
additionalStreet: z.ZodOptional<z.ZodString>;
|
|
@@ -241,59 +91,15 @@ declare const ConferenceLocationEntitySchema: z.ZodIntersection<z.ZodObject<{},
|
|
|
241
91
|
geolocation: z.ZodOptional<z.ZodObject<{
|
|
242
92
|
lat: z.ZodNumber;
|
|
243
93
|
lng: z.ZodNumber;
|
|
244
|
-
},
|
|
245
|
-
|
|
246
|
-
lng: number;
|
|
247
|
-
}, {
|
|
248
|
-
lat: number;
|
|
249
|
-
lng: number;
|
|
250
|
-
}>>;
|
|
251
|
-
}, "strip", z.ZodTypeAny, {
|
|
252
|
-
type: "address";
|
|
253
|
-
country: string;
|
|
254
|
-
street: string;
|
|
255
|
-
zipCode: string;
|
|
256
|
-
city: string;
|
|
257
|
-
additionalStreet?: string | undefined;
|
|
258
|
-
state?: string | undefined;
|
|
259
|
-
geolocation?: {
|
|
260
|
-
lat: number;
|
|
261
|
-
lng: number;
|
|
262
|
-
} | undefined;
|
|
263
|
-
}, {
|
|
264
|
-
type: "address";
|
|
265
|
-
country: string;
|
|
266
|
-
street: string;
|
|
267
|
-
zipCode: string;
|
|
268
|
-
city: string;
|
|
269
|
-
additionalStreet?: string | undefined;
|
|
270
|
-
state?: string | undefined;
|
|
271
|
-
geolocation?: {
|
|
272
|
-
lat: number;
|
|
273
|
-
lng: number;
|
|
274
|
-
} | undefined;
|
|
275
|
-
}>, z.ZodObject<{
|
|
94
|
+
}, z.core.$strip>>;
|
|
95
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
276
96
|
type: z.ZodLiteral<"custom">;
|
|
277
97
|
text: z.ZodString;
|
|
278
|
-
},
|
|
279
|
-
type: "custom";
|
|
280
|
-
text: string;
|
|
281
|
-
}, {
|
|
282
|
-
type: "custom";
|
|
283
|
-
text: string;
|
|
284
|
-
}>, z.ZodObject<{
|
|
98
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
285
99
|
type: z.ZodLiteral<"link">;
|
|
286
100
|
title: z.ZodOptional<z.ZodString>;
|
|
287
101
|
link: z.ZodString;
|
|
288
|
-
},
|
|
289
|
-
type: "link";
|
|
290
|
-
link: string;
|
|
291
|
-
title?: string | undefined;
|
|
292
|
-
}, {
|
|
293
|
-
type: "link";
|
|
294
|
-
link: string;
|
|
295
|
-
title?: string | undefined;
|
|
296
|
-
}>, z.ZodObject<{
|
|
102
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
297
103
|
type: z.ZodLiteral<"schedulingCompanyAddress">;
|
|
298
104
|
companyId: z.ZodString;
|
|
299
105
|
street: z.ZodOptional<z.ZodString>;
|
|
@@ -302,25 +108,7 @@ declare const ConferenceLocationEntitySchema: z.ZodIntersection<z.ZodObject<{},
|
|
|
302
108
|
city: z.ZodOptional<z.ZodString>;
|
|
303
109
|
state: z.ZodOptional<z.ZodString>;
|
|
304
110
|
country: z.ZodOptional<z.ZodString>;
|
|
305
|
-
},
|
|
306
|
-
type: "schedulingCompanyAddress";
|
|
307
|
-
companyId: string;
|
|
308
|
-
country?: string | undefined;
|
|
309
|
-
street?: string | undefined;
|
|
310
|
-
additionalStreet?: string | undefined;
|
|
311
|
-
zipCode?: string | undefined;
|
|
312
|
-
city?: string | undefined;
|
|
313
|
-
state?: string | undefined;
|
|
314
|
-
}, {
|
|
315
|
-
type: "schedulingCompanyAddress";
|
|
316
|
-
companyId: string;
|
|
317
|
-
country?: string | undefined;
|
|
318
|
-
street?: string | undefined;
|
|
319
|
-
additionalStreet?: string | undefined;
|
|
320
|
-
zipCode?: string | undefined;
|
|
321
|
-
city?: string | undefined;
|
|
322
|
-
state?: string | undefined;
|
|
323
|
-
}>, z.ZodObject<{
|
|
111
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
324
112
|
type: z.ZodLiteral<"conferenceLocation">;
|
|
325
113
|
street: z.ZodOptional<z.ZodString>;
|
|
326
114
|
additionalStreet: z.ZodOptional<z.ZodString>;
|
|
@@ -328,23 +116,7 @@ declare const ConferenceLocationEntitySchema: z.ZodIntersection<z.ZodObject<{},
|
|
|
328
116
|
city: z.ZodOptional<z.ZodString>;
|
|
329
117
|
state: z.ZodOptional<z.ZodString>;
|
|
330
118
|
country: z.ZodOptional<z.ZodString>;
|
|
331
|
-
},
|
|
332
|
-
type: "conferenceLocation";
|
|
333
|
-
country?: string | undefined;
|
|
334
|
-
street?: string | undefined;
|
|
335
|
-
additionalStreet?: string | undefined;
|
|
336
|
-
zipCode?: string | undefined;
|
|
337
|
-
city?: string | undefined;
|
|
338
|
-
state?: string | undefined;
|
|
339
|
-
}, {
|
|
340
|
-
type: "conferenceLocation";
|
|
341
|
-
country?: string | undefined;
|
|
342
|
-
street?: string | undefined;
|
|
343
|
-
additionalStreet?: string | undefined;
|
|
344
|
-
zipCode?: string | undefined;
|
|
345
|
-
city?: string | undefined;
|
|
346
|
-
state?: string | undefined;
|
|
347
|
-
}>]>>;
|
|
119
|
+
}, z.core.$strip>], "type">>;
|
|
348
120
|
export type ConferenceLocationType = z.infer<typeof ConferenceLocationTypeSchema>;
|
|
349
121
|
export type ConferenceLocationEntity = z.infer<typeof ConferenceLocationEntitySchema>;
|
|
350
122
|
export type ConferenceLocationSecuredDto = z.infer<typeof ConferenceLocationSecuredDtoSchema>;
|