@agendize/js-agendize-api 1.42.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.
@@ -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, mode?: QUERY_TYPE): Promise<{
299
+ getAllServiceGroups(companyId: string, account: string, withDisabledServices?: boolean, mode?: QUERY_TYPE): Promise<{
300
300
  results: ServiceGroupEntity[] | undefined;
301
301
  local: boolean;
302
302
  }>;
@@ -145,6 +145,7 @@ export declare class AccountSettingsEntity {
145
145
  name?: string;
146
146
  email?: string;
147
147
  logo?: ImageEntity;
148
+ favicon?: ImageEntity;
148
149
  primaryColor?: string;
149
150
  companyTemplate?: string;
150
151
  favoriteCompany?: string;
@@ -218,6 +219,7 @@ export declare class AccountDto {
218
219
  name?: string;
219
220
  email?: string;
220
221
  logo?: ImageEntity;
222
+ favicon?: ImageEntity;
221
223
  primaryColor?: string;
222
224
  companyTemplate?: string;
223
225
  favoriteCompany?: string;
@@ -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
- }, "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, {}, {}>;
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);
@@ -110,6 +110,7 @@ export declare class CompanySecuredEntity extends SecuredBodyEntity {
110
110
  currency?: string;
111
111
  workingHours?: SettingsWorkingDayEntity[];
112
112
  color?: string;
113
+ type?: string;
113
114
  encryptedId?: string;
114
115
  owner: {
115
116
  id: string;
@@ -166,5 +167,6 @@ export declare class CompanySecuredDto {
166
167
  }[];
167
168
  pmrAccess?: boolean;
168
169
  color?: string;
170
+ type?: string;
169
171
  static fromDto(dto: CompanySecuredDto): CompanySecuredEntity;
170
172
  }
@@ -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
  }
@@ -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 {
@@ -117,6 +117,7 @@ export interface SettingsRight {
117
117
  googleAuth: string;
118
118
  myAgendizeAuth: string;
119
119
  mConnectAuth: string;
120
+ mobility: string;
120
121
  }
121
122
  export interface ReportRight {
122
123
  report: string;
@@ -1,188 +1,61 @@
1
1
  import { z } from "zod";
2
- declare const ConferenceAssigmentTypeSchema: z.ZodEnum<["allCompanies", "companyList", "company", "none"]>;
3
- declare const ConferenceAssignmentSecuredDtoSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
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
- }, "strip", z.ZodTypeAny, {
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
- }, "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<{
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
- }, "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<{
21
+ }, z.core.$strip>;
22
+ }, z.core.$strip>, z.ZodObject<{
58
23
  type: z.ZodLiteral<"none">;
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<{
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
- }, "strip", z.ZodTypeAny, {
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
- }, "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<{
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
- }, "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<{
38
+ }, z.core.$strip>;
39
+ }, z.core.$strip>, z.ZodObject<{
119
40
  type: z.ZodLiteral<"none">;
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<{
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
- }, "strip", z.ZodTypeAny, {
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
- }, "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<{
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
- }, "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<{
55
+ }, z.core.$strip>;
56
+ }, z.core.$strip>, z.ZodObject<{
180
57
  type: z.ZodLiteral<"none">;
181
- }, "strip", z.ZodTypeAny, {
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>;