@agendize/js-agendize-api 1.41.1 → 1.43.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;
@@ -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
  }
@@ -127,6 +127,7 @@ export declare class FormItemEntity {
127
127
  multiple?: boolean;
128
128
  bind?: string;
129
129
  bindGroup?: string;
130
+ countries?: string[];
130
131
  static fromFormDto(dto: FormItemDto, options?: FormDtoOptionParser): FormItemEntity;
131
132
  static fromWidgetFormItemDto(dto: WidgetFormItemDto): FormItemEntity;
132
133
  static toFormDto(entity: FormItemEntity): FormItemDto;
@@ -153,6 +154,7 @@ export declare class FormItemEntity {
153
154
  disabled: boolean | undefined;
154
155
  minlength: number | undefined;
155
156
  maxlength: number | undefined;
157
+ countries: string[] | undefined;
156
158
  };
157
159
  static formItemsToFormFields(formItems: FormItemEntity[], extractSubItem?: boolean, showInvisible?: boolean): any[] | undefined;
158
160
  }
@@ -196,6 +198,7 @@ export declare class FormItemDto {
196
198
  timeZone: string;
197
199
  };
198
200
  required?: boolean;
201
+ countries?: string[];
199
202
  }
200
203
  export declare class WidgetFormItemDto {
201
204
  id: string;
@@ -221,6 +224,7 @@ export declare class WidgetFormItemDto {
221
224
  category?: boolean;
222
225
  bind?: string;
223
226
  bindGroup?: string;
227
+ countries?: string[];
224
228
  }
225
229
  export declare class FormValueDto {
226
230
  id: string;
@@ -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;
@@ -5646,7 +5646,7 @@ class qv {
5646
5646
  a(this, "end");
5647
5647
  }
5648
5648
  }
5649
- class Ie {
5649
+ class Ce {
5650
5650
  constructor(t, e, r) {
5651
5651
  a(this, "mimeType");
5652
5652
  a(this, "url");
@@ -5657,18 +5657,18 @@ class Ie {
5657
5657
  if (!t)
5658
5658
  return;
5659
5659
  const e = t.url.includes("?") ? "&" : "?";
5660
- return new Ie(t.mimeType, t.url && t.url.startsWith("http") ? t.url + e + Math.random().toString(32) : t.url, t.data);
5660
+ return new Ce(t.mimeType, t.url && t.url.startsWith("http") ? t.url + e + Math.random().toString(32) : t.url, t.data);
5661
5661
  }
5662
5662
  static toImageDto(t) {
5663
5663
  let e;
5664
5664
  if (t) {
5665
5665
  const r = JSON.parse(JSON.stringify(t));
5666
- r.data !== void 0 && (e = new Ie(r.mimeType, r.url, r.data));
5666
+ r.data !== void 0 && (e = new Ce(r.mimeType, r.url, r.data));
5667
5667
  }
5668
5668
  return e;
5669
5669
  }
5670
5670
  static fromFileData(t, e) {
5671
- return t ? new Ie("", "", "") : e ? new Ie("", "", e) : void 0;
5671
+ return t ? new Ce("", "", "") : e ? new Ce("", "", e) : void 0;
5672
5672
  }
5673
5673
  }
5674
5674
  class oi {
@@ -8743,7 +8743,7 @@ class _u {
8743
8743
  }
8744
8744
  static fromDto(t) {
8745
8745
  const e = new _u();
8746
- return e.accountName = I(t.accountName), e.accountColor = t.accountColor, e.enableWhiteLabel = t.enableWhiteLabel, e.usageCondition = ro.fromDto(t.usageCondition), e.privacyPolicy = ro.fromDto(t.privacyPolicy), e.logo = Ie.fromImageDto(t.logo), e.favicon = Ie.fromImageDto(t.favicon), e;
8746
+ return e.accountName = I(t.accountName), e.accountColor = t.accountColor, e.enableWhiteLabel = t.enableWhiteLabel, e.usageCondition = ro.fromDto(t.usageCondition), e.privacyPolicy = ro.fromDto(t.privacyPolicy), e.logo = Ce.fromImageDto(t.logo), e.favicon = Ce.fromImageDto(t.favicon), e;
8747
8747
  }
8748
8748
  }
8749
8749
  class Tu {
@@ -8785,7 +8785,7 @@ class Hr extends st {
8785
8785
  static fromAccountDto(e) {
8786
8786
  var n, i, o;
8787
8787
  const r = new Hr();
8788
- if (r.id = e.id, r.firstName = sr(e.firstName), r.lastName = sr(e.lastName), r.email = e.email, r.userDomain = ((n = e.userDomain) == null ? void 0 : n.replace("http://", "https://")) ?? "", r.userWidgetDomain = ((i = e.userWidgetDomain) == null ? void 0 : i.replace("http://", "https://")) ?? "", r.languageVariant = e.languageVariant, r.appointmentPanelVersion = e.appointmentPanelVersion, r.picture = Ie.fromImageDto(e.picture), e.profileSettings) {
8788
+ if (r.id = e.id, r.firstName = sr(e.firstName), r.lastName = sr(e.lastName), r.email = e.email, r.userDomain = ((n = e.userDomain) == null ? void 0 : n.replace("http://", "https://")) ?? "", r.userWidgetDomain = ((i = e.userWidgetDomain) == null ? void 0 : i.replace("http://", "https://")) ?? "", r.languageVariant = e.languageVariant, r.appointmentPanelVersion = e.appointmentPanelVersion, r.picture = Ce.fromImageDto(e.picture), e.profileSettings) {
8789
8789
  const c = new Bf();
8790
8790
  c.locale = e.profileSettings.language, c.timeZone = e.profileSettings.timeZone, c.country = e.profileSettings.country, c.defaultAccount = e.profileSettings.defaultAccount, c.homePage = e.profileSettings.homePage, c.accountName = e.profileSettings.accountName, c.betaNh = e.profileSettings.betaNh, c.hasSyncModule = e.profileSettings.hasSyncModule, c.externalLinks = e.profileSettings.externalLinks, c.realm = e.profileSettings.realm, c.hasVisio = e.profileSettings.hasVisio, c.onlyOwnedNotification = e.profileSettings.onlyOwnedNotification, r.profileSettings = c;
8791
8791
  }
@@ -8798,7 +8798,7 @@ class Hr extends st {
8798
8798
  return l.userId = c.userId, l.active = c.active, l.organisationId = c.organisationId, l.organisation = c.organisation, l.organisationName = sr(c.organisationName), l.rightIds = c.rightIds, l;
8799
8799
  }), e.accountSettings) {
8800
8800
  const c = new tw();
8801
- c.name = sr(e.accountSettings.name), c.email = e.accountSettings.email, c.logo = Ie.fromImageDto(e.accountSettings.logo), c.primaryColor = e.accountSettings.primaryColor, c.companyTemplate = e.accountSettings.companyTemplate, c.favoriteCompany = e.accountSettings.favoriteCompany, c.languages = e.accountSettings.languages, r.accountSettings = c;
8801
+ c.name = sr(e.accountSettings.name), c.email = e.accountSettings.email, c.logo = Ce.fromImageDto(e.accountSettings.logo), c.favicon = Ce.fromImageDto(e.accountSettings.favicon), c.primaryColor = e.accountSettings.primaryColor, c.companyTemplate = e.accountSettings.companyTemplate, c.favoriteCompany = e.accountSettings.favoriteCompany, c.languages = e.accountSettings.languages, r.accountSettings = c;
8802
8802
  }
8803
8803
  return r.directories = e.directories, r.deploymentEnabled = e.deploymentEnabled ?? !1, e.help && (r.help = oi.fromHelpDto(e.help)), r;
8804
8804
  }
@@ -8808,16 +8808,16 @@ class Hr extends st {
8808
8808
  const r = new Hr();
8809
8809
  r.id = e.id, r.firstName = I(e.firstName), r.lastName = I(e.lastName), r.email = e.email, r.userDomain = ((i = e.userDomain) == null ? void 0 : i.replace("http://", "https://")) ?? "", r.userWidgetDomain = ((o = e.userWidgetDomain) == null ? void 0 : o.replace("http://", "https://")) ?? "";
8810
8810
  const n = new Bf();
8811
- if (n.defaultAccount = e.defaultAccount, n.homePage = (c = e.profileSettings) == null ? void 0 : c.homePage, n.locale = (u = (l = e.profileSettings) == null ? void 0 : l.preferences) == null ? void 0 : u.language, n.timeZone = (f = (d = e.profileSettings) == null ? void 0 : d.preferences) == null ? void 0 : f.timeZone, n.country = (m = (h = e.profileSettings) == null ? void 0 : h.preferences) == null ? void 0 : m.country, n.betaNh = (y = e.profileSettings) == null ? void 0 : y.betaNh, n.externalLinks = (x = e.profileSettings) == null ? void 0 : x.externalLinks, n.realm = (p = e.profileSettings) == null ? void 0 : p.realm, n.hasVisio = (w = e.profileSettings) == null ? void 0 : w.hasVisio, n.onlyOwnedNotification = (g = e.profileSettings) == null ? void 0 : g.onlyOwnedNotification, r.profileSettings = n, r.picture = Ie.fromImageDto(e.picture), e.profileSettings && e.profileSettings.calendar) {
8811
+ if (n.defaultAccount = e.defaultAccount, n.homePage = (c = e.profileSettings) == null ? void 0 : c.homePage, n.locale = (u = (l = e.profileSettings) == null ? void 0 : l.preferences) == null ? void 0 : u.language, n.timeZone = (f = (d = e.profileSettings) == null ? void 0 : d.preferences) == null ? void 0 : f.timeZone, n.country = (m = (h = e.profileSettings) == null ? void 0 : h.preferences) == null ? void 0 : m.country, n.betaNh = (y = e.profileSettings) == null ? void 0 : y.betaNh, n.externalLinks = (x = e.profileSettings) == null ? void 0 : x.externalLinks, n.realm = (p = e.profileSettings) == null ? void 0 : p.realm, n.hasVisio = (w = e.profileSettings) == null ? void 0 : w.hasVisio, n.onlyOwnedNotification = (g = e.profileSettings) == null ? void 0 : g.onlyOwnedNotification, r.profileSettings = n, r.picture = Ce.fromImageDto(e.picture), e.profileSettings && e.profileSettings.calendar) {
8812
8812
  const v = new Lf();
8813
8813
  v.minTime = e.profileSettings.calendar.minTime, v.maxTime = e.profileSettings.calendar.maxTime, v.eventColor = e.profileSettings.calendar.eventColor, v.displayDays = e.profileSettings.calendar.displayedDays, v.eventName = e.profileSettings.calendar.eventName, v.slotDuration = e.profileSettings.calendar.slotDuration, v.showBuffer = e.profileSettings.calendar.showBuffer, v.privatizeExternal = e.profileSettings.calendar.privatizeExternal, v.defaultView = e.profileSettings.calendar.defaultView, r.calendarSettings = v;
8814
8814
  }
8815
8815
  return r.directories = e.directories, r.deploymentEnabled = e.deploymentEnabled ?? !1, e.help && (r.help = oi.fromHelpDto(e.help)), r;
8816
8816
  }
8817
8817
  static toAccountDto(e) {
8818
- var n, i, o, c, l, u, d, f, h, m, y, x;
8818
+ var n, i, o, c, l, u, d, f, h, m, y, x, p;
8819
8819
  const r = new Ff();
8820
- return r.id = e.id, r.firstName = sr(e.firstName), r.lastName = sr(e.lastName), r.email = e.email, e.userWidgetDomain !== "" && (r.userWidgetDomain = e.userWidgetDomain), r.picture = Ie.toImageDto(e.picture), r.profileSettings = {
8820
+ return r.id = e.id, r.firstName = sr(e.firstName), r.lastName = sr(e.lastName), r.email = e.email, e.userWidgetDomain !== "" && (r.userWidgetDomain = e.userWidgetDomain), r.picture = Ce.toImageDto(e.picture), r.profileSettings = {
8821
8821
  preferences: {
8822
8822
  language: (n = e.profileSettings) == null ? void 0 : n.locale,
8823
8823
  timeZone: (i = e.profileSettings) == null ? void 0 : i.timeZone,
@@ -8841,13 +8841,14 @@ class Hr extends st {
8841
8841
  name: (h = e.accountSettings) == null ? void 0 : h.name,
8842
8842
  email: (m = e.accountSettings) == null ? void 0 : m.email,
8843
8843
  primaryColor: (y = e.accountSettings) == null ? void 0 : y.primaryColor,
8844
- logo: (x = e.accountSettings) == null ? void 0 : x.logo
8844
+ logo: (x = e.accountSettings) == null ? void 0 : x.logo,
8845
+ favicon: (p = e.accountSettings) == null ? void 0 : p.favicon
8845
8846
  }), r.directories = e.directories, r;
8846
8847
  }
8847
8848
  static toAccountDto2(e) {
8848
- var n, i, o, c, l, u, d, f, h, m, y, x, p, w, g;
8849
+ var n, i, o, c, l, u, d, f, h, m, y, x, p, w, g, v;
8849
8850
  const r = new Ff();
8850
- return r.id = e.id, r.firstName = sr(e.firstName), r.lastName = sr(e.lastName), r.email = e.email, e.userDomain !== "" && (r.userDomain = e.userDomain), r.languageVariant = e.languageVariant, r.appointmentPanelVersion = e.appointmentPanelVersion, e.userWidgetDomain !== "" && (r.userWidgetDomain = e.userWidgetDomain), r.picture = Ie.toImageDto(e.picture), e.profileSettings && (r.profileSettings = {
8851
+ return r.id = e.id, r.firstName = sr(e.firstName), r.lastName = sr(e.lastName), r.email = e.email, e.userDomain !== "" && (r.userDomain = e.userDomain), r.languageVariant = e.languageVariant, r.appointmentPanelVersion = e.appointmentPanelVersion, e.userWidgetDomain !== "" && (r.userWidgetDomain = e.userWidgetDomain), r.picture = Ce.toImageDto(e.picture), e.profileSettings && (r.profileSettings = {
8851
8852
  language: (n = e.profileSettings) == null ? void 0 : n.locale,
8852
8853
  timeZone: (i = e.profileSettings) == null ? void 0 : i.timeZone,
8853
8854
  country: (o = e.profileSettings) == null ? void 0 : o.country,
@@ -8873,7 +8874,8 @@ class Hr extends st {
8873
8874
  name: (x = e.accountSettings) == null ? void 0 : x.name,
8874
8875
  email: (p = e.accountSettings) == null ? void 0 : p.email,
8875
8876
  primaryColor: (w = e.accountSettings) == null ? void 0 : w.primaryColor,
8876
- logo: (g = e.accountSettings) == null ? void 0 : g.logo
8877
+ logo: (g = e.accountSettings) == null ? void 0 : g.logo,
8878
+ favicon: (v = e.accountSettings) == null ? void 0 : v.favicon
8877
8879
  }), r.directories = e.directories, r;
8878
8880
  }
8879
8881
  }
@@ -8921,6 +8923,7 @@ class tw {
8921
8923
  a(this, "name");
8922
8924
  a(this, "email");
8923
8925
  a(this, "logo");
8926
+ a(this, "favicon");
8924
8927
  a(this, "primaryColor");
8925
8928
  a(this, "companyTemplate");
8926
8929
  a(this, "favoriteCompany");
@@ -9089,7 +9092,7 @@ class Ei extends nt {
9089
9092
  toDto() {
9090
9093
  var r;
9091
9094
  const e = new sw();
9092
- return e.id = this.id, e.name = this.name, e.accountId = this.accountId, this.address && (e.address = Tr.toAddressDto(this.address)), e.email = this.email, this.photo && (e.photo = Ie.toImageDto(this.photo)), this.picture && (e.picture = Ie.toImageDto(this.picture)), e.phone = this.phone, e.description = this.description, e.socialMedias = {
9095
+ return e.id = this.id, e.name = this.name, e.accountId = this.accountId, this.address && (e.address = Tr.toAddressDto(this.address)), e.email = this.email, this.photo && (e.photo = Ce.toImageDto(this.photo)), this.picture && (e.picture = Ce.toImageDto(this.picture)), e.phone = this.phone, e.description = this.description, e.socialMedias = {
9093
9096
  twitterLink: this.twitterLink,
9094
9097
  facebookPageLink: this.facebookLink,
9095
9098
  instagramLink: this.instagramLink,
@@ -9103,7 +9106,7 @@ class Ei extends nt {
9103
9106
  static fromDto(e) {
9104
9107
  var n, i, o, c, l, u;
9105
9108
  const r = new Ei();
9106
- return r.id = e.id, r.name = I(e.name), r.accountId = e.accountId, e.address && (r.address = Tr.fromAddressDto(e.address)), e.photo && (r.photo = new Ie(e.photo.mimeType, e.photo.url, e.photo.data)), e.picture && (r.picture = new Ie(e.picture.mimeType, e.picture.url, e.picture.data)), r.phone = e.phone, r.email = e.email, r.description = I(e.description), r.instagramLink = (n = e.socialMedias) == null ? void 0 : n.instagramLink, r.twitterLink = (i = e.socialMedias) == null ? void 0 : i.twitterLink, r.facebookLink = (o = e.socialMedias) == null ? void 0 : o.facebookPageLink, r.linkedInLink = (c = e.socialMedias) == null ? void 0 : c.linkedInLink, r.googleBusinessReviewLink = (l = e.socialMedias) == null ? void 0 : l.googleBusinessReviewLink, r.websiteLink = e.websiteLink, r.timeZone = e.timeZone, r.workingHours = [], e.currency && (r.currency = { iso: e.currency.iso, symbol: I(e.currency.symbol) }), r.scheduledItems = e.scheduledItems, r.headerBackgroundColor = e.headerBackgroundColor, r.displayPrice = e.displayPrice, r.randomStaff = e.randomStaff, r.enableWhiteLabel = e.enableWhiteLabel, r.extendedProperties = e.extendedProperties, r.crmBindKey = e.crmBindKey, (u = e.workingHours) == null || u.forEach((d) => {
9109
+ return r.id = e.id, r.name = I(e.name), r.accountId = e.accountId, e.address && (r.address = Tr.fromAddressDto(e.address)), e.photo && (r.photo = new Ce(e.photo.mimeType, e.photo.url, e.photo.data)), e.picture && (r.picture = new Ce(e.picture.mimeType, e.picture.url, e.picture.data)), r.phone = e.phone, r.email = e.email, r.description = I(e.description), r.instagramLink = (n = e.socialMedias) == null ? void 0 : n.instagramLink, r.twitterLink = (i = e.socialMedias) == null ? void 0 : i.twitterLink, r.facebookLink = (o = e.socialMedias) == null ? void 0 : o.facebookPageLink, r.linkedInLink = (c = e.socialMedias) == null ? void 0 : c.linkedInLink, r.googleBusinessReviewLink = (l = e.socialMedias) == null ? void 0 : l.googleBusinessReviewLink, r.websiteLink = e.websiteLink, r.timeZone = e.timeZone, r.workingHours = [], e.currency && (r.currency = { iso: e.currency.iso, symbol: I(e.currency.symbol) }), r.scheduledItems = e.scheduledItems, r.headerBackgroundColor = e.headerBackgroundColor, r.displayPrice = e.displayPrice, r.randomStaff = e.randomStaff, r.enableWhiteLabel = e.enableWhiteLabel, r.extendedProperties = e.extendedProperties, r.crmBindKey = e.crmBindKey, (u = e.workingHours) == null || u.forEach((d) => {
9107
9110
  var f;
9108
9111
  return (f = r.workingHours) == null ? void 0 : f.push(Gt.fromSettingsWorkingDayDto(d));
9109
9112
  }), r.pmrAccess = e.pmrAccess, r.color = e.color, r;
@@ -9157,6 +9160,7 @@ class no extends st {
9157
9160
  a(this, "currency");
9158
9161
  a(this, "workingHours");
9159
9162
  a(this, "color");
9163
+ a(this, "type");
9160
9164
  //champs public spécifique
9161
9165
  a(this, "encryptedId");
9162
9166
  a(this, "owner");
@@ -9172,7 +9176,7 @@ class no extends st {
9172
9176
  static toDto(e) {
9173
9177
  var n, i, o;
9174
9178
  const r = new xn();
9175
- return r.id = e.id, r.encryptedId = e.encryptedId, e.owner && (r.owner = { id: e.owner.id, userName: e.owner.userName }), r.name = j(e.name), r.address = e.address ? Tr.toAddressDto(e.address) : void 0, r.geolocation = e.geolocation ? jo.toDto(e.geolocation) : void 0, r.email = e.email, e.photo && (r.photo = Ie.toImageDto(e.photo)), e.picture && (r.picture = Ie.toImageDto(e.picture)), r.phone = e.phone, r.description = j(e.description), r.socialMedias = {
9179
+ return r.id = e.id, r.encryptedId = e.encryptedId, e.owner && (r.owner = { id: e.owner.id, userName: e.owner.userName }), r.name = j(e.name), r.address = e.address ? Tr.toAddressDto(e.address) : void 0, r.geolocation = e.geolocation ? jo.toDto(e.geolocation) : void 0, r.email = e.email, e.photo && (r.photo = Ce.toImageDto(e.photo)), e.picture && (r.picture = Ce.toImageDto(e.picture)), r.phone = e.phone, r.description = j(e.description), r.socialMedias = {
9176
9180
  twitteLink: e.twitterLink,
9177
9181
  facebookPageLink: e.facebookLink,
9178
9182
  instagramLink: e.instagramLink,
@@ -9219,11 +9223,12 @@ class xn {
9219
9223
  a(this, "externalCalendars");
9220
9224
  a(this, "pmrAccess");
9221
9225
  a(this, "color");
9226
+ a(this, "type");
9222
9227
  }
9223
9228
  static fromDto(t) {
9224
9229
  var r, n, i, o, c, l, u, d;
9225
9230
  const e = new no();
9226
- return e.id = t.id, e.encryptedId = t.encryptedId, t.owner && (e.owner = { id: t.owner.id, userName: t.owner.userName }), e.name = I(t.name), e.address = t.address ? Tr.fromAddressDto(t.address) : void 0, e.geolocation = t.geolocation ? jo.fromDto(t.geolocation) : void 0, e.photo = Ie.fromImageDto(t.photo), e.picture = Ie.fromImageDto(t.picture), e.phone = t.phone, e.email = t.email, e.description = I(t.description), e.instagramLink = (r = t.socialMedias) == null ? void 0 : r.instagramLink, e.twitterLink = (n = t.socialMedias) == null ? void 0 : n.twitteLink, e.facebookLink = (i = t.socialMedias) == null ? void 0 : i.facebookPageLink, e.linkedInLink = (o = t.socialMedias) == null ? void 0 : o.linkedInLink, e.googleBusinessReviewLink = (c = t.socialMedias) == null ? void 0 : c.googleBusinessReviewLink, e.websiteLink = t.websiteLink, e.timeZone = t.timeZone, e.externalId = I(t.externalId), e.pmrAccess = t.pmrAccess, e.color = t.color, e.workingHours = [], (l = t.workingHours) == null || l.forEach((f) => {
9231
+ return e.id = t.id, e.encryptedId = t.encryptedId, e.type = t.type, t.owner && (e.owner = { id: t.owner.id, userName: t.owner.userName }), e.name = I(t.name), e.address = t.address ? Tr.fromAddressDto(t.address) : void 0, e.geolocation = t.geolocation ? jo.fromDto(t.geolocation) : void 0, e.photo = Ce.fromImageDto(t.photo), e.picture = Ce.fromImageDto(t.picture), e.phone = t.phone, e.email = t.email, e.description = I(t.description), e.instagramLink = (r = t.socialMedias) == null ? void 0 : r.instagramLink, e.twitterLink = (n = t.socialMedias) == null ? void 0 : n.twitteLink, e.facebookLink = (i = t.socialMedias) == null ? void 0 : i.facebookPageLink, e.linkedInLink = (o = t.socialMedias) == null ? void 0 : o.linkedInLink, e.googleBusinessReviewLink = (c = t.socialMedias) == null ? void 0 : c.googleBusinessReviewLink, e.websiteLink = t.websiteLink, e.timeZone = t.timeZone, e.externalId = I(t.externalId), e.pmrAccess = t.pmrAccess, e.color = t.color, e.type = t.type, e.workingHours = [], (l = t.workingHours) == null || l.forEach((f) => {
9227
9232
  var h;
9228
9233
  return (h = e.workingHours) == null ? void 0 : h.push(Gt.fromSettingsWorkingDayDto(f));
9229
9234
  }), e.vacations = [], (u = t.vacations) == null || u.forEach((f) => {
@@ -9433,6 +9438,7 @@ class Oe {
9433
9438
  a(this, "multiple");
9434
9439
  a(this, "bind");
9435
9440
  a(this, "bindGroup");
9441
+ a(this, "countries");
9436
9442
  }
9437
9443
  //TODO ces champs doivent être supprimé
9438
9444
  //name?: string
@@ -9453,7 +9459,7 @@ class Oe {
9453
9459
  r.value = n.split(x);
9454
9460
  } else
9455
9461
  r.value = n;
9456
- return t.zonedDateTime && (r.value = Te(t.zonedDateTime.dateTime, t.zonedDateTime.timeZone)), r;
9462
+ return t.zonedDateTime && (r.value = Te(t.zonedDateTime.dateTime, t.zonedDateTime.timeZone)), r.countries = t.countries, r;
9457
9463
  }
9458
9464
  static fromWidgetFormItemDto(t) {
9459
9465
  var n;
@@ -9462,7 +9468,7 @@ class Oe {
9462
9468
  const r = [];
9463
9469
  return (n = t.values) == null || n.forEach((i) => {
9464
9470
  r.push(or.fromCustomFormValueDto(i));
9465
- }), e.values = r, e.readonly = t.readonly, e.fileName = t.fileName, e.multiple = t.multiple, e.category = t.category, e.pattern = t.pattern, e.minlength = t.minlength, e.maxlength = t.maxlength, e.formatType = t.pattern ? "regex" : "none", e.externalId = t.externalId, e.help = t.help, e.placeholder = t.placeholder, e.bind = t.bind, e.bindGroup = t.bindGroup, e.value = I(t.value), e;
9471
+ }), e.values = r, e.readonly = t.readonly, e.fileName = t.fileName, e.multiple = t.multiple, e.category = t.category, e.pattern = t.pattern, e.minlength = t.minlength, e.maxlength = t.maxlength, e.formatType = t.pattern ? "regex" : "none", e.externalId = t.externalId, e.help = t.help, e.placeholder = t.placeholder, e.bind = t.bind, e.bindGroup = t.bindGroup, e.value = I(t.value), e.countries = t.countries, e;
9466
9472
  }
9467
9473
  static toFormDto(t) {
9468
9474
  var o, c, l;
@@ -9513,7 +9519,8 @@ class Oe {
9513
9519
  pattern: t.pattern,
9514
9520
  disabled: t.disabled,
9515
9521
  minlength: t.minlength,
9516
- maxlength: t.maxlength
9522
+ maxlength: t.maxlength,
9523
+ countries: t.countries
9517
9524
  };
9518
9525
  }
9519
9526
  static formItemsToFormFields(t, e = !1, r = !1) {
@@ -9560,6 +9567,7 @@ class cw {
9560
9567
  a(this, "zonedDateTime");
9561
9568
  //champs spécifiques à l'api public
9562
9569
  a(this, "required");
9570
+ a(this, "countries");
9563
9571
  }
9564
9572
  }
9565
9573
  class lw {
@@ -9582,7 +9590,7 @@ class Si extends nt {
9582
9590
  }
9583
9591
  static fromDto(e) {
9584
9592
  const r = new Si();
9585
- return r.id = e.id, r.name = I(e.name), r.firstName = I(e.firstName), r.lastName = I(e.lastName), e.picture && (r.picture = new Ie(e.picture.mimeType, e.picture.url, e.picture.data)), r.extendedProperties = e.extendedProperties, r;
9593
+ return r.id = e.id, r.name = I(e.name), r.firstName = I(e.firstName), r.lastName = I(e.lastName), e.picture && (r.picture = new Ce(e.picture.mimeType, e.picture.url, e.picture.data)), r.extendedProperties = e.extendedProperties, r;
9586
9594
  }
9587
9595
  }
9588
9596
  class Yt extends st {
@@ -9638,7 +9646,7 @@ class Yt extends st {
9638
9646
  })), e.externalCalendars && (r.externalCalendars = [], e.externalCalendars.forEach((i) => {
9639
9647
  var o;
9640
9648
  return (o = r.externalCalendars) == null ? void 0 : o.push(i);
9641
- })), e.calendarLink && (r.calendarLink = { mineType: e.calendarLink.mineType, url: e.calendarLink.url }), e.connectors && (r.connectors = e.connectors), e.picture && (r.picture = Ie.fromImageDto(e.picture)), e.services && (r.servicesSkill = [], e.services.forEach((i) => {
9649
+ })), e.calendarLink && (r.calendarLink = { mineType: e.calendarLink.mineType, url: e.calendarLink.url }), e.connectors && (r.connectors = e.connectors), e.picture && (r.picture = Ce.fromImageDto(e.picture)), e.services && (r.servicesSkill = [], e.services.forEach((i) => {
9642
9650
  var o;
9643
9651
  (o = r.servicesSkill) == null || o.push(i.id);
9644
9652
  })), r.color = e.color, r.availableForWidget = e.availableForWidget, r;
@@ -9664,7 +9672,7 @@ class Yt extends st {
9664
9672
  })), e.externalCalendars && (r.externalCalendars = [], e.externalCalendars.forEach((i) => {
9665
9673
  var o;
9666
9674
  return (o = r.externalCalendars) == null ? void 0 : o.push(i);
9667
- })), e.calendarLink && (r.calendarLink = { mineType: e.calendarLink.mineType, url: e.calendarLink.url }), e.picture && (r.picture = Ie.toImageDto(e.picture)), e.servicesSkill && (r.services = [], e.servicesSkill.forEach((i) => {
9675
+ })), e.calendarLink && (r.calendarLink = { mineType: e.calendarLink.mineType, url: e.calendarLink.url }), e.picture && (r.picture = Ce.toImageDto(e.picture)), e.servicesSkill && (r.services = [], e.servicesSkill.forEach((i) => {
9668
9676
  var o;
9669
9677
  (o = r.services) == null || o.push({ id: i });
9670
9678
  })), r.color = e.color, r.availableForWidget = e.availableForWidget, r;
@@ -9709,7 +9717,7 @@ class ku extends nt {
9709
9717
  }
9710
9718
  static fromDto(e) {
9711
9719
  const r = new ku();
9712
- if (r.id = e.id, r.name = I(e.name), e.picture && (r.picture = new Ie(e.picture.mimeType, e.picture.url, e.picture.data)), r.parent = e.parent, e.members) {
9720
+ if (r.id = e.id, r.name = I(e.name), e.picture && (r.picture = new Ce(e.picture.mimeType, e.picture.url, e.picture.data)), r.parent = e.parent, e.members) {
9713
9721
  const n = [];
9714
9722
  e.members.forEach((i) => n.push({ id: i.id })), r.members = n;
9715
9723
  }
@@ -9732,14 +9740,14 @@ class wr extends st {
9732
9740
  }
9733
9741
  static fromServiceGroupDto(e, r) {
9734
9742
  const n = new wr();
9735
- return n.id = e.id, n.name = I(e.name), n.color = e.color, n.picture = Ie.fromImageDto(e.picture), e.members && (n.members = [], e.members.forEach((i) => {
9743
+ return n.id = e.id, n.name = I(e.name), n.color = e.color, n.picture = Ce.fromImageDto(e.picture), e.members && (n.members = [], e.members.forEach((i) => {
9736
9744
  var o;
9737
9745
  (o = n.members) == null || o.push({ id: i.id, name: I(i.name) });
9738
9746
  })), e.parent && (n.parent = { id: e.parent.id, name: I(e.parent.name) }), n.externalId = I(e.externalId), n.companyId = r, n.cipherId = e.cipherId, n;
9739
9747
  }
9740
9748
  static toServiceGroupDto(e) {
9741
9749
  const r = new dw();
9742
- return r.id = e.id, r.name = j(e.name), r.color = e.color, r.picture = Ie.toImageDto(e.picture), e.members && (r.members = [], e.members.forEach((n) => {
9750
+ return r.id = e.id, r.name = j(e.name), r.color = e.color, r.picture = Ce.toImageDto(e.picture), e.members && (r.members = [], e.members.forEach((n) => {
9743
9751
  var i;
9744
9752
  (i = r.members) == null || i.push({ id: n.id, name: j(n.name) });
9745
9753
  })), e.parent && (r.parent = { id: e.parent.id, name: j(e.parent.name) }), r.externalId = j(e.externalId), r;
@@ -9779,7 +9787,7 @@ class Hi extends nt {
9779
9787
  }
9780
9788
  static fromDto(e) {
9781
9789
  const r = new Hi();
9782
- return r.id = e.id, r.name = I(e.name), e.description && (r.description = bu(e.description)), r.payable = e.payable, r.price = e.price, r.maxCancellationDelay = e.maxCancellationDelay, e.picture && (r.picture = new Ie(e.picture.mimeType, e.picture.url, e.picture.data)), r.readableDuration = e.readableDuration, r.duration = e.duration, r.locations = e.locations, e.locationCustom && (r.locationCustom = I(e.locationCustom)), e.minAppointment && (r.minAppointmentDate = Wt({ dateTime: e.minAppointment })), e.maxAppointment && (r.maxAppointmentDate = Wt({ dateTime: e.maxAppointment })), r.staffs = e.staffs, r.externalId = e.externalId, r.extendedProperties = e.extendedProperties, r;
9790
+ return r.id = e.id, r.name = I(e.name), e.description && (r.description = bu(e.description)), r.payable = e.payable, r.price = e.price, r.maxCancellationDelay = e.maxCancellationDelay, e.picture && (r.picture = new Ce(e.picture.mimeType, e.picture.url, e.picture.data)), r.readableDuration = e.readableDuration, r.duration = e.duration, r.locations = e.locations, e.locationCustom && (r.locationCustom = I(e.locationCustom)), e.minAppointment && (r.minAppointmentDate = Wt({ dateTime: e.minAppointment })), e.maxAppointment && (r.maxAppointmentDate = Wt({ dateTime: e.maxAppointment })), r.staffs = e.staffs, r.externalId = e.externalId, r.extendedProperties = e.extendedProperties, r;
9783
9791
  }
9784
9792
  }
9785
9793
  class Bu extends nt {
@@ -9843,7 +9851,7 @@ class Er extends st {
9843
9851
  const n = [];
9844
9852
  return (i = e.resource) == null || i.forEach((o) => {
9845
9853
  n.push({ id: o.id, name: o.name, quantity: o.quantity });
9846
- }), r.resources = n, r.type = e.bypassFreeBusyAvailabilities !== void 0 && e.bypassFreeBusyAvailabilities ? "event" : "default", r.locations = e.locations, r.locationCustom = I(e.locationCustom), r.picture = Ie.fromImageDto(e.picture), e.staff && (r.staffsSkill = [], e.staff.forEach((o) => {
9854
+ }), r.resources = n, r.type = e.bypassFreeBusyAvailabilities !== void 0 && e.bypassFreeBusyAvailabilities ? "event" : "default", r.locations = e.locations, r.locationCustom = I(e.locationCustom), r.picture = Ce.fromImageDto(e.picture), e.staff && (r.staffsSkill = [], e.staff.forEach((o) => {
9847
9855
  var c;
9848
9856
  (c = r.staffsSkill) == null || c.push(o.id);
9849
9857
  })), e.i18n && (r.i18n = {}, e.i18n.fr && (r.i18n.fr = e.i18n.fr), e.i18n.en && (r.i18n.en = e.i18n.en), e.i18n.es && (r.i18n.es = e.i18n.es), e.i18n.de && (r.i18n.de = e.i18n.de), e.i18n.it && (r.i18n.it = e.i18n.it), e.i18n.pt && (r.i18n.pt = e.i18n.pt), e.i18n.jp && (r.i18n.jp = e.i18n.jp), e.i18n.nl && (r.i18n.nl = e.i18n.nl)), r.color = e.color, r.availability = e.availability, r.maxCancellationDelay = e.maxCancellationDelay, r.useWorkingHours = e.useWorkingHours ?? !1, e.workingHours && e.workingHours.forEach(
@@ -9861,7 +9869,7 @@ class Er extends st {
9861
9869
  static toServiceDto(e, r) {
9862
9870
  var o, c, l, u, d, f, h, m, y, x, p, w, g, v, E, D, R;
9863
9871
  const n = new hw();
9864
- n.id = e.id, n.name = j(e.name), n.duration = e.duration, n.description = j(e.description), n.capacity = e.capacity, n.price = e.price, n.bufferDuration = e.bufferDuration, n.preparationDuration = e.preparationDuration, n.validation = e.validation, n.externalId = j(e.externalId), n.picture = Ie.toImageDto(e.picture), n.maxAppointmentDate = e.maxAppointmentDate, n.minAppointmentDate = e.minAppointmentDate, n.appointmentDateScope = e.appointmentDateScope;
9872
+ n.id = e.id, n.name = j(e.name), n.duration = e.duration, n.description = j(e.description), n.capacity = e.capacity, n.price = e.price, n.bufferDuration = e.bufferDuration, n.preparationDuration = e.preparationDuration, n.validation = e.validation, n.externalId = j(e.externalId), n.picture = Ce.toImageDto(e.picture), n.maxAppointmentDate = e.maxAppointmentDate, n.minAppointmentDate = e.minAppointmentDate, n.appointmentDateScope = e.appointmentDateScope;
9865
9873
  const i = [];
9866
9874
  return n.bypassFreeBusyAvailabilities = e.type === "event", (o = e.resources) == null || o.forEach((A) => {
9867
9875
  i.push({ id: A.id, name: A.name, quantity: A.quantity });
@@ -10524,8 +10532,8 @@ function Yo() {
10524
10532
  var M = f[_ - 15], C = (M << 25 | M >>> 7) ^ (M << 14 | M >>> 18) ^ M >>> 3, T = f[_ - 2], k = (T << 15 | T >>> 17) ^ (T << 13 | T >>> 19) ^ T >>> 10;
10525
10533
  f[_] = C + f[_ - 7] + k + f[_ - 16];
10526
10534
  }
10527
- var P = E & D ^ ~E & R, J = p & w ^ p & g ^ w & g, re = (p << 30 | p >>> 2) ^ (p << 19 | p >>> 13) ^ (p << 10 | p >>> 22), le = (E << 26 | E >>> 6) ^ (E << 21 | E >>> 11) ^ (E << 7 | E >>> 25), Ce = A + le + P + d[_] + f[_], ee = re + J;
10528
- A = R, R = D, D = E, E = v + Ce | 0, v = g, g = w, w = p, p = Ce + ee | 0;
10535
+ var P = E & D ^ ~E & R, J = p & w ^ p & g ^ w & g, re = (p << 30 | p >>> 2) ^ (p << 19 | p >>> 13) ^ (p << 10 | p >>> 22), le = (E << 26 | E >>> 6) ^ (E << 21 | E >>> 11) ^ (E << 7 | E >>> 25), Ie = A + le + P + d[_] + f[_], ee = re + J;
10536
+ A = R, R = D, D = E, E = v + Ie | 0, v = g, g = w, w = p, p = Ie + ee | 0;
10529
10537
  }
10530
10538
  x[0] = x[0] + p | 0, x[1] = x[1] + w | 0, x[2] = x[2] + g | 0, x[3] = x[3] + v | 0, x[4] = x[4] + E | 0, x[5] = x[5] + D | 0, x[6] = x[6] + R | 0, x[7] = x[7] + A | 0;
10531
10539
  },
@@ -10663,7 +10671,7 @@ class Dt {
10663
10671
  let i = [];
10664
10672
  (u = t.phoneNumbers) == null || u.forEach((h) => {
10665
10673
  i.push(so.fromContactPhoneNumberDto(h));
10666
- }), i.length > 0 ? (r.phoneNumbers = i, r.phone = i[0].number) : r.phone = t.phone, t.picture && (r.picture = Ie.fromImageDto(t.picture)), r.externalId = I(t.externalId), r.marketingConsent = t.marketingConsent, r.title = t.title !== "undefined" ? t.title : void 0, r.gender = t.gender !== "undefined" ? t.gender : void 0, t.marketingOptins && (r.marketingOptins = {}, t.marketingOptins.email && (r.marketingOptins.email = {
10674
+ }), i.length > 0 ? (r.phoneNumbers = i, r.phone = i[0].number) : r.phone = t.phone, t.picture && (r.picture = Ce.fromImageDto(t.picture)), r.externalId = I(t.externalId), r.marketingConsent = t.marketingConsent, r.title = t.title !== "undefined" ? t.title : void 0, r.gender = t.gender !== "undefined" ? t.gender : void 0, t.marketingOptins && (r.marketingOptins = {}, t.marketingOptins.email && (r.marketingOptins.email = {
10667
10675
  enabled: t.marketingOptins.email.enabled
10668
10676
  }));
10669
10677
  let o = [];
@@ -10690,7 +10698,7 @@ class Dt {
10690
10698
  let i = [];
10691
10699
  (u = t.phoneNumbers) == null || u.forEach((h) => {
10692
10700
  i.push(so.toContactPhoneNumberDto(h));
10693
- }), r.phoneNumbers = i, r.phone = t.phone, t.picture && (r.picture = Ie.toImageDto(t.picture)), r.externalId = j(t.externalId), t.marketingConsent && (r.marketingConsent = new Yl(t.marketingConsent.text)), r.title = t.title, r.gender = t.gender;
10701
+ }), r.phoneNumbers = i, r.phone = t.phone, t.picture && (r.picture = Ce.toImageDto(t.picture)), r.externalId = j(t.externalId), t.marketingConsent && (r.marketingConsent = new Yl(t.marketingConsent.text)), r.title = t.title, r.gender = t.gender;
10694
10702
  let o = [];
10695
10703
  (d = t.tags) == null || d.forEach((h) => {
10696
10704
  o.push(bi.toContactTagDto(h));
@@ -11832,7 +11840,7 @@ class ur {
11832
11840
  static fromUserDto(t) {
11833
11841
  if ("firstName" in t) {
11834
11842
  const e = new ur();
11835
- if (e.id = t.id, e.firstName = I(t.firstName), e.lastName = I(t.lastName), t.picture && (e.picture = new Ie(t.picture.mimeType, t.picture.url)), e.anonymous = !1, e.login = t.login, e.companies = t.companies, e.staffIds = [], t.companies)
11843
+ if (e.id = t.id, e.firstName = I(t.firstName), e.lastName = I(t.lastName), t.picture && (e.picture = new Ce(t.picture.mimeType, t.picture.url)), e.anonymous = !1, e.login = t.login, e.companies = t.companies, e.staffIds = [], t.companies)
11836
11844
  for (const r of t.companies)
11837
11845
  r.staffIds && Array.prototype.push.apply(e.staffIds, r.staffIds);
11838
11846
  return e.accounts = t.accounts, e;
@@ -11841,7 +11849,7 @@ class ur {
11841
11849
  }
11842
11850
  static fromUserLightDto(t) {
11843
11851
  const e = new ur();
11844
- if (e.id = t.i, e.firstName = I(t.f), e.lastName = I(t.l), t.p && (e.picture = new Ie(t.p.m, t.p.u)), e.anonymous = !1, e.login = t.e, e.companies = [], e.staffIds = [], t.c)
11852
+ if (e.id = t.i, e.firstName = I(t.f), e.lastName = I(t.l), t.p && (e.picture = new Ce(t.p.m, t.p.u)), e.anonymous = !1, e.login = t.e, e.companies = [], e.staffIds = [], t.c)
11845
11853
  for (const r of t.c)
11846
11854
  e.companies.push({ companyId: r.i, companyName: I(r.n), rights: r.a, role: r.r, staffIds: r.s }), r.s && Array.prototype.push.apply(e.staffIds, r.s);
11847
11855
  return e;
@@ -12549,7 +12557,7 @@ class rd extends nt {
12549
12557
  }
12550
12558
  static fromDto(e) {
12551
12559
  const r = new rd();
12552
- return r.id = e.id, r.title = I(e.title), r.description = bu(e.description), r.sessions = e.sessions ? e.sessions.map((n) => Fn.fromDto(n)) : void 0, r.numberOfSeats = e.numberOfSeats, r.duration = e.duration, r.form = e.form ? Ku.fromDto(e.form) : void 0, e.location && (r.location = Or.fromDto(e.location)), r.waitingListEnabled = e.waitingListEnabled, r.picture = e.picture ? new Ie(e.picture.mimeType, e.picture.url) : void 0, e.tags && e.tags.length > 0 && (r.tags = [], e.tags.forEach((n) => r.tags.push(Zu.fromDto(n)))), e.speakers && e.speakers.length > 0 && (r.speakers = [], e.speakers.forEach((n) => r.speakers.push(ed.fromDto(n)))), e.invitees && e.invitees.length > 0 && (r.invitees = [], e.invitees.forEach((n) => r.invitees.push(td.fromDto(n)))), r.numberOfAdditionalSeats = e.numberOfAdditionalSeats, r;
12560
+ return r.id = e.id, r.title = I(e.title), r.description = bu(e.description), r.sessions = e.sessions ? e.sessions.map((n) => Fn.fromDto(n)) : void 0, r.numberOfSeats = e.numberOfSeats, r.duration = e.duration, r.form = e.form ? Ku.fromDto(e.form) : void 0, e.location && (r.location = Or.fromDto(e.location)), r.waitingListEnabled = e.waitingListEnabled, r.picture = e.picture ? new Ce(e.picture.mimeType, e.picture.url) : void 0, e.tags && e.tags.length > 0 && (r.tags = [], e.tags.forEach((n) => r.tags.push(Zu.fromDto(n)))), e.speakers && e.speakers.length > 0 && (r.speakers = [], e.speakers.forEach((n) => r.speakers.push(ed.fromDto(n)))), e.invitees && e.invitees.length > 0 && (r.invitees = [], e.invitees.forEach((n) => r.invitees.push(td.fromDto(n)))), r.numberOfAdditionalSeats = e.numberOfAdditionalSeats, r;
12553
12561
  }
12554
12562
  }
12555
12563
  class Ar extends st {
@@ -12578,7 +12586,7 @@ class Ar extends st {
12578
12586
  static fromConferenceDto(e) {
12579
12587
  var o, c;
12580
12588
  const r = new Ar();
12581
- r.id = e.id, r.cipherId = e.cipherId, r.externalId = e.externalId, r.name = I(e.title), r.title = I(e.title), e.description && (e.description.startsWith("<") ? r.description = e.description : r.description = I(e.description)), e.company && (r.company = { id: e.company.id, name: I(e.company.name) }), r.code = e.code, r.picture = Ie.fromImageDto(e.picture), r.capacity = e.capacity, r.duration = e.duration, r.availability = e.availability, e.location && (r.location = Or.fromDto(e.location));
12589
+ r.id = e.id, r.cipherId = e.cipherId, r.externalId = e.externalId, r.name = I(e.title), r.title = I(e.title), e.description && (e.description.startsWith("<") ? r.description = e.description : r.description = I(e.description)), e.company && (r.company = { id: e.company.id, name: I(e.company.name) }), r.code = e.code, r.picture = Ce.fromImageDto(e.picture), r.capacity = e.capacity, r.duration = e.duration, r.availability = e.availability, e.location && (r.location = Or.fromDto(e.location));
12582
12590
  const n = [];
12583
12591
  (o = e.sessions) == null || o.forEach((l) => n.push(It.fromDto(l, e.id))), r.sessions = n, e.form && (r.form = po.fromDto(e.form));
12584
12592
  const i = [];
@@ -12587,7 +12595,7 @@ class Ar extends st {
12587
12595
  static toConferenceDto(e, r) {
12588
12596
  var c, l;
12589
12597
  const n = new VE();
12590
- n.id = e.id, n.cipherId = e.cipherId, n.externalId = e.externalId, n.title = j(e.name), n.description = e.description, e.company && (n.company = { id: e.company.id, name: j(e.company.name) }), n.code = e.code, n.picture = Ie.toImageDto(e.picture), n.capacity = e.capacity, n.duration = e.duration, n.availability = e.availability, e.location ? n.location = Or.toDto(e.location) : n.location = {};
12598
+ n.id = e.id, n.cipherId = e.cipherId, n.externalId = e.externalId, n.title = j(e.name), n.description = e.description, e.company && (n.company = { id: e.company.id, name: j(e.company.name) }), n.code = e.code, n.picture = Ce.toImageDto(e.picture), n.capacity = e.capacity, n.duration = e.duration, n.availability = e.availability, e.location ? n.location = Or.toDto(e.location) : n.location = {};
12591
12599
  const i = [];
12592
12600
  (c = e.sessions) == null || c.forEach((u) => i.push(It.toDto(u, r))), n.sessions = i, e.form && (n.form = po.toDto(e.form));
12593
12601
  const o = [];
@@ -12707,7 +12715,7 @@ class id {
12707
12715
  }
12708
12716
  static fromDto(t) {
12709
12717
  const e = new id();
12710
- return e.session = t.session ? Fn.fromDto(t.session) : void 0, e.conference = t.conference ? rd.fromDto(t.conference) : void 0, e.registration = t.registration ? Ri.fromDto(t.registration) : void 0, e.errors = t.errors ? t.errors.map((r) => $i.fromDto(r)) : void 0, e.privacyConsent = t.privacyConsent ? ad.fromDto(t.privacyConsent) : void 0, e.logo = t.logo ? new Ie(t.logo.mimeType, t.logo.url) : void 0, e.favicon = t.favicon ? new Ie(t.favicon.mimeType, t.favicon.url) : void 0, e.source = t.source, e;
12718
+ return e.session = t.session ? Fn.fromDto(t.session) : void 0, e.conference = t.conference ? rd.fromDto(t.conference) : void 0, e.registration = t.registration ? Ri.fromDto(t.registration) : void 0, e.errors = t.errors ? t.errors.map((r) => $i.fromDto(r)) : void 0, e.privacyConsent = t.privacyConsent ? ad.fromDto(t.privacyConsent) : void 0, e.logo = t.logo ? new Ce(t.logo.mimeType, t.logo.url) : void 0, e.favicon = t.favicon ? new Ce(t.favicon.mimeType, t.favicon.url) : void 0, e.source = t.source, e;
12711
12719
  }
12712
12720
  }
12713
12721
  class Ri {
@@ -13112,7 +13120,7 @@ function YE() {
13112
13120
  function A(B, V, G) {
13113
13121
  if (!ue(V))
13114
13122
  throw new TypeError();
13115
- return U(G) || (G = he(G)), Ce(B, V, G);
13123
+ return U(G) || (G = he(G)), Ie(B, V, G);
13116
13124
  }
13117
13125
  e("getOwnMetadata", A);
13118
13126
  function _(B, V) {
@@ -13201,12 +13209,12 @@ function YE() {
13201
13209
  function le(B, V, G) {
13202
13210
  var X = re(B, V, G);
13203
13211
  if (X)
13204
- return Ce(B, V, G);
13212
+ return Ie(B, V, G);
13205
13213
  var ae = ht(V);
13206
13214
  if (!W(ae))
13207
13215
  return le(B, ae, G);
13208
13216
  }
13209
- function Ce(B, V, G) {
13217
+ function Ie(B, V, G) {
13210
13218
  var X = P(
13211
13219
  V,
13212
13220
  G,
@@ -16894,22 +16902,22 @@ class Y {
16894
16902
  return Promise.reject(t);
16895
16903
  });
16896
16904
  a(this, "_handleRefreshToken", async (t) => {
16897
- var e, r, n;
16898
- if (!this.bearerCall && t.response) {
16899
- const i = t.config;
16900
- if (t.response.status === 401 || t.response.status === 400 && t.response.data && t.response.data.error && t.response.data.error.message && t.response.data.error.message.indexOf("Required parameter apiKey not found") > -1)
16901
- if (i._retry)
16902
- (n = this.authenticationService) == null || n.logout().finally(() => window.location.href = "/");
16903
- else {
16904
- i._retry = !0;
16905
- try {
16906
- return await ((e = this.authenticationService) == null ? void 0 : e.refreshToken()), this.instance(i);
16907
- } catch {
16908
- (r = this.authenticationService) == null || r.logout().finally(() => window.location.href = "/");
16909
- }
16910
- }
16905
+ var r, n, i;
16906
+ if (this.bearerCall || !t.response)
16907
+ return this._handleError(t);
16908
+ const e = t.config;
16909
+ if (t.response.status !== 401 && (t.response.status !== 400 || !t.response.data || !t.response.data.error || !t.response.data.error.message || t.response.data.error.message.indexOf("Required parameter apiKey not found") == -1))
16910
+ return this._handleError(t);
16911
+ if (e._retry) {
16912
+ (r = this.authenticationService) == null || r.logout().finally(() => window.location.href = "/");
16913
+ return;
16914
+ }
16915
+ e._retry = !0;
16916
+ try {
16917
+ return await ((n = this.authenticationService) == null ? void 0 : n.refreshToken()), this.instance(e);
16918
+ } catch {
16919
+ (i = this.authenticationService) == null || i.logout().finally(() => window.location.href = "/");
16911
16920
  }
16912
- return this._handleError(t);
16913
16921
  });
16914
16922
  this.authenticationService = e, this.logger = r, this.baseUrl = t, this.isPublic = n, this.instance = Ge.create({
16915
16923
  baseURL: t
@@ -18209,7 +18217,7 @@ Bo = uy([
18209
18217
  class cR extends Y {
18210
18218
  async getAllCompanies(t, e) {
18211
18219
  const r = this.getAxiosConfig(t, e);
18212
- r.params.version = 2;
18220
+ r.params.version = 3;
18213
18221
  const i = this.instance.get("/api/2.1/scheduling/companies", r);
18214
18222
  if (i !== null)
18215
18223
  try {
@@ -18222,13 +18230,14 @@ class cR extends Y {
18222
18230
  }
18223
18231
  async getAllScopedCompanies(t, e, r) {
18224
18232
  const n = this.getAxiosConfig(t, r);
18225
- n.params.scope = e, n.params.type = "service_resource";
18226
- const o = this.instance.get("/api/2.3/companies", n);
18227
- if (o !== null)
18233
+ let i = new URLSearchParams(n.params);
18234
+ i.append("scope", e), i.append("type", "service_resource"), i.append("type", "service"), n.params = i;
18235
+ const c = this.instance.get("/api/2.3/companies", n);
18236
+ if (c !== null)
18228
18237
  try {
18229
- return (await o).items;
18230
- } catch (c) {
18231
- throw c;
18238
+ return (await c).items;
18239
+ } catch (l) {
18240
+ throw l;
18232
18241
  }
18233
18242
  else
18234
18243
  throw new b(S.INTERNAL_ERROR);
@@ -20815,8 +20824,8 @@ function Pn() {
20815
20824
  var g = p + w, v = x[g];
20816
20825
  x[g] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360;
20817
20826
  }
20818
- var E = this._hash.words, D = x[p + 0], R = x[p + 1], A = x[p + 2], _ = x[p + 3], M = x[p + 4], C = x[p + 5], T = x[p + 6], k = x[p + 7], P = x[p + 8], J = x[p + 9], re = x[p + 10], le = x[p + 11], Ce = x[p + 12], ee = x[p + 13], ve = x[p + 14], Ee = x[p + 15], H = E[0], U = E[1], W = E[2], $ = E[3];
20819
- H = f(H, U, W, $, D, 7, u[0]), $ = f($, H, U, W, R, 12, u[1]), W = f(W, $, H, U, A, 17, u[2]), U = f(U, W, $, H, _, 22, u[3]), H = f(H, U, W, $, M, 7, u[4]), $ = f($, H, U, W, C, 12, u[5]), W = f(W, $, H, U, T, 17, u[6]), U = f(U, W, $, H, k, 22, u[7]), H = f(H, U, W, $, P, 7, u[8]), $ = f($, H, U, W, J, 12, u[9]), W = f(W, $, H, U, re, 17, u[10]), U = f(U, W, $, H, le, 22, u[11]), H = f(H, U, W, $, Ce, 7, u[12]), $ = f($, H, U, W, ee, 12, u[13]), W = f(W, $, H, U, ve, 17, u[14]), U = f(U, W, $, H, Ee, 22, u[15]), H = h(H, U, W, $, R, 5, u[16]), $ = h($, H, U, W, T, 9, u[17]), W = h(W, $, H, U, le, 14, u[18]), U = h(U, W, $, H, D, 20, u[19]), H = h(H, U, W, $, C, 5, u[20]), $ = h($, H, U, W, re, 9, u[21]), W = h(W, $, H, U, Ee, 14, u[22]), U = h(U, W, $, H, M, 20, u[23]), H = h(H, U, W, $, J, 5, u[24]), $ = h($, H, U, W, ve, 9, u[25]), W = h(W, $, H, U, _, 14, u[26]), U = h(U, W, $, H, P, 20, u[27]), H = h(H, U, W, $, ee, 5, u[28]), $ = h($, H, U, W, A, 9, u[29]), W = h(W, $, H, U, k, 14, u[30]), U = h(U, W, $, H, Ce, 20, u[31]), H = m(H, U, W, $, C, 4, u[32]), $ = m($, H, U, W, P, 11, u[33]), W = m(W, $, H, U, le, 16, u[34]), U = m(U, W, $, H, ve, 23, u[35]), H = m(H, U, W, $, R, 4, u[36]), $ = m($, H, U, W, M, 11, u[37]), W = m(W, $, H, U, k, 16, u[38]), U = m(U, W, $, H, re, 23, u[39]), H = m(H, U, W, $, ee, 4, u[40]), $ = m($, H, U, W, D, 11, u[41]), W = m(W, $, H, U, _, 16, u[42]), U = m(U, W, $, H, T, 23, u[43]), H = m(H, U, W, $, J, 4, u[44]), $ = m($, H, U, W, Ce, 11, u[45]), W = m(W, $, H, U, Ee, 16, u[46]), U = m(U, W, $, H, A, 23, u[47]), H = y(H, U, W, $, D, 6, u[48]), $ = y($, H, U, W, k, 10, u[49]), W = y(W, $, H, U, ve, 15, u[50]), U = y(U, W, $, H, C, 21, u[51]), H = y(H, U, W, $, Ce, 6, u[52]), $ = y($, H, U, W, _, 10, u[53]), W = y(W, $, H, U, re, 15, u[54]), U = y(U, W, $, H, R, 21, u[55]), H = y(H, U, W, $, P, 6, u[56]), $ = y($, H, U, W, Ee, 10, u[57]), W = y(W, $, H, U, T, 15, u[58]), U = y(U, W, $, H, ee, 21, u[59]), H = y(H, U, W, $, M, 6, u[60]), $ = y($, H, U, W, le, 10, u[61]), W = y(W, $, H, U, A, 15, u[62]), U = y(U, W, $, H, J, 21, u[63]), E[0] = E[0] + H | 0, E[1] = E[1] + U | 0, E[2] = E[2] + W | 0, E[3] = E[3] + $ | 0;
20827
+ var E = this._hash.words, D = x[p + 0], R = x[p + 1], A = x[p + 2], _ = x[p + 3], M = x[p + 4], C = x[p + 5], T = x[p + 6], k = x[p + 7], P = x[p + 8], J = x[p + 9], re = x[p + 10], le = x[p + 11], Ie = x[p + 12], ee = x[p + 13], ve = x[p + 14], Ee = x[p + 15], H = E[0], U = E[1], W = E[2], $ = E[3];
20828
+ H = f(H, U, W, $, D, 7, u[0]), $ = f($, H, U, W, R, 12, u[1]), W = f(W, $, H, U, A, 17, u[2]), U = f(U, W, $, H, _, 22, u[3]), H = f(H, U, W, $, M, 7, u[4]), $ = f($, H, U, W, C, 12, u[5]), W = f(W, $, H, U, T, 17, u[6]), U = f(U, W, $, H, k, 22, u[7]), H = f(H, U, W, $, P, 7, u[8]), $ = f($, H, U, W, J, 12, u[9]), W = f(W, $, H, U, re, 17, u[10]), U = f(U, W, $, H, le, 22, u[11]), H = f(H, U, W, $, Ie, 7, u[12]), $ = f($, H, U, W, ee, 12, u[13]), W = f(W, $, H, U, ve, 17, u[14]), U = f(U, W, $, H, Ee, 22, u[15]), H = h(H, U, W, $, R, 5, u[16]), $ = h($, H, U, W, T, 9, u[17]), W = h(W, $, H, U, le, 14, u[18]), U = h(U, W, $, H, D, 20, u[19]), H = h(H, U, W, $, C, 5, u[20]), $ = h($, H, U, W, re, 9, u[21]), W = h(W, $, H, U, Ee, 14, u[22]), U = h(U, W, $, H, M, 20, u[23]), H = h(H, U, W, $, J, 5, u[24]), $ = h($, H, U, W, ve, 9, u[25]), W = h(W, $, H, U, _, 14, u[26]), U = h(U, W, $, H, P, 20, u[27]), H = h(H, U, W, $, ee, 5, u[28]), $ = h($, H, U, W, A, 9, u[29]), W = h(W, $, H, U, k, 14, u[30]), U = h(U, W, $, H, Ie, 20, u[31]), H = m(H, U, W, $, C, 4, u[32]), $ = m($, H, U, W, P, 11, u[33]), W = m(W, $, H, U, le, 16, u[34]), U = m(U, W, $, H, ve, 23, u[35]), H = m(H, U, W, $, R, 4, u[36]), $ = m($, H, U, W, M, 11, u[37]), W = m(W, $, H, U, k, 16, u[38]), U = m(U, W, $, H, re, 23, u[39]), H = m(H, U, W, $, ee, 4, u[40]), $ = m($, H, U, W, D, 11, u[41]), W = m(W, $, H, U, _, 16, u[42]), U = m(U, W, $, H, T, 23, u[43]), H = m(H, U, W, $, J, 4, u[44]), $ = m($, H, U, W, Ie, 11, u[45]), W = m(W, $, H, U, Ee, 16, u[46]), U = m(U, W, $, H, A, 23, u[47]), H = y(H, U, W, $, D, 6, u[48]), $ = y($, H, U, W, k, 10, u[49]), W = y(W, $, H, U, ve, 15, u[50]), U = y(U, W, $, H, C, 21, u[51]), H = y(H, U, W, $, Ie, 6, u[52]), $ = y($, H, U, W, _, 10, u[53]), W = y(W, $, H, U, re, 15, u[54]), U = y(U, W, $, H, R, 21, u[55]), H = y(H, U, W, $, P, 6, u[56]), $ = y($, H, U, W, Ee, 10, u[57]), W = y(W, $, H, U, T, 15, u[58]), U = y(U, W, $, H, ee, 21, u[59]), H = y(H, U, W, $, M, 6, u[60]), $ = y($, H, U, W, le, 10, u[61]), W = y(W, $, H, U, A, 15, u[62]), U = y(U, W, $, H, J, 21, u[63]), E[0] = E[0] + H | 0, E[1] = E[1] + U | 0, E[2] = E[2] + W | 0, E[3] = E[3] + $ | 0;
20820
20829
  },
20821
20830
  _doFinalize: function() {
20822
20831
  var x = this._data, p = x.words, w = this._nDataBytes * 8, g = x.sigBytes * 8;
@@ -21040,7 +21049,7 @@ function wy() {
21040
21049
  ]);
21041
21050
  },
21042
21051
  _doProcessBlock: function(y, x) {
21043
- for (var p = this._hash.words, w = p[0], g = p[1], v = p[2], E = p[3], D = p[4], R = p[5], A = p[6], _ = p[7], M = w.high, C = w.low, T = g.high, k = g.low, P = v.high, J = v.low, re = E.high, le = E.low, Ce = D.high, ee = D.low, ve = R.high, Ee = R.low, H = A.high, U = A.low, W = _.high, $ = _.low, ue = M, Se = C, qe = T, fe = k, je = P, he = J, He = re, Ne = le, Be = Ce, Pe = ee, ot = ve, Ze = Ee, it = H, ct = U, Ft = W, ht = $, ze = 0; ze < 80; ze++) {
21052
+ for (var p = this._hash.words, w = p[0], g = p[1], v = p[2], E = p[3], D = p[4], R = p[5], A = p[6], _ = p[7], M = w.high, C = w.low, T = g.high, k = g.low, P = v.high, J = v.low, re = E.high, le = E.low, Ie = D.high, ee = D.low, ve = R.high, Ee = R.low, H = A.high, U = A.low, W = _.high, $ = _.low, ue = M, Se = C, qe = T, fe = k, je = P, he = J, He = re, Ne = le, Be = Ie, Pe = ee, ot = ve, Ze = Ee, it = H, ct = U, Ft = W, ht = $, ze = 0; ze < 80; ze++) {
21044
21053
  var at, pt, St = h[ze];
21045
21054
  if (ze < 16)
21046
21055
  pt = St.high = y[x + ze * 2] | 0, at = St.low = y[x + ze * 2 + 1] | 0;
@@ -21051,7 +21060,7 @@ function wy() {
21051
21060
  var be = Be & ot ^ ~Be & it, qt = Pe & Ze ^ ~Pe & ct, hr = ue & qe ^ ue & je ^ qe & je, bt = Se & fe ^ Se & he ^ fe & he, rr = (ue >>> 28 | Se << 4) ^ (ue << 30 | Se >>> 2) ^ (ue << 25 | Se >>> 7), Un = (Se >>> 28 | ue << 4) ^ (Se << 30 | ue >>> 2) ^ (Se << 25 | ue >>> 7), Br = (Be >>> 14 | Pe << 18) ^ (Be >>> 18 | Pe << 14) ^ (Be << 23 | Pe >>> 9), _t = (Pe >>> 14 | Be << 18) ^ (Pe >>> 18 | Be << 14) ^ (Pe << 23 | Be >>> 9), ks = f[ze], qi = ks.high, Bs = ks.low, dt = ht + _t, Mt = Ft + Br + (dt >>> 0 < ht >>> 0 ? 1 : 0), dt = dt + qt, Mt = Mt + be + (dt >>> 0 < qt >>> 0 ? 1 : 0), dt = dt + Bs, Mt = Mt + qi + (dt >>> 0 < Bs >>> 0 ? 1 : 0), dt = dt + at, Mt = Mt + pt + (dt >>> 0 < at >>> 0 ? 1 : 0), Xr = Un + bt, Ls = rr + hr + (Xr >>> 0 < Un >>> 0 ? 1 : 0);
21052
21061
  Ft = it, ht = ct, it = ot, ct = Ze, ot = Be, Ze = Pe, Pe = Ne + dt | 0, Be = He + Mt + (Pe >>> 0 < Ne >>> 0 ? 1 : 0) | 0, He = je, Ne = he, je = qe, he = fe, qe = ue, fe = Se, Se = dt + Xr | 0, ue = Mt + Ls + (Se >>> 0 < dt >>> 0 ? 1 : 0) | 0;
21053
21062
  }
21054
- C = w.low = C + Se, w.high = M + ue + (C >>> 0 < Se >>> 0 ? 1 : 0), k = g.low = k + fe, g.high = T + qe + (k >>> 0 < fe >>> 0 ? 1 : 0), J = v.low = J + he, v.high = P + je + (J >>> 0 < he >>> 0 ? 1 : 0), le = E.low = le + Ne, E.high = re + He + (le >>> 0 < Ne >>> 0 ? 1 : 0), ee = D.low = ee + Pe, D.high = Ce + Be + (ee >>> 0 < Pe >>> 0 ? 1 : 0), Ee = R.low = Ee + Ze, R.high = ve + ot + (Ee >>> 0 < Ze >>> 0 ? 1 : 0), U = A.low = U + ct, A.high = H + it + (U >>> 0 < ct >>> 0 ? 1 : 0), $ = _.low = $ + ht, _.high = W + Ft + ($ >>> 0 < ht >>> 0 ? 1 : 0);
21063
+ C = w.low = C + Se, w.high = M + ue + (C >>> 0 < Se >>> 0 ? 1 : 0), k = g.low = k + fe, g.high = T + qe + (k >>> 0 < fe >>> 0 ? 1 : 0), J = v.low = J + he, v.high = P + je + (J >>> 0 < he >>> 0 ? 1 : 0), le = E.low = le + Ne, E.high = re + He + (le >>> 0 < Ne >>> 0 ? 1 : 0), ee = D.low = ee + Pe, D.high = Ie + Be + (ee >>> 0 < Pe >>> 0 ? 1 : 0), Ee = R.low = Ee + Ze, R.high = ve + ot + (Ee >>> 0 < Ze >>> 0 ? 1 : 0), U = A.low = U + ct, A.high = H + it + (U >>> 0 < ct >>> 0 ? 1 : 0), $ = _.low = $ + ht, _.high = W + Ft + ($ >>> 0 < ht >>> 0 ? 1 : 0);
21055
21064
  },
21056
21065
  _doFinalize: function() {
21057
21066
  var y = this._data, x = y.words, p = this._nDataBytes * 8, w = y.sigBytes * 8;
@@ -21167,7 +21176,7 @@ function nA() {
21167
21176
  P.high = C, P.low = T;
21168
21177
  }
21169
21178
  for (var M = 0; M < 5; M++)
21170
- for (var J = y[(M + 4) % 5], re = y[(M + 1) % 5], le = re.high, Ce = re.low, C = J.high ^ (le << 1 | Ce >>> 31), T = J.low ^ (Ce << 1 | le >>> 31), k = 0; k < 5; k++) {
21179
+ for (var J = y[(M + 4) % 5], re = y[(M + 1) % 5], le = re.high, Ie = re.low, C = J.high ^ (le << 1 | Ie >>> 31), T = J.low ^ (Ie << 1 | le >>> 31), k = 0; k < 5; k++) {
21171
21180
  var A = g[M + 5 * k];
21172
21181
  A.high ^= C, A.low ^= T;
21173
21182
  }
@@ -21560,10 +21569,10 @@ function iA() {
21560
21569
  var M = A + _, C = R[M];
21561
21570
  R[M] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360;
21562
21571
  }
21563
- var T = this._hash.words, k = m.words, P = y.words, J = u.words, re = d.words, le = f.words, Ce = h.words, ee, ve, Ee, H, U, W, $, ue, Se, qe;
21572
+ var T = this._hash.words, k = m.words, P = y.words, J = u.words, re = d.words, le = f.words, Ie = h.words, ee, ve, Ee, H, U, W, $, ue, Se, qe;
21564
21573
  W = ee = T[0], $ = ve = T[1], ue = Ee = T[2], Se = H = T[3], qe = U = T[4];
21565
21574
  for (var fe, _ = 0; _ < 80; _ += 1)
21566
- fe = ee + R[A + J[_]] | 0, _ < 16 ? fe += p(ve, Ee, H) + k[0] : _ < 32 ? fe += w(ve, Ee, H) + k[1] : _ < 48 ? fe += g(ve, Ee, H) + k[2] : _ < 64 ? fe += v(ve, Ee, H) + k[3] : fe += E(ve, Ee, H) + k[4], fe = fe | 0, fe = D(fe, le[_]), fe = fe + U | 0, ee = U, U = H, H = D(Ee, 10), Ee = ve, ve = fe, fe = W + R[A + re[_]] | 0, _ < 16 ? fe += E($, ue, Se) + P[0] : _ < 32 ? fe += v($, ue, Se) + P[1] : _ < 48 ? fe += g($, ue, Se) + P[2] : _ < 64 ? fe += w($, ue, Se) + P[3] : fe += p($, ue, Se) + P[4], fe = fe | 0, fe = D(fe, Ce[_]), fe = fe + qe | 0, W = qe, qe = Se, Se = D(ue, 10), ue = $, $ = fe;
21575
+ fe = ee + R[A + J[_]] | 0, _ < 16 ? fe += p(ve, Ee, H) + k[0] : _ < 32 ? fe += w(ve, Ee, H) + k[1] : _ < 48 ? fe += g(ve, Ee, H) + k[2] : _ < 64 ? fe += v(ve, Ee, H) + k[3] : fe += E(ve, Ee, H) + k[4], fe = fe | 0, fe = D(fe, le[_]), fe = fe + U | 0, ee = U, U = H, H = D(Ee, 10), Ee = ve, ve = fe, fe = W + R[A + re[_]] | 0, _ < 16 ? fe += E($, ue, Se) + P[0] : _ < 32 ? fe += v($, ue, Se) + P[1] : _ < 48 ? fe += g($, ue, Se) + P[2] : _ < 64 ? fe += w($, ue, Se) + P[3] : fe += p($, ue, Se) + P[4], fe = fe | 0, fe = D(fe, Ie[_]), fe = fe + qe | 0, W = qe, qe = Se, Se = D(ue, 10), ue = $, $ = fe;
21567
21576
  fe = T[1] + Ee + Se | 0, T[1] = T[2] + H + qe | 0, T[2] = T[3] + U + W | 0, T[3] = T[4] + ee + $ | 0, T[4] = T[0] + ve + ue | 0, T[0] = fe;
21568
21577
  },
21569
21578
  _doFinalize: function() {
@@ -22039,8 +22048,8 @@ function mt() {
22039
22048
  function T(k, P, J) {
22040
22049
  var re, le = this._iv;
22041
22050
  le ? (re = le, this._iv = r) : re = this._prevBlock;
22042
- for (var Ce = 0; Ce < J; Ce++)
22043
- k[P + Ce] ^= re[Ce];
22051
+ for (var Ie = 0; Ie < J; Ie++)
22052
+ k[P + Ie] ^= re[Ie];
22044
22053
  }
22045
22054
  return C;
22046
22055
  }(), w = n.pad = {}, g = w.Pkcs7 = {
@@ -22059,8 +22068,8 @@ function mt() {
22059
22068
  pad: function(C, T) {
22060
22069
  for (var k = T * 4, P = k - C.sigBytes % k, J = P << 24 | P << 16 | P << 8 | P, re = [], le = 0; le < P; le += 4)
22061
22070
  re.push(J);
22062
- var Ce = c.create(re, P);
22063
- C.concat(Ce);
22071
+ var Ie = c.create(re, P);
22072
+ C.concat(Ie);
22064
22073
  },
22065
22074
  /**
22066
22075
  * Unpads data that had been padded using the algorithm defined in PKCS #5/7.
@@ -22666,7 +22675,7 @@ function BA() {
22666
22675
  v[E + 1] = v[E + 3], v[E + 3] = D;
22667
22676
  },
22668
22677
  _doCryptBlock: function(v, E, D, R, A, _, M, C) {
22669
- for (var T = this._nRounds, k = v[E] ^ D[0], P = v[E + 1] ^ D[1], J = v[E + 2] ^ D[2], re = v[E + 3] ^ D[3], le = 4, Ce = 1; Ce < T; Ce++) {
22678
+ for (var T = this._nRounds, k = v[E] ^ D[0], P = v[E + 1] ^ D[1], J = v[E + 2] ^ D[2], re = v[E + 3] ^ D[3], le = 4, Ie = 1; Ie < T; Ie++) {
22670
22679
  var ee = R[k >>> 24] ^ A[P >>> 16 & 255] ^ _[J >>> 8 & 255] ^ M[re & 255] ^ D[le++], ve = R[P >>> 24] ^ A[J >>> 16 & 255] ^ _[re >>> 8 & 255] ^ M[k & 255] ^ D[le++], Ee = R[J >>> 24] ^ A[re >>> 16 & 255] ^ _[k >>> 8 & 255] ^ M[P & 255] ^ D[le++], H = R[re >>> 24] ^ A[k >>> 16 & 255] ^ _[P >>> 8 & 255] ^ M[J & 255] ^ D[le++];
22671
22680
  k = ee, P = ve, J = Ee, re = H;
22672
22681
  }
@@ -25085,13 +25094,15 @@ class s1 extends Z {
25085
25094
  }
25086
25095
  }
25087
25096
  class i1 extends Y {
25088
- async getAllServiceGroups(t, e, r) {
25089
- const n = this.instance.get(`/api/2.1/scheduling/companies/${r}/serviceGroups`, this.getAxiosConfig(t, e));
25090
- if (n !== null)
25097
+ async getAllServiceGroups(t, e, r, n) {
25098
+ const i = this.getAxiosConfig(t, e);
25099
+ i.params.withDisabledMembers = n;
25100
+ const o = this.instance.get(`/api/2.1/scheduling/companies/${r}/serviceGroups`, i);
25101
+ if (o !== null)
25091
25102
  try {
25092
- return (await n).items;
25093
- } catch (i) {
25094
- throw i;
25103
+ return (await o).items;
25104
+ } catch (c) {
25105
+ throw c;
25095
25106
  }
25096
25107
  else
25097
25108
  throw new b(S.INTERNAL_ERROR);
@@ -25146,8 +25157,8 @@ let ki = class extends Z {
25146
25157
  async onCascadeDelete(t, e, r, n) {
25147
25158
  r === rt && await this.cascadeDelete({ account: t.account, companyId: t.companyId }, (i) => (i == null ? void 0 : i.companyId) === t.companyId);
25148
25159
  }
25149
- async getAllServiceGroups(t, e, r, n = N.LOCAL_THEN_REMOTE) {
25150
- return this.list(t, n, { account: e, companyId: r });
25160
+ async getAllServiceGroups(t, e, r, n = !0, i = N.LOCAL_THEN_REMOTE) {
25161
+ return this.list(t, i, { account: e, companyId: r, withDisabledServices: n });
25151
25162
  }
25152
25163
  async getServiceGroup(t, e, r, n, i = N.LOCAL_THEN_REMOTE) {
25153
25164
  return this.getById(t, i, { account: e, companyId: r, serviceGroupId: n });
@@ -25162,7 +25173,7 @@ let ki = class extends Z {
25162
25173
  return this.deleteById(t, { account: e, companyId: r, serviceGroupId: n });
25163
25174
  }
25164
25175
  async remoteList(t, e) {
25165
- return (await this.serviceGroupSecuredService.getAllServiceGroups(t, e.account, e.companyId)).map((n) => wr.fromServiceGroupDto(n, e.companyId));
25176
+ return (await this.serviceGroupSecuredService.getAllServiceGroups(t, e.account, e.companyId, e.withDisabledServices)).map((n) => wr.fromServiceGroupDto(n, e.companyId));
25166
25177
  }
25167
25178
  async remoteGet(t, e) {
25168
25179
  this.checkNullable(e);
@@ -29050,7 +29061,7 @@ var Gc, lm;
29050
29061
  function xc() {
29051
29062
  if (lm) return Gc;
29052
29063
  lm = 1;
29053
- var s = typeof Map == "function" && Map.prototype, t = Object.getOwnPropertyDescriptor && s ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, e = s && t && typeof t.get == "function" ? t.get : null, r = s && Map.prototype.forEach, n = typeof Set == "function" && Set.prototype, i = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, o = n && i && typeof i.get == "function" ? i.get : null, c = n && Set.prototype.forEach, l = typeof WeakMap == "function" && WeakMap.prototype, u = l ? WeakMap.prototype.has : null, d = typeof WeakSet == "function" && WeakSet.prototype, f = d ? WeakSet.prototype.has : null, h = typeof WeakRef == "function" && WeakRef.prototype, m = h ? WeakRef.prototype.deref : null, y = Boolean.prototype.valueOf, x = Object.prototype.toString, p = Function.prototype.toString, w = String.prototype.match, g = String.prototype.slice, v = String.prototype.replace, E = String.prototype.toUpperCase, D = String.prototype.toLowerCase, R = RegExp.prototype.test, A = Array.prototype.concat, _ = Array.prototype.join, M = Array.prototype.slice, C = Math.floor, T = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, k = Object.getOwnPropertySymbols, P = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, J = typeof Symbol == "function" && typeof Symbol.iterator == "object", re = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === J || !0) ? Symbol.toStringTag : null, le = Object.prototype.propertyIsEnumerable, Ce = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
29064
+ var s = typeof Map == "function" && Map.prototype, t = Object.getOwnPropertyDescriptor && s ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, e = s && t && typeof t.get == "function" ? t.get : null, r = s && Map.prototype.forEach, n = typeof Set == "function" && Set.prototype, i = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, o = n && i && typeof i.get == "function" ? i.get : null, c = n && Set.prototype.forEach, l = typeof WeakMap == "function" && WeakMap.prototype, u = l ? WeakMap.prototype.has : null, d = typeof WeakSet == "function" && WeakSet.prototype, f = d ? WeakSet.prototype.has : null, h = typeof WeakRef == "function" && WeakRef.prototype, m = h ? WeakRef.prototype.deref : null, y = Boolean.prototype.valueOf, x = Object.prototype.toString, p = Function.prototype.toString, w = String.prototype.match, g = String.prototype.slice, v = String.prototype.replace, E = String.prototype.toUpperCase, D = String.prototype.toLowerCase, R = RegExp.prototype.test, A = Array.prototype.concat, _ = Array.prototype.join, M = Array.prototype.slice, C = Math.floor, T = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, k = Object.getOwnPropertySymbols, P = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, J = typeof Symbol == "function" && typeof Symbol.iterator == "object", re = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === J || !0) ? Symbol.toStringTag : null, le = Object.prototype.propertyIsEnumerable, Ie = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(O) {
29054
29065
  return O.__proto__;
29055
29066
  } : null);
29056
29067
  function ee(O, L) {
@@ -29184,7 +29195,7 @@ function xc() {
29184
29195
  if (typeof globalThis < "u" && L === globalThis || typeof Cn < "u" && L === Cn)
29185
29196
  return "{ [object globalThis] }";
29186
29197
  if (!fe(L) && !je(L)) {
29187
- var Sc = De(L, _t), Kd = Ce ? Ce(L) === Object.prototype : L instanceof Object || L.constructor === Object, bc = L instanceof Object ? "" : "null prototype", Xd = !Kd && re && Object(L) === L && re in L ? g.call(ct(L), 8, -1) : bc ? "Object" : "", Fy = Kd || typeof L.constructor != "function" ? "" : L.constructor.name ? L.constructor.name + " " : "", Dc = Fy + (Xd || bc ? "[" + _.call(A.call([], Xd || [], bc || []), ": ") + "] " : "");
29198
+ var Sc = De(L, _t), Kd = Ie ? Ie(L) === Object.prototype : L instanceof Object || L.constructor === Object, bc = L instanceof Object ? "" : "null prototype", Xd = !Kd && re && Object(L) === L && re in L ? g.call(ct(L), 8, -1) : bc ? "Object" : "", Fy = Kd || typeof L.constructor != "function" ? "" : L.constructor.name ? L.constructor.name + " " : "", Dc = Fy + (Xd || bc ? "[" + _.call(A.call([], Xd || [], bc || []), ": ") + "] " : "");
29188
29199
  return Sc.length === 0 ? Dc + "{}" : Br ? Dc + "{" + Ae(Sc, Br) + "}" : Dc + "{ " + _.call(Sc, ", ") + " }";
29189
29200
  }
29190
29201
  return String(L);
@@ -29879,7 +29890,7 @@ function Zd() {
29879
29890
  Be && A && (He = A(Be.prototype));
29880
29891
  }
29881
29892
  return J[he] = He, He;
29882
- }, Ce = {
29893
+ }, Ie = {
29883
29894
  __proto__: null,
29884
29895
  "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
29885
29896
  "%ArrayPrototype%": ["Array", "prototype"],
@@ -29944,7 +29955,7 @@ function Zd() {
29944
29955
  }), Be;
29945
29956
  }, fe = function(he, He) {
29946
29957
  var Ne = he, Be;
29947
- if (ve(Ce, Ne) && (Be = Ce[Ne], Ne = "%" + Be[0] + "%"), ve(J, Ne)) {
29958
+ if (ve(Ie, Ne) && (Be = Ie[Ne], Ne = "%" + Be[0] + "%"), ve(J, Ne)) {
29948
29959
  var Pe = J[Ne];
29949
29960
  if (Pe === k && (Pe = le(Ne)), typeof Pe > "u" && !He)
29950
29961
  throw new c("intrinsic " + he + " exists, but is not available. Please file an issue!");
@@ -30288,8 +30299,8 @@ function VI() {
30288
30299
  strictNullHandling: !1
30289
30300
  }, f = function(p) {
30290
30301
  return typeof p == "string" || typeof p == "number" || typeof p == "boolean" || typeof p == "symbol" || typeof p == "bigint";
30291
- }, h = {}, m = function x(p, w, g, v, E, D, R, A, _, M, C, T, k, P, J, re, le, Ce) {
30292
- for (var ee = p, ve = Ce, Ee = 0, H = !1; (ve = ve.get(h)) !== void 0 && !H; ) {
30302
+ }, h = {}, m = function x(p, w, g, v, E, D, R, A, _, M, C, T, k, P, J, re, le, Ie) {
30303
+ for (var ee = p, ve = Ie, Ee = 0, H = !1; (ve = ve.get(h)) !== void 0 && !H; ) {
30293
30304
  var U = ve.get(p);
30294
30305
  if (Ee += 1, typeof U < "u") {
30295
30306
  if (U === Ee)
@@ -30331,9 +30342,9 @@ function VI() {
30331
30342
  var he = ue[je], He = typeof he == "object" && he && typeof he.value < "u" ? he.value : ee[he];
30332
30343
  if (!(R && He === null)) {
30333
30344
  var Ne = T && A ? String(he).replace(/\./g, "%2E") : String(he), Be = i(ee) ? typeof g == "function" ? g(fe, Ne) : fe : fe + (T ? "." + Ne : "[" + Ne + "]");
30334
- Ce.set(p, Ee);
30345
+ Ie.set(p, Ee);
30335
30346
  var Pe = s();
30336
- Pe.set(h, Ce), c($, x(
30347
+ Pe.set(h, Ie), c($, x(
30337
30348
  He,
30338
30349
  Be,
30339
30350
  g,
@@ -32773,8 +32784,8 @@ class F_ {
32773
32784
  getServiceGroupById(t, e, r, n = N.LOCAL_THEN_REMOTE) {
32774
32785
  return this.serviceGroupSecuredRepository.getServiceGroup(this.bearer, r, t, e, n);
32775
32786
  }
32776
- getAllServiceGroups(t, e, r = N.LOCAL_THEN_REMOTE) {
32777
- return this.serviceGroupSecuredRepository.getAllServiceGroups(this.bearer, e, t, r);
32787
+ getAllServiceGroups(t, e, r = !0, n = N.LOCAL_THEN_REMOTE) {
32788
+ return this.serviceGroupSecuredRepository.getAllServiceGroups(this.bearer, e, t, r, n);
32778
32789
  }
32779
32790
  createServiceGroup(t, e, r) {
32780
32791
  return this.serviceGroupSecuredRepository.createServiceGroup(this.bearer, t, e, r);
@@ -33623,7 +33634,7 @@ export {
33623
33634
  $E as GlobalRight,
33624
33635
  Au as HelpDataEntity,
33625
33636
  oi as HelpEntity,
33626
- Ie as ImageEntity,
33637
+ Ce as ImageEntity,
33627
33638
  Nd as IntegrationEntity,
33628
33639
  pS as Language,
33629
33640
  ro as LinkEntity,
@@ -23,6 +23,7 @@ interface Args {
23
23
  account: string;
24
24
  companyId: string;
25
25
  serviceGroupId?: string;
26
+ withDisabledServices?: boolean;
26
27
  }
27
28
  export declare class ServiceGroupSecuredRepository extends Repository<ServiceGroupSecuredEntity, Args> {
28
29
  private readonly serviceGroupDb;
@@ -30,7 +31,7 @@ export declare class ServiceGroupSecuredRepository extends Repository<ServiceGro
30
31
  constructor(authenticationSecuredService: AuthenticationSecuredService, indexedDb: IndexedDb, baseURL: string, logger?: Logger);
31
32
  dispose(): void;
32
33
  protected onCascadeDelete(data: any, message: EMITTER_TYPE, channel: PubSubService<EMITTER_TYPE>, handler: any): Promise<void>;
33
- getAllServiceGroups(bearer: string, account: string, companyId: string, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<ServiceGroupSecuredEntity>>;
34
+ getAllServiceGroups(bearer: string, account: string, companyId: string, withDisabledServices?: boolean, mode?: QUERY_TYPE): Promise<QUERY_RESULTS<ServiceGroupSecuredEntity>>;
34
35
  getServiceGroup(bearer: string, account: string, companyId: string, serviceGroupId: string, mode?: QUERY_TYPE): Promise<QUERY_RESULT<ServiceGroupSecuredEntity>>;
35
36
  createServiceGroup(bearer: string, account: string, companyId: string, serviceGroup: ServiceGroupSecuredEntity): Promise<ServiceGroupSecuredEntity>;
36
37
  updateServiceGroup(bearer: string, account: string, companyId: string, serviceGroupId: string, serviceGroup: ServiceGroupSecuredEntity): Promise<ServiceGroupSecuredEntity>;
@@ -16,7 +16,7 @@
16
16
  import HttpClient from '@/service/index';
17
17
  import { ServiceGroupSecuredDto } from "@/data/ServiceGroup";
18
18
  export declare class ServiceGroupSecuredService extends HttpClient {
19
- getAllServiceGroups(bearer: string, account: string, companyId: string): Promise<ServiceGroupSecuredDto[]>;
19
+ getAllServiceGroups(bearer: string, account: string, companyId: string, withDisabledServices: boolean): Promise<ServiceGroupSecuredDto[]>;
20
20
  getById(bearer: string, account: string, companyId: string, serviceGroupId: string): Promise<ServiceGroupSecuredDto>;
21
21
  createServiceGroup(bearer: string, account: string, companyId: string, serviceGroup: ServiceGroupSecuredDto): Promise<ServiceGroupSecuredDto>;
22
22
  updateServiceGroup(bearer: string, account: string, companyId: string, serviceGroupId: string, serviceGroup: ServiceGroupSecuredDto): Promise<ServiceGroupSecuredDto>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agendize/js-agendize-api",
3
- "version": "1.41.1",
3
+ "version": "1.43.0",
4
4
  "description": "JavaScript wrapper for call Agendize API",
5
5
  "type": "module",
6
6
  "private": false,
@@ -55,14 +55,14 @@
55
55
  "fake-indexeddb": "^6.0.0",
56
56
  "qs": "^6.14.0",
57
57
  "rollup-plugin-visualizer": "^5.14.0",
58
- "typescript": "^5.7.3",
59
- "vite": "^6.0.9",
60
- "vite-plugin-mkcert": "^1.17.6",
58
+ "typescript": "^5.9.3",
59
+ "vite": "^6.3.7",
60
+ "vite-plugin-mkcert": "^1.17.9",
61
61
  "vitest": "3.1.3"
62
62
  },
63
63
  "dependencies": {
64
64
  "axios": "^1.7.9",
65
- "idb": "^8.0.1",
65
+ "idb": "^8.0.3",
66
66
  "luxon": "^3.5.0",
67
67
  "type-pubsub": "^0.1.4",
68
68
  "zod": "^3.24.2"