@nanas-home/hub-common 0.47.1035 → 0.48.1054

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.
@@ -203,7 +203,7 @@ var apiRoute = {
203
203
  },
204
204
  user: {
205
205
  prefix: "/admin/user",
206
- searchHosts: "search-hosts",
206
+ searchHosts: "/search-hosts",
207
207
  swagger: { name: "Users", description: "Endpoints for Admins to manage Users" }
208
208
  },
209
209
  userMembership: {
@@ -350,19 +350,15 @@ var BookingAddonType = /* @__PURE__ */ ((BookingAddonType2) => {
350
350
 
351
351
  // src/contracts/generated/enum/bookingStatus.ts
352
352
  var BookingStatusType = /* @__PURE__ */ ((BookingStatusType2) => {
353
- BookingStatusType2[BookingStatusType2["Pending"] = 0] = "Pending";
354
- BookingStatusType2[BookingStatusType2["Cancelled"] = 1] = "Cancelled";
355
- BookingStatusType2[BookingStatusType2["IntakeCall"] = 2] = "IntakeCall";
356
- BookingStatusType2[BookingStatusType2["RequestMatchFee"] = 3] = "RequestMatchFee";
357
- BookingStatusType2[BookingStatusType2["FindPlacement"] = 4] = "FindPlacement";
358
- BookingStatusType2[BookingStatusType2["Matched"] = 5] = "Matched";
359
- BookingStatusType2[BookingStatusType2["MeetAndGreet"] = 6] = "MeetAndGreet";
360
- BookingStatusType2[BookingStatusType2["RequestPayment"] = 7] = "RequestPayment";
361
- BookingStatusType2[BookingStatusType2["PaymentRequested"] = 8] = "PaymentRequested";
362
- BookingStatusType2[BookingStatusType2["Paid"] = 9] = "Paid";
363
- BookingStatusType2[BookingStatusType2["WaitList"] = 10] = "WaitList";
364
- BookingStatusType2[BookingStatusType2["Complete"] = 11] = "Complete";
365
- BookingStatusType2[BookingStatusType2["CompleteWithHostFeedback"] = 12] = "CompleteWithHostFeedback";
353
+ BookingStatusType2[BookingStatusType2["Cancelled"] = 0] = "Cancelled";
354
+ BookingStatusType2[BookingStatusType2["IntakeCall"] = 1] = "IntakeCall";
355
+ BookingStatusType2[BookingStatusType2["RequestMatchFee"] = 2] = "RequestMatchFee";
356
+ BookingStatusType2[BookingStatusType2["FindPlacement"] = 3] = "FindPlacement";
357
+ BookingStatusType2[BookingStatusType2["Matched"] = 4] = "Matched";
358
+ BookingStatusType2[BookingStatusType2["MeetAndGreet"] = 5] = "MeetAndGreet";
359
+ BookingStatusType2[BookingStatusType2["RequestPayment"] = 6] = "RequestPayment";
360
+ BookingStatusType2[BookingStatusType2["PaymentRequested"] = 7] = "PaymentRequested";
361
+ BookingStatusType2[BookingStatusType2["Paid"] = 8] = "Paid";
366
362
  return BookingStatusType2;
367
363
  })(BookingStatusType || {});
368
364
 
@@ -810,13 +806,13 @@ var UserRestriction = {
810
806
  // src/contracts/generated/searchColumns.ts
811
807
  var searchColumns = {
812
808
  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 }],
813
- address: [{ "property": "name", "type": 2 }, { "property": "street", "type": 2 }, { "property": "city", "type": 2 }, { "property": "postalCode", "type": 2 }, { "property": "country", "type": 2 }],
814
- 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 }],
809
+ address: [{ "property": "name", "type": 2 }, { "property": "street", "type": 2 }, { "property": "city", "type": 2 }, { "property": "postalCode", "type": 2 }],
810
+ pet: [{ "property": "type", "type": 1 }, { "property": "sex", "type": 2 }, { "property": "breed", "type": 2 }, { "property": "name", "type": 2 }, { "property": "notes", "type": 2 }, { "property": "dateOfBirth", "type": 5 }],
815
811
  invoice: [{ "property": "userUuid", "type": 2 }, { "property": "bookingUuid", "type": 2 }, { "property": "bookingAddonUuid", "type": 2 }, { "property": "status", "type": 2 }, { "property": "stripeInvoiceId", "type": 2 }, { "property": "dueDate", "type": 5 }, { "property": "notes", "type": 2 }],
816
812
  userMembership: [{ "property": "status", "type": 1, "subType": "MembershipStatus" }, { "property": "billingCycle", "type": 1, "subType": "MembershipBillingCycleType" }, { "property": "stripeSubscriptionId", "type": 2 }, { "property": "startDate", "type": 5 }, { "property": "endDate", "type": 5 }],
817
813
  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 }],
818
814
  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 }],
819
- booking: [{ "property": "startDate", "type": 5 }, { "property": "endDate", "type": 5 }, { "property": "status", "type": 2 }, { "property": "notes", "type": 2 }],
815
+ booking: [{ "property": "startDate", "type": 5 }, { "property": "endDate", "type": 5 }, { "property": "status", "type": 2 }, { "property": "notes", "type": 2 }, { "property": "dateCreated", "type": 5 }],
820
816
  bugReport: [{ "property": "status", "type": 0 }, { "property": "comment", "type": 2 }, { "property": "metadata", "type": 2 }, { "property": "logs", "type": 2 }],
821
817
  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 }]
822
818
  };