@agendize/js-agendize-api 1.42.0 → 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.
- package/dist/agendizeApi.d.ts +1 -1
- package/dist/data/Account.d.ts +2 -0
- package/dist/data/Company.d.ts +2 -0
- package/dist/data/Rights.d.ts +1 -0
- package/dist/js-agendize-api.es.js +102 -94
- package/dist/repository/secured/serviceGroupSecuredRepository.d.ts +2 -1
- package/dist/service/secured/serviceGroupSecuredService.d.ts +1 -1
- package/package.json +1 -1
package/dist/agendizeApi.d.ts
CHANGED
|
@@ -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
|
}>;
|
package/dist/data/Account.d.ts
CHANGED
|
@@ -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;
|
package/dist/data/Company.d.ts
CHANGED
|
@@ -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
|
}
|
package/dist/data/Rights.d.ts
CHANGED
|
@@ -5646,7 +5646,7 @@ class qv {
|
|
|
5646
5646
|
a(this, "end");
|
|
5647
5647
|
}
|
|
5648
5648
|
}
|
|
5649
|
-
class
|
|
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
|
|
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
|
|
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
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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
|
|
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 =
|
|
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 =
|
|
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) => {
|
|
@@ -9585,7 +9590,7 @@ class Si extends nt {
|
|
|
9585
9590
|
}
|
|
9586
9591
|
static fromDto(e) {
|
|
9587
9592
|
const r = new Si();
|
|
9588
|
-
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
|
|
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;
|
|
9589
9594
|
}
|
|
9590
9595
|
}
|
|
9591
9596
|
class Yt extends st {
|
|
@@ -9641,7 +9646,7 @@ class Yt extends st {
|
|
|
9641
9646
|
})), e.externalCalendars && (r.externalCalendars = [], e.externalCalendars.forEach((i) => {
|
|
9642
9647
|
var o;
|
|
9643
9648
|
return (o = r.externalCalendars) == null ? void 0 : o.push(i);
|
|
9644
|
-
})), e.calendarLink && (r.calendarLink = { mineType: e.calendarLink.mineType, url: e.calendarLink.url }), e.connectors && (r.connectors = e.connectors), e.picture && (r.picture =
|
|
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) => {
|
|
9645
9650
|
var o;
|
|
9646
9651
|
(o = r.servicesSkill) == null || o.push(i.id);
|
|
9647
9652
|
})), r.color = e.color, r.availableForWidget = e.availableForWidget, r;
|
|
@@ -9667,7 +9672,7 @@ class Yt extends st {
|
|
|
9667
9672
|
})), e.externalCalendars && (r.externalCalendars = [], e.externalCalendars.forEach((i) => {
|
|
9668
9673
|
var o;
|
|
9669
9674
|
return (o = r.externalCalendars) == null ? void 0 : o.push(i);
|
|
9670
|
-
})), e.calendarLink && (r.calendarLink = { mineType: e.calendarLink.mineType, url: e.calendarLink.url }), e.picture && (r.picture =
|
|
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) => {
|
|
9671
9676
|
var o;
|
|
9672
9677
|
(o = r.services) == null || o.push({ id: i });
|
|
9673
9678
|
})), r.color = e.color, r.availableForWidget = e.availableForWidget, r;
|
|
@@ -9712,7 +9717,7 @@ class ku extends nt {
|
|
|
9712
9717
|
}
|
|
9713
9718
|
static fromDto(e) {
|
|
9714
9719
|
const r = new ku();
|
|
9715
|
-
if (r.id = e.id, r.name = I(e.name), e.picture && (r.picture = new
|
|
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) {
|
|
9716
9721
|
const n = [];
|
|
9717
9722
|
e.members.forEach((i) => n.push({ id: i.id })), r.members = n;
|
|
9718
9723
|
}
|
|
@@ -9735,14 +9740,14 @@ class wr extends st {
|
|
|
9735
9740
|
}
|
|
9736
9741
|
static fromServiceGroupDto(e, r) {
|
|
9737
9742
|
const n = new wr();
|
|
9738
|
-
return n.id = e.id, n.name = I(e.name), n.color = e.color, n.picture =
|
|
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) => {
|
|
9739
9744
|
var o;
|
|
9740
9745
|
(o = n.members) == null || o.push({ id: i.id, name: I(i.name) });
|
|
9741
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;
|
|
9742
9747
|
}
|
|
9743
9748
|
static toServiceGroupDto(e) {
|
|
9744
9749
|
const r = new dw();
|
|
9745
|
-
return r.id = e.id, r.name = j(e.name), r.color = e.color, r.picture =
|
|
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) => {
|
|
9746
9751
|
var i;
|
|
9747
9752
|
(i = r.members) == null || i.push({ id: n.id, name: j(n.name) });
|
|
9748
9753
|
})), e.parent && (r.parent = { id: e.parent.id, name: j(e.parent.name) }), r.externalId = j(e.externalId), r;
|
|
@@ -9782,7 +9787,7 @@ class Hi extends nt {
|
|
|
9782
9787
|
}
|
|
9783
9788
|
static fromDto(e) {
|
|
9784
9789
|
const r = new Hi();
|
|
9785
|
-
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
|
|
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;
|
|
9786
9791
|
}
|
|
9787
9792
|
}
|
|
9788
9793
|
class Bu extends nt {
|
|
@@ -9846,7 +9851,7 @@ class Er extends st {
|
|
|
9846
9851
|
const n = [];
|
|
9847
9852
|
return (i = e.resource) == null || i.forEach((o) => {
|
|
9848
9853
|
n.push({ id: o.id, name: o.name, quantity: o.quantity });
|
|
9849
|
-
}), r.resources = n, r.type = e.bypassFreeBusyAvailabilities !== void 0 && e.bypassFreeBusyAvailabilities ? "event" : "default", r.locations = e.locations, r.locationCustom = I(e.locationCustom), r.picture =
|
|
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) => {
|
|
9850
9855
|
var c;
|
|
9851
9856
|
(c = r.staffsSkill) == null || c.push(o.id);
|
|
9852
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(
|
|
@@ -9864,7 +9869,7 @@ class Er extends st {
|
|
|
9864
9869
|
static toServiceDto(e, r) {
|
|
9865
9870
|
var o, c, l, u, d, f, h, m, y, x, p, w, g, v, E, D, R;
|
|
9866
9871
|
const n = new hw();
|
|
9867
|
-
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 =
|
|
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;
|
|
9868
9873
|
const i = [];
|
|
9869
9874
|
return n.bypassFreeBusyAvailabilities = e.type === "event", (o = e.resources) == null || o.forEach((A) => {
|
|
9870
9875
|
i.push({ id: A.id, name: A.name, quantity: A.quantity });
|
|
@@ -10527,8 +10532,8 @@ function Yo() {
|
|
|
10527
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;
|
|
10528
10533
|
f[_] = C + f[_ - 7] + k + f[_ - 16];
|
|
10529
10534
|
}
|
|
10530
|
-
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),
|
|
10531
|
-
A = R, R = D, D = E, E = v +
|
|
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;
|
|
10532
10537
|
}
|
|
10533
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;
|
|
10534
10539
|
},
|
|
@@ -10666,7 +10671,7 @@ class Dt {
|
|
|
10666
10671
|
let i = [];
|
|
10667
10672
|
(u = t.phoneNumbers) == null || u.forEach((h) => {
|
|
10668
10673
|
i.push(so.fromContactPhoneNumberDto(h));
|
|
10669
|
-
}), i.length > 0 ? (r.phoneNumbers = i, r.phone = i[0].number) : r.phone = t.phone, t.picture && (r.picture =
|
|
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 = {
|
|
10670
10675
|
enabled: t.marketingOptins.email.enabled
|
|
10671
10676
|
}));
|
|
10672
10677
|
let o = [];
|
|
@@ -10693,7 +10698,7 @@ class Dt {
|
|
|
10693
10698
|
let i = [];
|
|
10694
10699
|
(u = t.phoneNumbers) == null || u.forEach((h) => {
|
|
10695
10700
|
i.push(so.toContactPhoneNumberDto(h));
|
|
10696
|
-
}), r.phoneNumbers = i, r.phone = t.phone, t.picture && (r.picture =
|
|
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;
|
|
10697
10702
|
let o = [];
|
|
10698
10703
|
(d = t.tags) == null || d.forEach((h) => {
|
|
10699
10704
|
o.push(bi.toContactTagDto(h));
|
|
@@ -11835,7 +11840,7 @@ class ur {
|
|
|
11835
11840
|
static fromUserDto(t) {
|
|
11836
11841
|
if ("firstName" in t) {
|
|
11837
11842
|
const e = new ur();
|
|
11838
|
-
if (e.id = t.id, e.firstName = I(t.firstName), e.lastName = I(t.lastName), t.picture && (e.picture = new
|
|
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)
|
|
11839
11844
|
for (const r of t.companies)
|
|
11840
11845
|
r.staffIds && Array.prototype.push.apply(e.staffIds, r.staffIds);
|
|
11841
11846
|
return e.accounts = t.accounts, e;
|
|
@@ -11844,7 +11849,7 @@ class ur {
|
|
|
11844
11849
|
}
|
|
11845
11850
|
static fromUserLightDto(t) {
|
|
11846
11851
|
const e = new ur();
|
|
11847
|
-
if (e.id = t.i, e.firstName = I(t.f), e.lastName = I(t.l), t.p && (e.picture = new
|
|
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)
|
|
11848
11853
|
for (const r of t.c)
|
|
11849
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);
|
|
11850
11855
|
return e;
|
|
@@ -12552,7 +12557,7 @@ class rd extends nt {
|
|
|
12552
12557
|
}
|
|
12553
12558
|
static fromDto(e) {
|
|
12554
12559
|
const r = new rd();
|
|
12555
|
-
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
|
|
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;
|
|
12556
12561
|
}
|
|
12557
12562
|
}
|
|
12558
12563
|
class Ar extends st {
|
|
@@ -12581,7 +12586,7 @@ class Ar extends st {
|
|
|
12581
12586
|
static fromConferenceDto(e) {
|
|
12582
12587
|
var o, c;
|
|
12583
12588
|
const r = new Ar();
|
|
12584
|
-
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 =
|
|
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));
|
|
12585
12590
|
const n = [];
|
|
12586
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));
|
|
12587
12592
|
const i = [];
|
|
@@ -12590,7 +12595,7 @@ class Ar extends st {
|
|
|
12590
12595
|
static toConferenceDto(e, r) {
|
|
12591
12596
|
var c, l;
|
|
12592
12597
|
const n = new VE();
|
|
12593
|
-
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 =
|
|
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 = {};
|
|
12594
12599
|
const i = [];
|
|
12595
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));
|
|
12596
12601
|
const o = [];
|
|
@@ -12710,7 +12715,7 @@ class id {
|
|
|
12710
12715
|
}
|
|
12711
12716
|
static fromDto(t) {
|
|
12712
12717
|
const e = new id();
|
|
12713
|
-
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
|
|
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;
|
|
12714
12719
|
}
|
|
12715
12720
|
}
|
|
12716
12721
|
class Ri {
|
|
@@ -13115,7 +13120,7 @@ function YE() {
|
|
|
13115
13120
|
function A(B, V, G) {
|
|
13116
13121
|
if (!ue(V))
|
|
13117
13122
|
throw new TypeError();
|
|
13118
|
-
return U(G) || (G = he(G)),
|
|
13123
|
+
return U(G) || (G = he(G)), Ie(B, V, G);
|
|
13119
13124
|
}
|
|
13120
13125
|
e("getOwnMetadata", A);
|
|
13121
13126
|
function _(B, V) {
|
|
@@ -13204,12 +13209,12 @@ function YE() {
|
|
|
13204
13209
|
function le(B, V, G) {
|
|
13205
13210
|
var X = re(B, V, G);
|
|
13206
13211
|
if (X)
|
|
13207
|
-
return
|
|
13212
|
+
return Ie(B, V, G);
|
|
13208
13213
|
var ae = ht(V);
|
|
13209
13214
|
if (!W(ae))
|
|
13210
13215
|
return le(B, ae, G);
|
|
13211
13216
|
}
|
|
13212
|
-
function
|
|
13217
|
+
function Ie(B, V, G) {
|
|
13213
13218
|
var X = P(
|
|
13214
13219
|
V,
|
|
13215
13220
|
G,
|
|
@@ -16897,22 +16902,22 @@ class Y {
|
|
|
16897
16902
|
return Promise.reject(t);
|
|
16898
16903
|
});
|
|
16899
16904
|
a(this, "_handleRefreshToken", async (t) => {
|
|
16900
|
-
var
|
|
16901
|
-
if (
|
|
16902
|
-
|
|
16903
|
-
|
|
16904
|
-
|
|
16905
|
-
|
|
16906
|
-
|
|
16907
|
-
|
|
16908
|
-
|
|
16909
|
-
|
|
16910
|
-
|
|
16911
|
-
|
|
16912
|
-
|
|
16913
|
-
|
|
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 = "/");
|
|
16914
16920
|
}
|
|
16915
|
-
return this._handleError(t);
|
|
16916
16921
|
});
|
|
16917
16922
|
this.authenticationService = e, this.logger = r, this.baseUrl = t, this.isPublic = n, this.instance = Ge.create({
|
|
16918
16923
|
baseURL: t
|
|
@@ -18212,7 +18217,7 @@ Bo = uy([
|
|
|
18212
18217
|
class cR extends Y {
|
|
18213
18218
|
async getAllCompanies(t, e) {
|
|
18214
18219
|
const r = this.getAxiosConfig(t, e);
|
|
18215
|
-
r.params.version =
|
|
18220
|
+
r.params.version = 3;
|
|
18216
18221
|
const i = this.instance.get("/api/2.1/scheduling/companies", r);
|
|
18217
18222
|
if (i !== null)
|
|
18218
18223
|
try {
|
|
@@ -18225,13 +18230,14 @@ class cR extends Y {
|
|
|
18225
18230
|
}
|
|
18226
18231
|
async getAllScopedCompanies(t, e, r) {
|
|
18227
18232
|
const n = this.getAxiosConfig(t, r);
|
|
18228
|
-
|
|
18229
|
-
|
|
18230
|
-
|
|
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)
|
|
18231
18237
|
try {
|
|
18232
|
-
return (await
|
|
18233
|
-
} catch (
|
|
18234
|
-
throw
|
|
18238
|
+
return (await c).items;
|
|
18239
|
+
} catch (l) {
|
|
18240
|
+
throw l;
|
|
18235
18241
|
}
|
|
18236
18242
|
else
|
|
18237
18243
|
throw new b(S.INTERNAL_ERROR);
|
|
@@ -20818,8 +20824,8 @@ function Pn() {
|
|
|
20818
20824
|
var g = p + w, v = x[g];
|
|
20819
20825
|
x[g] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360;
|
|
20820
20826
|
}
|
|
20821
|
-
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],
|
|
20822
|
-
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, $,
|
|
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;
|
|
20823
20829
|
},
|
|
20824
20830
|
_doFinalize: function() {
|
|
20825
20831
|
var x = this._data, p = x.words, w = this._nDataBytes * 8, g = x.sigBytes * 8;
|
|
@@ -21043,7 +21049,7 @@ function wy() {
|
|
|
21043
21049
|
]);
|
|
21044
21050
|
},
|
|
21045
21051
|
_doProcessBlock: function(y, x) {
|
|
21046
|
-
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,
|
|
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++) {
|
|
21047
21053
|
var at, pt, St = h[ze];
|
|
21048
21054
|
if (ze < 16)
|
|
21049
21055
|
pt = St.high = y[x + ze * 2] | 0, at = St.low = y[x + ze * 2 + 1] | 0;
|
|
@@ -21054,7 +21060,7 @@ function wy() {
|
|
|
21054
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);
|
|
21055
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;
|
|
21056
21062
|
}
|
|
21057
|
-
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 =
|
|
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);
|
|
21058
21064
|
},
|
|
21059
21065
|
_doFinalize: function() {
|
|
21060
21066
|
var y = this._data, x = y.words, p = this._nDataBytes * 8, w = y.sigBytes * 8;
|
|
@@ -21170,7 +21176,7 @@ function nA() {
|
|
|
21170
21176
|
P.high = C, P.low = T;
|
|
21171
21177
|
}
|
|
21172
21178
|
for (var M = 0; M < 5; M++)
|
|
21173
|
-
for (var J = y[(M + 4) % 5], re = y[(M + 1) % 5], le = re.high,
|
|
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++) {
|
|
21174
21180
|
var A = g[M + 5 * k];
|
|
21175
21181
|
A.high ^= C, A.low ^= T;
|
|
21176
21182
|
}
|
|
@@ -21563,10 +21569,10 @@ function iA() {
|
|
|
21563
21569
|
var M = A + _, C = R[M];
|
|
21564
21570
|
R[M] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360;
|
|
21565
21571
|
}
|
|
21566
|
-
var T = this._hash.words, k = m.words, P = y.words, J = u.words, re = d.words, le = f.words,
|
|
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;
|
|
21567
21573
|
W = ee = T[0], $ = ve = T[1], ue = Ee = T[2], Se = H = T[3], qe = U = T[4];
|
|
21568
21574
|
for (var fe, _ = 0; _ < 80; _ += 1)
|
|
21569
|
-
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,
|
|
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;
|
|
21570
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;
|
|
21571
21577
|
},
|
|
21572
21578
|
_doFinalize: function() {
|
|
@@ -22042,8 +22048,8 @@ function mt() {
|
|
|
22042
22048
|
function T(k, P, J) {
|
|
22043
22049
|
var re, le = this._iv;
|
|
22044
22050
|
le ? (re = le, this._iv = r) : re = this._prevBlock;
|
|
22045
|
-
for (var
|
|
22046
|
-
k[P +
|
|
22051
|
+
for (var Ie = 0; Ie < J; Ie++)
|
|
22052
|
+
k[P + Ie] ^= re[Ie];
|
|
22047
22053
|
}
|
|
22048
22054
|
return C;
|
|
22049
22055
|
}(), w = n.pad = {}, g = w.Pkcs7 = {
|
|
@@ -22062,8 +22068,8 @@ function mt() {
|
|
|
22062
22068
|
pad: function(C, T) {
|
|
22063
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)
|
|
22064
22070
|
re.push(J);
|
|
22065
|
-
var
|
|
22066
|
-
C.concat(
|
|
22071
|
+
var Ie = c.create(re, P);
|
|
22072
|
+
C.concat(Ie);
|
|
22067
22073
|
},
|
|
22068
22074
|
/**
|
|
22069
22075
|
* Unpads data that had been padded using the algorithm defined in PKCS #5/7.
|
|
@@ -22669,7 +22675,7 @@ function BA() {
|
|
|
22669
22675
|
v[E + 1] = v[E + 3], v[E + 3] = D;
|
|
22670
22676
|
},
|
|
22671
22677
|
_doCryptBlock: function(v, E, D, R, A, _, M, C) {
|
|
22672
|
-
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,
|
|
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++) {
|
|
22673
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++];
|
|
22674
22680
|
k = ee, P = ve, J = Ee, re = H;
|
|
22675
22681
|
}
|
|
@@ -25088,13 +25094,15 @@ class s1 extends Z {
|
|
|
25088
25094
|
}
|
|
25089
25095
|
}
|
|
25090
25096
|
class i1 extends Y {
|
|
25091
|
-
async getAllServiceGroups(t, e, r) {
|
|
25092
|
-
const
|
|
25093
|
-
|
|
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)
|
|
25094
25102
|
try {
|
|
25095
|
-
return (await
|
|
25096
|
-
} catch (
|
|
25097
|
-
throw
|
|
25103
|
+
return (await o).items;
|
|
25104
|
+
} catch (c) {
|
|
25105
|
+
throw c;
|
|
25098
25106
|
}
|
|
25099
25107
|
else
|
|
25100
25108
|
throw new b(S.INTERNAL_ERROR);
|
|
@@ -25149,8 +25157,8 @@ let ki = class extends Z {
|
|
|
25149
25157
|
async onCascadeDelete(t, e, r, n) {
|
|
25150
25158
|
r === rt && await this.cascadeDelete({ account: t.account, companyId: t.companyId }, (i) => (i == null ? void 0 : i.companyId) === t.companyId);
|
|
25151
25159
|
}
|
|
25152
|
-
async getAllServiceGroups(t, e, r, n = N.LOCAL_THEN_REMOTE) {
|
|
25153
|
-
return this.list(t,
|
|
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 });
|
|
25154
25162
|
}
|
|
25155
25163
|
async getServiceGroup(t, e, r, n, i = N.LOCAL_THEN_REMOTE) {
|
|
25156
25164
|
return this.getById(t, i, { account: e, companyId: r, serviceGroupId: n });
|
|
@@ -25165,7 +25173,7 @@ let ki = class extends Z {
|
|
|
25165
25173
|
return this.deleteById(t, { account: e, companyId: r, serviceGroupId: n });
|
|
25166
25174
|
}
|
|
25167
25175
|
async remoteList(t, e) {
|
|
25168
|
-
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));
|
|
25169
25177
|
}
|
|
25170
25178
|
async remoteGet(t, e) {
|
|
25171
25179
|
this.checkNullable(e);
|
|
@@ -29053,7 +29061,7 @@ var Gc, lm;
|
|
|
29053
29061
|
function xc() {
|
|
29054
29062
|
if (lm) return Gc;
|
|
29055
29063
|
lm = 1;
|
|
29056
|
-
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,
|
|
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) {
|
|
29057
29065
|
return O.__proto__;
|
|
29058
29066
|
} : null);
|
|
29059
29067
|
function ee(O, L) {
|
|
@@ -29187,7 +29195,7 @@ function xc() {
|
|
|
29187
29195
|
if (typeof globalThis < "u" && L === globalThis || typeof Cn < "u" && L === Cn)
|
|
29188
29196
|
return "{ [object globalThis] }";
|
|
29189
29197
|
if (!fe(L) && !je(L)) {
|
|
29190
|
-
var Sc = De(L, _t), Kd =
|
|
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 || []), ": ") + "] " : "");
|
|
29191
29199
|
return Sc.length === 0 ? Dc + "{}" : Br ? Dc + "{" + Ae(Sc, Br) + "}" : Dc + "{ " + _.call(Sc, ", ") + " }";
|
|
29192
29200
|
}
|
|
29193
29201
|
return String(L);
|
|
@@ -29882,7 +29890,7 @@ function Zd() {
|
|
|
29882
29890
|
Be && A && (He = A(Be.prototype));
|
|
29883
29891
|
}
|
|
29884
29892
|
return J[he] = He, He;
|
|
29885
|
-
},
|
|
29893
|
+
}, Ie = {
|
|
29886
29894
|
__proto__: null,
|
|
29887
29895
|
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
29888
29896
|
"%ArrayPrototype%": ["Array", "prototype"],
|
|
@@ -29947,7 +29955,7 @@ function Zd() {
|
|
|
29947
29955
|
}), Be;
|
|
29948
29956
|
}, fe = function(he, He) {
|
|
29949
29957
|
var Ne = he, Be;
|
|
29950
|
-
if (ve(
|
|
29958
|
+
if (ve(Ie, Ne) && (Be = Ie[Ne], Ne = "%" + Be[0] + "%"), ve(J, Ne)) {
|
|
29951
29959
|
var Pe = J[Ne];
|
|
29952
29960
|
if (Pe === k && (Pe = le(Ne)), typeof Pe > "u" && !He)
|
|
29953
29961
|
throw new c("intrinsic " + he + " exists, but is not available. Please file an issue!");
|
|
@@ -30291,8 +30299,8 @@ function VI() {
|
|
|
30291
30299
|
strictNullHandling: !1
|
|
30292
30300
|
}, f = function(p) {
|
|
30293
30301
|
return typeof p == "string" || typeof p == "number" || typeof p == "boolean" || typeof p == "symbol" || typeof p == "bigint";
|
|
30294
|
-
}, h = {}, m = function x(p, w, g, v, E, D, R, A, _, M, C, T, k, P, J, re, le,
|
|
30295
|
-
for (var ee = p, ve =
|
|
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; ) {
|
|
30296
30304
|
var U = ve.get(p);
|
|
30297
30305
|
if (Ee += 1, typeof U < "u") {
|
|
30298
30306
|
if (U === Ee)
|
|
@@ -30334,9 +30342,9 @@ function VI() {
|
|
|
30334
30342
|
var he = ue[je], He = typeof he == "object" && he && typeof he.value < "u" ? he.value : ee[he];
|
|
30335
30343
|
if (!(R && He === null)) {
|
|
30336
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 + "]");
|
|
30337
|
-
|
|
30345
|
+
Ie.set(p, Ee);
|
|
30338
30346
|
var Pe = s();
|
|
30339
|
-
Pe.set(h,
|
|
30347
|
+
Pe.set(h, Ie), c($, x(
|
|
30340
30348
|
He,
|
|
30341
30349
|
Be,
|
|
30342
30350
|
g,
|
|
@@ -32776,8 +32784,8 @@ class F_ {
|
|
|
32776
32784
|
getServiceGroupById(t, e, r, n = N.LOCAL_THEN_REMOTE) {
|
|
32777
32785
|
return this.serviceGroupSecuredRepository.getServiceGroup(this.bearer, r, t, e, n);
|
|
32778
32786
|
}
|
|
32779
|
-
getAllServiceGroups(t, e, r = N.LOCAL_THEN_REMOTE) {
|
|
32780
|
-
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);
|
|
32781
32789
|
}
|
|
32782
32790
|
createServiceGroup(t, e, r) {
|
|
32783
32791
|
return this.serviceGroupSecuredRepository.createServiceGroup(this.bearer, t, e, r);
|
|
@@ -33626,7 +33634,7 @@ export {
|
|
|
33626
33634
|
$E as GlobalRight,
|
|
33627
33635
|
Au as HelpDataEntity,
|
|
33628
33636
|
oi as HelpEntity,
|
|
33629
|
-
|
|
33637
|
+
Ce as ImageEntity,
|
|
33630
33638
|
Nd as IntegrationEntity,
|
|
33631
33639
|
pS as Language,
|
|
33632
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>;
|