@blackcode_sa/metaestetics-api 1.7.3 → 1.7.4
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/admin/index.d.mts +41 -8
- package/dist/admin/index.d.ts +41 -8
- package/dist/admin/index.js +621 -109
- package/dist/admin/index.mjs +621 -109
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +5 -2
- package/dist/index.mjs +5 -2
- package/package.json +1 -1
- package/src/admin/aggregation/appointment/appointment.aggregation.service.ts +553 -112
- package/src/admin/calendar/calendar.admin.service.ts +230 -65
- package/src/services/calendar/calendar-refactored.service.ts +2 -0
- package/src/types/calendar/index.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -5154,7 +5154,8 @@ declare enum CalendarEventStatus {
|
|
|
5154
5154
|
REJECTED = "rejected",// When event is rejected by the clinic administrator or patient
|
|
5155
5155
|
CANCELED = "canceled",// When event is canceled by the patient
|
|
5156
5156
|
RESCHEDULED = "rescheduled",// When event is rescheduled by the clinic administrator
|
|
5157
|
-
COMPLETED = "completed"
|
|
5157
|
+
COMPLETED = "completed",// When event is completed
|
|
5158
|
+
NO_SHOW = "no_show"
|
|
5158
5159
|
}
|
|
5159
5160
|
/**
|
|
5160
5161
|
* Enum for calendar event sync status
|
package/dist/index.d.ts
CHANGED
|
@@ -5154,7 +5154,8 @@ declare enum CalendarEventStatus {
|
|
|
5154
5154
|
REJECTED = "rejected",// When event is rejected by the clinic administrator or patient
|
|
5155
5155
|
CANCELED = "canceled",// When event is canceled by the patient
|
|
5156
5156
|
RESCHEDULED = "rescheduled",// When event is rescheduled by the clinic administrator
|
|
5157
|
-
COMPLETED = "completed"
|
|
5157
|
+
COMPLETED = "completed",// When event is completed
|
|
5158
|
+
NO_SHOW = "no_show"
|
|
5158
5159
|
}
|
|
5159
5160
|
/**
|
|
5160
5161
|
* Enum for calendar event sync status
|
package/dist/index.js
CHANGED
|
@@ -758,6 +758,7 @@ var CalendarEventStatus = /* @__PURE__ */ ((CalendarEventStatus4) => {
|
|
|
758
758
|
CalendarEventStatus4["CANCELED"] = "canceled";
|
|
759
759
|
CalendarEventStatus4["RESCHEDULED"] = "rescheduled";
|
|
760
760
|
CalendarEventStatus4["COMPLETED"] = "completed";
|
|
761
|
+
CalendarEventStatus4["NO_SHOW"] = "no_show";
|
|
761
762
|
return CalendarEventStatus4;
|
|
762
763
|
})(CalendarEventStatus || {});
|
|
763
764
|
var CalendarSyncStatus = /* @__PURE__ */ ((CalendarSyncStatus4) => {
|
|
@@ -11343,7 +11344,8 @@ var CalendarServiceV2 = class extends BaseService {
|
|
|
11343
11344
|
["confirmed" /* CONFIRMED */]: [
|
|
11344
11345
|
"canceled" /* CANCELED */,
|
|
11345
11346
|
"completed" /* COMPLETED */,
|
|
11346
|
-
"rescheduled" /* RESCHEDULED
|
|
11347
|
+
"rescheduled" /* RESCHEDULED */,
|
|
11348
|
+
"no_show" /* NO_SHOW */
|
|
11347
11349
|
],
|
|
11348
11350
|
["rejected" /* REJECTED */]: [],
|
|
11349
11351
|
["canceled" /* CANCELED */]: [],
|
|
@@ -11351,7 +11353,8 @@ var CalendarServiceV2 = class extends BaseService {
|
|
|
11351
11353
|
"confirmed" /* CONFIRMED */,
|
|
11352
11354
|
"canceled" /* CANCELED */
|
|
11353
11355
|
],
|
|
11354
|
-
["completed" /* COMPLETED */]: []
|
|
11356
|
+
["completed" /* COMPLETED */]: [],
|
|
11357
|
+
["no_show" /* NO_SHOW */]: []
|
|
11355
11358
|
};
|
|
11356
11359
|
if (!validTransitions[currentStatus].includes(newStatus)) {
|
|
11357
11360
|
throw new Error(
|
package/dist/index.mjs
CHANGED
|
@@ -541,6 +541,7 @@ var CalendarEventStatus = /* @__PURE__ */ ((CalendarEventStatus4) => {
|
|
|
541
541
|
CalendarEventStatus4["CANCELED"] = "canceled";
|
|
542
542
|
CalendarEventStatus4["RESCHEDULED"] = "rescheduled";
|
|
543
543
|
CalendarEventStatus4["COMPLETED"] = "completed";
|
|
544
|
+
CalendarEventStatus4["NO_SHOW"] = "no_show";
|
|
544
545
|
return CalendarEventStatus4;
|
|
545
546
|
})(CalendarEventStatus || {});
|
|
546
547
|
var CalendarSyncStatus = /* @__PURE__ */ ((CalendarSyncStatus4) => {
|
|
@@ -11412,7 +11413,8 @@ var CalendarServiceV2 = class extends BaseService {
|
|
|
11412
11413
|
["confirmed" /* CONFIRMED */]: [
|
|
11413
11414
|
"canceled" /* CANCELED */,
|
|
11414
11415
|
"completed" /* COMPLETED */,
|
|
11415
|
-
"rescheduled" /* RESCHEDULED
|
|
11416
|
+
"rescheduled" /* RESCHEDULED */,
|
|
11417
|
+
"no_show" /* NO_SHOW */
|
|
11416
11418
|
],
|
|
11417
11419
|
["rejected" /* REJECTED */]: [],
|
|
11418
11420
|
["canceled" /* CANCELED */]: [],
|
|
@@ -11420,7 +11422,8 @@ var CalendarServiceV2 = class extends BaseService {
|
|
|
11420
11422
|
"confirmed" /* CONFIRMED */,
|
|
11421
11423
|
"canceled" /* CANCELED */
|
|
11422
11424
|
],
|
|
11423
|
-
["completed" /* COMPLETED */]: []
|
|
11425
|
+
["completed" /* COMPLETED */]: [],
|
|
11426
|
+
["no_show" /* NO_SHOW */]: []
|
|
11424
11427
|
};
|
|
11425
11428
|
if (!validTransitions[currentStatus].includes(newStatus)) {
|
|
11426
11429
|
throw new Error(
|
package/package.json
CHANGED