@nanas-home/hub-common 0.35.782 → 0.36.824

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.
@@ -286,11 +286,17 @@ var BookingAddonType = /* @__PURE__ */ ((BookingAddonType2) => {
286
286
  var BookingStatusType = /* @__PURE__ */ ((BookingStatusType2) => {
287
287
  BookingStatusType2[BookingStatusType2["Pending"] = 0] = "Pending";
288
288
  BookingStatusType2[BookingStatusType2["Cancelled"] = 1] = "Cancelled";
289
- BookingStatusType2[BookingStatusType2["FindPlacement"] = 2] = "FindPlacement";
290
- BookingStatusType2[BookingStatusType2["Request"] = 3] = "Request";
291
- BookingStatusType2[BookingStatusType2["PaidWithHostMatch"] = 4] = "PaidWithHostMatch";
292
- BookingStatusType2[BookingStatusType2["Complete"] = 5] = "Complete";
293
- BookingStatusType2[BookingStatusType2["CompleteWithHostFeedback"] = 6] = "CompleteWithHostFeedback";
289
+ BookingStatusType2[BookingStatusType2["IntakeCall"] = 2] = "IntakeCall";
290
+ BookingStatusType2[BookingStatusType2["RequestMatchFee"] = 3] = "RequestMatchFee";
291
+ BookingStatusType2[BookingStatusType2["FindPlacement"] = 4] = "FindPlacement";
292
+ BookingStatusType2[BookingStatusType2["Matched"] = 5] = "Matched";
293
+ BookingStatusType2[BookingStatusType2["MeetAndGreet"] = 6] = "MeetAndGreet";
294
+ BookingStatusType2[BookingStatusType2["RequestPayment"] = 7] = "RequestPayment";
295
+ BookingStatusType2[BookingStatusType2["PaymentRequested"] = 8] = "PaymentRequested";
296
+ BookingStatusType2[BookingStatusType2["Paid"] = 9] = "Paid";
297
+ BookingStatusType2[BookingStatusType2["WaitList"] = 10] = "WaitList";
298
+ BookingStatusType2[BookingStatusType2["Complete"] = 11] = "Complete";
299
+ BookingStatusType2[BookingStatusType2["CompleteWithHostFeedback"] = 12] = "CompleteWithHostFeedback";
294
300
  return BookingStatusType2;
295
301
  })(BookingStatusType || {});
296
302
 
@@ -571,13 +577,13 @@ var UserRestriction = {
571
577
 
572
578
  // src/contracts/generated/searchColumns.ts
573
579
  var searchColumns = {
574
- 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 }],
575
580
  address: [{ "property": "name", "type": 2 }, { "property": "street", "type": 2 }, { "property": "city", "type": 2 }, { "property": "postalCode", "type": 2 }, { "property": "country", "type": 2 }],
581
+ booking: [{ "property": "startDate", "type": 5 }, { "property": "endDate", "type": 5 }, { "property": "status", "type": 2 }, { "property": "notes", "type": 2 }],
582
+ 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 }],
576
583
  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 }],
577
- 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 }],
584
+ 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 }],
578
585
  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 }],
579
- booking: [{ "property": "startDate", "type": 5 }, { "property": "endDate", "type": 5 }, { "property": "status", "type": 2 }, { "property": "notes", "type": 2 }],
580
- 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 }]
586
+ 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 }]
581
587
  };
582
588
 
583
589
  // src/helpers/arrayHelper.ts
@@ -1,5 +1,5 @@
1
- import { I as ILogger, R as ResultWithValue, a as Result, L as LogService, C as CommonConfigService, b as IDependencyInjectionSetupProps } from '../textValidation-C9qNxxFi.js';
2
- export { cg as APP_TYPE_TOKEN, a5 as ActivityDto, aX as ActivityRestriction, x as ActivityType, a6 as AddressCreateDto, a7 as AddressDto, y as AddressLinkType, a8 as AddressLookupDto, aY as AddressRestriction, a9 as AddressUpdateDto, aa as AnswerCreateDto, ab as AnswerDto, z as AnswerLinkType, aZ as AnswerRestriction, A as AppType, ac as AuthLoginDto, ad as AuthPatDto, ae as AuthSignupDto, af as AuthSuccessDto, ce as BOT_PATH_TOKEN, ag as BookingAddonDto, a$ as BookingAddonRestriction, B as BookingAddonType, ah as BookingCreateDto, ai as BookingDto, aj as BookingHostCreateDto, ak as BookingHostDto, al as BookingHostUpdateDto, a_ as BookingRestriction, am as BookingRestrictionsDto, an as BookingRestrictionsEnabledDaysDto, ao as BookingRestrictionsPremiumEnabledDaysDto, F as BookingStatusType, ap as BookingUpdateDto, aq as BookingWithRelationshipsDto, f as CachedValue, r as ClickEvent, ar as CommentCreateDto, as as CommentDto, G as CommentLinkType, b0 as CommentRestriction, at as CommentUpdateDto, cc as DependencyInjectionContainer, j as DependencyInjectionFactory, h as DependencyInjectionIdentifier, D as DependencyInjectionToken, b1 as DrivingRouteRestriction, E as EnvKey, H as HtmlElementEvent, o as HtmlFilesEvent, q as HtmlImageReadEvent, l as HtmlKeyEvent, ba as ICaptchaResponse, k as IDependencyInjectionSetupWebProps, bN as IImageParams, bc as ILogMessage, bd as IMediaUpload, cb as ISite, c8 as ISiteColour, aW as JwtPayloadDto, K as KeyEvent, bb as LogMethod, J as LogType, au as MembershipCreateDto, av as MembershipDto, b2 as MembershipRestriction, N as MembershipStatus, O as MembershipType, aw as MembershipUpdateDto, M as MonthTranslationKey, d as MouseButton, P as NetworkState, bf as NominatimAddressResponse, be as NominatimResponse, c5 as ObjectWithPropsOfValue, Q as OrderDirectionType, ax as PaginationRequestDto, ay as PaginationResponseDto, b3 as PermissionRestriction, S as PermissionType, az as PetCreateUpdateDto, aA as PetDto, b4 as PetRestriction, T as PetSexType, U as PetStatusType, V as PetType, c6 as Prettify, aB as ProfileDto, aC as ProfileQuestionAndAnswersItemDto, aD as ProfileQuestionRequestDto, aE as ProfileUpdateDto, aF as QuestionCreateDto, aG as QuestionDto, Y as QuestionForType, b5 as QuestionRestriction, X as QuestionType, bp as RenderCellType, ci as SITE_CONFIG_TOKEN, aH as SearchObjDatePropRequestDto, aI as SearchObjRequestDto, aJ as SearchObjTextPropRequestDto, $ as SearchableColumnInfo, _ as SearchableColumnType, cr as TranslationService, b6 as UnavailabilityRestriction, aK as UploadCreateDto, aL as UploadDto, aM as UploadImageWithLinkDto, a0 as UploadLinkType, b7 as UploadRestriction, a1 as UploadType, aN as UploadUpdateDto, a3 as UserAccountFlagType, aO as UserCreateDto, aP as UserDto, aQ as UserMembershipCreateDto, aR as UserMembershipDto, aS as UserMembershipUpdateDto, aT as UserPermissionDto, b8 as UserRestriction, a4 as UserType, aU as UserUpdateDto, bg as ValidationResult, aV as VersionDto, W as WeekdayTranslationKey, bB as addDays, bA as addMinutes, bC as addMonths, bz as addSeconds, c1 as addSpacesForEnum, bm as addToParallelTasks, c3 as anyObject, u as apiRoute, t as apiRouteParam, bk as arrayContains, bj as arrayOfNLength, b$ as capitalizeFirstLetter, c9 as colourPalette, g as createToken, bM as cyrb53, bF as dateDiffInDays, bJ as debounceLeading, ca as defaultSiteColour, c4 as fakePromise, bs as formatDate, c2 as formatFileSize, by as formatForBookingDate, bu as formatForDateDropdown, bt as formatForDateLocal, bx as formatForDateLocalDetailed, bv as formatForDateOfBirth, bw as formatForDateWithTime, bG as getAgeInYears, Z as getAllPetQuestionForType, ch as getAppType, bK as getArrFromEnum, cf as getBotPath, cm as getCommonConfig, bn as getDayClassObject, bq as getDayElements, bo as getDayHeadingElements, bO as getImageParams, cn as getLog, bR as getMimeTypeFromExtension, bP as getPayloadFromJwt, bT as getPerformanceTimer, bW as getPetAvatarUrl, cl as getSiteColour, ck as getSiteConfig, bV as getUserAvatarUrl, br as getUsersName, bH as getWeekNumber, bU as hasRequiredPermissions, bD as isBefore, cD as isNumber, bE as isSameDay, i as isWebApp, c0 as lowercaseFirstLetter, bh as makeArrayOrDefault, cC as maxDate, ct as maxItems, cH as maxLength, cF as maxValue, bQ as mimeTypeLookup, cB as minDate, cs as minItems, cG as minLength, e as minUrlLength, cE as minValue, m as monthTranslationKeyOrder, cy as multiValidation, bY as nameof, n as nanasFonts, cw as noValidation, cx as notNull, bi as onlyUnique, p as portalGlyphLength, bX as promiseFromValue, bZ as randomIntFromRange, b_ as randomItemFromArray, cd as rootContainer, co as rootDependencyInjectionSetup, b9 as searchColumns, cu as selectedItemsExist, cv as selectedOptionIsInEnum, cz as separateValidation, cp as setContainerToken, cq as setContainerTokenLazy, cj as setSiteConfig, cI as shouldBeUrl, cJ as shouldBeYoutubeUrl, bI as showSecondCalendar, s as socialLinks, bl as timeout, bS as tryParseNumber, a2 as uploadsThatNeedEncryption, c7 as urlRef, bL as uuidv4, v as validUuidChars, cA as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-C9qNxxFi.js';
1
+ import { I as ILogger, R as ResultWithValue, a as Result, L as LogService, C as CommonConfigService, b as IDependencyInjectionSetupProps } from '../textValidation-CJbRmG7d.js';
2
+ export { cg as APP_TYPE_TOKEN, a5 as ActivityDto, aX as ActivityRestriction, x as ActivityType, a6 as AddressCreateDto, a7 as AddressDto, y as AddressLinkType, a8 as AddressLookupDto, aY as AddressRestriction, a9 as AddressUpdateDto, aa as AnswerCreateDto, ab as AnswerDto, z as AnswerLinkType, aZ as AnswerRestriction, A as AppType, ac as AuthLoginDto, ad as AuthPatDto, ae as AuthSignupDto, af as AuthSuccessDto, ce as BOT_PATH_TOKEN, ag as BookingAddonDto, a$ as BookingAddonRestriction, B as BookingAddonType, ah as BookingCreateDto, ai as BookingDto, aj as BookingHostCreateDto, ak as BookingHostDto, al as BookingHostUpdateDto, a_ as BookingRestriction, am as BookingRestrictionsDto, an as BookingRestrictionsEnabledDaysDto, ao as BookingRestrictionsPremiumEnabledDaysDto, F as BookingStatusType, ap as BookingUpdateDto, aq as BookingWithRelationshipsDto, f as CachedValue, r as ClickEvent, ar as CommentCreateDto, as as CommentDto, G as CommentLinkType, b0 as CommentRestriction, at as CommentUpdateDto, cc as DependencyInjectionContainer, j as DependencyInjectionFactory, h as DependencyInjectionIdentifier, D as DependencyInjectionToken, b1 as DrivingRouteRestriction, E as EnvKey, H as HtmlElementEvent, o as HtmlFilesEvent, q as HtmlImageReadEvent, l as HtmlKeyEvent, ba as ICaptchaResponse, k as IDependencyInjectionSetupWebProps, bN as IImageParams, bc as ILogMessage, bd as IMediaUpload, cb as ISite, c8 as ISiteColour, aW as JwtPayloadDto, K as KeyEvent, bb as LogMethod, J as LogType, au as MembershipCreateDto, av as MembershipDto, b2 as MembershipRestriction, N as MembershipStatus, O as MembershipType, aw as MembershipUpdateDto, M as MonthTranslationKey, d as MouseButton, P as NetworkState, bf as NominatimAddressResponse, be as NominatimResponse, c5 as ObjectWithPropsOfValue, Q as OrderDirectionType, ax as PaginationRequestDto, ay as PaginationResponseDto, b3 as PermissionRestriction, S as PermissionType, az as PetCreateUpdateDto, aA as PetDto, b4 as PetRestriction, T as PetSexType, U as PetStatusType, V as PetType, c6 as Prettify, aB as ProfileDto, aC as ProfileQuestionAndAnswersItemDto, aD as ProfileQuestionRequestDto, aE as ProfileUpdateDto, aF as QuestionCreateDto, aG as QuestionDto, Y as QuestionForType, b5 as QuestionRestriction, X as QuestionType, bp as RenderCellType, ci as SITE_CONFIG_TOKEN, aH as SearchObjDatePropRequestDto, aI as SearchObjRequestDto, aJ as SearchObjTextPropRequestDto, $ as SearchableColumnInfo, _ as SearchableColumnType, cr as TranslationService, b6 as UnavailabilityRestriction, aK as UploadCreateDto, aL as UploadDto, aM as UploadImageWithLinkDto, a0 as UploadLinkType, b7 as UploadRestriction, a1 as UploadType, aN as UploadUpdateDto, a3 as UserAccountFlagType, aO as UserCreateDto, aP as UserDto, aQ as UserMembershipCreateDto, aR as UserMembershipDto, aS as UserMembershipUpdateDto, aT as UserPermissionDto, b8 as UserRestriction, a4 as UserType, aU as UserUpdateDto, bg as ValidationResult, aV as VersionDto, W as WeekdayTranslationKey, bB as addDays, bA as addMinutes, bC as addMonths, bz as addSeconds, c1 as addSpacesForEnum, bm as addToParallelTasks, c3 as anyObject, u as apiRoute, t as apiRouteParam, bk as arrayContains, bj as arrayOfNLength, b$ as capitalizeFirstLetter, c9 as colourPalette, g as createToken, bM as cyrb53, bF as dateDiffInDays, bJ as debounceLeading, ca as defaultSiteColour, c4 as fakePromise, bs as formatDate, c2 as formatFileSize, by as formatForBookingDate, bu as formatForDateDropdown, bt as formatForDateLocal, bx as formatForDateLocalDetailed, bv as formatForDateOfBirth, bw as formatForDateWithTime, bG as getAgeInYears, Z as getAllPetQuestionForType, ch as getAppType, bK as getArrFromEnum, cf as getBotPath, cm as getCommonConfig, bn as getDayClassObject, bq as getDayElements, bo as getDayHeadingElements, bO as getImageParams, cn as getLog, bR as getMimeTypeFromExtension, bP as getPayloadFromJwt, bT as getPerformanceTimer, bW as getPetAvatarUrl, cl as getSiteColour, ck as getSiteConfig, bV as getUserAvatarUrl, br as getUsersName, bH as getWeekNumber, bU as hasRequiredPermissions, bD as isBefore, cD as isNumber, bE as isSameDay, i as isWebApp, c0 as lowercaseFirstLetter, bh as makeArrayOrDefault, cC as maxDate, ct as maxItems, cH as maxLength, cF as maxValue, bQ as mimeTypeLookup, cB as minDate, cs as minItems, cG as minLength, e as minUrlLength, cE as minValue, m as monthTranslationKeyOrder, cy as multiValidation, bY as nameof, n as nanasFonts, cw as noValidation, cx as notNull, bi as onlyUnique, p as portalGlyphLength, bX as promiseFromValue, bZ as randomIntFromRange, b_ as randomItemFromArray, cd as rootContainer, co as rootDependencyInjectionSetup, b9 as searchColumns, cu as selectedItemsExist, cv as selectedOptionIsInEnum, cz as separateValidation, cp as setContainerToken, cq as setContainerTokenLazy, cj as setSiteConfig, cI as shouldBeUrl, cJ as shouldBeYoutubeUrl, bI as showSecondCalendar, s as socialLinks, bl as timeout, bS as tryParseNumber, a2 as uploadsThatNeedEncryption, c7 as urlRef, bL as uuidv4, v as validUuidChars, cA as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-CJbRmG7d.js';
3
3
  import 'solid-js';
4
4
  import '@tolgee/web';
5
5
 
@@ -1,5 +1,5 @@
1
- import { rootContainer, onlyUnique, getBotPath, getLog, getCommonConfig, formatForDateDropdown, getSiteConfig, getAppType, isWebApp, rootDependencyInjectionSetup, setContainerToken } from '../chunk/MDKLAW43.js';
2
- export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, colourPalette, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, isBefore, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, maxValue, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, minValue, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, portalGlyphLength, promiseFromValue, randomIntFromRange, randomItemFromArray, rootContainer, rootDependencyInjectionSetup, searchColumns, selectedItemsExist, selectedOptionIsInEnum, separateValidation, setContainerToken, setContainerTokenLazy, setSiteConfig, shouldBeUrl, shouldBeYoutubeUrl, showSecondCalendar, socialLinks, timeout, tryParseNumber, uploadsThatNeedEncryption, urlRef, uuidv4, validUuidChars, validateForEach, webAppTypes, weekdayTranslationKeyOrder } from '../chunk/MDKLAW43.js';
1
+ import { rootContainer, onlyUnique, getBotPath, getLog, getCommonConfig, formatForDateDropdown, getSiteConfig, getAppType, isWebApp, rootDependencyInjectionSetup, setContainerToken } from '../chunk/P66PP6GS.js';
2
+ export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, colourPalette, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, isBefore, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, maxValue, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, minValue, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, portalGlyphLength, promiseFromValue, randomIntFromRange, randomItemFromArray, rootContainer, rootDependencyInjectionSetup, searchColumns, selectedItemsExist, selectedOptionIsInEnum, separateValidation, setContainerToken, setContainerTokenLazy, setSiteConfig, shouldBeUrl, shouldBeYoutubeUrl, showSecondCalendar, socialLinks, timeout, tryParseNumber, uploadsThatNeedEncryption, urlRef, uuidv4, validUuidChars, validateForEach, webAppTypes, weekdayTranslationKeyOrder } from '../chunk/P66PP6GS.js';
3
3
  import fs5 from 'fs/promises';
4
4
  import path8 from 'path';
5
5
  import fs2 from 'fs';
@@ -387,11 +387,17 @@ declare enum BookingAddonType {
387
387
  declare enum BookingStatusType {
388
388
  Pending = 0,
389
389
  Cancelled = 1,
390
- FindPlacement = 2,
391
- Request = 3,
392
- PaidWithHostMatch = 4,
393
- Complete = 5,
394
- CompleteWithHostFeedback = 6
390
+ IntakeCall = 2,
391
+ RequestMatchFee = 3,
392
+ FindPlacement = 4,
393
+ Matched = 5,
394
+ MeetAndGreet = 6,
395
+ RequestPayment = 7,
396
+ PaymentRequested = 8,
397
+ Paid = 9,
398
+ WaitList = 10,
399
+ Complete = 11,
400
+ CompleteWithHostFeedback = 12
395
401
  }
396
402
 
397
403
  declare enum CommentLinkType {
@@ -764,7 +770,7 @@ interface components {
764
770
  endDate: Record<string, never> | string | number;
765
771
  notes: string;
766
772
  /** BookingStatusType */
767
- status: 0 | 1 | 2 | 3 | 4 | 5 | 6;
773
+ status: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
768
774
  petUuids: string[];
769
775
  };
770
776
  /**
@@ -786,7 +792,7 @@ interface components {
786
792
  startDate: Record<string, never> | string | number;
787
793
  endDate: Record<string, never> | string | number;
788
794
  /** BookingStatusType */
789
- status: 0 | 1 | 2 | 3 | 4 | 5 | 6;
795
+ status: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
790
796
  notes: string;
791
797
  dateCreated: Record<string, never> | string | number;
792
798
  dateModified: Record<string, never> | string | number;
@@ -880,7 +886,7 @@ interface components {
880
886
  startDate: Record<string, never> | string | number;
881
887
  endDate: Record<string, never> | string | number;
882
888
  /** BookingStatusType */
883
- status: 0 | 1 | 2 | 3 | 4 | 5 | 6;
889
+ status: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
884
890
  notes: string;
885
891
  petUuids: string[];
886
892
  };
@@ -903,7 +909,7 @@ interface components {
903
909
  startDate: Record<string, never> | string | number;
904
910
  endDate: Record<string, never> | string | number;
905
911
  /** BookingStatusType */
906
- status: 0 | 1 | 2 | 3 | 4 | 5 | 6;
912
+ status: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
907
913
  notes: string;
908
914
  dateCreated: Record<string, never> | string | number;
909
915
  dateModified: Record<string, never> | string | number;
@@ -934,7 +940,11 @@ interface components {
934
940
  * @description A Universally Unique Identifier is a 128-bit label used to uniquely identify objects
935
941
  */
936
942
  uuid: string;
937
- userUuid: (string | null) | null;
943
+ /**
944
+ * Format: uuid
945
+ * @description A Universally Unique Identifier is a 128-bit label used to uniquely identify objects
946
+ */
947
+ userUuid: string;
938
948
  /** PetSexType */
939
949
  sex: 0 | 1 | 2;
940
950
  name: string;
@@ -1152,7 +1162,11 @@ interface components {
1152
1162
  * @description A Universally Unique Identifier is a 128-bit label used to uniquely identify objects
1153
1163
  */
1154
1164
  uuid: string;
1155
- userUuid: (string | null) | null;
1165
+ /**
1166
+ * Format: uuid
1167
+ * @description A Universally Unique Identifier is a 128-bit label used to uniquely identify objects
1168
+ */
1169
+ userUuid: string;
1156
1170
  /** PetSexType */
1157
1171
  sex: 0 | 1 | 2;
1158
1172
  name: string;
@@ -1857,31 +1871,31 @@ declare const UserRestriction: {
1857
1871
  };
1858
1872
 
1859
1873
  declare const searchColumns: {
1860
- membership: {
1874
+ address: {
1861
1875
  property: string;
1862
1876
  type: number;
1863
1877
  }[];
1864
- address: {
1878
+ booking: {
1865
1879
  property: string;
1866
1880
  type: number;
1867
1881
  }[];
1868
- pet: {
1882
+ membership: {
1869
1883
  property: string;
1870
1884
  type: number;
1871
1885
  }[];
1872
- user: {
1886
+ pet: {
1873
1887
  property: string;
1874
1888
  type: number;
1875
1889
  }[];
1876
- upload: {
1890
+ question: {
1877
1891
  property: string;
1878
1892
  type: number;
1879
1893
  }[];
1880
- booking: {
1894
+ upload: {
1881
1895
  property: string;
1882
1896
  type: number;
1883
1897
  }[];
1884
- question: {
1898
+ user: {
1885
1899
  property: string;
1886
1900
  type: number;
1887
1901
  }[];
@@ -1,7 +1,7 @@
1
1
  import * as solid_js from 'solid-js';
2
2
  import { Component, JSXElement, JSX, Accessor, ComponentProps } from 'solid-js';
3
- import { F as BookingStatusType, r as ClickEvent, O as MembershipType, U as PetStatusType, aB as ProfileDto, Y as QuestionForType, X as QuestionType, a4 as UserType, R as ResultWithValue, P as NetworkState, cK as IFormCalendarPickerProps, cL as FullDateSelectionProps, cM as FormCalendarPickerMode, cN as FormCalendarDatePickerRangeProps, cO as DateSelectionProps, W as WeekdayTranslationKey, M as MonthTranslationKey, cP as FormCalendarPickerInnerProps, cQ as FormInputProps, bg as ValidationResult, K as KeyEvent, H as HtmlElementEvent, aC as ProfileQuestionAndAnswersItemDto, a6 as AddressCreateDto, a9 as AddressUpdateDto, ac as AuthLoginDto, ae as AuthSignupDto, ah as BookingCreateDto, au as MembershipCreateDto, az as PetCreateUpdateDto, aE as ProfileUpdateDto, aF as QuestionCreateDto, aK as UploadCreateDto, aP as UserDto, aO as UserCreateDto, o as HtmlFilesEvent, bc as ILogMessage, I as ILogger, a as Result, ax as PaginationRequestDto, ay as PaginationResponseDto, aI as SearchObjRequestDto, C as CommonConfigService, a5 as ActivityDto, L as LogService, a7 as AddressDto, y as AddressLinkType, be as NominatimResponse, ai as BookingDto, G as CommentLinkType, as as CommentDto, ar as CommentCreateDto, av as MembershipDto, aA as PetDto, aG as QuestionDto, aL as UploadDto, aR as UserMembershipDto, aT as UserPermissionDto, S as PermissionType, a8 as AddressLookupDto, aq as BookingWithRelationshipsDto, cb as ISite, aM as UploadImageWithLinkDto, am as BookingRestrictionsDto, af as AuthSuccessDto, aV as VersionDto, c6 as Prettify, k as IDependencyInjectionSetupWebProps, cr as TranslationService } from '../textValidation-C9qNxxFi.js';
4
- export { cg as APP_TYPE_TOKEN, aX as ActivityRestriction, x as ActivityType, aY as AddressRestriction, aa as AnswerCreateDto, ab as AnswerDto, z as AnswerLinkType, aZ as AnswerRestriction, A as AppType, ad as AuthPatDto, ce as BOT_PATH_TOKEN, ag as BookingAddonDto, a$ as BookingAddonRestriction, B as BookingAddonType, aj as BookingHostCreateDto, ak as BookingHostDto, al as BookingHostUpdateDto, a_ as BookingRestriction, an as BookingRestrictionsEnabledDaysDto, ao as BookingRestrictionsPremiumEnabledDaysDto, ap as BookingUpdateDto, f as CachedValue, b0 as CommentRestriction, at as CommentUpdateDto, cc as DependencyInjectionContainer, j as DependencyInjectionFactory, h as DependencyInjectionIdentifier, D as DependencyInjectionToken, b1 as DrivingRouteRestriction, E as EnvKey, cR as FormCalendarSpecialRangeDisplayProps, cS as FormCalendarSpecialRangeProps, q as HtmlImageReadEvent, l as HtmlKeyEvent, ba as ICaptchaResponse, b as IDependencyInjectionSetupProps, bN as IImageParams, bd as IMediaUpload, c8 as ISiteColour, aW as JwtPayloadDto, bb as LogMethod, J as LogType, b2 as MembershipRestriction, N as MembershipStatus, aw as MembershipUpdateDto, d as MouseButton, bf as NominatimAddressResponse, c5 as ObjectWithPropsOfValue, Q as OrderDirectionType, b3 as PermissionRestriction, b4 as PetRestriction, T as PetSexType, V as PetType, aD as ProfileQuestionRequestDto, cV as PropertyOverrides, b5 as QuestionRestriction, bp as RenderCellType, ci as SITE_CONFIG_TOKEN, aH as SearchObjDatePropRequestDto, aJ as SearchObjTextPropRequestDto, $ as SearchableColumnInfo, _ as SearchableColumnType, b6 as UnavailabilityRestriction, a0 as UploadLinkType, b7 as UploadRestriction, a1 as UploadType, aN as UploadUpdateDto, a3 as UserAccountFlagType, aQ as UserMembershipCreateDto, aS as UserMembershipUpdateDto, b8 as UserRestriction, aU as UserUpdateDto, cU as ValidFormComponentTypes, cT as ValidFormTypes, bB as addDays, bA as addMinutes, bC as addMonths, bz as addSeconds, c1 as addSpacesForEnum, bm as addToParallelTasks, c3 as anyObject, u as apiRoute, t as apiRouteParam, bk as arrayContains, bj as arrayOfNLength, b$ as capitalizeFirstLetter, c9 as colourPalette, g as createToken, bM as cyrb53, bF as dateDiffInDays, bJ as debounceLeading, ca as defaultSiteColour, c4 as fakePromise, bs as formatDate, c2 as formatFileSize, by as formatForBookingDate, bu as formatForDateDropdown, bt as formatForDateLocal, bx as formatForDateLocalDetailed, bv as formatForDateOfBirth, bw as formatForDateWithTime, bG as getAgeInYears, Z as getAllPetQuestionForType, ch as getAppType, bK as getArrFromEnum, cf as getBotPath, cm as getCommonConfig, bn as getDayClassObject, bq as getDayElements, bo as getDayHeadingElements, bO as getImageParams, cn as getLog, bR as getMimeTypeFromExtension, bP as getPayloadFromJwt, bT as getPerformanceTimer, bW as getPetAvatarUrl, cl as getSiteColour, ck as getSiteConfig, bV as getUserAvatarUrl, br as getUsersName, bH as getWeekNumber, bU as hasRequiredPermissions, bD as isBefore, cD as isNumber, bE as isSameDay, i as isWebApp, c0 as lowercaseFirstLetter, bh as makeArrayOrDefault, cC as maxDate, ct as maxItems, cH as maxLength, cF as maxValue, bQ as mimeTypeLookup, cB as minDate, cs as minItems, cG as minLength, e as minUrlLength, cE as minValue, m as monthTranslationKeyOrder, cy as multiValidation, bY as nameof, n as nanasFonts, cw as noValidation, cx as notNull, bi as onlyUnique, p as portalGlyphLength, bX as promiseFromValue, bZ as randomIntFromRange, b_ as randomItemFromArray, cd as rootContainer, co as rootDependencyInjectionSetup, b9 as searchColumns, cu as selectedItemsExist, cv as selectedOptionIsInEnum, cz as separateValidation, cp as setContainerToken, cq as setContainerTokenLazy, cj as setSiteConfig, cI as shouldBeUrl, cJ as shouldBeYoutubeUrl, bI as showSecondCalendar, s as socialLinks, bl as timeout, bS as tryParseNumber, a2 as uploadsThatNeedEncryption, c7 as urlRef, bL as uuidv4, v as validUuidChars, cA as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-C9qNxxFi.js';
3
+ import { F as BookingStatusType, r as ClickEvent, O as MembershipType, U as PetStatusType, aB as ProfileDto, Y as QuestionForType, X as QuestionType, a4 as UserType, R as ResultWithValue, P as NetworkState, cK as IFormCalendarPickerProps, cL as FullDateSelectionProps, cM as FormCalendarPickerMode, cN as FormCalendarDatePickerRangeProps, cO as DateSelectionProps, W as WeekdayTranslationKey, M as MonthTranslationKey, cP as FormCalendarPickerInnerProps, cQ as FormInputProps, bg as ValidationResult, K as KeyEvent, H as HtmlElementEvent, aC as ProfileQuestionAndAnswersItemDto, a6 as AddressCreateDto, a9 as AddressUpdateDto, ac as AuthLoginDto, ae as AuthSignupDto, ah as BookingCreateDto, au as MembershipCreateDto, az as PetCreateUpdateDto, aE as ProfileUpdateDto, aF as QuestionCreateDto, aK as UploadCreateDto, aP as UserDto, aO as UserCreateDto, o as HtmlFilesEvent, bc as ILogMessage, I as ILogger, a as Result, ax as PaginationRequestDto, ay as PaginationResponseDto, aI as SearchObjRequestDto, C as CommonConfigService, a5 as ActivityDto, L as LogService, a7 as AddressDto, y as AddressLinkType, be as NominatimResponse, ai as BookingDto, G as CommentLinkType, as as CommentDto, ar as CommentCreateDto, av as MembershipDto, aA as PetDto, aG as QuestionDto, aL as UploadDto, aR as UserMembershipDto, aT as UserPermissionDto, S as PermissionType, a8 as AddressLookupDto, aq as BookingWithRelationshipsDto, cb as ISite, aM as UploadImageWithLinkDto, am as BookingRestrictionsDto, af as AuthSuccessDto, aV as VersionDto, c6 as Prettify, k as IDependencyInjectionSetupWebProps, cr as TranslationService } from '../textValidation-CJbRmG7d.js';
4
+ export { cg as APP_TYPE_TOKEN, aX as ActivityRestriction, x as ActivityType, aY as AddressRestriction, aa as AnswerCreateDto, ab as AnswerDto, z as AnswerLinkType, aZ as AnswerRestriction, A as AppType, ad as AuthPatDto, ce as BOT_PATH_TOKEN, ag as BookingAddonDto, a$ as BookingAddonRestriction, B as BookingAddonType, aj as BookingHostCreateDto, ak as BookingHostDto, al as BookingHostUpdateDto, a_ as BookingRestriction, an as BookingRestrictionsEnabledDaysDto, ao as BookingRestrictionsPremiumEnabledDaysDto, ap as BookingUpdateDto, f as CachedValue, b0 as CommentRestriction, at as CommentUpdateDto, cc as DependencyInjectionContainer, j as DependencyInjectionFactory, h as DependencyInjectionIdentifier, D as DependencyInjectionToken, b1 as DrivingRouteRestriction, E as EnvKey, cR as FormCalendarSpecialRangeDisplayProps, cS as FormCalendarSpecialRangeProps, q as HtmlImageReadEvent, l as HtmlKeyEvent, ba as ICaptchaResponse, b as IDependencyInjectionSetupProps, bN as IImageParams, bd as IMediaUpload, c8 as ISiteColour, aW as JwtPayloadDto, bb as LogMethod, J as LogType, b2 as MembershipRestriction, N as MembershipStatus, aw as MembershipUpdateDto, d as MouseButton, bf as NominatimAddressResponse, c5 as ObjectWithPropsOfValue, Q as OrderDirectionType, b3 as PermissionRestriction, b4 as PetRestriction, T as PetSexType, V as PetType, aD as ProfileQuestionRequestDto, cV as PropertyOverrides, b5 as QuestionRestriction, bp as RenderCellType, ci as SITE_CONFIG_TOKEN, aH as SearchObjDatePropRequestDto, aJ as SearchObjTextPropRequestDto, $ as SearchableColumnInfo, _ as SearchableColumnType, b6 as UnavailabilityRestriction, a0 as UploadLinkType, b7 as UploadRestriction, a1 as UploadType, aN as UploadUpdateDto, a3 as UserAccountFlagType, aQ as UserMembershipCreateDto, aS as UserMembershipUpdateDto, b8 as UserRestriction, aU as UserUpdateDto, cU as ValidFormComponentTypes, cT as ValidFormTypes, bB as addDays, bA as addMinutes, bC as addMonths, bz as addSeconds, c1 as addSpacesForEnum, bm as addToParallelTasks, c3 as anyObject, u as apiRoute, t as apiRouteParam, bk as arrayContains, bj as arrayOfNLength, b$ as capitalizeFirstLetter, c9 as colourPalette, g as createToken, bM as cyrb53, bF as dateDiffInDays, bJ as debounceLeading, ca as defaultSiteColour, c4 as fakePromise, bs as formatDate, c2 as formatFileSize, by as formatForBookingDate, bu as formatForDateDropdown, bt as formatForDateLocal, bx as formatForDateLocalDetailed, bv as formatForDateOfBirth, bw as formatForDateWithTime, bG as getAgeInYears, Z as getAllPetQuestionForType, ch as getAppType, bK as getArrFromEnum, cf as getBotPath, cm as getCommonConfig, bn as getDayClassObject, bq as getDayElements, bo as getDayHeadingElements, bO as getImageParams, cn as getLog, bR as getMimeTypeFromExtension, bP as getPayloadFromJwt, bT as getPerformanceTimer, bW as getPetAvatarUrl, cl as getSiteColour, ck as getSiteConfig, bV as getUserAvatarUrl, br as getUsersName, bH as getWeekNumber, bU as hasRequiredPermissions, bD as isBefore, cD as isNumber, bE as isSameDay, i as isWebApp, c0 as lowercaseFirstLetter, bh as makeArrayOrDefault, cC as maxDate, ct as maxItems, cH as maxLength, cF as maxValue, bQ as mimeTypeLookup, cB as minDate, cs as minItems, cG as minLength, e as minUrlLength, cE as minValue, m as monthTranslationKeyOrder, cy as multiValidation, bY as nameof, n as nanasFonts, cw as noValidation, cx as notNull, bi as onlyUnique, p as portalGlyphLength, bX as promiseFromValue, bZ as randomIntFromRange, b_ as randomItemFromArray, cd as rootContainer, co as rootDependencyInjectionSetup, b9 as searchColumns, cu as selectedItemsExist, cv as selectedOptionIsInEnum, cz as separateValidation, cp as setContainerToken, cq as setContainerTokenLazy, cj as setSiteConfig, cI as shouldBeUrl, cJ as shouldBeYoutubeUrl, bI as showSecondCalendar, s as socialLinks, bl as timeout, bS as tryParseNumber, a2 as uploadsThatNeedEncryption, c7 as urlRef, bL as uuidv4, v as validUuidChars, cA as validateForEach, w as webAppTypes, c as weekdayTranslationKeyOrder } from '../textValidation-CJbRmG7d.js';
5
5
  import { ToasterProps } from 'solid-toast';
6
6
  import '@tolgee/web';
7
7
 
package/dist/web/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { notNull, multiValidation, isNumber, minValue, MembershipRestriction, maxValue, minItems, minLength, PetRestriction, maxLength, selectedOptionIsInEnum, PetSexType, PetStatusType, PetType, QuestionRestriction, QuestionForType, QuestionType, UserRestriction, noValidation, AddressRestriction, BookingRestriction, minDate, UploadType, UploadRestriction, rootContainer, BookingStatusType, timeout, uuidv4, anyObject, apiRoute, apiRouteParam, getSiteConfig, getLog, debounceLeading, rootDependencyInjectionSetup, TranslationService, setContainerToken, MembershipType, socialLinks, getUsersName, getUserAvatarUrl, UserType, colourPalette, monthTranslationKeyOrder, changeMonth, getDayHeadingElements, getDayElements, getCalendarDropdownDisplayValue, makeArrayOrDefault, getArrFromEnum, capitalizeFirstLetter, convertToDate, isBefore, formatDate, onlyUnique, getDayClassObject, getPetAvatarUrl, formatForDateLocal, isDateAfterStart, isDateBeforeEnd, convertToFullDateSelection } from '../chunk/MDKLAW43.js';
2
- export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, changeMonth, colourPalette, convertToDate, convertToFullDateSelection, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, isBefore, isDateAfterStart, isDateBeforeEnd, isDateDisabledByDisabledDays, isDateEnabledByEnabledDays, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, maxValue, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, minValue, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, portalGlyphLength, promiseFromValue, randomIntFromRange, randomItemFromArray, rootContainer, rootDependencyInjectionSetup, searchColumns, selectedItemsExist, selectedOptionIsInEnum, separateValidation, setContainerToken, setContainerTokenLazy, setSiteConfig, shouldBeUrl, shouldBeYoutubeUrl, showSecondCalendar, socialLinks, timeout, tryParseNumber, uploadsThatNeedEncryption, urlRef, uuidv4, validUuidChars, validateForEach, webAppTypes, weekdayTranslationKeyOrder } from '../chunk/MDKLAW43.js';
1
+ import { notNull, multiValidation, isNumber, minValue, MembershipRestriction, maxValue, minItems, minLength, PetRestriction, maxLength, selectedOptionIsInEnum, PetSexType, PetStatusType, PetType, QuestionRestriction, QuestionForType, QuestionType, UserRestriction, noValidation, AddressRestriction, BookingRestriction, minDate, UploadType, UploadRestriction, rootContainer, BookingStatusType, timeout, uuidv4, anyObject, apiRoute, apiRouteParam, getSiteConfig, getLog, debounceLeading, rootDependencyInjectionSetup, TranslationService, setContainerToken, MembershipType, socialLinks, getUsersName, getUserAvatarUrl, UserType, colourPalette, monthTranslationKeyOrder, changeMonth, getDayHeadingElements, getDayElements, getCalendarDropdownDisplayValue, makeArrayOrDefault, getArrFromEnum, capitalizeFirstLetter, convertToDate, isBefore, formatDate, onlyUnique, getDayClassObject, getPetAvatarUrl, formatForDateLocal, isDateAfterStart, isDateBeforeEnd, convertToFullDateSelection } from '../chunk/P66PP6GS.js';
2
+ export { APP_TYPE_TOKEN, ActivityRestriction, ActivityType, AddressLinkType, AddressRestriction, AnswerLinkType, AnswerRestriction, AppType, BOT_PATH_TOKEN, BookingAddonRestriction, BookingAddonType, BookingRestriction, BookingStatusType, CommentLinkType, CommentRestriction, CommonConfigService, DependencyInjectionContainer, DrivingRouteRestriction, LogService, MembershipRestriction, MembershipStatus, MembershipType, MouseButton, NetworkState, OrderDirectionType, PermissionRestriction, PermissionType, PetRestriction, PetSexType, PetStatusType, PetType, QuestionForType, QuestionRestriction, QuestionType, SITE_CONFIG_TOKEN, SearchableColumnType, TranslationService, UnavailabilityRestriction, UploadLinkType, UploadRestriction, UploadType, UserAccountFlagType, UserRestriction, UserType, addDays, addMinutes, addMonths, addSeconds, addSpacesForEnum, addToParallelTasks, anyObject, apiRoute, apiRouteParam, arrayContains, arrayOfNLength, capitalizeFirstLetter, changeMonth, colourPalette, convertToDate, convertToFullDateSelection, createToken, cyrb53, dateDiffInDays, debounceLeading, defaultSiteColour, fakePromise, formatDate, formatFileSize, formatForBookingDate, formatForDateDropdown, formatForDateLocal, formatForDateLocalDetailed, formatForDateOfBirth, formatForDateWithTime, getAgeInYears, getAllPetQuestionForType, getAppType, getArrFromEnum, getBotPath, getCalendarDropdownDisplayValue, getCalendarDropdownForDateOfBirthDisplayValue, getCommonConfig, getDayClassObject, getDayElements, getDayHeadingElements, getImageParams, getLog, getMimeTypeFromExtension, getPayloadFromJwt, getPerformanceTimer, getPetAvatarUrl, getSiteColour, getSiteConfig, getUserAvatarUrl, getUsersName, getWeekNumber, hasRequiredPermissions, isBefore, isDateAfterStart, isDateBeforeEnd, isDateDisabledByDisabledDays, isDateEnabledByEnabledDays, isNumber, isSameDay, isWebApp, lowercaseFirstLetter, makeArrayOrDefault, maxDate, maxItems, maxLength, maxValue, mimeTypeLookup, minDate, minItems, minLength, minUrlLength, minValue, monthTranslationKeyOrder, multiValidation, nameof, nanasFonts, noValidation, notNull, onlyUnique, portalGlyphLength, promiseFromValue, randomIntFromRange, randomItemFromArray, rootContainer, rootDependencyInjectionSetup, searchColumns, selectedItemsExist, selectedOptionIsInEnum, separateValidation, setContainerToken, setContainerTokenLazy, setSiteConfig, shouldBeUrl, shouldBeYoutubeUrl, showSecondCalendar, socialLinks, timeout, tryParseNumber, uploadsThatNeedEncryption, urlRef, uuidv4, validUuidChars, validateForEach, webAppTypes, weekdayTranslationKeyOrder } from '../chunk/P66PP6GS.js';
3
3
  import { delegateEvents, createComponent, template, insert, effect, className, setAttribute, mergeProps, spread, addEventListener, memo, use, style } from 'solid-js/web';
4
4
  import { createSignal, Show, Switch, Match, For, createEffect, onMount } from 'solid-js';
5
5
  import classNames from 'classnames';
@@ -798,7 +798,7 @@ var PetApiService = class {
798
798
  }
799
799
  load = () => this._baseApi.get(this._routeObj.getAll, addAccessTokenToHeaders);
800
800
  loadFromUuid = (uuid) => this._baseApi.get(this._routeObj.getById.replace(apiRouteParam.petUuid, uuid), addAccessTokenToHeaders);
801
- update = (petUuid, profile) => this._baseApi.post(this._routeObj.update.replace(apiRouteParam.petUuid, petUuid), profile, addAccessTokenToHeaders);
801
+ update = (petUuid, profile) => this._baseApi.put(this._routeObj.update.replace(apiRouteParam.petUuid, petUuid), profile, addAccessTokenToHeaders);
802
802
  };
803
803
 
804
804
  // src/services/api/client/profileApiService.ts
@@ -57,11 +57,17 @@ import classNames2 from "classnames";
57
57
  var BookingStatusType = /* @__PURE__ */ ((BookingStatusType2) => {
58
58
  BookingStatusType2[BookingStatusType2["Pending"] = 0] = "Pending";
59
59
  BookingStatusType2[BookingStatusType2["Cancelled"] = 1] = "Cancelled";
60
- BookingStatusType2[BookingStatusType2["FindPlacement"] = 2] = "FindPlacement";
61
- BookingStatusType2[BookingStatusType2["Request"] = 3] = "Request";
62
- BookingStatusType2[BookingStatusType2["PaidWithHostMatch"] = 4] = "PaidWithHostMatch";
63
- BookingStatusType2[BookingStatusType2["Complete"] = 5] = "Complete";
64
- BookingStatusType2[BookingStatusType2["CompleteWithHostFeedback"] = 6] = "CompleteWithHostFeedback";
60
+ BookingStatusType2[BookingStatusType2["IntakeCall"] = 2] = "IntakeCall";
61
+ BookingStatusType2[BookingStatusType2["RequestMatchFee"] = 3] = "RequestMatchFee";
62
+ BookingStatusType2[BookingStatusType2["FindPlacement"] = 4] = "FindPlacement";
63
+ BookingStatusType2[BookingStatusType2["Matched"] = 5] = "Matched";
64
+ BookingStatusType2[BookingStatusType2["MeetAndGreet"] = 6] = "MeetAndGreet";
65
+ BookingStatusType2[BookingStatusType2["RequestPayment"] = 7] = "RequestPayment";
66
+ BookingStatusType2[BookingStatusType2["PaymentRequested"] = 8] = "PaymentRequested";
67
+ BookingStatusType2[BookingStatusType2["Paid"] = 9] = "Paid";
68
+ BookingStatusType2[BookingStatusType2["WaitList"] = 10] = "WaitList";
69
+ BookingStatusType2[BookingStatusType2["Complete"] = 11] = "Complete";
70
+ BookingStatusType2[BookingStatusType2["CompleteWithHostFeedback"] = 12] = "CompleteWithHostFeedback";
65
71
  return BookingStatusType2;
66
72
  })(BookingStatusType || {});
67
73
 
@@ -889,7 +895,7 @@ var PetApiService = class {
889
895
  }
890
896
  load = () => this._baseApi.get(this._routeObj.getAll, addAccessTokenToHeaders);
891
897
  loadFromUuid = (uuid) => this._baseApi.get(this._routeObj.getById.replace(apiRouteParam.petUuid, uuid), addAccessTokenToHeaders);
892
- update = (petUuid, profile) => this._baseApi.post(this._routeObj.update.replace(apiRouteParam.petUuid, petUuid), profile, addAccessTokenToHeaders);
898
+ update = (petUuid, profile) => this._baseApi.put(this._routeObj.update.replace(apiRouteParam.petUuid, petUuid), profile, addAccessTokenToHeaders);
893
899
  };
894
900
 
895
901
  // src/services/api/client/profileApiService.ts
@@ -4892,13 +4898,13 @@ var UploadRestriction = {
4892
4898
 
4893
4899
  // src/contracts/generated/searchColumns.ts
4894
4900
  var searchColumns = {
4895
- 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 }],
4896
4901
  address: [{ "property": "name", "type": 2 }, { "property": "street", "type": 2 }, { "property": "city", "type": 2 }, { "property": "postalCode", "type": 2 }, { "property": "country", "type": 2 }],
4902
+ booking: [{ "property": "startDate", "type": 5 }, { "property": "endDate", "type": 5 }, { "property": "status", "type": 2 }, { "property": "notes", "type": 2 }],
4903
+ 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 }],
4897
4904
  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 }],
4898
- 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 }],
4905
+ 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 }],
4899
4906
  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 }],
4900
- booking: [{ "property": "startDate", "type": 5 }, { "property": "endDate", "type": 5 }, { "property": "status", "type": 2 }, { "property": "notes", "type": 2 }],
4901
- 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 }]
4907
+ 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 }]
4902
4908
  };
4903
4909
 
4904
4910
  // src/contracts/meta/addressDto.meta.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanas-home/hub-common",
3
- "version": "0.35.782",
3
+ "version": "0.36.824",
4
4
  "description": "Nana's Hub common library",
5
5
  "license": "MIT",
6
6
  "author": "Kurt Lourens",
@@ -31,28 +31,28 @@
31
31
  "solid-toast": "^0.5.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@chromatic-com/storybook": "^5.0.1",
35
- "@storybook/addon-a11y": "^10.2.18",
36
- "@storybook/addon-docs": "^10.2.18",
37
- "@storybook/addon-links": "^10.2.18",
38
- "@storybook/addon-onboarding": "^10.2.18",
39
- "@storybook/addon-vitest": "^10.2.18",
34
+ "@chromatic-com/storybook": "^5.0.2",
35
+ "@storybook/addon-a11y": "^10.3.1",
36
+ "@storybook/addon-docs": "^10.3.1",
37
+ "@storybook/addon-links": "^10.3.1",
38
+ "@storybook/addon-onboarding": "^10.3.1",
39
+ "@storybook/addon-vitest": "^10.3.1",
40
40
  "@types/node": "^25.5.0",
41
41
  "@vitest/browser": "^4.1.0",
42
42
  "@vitest/coverage-v8": "^4.1.0",
43
43
  "@vitest/ui": "^4.1.0",
44
44
  "dayjs": "^1.11.20",
45
45
  "dotenv-cli": "^11.0.0",
46
- "jsdom": "^28.1.0",
46
+ "jsdom": "^29.0.0",
47
47
  "node-html-parser": "^7.1.0",
48
48
  "sass": "^1.98.0",
49
- "storybook": "^10.2.18",
49
+ "storybook": "^10.3.1",
50
50
  "storybook-solidjs-vite": "^10.0.9",
51
51
  "tsup": "^8.5.1",
52
52
  "tsup-preset-solid": "^2.2.0",
53
53
  "typescript": "^5.9.3",
54
- "vite": "^8.0.0",
55
- "vite-plugin-solid": "^2.11.10",
54
+ "vite": "^8.0.1",
55
+ "vite-plugin-solid": "^2.11.11",
56
56
  "vitest": "^4.1.0"
57
57
  },
58
58
  "files": [