tiryaq-shared 1.1.95 → 1.1.96

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.
@@ -143,10 +143,10 @@ export declare const CONSULTATION_ERROR_CODES: {
143
143
  readonly NO_AVAILABLE_SLOTS: "CONS_112";
144
144
  readonly INVALID_APPOINTMENT_DATE: "CONS_113";
145
145
  readonly INVALID_APPOINTMENT_TIME: "CONS_114";
146
- readonly DOCTOR_APPOINTMENT_NOT_FOUND: "CONS_115";
147
- readonly APPOINTMENT_JOIN_FAILED: "CONS_116";
148
- readonly APPOINTMENT_NOT_IN_JOIN_WINDOW: "CONS_117";
149
- readonly APPOINTMENT_ALREADY_COMPLETED: "CONS_118";
146
+ readonly DOCTOR_APPOINTMENT_NOT_FOUND: "CONS_404";
147
+ readonly APPOINTMENT_JOIN_FAILED: "CONS_401";
148
+ readonly APPOINTMENT_NOT_IN_JOIN_WINDOW: "CONS_402";
149
+ readonly APPOINTMENT_ALREADY_COMPLETED: "CONS_403";
150
150
  readonly APPOINTMENT_NOT_PAID: "CONS_119";
151
151
  readonly PATIENT_NOT_FOUND_IN_APPOINTMENT: "CONS_120";
152
152
  readonly DOCTOR_NOT_AUTHORIZED_FOR_APPOINTMENT: "CONS_121";
@@ -440,10 +440,10 @@ export declare const ERROR_CODES: {
440
440
  readonly NO_AVAILABLE_SLOTS: "CONS_112";
441
441
  readonly INVALID_APPOINTMENT_DATE: "CONS_113";
442
442
  readonly INVALID_APPOINTMENT_TIME: "CONS_114";
443
- readonly DOCTOR_APPOINTMENT_NOT_FOUND: "CONS_115";
444
- readonly APPOINTMENT_JOIN_FAILED: "CONS_116";
445
- readonly APPOINTMENT_NOT_IN_JOIN_WINDOW: "CONS_117";
446
- readonly APPOINTMENT_ALREADY_COMPLETED: "CONS_118";
443
+ readonly DOCTOR_APPOINTMENT_NOT_FOUND: "CONS_404";
444
+ readonly APPOINTMENT_JOIN_FAILED: "CONS_401";
445
+ readonly APPOINTMENT_NOT_IN_JOIN_WINDOW: "CONS_402";
446
+ readonly APPOINTMENT_ALREADY_COMPLETED: "CONS_403";
447
447
  readonly APPOINTMENT_NOT_PAID: "CONS_119";
448
448
  readonly PATIENT_NOT_FOUND_IN_APPOINTMENT: "CONS_120";
449
449
  readonly DOCTOR_NOT_AUTHORIZED_FOR_APPOINTMENT: "CONS_121";
@@ -172,10 +172,10 @@ exports.CONSULTATION_ERROR_CODES = {
172
172
  INVALID_APPOINTMENT_DATE: 'CONS_113',
173
173
  INVALID_APPOINTMENT_TIME: 'CONS_114',
174
174
  // Doctor Appointment Management errors
175
- DOCTOR_APPOINTMENT_NOT_FOUND: 'CONS_115',
176
- APPOINTMENT_JOIN_FAILED: 'CONS_116',
177
- APPOINTMENT_NOT_IN_JOIN_WINDOW: 'CONS_117',
178
- APPOINTMENT_ALREADY_COMPLETED: 'CONS_118',
175
+ DOCTOR_APPOINTMENT_NOT_FOUND: 'CONS_404',
176
+ APPOINTMENT_JOIN_FAILED: 'CONS_401',
177
+ APPOINTMENT_NOT_IN_JOIN_WINDOW: 'CONS_402',
178
+ APPOINTMENT_ALREADY_COMPLETED: 'CONS_403',
179
179
  APPOINTMENT_NOT_PAID: 'CONS_119',
180
180
  PATIENT_NOT_FOUND_IN_APPOINTMENT: 'CONS_120',
181
181
  DOCTOR_NOT_AUTHORIZED_FOR_APPOINTMENT: 'CONS_121',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiryaq-shared",
3
- "version": "1.1.95",
3
+ "version": "1.1.96",
4
4
  "description": "Shared types, interfaces, and message patterns for Tiryaq healthcare microservices",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",