@nanas-home/hub-common 0.31.665 → 0.34.734
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/chunk/{KN3QOGR6.js → V3GOOHTC.js} +16 -15
- package/dist/index.css +1 -1
- package/dist/node-utils/index.d.ts +2 -2
- package/dist/node-utils/index.js +2 -2
- package/dist/{textValidation-DRdkeGMz.d.ts → textValidation-DiJrOvzQ.d.ts} +66 -21
- package/dist/web/index.d.ts +2 -2
- package/dist/web/index.js +3 -3
- package/dist/web/index.jsx +86 -85
- package/package.json +1 -1
|
@@ -186,10 +186,10 @@ var apiRoute = {
|
|
|
186
186
|
address: {
|
|
187
187
|
prefix: "/address",
|
|
188
188
|
getAll: "",
|
|
189
|
-
getById: apiRouteParam.addressUuid
|
|
189
|
+
getById: `/${apiRouteParam.addressUuid}`,
|
|
190
190
|
create: "",
|
|
191
|
-
update: apiRouteParam.addressUuid
|
|
192
|
-
delete: apiRouteParam.addressUuid
|
|
191
|
+
update: `/${apiRouteParam.addressUuid}`,
|
|
192
|
+
delete: `/${apiRouteParam.addressUuid}`,
|
|
193
193
|
lookup: "/lookup",
|
|
194
194
|
swagger: { name: "Answers", description: "Endpoints for User to manage their Addresses" }
|
|
195
195
|
},
|
|
@@ -202,17 +202,17 @@ var apiRoute = {
|
|
|
202
202
|
booking: {
|
|
203
203
|
prefix: "/booking",
|
|
204
204
|
getAll: "",
|
|
205
|
-
getById: apiRouteParam.bookingUuid
|
|
205
|
+
getById: `/${apiRouteParam.bookingUuid}`,
|
|
206
206
|
create: "",
|
|
207
|
-
update: apiRouteParam.bookingUuid
|
|
208
|
-
delete: apiRouteParam.bookingUuid
|
|
207
|
+
update: `/${apiRouteParam.bookingUuid}`,
|
|
208
|
+
delete: `/${apiRouteParam.bookingUuid}`,
|
|
209
209
|
swagger: { name: "Bookings", description: "Endpoints for User to manage their Bookings" }
|
|
210
210
|
},
|
|
211
211
|
bookingAddon: {
|
|
212
212
|
prefix: "/booking-addon",
|
|
213
|
-
getByBookingId: apiRouteParam.bookingUuid
|
|
214
|
-
addToBooking: apiRouteParam.bookingUuid
|
|
215
|
-
removeToBooking: apiRouteParam.bookingUuid
|
|
213
|
+
getByBookingId: `/${apiRouteParam.bookingUuid}`,
|
|
214
|
+
addToBooking: `/${apiRouteParam.bookingUuid}`,
|
|
215
|
+
removeToBooking: `/${apiRouteParam.bookingUuid}`,
|
|
216
216
|
swagger: { name: "BookingAddons", description: "Endpoints for User to manage their Booking Addons" }
|
|
217
217
|
},
|
|
218
218
|
membership: {
|
|
@@ -570,13 +570,13 @@ var UserRestriction = {
|
|
|
570
570
|
|
|
571
571
|
// src/contracts/generated/searchColumns.ts
|
|
572
572
|
var searchColumns = {
|
|
573
|
-
membership: [{ "property": "monthlyFee", "type": 2 }, { "property": "perNightStay", "type": 2 }, { "property": "additionalPetPerNightStay", "type": 2 }, { "property": "transportFee", "type": 2 }, { "property": "perKm", "type": 2 }, { "property": "matchFee", "type": 2 }, { "property": "freeCancellationWithinDays", "type": 2 }, { "property": "bookingAdvanceDays", "type": 2 }, { "property": "bookingCalenderMonthsOpenInAdvance", "type": 2 }, { "property": "seasonalDiscounts", "type": 2 }],
|
|
574
|
-
upload: [{ "property": "linkUuid", "type": 2 }, { "property": "linkType", "type": 2 }, { "property": "type", "type": 2 }, { "property": "fileName", "type": 2 }, { "property": "blobType", "type": 2 }, { "property": "sizeInKb", "type": 2 }, { "property": "dateCreated", "type": 5 }],
|
|
575
573
|
address: [{ "property": "name", "type": 2 }, { "property": "street", "type": 2 }, { "property": "city", "type": 2 }, { "property": "postalCode", "type": 2 }, { "property": "country", "type": 2 }],
|
|
576
|
-
|
|
577
|
-
|
|
574
|
+
question: [{ "property": "forTypes", "type": 1 }, { "property": "transKey", "type": 2 }, { "property": "fallback", "type": 2 }, { "property": "category", "type": 2 }, { "property": "type", "type": 0 }, { "property": "sortOrder", "type": 3 }, { "property": "visible", "type": 4 }, { "property": "notes", "type": 2 }],
|
|
575
|
+
upload: [{ "property": "linkUuid", "type": 2 }, { "property": "linkType", "type": 2 }, { "property": "type", "type": 2 }, { "property": "fileName", "type": 2 }, { "property": "blobType", "type": 2 }, { "property": "sizeInKb", "type": 2 }, { "property": "dateCreated", "type": 5 }],
|
|
576
|
+
membership: [{ "property": "monthlyFee", "type": 2 }, { "property": "perNightStay", "type": 2 }, { "property": "additionalPetPerNightStay", "type": 2 }, { "property": "transportFee", "type": 2 }, { "property": "perKm", "type": 2 }, { "property": "matchFee", "type": 2 }, { "property": "freeCancellationWithinDays", "type": 2 }, { "property": "bookingAdvanceDays", "type": 2 }, { "property": "bookingCalenderMonthsOpenInAdvance", "type": 2 }, { "property": "seasonalDiscounts", "type": 2 }],
|
|
578
577
|
pet: [{ "property": "type", "type": 1 }, { "property": "sex", "type": 2 }, { "property": "breed", "type": 2 }, { "property": "neutered", "type": 2 }, { "property": "name", "type": 2 }, { "property": "notes", "type": 2 }, { "property": "dateOfBirth", "type": 5 }],
|
|
579
|
-
|
|
578
|
+
user: [{ "property": "types", "type": 1 }, { "property": "firstName", "type": 2 }, { "property": "lastName", "type": 2 }, { "property": "email", "type": 2 }, { "property": "hubspotId", "type": 2 }, { "property": "flags", "type": 1 }, { "property": "dateCreated", "type": 5 }],
|
|
579
|
+
booking: [{ "property": "startDate", "type": 5 }, { "property": "endDate", "type": 5 }, { "property": "status", "type": 2 }, { "property": "notes", "type": 2 }]
|
|
580
580
|
};
|
|
581
581
|
|
|
582
582
|
// src/helpers/arrayHelper.ts
|
|
@@ -658,11 +658,12 @@ var CommonConfigService = class {
|
|
|
658
658
|
getHubCoverageUrl = () => this.get("VITE_HUB_COVERAGE_URL");
|
|
659
659
|
getHubDocsUrl = () => this.get("VITE_HUB_DOCS_URL");
|
|
660
660
|
getHubStorybookUrl = () => this.get("VITE_HUB_STORYBOOK_URL");
|
|
661
|
-
getHubspotId = () => this.get("VITE_HUBSPOT_ID");
|
|
662
661
|
getFakeApiRequestDelay = () => this.getNumber("VITE_FAKE_API_REQUEST_DELAY");
|
|
662
|
+
// HCaptcha
|
|
663
663
|
getCaptchaEnabled = () => this.getBool("VITE_ENABLE_CAPTCHA");
|
|
664
664
|
getHCaptchaSecret = () => this.get("HCAPTCHA_SECRET");
|
|
665
665
|
getHCaptchaSiteKey = () => this.get("VITE_HCAPTCHA_SITE_KEY");
|
|
666
|
+
// Tolgee
|
|
666
667
|
getTolgeeApiKey = () => this.get("VITE_TOLGEE_API_KEY");
|
|
667
668
|
getTolgeeApiUrl = () => this.get("VITE_TOLGEE_API_URL");
|
|
668
669
|
getTolgeeProjectId = () => this.getNumber("VITE_TOLGEE_PROJECT_ID");
|