@nanas-home/hub-common 0.55.1259 → 0.56.1271

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.
@@ -129,6 +129,7 @@ var apiRouteParam = {
129
129
  addressUuid: ":addressUuid",
130
130
  bookingUuid: ":bookingUuid",
131
131
  bookingAddonUuid: ":bookingAddonUuid",
132
+ uploadUuid: ":uploadUuid",
132
133
  userMembershipUuid: ":userMembershipUuid",
133
134
  bugReportUuid: ":bugReportUuid",
134
135
  linkUuid: ":linkUuid",
@@ -145,6 +146,7 @@ var apiRoute = {
145
146
  devJwt: "/jwt",
146
147
  login: "/login",
147
148
  signup: "/signup",
149
+ signupProgress: "/signup-progress",
148
150
  signupQuestions: "/signup-questions",
149
151
  confirmEmail: `/confirm-email/${apiRouteParam.linkUuid}`,
150
152
  requestPasswordResetLink: `/password-reset`,
@@ -225,7 +227,7 @@ var apiRoute = {
225
227
  },
226
228
  upload: {
227
229
  prefix: "/admin/upload",
228
- viewRaw: "/view-raw",
230
+ viewRaw: `/view-raw/${apiRouteParam.uploadUuid}`,
229
231
  image: "/image",
230
232
  swagger: { name: "Uploads", description: "Endpoints for managing Uploads" }
231
233
  },
@@ -868,12 +870,12 @@ var UserRestriction = {
868
870
  var searchColumns = {
869
871
  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 }],
870
872
  address: [{ "property": "name", "type": 2 }, { "property": "street", "type": 2 }, { "property": "city", "type": 2 }, { "property": "postalCode", "type": 2 }],
871
- pet: [{ "property": "type", "type": 0 }, { "property": "sex", "type": 2 }, { "property": "breed", "type": 2 }, { "property": "name", "type": 2 }, { "property": "notes", "type": 2 }, { "property": "dateOfBirth", "type": 5 }],
873
+ pet: [{ "property": "type", "type": 0 }, { "property": "sex", "type": 2 }, { "property": "name", "type": 2 }, { "property": "breed", "type": 2 }, { "property": "status", "type": 0 }, { "property": "neutered", "type": 4 }, { "property": "notes", "type": 2 }],
872
874
  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 }],
873
- userMembership: [{ "property": "status", "type": 0, "subType": "MembershipStatus" }, { "property": "billingCycle", "type": 0, "subType": "MembershipBillingCycleType" }, { "property": "stripeSubscriptionId", "type": 2 }, { "property": "startDate", "type": 5 }, { "property": "endDate", "type": 5 }],
875
+ userMembership: [{ "property": "status", "type": 1 }, { "property": "billingCycle", "type": 0 }, { "property": "stripeSubscriptionId", "type": 2 }, { "property": "membershipUuid", "type": 1 }],
874
876
  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 }],
875
877
  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 }],
876
- booking: [{ "property": "code", "type": 2 }, { "property": "status", "type": 1 }, { "property": "startDate", "type": 5 }, { "property": "endDate", "type": 5 }, { "property": "notes", "type": 2 }, { "property": "dateCreated", "type": 5 }],
878
+ booking: [{ "property": "code", "type": 3 }, { "property": "startDate", "type": 5 }, { "property": "endDate", "type": 5 }, { "property": "status", "type": 1 }, { "property": "dateCreated", "type": 5 }, { "property": "notes", "type": 2 }],
877
879
  bugReport: [{ "property": "status", "type": 0 }, { "property": "comment", "type": 2 }, { "property": "metadata", "type": 2 }, { "property": "logs", "type": 2 }],
878
880
  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 }]
879
881
  };