@agendize/js-agendize-api 1.44.0 → 1.45.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/agendizeApi.d.ts +2 -2
- package/dist/data/Account.d.ts +2 -0
- package/dist/data/Common.d.ts +9 -3
- package/dist/data/conference/ConferenceAssignment.d.ts +154 -27
- package/dist/data/conference/ConferenceLocation.d.ts +256 -28
- package/dist/js-agendize-api.es.js +12065 -12187
- package/dist/repository/secured/externalEventSecuredRepository.d.ts +9 -0
- package/dist/repository/secured/serviceGroupSecuredRepository.d.ts +2 -1
- package/dist/repository/secured/serviceSecuredRepository.d.ts +2 -1
- package/dist/service/secured/serviceGroupSecuredService.d.ts +1 -1
- package/dist/service/secured/serviceSecuredService.d.ts +1 -1
- package/package.json +1 -1
package/dist/agendizeApi.d.ts
CHANGED
|
@@ -269,7 +269,7 @@ export declare class AgendizeApi {
|
|
|
269
269
|
local: boolean;
|
|
270
270
|
}>;
|
|
271
271
|
deleteStaff(organisation: string, companyId: string, staffId: string): Promise<void>;
|
|
272
|
-
getAllServices(companyId: string, account?: string, showDeletedDeployment?: boolean, mode?: QUERY_TYPE): Promise<{
|
|
272
|
+
getAllServices(companyId: string, account?: string, showDeletedDeployment?: boolean, sortMode?: string, mode?: QUERY_TYPE): Promise<{
|
|
273
273
|
results: ServiceEntity[] | undefined;
|
|
274
274
|
local: boolean;
|
|
275
275
|
}>;
|
|
@@ -296,7 +296,7 @@ export declare class AgendizeApi {
|
|
|
296
296
|
result: ServiceGroupEntity | undefined;
|
|
297
297
|
local: boolean;
|
|
298
298
|
}>;
|
|
299
|
-
getAllServiceGroups(companyId: string, account: string, withDisabledServices?: boolean, mode?: QUERY_TYPE): Promise<{
|
|
299
|
+
getAllServiceGroups(companyId: string, account: string, withDisabledServices?: boolean, widgetOrder?: boolean, mode?: QUERY_TYPE): Promise<{
|
|
300
300
|
results: ServiceGroupEntity[] | undefined;
|
|
301
301
|
local: boolean;
|
|
302
302
|
}>;
|
package/dist/data/Account.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ export declare class AccountSecuredEntity extends SecuredBodyEntity {
|
|
|
99
99
|
help?: HelpEntity;
|
|
100
100
|
accountSettings?: AccountSettingsEntity;
|
|
101
101
|
deploymentEnabled: boolean;
|
|
102
|
+
isReseller?: boolean;
|
|
102
103
|
constructor();
|
|
103
104
|
static fromAccountDto(dto: AccountDto): AccountSecuredEntity;
|
|
104
105
|
static fromAccountDto2(dto: AccountDto): AccountSecuredEntity;
|
|
@@ -229,4 +230,5 @@ export declare class AccountDto {
|
|
|
229
230
|
directories?: string[];
|
|
230
231
|
deploymentEnabled?: boolean;
|
|
231
232
|
help?: HelpDto;
|
|
233
|
+
isReseller?: boolean;
|
|
232
234
|
}
|
package/dist/data/Common.d.ts
CHANGED
|
@@ -10,9 +10,15 @@ export interface BodyEntityInterface {
|
|
|
10
10
|
export declare const IdNameSchema: z.ZodObject<{
|
|
11
11
|
id: z.ZodString;
|
|
12
12
|
name: z.ZodOptional<z.ZodString>;
|
|
13
|
-
}, z.
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
id: string;
|
|
15
|
+
name?: string | undefined;
|
|
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, {}, {}>;
|
|
16
22
|
declare class BodyEntity<T extends EntityType> implements BodyEntityInterface {
|
|
17
23
|
bodyEntityType: T;
|
|
18
24
|
constructor(type: T);
|
|
@@ -1,61 +1,188 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
declare const ConferenceAssigmentTypeSchema: z.ZodEnum<
|
|
3
|
-
|
|
4
|
-
none: "none";
|
|
5
|
-
allCompanies: "allCompanies";
|
|
6
|
-
companyList: "companyList";
|
|
7
|
-
}>;
|
|
8
|
-
declare const ConferenceAssignmentSecuredDtoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2
|
+
declare const ConferenceAssigmentTypeSchema: z.ZodEnum<["allCompanies", "companyList", "company", "none"]>;
|
|
3
|
+
declare const ConferenceAssignmentSecuredDtoSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
9
4
|
type: z.ZodLiteral<"allCompanies">;
|
|
10
|
-
},
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
type: "allCompanies";
|
|
7
|
+
}, {
|
|
8
|
+
type: "allCompanies";
|
|
9
|
+
}>, z.ZodObject<{
|
|
11
10
|
type: z.ZodLiteral<"companyList">;
|
|
12
11
|
companies: z.ZodArray<z.ZodObject<{
|
|
13
12
|
id: z.ZodString;
|
|
14
13
|
name: z.ZodOptional<z.ZodString>;
|
|
15
|
-
}, z.
|
|
16
|
-
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
id: string;
|
|
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<{
|
|
17
34
|
type: z.ZodLiteral<"company">;
|
|
18
35
|
company: z.ZodObject<{
|
|
19
36
|
id: z.ZodString;
|
|
20
37
|
name: z.ZodOptional<z.ZodString>;
|
|
21
|
-
}, z.
|
|
22
|
-
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
id: string;
|
|
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<{
|
|
23
58
|
type: z.ZodLiteral<"none">;
|
|
24
|
-
}, z.
|
|
25
|
-
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
type: "none";
|
|
61
|
+
}, {
|
|
62
|
+
type: "none";
|
|
63
|
+
}>]>;
|
|
64
|
+
declare const ConferenceAssignmentSecuredEntitySchema: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
26
65
|
type: z.ZodLiteral<"allCompanies">;
|
|
27
|
-
},
|
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
|
67
|
+
type: "allCompanies";
|
|
68
|
+
}, {
|
|
69
|
+
type: "allCompanies";
|
|
70
|
+
}>, z.ZodObject<{
|
|
28
71
|
type: z.ZodLiteral<"companyList">;
|
|
29
72
|
companies: z.ZodArray<z.ZodObject<{
|
|
30
73
|
id: z.ZodString;
|
|
31
74
|
name: z.ZodOptional<z.ZodString>;
|
|
32
|
-
}, z.
|
|
33
|
-
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
id: string;
|
|
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<{
|
|
34
95
|
type: z.ZodLiteral<"company">;
|
|
35
96
|
company: z.ZodObject<{
|
|
36
97
|
id: z.ZodString;
|
|
37
98
|
name: z.ZodOptional<z.ZodString>;
|
|
38
|
-
}, z.
|
|
39
|
-
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
id: string;
|
|
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<{
|
|
40
119
|
type: z.ZodLiteral<"none">;
|
|
41
|
-
}, z.
|
|
42
|
-
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
type: "none";
|
|
122
|
+
}, {
|
|
123
|
+
type: "none";
|
|
124
|
+
}>]>>;
|
|
125
|
+
declare const ConferenceAssigmentEntitySchema: z.ZodIntersection<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
43
126
|
type: z.ZodLiteral<"allCompanies">;
|
|
44
|
-
},
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
type: "allCompanies";
|
|
129
|
+
}, {
|
|
130
|
+
type: "allCompanies";
|
|
131
|
+
}>, z.ZodObject<{
|
|
45
132
|
type: z.ZodLiteral<"companyList">;
|
|
46
133
|
companies: z.ZodArray<z.ZodObject<{
|
|
47
134
|
id: z.ZodString;
|
|
48
135
|
name: z.ZodOptional<z.ZodString>;
|
|
49
|
-
}, z.
|
|
50
|
-
|
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
id: string;
|
|
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<{
|
|
51
156
|
type: z.ZodLiteral<"company">;
|
|
52
157
|
company: z.ZodObject<{
|
|
53
158
|
id: z.ZodString;
|
|
54
159
|
name: z.ZodOptional<z.ZodString>;
|
|
55
|
-
}, z.
|
|
56
|
-
|
|
160
|
+
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
id: string;
|
|
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<{
|
|
57
180
|
type: z.ZodLiteral<"none">;
|
|
58
|
-
}, z.
|
|
181
|
+
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
type: "none";
|
|
183
|
+
}, {
|
|
184
|
+
type: "none";
|
|
185
|
+
}>]>>;
|
|
59
186
|
export type ConferenceAssigmentType = z.infer<typeof ConferenceAssigmentTypeSchema>;
|
|
60
187
|
export type ConferenceAssignmentEntity = z.infer<typeof ConferenceAssigmentEntitySchema>;
|
|
61
188
|
export type ConferenceAssignmentSecuredDto = z.infer<typeof ConferenceAssignmentSecuredDtoSchema>;
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { z, ZodError } from "zod";
|
|
2
|
-
declare const ConferenceLocationTypeSchema: z.ZodEnum<
|
|
3
|
-
|
|
4
|
-
custom: "custom";
|
|
5
|
-
address: "address";
|
|
6
|
-
schedulingCompanyAddress: "schedulingCompanyAddress";
|
|
7
|
-
conferenceLocation: "conferenceLocation";
|
|
8
|
-
}>;
|
|
9
|
-
declare const ConferenceLocationSecuredDtoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2
|
+
declare const ConferenceLocationTypeSchema: z.ZodEnum<["address", "custom", "link", "schedulingCompanyAddress", "conferenceLocation"]>;
|
|
3
|
+
declare const ConferenceLocationSecuredDtoSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
10
4
|
type: z.ZodLiteral<"address">;
|
|
11
5
|
street: z.ZodString;
|
|
12
6
|
additionalStreet: z.ZodOptional<z.ZodString>;
|
|
@@ -17,15 +11,59 @@ declare const ConferenceLocationSecuredDtoSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
17
11
|
geolocation: z.ZodOptional<z.ZodObject<{
|
|
18
12
|
lat: z.ZodNumber;
|
|
19
13
|
lng: z.ZodNumber;
|
|
20
|
-
}, z.
|
|
21
|
-
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
lat: number;
|
|
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<{
|
|
22
46
|
type: z.ZodLiteral<"custom">;
|
|
23
47
|
text: z.ZodString;
|
|
24
|
-
},
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
type: "custom";
|
|
50
|
+
text: string;
|
|
51
|
+
}, {
|
|
52
|
+
type: "custom";
|
|
53
|
+
text: string;
|
|
54
|
+
}>, z.ZodObject<{
|
|
25
55
|
type: z.ZodLiteral<"link">;
|
|
26
56
|
title: z.ZodOptional<z.ZodString>;
|
|
27
57
|
link: z.ZodString;
|
|
28
|
-
},
|
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
type: "link";
|
|
60
|
+
link: string;
|
|
61
|
+
title?: string | undefined;
|
|
62
|
+
}, {
|
|
63
|
+
type: "link";
|
|
64
|
+
link: string;
|
|
65
|
+
title?: string | undefined;
|
|
66
|
+
}>, z.ZodObject<{
|
|
29
67
|
type: z.ZodLiteral<"schedulingCompanyAddress">;
|
|
30
68
|
companyId: z.ZodString;
|
|
31
69
|
street: z.ZodOptional<z.ZodString>;
|
|
@@ -34,7 +72,25 @@ declare const ConferenceLocationSecuredDtoSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
34
72
|
city: z.ZodOptional<z.ZodString>;
|
|
35
73
|
state: z.ZodOptional<z.ZodString>;
|
|
36
74
|
country: z.ZodOptional<z.ZodString>;
|
|
37
|
-
},
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
38
94
|
type: z.ZodLiteral<"conferenceLocation">;
|
|
39
95
|
street: z.ZodOptional<z.ZodString>;
|
|
40
96
|
additionalStreet: z.ZodOptional<z.ZodString>;
|
|
@@ -42,8 +98,24 @@ declare const ConferenceLocationSecuredDtoSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
42
98
|
city: z.ZodOptional<z.ZodString>;
|
|
43
99
|
state: z.ZodOptional<z.ZodString>;
|
|
44
100
|
country: z.ZodOptional<z.ZodString>;
|
|
45
|
-
}, z.
|
|
46
|
-
|
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
type: "conferenceLocation";
|
|
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<{
|
|
47
119
|
type: z.ZodLiteral<"address">;
|
|
48
120
|
street: z.ZodString;
|
|
49
121
|
additionalStreet: z.ZodOptional<z.ZodString>;
|
|
@@ -54,15 +126,59 @@ declare const ConferenceLocationSecuredEntitySchema: z.ZodIntersection<z.ZodObje
|
|
|
54
126
|
geolocation: z.ZodOptional<z.ZodObject<{
|
|
55
127
|
lat: z.ZodNumber;
|
|
56
128
|
lng: z.ZodNumber;
|
|
57
|
-
}, z.
|
|
58
|
-
|
|
129
|
+
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
lat: number;
|
|
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<{
|
|
59
161
|
type: z.ZodLiteral<"custom">;
|
|
60
162
|
text: z.ZodString;
|
|
61
|
-
},
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
type: "custom";
|
|
165
|
+
text: string;
|
|
166
|
+
}, {
|
|
167
|
+
type: "custom";
|
|
168
|
+
text: string;
|
|
169
|
+
}>, z.ZodObject<{
|
|
62
170
|
type: z.ZodLiteral<"link">;
|
|
63
171
|
title: z.ZodOptional<z.ZodString>;
|
|
64
172
|
link: z.ZodString;
|
|
65
|
-
},
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
type: "link";
|
|
175
|
+
link: string;
|
|
176
|
+
title?: string | undefined;
|
|
177
|
+
}, {
|
|
178
|
+
type: "link";
|
|
179
|
+
link: string;
|
|
180
|
+
title?: string | undefined;
|
|
181
|
+
}>, z.ZodObject<{
|
|
66
182
|
type: z.ZodLiteral<"schedulingCompanyAddress">;
|
|
67
183
|
companyId: z.ZodString;
|
|
68
184
|
street: z.ZodOptional<z.ZodString>;
|
|
@@ -71,7 +187,25 @@ declare const ConferenceLocationSecuredEntitySchema: z.ZodIntersection<z.ZodObje
|
|
|
71
187
|
city: z.ZodOptional<z.ZodString>;
|
|
72
188
|
state: z.ZodOptional<z.ZodString>;
|
|
73
189
|
country: z.ZodOptional<z.ZodString>;
|
|
74
|
-
},
|
|
190
|
+
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
75
209
|
type: z.ZodLiteral<"conferenceLocation">;
|
|
76
210
|
street: z.ZodOptional<z.ZodString>;
|
|
77
211
|
additionalStreet: z.ZodOptional<z.ZodString>;
|
|
@@ -79,8 +213,24 @@ declare const ConferenceLocationSecuredEntitySchema: z.ZodIntersection<z.ZodObje
|
|
|
79
213
|
city: z.ZodOptional<z.ZodString>;
|
|
80
214
|
state: z.ZodOptional<z.ZodString>;
|
|
81
215
|
country: z.ZodOptional<z.ZodString>;
|
|
82
|
-
}, z.
|
|
83
|
-
|
|
216
|
+
}, "strip", z.ZodTypeAny, {
|
|
217
|
+
type: "conferenceLocation";
|
|
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<{
|
|
84
234
|
type: z.ZodLiteral<"address">;
|
|
85
235
|
street: z.ZodString;
|
|
86
236
|
additionalStreet: z.ZodOptional<z.ZodString>;
|
|
@@ -91,15 +241,59 @@ declare const ConferenceLocationEntitySchema: z.ZodIntersection<z.ZodObject<{},
|
|
|
91
241
|
geolocation: z.ZodOptional<z.ZodObject<{
|
|
92
242
|
lat: z.ZodNumber;
|
|
93
243
|
lng: z.ZodNumber;
|
|
94
|
-
}, z.
|
|
95
|
-
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
lat: number;
|
|
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<{
|
|
96
276
|
type: z.ZodLiteral<"custom">;
|
|
97
277
|
text: z.ZodString;
|
|
98
|
-
},
|
|
278
|
+
}, "strip", z.ZodTypeAny, {
|
|
279
|
+
type: "custom";
|
|
280
|
+
text: string;
|
|
281
|
+
}, {
|
|
282
|
+
type: "custom";
|
|
283
|
+
text: string;
|
|
284
|
+
}>, z.ZodObject<{
|
|
99
285
|
type: z.ZodLiteral<"link">;
|
|
100
286
|
title: z.ZodOptional<z.ZodString>;
|
|
101
287
|
link: z.ZodString;
|
|
102
|
-
},
|
|
288
|
+
}, "strip", z.ZodTypeAny, {
|
|
289
|
+
type: "link";
|
|
290
|
+
link: string;
|
|
291
|
+
title?: string | undefined;
|
|
292
|
+
}, {
|
|
293
|
+
type: "link";
|
|
294
|
+
link: string;
|
|
295
|
+
title?: string | undefined;
|
|
296
|
+
}>, z.ZodObject<{
|
|
103
297
|
type: z.ZodLiteral<"schedulingCompanyAddress">;
|
|
104
298
|
companyId: z.ZodString;
|
|
105
299
|
street: z.ZodOptional<z.ZodString>;
|
|
@@ -108,7 +302,25 @@ declare const ConferenceLocationEntitySchema: z.ZodIntersection<z.ZodObject<{},
|
|
|
108
302
|
city: z.ZodOptional<z.ZodString>;
|
|
109
303
|
state: z.ZodOptional<z.ZodString>;
|
|
110
304
|
country: z.ZodOptional<z.ZodString>;
|
|
111
|
-
},
|
|
305
|
+
}, "strip", z.ZodTypeAny, {
|
|
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<{
|
|
112
324
|
type: z.ZodLiteral<"conferenceLocation">;
|
|
113
325
|
street: z.ZodOptional<z.ZodString>;
|
|
114
326
|
additionalStreet: z.ZodOptional<z.ZodString>;
|
|
@@ -116,7 +328,23 @@ declare const ConferenceLocationEntitySchema: z.ZodIntersection<z.ZodObject<{},
|
|
|
116
328
|
city: z.ZodOptional<z.ZodString>;
|
|
117
329
|
state: z.ZodOptional<z.ZodString>;
|
|
118
330
|
country: z.ZodOptional<z.ZodString>;
|
|
119
|
-
}, z.
|
|
331
|
+
}, "strip", z.ZodTypeAny, {
|
|
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
|
+
}>]>>;
|
|
120
348
|
export type ConferenceLocationType = z.infer<typeof ConferenceLocationTypeSchema>;
|
|
121
349
|
export type ConferenceLocationEntity = z.infer<typeof ConferenceLocationEntitySchema>;
|
|
122
350
|
export type ConferenceLocationSecuredDto = z.infer<typeof ConferenceLocationSecuredDtoSchema>;
|